Merge language/persian.el into language/misc-lang.el
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
32ac3a6b
GM
12012-08-08 Glenn Morris <rgm@gnu.org>
2
3 * language/persian.el: Remove file.
4 * language/misc-lang.el: Move non-unique part of persian.el here.
5 * loadup.el: Remove language/persian.
6
2c2d9c9c
OF
72012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8
9 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10
2d79ec42
FEG
112012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
12
13 * progmodes/python.el Fixed defsubst warning.
14 (python-syntax-context) Rename from python-info-ppss-context.
15 (python-syntax-context-type): Rename from
16 python-info-ppss-context-type.
17 (python-syntax-comment-or-string-p): Rename from
18 python-info-ppss-comment-or-string-p.
19
2bd255dd
JB
202012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
21
22 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
23
c395097f
AS
242012-08-07 Andreas Schwab <schwab@linux-m68k.org>
25
6125983e
AS
26 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
27 a defcustom that is quoted with backquote.
28
651eaf36
AS
29 * calc/calc-prog.el (math-do-defmath): Use backquote forms. Fix
30 handling of interactive spec when the body uses return.
31 (math-do-arg-check, math-define-function-body): Use backquote forms.
32 * calc/calc-ext.el (math-defcache): Likewise.
33 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
34 * allout.el (allout-new-exposure): Likewise.
35 * calc/calcalg2.el (math-tracing-integral): Likewise.
36 * info.el (Info-last-menu-item): Likewise.
37 * emulation/vip.el (vip-loop): Likewise.
38 * textmodes/artist.el (artist-funcall): Likewise.
39 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
40 Construct menu-item directly.
41
c395097f
AS
42 * progmodes/autoconf.el (font-lock-syntactic-keywords): Don't
43 declare.
44
5fb50dd3
CY
452012-08-07 Chong Yidong <cyd@gnu.org>
46
47 * simple.el (deactivate-mark): Preserve text properties when
48 saving the primary selection (Bug#8384).
49
54eea618
KR
502012-08-07 Kevin Ryde <user42@zip.com.au>
51
52 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
53 (woman-parse-numeric-value): On a bad .IP line, issue a warning
54 and continue processing (Bug#12110).
55
638eaeb9
SM
562012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
59 syntax-propertize-function (bug#10095).
60
ea376861
SM
612012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
62
f91b35be
SM
63 * help-fns.el (help-fns--key-bindings, help-fns--signature)
64 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
65 describe-function-1.
66 (describe-function-1): Use them. Move compiler macro after sig.
67 (help-fns--compiler-macro): Use function-get. Assume we're already in
68 standard-output. Adjust layout to new call order.
69
ea376861
SM
70 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
71 re-binding a symbol that has a symbol-macro (bug#12119).
72
d5be7bd0
MB
732012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
74
75 * language/persian.el: New file. (Bug#11812)
76 * loadup.el: Add language/persian.el.
77
90749b53
CY
782012-08-06 Chong Yidong <cyd@gnu.org>
79
80 * window.el (window--maybe-raise-frame): New function.
81 (window--display-buffer): Split off from here.
82 (display-buffer-reuse-window, display-buffer-pop-up-frame)
83 (display-buffer-pop-up-window, display-buffer-use-some-window):
84 Obey an inhibit-switch-frame action alist entry.
85 (display-buffer): Update doc.
86
87 * replace.el (occur-after-change-function): Avoid losing focus by
88 using the inhibit-switch-frame display parameter (Bug#12139).
89
ba7b0154
FEG
902012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
91
92 Make internal shell process buffer names start with space.
93 * progmodes/python.el (python-shell-make-comint): Add optional
94 argument INTERNAL.
95 (run-python-internal): Use it.
96 (python-shell-internal-get-or-create-process): Check for new
97 internal buffer names.
98
5eaeacb5
GM
992012-08-06 Glenn Morris <rgm@gnu.org>
100
e296d94b 101 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
102 Do less getting and setting of environment variables.
103
b7ccbdc2
CY
1042012-08-05 Chong Yidong <cyd@gnu.org>
105
777fe95e
CY
106 * proced.el (proced): Add substitution string to docstring to
107 trigger autoloading of the proced library on C-h f (Bug#1768).
108
b7ccbdc2
CY
109 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
110 show defvars which have no second argument (Bug#8638).
111
112 * imenu.el (imenu-generic-expression): Move documentation here
113 from imenu--generic-function.
114 (imenu--generic-function): Refer to imenu-generic-expression.
115
9e3b7800 1162012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
117
118 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
119 indentation declaration.
120 (viper-loop): Add indentation declaration (Bug#7025).
121
e5d9c0d1
CY
1222012-08-05 Chong Yidong <cyd@gnu.org>
123
f0422feb
CY
124 * help-fns.el (describe-variable): Add hyperlink for
125 directory-local variables files. Improve buffer-local and
126 permanent-local reporting; suggested by MON KEY (Bug#6644).
127
128 * help-mode.el (help-dir-local-var-def): New button type.
129
e5d9c0d1
CY
130 * files.el (kill-buffer-hook): Provide a defvar.
131
a4f2deaa
GM
1322012-08-05 Glenn Morris <rgm@gnu.org>
133
134 * eshell/esh-ext.el (eshell/addpath):
135 Also update eshell-path-env. (Bug#12013)
136
a9dd5754
CY
1372012-08-05 Chong Yidong <cyd@gnu.org>
138
a4f2deaa 139 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 140
d014c740
CY
141 * fringe.el (fringe-styles): Add docstring.
142 (fringe--check-mode): New function.
143 (set-fringe-mode, set-fringe-style): Use it.
144 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
145
a9dd5754
CY
146 * files.el (set-auto-mode): Fix invalid setq call.
147
7c2dc8bd
SM
1482012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
149
150 * isearch.el: Misc simplification; use defstruct.
151 (isearch-mode-map): Dense maps now work like sparse ones.
152 (isearch--state): New defstruct.
153 (isearch-string-state, isearch-message-state, isearch-point-state)
154 (isearch-success-state, isearch-forward-state)
155 (isearch-other-end-state, isearch-word-state, isearch-error-state)
156 (isearch-wrapped-state, isearch-barrier-state)
157 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
158 replaced by defstruct's accessors.
159 (isearch--set-state): Rename from isearch-top-state and change
160 calling convention.
161 (isearch-push-state): Use new isearch--get-state.
162 (isearch-toggle-word): Disable regexp when enabling word.
163 (isearch-message-prefix): Remove unused arg _c-q-hack.
164 (isearch-message-suffix): Remove unused arg _ellipsis.
165
7fcc0070
AS
1662012-08-04 Andreas Schwab <schwab@linux-m68k.org>
167
168 * simple.el (list-processes--refresh): For a server use :host or
169 :local as the address.
97ad0769 170 (list-processes): Doc fix.
7fcc0070 171
00340faf
MN
1722012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
173
174 * lisp/mpc.el: Support password in host argument.
175 (mpc--proc-connect): Parse and use new password element.
176 Set mpc-proc variable instead of returning process.
177 (mpc-proc): Adjust accordingly.
178
6dad7178
EZ
1792012-08-03 Eli Zaretskii <eliz@gnu.org>
180
18949c2f
EZ
181 * whitespace.el (whitespace-display-mappings): Use Unicode
182 codepoints, instead of emacs-mule codepoints. See
183 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
184 for the details.
185
6dad7178
EZ
186 * files.el (file-truename): Don't skip symlink-chasing part on
187 windows-nt. Incorporate the resolution of 8+3 short aliases on
188 Windows into the loop that recursively chases symlinks. Compare
189 directory and its parent case-insensitively on MS-Windows and
190 MS-DOS.
191
385b0198
CY
1922012-08-03 Chong Yidong <cyd@gnu.org>
193
6200f3c4
CY
194 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
195
385b0198
CY
196 * sort.el (sort-regexp-fields): Doc fix.
197
b9e74744
TH
1982012-08-03 Tassilo Horn <tsdh@gnu.org>
199
200 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
201 labels regex position point at the expected place.
202
41013cb4
MK
2032012-08-03 MON KEY <monkey@sandpframing.com>
204
205 * net/imap.el (imap-interactive-login, imap-authenticate)
206 (imap-mailbox-lsub, imap-mailbox-list)
207 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
208 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
209 (imap-parse-response): Doc fix.
210
0ffee616
JT
2112012-08-03 João Távora <joaotavora@gmail.com>
212
213 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
214 if sexp scanning does not move point (Bug#5734).
215
cfcc9cc8
TH
2162012-08-02 Tassilo Horn <tsdh@gnu.org>
217
218 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
219 Add listings, minted, and ctable packages.
220 (reftex-label-alist-builtin): Move listings, minted, and ctable
221 entries before LaTeX.
a01bbb84 222 (reftex-label-alist): Docfix.
cfcc9cc8 223
66ec2442
BG
2242012-08-02 Bastien Guerry <bzg@gnu.org>
225
226 * replace.el (occur): Fix docstring (bug#12122).
227
837b365b
GM
2282012-08-02 Glenn Morris <rgm@gnu.org>
229
230 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
231
e098de97
PE
2322012-08-02 Paul Eggert <eggert@cs.ucla.edu>
233
234 Obsolete alias inactivate-current-input-method-function (Bug#10150).
235 * international/mule-cmds.el: Create
236 inactivate-current-input-method-function as an obsolete alias for
237 deactivate-current-input-method-function. See Katsumi Yamaoka in
238 <http://bugs.gnu.org/10150#46>.
239
a0f95636
JB
2402012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
241
242 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
243 of nested `if's.
244
0d26d7c4
GM
2452012-08-01 Glenn Morris <rgm@gnu.org>
246
247 * progmodes/autoconf.el (autoconf-definition-regexp):
248 Add AH_TEMPLATE, adjust submatch numbering.
249 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
250 (autoconf-current-defun-function): Update for above change.
251 (autoconf-current-defun-function): First skip to end of current word.
252
b686ba06
RS
2532012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
254
255 * calendar/cal-html.el (cal-html-insert-agenda-days):
256 Fix typo. (Bug#12018)
257
0d49da68
FEG
2582012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
259
260 Shell processes: enhancements to startup and CEDET compatibility.
261 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
262 (python-shell-make-comint): accept-process-output at startup.
263 (run-python-internal): Set inferior-python-mode-hook to nil.
264 (python-shell-internal-get-or-create-process): call sit-for.
265 (python-preoutput-result): Add obsolete alias.
266 (python-shell-internal-send-string): Use it.
267 (python-shell-send-setup-code): Remove call to
268 accept-process-output.
269
f1a71c6e
AS
2702012-07-31 Andreas Schwab <schwab@linux-m68k.org>
271
272 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
273 (Bug#12108)
274
d2605269
JB
2752012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
276
277 * calc-mode.el (calc-basic-simplification-mode): Rename from
278 `calc-limited-simplification-mode'.
279 (calc-alg-simplification-mode): New function.
d66060f8 280 (calc-set-simplify-mode): Adjust message.
f1a71c6e 281
d2605269
JB
282 * calc.el (calc-set-mode-line): Adjust mode line display for
283 basic simplification mode.
284
285 * calc-help.el (calc-m-prefix-help): Update help message.
286
287 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
288 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
289
a3827a43
BG
2902012-07-31 Bastien Guerry <bzg@gnu.org>
291
292 * man.el (man): Fix comment. (bug#12101)
293
502e3f89
MR
2942012-07-31 Martin Rudalics <rudalics@gmx.at>
295
296 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
297 Don't return a non-nil value when no suitable buffer was found.
298
d7714961
FEG
2992012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
300
301 * progmodes/python.el (run-python-internal): Disable font lock for
302 internal shells.
303
1f45e27e
SM
3042012-07-30 Stefan Merten <smerten@oekonux.de>
305
306 * rst.el: Silence `checkdoc-ispell'.
307 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
308 (rst-official-version, rst-official-cvs-rev)
309 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
310 (rst-mode-map): New key binding.
311
0aee6912
PE
3122012-07-30 Paul Eggert <eggert@cs.ucla.edu>
313
314 Update .PHONY listings in makefiles.
315 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
316 autoloads, update-subdirs, updates, bzr-update, update-authors,
317 compile-onefile, compile-calc, backup-compiled-files,
318 compile-after-backup, compile-one-process, mh-autoloads,
319 bootstrap-clean, distclean, maintainer-clean.
320
9052f9f0
JB
3212012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
322
1823ac5a
JB
323 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
324 (calc-set-mode-line): Don't display "AlgSimp ".
325
326 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
327 (calc-lim-simplify-mode): New function.
328 (calc-set-simplify-mode): Default to 'alg.
329 (calc-default-simplify-mode): Make algebraic simplifications
330 the default.
331
332 * calc/calc-ext.el (calc-init-extensions): Remove binding for
333 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
334
8d7c7eed 335 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
336 indicate new simplification modes.
337
1823ac5a
JB
338 * calc/README: Mention new default simplification mode.
339
9052f9f0
JB
340 * calc/calc.el (math-normalize-error): New variable.
341 (math-normalize): Set `math-normalize-error' to t
342 when there's an error.
343
344 * calc/calc-alg.el (math-simplify): Don't simplify when
345 `math-normalize' returns an error.
346
20ba0cb4
EZ
3472012-07-29 Eli Zaretskii <eliz@gnu.org>
348
349 * international/mule-cmds.el (set-locale-environment): Revert last
350 change, since display-graphic-p returns nil when this function is
351 called during startup. Instead...
352
353 * term/w32console.el (terminal-init-w32console): ...setup the
354 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
355
a5dcc929
JL
3562012-07-29 Juri Linkov <juri@jurta.org>
357
358 * simple.el (goto-line): Don't display default line number in the
359 prompt because it should be displayed by `read-number' (bug#9952).
360 Add the current line number to the defaults of `goto-line' to
361 allow its easier modification by users with `M-n' (bug#9201).
362
363 * subr.el (read-number): Support multiple default values like in
364 other minibuffer reading functions. Replace `read' with
365 `string-to-number' for consistency with `number-to-string'.
366
72b255c7
PE
3672012-07-29 Paul Eggert <eggert@cs.ucla.edu>
368
369 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
370 * emulation/viper-init.el (viper-deactivate-input-method-action):
371 Rename from viper-inactivate-input-method-action.
372 (viper-deactivate-input-method):
373 Rename from viper-inactivate-input-method.
374 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
375 * international/mule-cmds.el (deactivate-input-method):
376 Rename from inactivate-input-method.
377 Also run input-method-deactivate-hook.
378 (deactivate-current-input-method-function):
379 Rename from inactivate-current-input-method-function.
380 (input-method-deactivate-hook): New hook.
381 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
382 (inactivate-input-method): Mark obsolete.
383
72b255c7
PE
384 * international/quail.el (quail-activate):
385 Also run quail-deactivate-hook.
386 (quail-deactivate): Rename from quail-inactivate.
387 * international/robin.el (robin-activate):
388 Also run robin-deactivate-hook.
389 (robin-deactivate): Rename from robin-inactivate.
390
2549c068
CY
3912012-07-29 Chong Yidong <cyd@gnu.org>
392
393 * simple.el (indicate-copied-region): New function.
394 (kill-ring-save): Split off from here.
395
396 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
397 (kill-rectangle): Set deactivate-mark to t on read-only error.
398
399 * register.el (copy-to-register, copy-rectangle-to-register):
400 Deactivate the mark, and use indicate-copied-region (Bug#10056).
401 (append-to-register, prepend-to-register): Call
402
17711ed9
JL
4032012-07-29 Juri Linkov <juri@jurta.org>
404
405 * simple.el (async-shell-command-buffer): New defcustom.
406 (shell-command): Use it. (Bug#4719)
407
01bd1b0d
EZ
4082012-07-28 Eli Zaretskii <eliz@gnu.org>
409
410 * international/mule-cmds.el (set-locale-environment): In a
411 console session on MS-Windows, set up keyboard and terminal
412 encoding from the OEM codepage, not the ANSI codepage.
413 (Bug#12055)
414
a55739d3
CY
4152012-07-28 Chong Yidong <cyd@gnu.org>
416
417 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
418 gdb-get-location.
419
9a0f8f2e
LL
4202012-07-25 Leo Liu <sdl.web@gmail.com>
421
422 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
423 the alist (bug#12029).
424
20329d73
EZ
4252012-07-28 Eli Zaretskii <eliz@gnu.org>
426
427 * makefile.w32-in (custom-deps, finder-data, updates, compile)
428 (compile-always, compile-first)
429 ($(lisp)/calendar/cal-loaddefs.el)
430 ($(lisp)/calendar/diary-loaddefs.el)
431 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
432 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
433 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
434 instead of on update-subdirs.
435 (bootstrap-clean): Delete $(lisp)/subdirs.el.
436
345a2258
CY
4372012-07-28 Chong Yidong <cyd@gnu.org>
438
1eee6341
CY
439 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
440 directory if vc-deduce-backend returns nil (Bug#7350).
441
345a2258
CY
442 * simple.el (delete-trailing-lines): New option.
443 (delete-trailing-whitespace): Obey it (Bug#11879).
444
049a0936
DE
4452012-07-28 David Engster <deng@randomsample.de>
446
447 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
448 Explanation of new 'symbol-qnames feature in doc-strings.
449 (xml-maybe-do-ns): Return expanded names as plain symbols if
450 'symbol-qnames was provided in XML-NS argument (Bug#11916).
451 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
452
aa81af71
FEG
4532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
454
455 Consistent completion in inferior python with emacs -nw.
456 * progmodes/python.el (inferior-python-mode): replace "<tab>"
457 binding in inferior-python-mode-map with "\t".
458 (python-shell-completion-complete-at-point)
459 (python-completion-complete-at-point): Remove interactive spec.
460
e827b1eb
JB
4612012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
462
463 * calc/calccomp.el (math-compose-expr): Undo previous change.
464
a90dfb95
FEG
4652012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
466
467 * progmodes/python.el (python-mode-map): Added keybinding for
468 run-python.
469 (python-shell-make-comint): Fix pop-to-buffer call.
470 (run-python): Autoload. New arg SHOW.
471 (python-shell-get-or-create-process): Do not pop python process
472 buffer.
473
32770973 4742012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
475
476 * notifications.el (notifications-on-action-signal)
477 (notifications-on-closed-signal): Use also the bus address for the map.
478 (notifications-notify, notifications-close-notification)
479 (notifications-get-capabilities): Add optional argument BUS.
480
86332df2
TH
4812012-07-27 Tassilo Horn <tsdh@gnu.org>
482
483 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
484 support for the lstlisting and minted environments, and for the
485 ctable macro.
486 * textmodes/reftex.el (reftex-compile-variables): Also recognize
487 labels written in keyvals syntax.
488
ca1302a4
JB
4892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
490
491 * calc/calccomp.el (math-compose-expr): Use parentheses when
492 there is a product in the denominator of a fraction.
493
f8b91036
EZ
4942012-07-26 Eli Zaretskii <eliz@gnu.org>
495
496 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
497 ($(lisp)/calendar/diary-loaddefs.el)
498 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
499 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
500 failures in parallel bootstrap because subdirs.el is being
501 rewritten while the autoload files are built at the same time,
502 which needs to load subdirs.el.
503
c8e5a42c
MR
5042012-07-26 Martin Rudalics <rudalics@gmx.at>
505
506 * mouse.el (popup-menu): Fix doc-string and re-indent code.
507 (mouse-drag-line): Don't exit tracking when a switch-frame or
508 switch-window event occurs (Bug#12006).
509
670d85ea
SM
5102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * mouse.el (popup-menu): Fix last change.
513
7abaf5cc
SM
5142012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 Autoload from Lisp with more care. Follow aliases when looking for
517 function properties.
518 * subr.el (autoloadp): New function.
519 (symbol-file): Use it.
520 (function-get): New function.
521 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
522 autoload-do-load.
523 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
524 (lisp-indent-function):
525 * emacs-lisp/gv.el (gv-get):
526 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
527 * emacs-lisp/byte-opt.el (byte-optimize-form):
528 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
529 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
530 Use function-get.
531 * emacs-lisp/cl.el: Don't propagate function properties any more.
532
533 * speedbar.el (speedbar-add-localized-speedbar-support):
534 * emacs-lisp/disass.el (disassemble-internal):
535 * desktop.el (desktop-load-file):
536 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
537 (describe-function-1):
538 * emacs-lisp/find-func.el (find-function-noselect):
539 * emacs-lisp/elp.el (elp-instrument-function):
540 * emacs-lisp/advice.el (ad-has-proper-definition):
541 * apropos.el (apropos-safe-documentation, apropos-macrop):
542 * emacs-lisp/debug.el (debug-on-entry):
543 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
544 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
545 * calc/calc.el (name): Use autoloadp & autoload-do-load.
546
b1364986
AA
5472012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
548
549 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
550 function, not an obsolete variable (Bug#12046).
551
67ada220
AS
5522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
553
554 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
555
f08088e3
CS
5562012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
557
558 * emacs-lisp/pp.el (pp-display-expression): Select old selected
559 window only if it is still live (Bug#12034).
560
8137e7b3
MR
5612012-07-25 Martin Rudalics <rudalics@gmx.at>
562
563 * subr.el (redirect-frame-focus): Add advertised calling
564 convention (Bug#12030).
565
09ae5da1
PE
5662012-07-25 Paul Eggert <eggert@cs.ucla.edu>
567
568 Prefer typical American spelling for "acknowledgment".
569 * vc/add-log.el (change-log-acknowledgment): Rename from
570 change-log-acknowledgement, with an alias for the old name.
571
3cc5a3a8
JB
5722012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
573
574 * calc-alg.el (math-simplify-divide): Don't cross multiply
575 in an equation when the lhs is a variable.
576
b7af7f62
JD
5772012-07-24 Julien Danjou <julien@danjou.info>
578
579 * net/netrc.el (netrc-find-service-number, netrc-store-data):
580 Remove, unused.
581
ec1b09b1
EZ
5822012-07-23 Eli Zaretskii <eliz@gnu.org>
583
584 * startup.el (command-line): Don't display an empty user name in
585 the error message about non-existent home directory, when
586 init-file-user was set to an empty string. See
587 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
588 for the details and context.
589
b525fd8a
VB
5902012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
591
592 * ses.el (ses-cell-formula-aset): New macro.
593 (ses-cell-references-aset): New macro.
594 (ses-cell-p): New function.
595 (ses-rename-cell): Do no longer rely on complex operations like
596 ses-cell-set-formula or ses-set-cell to change the cell and handle
597 the undo at the same time, but rather use lower level new macros
598 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
599 the undo directly. Refresh the mode line.
600
2c73e345
LL
6012012-07-21 Leo Liu <sdl.web@gmail.com>
602
670d85ea
SM
603 * progmodes/cc-cmds.el (c-defun-name):
604 Use match-string-no-properties instead for consistency.
2c73e345 605
542dfbde
LL
6062012-07-20 Leo Liu <sdl.web@gmail.com>
607
3646bcd6
LL
608 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
609 (Bug#7879)
610
542dfbde
LL
611 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
612
25721031
CY
6132012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
616 * progmodes/bug-reference.el, misearch.el: Provide themselves
617 (bug#11915).
618
619 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
620 of narrowed buffer (bug#11966).
621
316e68a7
VB
6222012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
623
624 * ses.el (ses-rename-cell): Set new name also in reference list of
625 cells of which the renamed cell depends.
626
bbf0e7d9
MY
6272012-07-20 Masatake YAMATO <yamato@redhat.com>
628
629 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
630 to check whether menu-bar is shown or not. If not shown,
631 show the menu-bar as a popup menu instead of using tmm.
632 * mouse.el (popup-menu): Accept `point' as `position' argument.
633
c28662a8
DG
6342012-07-20 Dmitry Gutov <dgutov@yandex.ru>
635
636 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
637 up inside string symbol literal (bug#11923).
638
87ab808f
EZ
6392012-07-20 Eli Zaretskii <eliz@gnu.org>
640
641 * startup.el (fancy-startup-text): Read the whole tutorial, not
642 just its first 256 bytes. Prevents gibberish in display of the
643 tutorial title.
644
89dea803
DA
6452012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
646
647 Drop idle buffer compaction due to an absence of the
648 proved efficiency.
649 * compact.el: Remove.
650
8a4e6db8
SS
6512012-07-19 Sam Steingold <sds@gnu.org>
652
653 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
654 vc-bzr-pull & vc-bzr-merge-branch.
655 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
656 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
657 for consistency with compilation-error-regexp-alist.
658 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
659 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
660 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
661 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
662
5db81e33
SM
6632012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * emacs-lisp/chart.el: Use lexical-binding.
666 (chart-emacs-storage): Don't hardcode the list of entries.
667
5b835e1d
DA
6682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
669
670 Next round of tweaks caused by Fgarbage_collect changes.
671 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
672
9cd47b72
DA
6732012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
674
675 Compact buffers when idle.
676 * compact.el: New file.
677
1d6fc0df
SM
6782012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * subr.el (eventp): Presume that if it looks vaguely like an event,
681 it's an event (bug#10190).
682
1d29cc7d
FEG
6832012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
684
685 Enhancements to ppss related code (thanks Stefan).
686 * progmodes/python.el (python-indent-context)
687 (python-indent-calculate-indentation, python-indent-dedent-line)
688 (python-indent-electric-colon, python-nav-forward-block)
689 (python-mode-abbrev-table)
1d6fc0df 690 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
691 for ppss context.
692 (python-info-continuation-line-p): Cleanup.
693 (python-info-ppss-context): Do not catch 'quote.
694 (python-info-ppss-context-type)
695 (python-info-ppss-comment-or-string-p): Simplify.
696
d583cbe6
FEG
6972012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
698
699 * progmodes/python.el: Enhancements to eldoc support.
700 (python-info-current-symbol): New function.
701 (python-eldoc-at-point): Use python-info-current-symbol.
702 (python-info-current-defun): Fix cornercase on first defun scan.
703 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
704 and signal error when no inferior python process is available.
705
eceb6feb
DG
7062012-07-18 Dmitry Gutov <dgutov@yandex.ru>
707
708 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
709 assume it's always t.
710 (vc-git-registered): Remove caching, the function is only called
711 once.
712 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
713
4c8ff0fe
CY
7142012-07-18 Chong Yidong <cyd@gnu.org>
715
19fb7186
CY
716 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
717
9587c688
CY
718 * simple.el (count-words): Report on narrowing (Bug#9959).
719
0fe776a1
CY
720 * bindings.el: Bind M-= to count-words.
721
4c8ff0fe
CY
722 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
723
7f5331cc
MY
7242012-07-18 Masatake YAMATO <yamato@redhat.com>
725
726 * progmodes/sh-script.el (sh-imenu-generic-expression):
727 Capture a function with `function' keyword and without parentheses
728 like "function FOO" (bug#11856).
729
2dc2a609
TH
7302012-07-18 Tassilo Horn <tassilo@member.fsf.org>
731
732 * window.el (split-window-sensibly): Make WINDOW argument
733 optional.
734
439f7677
CY
7352012-07-18 Chong Yidong <cyd@gnu.org>
736
9aeb25a6
CY
737 * subr.el (keyboard-translate): Doc fix (Bug#7261).
738
439f7677
CY
739 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
740 and make C-x 8 RET exit isearch (Bug#11439).
741
742 * international/iso-transl.el: Move isearch-mode-map key
743 definitions to isearch.el.
744
12999ea8
SM
7452012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
748 (eieio-defclass): Use gv-define-setter when possible.
749
3ab6e069
DA
7502012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
751
752 Reflect recent changes in Fgarbage_collect.
753 * emacs-lisp/chart.el (chart-emacs-storage): Change to
754 reflect new format of data returned by Fgarbage_collect.
755
0a60bc10
FEG
7562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
757
758 New utility functions + python-info-ppss-context fix (Bug#11910).
759 * progmodes/python.el (python-info-beginning-of-block-statement-p)
760 (python-info-ppss-comment-or-string-p): New functions.
761 (python-info-ppss-context): Small fix for string check.
762
6dafa0d5
JL
7632012-07-17 Juri Linkov <juri@jurta.org>
764
765 * dired-aux.el (dired-do-async-shell-command): Doc fix.
766 (dired-do-async-shell-command): Don't add `*' at the end of the
767 command (Bug#11815).
768 (dired-do-shell-command): Doc fix.
769 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
770 Join the individual commands using either "&" or ";" as the
771 separator depending on the values of these trailing characters.
772 At the end re-add the trailing "&". (Bug#10598)
773
774 * simple.el (async-shell-command): Sync the interactive spec with
775 `shell-command'. Doc fix.
776 (shell-command): Doc fix.
777
b19dd9d1
JL
7782012-07-17 Juri Linkov <juri@jurta.org>
779
780 * descr-text.el (describe-char): Fix format args. (Bug#10129)
781
bcdc27d7 7822012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 783
bcdc27d7 784 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
785 * progmodes/python.el (python-nav-beginning-of-statement):
786 Rename from python-nav-statement-start.
bcdc27d7
FEG
787 (python-nav-end-of-statement): Rename from
788 python-nav-statement-end.
789 (python-nav-beginning-of-block): Rename from
790 python-nav-block-start.
791 (python-nav-end-of-block): Rename from python-nav-block-end.
792
191da00e
FEG
7932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
794
7f5331cc
MY
795 * progmodes/python.el (python-shell-send-string-no-output):
796 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
797 future interactions (Bug#11868).
798
4dc7c8d5 7992012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 800
88ecaf8f
SM
801 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
802
ef501ef0
SM
803 * emacs-lisp/elint.el (elint-find-args-in-code):
804 Use help-function-arglist, so as to handle lexical byte-code.
805
aa7aaf8f
SM
806 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
807 change (bug#11826).
808
45fd731c
SM
8092012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
810
2143fa32
SM
811 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
812 Avoid spuriously marking the buffer as modified because of c-is-sws.
813
efc26dbe
SM
814 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
815 as not-a-comment (bug#11946).
816
f5695c9a
SM
817 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
818 for uninterned vars.
819
820 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
821 Use read-event since we don't really want to read chars but bytes.
822
45fd731c
SM
823 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
824 $$..$$ but also $..$ using regexps (bug#11953).
825 Use tex-verbatim for \url and \path.
826 (tex-font-lock-keywords): Define as defconst like the others.
827 (tex-common-initialization): Don't use font-lock-syntax-table any more.
828
ddfc8813
RK
8292012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
830
831 * international/mule-cmds.el (ucs-insert): Make it an obsolete
832 alias for insert-char.
833
758e556a
FEG
8342012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
835
836 * progmodes/python.el: Simplified imenu implementation.
837 (python-nav-jump-to-defun): Remove command.
838 (python-mode-map): Use `imenu' instead.
839 (python-nav-list-defun-positions-cache)
840 (python-imenu-include-defun-type, python-imenu-make-tree)
841 (python-imenu-subtree-root-label, python-imenu-index-alist):
842 Remove vars.
843 (python-nav-list-defun-positions, python-nav-read-defun)
844 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
845 (python-imenu-make-tree, python-imenu-create-index):
846 Remove functions.
758e556a
FEG
847 (python-mode): Update to interact with imenu by setting
848 `imenu-extract-index-name-function' only.
849
032d23ab
FEG
8502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
851
852 * progmodes/python.el: Enhancements to navigation commands.
853 (python-nav-backward-sentence)
854 (python-nav-forward-sentence): Remove.
855 (python-nav-backward-statement, python-nav-forward-statement)
856 (python-nav-statement-start, python-nav-statement-end)
857 (python-nav-backward-block, python-nav-forward-block)
858 (python-nav-block-start, python-nav-block-end)
859 (python-nav-forward-sexp-function)
860 (python-info-current-line-comment-p)
861 (python-info-current-line-empty-p): New functions.
862 (python-indent-context): Use `python-nav-statement-start'.
863
01795a1b
MA
8642012-07-16 Michael Albinus <michael.albinus@gmx.de>
865
9328d9aa
MA
866 * eshell/em-ls.el (eshell/ls): Use `apply'.
867
868 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
869 multi-hops, instead of Tramp internals.
870
01795a1b
MA
871 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
872
873 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
874 when F1 and F2 are located on different hosts.
875
63408057
CY
8762012-07-14 Chong Yidong <cyd@gnu.org>
877
878 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
879 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
880 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
881 (xterm-mouse--read-event-sequence-1000)
882 (xterm-mouse--read-event-sequence-1006): New functions. For old
883 mouse protocol, handle M-mouse-X events correctly.
884 (xterm-mouse-event): New arg specifying mouse protocol.
885 (turn-on-xterm-mouse-tracking-on-terminal)
886 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
887 sequence to toggle extended coordinates on newer XTerms.
888 This appears to be harmless on terminals which do not support this.
63408057 889
cd276f6e
LL
8902012-07-14 Leo Liu <sdl.web@gmail.com>
891
28ca98ac
LL
892 Add fringe bitmap indicators for flymake. (Bug#11253)
893 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
894 (flymake-make-overlay): New arg BITMAP.
895 (flymake-error-bitmap, flymake-warning-bitmap)
896 (flymake-fringe-indicator-position): New user variables.
897
cd276f6e
LL
898 * fringe.el: New bitmap exclamation-mark.
899
04408072
JD
9002012-07-14 Jan Djärv <jan.h.d@swipnet.se>
901
902 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
903 also (Bug#7879).
904
b5cf7fc4
CY
9052012-07-14 Chong Yidong <cyd@gnu.org>
906
907 * electric.el (electric-pair-post-self-insert-function): Fix pair
908 insertion in empty-region case (Bug#11520).
909
be755c79
RT
9102012-07-14 Chong Yidong <cyd@gnu.org>
911
45fd731c
SM
912 * bindings.el: Consolidate ctl-x-r-map bindings.
913 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
914
915 * rect.el, register.el: Move bindings to bindings.el.
916
9172012-07-14 Reuben Thomas <rrt@sc3d.org>
918
919 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
920
7f5b3198
AS
9212012-07-13 Andreas Schwab <schwab@linux-m68k.org>
922
923 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
924
97662200
JB
9252012-07-13 Juanma Barranquero <lekktu@gmail.com>
926
80185fed
JB
927 * bindings.el (top): Use `mapc' instead of `mapcar'.
928
97662200
JB
929 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
930
2bb1ae55
MA
9312012-07-13 Michael Albinus <michael.albinus@gmx.de>
932
933 * progmodes/sql.el (sql-comint): Suppress the check for program on
934 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
935 (Bug#11908)
936
dea31bd3
CY
9372012-07-13 Chong Yidong <cyd@gnu.org>
938
939 * bindings.el: Assign a non-nil permanent-local property to
940 per-buffer variables which lack a default value (Bug#11930).
941
942 * help-fns.el (describe-variable): In the "automatically becomes
943 local" notice, take note of permanent-local variables.
944
b68b3337
CY
9452012-07-13 Chong Yidong <cyd@gnu.org>
946
947 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
948 to allow printing the message when called from Lisp.
949
950 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
951 Remove toggle-read-only.
952
953 * bs.el (bs-toggle-readonly):
45fd731c
SM
954 * buff-menu.el (Buffer-menu-toggle-read-only):
955 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
956
957 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
958 Remove with-no-warnings around toggle-read-only.
959 (ffap-read-only, ffap-read-only-other-window)
960 (ffap-read-only-other-frame): Callers changed.
961
962 * help-mode.el: Don't require view package.
963 (help-mode-finish): Set buffer-read-only instead of calling
964 toggle-read-only.
965
966 * bindings.el (mode-line-toggle-read-only):
967 * dired.el (dired-toggle-read-only):
968 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
969 with non-nil second arg.
970
971 * emacs-lisp/eieio-custom.el (eieio-customize-object):
972 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
973 directly.
974
56bc1586
EZ
9752012-07-12 Eli Zaretskii <eliz@gnu.org>
976
977 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
978 not incf.
979
a464a6c7
SM
9802012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 More CL cleanups and reduction of use of cl.el.
983 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
984 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
985 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
986 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
987 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
988 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
989 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
990 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
991 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
992 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
993 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
994 * eshell/em-cmpl.el, eshell/em-banner.el:
995 * calendar/parse-time.el: Use cl-lib.
996 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
997 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
998 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
999 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1000 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1001 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1002 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1003 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1004 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1005 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1006 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1007 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1008 `lambda' rather than with `quote'.
1009 (eshell-do-opt): Adjust accordingly.
1010 (eshell-process-option): Simplify.
1011 * eshell/esh-var.el:
1012 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1013 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1014 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1015 to `pcase--dontcare'.
1016 * emacs-lisp/cl.el (labels): Mark obsolete.
1017 (cl--letf, letf): Move to cl-lib.
1018 (cl--letf*, letf*): Remove.
1019 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1020 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1021 (cl-progv): Rewrite.
1022 (cl--letf, cl-letf): Move from cl.el.
1023 (cl-letf*): New macro.
1024 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1025
7ad4afe1
MA
10262012-07-11 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1029
9af57756
CY
10302012-07-11 Chong Yidong <cyd@gnu.org>
1031
1032 * vc/log-edit.el (log-edit-vc-backend): New variable.
1033 (log-edit): Doc fix.
1034
1035 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1036 argument of log-edit to set up all local variables.
1037 (vc-start-logentry): New optional arg specifying VC backend.
1038
1039 * vc/vc.el (vc-checkin): Use it.
1040 (vc-deduce-fileset): Handle Log Edit buffers.
1041 (vc-diff): Make first argument optional too.
1042
1043 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1044
8477cc7a
MA
10452012-07-10 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1048 command, just in case. The function is not needed anymore.
1049 (eshell-external-command): Do not call `eshell-remote-command'.
1050
19faa8e8
SM
10512012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1052
f58e0fd5
SM
1053 Reduce use of (require 'cl).
1054 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1055 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1056 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1057 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1058 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1059 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1060 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1061 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1062 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1063 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1064 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1065 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1066 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1067 (byte-compile-unfold-bcf, byte-compile-check-variable):
1068 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1069 (byte-compile-nilconstp):
1070 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1071 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1072
2519d43a
SM
1073 * emacs-lisp/gv.el (cond): Make it a valid place.
1074 (if): Simplify slightly.
1075
19faa8e8
SM
1076 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1077 (pcase--self-quoting-p): New function.
1078 (pcase--u1): Use it.
1079
c4907a5e
GM
10802012-07-10 Glenn Morris <rgm@gnu.org>
1081
1082 * emacs-lisp/authors.el (authors-fixed-entries):
1083 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1084
c4444d16
PE
10852012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1086
1087 Rename configure.in to configure.ac (Bug#11603).
1088 * emacs-lisp/authors.el (authors-canonical-file-name):
1089 * progmodes/autoconf.el (autoconf-mode):
1090 Prefer configure.ac to configure.in.
1091
d75be97d
CY
10922012-07-08 Chong Yidong <cyd@gnu.org>
1093
01ac65bd
CY
1094 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1095 Implement the mouse-1-click-follows-link handling properly.
1096
1097 * info.el (Info-link-keymap): Use follow-link mechanism for
1098 header-line links (Bug#374).
1099
d75be97d
CY
1100 * simple.el (deactivate-mark): Do not set the primary selection
1101 if another program has acquired it (Bug#11772).
1102
87a92845 11032012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1104
1105 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1106 (woman-decode-region): Replace escaped-escapes without destroying
1107 bold or underline (Bug#11552).
87a92845 1108 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1109
621b9d6c
CY
11102012-07-07 Chong Yidong <cyd@gnu.org>
1111
1112 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1113 (interprogram-cut-function, interprogram-paste-function):
1114 Mention that we typically mean the clipboard.
621b9d6c 1115
133a11fc
GM
11162012-07-06 Glenn Morris <rgm@gnu.org>
1117
0d27a45e
GM
1118 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1119
133a11fc
GM
1120 * files.el (toggle-read-only): Restrict message to interactive use.
1121
07b151f1
MA
11222012-07-06 Michael Albinus <michael.albinus@gmx.de>
1123
1124 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1125
1126 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1127
211b896b
GM
11282012-07-06 Glenn Morris <rgm@gnu.org>
1129
50394322
GM
1130 * Makefile.in (compile-one-process): Rename from "recompile".
1131
211b896b
GM
1132 * Makefile.in (bzr-update): "compile" is the same as "recompile
1133 autoloads", but parallelizable, so use that instead.
1134
4737eec9
DG
11352012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1136
1137 * window.el (quit-window): Always restore window height when
8137e7b3 1138 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1139
226c3633 11402012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1141
1142 * simple.el (kill-whole-line): Doc tweak.
1143
226c3633 11442012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1145
1146 * files.el (file-relative-name): Compare file names
1147 case-insensitively if on MS-Windows or MS-DOS, or if
1148 read-file-name-completion-ignore-case is non-nil. Don't use
1149 case-fold-search for this purpose. (Bug#11827)
1150
4dc7c8d5
SM
11512012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1152
1153 * calendar/cal-dst.el (calendar-current-time-zone):
1154 Return calendar-current-time-zone-cache if non-nil.
1155
11562012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 11572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1158
19faa8e8
SM
1159 * calendar/cal-dst.el (calendar-current-time-zone):
1160 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1161
60198fc9
GM
11622012-07-06 Glenn Morris <rgm@gnu.org>
1163
1164 * Makefile.in (cvs-update): Remove old alias.
1165
957b3189
MA
11662012-07-05 Michael Albinus <michael.albinus@gmx.de>
1167
1168 Sync with Tramp 2.2.6-pre.
1169
1170 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1171 compatible declaration.
1172
19faa8e8
SM
1173 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1174 Protect `list-load-path-shadows' call.
957b3189
MA
1175
1176 * net/tramp-compat.el (top): Require packages, which aren't
1177 autoloaded anymore for XEmacs. Protect call of
1178 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1179 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1180 it hurts at least for SXEmacs.
1181 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1182 standard-value for `temporary-file-directory'.
1183
1184 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1185 Redirect stderr to /dev/null.
1186 (tramp-sh-handle-write-region): uid and gid can be floats.
1187 Reported by Russell Sim <russell.sim@gmail.com>.
1188 (tramp-sh-handle-vc-registered): Hide errors.
1189 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1190 and `start-file-process'.
1191 (tramp-maybe-open-connection): Check also whether `non-essential'
1192 is bound.
1193
566df3fc
CY
11942012-07-04 Chong Yidong <cyd@gnu.org>
1195
1196 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1197 (xml-parse-tag): Likewise, and avoid changing entity tables.
1198 (xml-syntax-table): Define from scratch, making sure not to give
1199 x2000 and other Unicode spaces whitespace syntax, since those are
1200 not spaces in XML.
1201 (xml-parse-fragment): Delete unused function.
1202 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1203 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1204 (xml-entity-ref, xml-pe-reference-re)
1205 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1206 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1207 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1208 (xml-entity-value-re): Use syntax references in regexps where
1209 possible; no need to define inside a let-binding.
1210 (xml-parse-dtd): Use xml-pe-reference-re.
1211 (xml-entity-or-char-ref-re): New defconst.
1212 (xml-parse-string, xml-substitute-special): Use it.
1213
30eabd7a
SM
12142012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1215
0781098a
SM
1216 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1217 (find-file--read-only): New function.
1218 (find-file-read-only, find-file-read-only-other-window)
1219 (find-file-read-only-other-frame): Use it.
1220 (insert-file-contents-literally): Don't `fset'.
1221 (get-free-disk-space): Use locate-dominating-file.
1222
b5771c0d
SM
1223 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1224 function is already compiled.
1225
30eabd7a
SM
1226 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1227
b4886f6e
MA
12282012-07-03 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1231 files on the same host.
1232
b9d82339
AS
12332012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1234
1235 * help-fns.el (describe-function-1): Only call
1236 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1237
a76e6535
CY
12382012-07-03 Chong Yidong <cyd@gnu.org>
1239
1240 * xml.el: Protect parser against XML bombs.
1241 (xml-entity-expansion-limit): New variable.
1242 (xml-parse-string, xml-substitute-special): Use it.
1243 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1244
b544fef2
GM
12452012-07-03 Glenn Morris <rgm@gnu.org>
1246
1247 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1248 Allow linking to specific messages in debbugs reports (eg 123#5).
1249
a7aef6f5
CY
12502012-07-02 Chong Yidong <cyd@gnu.org>
1251
1252 * xml.el: Fix entity and character reference expansion, allowing
1253 them to expand into markup as per XML spec.
1254 (xml-default-ns): New variable.
1255 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1256 (xml-parse-region): Make first two arguments optional.
1257 Discard text properties.
1258 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1259 All callers changed.
a7aef6f5
CY
1260 (xml-parse-tag): Call xml-parse-tag-1. For backward
1261 compatibility, this function should not modify buffer contents.
1262 (xml-parse-tag-1): Fix opening-tag regexp.
1263 (xml-parse-string): Rewrite, handling entity and character
1264 references properly.
1265 (xml--entity-replacement-text): Signal an error if a parameter
1266 entity is undefined.
1267
3df31c9f
SM
12682012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1269
2b5208f1
SM
1270 * comint.el (comint-output-filter): Filter out repeated prompts.
1271
3df31c9f
SM
1272 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1273 and file-name-absolute-p.
1274 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1275 internal calls.
1276
e3ac1281
PE
12772012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1278
1279 Spelling fixes.
1280 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1281 Rename from byte-compile--refiy-function. All uses changed.
1282
fbf2e7ad
CY
12832012-07-01 Chong Yidong <cyd@gnu.org>
1284
1285 * xml.el (xml--parse-buffer): New function. Move most of
1286 xml-parse-region here.
1287 (xml-parse-region): Copy region into a temporary buffer, since
1288 parameter entity substitution requires changing buffer contents.
1289 Use xml--parse-buffer.
1290 (xml-parse-file): Use xml--parse-buffer.
1291 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1292 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1293
9bf0aa15
GM
12942012-06-30 Glenn Morris <rgm@gnu.org>
1295
bbce2853
GM
1296 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1297
9bf0aa15
GM
1298 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1299 Remove outdated and unnecessary dbus declarations.
1300
0d23c240
EZ
13012012-06-30 Eli Zaretskii <eliz@gnu.org>
1302
1303 * emacs-lisp/timer.el (timer-until): Subtract results of
1304 float-time, instead of taking float-time of the result of
1305 time-subtract, since float-time signals an error for negative time
1306 arguments.
1307
b3218de1
CY
13082012-06-30 Chong Yidong <cyd@gnu.org>
1309
1310 * xml.el (xml-*-re): Convert defvars into defconsts, and
1311 eval-and-compile them so eval-and-compile works on derivatives.
1312 (xml--entity-replacement-text): Use eval-and-comple.
1313
a40c87a0
MA
13142012-06-30 Michael Albinus <michael.albinus@gmx.de>
1315
1316 * vc/vc-git.el (vc-git-registered): Use cache property
1317 `git-registered'.
1318 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1319 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1320 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1321
ac87de97
DG
13222012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1323
1324 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1325 removed (likely outside Emacs). (Bug#11757)
ac87de97 1326
ac10fe06
SM
13272012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1328
3df31c9f 1329 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1330
7f3fbd5d
CY
13312012-06-30 Chong Yidong <cyd@gnu.org>
1332
1333 * xml.el: Implement XML parameter entities.
1334 (xml-parameter-entity-alist): New variable.
1335 (xml-parse-region, xml-parse-fragment): Preserve previous values
1336 of xml-entity-alist and xml-parameter-entity-alist, so that
1337 repeated calls on different documents do not change them.
1338 (xml-parse-tag): Fix doctype regexp.
1339 (xml--entity-replacement-text): New function.
1340 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1341 properly requires url retrieval which is unimplemented.
1342 (xml-escape-string): Doc fix.
1343
3cfbebba
SM
13442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1347
2af3565e
DA
13482012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1349
1350 * fringe.el (fringe-mode): Doc fix.
1351
929df0e7
MA
13522012-06-29 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1355 is non-nil.
1356 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1357 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1358
c8d3a25c 13592012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1360
c8d3a25c
GM
1361 * calendar/cal-dst.el (calendar-current-time-zone):
1362 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1363
c8d3a25c 13642012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1365
1366 * progmodes/which-func.el (which-func-format):
1367 Add mouse-face. (Bug#11698)
1368
c8d3a25c
GM
13692012-06-29 Leo Liu <sdl.web@gmail.com>
1370
1371 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1372
13732012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * minibuffer.el (minibuffer-confirm-exit-commands):
1376 Add completion-at-point (bug#11725).
1377
13782012-06-29 Glenn Morris <rgm@gnu.org>
1379
1380 * progmodes/f90.el (f90-font-lock-keywords-2):
1381 Add some preprocessor elements. (Bug#10499)
1382
13832012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1386 Use syntax-propertize (bug#11739).
1387
2badeec4
JB
13882012-06-28 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1391
ae4969c2
JD
13922012-06-28 Julien Danjou <julien@danjou.info>
1393
1394 * term.el (term-handle-colors-array): Use a set of new faces to
1395 color the terminal. Also uses :inverse-video property.
1396 (term-default-fg-color): Set to nil by default, deprecate in favor
1397 of `term-face'.
1398 (term-default-bg-color): Set to nil by default, deprecate in favor
1399 of `term-face'.
1400 (term-current-face): Use `term-face' by default.
1401 (term-bold-attribute): Variable deleted.
1402
1c9bd870
GM
14032012-06-28 Glenn Morris <rgm@gnu.org>
1404
1405 * simple.el (completion-list-mode-finish):
1406 Don't use toggle-read-only. (Since completion-list-mode has
1407 a special mode-class, it wasn't doing anything extra anyway.)
1408
c207708c
SM
14092012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 Make inlining of other-mode interpreted functions work (bug#11799).
1412 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1413 (byte-compile): Use it to fix compilation of lexical-binding closures.
1414 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1415 function, if needed.
1416
3fd56834
SM
14172012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1418
04901786
SM
1419 * help-mode.el (help-make-xrefs): Don't just withstand
1420 cyclic-variable-indirection but any error in documentation-property.
1421
1ec4b7b2
SM
1422 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1423 memory use.
1424 * bindings.el (bindings--define-key): New function.
1425 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1426 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1427 * bindings.el: Use it to purecopy define-key bindings.
1428
e309e2a5
SM
1429 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1430
d5c6faf9
SM
1431 * emacs-lisp/cl.el (flet): Mark obsolete.
1432 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1433 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1434 * progmodes/js.el (js-c-fill-paragraph):
1435 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1436 (ebrowse-switch-member-buffer-to-derived-class):
1437 * play/5x5.el (5x5-solver): Use cl-flet.
1438
6e9590e2
SM
1439 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1440 (cl--symbol-function): New macro.
1441 (cl--letf, cl--letf*): Use it.
1442
3fd56834
SM
1443 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1444 Strip "toggle-" if any.
1445
35ff222c
GM
14462012-06-27 Glenn Morris <rgm@gnu.org>
1447
1ba6038a
GM
1448 * info.el (Info-default-directory-list): Move here from paths.el.
1449 * paths.el: Remove file, which is now empty.
1450 * loadup.el: No longer load "paths".
1451
0ea0e51b
GM
1452 * custom.el (custom-initialize-delay): Doc fix.
1453
35ff222c
GM
1454 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1455 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1456 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1457 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1458 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1459 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1460 * eshell/eshell.el (eshell-defgroup): Remove alias.
1461
c89926a5
CY
14622012-06-27 Chong Yidong <cyd@gnu.org>
1463
1464 * help.el (help-enable-auto-load): New variable.
1465
1466 * help-fns.el (help-fns--autoloaded-p): New function.
1467 (describe-function-1): Refer to a function as "autoloaded" if it
1468 was autoloaded at any time in the past. Perform autoloading if
1469 help-enable-auto-load is non-nil.
1470
cc06e7e7
EZ
14712012-06-26 Eli Zaretskii <eliz@gnu.org>
1472
1473 * makefile.w32-in (compile, compile-always): Depend on
1474 update-subdirs, not on subdirs.el. Otherwise, several different
1475 sub-targets of 'bootstrap' running in parallel could
1476 simultaneously write to subdirs.el, producing a garbled file.
1477
d2c32364
SS
14782012-06-26 Sam Steingold <sds@gnu.org>
1479
1480 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1481 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1482 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1483 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1484 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1485 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1486 * textmodes/tex-mode.el: Use it.
1487 Did not touch cedet and org because they are maintained elsewhere.
1488
5cf983b2
MR
14892012-06-26 Martin Rudalics <rudalics@gmx.at>
1490
1491 * calendar/calendar.el (calendar-exit): Don't try to delete or
1492 iconify last frame. See:
1493 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1494
8c4f2952
JD
14952012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1496
1497 * server.el (server-process-filter): Remember dir in the
1498 process's `server-client-directory' properties.
1499
772b2e2c
CY
15002012-06-24 Chong Yidong <cyd@gnu.org>
1501
1502 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1503 non-tag text.
1504
711b11e1
JB
15052012-06-23 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1508
dc5d230c
SM
15092012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * help-fns.el (describe-variable): Don't croak when doc is not found.
1512 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1513 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1514 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1515 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1516 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1517 ((lambda ..) ..).
1518 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1519
136e1c1d
CY
15202012-06-23 Chong Yidong <cyd@gnu.org>
1521
e8c1cabf
CY
1522 * info.el (Info-mouse-follow-link): Accept symbol values of
1523 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1524 (Info-fontify-node): Use Info-link-keymap for all navigation
1525 buttons, with link-args property to perform the desired action.
1526 (Info-link-keymap): Doc fix.
1527 (Info-next-link-keymap, Info-prev-link-keymap)
1528 (Info-up-link-keymap): Delete now-unused keymaps.
1529
0e9e6c6a
CY
15302012-06-23 Chong Yidong <cyd@gnu.org>
1531
05e89fea
CY
1532 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1533
0e9e6c6a
CY
1534 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1535 system abbrevs.
1536
1537 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1538
e33c6771
SM
15392012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1540
b68581e2
SM
1541 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1542 (bug#11719).
1543
e33c6771
SM
1544 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1545 the requote function doesn't work properly (bug#11714).
1546
7117e105
GM
15472012-06-23 Glenn Morris <rgm@gnu.org>
1548
1549 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1550
36cec983
SM
15512012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 Further GV/CL cleanups.
1554 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1555 gv-expander.
1556 (gv--defun-declaration): New function.
1557 (defun-declarations-alist): Use it.
1558 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1559 (gv-place): Autoload.
1560 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1561 original definition of dotimes and dolist.
1562 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1563 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1564 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1565 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1566 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1567 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1568 to the function's definition.
1569 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1570 * window.el:
1571 * files.el:
1572 * faces.el:
1573 * env.el: Don't use CL.
1574
d35af63c
PE
15752012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1576
1577 Support higher-resolution time stamps (Bug#9000).
1578
1579 * calendar/time-date.el (with-decoded-time-value): New arg
1580 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1581 (encode-time-value): New optional arg PICO. New type 3.
1582 (time-to-seconds) [!float-time]: Support the new picoseconds
1583 component if it's used.
1584 (seconds-to-time, time-subtract, time-add):
1585 Support ps-resolution time stamps as well.
1586
1587 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1588 (timerp): Timer vectors now have length 9, not 8.
1589 (timer--time): Support new-style (4-part) time stamps.
1590 (timer-next-integral-multiple-of-time): Time stamps now have
1591 picosecond resolution, so take a bit more care about rounding.
1592 (timer-relative-time, timer-inc-time): New optional arg psecs.
1593 (timer-set-time-with-usecs): Set psecs to 0.
1594 (timer--activate): Check psecs component, too.
1595
1596 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1597
ac77b21a
SM
15982012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1599
f143bfe3
SM
1600 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1601 Move the non-essential binding to the post/pre-command-hook where it is
1602 more obviously correct.
1603
ac77b21a
SM
1604 * subr.el (read-passwd): Don't use a history at all.
1605 * savehist.el (savehist-save): Remove password saved accidentally
1606 because of the above bug.
1607
76386c5a
BG
16082012-06-22 Bastien Guerry <bzg@gnu.org>
1609
1610 * files.el (toggle-read-only): Display a message telling whether
1611 the buffer is read-only or not (bug#11726).
1612
2ee3d7f0
SM
16132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/gv.el: New file.
1616 * subr.el (push, pop): Extend to generalized variables.
1617 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1618 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1619 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1620 gv-define-simple-setter, and gv-define-expander.
1621 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1622 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1623 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1624 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1625 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1626 gv-letplace.
1627 (cl-defstruct): Don't define setf-method any more.
1628 * emacs-lisp/cl.el (flet): Don't autoload.
1629 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1630 (define-setf-expander, defsetf, define-modify-macro)
1631 (cl-struct-setf-expander): Move from cl-lib.el.
1632 * emacs-lisp/syntax.el:
1633 * emacs-lisp/ewoc.el:
1634 * emacs-lisp/smie.el:
1635 * emacs-lisp/cconv.el:
1636 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1637 (timer--time): Use gv-define-simple-setter.
1638 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1639 to avoid coding-system problems in subr.el. Adjust all users.
1640 (macroexp--maxsize, macroexp-small-p): New functions.
1641 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1642 * scroll-bar.el (scroll-bar-mode):
1643 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1644 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1645 * winner.el (winner-configuration, winner-make-point-alist)
1646 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1647 * files.el (locate-file-completion-table): Avoid list*.
1648
c5695d1d
CY
16492012-06-22 Chong Yidong <cyd@gnu.org>
1650
1651 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1652 (dired-create-files): Doc fix (Bug#11329).
1653 (dired-do-copy): Doc fix (Bug#11334).
1654 (dired-mark-read-string): Doc fix (Bug#11553).
1655
2ee3d7f0
SM
1656 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1657 Doc fix (Bug#11326).
c5695d1d
CY
1658 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1659 (dired-dwim-target): Doc fix.
1660
1661 * wdired.el (wdired-mode): Doc fix.
1662
89b5595a
GM
16632012-06-22 Glenn Morris <rgm@gnu.org>
1664
575db3f1
GM
1665 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1666 (pcmpl-rpm-cache-stamp-file): New constant.
1667 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1668 (pcmpl-rpm-packages): Optionally cache list of packages.
1669
a4c8dd51
GM
1670 * pcmpl-rpm.el (pcmpl-rpm): New group.
1671 (pcmpl-rpm-query-options): New option.
1672 (pcmpl-rpm-packages): No need to inline it.
1673 Use pcmpl-rpm-query-options.
1674
89b5595a
GM
1675 * calendar/calendar.el (calendar-in-read-only-buffer):
1676 Avoid some needless mode changes.
1677
e76f0800
CY
16782012-06-21 Chong Yidong <cyd@gnu.org>
1679
1680 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1681 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1682 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1683
297a8f1d
CY
16842012-06-20 Chong Yidong <cyd@gnu.org>
1685
1686 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1687
d34c18b1
DR
16882012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1689
1690 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1691 (bug#11201).
1692
32f7f28e
CY
16932012-06-20 Chong Yidong <cyd@gnu.org>
1694
1695 * term.el (term-window-width): Handle the case of a missing right
1696 fringe (Bug#8837).
1697 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1698 (term-mode): Use define-derived-mode. Minor cleanups.
1699 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1700 (term-move-columns, term-insert-char, term-emulate-terminal)
1701 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1702
493c6688
MA
17032012-06-20 Michael Albinus <michael.albinus@gmx.de>
1704
d34c18b1
DR
1705 * net/ange-ftp.el (ange-ftp-get-passwd):
1706 Bind `enable-recursive-minibuffers'.
493c6688
MA
1707 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1708
3f06ecf4
DR
17092012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1710
1711 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1712
68f12411
GM
17132012-06-19 Glenn Morris <rgm@gnu.org>
1714
1715 * progmodes/python.el (python-mode): Derive from prog-mode.
1716
b3820318
KG
17172012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1718
1719 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1720 (edt-user-menu-bar-update-buffers): New functions.
1721 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1722
c6bf3022
CY
17232012-06-19 Chong Yidong <cyd@gnu.org>
1724
1725 * subr.el (with-selected-window): Preserve the selected window's
1726 terminal's top-frame (Bug#4702).
1727
1728 * window.el (save-selected-window): Likewise.
1729
25f09295
SM
17302012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * progmodes/python.el (python-rx-constituents): Move backquote.
1733 (python-skeleton-define, python-define-auxiliary-skeleton):
1734 Use `declare'.
1735
6b11952a
MA
17362012-06-18 Michael Albinus <michael.albinus@gmx.de>
1737
1738 * minibuffer.el (read-file-name-default): Revert the patch from
1739 2012-06-17.
1740
ee4b1330
SM
17412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1744 (pcase--u1, pcase--q1): Don't use apply-partially.
1745
35647f79
GM
17462012-06-18 Glenn Morris <rgm@gnu.org>
1747
1748 * progmodes/python.el (python-proc, python-buffer)
1749 (python-send-receive, python-send-string): Fix obsolete versions.
1750
24b0cff0
MR
17512012-06-18 Martin Rudalics <rudalics@gmx.at>
1752
1753 * window.el (special-display-p): Completely remove stringp
1754 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1755
29855149
MA
17562012-06-17 Michael Albinus <michael.albinus@gmx.de>
1757
1758 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1759
1760 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1761
1762 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1763 * net/tramp-sh.el (tramp-maybe-open-connection):
1764 Throw if `non-essential' is non-nil.
1765
07463363
MR
17662012-06-17 Martin Rudalics <rudalics@gmx.at>
1767
1768 * window.el (special-display-p): Signal an error if BUFFER-NAME
1769 is not a string (Bug#11713).
1770
48d1354e
PE
17712012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1772
1773 * progmodes/python.el (python-info-beginning-of-backslash):
1774 Rename from python-info-beginning-of-backlash, as a spelling fix.
1775
eb4a8a9a
CY
17762012-06-17 Chong Yidong <cyd@gnu.org>
1777
1778 * term.el (term-emulate-terminal): If term-check-size is called,
1779 move point to the process mark without resetting point (Bug#4635).
1780
ddfbf826 17812012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1782
1783 * international/mule-cmds.el (mule-menu-keymap)
1784 (set-language-environment, set-locale-environment): Doc tweaks.
1785
9b0e3eba
AA
17862012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1787
1788 * cus-face.el (custom-face-attributes): Add wave-style underline
1789 attribute.
1790 * faces.el (set-face-attribute): Update docstring to describe
1791 wave-style underline attribute.
1792
771e3eae
CY
17932012-06-16 Chong Yidong <cyd@gnu.org>
1794
1795 * term/xterm.el (terminal-init-xterm): Discard input before
1796 querying background mode (Bug#10959).
1797
7ae2ea10
SM
17982012-06-16 Stefan Merten <smerten@oekonux.de>
1799
1800 * textmodes/rst.el: Added and corrected some comments.
1801 (rst-re-alist-def): Improve symbol syntax.
1802 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1803 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1804 (rst-official-version, rst-official-cvs-rev): Update version
1805 information.
7ae2ea10 1806
b6974efa
JB
18072012-06-15 Juanma Barranquero <lekktu@gmail.com>
1808
1809 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1810 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1811
8826d473
GM
18122012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1813
1814 * progmodes/python.el: New python.el merge.
1815 (python-guess-indent): Obsolete var.
1816 (python-indent-guess-indent-offset): New defcustom.
1817 (python-indent): Obsolete var.
1818 (python-indent-offset): New defcustom.
1819 (python-python-command, python-jython-command): Delete var.
1820 (python-shell-interpreter): New defcustom.
1821 (python-pdbtrack-do-tracking-p): Delete var.
1822 (python-pdbtrack-activate): New defcustom.
1823 (python-use-skeletons): Obsolete var.
1824 (python-skeleton-autoinsert): New defcustom.
1825 (inferior-python-filter-regexp, python-continuation-offset)
1826 (python-honour-comment-indentation, python-indent-string-contents)
1827 (python-jython-packages, python-mode-hook)
1828 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1829 (python-shell-prompt-alist)
1830 (python-source-modes): Delete defcustoms.
1831 (python-check-buffer-name, python-eldoc-setup-code)
1832 (python-eldoc-string-code, python-ffap-setup-code)
1833 (python-ffap-string-code, python-fill-comment-function)
1834 (python-fill-decorator-function, python-fill-paren-function)
1835 (python-fill-string-function, python-imenu-include-defun-type)
1836 (python-imenu-make-tree, python-imenu-subtree-root-label)
1837 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1838 (python-shell-compilation-regexp-alist)
1839 (python-shell-completion-module-string-code)
1840 (python-shell-completion-pdb-string-code)
1841 (python-shell-completion-setup-code)
1842 (python-shell-completion-string-code)
1843 (python-shell-enable-font-lock, python-shell-exec-path)
1844 (python-shell-extra-pythonpaths)
1845 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1846 (python-shell-process-environment)
1847 (python-shell-prompt-block-regexp)
1848 (python-shell-prompt-output-regexp)
1849 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1850 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1851 (python-shell-virtualenv-path): New defcustoms.
1852 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1853 (inferior-python-mode-syntax-table, python--prompt-regexp)
1854 (python-buffer, python-command python-python-command)
1855 (python-default-template, python-imports, python-indent-index)
1856 (python-indent-list, python-indent-list-length)
1857 (python-mode-running, python-pdbtrack-is-tracking-p)
1858 (python-preoutput-continuation, python-preoutput-leftover)
1859 (python-preoutput-result, python-preoutput-skip-next-prompt)
1860 (python-prev-dir/file, python-recursing)
1861 (python-saved-check-command, python-version-checked)
1862 (python-which-func-length-limit)
1863 (view-return-to-alist): Delete vars.
1864 (python-check-custom-command, python-dotty-syntax-table)
1865 (python-imenu-index-alist, python-indent-current-level)
1866 (python-indent-dedenters, python-indent-levels)
1867 (python-nav-beginning-of-defun-regexp)
1868 (python-nav-list-defun-positions-cache)
1869 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1870 (python-shell-internal-buffer)
1871 (python-skeleton-available): New vars.
1872 (def-python-skeleton): Delete macro.
1873 (python-skeleton-define): New macro.
1874 (python-define-auxiliary-skeleton, python-rx): New macros.
1875 (python-insert-class): Delete command.
1876 (python-skeleton-class): New command.
1877 (python-insert-def): Delete command.
1878 (python-skeleton-def): New command.
1879 (python-insert-for): Delete command.
1880 (python-skeleton-for): New command.
1881 (python-insert-if): Delete command.
1882 (python-skeleton-if): New command.
1883 (python-insert-try/except, python-insert-try/finally): Delete commands.
1884 (python-skeleton-try): New command.
1885 (python-insert-while): Delete command.
1886 (python-skeleton-while): New command.
1887 (python-backspace): Delete command.
1888 (python-indent-dedent-line-backspace): New command.
1889 (python-electric-colon): Delete command.
1890 (python-indent-electric-colon): New command.
1891 (python-guess-indent): Delete command.
1892 (python-indent-guess-indent-offset): New command.
1893 (python-shift-left): Delete command.
1894 (python-indent-shift-left): New command.
1895 (python-shift-right): Delete command.
1896 (python-indent-shift-right): New command.
1897 (python-find-function): Delete command.
1898 (python-nav-jump-to-defun): New command.
1899 (python-next-statement): Delete command.
1900 (python-nav-forward-sentence): New command.
1901 (python-previous-statement): Delete command.
1902 (python-nav-backward-sentence): New command.
1903 (python-fill-paragraph): Delete command.
1904 (python-fill-paragraph-function): New command.
1905 (python-send-buffer): Delete command.
1906 (python-shell-send-buffer): New command.
1907 (python-send-defun): Delete command.
1908 (python-shell-send-defun): New command.
1909 (python-send-region, python-send-region-and-go): Delete commands.
1910 (python-shell-send-region)
1911 (python-shell-switch-to-shell): New commands.
1912 (python-send-string): Delete command.
1913 (python-shell-send-string): New command.
1914 (python-switch-to-python): Delete command.
1915 (python-shell-switch-to-shell): New command.
1916 (python-describe-symbol): Delete command.
1917 (python-eldoc-at-point): New command.
1918 (python--set-prompt-regexp, python-args-to-list)
1919 (python-after-info-look, python-check-version)
1920 (python-check-comint-prompt, python-find-imports)
1921 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1922 (python-unload-function, python-expand-template)
1923 (python-maybe-jython, python-preoutput-filter)
1924 (python-pdbtrack-get-source-buffer)
1925 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1926 (python-pdbtrack-toggle-stack-tracking)
1927 (python-pdbtrack-track-stack-file, python-initial-text)
1928 (python-first-word, python-comment-line-p, python-send-command)
1929 (python-setup-brm, python-sentinel, python-set-proc)
1930 (python-skip-out, python-input-filter, python-outdent-p)
1931 (python-outline-level, python-backslash-continuation-line-p)
1932 (python-end-of-block, python-end-of-statement, python-mark-block)
1933 (python-beginning-of-block, python-beginning-of-statement)
1934 (python-blank-line-p, python-beginning-of-string)
1935 (python-open-block-statement-p): Delete functions.
1936 (python-indent-line, python-indent-line-1): Delete functions.
1937 (python-indent-line): New function.
1938 (python-indentation-levels): Delete function.
1939 (python-indent-calculate-levels): New function.
1940 (python-proc): Delete function.
1941 (python-shell-get-process): New function.
1942 (python-send-receive): Delete function.
1943 (python-shell-send-string-no-output): New function.
1944 (python-module-path): Delete function.
1945 (python-ffap-module-path): New function.
1946 (python-completion-at-point)
1947 (python-symbol-completions): Delete functions.
1948 (python-completion-complete-at-point): New function.
1949 (python-load-file): Delete function.
1950 (python-shell-send-file): New function.
1951 (python-calculate-indentation): Delete function.
1952 (python-indent-calculate-indentation): New function.
1953 (python-skip-comments/blanks): Delete function.
1954 (python-util-forward-comment): New function.
1955 (python-continuation-line-p): Delete function.
1956 (python-info-continuation-line-p): New function.
1957 (python-which-func, python-current-defun): Delete function.
1958 (python-info-current-defun): New function.
1959 (python-beginning-of-defun): Delete function.
1960 (python-nav-beginning-of-defun): New function.
1961 (python-close-block-statement-p)
1962 (python-block-end-p): Delete function.
1963 (python-info-closing-block): New function.
1964 (python-comint-output-filter-function)
1965 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1966 (python-fill-comment, python-fill-decorator, python-fill-paren)
1967 (python-fill-string, python-imenu-make-element-tree)
1968 (python-imenu-make-tree, python-imenu-tree-assoc)
1969 (python-indent-context, python-indent-dedent-line)
1970 (python-indent-line-function)
1971 (python-indent-post-self-insert-function)
1972 (python-indent-toggle-levels)
1973 (python-info-assignment-continuation-line-p)
1974 (python-info-beginning-of-backlash)
1975 (python-info-block-continuation-line-p)
1976 (python-info-closing-block-message)
1977 (python-info-line-ends-backslash-p)
1978 (python-info-looking-at-beginning-of-defun)
1979 (python-info-ppss-context, python-info-ppss-context-type)
1980 (python-nav-list-defun-positions, python-nav-read-defun)
1981 (python-nav-sentence-end, python-nav-sentence-start)
1982 (python-pdbtrack-comint-output-filter-function)
1983 (python-pdbtrack-set-tracked-buffer)
1984 (python-shell-calculate-exec-path)
1985 (python-shell-calculate-process-environment)
1986 (python-shell-completion--do-completion-at-point)
1987 (python-shell-completion--get-completions)
1988 (python-shell-completion-complete-at-point)
1989 (python-shell-completion-complete-or-indent)
1990 (python-shell-get-or-create-process)
1991 (python-shell-get-process-name)
1992 (python-shell-internal-get-or-create-process)
1993 (python-shell-internal-get-process-name)
1994 (python-shell-internal-send-string, python-shell-make-comint)
1995 (python-shell-parse-command, python-shell-send-setup-code)
1996 (python-skeleton-add-menu-items)
1997 (python-util-clone-local-variables, python-util-position)
1998 (run-python-internal, python-indentation-levels)
1999 (python-nav-beginning-of-defun)
2000 (python-completion-complete-at-point): New functions.
2001 (run-python): Change arguments. New API requirements.
2002
4302f5ba
SM
20032012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2004
f38ea36d
SM
2005 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2006 (bug#11649).
2007
2008 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2009 (macroexp--expand-all): Use it.
2010
4302f5ba
SM
2011 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2012 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2013 Use `cl-function' instead.
2014
33377562
JB
20152012-06-14 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2018 Suggested by Stefan Monnier while discussing bug#11657.
2019
54c5ba1a
SS
20202012-06-14 Sam Steingold <sds@gnu.org>
2021
2022 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2023
f9f1b1fe
AS
20242012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2025
2026 * play/doctor.el (doctor-doc): Remove parameter and use
2027 doctor-sent instead of sent.
2028 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2029
a81068ba
SM
20302012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2031
5a315f9c
SM
2032 * files.el: Require cl-lib.
2033 (file-name-non-special): Replace case -> cl-case.
2034
2035 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2036
a81068ba
SM
2037 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2038 mapping from #' to function*.
2039
8cca9703
CY
20402012-06-13 Chong Yidong <cyd@gnu.org>
2041
2042 * mouse.el (mouse-drag-track): Do not set the mark if the user
2043 releases the mouse without selecting anything (Bug#11588).
2044
a12ac9d7
SM
20452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2046
ccf1dc18
SM
2047 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2048 as well (bug#11646).
2049
ef62b23d
SM
2050 * loadup.el: Count byte-code functions as well.
2051
c4c8444a
SM
2052 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2053 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2054
a12ac9d7
SM
2055 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2056 (bug#11649). Add cl-defun and cl-defmacro.
2057
87e6e64f
DA
20582012-06-13 Drew Adams <drew.adams@oracle.com>
2059
2060 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2061 Fix last change.
2062
682cefaf
MA
20632012-06-13 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2066 Otherwise, it blocks in batch mode.
2067
773e1f08
JB
20682012-06-13 Juanma Barranquero <lekktu@gmail.com>
2069
2070 * help-mode.el (bookmark-make-record-default): Declare.
2071
60057926
CY
20722012-06-13 Chong Yidong <cyd@gnu.org>
2073
2074 * emacs-lisp/package.el (list-packages): Compute a list of
2075 packages that are newly-available since the last list-packages
2076 invocation.
2077 (package-menu--new-package-list): New var.
2078 (package-menu--generate, package-menu--print-info)
2079 (package-menu--status-predicate, package-menu-mark-install):
2080 Handle new status label "new".
2081
ad4d226c
SM
20822012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2085 conversion to backquotes.
2086
f1a4e679
CY
20872012-06-12 Chong Yidong <cyd@gnu.org>
2088
2089 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2090 Rename from gud-inhibit-global-bindings.
2091
2092 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2093
2094 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2095 hook from nxml-glyph-set-hook.
2096
2097 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2098 declaration.
2099
2100 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2101
2102 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2103 Convert to defcustom.
2104
0c9e42b5
DA
21052012-06-12 Drew Adams <drew.adams@oracle.com>
2106
2107 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2108 New functions.
2109 (help-mode): Use them.
2110
09e06855
GM
21112012-06-11 Glenn Morris <rgm@gnu.org>
2112
2113 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2114 Use preprocessor face for directives.
2115 (fortran-directive-re): Doc fix.
2116
71adb94b
SM
21172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2eb87922
SM
2119 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2120 conversion to backquotes (bug#11652).
2121
71adb94b
SM
2122 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2123 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2124 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2125 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2126 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2127 (cl-ninth, cl-tenth): Mark them as inlinable.
2128 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2129 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2130 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2131 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2132 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2133 (cl-list*, cl-adjoin): Don't put an autoload manually.
2134 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2135 (cl--compiler-macro-list*): Add autoload cookie.
2136 (cl--compiler-macro-cXXr): New function.
2eb87922 2137
71adb94b
SM
2138 * help-fns.el (help-fns--compiler-macro): New function extracted from
2139 describe-function-1; follow aliases and use `compiler-macro' property.
2140 (describe-function-1): Use it.
2141
a6674402
CY
21422012-06-11 Chong Yidong <cyd@gnu.org>
2143
2144 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2145 is uninstalled, if imagemagick is installed.
2146
bb3faf5b
SM
21472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/cl-lib.el: Use lexical-binding.
2150 (cl-map-extents, cl-maclisp-member): Remove.
2151 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2152 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2153 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2154 * emacs-lisp/cl-extra.el: Use lexical-binding.
2155 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2156 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2157 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2158 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2159 * emacs-lisp/cl-seq.el: Use lexical-binding.
2160 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2161 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2162 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2163 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2164 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2165 CL's internals.
2166
2fe4b125
MA
21672012-06-11 Michael Albinus <michael.albinus@gmx.de>
2168
2169 Sync with Tramp 2.2.6-pre.
2170
2171 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2172 `print-length' and `print-level' to nil, in order to avoid
2173 truncation. Reported by Christopher Schmidt
2174 <christopher@ristopher.com>.
2175
2176 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2177
2178 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2179 New defmacro.
2180 (tramp-compat-copy-directory): Add optional argument
2181 COPY-CONTENTS. It is not handled yet.
2182
2183 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2184 (tramp-ftp-file-name-p): Simplify.
2185
2186 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2187 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2188 connection vector.
2189
2190 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2191 (tramp-methods): Do not use `tramp-password-end-of-line'.
2192 (tramp-completion-function-alist-putty): Handle UNIX case.
2193 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2194 (tramp-do-file-attributes-with-stat)
2195 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2196 gid as real numbers. They could run out of integer range on cygwin.
2197 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2198 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2199 (tramp-open-connection-setup-interactive-shell):
2200 Use `tramp-cleanup'. Move check for busyboxes ...
2201 (tramp-find-shell): ... here. Simplify implementation.
2202 Set "remote-shell" property also for alternative shells.
2203 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2204 If failing, a regular file would be written otherwise.
2205 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2206 (tramp-find-inline-encoding): Cache the coding commands in the
2207 process cache. Apply test command on the remote side, if defined.
2208 (tramp-find-inline-compress): Cache the compress commands in the
2209 process cache.
2210 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2211 when requested. Handle hops.
2212 (tramp-current-connection): New defvar.
87e6e64f
DA
2213 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2214 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2215 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2216 (tramp-get-inline-compress, tramp-get-inline-coding):
2217 Read connection properties from the process cache.
2fe4b125
MA
2218
2219 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2220 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2221 New defconsts.
2fe4b125
MA
2222 (tramp-smb-prompt): Extend for powershell prompt.
2223 (tramp-smb-file-name-handler-alist): Add handlers for
2224 `process-file', `shell-command' and `start-file-process'.
2225 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2226 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2227 (tramp-smb-file-name-p): Simplify.
2228 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2229 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2230 (tramp-smb-shell-quote-argument): New defuns.
2231 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2232 Implement using "tar". By this, time-stamps are preserved.
2233 (tramp-smb-handle-copy-file): Handle also the case of directories.
2234 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2235 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2236 Use `tramp-get-connection-buffer').
2fe4b125
MA
2237 (tramp-smb-handle-rename-file): Use "rename", when source and
2238 target are on the same share.
87e6e64f
DA
2239 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2240 Use `tramp-smb-server-version'.
2fe4b125
MA
2241 (tramp-smb-wait-for-output): Remove prompt.
2242
2243 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2244 (tramp-methods, tramp-rsh-end-of-line):
2245 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2246 (tramp-save-ad-hoc-proxies): New defcustom.
2247 (tramp-completion-function-alist): Adapt docstring.
2248 (tramp-default-password-end-of-line): Remove defcustom.
2249 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2250 (tramp-user-regexp, tramp-file-name-regexp-unified)
2251 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2252 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2253 (tramp-remote-file-name-spec-regexp): New defconst.
2254 (tramp-file-name-structure): Extend structure for hops.
2255 (tramp-get-method-parameter): Move up.
2256 (tramp-file-name-p, tramp-dissect-file-name)
2257 (with-parsed-tramp-file-name): Handle hops.
2258 (tramp-file-name-hop): New defun.
2259 (tramp-make-tramp-file-name): New optional arg HOP.
2260 (tramp-message-show-progress-reporter-message): New defvar.
2261 (tramp-with-progress-reporter): Use it. We cannot use
2262 `tramp-message-show-message' here, because this suppresses also
2263 error buffers.
2264 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2265 `tramp-message-show-message' is nil.
2266 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2267 (tramp-cleanup): New defun.
2268 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2269 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2270 an error unchanged.
2271 (tramp-completion-handle-file-name-all-completions): Handle hops.
2272 Fix an error when called from ido.
2273 (tramp-completion-dissect-file-name): Use better local variable
2274 name. Add hop to the vector.
2275 (tramp-handle-insert-file-contents): Use progress-reporter for the
2276 whole scenario.
2277 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2278 to `t'.
2279 (tramp-check-for-regexp): Simplify search.
2280 (tramp-enter-password): Remove it. Move implementation ...
2281 (tramp-action-password): ... here.
2282 (tramp-mode-string-to-int, tramp-local-host-p)
2283 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2284 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2285 Set tramp-autoload cookie.
2fe4b125
MA
2286
2287 * net/trampver.el: Update release number.
2288
22892012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2290 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2293 (tramp-parse-group, tramp-parse-file)
2294 (tramp-parse-shostkeys-sknownhosts): New defuns.
2295 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2296 (tramp-parse-shosts-group, tramp-parse-sconfig)
2297 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2298 (tramp-parse-sknownhosts, tramp-parse-hosts)
2299 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2300 Use them.
2301 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2302 (tramp-parse-putty-group): Don't narrow.
2303 (tramp-parse-putty): Make a loop.
2304 (tramp-file-name-handler): Catch the `suppress' signal.
2305
72834e10
CY
23062012-06-11 Chong Yidong <cyd@gnu.org>
2307
2308 * image.el (imagemagick-register-types): Put the ImageMagick entry
2309 at the end of image-type-file-name-regexps.
2310
a4712e11
JB
23112012-06-11 Johan Bockgård <bojohan@gnu.org>
2312
2313 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2314 (pcase, pcase-let*, pcase-dolist): Use them.
2315
82ad98e3
SM
23162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * emacs-lisp/pcase.el (pcase--let*): New function.
2319 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2320 (pcase--expand): Use macroexp-let².
2321
f80efb86
SM
23222012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2325 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2326 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2327 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2328 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2329 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2330
31ca4639 23312012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2332
31ca4639
CY
2333 * mail/rmail.el (rmail-yank-current-message): Leave point at
2334 correct position. (Bug#11660)
94f0aa34 2335
31ca4639 23362012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2337
31ca4639 2338 * allout-widgets.el: Fix code header.
9e1b8ec4 2339
31ca4639 23402012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2341
f80efb86
SM
2342 * cus-edit.el (customize-changed-options-previous-release):
2343 Bump to 24.1.
31ca4639 2344
642b6d30
AS
23452012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2346
2347 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2348
4f5d2ba1
CY
23492012-06-09 Chong Yidong <cyd@gnu.org>
2350
2351 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2352
e75852fd
MR
23532012-06-09 Martin Rudalics <rudalics@gmx.at>
2354
2355 * window.el (special-display-popup-frame): Don't use
2356 window--display-buffer (Bug#11651).
2357
1e48e282
EZ
23582012-06-09 Eli Zaretskii <eliz@gnu.org>
2359
8a26b487
EZ
2360 Fix parallel builds: make sure loaddefs.el is not being written
2361 while Lisp files are compiled.
2362 (compile): Don't depend on 'mh-autoloads'.
2363 (compile-CMD, compile-SH): Depend on 'autoloads'.
2364 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2365
1e48e282
EZ
2366 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2367
6175e34b
CY
23682012-06-09 Chong Yidong <cyd@gnu.org>
2369
2370 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2371 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2372 Doc fixes (Bug#11225).
2373
d9857e53
SM
23742012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2377 a function if there's a clear indication that it has a compiler-macro.
2378 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2379 (macro-declarations-alist): Add arglist to declaration functions.
2380 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2381 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2382 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2383 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2384 Also add autoload to find the compiler macro.
2385 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2386 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2387 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2388 (cl--compiler-macro-get): New functions, replacing calls to
2389 cl-define-compiler-macro.
2390 (cl-typep) [compiler-macro]: Use macroexp-let².
2391
f81298f8 23922012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2393
2394 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2395 string properly, fixes Bug#11473.
2396
4b56d0fe
CY
23972012-06-08 Chong Yidong <cyd@gnu.org>
2398
2399 * faces.el (set-face-attribute): Doc fix.
2400 (modify-face): Don't use :bold and :italic.
2401 (error, warning, success): Tweak definitions.
2402
2403 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2404 (custom-modified, custom-set, custom-changed, custom-themed)
2405 (custom-saved, custom-button, custom-button-mouse)
2406 (custom-button-pressed, custom-state, custom-comment-tag)
2407 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2408 (custom-group-subtitle): Use new-style face specs.
2409 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2410 (custom-set-face, custom-changed-face, custom-saved-face)
2411 (custom-button-face, custom-button-pressed-face)
2412 (custom-documentation-face, custom-state-face)
2413 (custom-comment-face, custom-comment-tag-face)
2414 (custom-variable-tag-face, custom-variable-button-face)
2415 (custom-face-tag-face, custom-group-tag-face-1)
2416 (custom-group-tag-face): Remove obsolete face alias.
2417
2418 * epa.el (epa-validity-high, epa-validity-medium)
2419 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2420 (epa-field-name, epa-field-body):
2421 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2422 (font-lock-keyword-face, font-lock-builtin-face)
2423 (font-lock-function-name-face, font-lock-variable-name-face)
2424 (font-lock-type-face, font-lock-constant-face):
2425 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2426 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2427 * speedbar.el (speedbar-button-face, speedbar-file-face)
2428 (speedbar-directory-face, speedbar-tag-face)
2429 (speedbar-selected-face, speedbar-highlight-face)
2430 (speedbar-separator-face):
2431 * whitespace.el (whitespace-newline, whitespace-space)
2432 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2433 (whitespace-line, whitespace-space-before-tab)
2434 (whitespace-space-after-tab, whitespace-indentation)
2435 (whitespace-empty):
2436 * emulation/cua-base.el (cua-global-mark):
2437 * eshell/em-prompt.el (eshell-prompt):
2438 * net/newst-plainview.el (newsticker-new-item-face)
2439 (newsticker-old-item-face, newsticker-immortal-item-face)
2440 (newsticker-obsolete-item-face, newsticker-date-face)
2441 (newsticker-statistics-face, newsticker-default-face):
2442 * net/newst-reader.el (newsticker-feed-face)
2443 (newsticker-extra-face, newsticker-enclosure-face):
2444 * net/newst-treeview.el (newsticker-treeview-face)
2445 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2446 (newsticker-treeview-immortal-face)
2447 (newsticker-treeview-obsolete-face)
2448 (newsticker-treeview-selection-face):
2449 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2450 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2451 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2452 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2453 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2454 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2455 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2456 (mpuz-text):
2457 * progmodes/vera-mode.el (vera-font-lock-number)
2458 (vera-font-lock-function, vera-font-lock-interface):
2459 * textmodes/table.el (table-cell): Use new-style face specs, and
2460 don't use the old :bold and :italic attributes.
2461
2462 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2463 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2464 (ebrowse-member-class, ebrowse-progress): Likewise.
2465 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2466 (ebrowse-file-name-face, ebrowse-default-face)
2467 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2468 (ebrowse-progress-face): Remove obsolete faces.
2469
2470 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2471 Inherit from error and warning faces respectively.
2472
2473 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2474 Likewise.
f80efb86
SM
2475 (flyspell-incorrect-face, flyspell-duplicate-face):
2476 Remove obsolete aliases.
4b56d0fe 2477
03310646
MA
24782012-06-08 Michael Albinus <michael.albinus@gmx.de>
2479
2480 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2481 Avoid infloop.
2482
513749ee
SM
24832012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * startup.el (argv, argi): Make lexically scoped.
2486 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2487 * emacs-lisp/cl-macs.el: Use lexical-binding.
2488 Rename cl-bind-* to cl--bind-*.
2489 * files.el: Don't require `cl' since it doesn't use it.
2490 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2491
595ef4ad
JB
24922012-06-08 Juanma Barranquero <lekktu@gmail.com>
2493
2494 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2495 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2496 instead of calling external sort utility.
2497 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2498
e9f66fcb
EZ
24992012-06-08 Eli Zaretskii <eliz@gnu.org>
2500
2501 * descr-text.el (describe-char): Mention how to insert the
2502 character, if the current input method doesn't support it.
2503 See the discussion in this thread for the details:
2504 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2505
3d10db47
SS
25062012-06-08 Sam Steingold <sds@gnu.org>
2507
2508 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2509 XF86Back to previous-buffer.
2510 (minibuffer-local-map): Bind them to next-history-element and
2511 previous-history-element respectively.
2512 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2513 help-go-back respectively.
2514 * info.el (Info-mode-map): Bind them to Info-history-forward and
2515 Info-history-back respectively.
2516 These are the keys next to Up on the ThinkPad keyboard.
2517
de7e2b36
SM
25182012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2521 * emacs-lisp/cl-macs.el: Provide itself.
2522 (cl--labels-convert-cache): New var.
2523 (cl--labels-convert): New function.
2524 (cl-flet, cl-labels): New implementation with new semantics, relying on
2525 lexical-binding.
2526 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2527 (cl-closure-vars, cl--function-convert-cache)
2528 (cl--function-convert): Move from cl-macs.el.
2529 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2530 rename by removing the "cl-" prefix.
2531 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2532
6fa6c4ae
SM
25332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2536 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2537 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2538 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2539 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2540 (cl-hash-table-count): Add old compatibility aliases.
2541
2542 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2543 Use macroexpand-all-environment instead.
2544 (cl--old-macroexpand): New var.
2545 (cl--sm-macroexpand): New function.
2546 (cl-symbol-macrolet): Use it during macro expansion.
2547 (cl--function-convert-cache): New var.
2548 (cl--function-convert): New function, extracted from
2549 cl-macroexpand-all.
2550 (cl-lexical-let): Use it.
2551
2552 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2553 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2554 (cl-member): Remove old alias.
2555
2556 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2557 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2558 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2559 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2560 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2561 (cl-macroexpand-cmacs): Remove var.
2562 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2563 Use macroexpand-all instead.
2564
4dd1c416
SM
25652012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2568 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2569 (macroexp-copyable-p): New functions and macros.
2570 * emacs-lisp/edebug.el (edebug-unwrap):
2571 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2572 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2573 (pcase--let*): Remove.
2574 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2575 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2576 macroexp-const-p instead.
2577 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2578
2579 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2580 instead of "cl-" for internal definitions. Use macroexp-const-p.
2581 (cl-old-bc-file-form): Remove var.
2582 (cl-const-exprs-p): Remove fun.
2583 (cl-labels, cl-macrolet): Use backquote.
2584 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2585 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2586 (cl-define-setf-expander): Rename from cl-define-setf-method.
2587 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2588
2589 * international/mule-cmds.el: Don't require CL.
2590 (view-hello-file): Don't use `letf'.
2591
ed8bd4d7
SM
25922012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2593
7287f2f3
SM
2594 * tmm.el (tmm-prompt): Use string-prefix-p.
2595 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2596 (tmm-add-prompt): Use minibuffer-completion-help.
2597 (tmm-delete-map): Remove.
2598
ed8bd4d7
SM
2599 * subr.el (kbd): Make it its own function.
2600
7b4cdbf4
SM
26012012-06-07 Stefan Merten <smerten@oekonux.de>
2602
2603 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2604 Silence compiler warnings. Fix versions.
ed8bd4d7 2605 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2606 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2607 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2608 (rst-package-emacs-version-alist): Correct Emacs version to
2609 represent major merge with upstream.
ed8bd4d7 2610 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2611
2b48d721
GM
26122012-06-06 Glenn Morris <rgm@gnu.org>
2613
2614 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2615 Only print environment variables if set.
2616
fa779ab0
SM
26172012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2620 (macroexp--cons): Rename from maybe-cons.
2621 (macroexp--accumulate): Rename from macroexp-accumulate.
2622 (macroexp--all-forms): Rename from macroexpand-all-forms.
2623 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2624 (macroexp--expand-all): Rename from macroexpand-all-1.
2625
628299e0
SS
26262012-06-06 Sam Steingold <sds@gnu.org>
2627
2628 * calendar/calendar.el (calendar-in-read-only-buffer):
2629 Call `special-mode' to enable the standard read-only keybindings.
2630
b7bb5838
SM
26312012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2634 with "loading" messages (bug#11635).
2635
dfb308ba
MA
26362012-06-06 Michael Albinus <michael.albinus@gmx.de>
2637
2638 * files.el (enable-remote-dir-locals): New option.
2639 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2640
0372ee92
MA
2641 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2642 Ensure, that the temp directory is local.
2643
2644 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2645 `temporary-file-directory'.
2646
eed0bb91
MA
2647 * progmodes/python.el (python-send-region): Ensure, that the
2648 temporary file is created also in the remote case.
2649
7a58f64d
GM
26502012-06-06 Glenn Morris <rgm@gnu.org>
2651
f7dd4e98
GM
2652 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2653 (vc-rcs-update-changelog): Use it.
2654
090bd7cb 2655 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2656
7a58f64d
GM
2657 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2658 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2659 (vc-sccs-diff): Replace use of the external vcdiff script.
2660
daed4003
GM
26612012-06-05 Glenn Morris <rgm@gnu.org>
2662
2663 * ledit.el: Move to obsolete/.
2664
48c455c7
SS
26652012-06-05 Sam Steingold <sds@gnu.org>
2666
ed9265fc 2667 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2668 patch (Bug#11140).
2669
57a7d507
SM
26702012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2671
090bd7cb 2672 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2673
53aacf21
SM
2674 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2675 compiler-macro expansion.
2676
57a7d507
SM
2677 Add native compiler-macro support.
2678 * emacs-lisp/macroexp.el (macroexpand-all-1):
2679 Support compiler-macros directly. Properly follow aliases and apply
2680 the compiler macros more thoroughly.
2681 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2682 macroexpand now properly follows aliases.
2683 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2684 (cl-compiler-macroexpand): Use new prop.
2685 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2686
2687 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2688
51a5f9d8
MR
26892012-06-05 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (get-lru-window, get-mru-window, get-largest-window):
2692 New argument NOT-SELECTED to avoid picking the selected window.
2693 (window--display-buffer-1, window--display-buffer-2): Replace by
2694 new function window--display-buffer
2695 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2696 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2697 Use window--display-buffer.
51a5f9d8
MR
2698 (display-buffer-use-some-window): Remove temporary dedication
2699 hack by calling get-lru-window and get-largest-window with
2700 NOT-SELECTED argument non-nil. Call window--display-buffer.
2701
08f9f738
GM
27022012-06-05 Glenn Morris <rgm@gnu.org>
2703
2704 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2705 Replace external vcdiff script.
2706
e364a2b7
SM
27072012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2710
041df390
CY
27112012-06-04 Chong Yidong <cyd@gnu.org>
2712
e364a2b7
SM
2713 * image.el (imagemagick-types-inhibit): Revert last change.
2714 Add INFO and M.
47b36b94 2715 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2716
7c1898a7
SM
27172012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/cl-lib.el: Rename from cl.el.
2720 * emacs-lisp/cl.el: New compatibility file.
2721 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2722 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2723 to obey the "cl-" prefix.
2724 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2725
0c3461de
GM
27262012-06-03 Glenn Morris <rgm@gnu.org>
2727
1e266c88
GM
2728 * emacs-lisp/authors.el (authors-aliases): Addition.
2729
0c3461de
GM
2730 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2731 Fix :version.
2732
d8a52e15
SM
27332012-06-03 Stefan Merten <smerten@oekonux.de>
2734
2735 * textmodes/rst.el: Add comments.
2736 (rst-transition, rst-adornment): New faces.
2737 (rst-adornment-faces-alist): Make default safe to reevaluate.
2738 Fixes
2739 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2740 Improve customization tags.
2741 (rst-define-level-faces): Clarify meaning.
2742
5205d6f6
CY
27432012-06-03 Chong Yidong <cyd@gnu.org>
2744
2745 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2746 (compilation-mode-line-run, compilation-mode-line-exit):
2747 New faces.
5205d6f6
CY
2748 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2749
757ee657
JD
27502012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2751
7c1898a7
SM
2752 * progmodes/which-func.el (which-func-update-ediff-windows):
2753 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2754
5f2c76c6
CY
27552012-06-03 Chong Yidong <cyd@gnu.org>
2756
2757 * bindings.el: Remove explicit help text from format-mode-line.
2758 It is now supplied by mode-line-default-help-echo.
2759 (mode-line-front-space, mode-line-end-spaces)
2760 (mode-line-misc-info): New variables.
2761 (mode-line-modes, mode-line-position): Move the default value to
2762 the variable definition.
2763 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2764 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2765 (mode-line-modified-help-echo): New functions.
2766 (mode-line-mule-info, mode-line-modified): Use them.
2767 (mode-line-eol-desc, propertized-buffer-identification):
2768 Consistency fixes for help text.
cbe46e5f
CY
2769 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2770 set-buffer-file-coding-system (Bug#289).
2771 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2772
f2d6a3df
SM
27732012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * simple.el (execute-extended-command): Set real-this-command
2776 (bug#11506).
2777
37269466
CY
27782012-06-02 Chong Yidong <cyd@gnu.org>
2779
2780 Remove incorrect uses of "modeline" in comments, docstrings, and
2781 function/variable names (Bug#10329).
2782
2783 * cus-edit.el (mode-line):
2784 * dframe.el (dframe-mouse-hscroll):
2785 * emacs-lisp/re-builder.el:
2786 * emacs-lisp/easy-mmode.el (define-minor-mode):
2787 * frame.el (set-frame-name):
2788 * help.el (lookup-minor-mode-from-indicator):
2789 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2790 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2791 (c-toggle-hungry-state):
2792 * progmodes/antlr-mode.el (antlr-language-alist):
2793 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2794 * progmodes/vhdl-mode.el (vhdl-mode):
2795 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2796 * term/ns-win.el (ns-face-at-pos):
2797 * term/sup-mouse.el (sup-mouse-report):
2798 * textmodes/flyspell.el (flyspell-mode-line-string):
2799 * textmodes/ispell.el (ispell-highlight-face):
2800 * textmodes/reftex-global.el:
2801 * vc/vc-arch.el (vc-arch-mode-line-string):
2802 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2803 * vc/vc-git.el (vc-git-mode-line-string):
2804 * vc/vc-hooks.el (vc-display-status)
2805 (vc-default-mode-line-string):
2806 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2807
2808 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2809
2810 * dired.el (dired-sort-set-mode-line): Rename from
2811 dired-sort-set-modeline. All callers changed.
2812
2813 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2814 eshell-status-in-modeline.
2815
2816 * foldout.el (foldout-mode-line-string): Rename from
2817 foldout-modeline-string. All callers changed.
2818 (foldout-update-mode-line): Rename from foldout-update-modeline.
2819
2820 * subr.el (redraw-modeline): Make into obsolete alias.
2821
2822 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2823 timeclock-modeline-display. Make old name an alias.
2824 (timeclock-update-mode-line): Likewise. All callers changed.
2825 (timeclock-mode-line-display): No need to check before using
2826 add-hook.
2827 (timeclock-relative, timeclock-day-over-hook)
2828 (timeclock-use-elapsed, timeclock-mode-string)
2829 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2830
2831 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2832 crisp-mode-modeline-string.
2833
2834 * play/solitaire.el (solitaire-build-mode-line): Rename from
2835 solitaire-build-modeline. All callers changed.
2836
2837 * play/zone.el (zone-hiding-mode-line): Rename from
2838 zone-hiding-modeline. All callers changed.
2839 (zone): Remove unusued `modeline-hidden-level' property.
2840
2841 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2842 xscheme-modeline-initialize. All callers changed.
2843
2844 * strokes.el (strokes-lighter): Rename from
2845 strokes-modeline-string.
2846
2847 * textmodes/sgml-mode.el (html-face-tag-alist)
2848 (html-tag-face-alist): Use mode-line face instead of obsolete
2849 alias modeline.
2850
42152ee4
SM
28512012-06-02 Stefan Merten <smerten@oekonux.de>
2852
2853 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2854 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2855
95f520b5
CY
28562012-06-02 Chong Yidong <cyd@gnu.org>
2857
2858 * image.el (imagemagick-enabled-types): Rename from
2859 imagemagick-types-enable. Add many more types.
2860 (imagemagick-types-inhibit): Change default to nil.
2861 (imagemagick-filter-types): Caller changed.
2862
4a5f187a
SM
28632012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2864
03fef3e6
SM
2865 * emacs-lisp/cl-macs.el: Use backquotes.
2866 (cl-transform-function-property): Use eval-and-compile rather than
2867 abusing `require'.
2868 (defstruct): Use declare-function instead of with-no-warnings.
2869
4a5f187a
SM
2870 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2871 (byte-compile-output-docform): Re-add the print-circle bindings.
2872 (byte-compile-fix-header): Use #$ just because it's shorter.
2873 (byte-compile-output-file-form): Remove defun/defmacro.
2874
bd56924f
MR
28752012-06-01 Martin Rudalics <rudalics@gmx.at>
2876
2877 * simple.el (choose-completion): Remove now obsolete binding for
2878 owindow.
2879
046e38ce
MA
28802012-06-01 Michael Albinus <michael.albinus@gmx.de>
2881
2882 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2883 in order to avoid "Stack overflow in regexp matcher".
2884
32d72c2f
GM
28852012-05-31 Glenn Morris <rgm@gnu.org>
2886
2887 * image.el: For clarity, call imagemagick-register-types at
2888 top-level, rather than relying on a custom :initialize.
2889 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2890 (imagemagick-filter-types): New function. (Bug#7406)
2891 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2892 If disabling support, remove elements altogether rather
2893 than using an impossible regexp.
2894 (imagemagick-types-inhibit): Give it the default init function.
2895
dd41169b
SM
28962012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2897
4a5f187a
SM
2898 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2899 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2900
efc00ab1 29012012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2902
2903 * desktop.el (desktop-read): Clear previous and next buffers for
2904 all windows and bury *Messages* buffer (bug#11556).
2905
500fcedc
SM
29062012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 Add `declare' for `defun'. Align `defmacro's with it.
2909 * emacs-lisp/easy-mmode.el (define-minor-mode)
2910 (define-globalized-minor-mode): Don't autoload the var definitions.
2911 * emacs-lisp/byte-run.el: Use lexical-binding.
2912 (defun-declarations-alist, macro-declarations-alist): New vars.
2913 (defmacro, defun): Use them.
2914 (make-obsolete, define-obsolete-function-alias)
2915 (make-obsolete-variable, define-obsolete-variable-alias):
2916 Use `declare'.
2917 (macro-declaration-function): Mark obsolete.
2918 * emacs-lisp/autoload.el: Use lexical-binding.
2919 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2920
6e8a1786
AM
29212012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2922
2923 * textmodes/ispell.el (ispell-with-no-warnings):
2924 Define as a macro.
500fcedc
SM
2925 (ispell-kill-ispell, ispell-change-dictionary):
2926 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2927 `interactive-p'.
2928
61b108cc
SM
29292012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2932 (macro-declaration-function): Move var from C code.
2933 (macro-declaration-function): Define function with defalias.
2934 * emacs-lisp/macroexp.el (macroexpand-all-1):
2935 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2936 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2937 defun/defmacro any more.
2938 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2939 Provide fallback for unknown arglist.
2940 (byte-compile-arglist-warn): Change calling convention.
2941 (byte-compile-output-file-form): Move print-vars binding.
2942 (byte-compile-output-docform): Simplify accordingly.
2943 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2944 (byte-compile-defmacro-declaration): Remove.
2945 (byte-compile-file-form-defmumble): Generalize to defalias.
2946 (byte-compile-output-as-comment): Return byte-positions.
2947 Simplify callers accordingly.
2948 (byte-compile-lambda): Use `assert'.
2949 (byte-compile-defun, byte-compile-defmacro): Remove.
2950 (byte-compile-file-form-defalias):
2951 Use byte-compile-file-form-defmumble.
2952 (byte-compile-defalias-warn): Remove.
2953
6d3f7c2f
SM
29542012-05-29 Stefan Merten <smerten@oekonux.de>
2955
2956 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2957 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2958
2959 (rst-mode-abbrev-table): Merge definition.
2960 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2961 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2962
6dbaa1c7
UJ
29632012-05-29 Ulf Jasper <ulf.jasper@web.de>
2964
2965 * calendar/icalendar.el
2966 (icalendar-export-region): Export UID properly.
2967
d209e2fb 29682012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2969 * calendar/icalendar.el (icalendar-import-format):
2970 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2971 (icalendar-import-format-uid): New.
2972 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2973 Export UID.
2974
6876a58d
SM
29752012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2978 different alternative patterns.
2979 (pcase-codegen): Be more careful to preserve identity.
2980 (pcase--u1): Don't forget to mark vars as used.
2981
2982 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2983 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2984 (byte-compile-from-buffer): ...rather than here.
2985
2986 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2987 functions from byte-compile-function-environment.
2988
46b7967e
TN
29892012-05-29 Troels Nielsen <bn.troels@gmail.com>
2990
2991 * window.el (window-deletable-p): Avoid deleting the root window
2992 of a frame with an active minibuffer.
2993
69d565e2
MR
29942012-05-29 Martin Rudalics <rudalics@gmx.at>
2995
2996 * simple.el (choose-completion): Use quit-window (Bug#11567).
2997
a149fa51
CY
29982012-05-29 Chong Yidong <cyd@gnu.org>
2999
3000 * whitespace.el (whitespace-cleanup): Fix usage of
3001 whitespace-empty-at-bob-regexp (Bug#11492).
3002
2b311310
AH
30032012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3004
3005 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3006 revert (Bug#11488).
3007
b9cb2387
JL
30082012-05-29 Juri Linkov <juri@jurta.org>
3009
3010 * isearch.el (isearch-mode-map): Bind `M-s _' to
3011 `isearch-toggle-symbol'. Bind `M-s c' to
3012 `isearch-toggle-case-fold'.
3013 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3014 (isearch-forward): Add `M-s _' to the docstring.
3015 (isearch-forward-symbol, isearch-toggle-case-fold)
3016 (isearch-symbol-regexp): New functions. (Bug#11381)
3017
d5e61c1c
JL
30182012-05-29 Juri Linkov <juri@jurta.org>
3019
3020 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3021 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3022 a function, call it to get the regexp.
3023 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3024 property `isearch-message-prefix' instead of the string "word ".
3025 (isearch-search-fun-default): For the case of `isearch-word',
3026 return a lambda that calls re-search-forward/re-search-backward
3027 with a regexp returned by `word-search-regexp' or by the function
3028 in `isearch-word'.
3029
8cbd80f7
JL
30302012-05-29 Juri Linkov <juri@jurta.org>
3031
3032 * isearch.el (isearch-search-fun-default): New function.
3033 (isearch-search-fun): Move default part to the new function
3034 `isearch-search-fun-default'.
3035 (isearch-search-fun-function): Set the default value to
3036 `isearch-search-fun-default'. (Bug#11381)
3037
3038 * comint.el (comint-history-isearch-end):
3039 Use `isearch-search-fun-default'.
3040 (comint-history-isearch-search): Use `isearch-search-fun-default'
3041 and remove spacial case for `isearch-word'.
3042 (comint-history-isearch-wrap): Remove spacial case for
3043 `isearch-word'.
3044
3045 * hexl.el (hexl-isearch-search-function):
3046 Use `isearch-search-fun-default'.
3047
3048 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3049 Use `word-search-regexp' for `isearch-word'.
3050
3051 * misearch.el (multi-isearch-search-fun):
3052 Use `isearch-search-fun-default'.
3053
3054 * simple.el (minibuffer-history-isearch-search):
3055 Use `isearch-search-fun-default' and remove spacial case for
3056 `isearch-word'.
3057 (minibuffer-history-isearch-wrap): Remove spacial case for
3058 `isearch-word'.
3059
3060 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3061 Remove spacial case for `isearch-word'.
3062 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3063
85c8c5b6
AM
30642012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3065
3066 Decrease XEmacs incompatibilities.
3067 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3068 Use `string-match'.
3069 (flyspell-delete-region-overlays): Use alternative definition for
3070 XEmacs.
3071 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3072 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3073 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3074 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3075 `define-obsolete-face-alias' under XEmacs, but old method.
3076
3077 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3078 `with-no-warnings' definition or Emacs alias.
3079 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3080 (ispell-word): Do not use `region-p' if XEmacs.
3081
8cab9efc
AM
30822012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3083
3084 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3085 Check for `ispell-dictionary-base-alist' instead of full
3086 `ispell-dictionary-alist'.
3087 (ispell-init-process): Show spellchecker when starting new Ispell
3088 process.
3089
fda91268
RZ
30902012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3093 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3094
694ea8e3
JB
30952012-05-27 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * version.el (motif-version-string, gtk-version-string)
3098 (ns-version-string): Declare.
3099
e4d4f539
JL
31002012-05-27 Juri Linkov <juri@jurta.org>
3101
3102 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3103 after the `eval-defun-1' specialcaseing
3104 like in `edebug-eval-defun' (bug#10181).
3105
3106 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3107 like in `eval-defun-1'.
3108
33017faf 31092012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3110
fda91268
RZ
3111 * mail/sendmail.el (mail-yank-region):
3112 Recognize rmail-yank-current-message in addition to insert-buffer.
3113 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3114 a *mail* buffer created through rmail-start-mail with sendmail as
3115 mail-user-agent.
3116
33017faf
GM
31172012-05-27 Chong Yidong <cyd@gnu.org>
3118
3119 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3120 Default to 256 (Bug#11267).
3121
3122 * help.el (describe-mode): Doc fix.
3123
04188bb9
GM
31242012-05-26 Glenn Morris <rgm@gnu.org>
3125
38264cc9
GM
3126 * w32-fns.el (w32-init-info): Remove.
3127 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3128
eb7afdad
GM
3129 * info.el (info-initialize): For self-contained NS builds, put the
3130 included info/ directory at the front. (Bug#2791)
3131
04188bb9
GM
3132 * paths.el (Info-default-directory-list): Make it a defcustom,
3133 mainly so that we can use custom-initialize-delay.
3134
a179e3f7
SM
31352012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3136
43416392
SM
3137 * subr.el (buffer-has-markers-at): Mark obsolete.
3138
a179e3f7 3139 * subr.el (lambda): Use declare.
43416392 3140
a179e3f7
SM
3141 * emacs-lisp/lisp-mode.el (lambda):
3142 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3143
34a008d9
AH
31442012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3145
3146 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3147
0a3b289f
GM
31482012-05-26 Glenn Morris <rgm@gnu.org>
3149
3150 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3151
758c81e8
GM
31522012-05-25 Glenn Morris <rgm@gnu.org>
3153
f9f334f0
GM
3154 * paths.el: Remove no-byte-compile.
3155 * loadup.el: No need to load paths.el uncompiled.
3156
87eb79c2
GM
3157 * image.el (imagemagick-types-inhibit): Doc fix.
3158
758c81e8
GM
3159 * version.el: Remove no-byte-compile and associated formatting.
3160 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3161 is ancient code from when there was an "inc-vers.el".
3162
e7e85dc0
SM
31632012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * progmodes/gdb-mi.el: Minor style changes.
3166 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3167 Turn into minor modes.
3168 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3169 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3170 (gdb-shell): Remove unneeded let-binding.
3171 (gdb-get-many-fields): Eliminate O(n²) behavior.
3172
f31237a4
EZ
31732012-05-25 Eli Zaretskii <eliz@gnu.org>
3174
3175 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3176 platforms that don't link in fontset.c.
3177
bc1b21bb
JL
31782012-05-25 Juri Linkov <juri@jurta.org>
3179
3180 Use the same diff color scheme as in modern VCSes (bug#10181).
3181
3182 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3183 to avoid confusion with `diff-added' that now uses green colors.
3184 (diff-removed): Use shades of red.
3185 (diff-added): Use shades of green.
3186 (diff-changed): Leave just the yellow color.
3187 (diff-use-changed-face): New variable.
3188 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3189 how to highlight context diff changes.
3190 (diff-refine-change): Use shades of yellow.
3191 (diff-refine-removed): New face that uses shades of red.
3192 (diff-refine-added): New face that uses shades of green.
3193 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3194 `diff-refine-removed' in the call to `smerge-refine-subst'
3195 depending on the value of `diff-use-changed-face'.
3196
3197 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3198 (smerge-other): Use shades of green.
3199 (smerge-base): Use shades of yellow.
3200 (smerge-refined-change): Empty face.
3201 (smerge-refined-removed): New face that uses shades of red.
3202 (smerge-refined-added): New face that uses shades of green.
3203 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3204 args `props-r' and `props-a', and use them. Doc fix.
3205 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3206 on its value use different faces `smerge-refined-change',
3207 `smerge-refined-removed', `smerge-refined-added' in the call to
3208 `smerge-refine-subst'.
3209
3210 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3211 Add face condition `min-colors 88' with shades of red.
3212 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3213 `min-colors 88' with shades of green.
3214 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3215 `min-colors 88' with shades of yellow.
3216
6df9112c
GM
32172012-05-24 Glenn Morris <rgm@gnu.org>
3218
ead5edc0
GM
3219 * paths.el (prune-directory-list, remote-shell-program): Move to...
3220 * files.el (prune-directory-list, remote-shell-program): ...here.
3221 For the latter, delay initialization, prefer ssh, just search PATH.
3222
f18b81e6
GM
3223 * paths.el (term-file-prefix): Move to faces.el (the only user).
3224 * faces.el (term-file-prefix): Move here, make it a defcustom.
3225
ee2f89a6
GM
3226 * paths.el (news-directory, news-path, news-inews-program):
3227 Move to gnus/nnspool.el.
61a583ca 3228
f8815e4c
GM
3229 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3230
c8f3b42c
GM
3231 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3232 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3233 Make the latter a defcustom, with a delayed initialization.
3234
6df9112c
GM
3235 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3236 These were deleted from Gnus itself late 2010.
3237
5dadff36
JB
32382012-05-22 Juanma Barranquero <lekktu@gmail.com>
3239
9e1701c6
JB
3240 * progmodes/which-func.el (which-func-ff-hook):
3241 Check against user-error, not error.
3242
bd7239f5 3243 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3244 cl-specs.el, which no longer exists.
3245
3290526d
GM
32462012-05-22 Glenn Morris <rgm@gnu.org>
3247
3248 * info.el (info-emacs-bug): New command.
3249 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3250 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3251
ff0c3cfb
GM
32522012-05-21 Glenn Morris <rgm@gnu.org>
3253
3254 * makefile.w32-in (update-subdirs-SH):
3255 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3256
5814f126
SM
32572012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3258
a52c0aa0
SM
3259 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3260
5814f126
SM
3261 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3262 Simplify Maven regexp, and make sure the file can't start with a space
3263 (bug#11517).
3264
b847032c
GM
32652012-05-21 Glenn Morris <rgm@gnu.org>
3266
3267 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3268 Scrap superfluous subshells.
3269
3858bfe7
SM
32702012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3271
3272 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3273 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3274
d14b0029
JB
32752012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3276
3277 * calc/calc.el (calc-ensure-consistent-units): New variable.
3278
a52c0aa0
SM
3279 * calc/calc-units.el (math-consistent-units-p)
3280 (math-check-unit-consistency): New functions.
3281 (calc-quick-units, calc-convert-units):
3282 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3283 is non-nil.
d14b0029
JB
3284 (calc-extract-units): Fix typo.
3285
60c4db3a
SM
32862012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3287
77f3b62e
SM
3288 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3289
60c4db3a
SM
3290 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3291 (flyspell-default-deplacement-commands): Don't spell check after
3292 repeated window/frame switches (e.g. triggered by mouse-movement).
3293 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3294 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3295 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3296 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3297 Remove unused vars.
3298 (flyspell-get-casechars, flyspell-get-not-casechars):
3299 Simplify; Don't bother removing a ] just to add it back.
3300 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3301
d209e2fb 33022012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3303
3304 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3305 New functions.
bd7239f5 3306 (math-function-table): Add support for more C functions.
b1a10716 3307
3f1b25b5
AM
33082012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3309
090bd7cb
JB
3310 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3311 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3312 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3313
b581bb5c
SM
33142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3317 their respective macro declarations.
3318 * skeleton.el (define-skeleton):
3319 * progmodes/compile.el (define-compilation-mode):
3320 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3321 (define-ibuffer-filter):
3322 * emacs-lisp/generic.el (define-generic-mode):
3323 * emacs-lisp/easy-mmode.el (define-minor-mode)
3324 (define-globalized-minor-mode):
3325 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3326 * emacs-lisp/byte-run.el (defsubst):
3327 * custom.el (deftheme): Add doc-string metadata.
3328
70b8ef8f
SM
33292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3332
b1198e17
SM
33332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3334
9abdc45d
SM
3335 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3336
b1198e17
SM
3337 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3338 * emacs-lisp/cl-macs.el: Idem.
3339 * emacs-lisp/cl-specs.el: Remove.
3340
4735906a
SM
33412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 Minor renaming of internal CL functions and variables.
3344 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3345 (cl--position): Rename from cl-position.
3346 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3347 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3348 (cl--random-state): Rename from *random-state*.
3349
ac348012
SM
33502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3353 parens around the arg list (bug#11499).
3354
a0a79cde
JL
33552012-05-17 Juri Linkov <juri@jurta.org>
3356
3357 * isearch.el (word-search-regexp, word-search-backward)
3358 (word-search-forward, word-search-backward-lax)
3359 (word-search-forward-lax): Move functions from search.c
3360 (bug#10145, bug#11381).
3361
65034a51
AM
33622012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3363
090bd7cb
JB
3364 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3365 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3366 Delay for otherchars as for normal word components.
65034a51 3367
1a72a195
SM
33682012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * minibuffer.el (completion--sifn-requote): Fix last change.
3371 (minibuffer-local-must-match-filename-map):
3372 Move define-obsolete-variable-alias before its var.
3373
fdb058c2
SM
33742012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3375
c41045e6
SM
3376 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3377
036dfb8b
SM
3378 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3379 behavior.
3380 (completion--string-equal-p): New function.
3381 (completion--twq-all): Use it to get better assertion failure data.
3382
2473256d
SM
3383 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3384 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3385 (shell--requote-argument): New functions.
3386 (shell-completion-vars): Use them.
3387 (shell--parse-pcomplete-arguments): Rename from
3388 shell-parse-pcomplete-arguments.
3389 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3390 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3391 Obey comint-file-name-quote-list.
3392
fdb058c2
SM
3393 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3394 (smie-indent-keyword): Use it.
3395
51fa99f1
SM
33962012-05-14 Stefan Merten <smerten@oekonux.de>
3397
3398 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3399
e18afed7 34002012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3401
3402 * net/rlogin.el (rlogin-mode-map): Fix last change.
3403
e18afed7 34042012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3405
3406 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3407 the following \r\n using a single `process-send-string', since the
3408 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3409 with two `process-send-string's (Bug#11444).
8633b1f4 3410
e18afed7 34112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3412
fdb058c2
SM
3413 * shell.el (shell-parse-pcomplete-arguments):
3414 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3415
2d21d7f6
WJ
34162012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3417
e18afed7 3418 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3419 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3420 (image-transform-width, image-transform-fit-width): New functions.
3421 (image-transform-properties): Use them.
3422 (image-transform-check-size): New function.
3423 (image-toggle-display-image): Use it (for testing).
3424 (image-transform-set-rotation): Reduce angle mod 360.
3425 Delete obsolete comment.
3426
7102e6d0
WJ
34272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3428
3429 * image-mode.el: Fix scaling (bug#11399).
3430 (image-transform-resize): Doc fix.
3431 (image-transform-properties): Default scale is 1 and height should
3432 be an integer.
3433
06bc5e6e
SM
34342012-05-13 Johan Bockgård <bojohan@gnu.org>
3435
3436 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3437 than hard-coding `car', to fix misbehavior when moving forward.
3438
0ae03b6a
CY
34392012-05-13 Chong Yidong <cyd@gnu.org>
3440
3441 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3442 (tabulated-list-entries, tabulated-list-padding)
3443 (tabulated-list-sort-key): Make permanent-local.
3444
3445 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3446 (electric-buffer-list): Put electric buffer menu
3447 command descriptions in this docstring, instead of the docstring
3448 of electric-buffer-menu-mode. Code cleanups.
3449 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3450 Electric-buffer-menu-mode.
3451 (electric-buffer-update-highlight): Minor code cleanup.
3452
205a7391
MA
34532012-05-13 Michael Albinus <michael.albinus@gmx.de>
3454
3455 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3456 (Bug#11447)
3457
e5bd0a28
SM
34582012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 Move define-obsolete-variable-alias before the var's definition.
3461 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3462 * tooltip.el (tooltip-hook):
3463 * textmodes/reftex-toc.el (reftex-toc-map):
3464 * textmodes/reftex-sel.el (reftex-select-label-map)
3465 (reftex-select-bib-map):
3466 * textmodes/reftex-index.el (reftex-index-map)
3467 (reftex-index-phrases-map):
3468 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3469 * progmodes/meta-mode.el (meta-mode-map):
3470 * novice.el (disabled-command-hook):
3471 * loadhist.el (unload-hook-features-list):
3472 * frame.el (blink-cursor):
3473 * files.el (find-file-not-found-hooks, write-file-hooks)
3474 (write-contents-hooks):
3475 * emulation/tpu-edt.el (GOLD-map):
3476 * emacs-lock.el (emacs-lock-from-exiting):
3477 * emacs-lisp/generic.el (generic-font-lock-defaults):
3478 * emacs-lisp/chart.el (chart-map):
3479 * dos-fns.el (register-name-alist):
3480 * dired-x.el (dired-omit-files-p):
3481 * desktop.el (desktop-enable):
3482 * cus-edit.el (custom-mode-hook):
3483 * buff-menu.el (buffer-menu-mode-hook):
3484 * bookmark.el (bookmark-read-annotation-text-func)
3485 (bookmark-exit-hooks):
3486 * allout.el (allout-mode-deactivate-hook)
3487 (allout-exposure-change-hook, allout-structure-added-hook)
3488 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3489 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3490 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3491 comes before the corresponding variable's definition.
3492
ac59c2f6
CY
34932012-05-12 Chong Yidong <cyd@gnu.org>
3494
3495 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3496 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3497 (Buffer-menu-mode-map): Bind it.
3498 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3499
dee6c9a3
SM
35002012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3501
2171cea5
SM
3502 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3503 (prolog-upper-case-string, prolog-lower-case-string)
3504 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3505 (prolog-use-smie, prolog-smie-grammar): New vars.
3506 (prolog-smie-forward-token, prolog-smie-backward-token)
3507 (prolog-smie-rules): New funs.
3508 (prolog-comment-indent): Remove.
3509 (prolog-mode-variables): Use default comment indentation instead.
3510 Setup SMIE.
3511 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3512 (prolog-mode): Don't call them any more.
3513 (prolog-electric-colon, prolog-electric-dash)
3514 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3515
aa0382bd
SM
3516 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3517
dbacb4bd
SM
3518 * minibuffer.el (completion--twq-all): Again, allow case differences.
3519
13bdd94c
SM
3520 * term.el: Move keymap initialization code to be more idiomatic.
3521 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3522 (term-terminal-menu): Move initialization into declaration.
3523 (term-escape-char): Let the user set it in her .emacs.
3524
ff46c759
SM
3525 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3526 Provide SMIE-based indentation (not enabled by default yet).
3527 (sh-mode-map): Don't bind electric keys.
3528 Use electric-pair-mode instead of skeleton-pair.
3529 (sh-assignment-regexp): Fit within 80 columns.
3530 (sh-indent-supported): Specify actual shell name instead of boolean.
3531 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3532 (sh-maybe-here-document): Use it. Make obsolete.
3533 (sh-electric-here-document-mode) New minor mode.
3534 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3535 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3536 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3537 (sh-smie-rc-grammar, sh-use-smie): New vars.
3538 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3539 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3540 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3541 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3542 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3543 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3544 (sh-set-shell): Use smie-setup if requested.
3545
dee6c9a3
SM
3546 * term.el (term-set-escape-char): Properly set term-escape-char.
3547 See http://stackoverflow.com/questions/10524656.
3548
9f9aa044
CY
35492012-05-10 Chong Yidong <cyd@gnu.org>
3550
3551 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3552 Use url-generic-parse-url, and handle host names and Windows
3553 filenames properly.
3554 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3555 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3556 URL schemes to work on.
3557 (ffap--toggle-read-only): New function.
3558 (ffap-read-only, ffap-read-only-other-window)
3559 (ffap-read-only-other-frame): Use it.
3560 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3561 necessary for ffap-url-unwrap-remote.
3562
836d29b3
DA
35632012-05-10 Dave Abrahams <dave@boostpro.com>
3564
3565 * cus-start.el (create-lockfiles): Add it.
3566
00fd78ed
CY
35672012-05-09 Chong Yidong <cyd@gnu.org>
3568
3569 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3570 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3571
666b903b 35722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3573
3574 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3575
666b903b 35762012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3577
3578 * ansi-color.el (ansi-color-process-output): Check for validity of
3579 comint-last-output-start before using it. This avoids a bad
3580 interaction with gdb-mi's input/output buffer.
3581
666b903b 35822012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3583
3584 * files.el (dir-locals-read-from-file):
3585 Mention dir-locals in any error message.
3586
666b903b 35872012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3588
3589 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3590 package (Bug#11410).
3591
f677562b
CY
3592 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3593 variables into description.
3594
666b903b 35952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3596
3597 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3598 shell-delimiter-argument-list (bug#11348).
3599 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3600
b499d8d0
JB
36012012-05-09 Juanma Barranquero <lekktu@gmail.com>
3602
8f6b6da8
JB
3603 * textmodes/rst.el: Silence byte-compiler warnings.
3604 (rst-re-alist, rst-reset-section-caches): Move around.
3605 (rst-re): Use `characterp', not `char-valid-p'.
3606 (font-lock-beg, font-lock-end): Declare.
3607
4824146a
JB
3608 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3609 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3610
b499d8d0
JB
3611 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3612
ad89bb83
GM
36132012-05-08 Glenn Morris <rgm@gnu.org>
3614
3615 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3616
8bba5a75
SM
36172012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3618
49ed9c8e
SM
3619 * vc/log-edit.el: Add GNU coding standards highlighting.
3620 (log-edit-font-lock-gnu-style)
3621 (log-edit-font-lock-gnu-keywords): New vars.
3622 (log-edit-font-lock-keywords): New fun.
3623 (log-edit-mode): Don't fold case in font-lock.
3624 (log-edit-font-lock-keywords): Do not assume case-folding.
3625
07d00b56
SM
3626 * imenu.el: Misc cleanup. Make docstrings out of comments.
3627 Use lexical-binding.
3628 (imenu--index-alist, imenu--last-menubar-index-alist)
3629 (imenu-menubar-modified-tick): Use defvar-local.
3630 (imenu--split-menu): Remove unused var.
3631 (imenu--cleanup-seen): Declare as global.
3632 (imenu--cleanup): Use dolist.
3633
8bba5a75
SM
3634 * subr.el (defvar-local): Add debug spec and doc-string position.
3635
5075bdb5
GM
36362012-05-08 Glenn Morris <rgm@gnu.org>
3637
090bd7cb 3638 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3639 * language/english.el, language/georgian.el, language/greek.el:
3640 * language/japanese.el, language/khmer.el, language/korean.el:
3641 * language/lao.el, language/misc-lang.el, language/romanian.el:
3642 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3643 * language/thai.el, language/utf-8-lang.el:
3644 Remove no-byte-compile setting.
3645
5075bdb5
GM
3646 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3647
06f679a7
AH
36482012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3649
3650 * progmodes/make-mode.el (makefile-browse):
3651 Remove unnecessary interactive. (Bug#11324)
3652
03794570
GM
36532012-05-07 Glenn Morris <rgm@gnu.org>
3654
af8630f4
GM
3655 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3656
03794570
GM
3657 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3658
f0809a9d
SM
36592012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3660
28be5ce7
SM
3661 * loadup.el: Preload newcomment.el.
3662 * newcomment.el: Move autoload-only code to toplevel.
3663
f0809a9d
SM
3664 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3665 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3666 Handle new :right-align column property.
3667 (tabulated-list-print-col): Idem, plus use `display' text-property to
3668 try and preserve alignment for variable pitch fonts.
3669
1241b724
CY
36702012-05-07 Chong Yidong <cyd@gnu.org>
3671
3672 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3673 (tabulated-list-use-header-line): New var.
3674 (tabulated-list-init-header): Use it.
3675 (tabulated-list-print-fake-header): New function.
3676 (tabulated-list-print): Use it.
3677 (tabulated-list-sort-button-map): Add non-header-line commands.
3678 (tabulated-list-init-header): Add column name property to basic
3679 labels as well.
3680 (tabulated-list-col-sort): Handle non-header-line button case.
3681 (tabulated-list--sort-by-column-name): Fix a corner case.
3682
f0809a9d
SM
3683 * buff-menu.el (list-buffers--refresh):
3684 Handle Buffer-menu-use-header-line.
1241b724 3685
e5f9458f
CY
36862012-05-06 Chong Yidong <cyd@gnu.org>
3687
3688 * buff-menu.el: Convert to Tabulated List mode.
3689 (Buffer-menu-buffer+size-width): Make obsolete.
3690 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3691 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3692 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3693 documentation into docstring of buffer-menu.
3694 (Buffer-menu-toggle-files-only): Add an informative message.
3695 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3696 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3697 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3698 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3699 (Buffer-menu-execute, Buffer-menu-select)
3700 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3701 (Buffer-menu-bury): Use Tabulated List machinery.
3702 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3703 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3704 Delete.
e5f9458f
CY
3705 (list-buffers--refresh): New function.
3706 (list-buffers-noselect): Use it.
3707 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3708 (Buffer-menu--pretty-file-name): New helper functions.
3709
3710 * loadup.el: Preload tabulated-list.
3711
3712 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3713 tabulated-list-sort-column.
3714 (tabulated-list-init-header): Add the initial aligning space even
3715 if tabulated-list-padding is zero.
3716
e129292c
CS
37172012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3718
3719 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3720 whose cdr is not a cons cell correctly (bug#11038).
3721
6632d361
CY
37222012-05-06 Chong Yidong <cyd@gnu.org>
3723
e129292c
CS
3724 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3725 Accept additional plist in column descriptors.
6632d361
CY
3726 (tabulated-list-init-header): Obey it.
3727 (tabulated-list-get-entry): New function.
3728 (tabulated-list-put-tag): Use it. Use string-width instead of
3729 length.
3730 (tabulated-list--column-number): New function.
3731 (tabulated-list-print): Use it.
e129292c
CS
3732 (tabulated-list-print-col): New function.
3733 Set `tabulated-list-column-name' property on each column's text.
6632d361 3734 (tabulated-list-print-entry): Use it.
e129292c
CS
3735 (tabulated-list-delete-entry, tabulated-list-set-col):
3736 New functions.
6632d361
CY
3737 (tabulated-list-sort-column): New command (Bug#11337).
3738
3cc99f68
CY
3739 * buff-menu.el (list-buffers): Move C-x C-b binding from
3740 buff-menu.el to bindings.el.
3741
3742 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3743 :advertised-binding feature.
3744
52b61776
TN
37452012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3746
3747 * progmodes/compile.el (compilation-internal-error-properties):
3748 Calculate start position correctly when end-col is set but
3749 end-line is not (Bug#11382).
3750
ebfe2597
WJ
37512012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3752
3753 * man.el (Man-unindent): Use text-property-default-nonsticky to
3754 prevent untabify from inheriting face properties (Bug#11408).
3755
6d3f7c2f
SM
37562012-05-05 Stefan Merten <smerten@oekonux.de>
3757
3758 * textmodes/rst.el: Major merge with upstream development up to
3759 Docutils SVN r7399 / rst.el V1.2.1.
3760
3761 Clarify maintainership and authors.
3762
3763 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3764 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3765 (rst-official-version, rst-official-cvs-rev, rst-version)
3766 (rst-package-emacs-version-alist): New functions and variables
3767 for version information.
3768
3769 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3770 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3771 (rst-mode-syntax-table, rst-mode): New and corrected functions
3772 and variables representing reStructuredText features.
3773
3774 (rst-re): New function for reStructuredText regexes. Use in
3775 many places.
3776
3777 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3778 (rst-mode-map): Rebind keys.
3779
3780 (rst-mode-lazy, rst-font-lock-keywords)
3781 (rst-font-lock-extend-region)
3782 (rst-font-lock-extend-region-internal)
3783 (rst-font-lock-extend-region-extend)
3784 (rst-font-lock-find-unindented-line-limit)
3785 (rst-font-lock-find-unindented-line-match)
3786 (rst-adornment-level, rst-font-lock-adornment-level)
3787 (rst-font-lock-adornment-match)
3788 (rst-font-lock-handle-adornment-pre-match-form)
3789 (rst-font-lock-handle-adornment-matcher): Major revision of
3790 font-locking. Integrate with other code. Use `jit-lock-mode'.
3791
3792 (rst-preferred-adornments, rst-adjust-hook)
3793 (rst-new-adornment-down, rst-preferred-bullets)
3794 (rst-preferred-bullets, rst-indent, rst-indent-width)
3795 (rst-indent-field, rst-indent-literal-normal)
3796 (rst-indent-literal-minimized, rst-indent-comment): Change,
3797 extend and improve customization.
3798
3799 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3800 (rst-normalize-cursor-position, rst-get-decoration)
3801 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3802 (rst-rstrip, rst-toc-insert-find-delete-contents)
3803 (rst-shift-fill-region, rst-compute-bullet-tabs)
3804 (rst-debug-print-tabs, rst-debug-mark-found)
3805 (rst-shift-region-guts, rst-shift-region-right)
3806 (rst-shift-region-left, rst-use-char-classes)
3807 (rst-font-lock-keywords-function)
3808 (rst-font-lock-indentation-point)
3809 (rst-font-lock-find-unindented-line-begin)
3810 (rst-font-lock-find-unindented-line-end)
3811 (rst-font-lock-find-unindented-line)
3812 (rst-font-lock-adornment-point, rst-font-lock-level)
3813 (rst-adornment-level-alist): Remove functions and variables.
3814
3815 (rst-compare-adornments, rst-get-adornment-match)
3816 (rst-suggest-new-adornment, rst-get-adornments-around)
3817 (rst-adornment-complete-p, rst-get-next-adornment)
3818 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3819 (rst-straighten-adornments): Standardize function names to
3820 use "adornment" instead of "decoration". Correct callers.
3821 Similar standardizing in many places.
3822
3823 (rst-update-section, rst-adjust, rst-promote-region)
3824 (rst-enumerate-region, rst-bullet-list-region)
3825 (rst-repeat-last-character): Correct use of `interactive'.
3826
3827 (rst-classify-adornment, rst-find-all-adornments)
3828 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3829 (rst-find-leftmost-column, rst-repeat-last-character):
3830 Refactor functions.
3831
3832 (rst-find-title-line, rst-reset-section-caches)
3833 (rst-get-adornments-around, rst-adjust-adornment-work)
3834 (rst-arabic-to-roman, rst-roman-to-arabic)
3835 (rst-insert-list-pos, rst-insert-list-new-item)
3836 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3837 New functions.
3838
3839 (rst-all-sections, rst-section-hierarchy)
3840 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3841 New variables.
3842
3843 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3844 configuration instead of only buffer. Change where necessary.
3845
3846 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3847 (rst-shift-region, rst-adaptive-fill): New functions for
3848 indentation and filling.
3849
3850 (rst-comment-line-break, rst-comment-indent)
3851 (rst-comment-insert-comment, rst-comment-region)
3852 (rst-uncomment-region): New functions for handling comments.
3853
3854 (rst-compile): Quote shell arguments.
3855
3856 (rst-compile-pdf-preview, rst-compile-slides-preview):
3857 Delete temporary files after use.
3858
a43f98b3
GM
38592012-05-05 Glenn Morris <rgm@gnu.org>
3860
48176e8b
GM
3861 * calendar/cal-html.el: Optionally include holidays in the output.
3862 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3863 (cal-html-holidays): New option.
3864 (cal-html-css-default): Add holiday entry.
3865 (holiday-in-range): Autoload it.
3866 (cal-html-htmlify-entry): Add optional class argument.
3867 (cal-html-htmlify-list): Add optional holidays argument.
3868 (cal-html-insert-agenda-days): Include holidays in the output.
3869 (cal-html-one-month): Maybe include holidays.
3870
a43f98b3
GM
3871 * calendar/holidays.el (holiday-in-range):
3872 Move here from cal-tex-list-holidays.
3873 * calendar/cal-tex.el (cal-tex-list-holidays):
3874 Make it an obsolete alias for holiday-in-range. Update all callers.
3875
fef9d149 38762012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3877
3878 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3879 Nextstep.
3880
248da2f4
RW
38812012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3882
3883 * files.el (file-auto-mode-skip): New var.
3884 (set-auto-mode-1): Use it.
3885
f95e9344
SM
38862012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3887
df96ab1e
SM
3888 * repeat.el: Use lexical-binding.
3889 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3890 (repeat-undo-count): Remove.
3891 (repeat):
3892 * progmodes/octave-mod.el (octave-abbrev-start):
3893 * progmodes/f90.el (f90-abbrev-start):
3894 * face-remap.el (text-scale-adjust):
3895 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3896
5342bb06
SM
3897 * emacs-lisp/pcase.el (pcase--let*): New function.
3898 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3899 a bit more.
3900 (pcase--split-pred): Be more clever about ruling out overlap between
3901 a predicate and some constant pattern.
3902 (pcase--q1): Use `null' instead of (eq foo nil).
3903
f95e9344
SM
3904 * subr.el (setq-local, defvar-local): New macros.
3905 (kbd): Redefine as an alias.
3906 (with-selected-window): Leave unrelated frames alone.
3907 (set-temporary-overlay-map): New function.
3908
71873e2b
SM
39092012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * subr.el (user-error): New function.
3912 * window.el (switch-to-buffer):
3913 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3914 (smerge-match-conflict):
3915 * simple.el (previous-matching-history-element)
3916 (next-matching-history-element, goto-history-element, undo-more)
3917 (undo-start):
3918 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3919 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3920 (next-file, tags-loop-scan, list-tags, complete-tag):
3921 * progmodes/compile.el (compilation-loop):
3922 * mouse.el (mouse-minibuffer-check):
3923 * man.el (Man-bgproc-sentinel, Man-goto-page):
3924 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3925 (Info-history-forward, Info-follow-reference, Info-menu)
3926 (Info-extract-menu-item, Info-extract-menu-counting)
3927 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3928 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3929 (Info-next-reference, Info-prev-reference, Info-index)
3930 (Info-index-next, Info-follow-nearest-node)
3931 (Info-copy-current-node-name):
3932 * imenu.el (imenu--make-index-alist)
3933 (imenu-default-create-index-function, imenu-add-to-menubar):
3934 * files.el (basic-save-buffer, recover-file):
3935 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3936 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3937 (checkdoc-message-text, checkdoc-defun):
3938 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3939 * cus-edit.el (customize-changed-options, customize-rogue)
3940 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3941 (custom-variable-mark-to-reset-standard)
3942 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3943 (custom-file):
3944 * completion.el (check-completion-length):
3945 * comint.el (comint-search-arg)
3946 (comint-previous-matching-input-string-position)
3947 (comint-previous-matching-input)
3948 (comint-replace-by-expanded-history-before-point, comint-send-input)
3949 (comint-copy-old-input, comint-backward-matching-input)
3950 (comint-goto-process-mark, comint-set-process-mark):
3951 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3952 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3953
8a61ee22
SM
39542012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3955
66408d1e
SM
3956 * dabbrev.el (dabbrev--ignore-case-p): New function.
3957 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3958 Use it.
3959
8a61ee22
SM
3960 * files.el (automount-dir-prefix): Mark as obsolete.
3961
3c74813a
GM
39622012-05-04 Glenn Morris <rgm@gnu.org>
3963
3964 * patcomp.el, play/bruce.el: Move to obsolete/.
3965
0bfcf5c5
PE
39662012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3967
3968 Fix minor Y10k bugs.
3969 * arc-mode.el (archive-unixdate):
3970 * autoinsert.el (auto-insert-alist):
3971 * calc/calc-forms.el (math-this-year):
3972 * emacs-lisp/copyright.el (copyright-current-year)
3973 (copyright-update-year, copyright):
3974 * tar-mode.el (tar-clip-time-string):
3975 * time.el (display-time-update):
3976 Don't assume years have 4 digits.
3977
78f3273a
CY
39782012-05-04 Chong Yidong <cyd@gnu.org>
3979
3980 * dos-w32.el (file-name-buffer-file-type-alist)
3981 (direct-print-region-use-command-dot-com):
3982 * ffap.el (ffap-menu-regexp):
3983 * find-file.el (ff-special-constructs):
3984 * follow.el (follow-debug):
3985 * forms.el (forms--debug):
3986 * iswitchb.el (iswitchb-all-frames):
3987 * ido.el (ido-all-frames):
3988 * emacs-lisp/timer.el (timer-max-repeats):
3989 * mail/feedmail.el (feedmail-mail-send-hook)
3990 (feedmail-mail-send-hook-queued):
3991 * mail/footnote.el (footnote-signature-separator):
3992 * mail/mailabbrev.el (mail-alias-separator-string)
3993 (mail-abbrev-mode-regexp):
3994 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3995 * progmodes/idlwave.el (idlwave-libinfo-file)
3996 (idlwave-default-completion-case-is-down)
3997 (idlwave-library-routines): Convert defvars to defcustoms.
3998
3999 * mail/rmail.el (rmail-decode-mime-charset):
4000 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4001 (idlwave-shell-fix-inserted-breaks)
4002 (idlwave-shell-activate-alt-keybindings)
4003 (idlwave-shell-use-breakpoint-glyph):
4004 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4005
f7ae6719
SM
40062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4009
47086495
WS
40102012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4011
4012 * progmodes/verilog-mode.el (font-lock-keywords):
4013 Fix mis-highligting auto. Reported by Craig Barner.
4014 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4015 defines from global name space. Reported by Dan Dever.
4016 (verilog-auto-reset, verilog-auto-reset-widths)
4017 (verilog-auto-tieoff): Support using unbased numbers for
4018 AUTORESET and AUTOTIEOFF.
4019 (verilog-submit-bug-report): Update variable list.
4020 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4021 parenthesis from not matching. Reported by Michael Rytting.
4022 (verilog-auto-template-lint): Fix hash error when linting modules
4023 with no used templates.
4024 (verilog-warn, verilog-warn-error)
4025 (verilog-warn-fatal): When non-interactive report multiple
4026 warnings before exiting. Suggested by Brad Dobbie.
4027 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4028 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4029 to report unused template errors. Reported by Brad Dobbie.
4030 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4031 nets, bug438. Reported by Vns Blore.
4032 (verilog-auto-inout-module, verilog-auto-reg)
4033 (verilog-read-decls, verilog-read-sub-decls-sig)
4034 (verilog-signals-edit-wire-reg, verilog-signals-with):
4035 Fix passing of Verilog data types in ANSI input/output ports
4036 such as "output logic" into the AUTOs. Special case "wire" and
4037 "reg" for backwards compatibility presuming Verilog 2001.
4038 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4039 (verilog-preprocess): Fix replication of preprocess output.
4040 Reported by Brad Dobbie.
4041 (verilog-auto-inst-interfaced-ports):
4042 Create verilog-auto-inst-interfaced-ports, bug429.
4043 Reported by Julian Gorfajn.
4044 (verilog-after-save-font-hook)
4045 (verilog-before-save-font-hook): New variable.
4046 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4047 (verilog-save-font-mods): Wrap disabling fontification, reported
4048 by David Rogoff.
4049 (verilog-do-indent, verilog-pretty-declarations-auto)
4050 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4051 Reported by Pierre-David Pfister.
4052 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4053 of class declarations, bug292. Reported by Kevin Heilman.
4054 (verilog-read-decls): Fix 'parameter type' not appearing in
4055 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4056 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4057 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4058 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4059 Reported by David Kravitz.
4060
40612012-05-03 Michael McNamara <mac@mail.brushroad.com>
4062
4063 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4064 assignment with tests in ifs and for loops.
4065 (verilog-extended-complete-re, verilog-complete-reg): Change so
4066 that DPI inport functions don't look like fuction declarations.
4067 (verilog-pretty-expr): Don't line up assignment
4068 operations to the test and increment in if and for loops
4069 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4070 that DPI inport functions don't look like fuction declarations.
47086495 4071
2e51d4b5
KH
40722012-05-03 Kenichi Handa <handa@m17n.org>
4073
4074 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4075 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4076 (Bug#11282).
4077
2bd785a2
SM
40782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * emacs-lisp/bytecomp.el
4081 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4082 since cconv.el might have introduced :fun-body, internal-make-closure,
4083 and friends for bytecomp to handle (bug#11391).
4084 * custom.el (defcustom): Avoid ((λ ..) ..).
4085
99d27583
SM
40862012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4089
55a71479
JB
40902012-05-02 Juanma Barranquero <lekktu@gmail.com>
4091
4092 * notifications.el (dbus-debug):
4093 * term/linux.el (gpm-mouse-enable):
4094 * term/screen.el (xterm-register-default-colors): Declare.
4095
7b97c764
CY
40962012-05-02 Chong Yidong <cyd@gnu.org>
4097
2bc356d7
CY
4098 * cus-start.el (gc-cons-percentage, exec-suffixes)
4099 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4100 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4101 (make-cursor-line-fully-visible, void-text-area-pointer)
4102 (font-list-limit): Add customization data.
4103
7b97c764
CY
4104 * allout.el (allout-exposure-change-functions)
4105 (allout-structure-added-functions)
4106 (allout-structure-deleted-functions)
4107 (allout-structure-shifted-functions): Rename abnormal hooks from
4108 *-hook, and convert to defcustoms.
5d3385a0
JB
4109 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4110 Convert to defcustoms.
7b97c764
CY
4111 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4112
4113 * allout-widgets.el: Hook callers changed.
4114
90207a15 41152012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4116
4117 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4118 the yanked message in preference to the default value of
4119 buffer-file-coding-system.
4120
90207a15 41212012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4122
5d3385a0
JB
4123 * window.el (display-buffer--action-function-custom-type):
4124 Fix entry.
d9558cad 4125
90207a15 41262012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4127
4128 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4129
d80ac57b
GM
41302012-05-01 Glenn Morris <rgm@gnu.org>
4131
976f7668
GM
4132 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4133
beb83b5a
GM
4134 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4135
d80ac57b
GM
4136 * cus-edit.el (custom-variable-documentation): Simplify with format.
4137
b593d6a9 41382012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4139 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4140
4141 * simple.el (suggest-key-bindings, execute-extended-command):
4142 Move from keyboard.c.
4143
782fbf2a
CY
41442012-05-01 Chong Yidong <cyd@gnu.org>
4145
4146 * follow.el: Eliminate advice.
4147 (set-process-filter, process-filter, sit-for): Advice deleted.
4148 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4149 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4150 Vars deleted.
782fbf2a
CY
4151 (follow-auto): Use a :set function.
4152 (follow-mode): Rewritten. Don't advise process filters.
4153 (follow-switch-to-current-buffer-all, follow-scroll-up)
4154 (follow-scroll-down): Assume follow-mode is bound.
4155 (follow-comint-scroll-to-bottom)
4156 (follow-align-compilation-windows): New functions.
4157 (follow--window-sorter): New function.
4158 (follow-all-followers): Use it to explicitly sort windows by their
4159 positions; don't make assumptions about next-window order.
4160 (follow-windows-start-end, follow-delete-other-windows-and-split)
4161 (follow-calc-win-start): Doc fix.
4162 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4163 vertical-motion unnecessarily.
4164 (follow-adjust-window): New function.
4165 (follow-post-command-hook): Use it.
4166 (follow-call-set-process-filter, follow-call-process-filter)
4167 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4168 (follow-stop-intercept-process-output, follow-generic-filter):
4169 Functions deleted.
4170 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4171 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4172 New functions, replacing advice on scroll-bar-* commands.
87233a14 4173 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4174
4175 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4176 (comint-postoutput-scroll-to-bottom): Use it.
4177 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4178
290af740
GM
41792012-05-01 Glenn Morris <rgm@gnu.org>
4180
4181 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4182 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4183 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4184 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4185 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4186 Remove no-byte-compile setting.
4187
6eac8dc9
SM
41882012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4191 all-completions code to not return a number in the last cdr.
4192
9cc7819c
LL
41932012-04-30 Leo Liu <sdl.web@gmail.com>
4194
4195 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4196 read-only error.
4197
c93b886f
CY
41982012-04-29 Chong Yidong <cyd@gnu.org>
4199
4200 * follow.el (follow-calc-win-end): Rewrite to handle partial
4201 screen lines correctly (Bug#8390).
4202 (follow-avoid-tail-recenter): Minor cleanup.
4203
8b6c19f4
SM
42042012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 Avoid the obsolete `assoc' package.
4207 * speedbar.el (speedbar-refresh): Avoid adelete.
4208 (speedbar-file-lists): Simplify and avoid aput.
4209 * man.el (Man--sections, Man--refpages): New vars, replacing
4210 Man-sections-alist and Man-refpages-alist.
4211 (Man-build-section-alist, Man-build-references-alist):
4212 Use them; avoid aput.
4213 (Man--last-section, Man--last-refpage): New vars.
4214 (Man-follow-manual-reference): Use them.
4215 Use the `default' arg of completing-read.
4216 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4217
c5bb7569
CY
42182012-04-27 Chong Yidong <cyd@gnu.org>
4219
d1d2e2e8
CY
4220 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4221
15cd8efd
CY
4222 * startup.el (x-apply-session-resources): New function.
4223
4224 * term/ns-win.el (ns-initialize-window-system):
4225 * term/w32-win.el (w32-initialize-window-system):
4226 * term/x-win.el (x-initialize-window-system): Use it to properly
4227 set menu-bar-mode and other vars from X resources, even if the
4228 initial frame is not a window-system frame (Bug#2299).
4229
c5bb7569
CY
4230 * subr.el (read-key): Avoid running filter function when setting
4231 up temporary tool bar entries (Bug#9922).
4232
a8e7d6d7 42332012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4234
4235 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4236 (Bug#11344)
4237
a8e7d6d7 42382012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4239
4240 * select.el (xselect--encode-string): New function, split from
4241 xselect-convert-to-string.
4242 (xselect-convert-to-string): Use it.
4243 (xselect-convert-to-filename, xselect-convert-to-os)
4244 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4245 returned strings are properly encoded (Bug#11315).
4246
a8e7d6d7 42472012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4248
4249 * simple.el (delete-active-region): Move to killing custom group.
4250
a8e7d6d7 42512012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4252
4253 * progmodes/which-func.el (which-func-current): Quote %
4254 characters for mode-line processing.
4255
578c1d4b 42562012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4257
4258 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4259 reaching eob (Bug#11286).
4260
a8e7d6d7 42612012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4262
4263 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4264 (gdb): Make it buffer-local and init to zero.
4265 (gdb-control-commands-regexp): New variable.
4266 (gdb-send): Don't wrap in "-interpreter-exec console" if
4267 gdb-control-level is positive. Increment gdb-control-level
4268 whenever the command matches gdb-control-commands-regexp, and
4269 decrement it each time the command is "end". (Bug#11279)
4270
a8e7d6d7 42712012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4272
4273 * window.el (adjust-window-trailing-edge, enlarge-window)
4274 (shrink-window, window-resize):
4275 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4276 windows (Bug#11276).
4277
b3608390
CY
42782012-04-27 Chong Yidong <cyd@gnu.org>
4279
4280 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4281 fix "missing prefix" warning. All callers changed.
b3608390 4282
797e6e88
SM
42832012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * emacs-lisp/assoc.el: Move to obsolete/.
4286
e95a67dc
SM
42872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4288
657c21e4 4289 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4290
4291 * term/ns-win.el (ns-define-service):
4292 * progmodes/pascal.el (pascal-goto-defun):
4293 * progmodes/js.el (js--read-tab):
4294 * progmodes/etags.el (tags-lazy-completion-table):
4295 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4296 * emacs-lisp/ewoc.el (ewoc--wrap):
4297 * emacs-lisp/assoc.el (aput, adelete, amake):
4298 * doc-view.el (doc-view-convert-current-doc):
4299 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4300
cb3e7ae0
CY
43012012-04-26 Chong Yidong <cyd@gnu.org>
4302
dce04f7f
CY
4303 * image.el (image-type-from-buffer): Only return supported image
4304 type (Bug#9045).
4305
cb3e7ae0
CY
4306 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4307 value, for symmetry with diff-end-of-hunk.
4308 (diff-split-hunk, diff-find-source-location)
4309 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4310 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4311 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4312 compute the relevant hunk or file properly (Bug#6005).
4313 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4314
0d42eb3e
SM
43152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * vc/vc-mtn.el:
4318 * vc/vc-hg.el:
4319 * vc/vc-git.el:
4320 * vc/vc-dir.el:
4321 * vc/vc-cvs.el:
4322 * vc/vc-bzr.el:
4323 * vc/vc-arch.el:
4324 * vc/vc.el: Replace lexical-let by lexical-binding.
4325 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4326 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4327 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4328
f08ae1c9
CY
43292012-04-26 Chong Yidong <cyd@gnu.org>
4330
8b71081d
CY
4331 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4332 (diff-mode-shared-map): Bind it to / and [remap undo].
4333
f08ae1c9
CY
4334 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4335 (ediff-window-setup-function): Use it as the default, to set up
4336 windows based on whether the current frame is graphical (Bug#2138).
4337 (ediff-choose-window-setup-function-automatically): Make obsolete.
4338
4339 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4340
ef24141c
SM
43412012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4342
cc356a5d
SM
4343 * ffap.el: Remove old code for obsolete package.
4344 (ffap-complete-as-file-p): Remove.
4345
b4ff4f1f
SM
4346 Use completion-table-with-quoting for comint and pcomplete.
4347 * comint.el (comint--unquote&requote-argument)
4348 (comint--unquote-argument, comint--requote-argument): New functions.
4349 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4350 (comint-quote-filename): Use regexp-opt-charset.
4351 (comint--common-suffix, comint--common-quoted-suffix)
4352 (comint--table-subvert): Remove.
4353 (comint-unquote-function, comint-requote-function): New vars.
4354 (comint--complete-file-name-data): Use them with
4355 completion-table-with-quoting.
4356 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4357 * pcomplete.el (pcomplete-arg-quote-list)
4358 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4359 (pcomplete-unquote-argument-function): Default to non-nil.
4360 (pcomplete-unquote-argument): Simplify.
4361 (pcomplete--common-quoted-suffix): Remove.
4362 (pcomplete-requote-argument-function): New var.
4363 (pcomplete--common-suffix): New function.
4364 (pcomplete-completions-at-point): Use completion-table-with-quoting
4365 and completion-table-subvert.
4366
79c4eeb4
SM
4367 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4368 (minibuffer--double-dollars): Preserve properties.
4369 (completion--sifn-requote): New function.
4370 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4371
ef24141c
SM
4372 * minibuffer.el: Add support for completion of quoted/escaped data.
4373 (completion-table-with-quoting, completion-table-subvert): New funs.
4374 (completion--twq-try, completion--twq-all): New functions.
4375 (completion--nth-completion): New function.
4376 (completion-try-completion, completion-all-completions): Use it.
4377
784e7d6e
LL
43782012-04-25 Leo Liu <sdl.web@gmail.com>
4379
dd2ac746
SM
4380 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4381 Use compilation-message if available to find real filename.
784e7d6e 4382
07875ee7
CY
43832012-04-25 Chong Yidong <cyd@gnu.org>
4384
4385 * vc/diff-mode.el (diff-setup-whitespace): New function.
4386 (diff-mode): Use it.
4387
4388 * vc/diff.el (diff-sentinel):
4389 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4390 Whitespace mode variables based on diff style (Bug#8612).
4391
5055880d
LL
43922012-04-25 Leo Liu <sdl.web@gmail.com>
4393
daf75653
LL
4394 * progmodes/python.el (python-send-region): Add suffix .py to the
4395 temp file.
4396
5055880d
LL
4397 * files.el (auto-mode-alist): Use javascript-mode instead.
4398
db9b177b
AH
43992012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4400
ef24141c 4401 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4402
090bd7cb 4403 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4404 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4405 references, see Bug#9.
ef24141c 4406 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4407 when receiving a fault reply.
ef24141c 4408 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4409
090bd7cb 4410 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4411 (soap-inspect-simple-type): New function.
db9b177b 4412
090bd7cb 4413 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4414 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4415 (soap-decode-basic-type, soap-encode-basic-type):
4416 support unsignedInt and double basic types.
db9b177b 4417 (soap-resolve-references-for-simple-type)
ef24141c
SM
4418 (soap-parse-simple-type, soap-encode-simple-type): New function.
4419 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4420
090bd7cb 4421 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4422 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4423 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4424 the local name of "soapenc:Array".
4425 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4426 decoding integer, byte and anyURI xsd types.
4427
1fc6097b
CY
44282012-04-25 Chong Yidong <cyd@gnu.org>
4429
4430 * cus-edit.el (custom-buffer-create-internal): Update header text.
4431
afc6df87
EZ
44322012-04-25 Eli Zaretskii <eliz@gnu.org>
4433
4434 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4435 settings on 'system-type', not on 'window-system'. On MS-Windows,
4436 set interactive-mode on in GDB.
4437
dfbd787f
SM
44382012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4441 (ruby-syntax-propertize-regexp): Remove.
4442 (ruby-syntax-propertize-function): Split regexp into chunks.
4443 Match following code directly.
4444
85222d44
DG
44452012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4446
51a8ea2a
DG
4447 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4448 (ruby-syntax-propertize-regexp): New function.
4449 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4450 by a special keyword.
4451
85222d44
DG
4452 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4453 (ruby-syntax-general-delimiters-goto-beg)
4454 (ruby-syntax-propertize-general-delimiters): New functions.
4455 (ruby-syntax-propertize-function): Use them to handle GDL.
4456 (ruby-font-lock-keywords): Move old handling of GDL...
4457 (ruby-font-lock-syntactic-keywords): .. to here.
4458 (ruby-calculate-indent): Adjust indentation for GDL.
4459
b613912b
MA
44602012-04-24 Michael Albinus <michael.albinus@gmx.de>
4461
b5380639
MA
4462 * notifications.el (top): Remove unneeded declarations.
4463 (notifications-specification-version): Change to "1.2".
e43042fe 4464 (notifications-interface, notifications-notify-method)
b613912b
MA
4465 (notifications-close-notification-method): Fix docstring.
4466 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4467 (notifications-notify): Add :action-items, :resident and
4468 :transient hints. Change "image_data" to "image-data" and
4469 "image_path" to "image-path".
b613912b
MA
4470 (notifications-get-capabilities): New defun.
4471
257440aa
LL
44722012-04-24 Leo Liu <sdl.web@gmail.com>
4473
4474 * progmodes/python.el: Move hideshow setup to the end.
4475
b1bac16e
MR
44762012-04-24 Martin Rudalics <rudalics@gmx.at>
4477
4478 * window.el (handle-select-window): Clear echo area since this is
4479 no more done by read_char (Bug#11304).
4480
d81bd059
SM
44812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4484 and `/ M' to filter-derived-mode.
4485 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4486 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4487 (ibuffer-mark-by-mode): Use default rather than initial-input.
4488 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4489
c4cf6d91
IA
44902012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4491
4492 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4493 (ibuffer-filter-by-derived-mode): New filter.
4494 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4495
7511ded8
CY
44962012-04-23 Andreas Politz <politza@fh-trier.de>
4497
4498 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4499
775c916b
CY
45002012-04-23 Chong Yidong <cyd@gnu.org>
4501
4502 * cus-edit.el (customize-apropos, customize-apropos-options):
4503 Disable matching of non-option variables (Bug#11176).
4504 (customize-option, customize-option-other-window)
4505 (customize-changed-options): Doc fix.
4506 (customize-apropos-options, customize-apropos-faces)
4507 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4508
4509 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4510 Fix word list splitting (Bug#11132).
46c71e23
CY
4511 (apropos-symbol, apropos-keybinding, apropos-label)
4512 (apropos-property, apropos-function-button)
4513 (apropos-variable-button, apropos-misc-button): New faces.
4514 (apropos-symbol-face, apropos-keybinding-face)
4515 (apropos-label-face, apropos-property-face, apropos-match-face):
4516 Variables removed (Bug#8396).
4517 (apropos-library-button, apropos-format-plist, apropos-print)
4518 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4519
2df41f9c
MA
45202012-04-23 Michael Albinus <michael.albinus@gmx.de>
4521
4522 * net/xesam.el (xesam-mode-map): Use let-bound map in
4523 initialization. (Bug#11292)
4524
da00640a
AM
45252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4526
4527 Preserve ispell session localwords when switching back to
4528 original buffer.
4529
090bd7cb
JB
4530 * textmodes/ispell.el (ispell-buffer-session-localwords):
4531 New buffer-local variable to hold buffer session localwords.
ed9265fc 4532 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4533 localwords.
4534 (ispell-command-loop, ispell-change-dictionary)
4535 (ispell-buffer-local-words): Preserve session localwords when
4536 needed.
4537
090bd7cb
JB
4538 * textmodes/flyspell.el (flyspell-process-localwords)
4539 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4540
f621ccf5
AM
45412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4542
090bd7cb
JB
4543 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4544 using obsolete `translation-table-for-input'.
ef24141c
SM
4545 (ispell-word, ispell-process-line, ispell-complete-word):
4546 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4547
c2d1019e
CY
45482012-04-22 Chong Yidong <cyd@gnu.org>
4549
4550 * cus-edit.el (custom-variable-menu)
4551 (custom-variable-reset-saved, custom-face-menu)
4552 (custom-face-reset-saved): If there is no saved value, make the
4553 "reset-saved" operation bring back the default (Bug#9509).
4554 (custom-face-state): Properly detect themed faces.
4555
eeddc531
CY
4556 * faces.el (face-spec-set): Stop supporting deprecated form of
4557 third arg.
4558
dcbf5805
MA
45592012-04-22 Michael Albinus <michael.albinus@gmx.de>
4560
4561 Move functions from C to Lisp. Make non-blocking method calls
4562 the default. Implement further D-Bus standard interfaces.
4563
ef24141c
SM
4564 * net/dbus.el (dbus-message-internal): Declare function.
4565 Remove unneeded function declarations.
dcbf5805
MA
4566 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4567 (dbus-message-type-method-return, dbus-message-type-error)
4568 (dbus-message-type-signal): Declare variables. Remove local
4569 definitions.
4570 (dbus-interface-dbus, dbus-interface-peer)
4571 (dbus-interface-introspectable, dbus-interface-properties)
4572 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4573 Adapt docstring.
4574 (dbus-interface-objectmanager): New defconst.
4575 (dbus-call-method, dbus-call-method-asynchronously)
4576 (dbus-send-signal, dbus-method-return-internal)
4577 (dbus-method-error-internal, dbus-register-service)
4578 (dbus-register-signal, dbus-register-method): New defuns, moved
4579 from dbusbind.c
4580 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4581 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4582 New defuns.
dcbf5805
MA
4583 (dbus-call-method-non-blocking): Make it an obsolete function.
4584 (dbus-unregister-object, dbus-unregister-service)
4585 (dbus-handle-event, dbus-register-property)
4586 (dbus-property-handler): Obey the new structure of
4587 `bus-registered-objects'.
4588 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4589 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4590 Use `dbus-call-method'.
4591
cf20dee0
CY
45922012-04-22 Chong Yidong <cyd@gnu.org>
4593
4594 * cus-edit.el (custom-commands, custom-reset-menu)
4595 (Custom-reset-standard): Tweak labels.
4596 (custom-reset-button-menu): Change default to t.
4597 (custom-buffer-create-internal): For the custom-reset-button-menu
4598 case, put the revert button first.
4599 (custom-group-subtitle): New face.
4600 (custom-group-value-create): Align docstring to a specific column.
4601
4602 * wid-edit.el (widget-documentation-link-add): Don't handle
4603 indentation in this function.
4604 (widget-documentation-string-indent-to): New function.
4605 (widget-documentation-string-value-create): Use it.
4606
4607 * autorevert.el (auto-revert):
4608 * epg-config.el (epg):
4609 * ibuffer.el (ibuffer):
4610 * mpc.el (mpc):
4611 * ses.el (ses):
4612 * eshell/eshell.el (eshell):
4613 * net/ange-ftp.el (ange-ftp):
4614 * progmodes/ebnf2ps.el (postscript):
4615 * progmodes/flymake.el (flymake):
4616 * progmodes/prolog.el (prolog):
4617 * progmodes/verilog-mode.el (verilog-mode):
4618 * progmodes/which-func.el (which-func):
4619 * term/xterm.el (xterm):
4620 * textmodes/picture.el (picture):
4621 * textmodes/tildify.el (tildify):
4622 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4623 customization buffers.
4624
583e23bd
AM
46252012-04-22 Alan Mackenzie <acm@muc.de>
4626
4627 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4628 Adding a ) can hide the resulting (..) from searches. Fix it.
4629 Bound the backward search to the position of the existing (.
4630
7dd51bf1
JB
46312012-04-21 Juanma Barranquero <lekktu@gmail.com>
4632
4633 * progmodes/verilog-mode.el (verilog-mode): Check whether
4634 which-func-modes is t before adding verilog-mode.
4635 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4636
d64a438f
LL
46372012-04-21 Leo Liu <sdl.web@gmail.com>
4638
7dd51bf1 4639 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4640
081e8d65
MV
46412012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4642
4643 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4644 filling of the last column of a table (Bug#5635).
4645 (woman-find-next-control-line): New arg, specifying an additional
4646 regexp component for the control line.
4647 (woman2-roff-buffer): Use it.
4648 (woman-break-table): New function.
4649 (woman2-TS): Use it.
4650
46512012-04-21 Chong Yidong <cyd@gnu.org>
4652
4653 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4654 (woman-horizontal-escapes, woman-negative-vertical-space)
4655 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4656 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4657
ed571ccb
SM
46582012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * minibuffer.el (completion-file-name-table): Complete user names.
4661
39773899
LL
46622012-04-20 Leo Liu <sdl.web@gmail.com>
4663
4664 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4665 and pcase-let*.
4666
de6ff46d
CY
46672012-04-20 Chong Yidong <cyd@gnu.org>
4668
4669 * server.el (server-execute): Respect initial-buffer-choice if it
4670 is a string and there are no files to open (Bug#2825).
4671 (server-create-window-system-frame, server-create-tty-frame):
4672 Don't switch buffers here.
2d0e8e61
CY
4673 (server-process-filter): Only try to open a window system frame if
4674 compiled with graphical support (Bug#8314).
de6ff46d 4675
54071013
DN
46762012-04-20 Dan Nicolaescu <dann@gnu.org>
4677
4678 * battery.el (battery-echo-area-format): Display remaining time
4679 for sysfs backend too (Bug#11269).
4680 (battery-linux-sysfs): Fix conditional for the charge.
4681
f30d612a
CY
46822012-04-20 Chong Yidong <cyd@gnu.org>
4683
c07a4c0b 4684 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4685 (gdb-inferior-io--init-proc): New function.
4686 (gdb-init-1): Use it.
4687 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4688 responsible for allocating a new pty and hooking it to gdb when
4689 the old pty gets an EIO due to process exit.
4690 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4691 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4692 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4693
2116e93c
EZ
46942012-04-20 Eli Zaretskii <eliz@gnu.org>
4695
4696 * window.el (window-min-size, window-sizable, window-min-delta)
4697 (window-max-delta, window--resizable, window-resizable)
4698 (window-total-size, window-full-height-p, window-full-width-p)
4699 (window-in-direction, window--resize-mini-window, window-resize)
4700 (window--resize-child-windows-normal)
4701 (window--resize-child-windows, window--resize-siblings)
4702 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4703 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4704
c07a4c0b 47052012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4706
ef24141c
SM
4707 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4708 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4709 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4710 pty process (Bug#11273).
4711 (gdb-update): New arg to suppress talking to the gdb process.
4712 (gdb-done-or-error): Use it.
4713 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4714 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4715 sentinel not being called.
4716
4717 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4718
d02766ab
CY
4719 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4720
c07a4c0b 47212012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4722
4723 * net/network-stream.el (open-network-stream): Doc fix.
4724
c07a4c0b 47252012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4726
4727 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4728
c07a4c0b 47292012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4730
4731 Ensure searching for keywords is case sensitive.
4732
4733 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4734 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4735 (c-defun-name, c-mark-function, c-cpp-define-name)
4736 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4737 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4738
ef24141c
SM
4739 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4740 Bind case-fold-search to nil.
f0f6bc35 4741
c07a4c0b 47422012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4743
4744 * mail/sendmail.el (mail-bury): Call return action with the right
4745 Rmail buffer (Bug#11242).
4746
9a864fa2
CY
4747 * server.el (server-process-filter): Handle corner case where both
4748 tty and nowait options are present (Bug#11102).
4749
539aa513
EZ
47502012-04-20 Eli Zaretskii <eliz@gnu.org>
4751
4752 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4753 (top level): Put into the executable the ident-style '$Id:' tag on
4754 windows-nt as well.
539aa513 4755
cfc7d5da
SM
47562012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * electric.el (electric-indent-post-self-insert-function): Check that
4759 electric-indent-mode is enabled in current buffer.
4760
5b01685c
JB
47612012-04-19 Juanma Barranquero <lekktu@gmail.com>
4762
4763 * imenu.el (imenu-progress-message): Restore; it is "used" in
4764 erc/erc-imenu.el and net/snmp-mode.el.
4765
4d6769e1
JB
47662012-04-19 Juanma Barranquero <lekktu@gmail.com>
4767
4768 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4769 (mouse-avoidance-nudge-mouse): Remove unused binding.
4770
4771 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4772
4773 * descr-text.el (describe-char):
4774 * progmodes/python.el (python-describe-symbol):
4775 Don't call `toggle-read-only', set `buffer-read-only'.
4776
4777 * imenu.el (imenu-default-goto-function): Mark unused args.
4778 (imenu-progress-message): Remove obsolete macro; all callers changed.
4779
4780 * subr.el (keymap-canonicalize): Remove unused binding.
4781 (read-passwd): Mark unused arg.
4782
4783 * tutorial.el (tutorial--display-changes): Remove unused binding.
4784 (tutorial--save-tutorial-to): Remove unused variable.
4785
4786 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4787 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4788 (package-generate-autoloads, package-menu--generate)
4789 (package-menu--find-upgrades): Remove unused bindings.
4790
4791 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4792 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4793 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4794 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4795 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4796 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4797 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4798 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4799 (cua-delete-char-rectangle): Mark unused args.
4800 (cua-align-rectangle): Remove unused binding.
4801
4802 * mail/rmail.el (compilation--message->loc)
4803 (epa--find-coding-system-for-mime-charset): Declare.
4804
4805 * net/dbus.el (dbus-register-service): Declare.
4806 (dbus-name-owner-changed-handler): Remove unused binding.
4807
4808 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4809 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4810 (nxml-scan-backward-within): Mark unused arg.
4811 (nxml-dynamic-markup-word): Remove unused binding.
4812
4813 * mouse.el (mouse-menu-major-mode-map):
4814 * emacs-lisp/authors.el (authors-scan-change-log)
4815 (authors-add-to-author-list):
4816 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4817 * emacs-lisp/smie.el (smie-auto-fill):
4818 * mail/sendmail.el (mail-bury):
4819 * mail/unrmail.el (unrmail):
4820 * net/tls.el (open-tls-stream):
4821 * textmodes/picture.el (picture-mouse-set-point):
4822 Remove unused bindings.
4823
8c8fc5df
MA
48242012-04-19 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/tramp.el (tramp-action-password): Let-bind
4827 `enable-recursive-minibuffers' to t.
4828
a77b0ac9
SS
48292012-04-18 Sam Steingold <sds@gnu.org>
4830
4831 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4832 instead of 'string to accommodate values like [f11].
4833 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4834 * progmodes/gdb-mi.el: Likewise.
4835
12a106a9
LL
48362012-04-18 Leo Liu <sdl.web@gmail.com>
4837
4838 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4839 current buffer.
4840 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4841 LOCAL is nil.
4842
bc6494ef
CY
48432012-04-18 Chong Yidong <cyd@gnu.org>
4844
4845 * simple.el (line-move): Use forward-line if in batch mode
4846 (Bug#11053).
4847
c09c46b2
CS
48482012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4849
4850 * files.el (after-find-file): Do not try to add a final newline if
4851 the buffer is read-only (Bug#11156).
4852
5f6530ea
RS
48532012-04-17 Richard Stallman <rms@gnu.org>
4854
4855 * mail/rmail.el (rmail-start-mail):
4856 Pass (rmail-mail-return...) for the return-action.
4857 Pass (rmail-yank-current-message...) for the yank-action.
4858 (rmail-yank-current-message): New function.
4859 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4860 (rmail-reply): Likewise.
4861 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4862
4863 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4864 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4865 buffer, not newbuf.
4866
197b6f3c
JB
48672012-04-17 Juanma Barranquero <lekktu@gmail.com>
4868
4869 * server.el (server-ensure-safe-dir): Simplify.
4870
2311d8e5 48712012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4872
2311d8e5
GM
4873 * emacs-lisp/smie.el: Provide smarter auto-filling.
4874 (smie-auto-fill): New function.
4875 (smie-setup): Use it.
98fb480e 4876
2311d8e5
GM
4877 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4878
48792012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4880
4881 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4882 (comment-indent): Use it.
4883
2311d8e5 48842012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4885
4886 * ses.el: The overall change is to add cell renaming, that is
4887 setting fancy names for cell symbols other than name matching
4888 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4889 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4890 (ses-create-cell-variable): New defun.
2311d8e5 4891 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4892 (ses-relocate-formula): Relocate formulas only for cells the
4893 symbols of which are not renamed, i.e. symbols whose names do not
4894 match regexp "\\`[A-Z]+[0-9]+\\'".
4895 (ses-relocate-all): Relocate values only for cells the symbols of
4896 which are not renamed.
4897 (ses-load): Create cells variables as the (ses-cell ...) are read,
4898 in order to check row col consistency with cell symbol name only
4899 for cells that are not renamed.
4900 (ses-replace-name-in-formula): New defun.
4901 (ses-rename-cell): New defun.
4bdf2ad2 4902
fc72b15c
PO
49032012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4904
4905 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4906 New option (bug#11118).
4907 (perl-calculate-indent): Respect it.
4908
12e10e61
GM
49092012-04-17 Glenn Morris <rgm@gnu.org>
4910
4911 * dired-aux.el (dired-mark-read-string): Doc fix.
4912
30009afd
DA
49132012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4914
4915 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4916 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4917
41f03f4d
GM
49182012-04-17 Glenn Morris <rgm@gnu.org>
4919
4920 * mouse.el (mouse-drag-track):
4921 * speedbar.el (speedbar-frame-mode):
4922 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4923
f45f90f3
LL
49242012-04-16 Leo Liu <sdl.web@gmail.com>
4925
4926 * progmodes/python.el: Trivial cleanup.
4927
94ee8db5
GM
49282012-04-16 Glenn Morris <rgm@gnu.org>
4929
121b8917
GM
4930 * vc/vc.el (vc-string-prefix-p):
4931 * vc/pcvs-util.el (cvs-string-prefix-p):
4932 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4933 * mpc.el (mpc-string-prefix-p):
4934 Make all of these into obsolete aliases for string-prefix-p.
4935 Update callers.
4936 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4937
1197ecfa
GM
4938 * textmodes/two-column.el: Move custom options to the start.
4939 (frame-width): Remove compat definition.
4940 (2C-associate-buffer, 2C-dissociate):
4941 Use with-current-buffer rather than save-excursion.
4942 (2C-dissociate): Force a mode-line update.
4943 (2C-autoscroll): Use ignore-errors.
4944
099e7202
GM
4945 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4946 Autoload trivia.
4947
bf350d6a
GM
4948 * emacs-lisp/cl-extra.el (*random-state*):
4949 Remove unnecessary declaration.
4950
0e829eab
GM
4951 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4952
e3ad7552
GM
4953 * play/cookie1.el (cookie-snarf):
4954 Give an explicit error if input file cannot be read.
4955
68892d27
GM
4956 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4957
20f0c46d
GM
4958 * progmodes/perl-mode.el (c-macro-expand):
4959 Remove unnecessary autoload (it is in loaddefs.el).
4960
5a0978ce
GM
4961 * textmodes/picture.el (picture-desired-column)
4962 (picture-update-desired-column): Convert comments to doc-strings.
4963 (picture-substitute): Remove function.
4964 (picture-mode-map): Initialize in the defvar.
4965
6b955486
GM
4966 * woman.el: Remove eval-after-load for tar-mode.
4967 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4968 (woman-tar-extract-file): Autoload it.
4969
94ee8db5
GM
4970 * frame.el (automatic-hscrolling): Make this alias obsolete.
4971
177eca34
AM
49722012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4973
090bd7cb 4974 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4975 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4976 (ispell-dictionary-base-alist): Revert to original XEmacs
4977 friendly version for default. [:alpha:] will be added in
090bd7cb 4978 `ispell-set-spellchecker-params' if needed.
177eca34 4979
c505aaeb
CY
49802012-04-16 Chong Yidong <cyd@gnu.org>
4981
b19dd9d1 4982 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4983 (imagemagick-register-types): Use it.
4984 (imagemagick-types-inhibit): Add :set function. Allow new value
4985 of t to inhibit all types.
4986
4987 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4988 so we can preload it.
4989
4990 * loadup.el (fboundp): Preload regexp-opt, needed by
4991 imagemagick-register-types.
4992
60efac0f
CY
49932012-04-15 Chong Yidong <cyd@gnu.org>
4994
4995 * frame.el (scrolling): Remove nearly unused customization group.
4996
4997 * scroll-all.el (scroll-all-mode): Move to windows group.
4998
5dd1713e
CY
49992012-04-15 Chong Yidong <cyd@gnu.org>
5000
5001 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5002
e6fd457e
CY
50032012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5006 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5007
e153c136
GM
50082012-04-15 Glenn Morris <rgm@gnu.org>
5009
5010 * simple.el (process-file-side-effects): Doc fix.
5011
e6fd457e 50122012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5013
5014 * international/mule-cmds.el (set-language-environment): Doc fix.
5015
3603c3b1
JB
50162012-04-14 Juanma Barranquero <lekktu@gmail.com>
5017
5018 * server.el (server-auth-key, server-generate-key): Doc fixes.
5019 (server-get-auth-key): Doc fix. Use `string-match-p'.
5020 (server-start): Reflow docstring.
5021
e6de100c
LI
50222012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5023
5024 * server.el (server-generate-key): `called-interactively-p'
5025 requires a parameter.
5026
29734c21
MN
50272012-04-14 Michal Nazarewicz <mina86@mina86.com>
5028
5029 * server.el (server-auth-key): New variable.
75f1671a 5030 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5031 (server-start): Use the new variable and functions to allow
5032 setting a permanent server key (bug#9423).
5033
d65c9521
LL
50342012-04-14 Leo Liu <sdl.web@gmail.com>
5035
5036 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5037
5ae255c7
PE
50382012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5039
5040 Spelling fixes.
5041 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5042 Emacs uses American spelling.
5043
d5e6342e
JB
50442012-04-14 Juanma Barranquero <lekktu@gmail.com>
5045
5046 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5047 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5048 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5049 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5050
ab036cd7
SM
50512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * progmodes/which-func.el (which-func-modes): Change default.
5054
35dc09a1 50552012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5056
5057 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5058 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5059
35dc09a1 50602012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5061
5062 * custom.el (custom-theme-set-variables): Doc fix.
5063
35dc09a1 50642012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5065
5066 * international/mule.el (set-auto-coding-for-load): Doc fix.
5067
35dc09a1 50682012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5069
35dc09a1
GM
5070 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5071 imenu work again for Objective C Mode. Correct the *-index values,
5072 these having been disturbed by a previous change in 2011-08.
57f845ee 5073
0de3da9f
AM
5074 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5075 Correct two search limits.
5076
35dc09a1 50772012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5078
5079 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5080
35dc09a1 50812012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5082
5083 * international/characters.el: Fix sorting.
5084
35dc09a1 50852012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5086
5087 * international/characters.el: Add more missing Latin case pairs.
5088
35dc09a1 50892012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5090
5091 * files.el (dir-locals-set-class-variables): Doc fix.
5092
35dc09a1 50932012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5094
3f1b5bf8
EZ
5095 * international/characters.el: Add set-case-syntax-pair call for
5096 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5097 counterpart. (Bug#11209)
5098
9f847f41
EZ
5099 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5100
35dc09a1 51012012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5102
5103 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5104
35dc09a1 51052012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5106
35dc09a1
GM
5107 * textmodes/ispell.el (ispell-dictionary-base-alist):
5108 Add data for Hebrew.
e2627d21 5109
35dc09a1 51102012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5111
35dc09a1
GM
5112 * net/rcirc.el (rcirc-cmd-quit):
5113 Revert 2012-03-18 change (Bug#11192).
5c14e333 5114
35dc09a1 51152012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5116
5117 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5118
35dc09a1 51192012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5120
4517fe3a
SM
5121 * minibuffer.el (completion-in-region-mode-map):
5122 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5123
b472a594
VD
51242012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5125
5126 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5127
09b95ce3
MY
51282012-04-13 Masatake YAMATO <yamato@redhat.com>
5129
5130 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5131 to allow `C-M-f' and `C-M-b' to move to the nearest path
5132 separator (bug#9511).
5133
4b63a9ca
LI
51342012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5135
5136 * avoid.el: Require cl when compiling. And also move the
5137 `provide' to the end.
5138
7b55b8bf
TV
51392012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5140
5141 * avoid.el (mouse-avoidance-banish-position): New variable.
5142 (mouse-avoidance-banish-destination): Use it (bug#10165).
5143
adedaa1f
LL
51442012-04-13 Leo Liu <sdl.web@gmail.com>
5145
5146 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5147
70e74021
KB
51482012-04-13 Ken Brown <kbrown@cornell.edu>
5149
5150 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5151 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5152 (browse-url-filename-alist): For the same reason, don't modify
5153 file:// URLs on Cygwin.
5154
e75e89ba
SM
51552012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5158 the region on shift if the binding is already shifted (bug#11221).
5159
82f289a4
GM
51602012-04-12 Glenn Morris <rgm@gnu.org>
5161
5162 * mail/mailpost.el: Move to obsolete/.
5163
d333dc4c
DA
51642012-04-12 Drew Adams <drew.adams@oracle.com>
5165
5166 * imenu.el (imenu--generic-function): Ignore invisible definitions
5167 (bug#10123).
5168
0d15b5ba
VD
51692012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5170
5171 * hexl.el (hexl-bits): New variable.
5172 (hexl-options): Mention the variable in the doc string.
75f1671a 5173 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5174 (hexl-mode): Mention the new variable.
75f1671a
JB
5175 (hexl-mode, hexl-current-address, hexl-current-address):
5176 Use the displen.
0d15b5ba
VD
5177 (hexl-ascii-start-column): New function.
5178 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5179 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5180
64a440db
AM
51812012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5182
5183 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5184 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5185 the encoding, as expected by hunspell.
5186
6decb6c2
SM
51872012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * battery.el (battery--linux-sysfs-regexp): New const.
5190 (battery-status-function): Use it. Remove yeeloong special case.
5191 (battery-yeeloong-sysfs): Remove.
5192 (battery-echo-area-format): Remove yeeloong special case.
5193
088be6fb
SM
51942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5195
6622e416
SM
5196 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5197 Reported by Noah Friedman.
5198
088be6fb
SM
5199 * subr.el (read-passwd): Use read-string.
5200
b49f886e
LMI
52012012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202
5203 * vcursor.el (vcursor-move): Increase the priority of the overlay
5204 (bug#9663).
5205
a63067fc
DD
52062012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5207
5208 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5209 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5210
ac3cf14a
WS
52112012-04-11 William Stevenson <yhvh2000@gmail.com>
5212
5213 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5214 define-minor-mode (bug#10760).
5215
c4fc691b 52162012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5217
4d6769e1 5218 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5219 that directories matching `grep-find-ignored-files' won't be
5220 pruned (bug#10351).
5221
af23e2e5
CY
52222012-04-11 Chong Yidong <cyd@gnu.org>
5223
5224 * startup.el (command-line): Remove support for long-obsolete
5225 variable font-lock-face-attributes.
5226
ab7ce8c1
GM
52272012-04-11 Glenn Morris <rgm@gnu.org>
5228
5229 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5230
de8c03dc
SM
52312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * window.el (window--state-get-1): Obey window-point-insertion-type.
5234
050cc68b
LB
52352012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5236
5237 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5238 to previous function when point is on the first character of a
75f1671a 5239 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5240
a38c310c
GM
52412012-04-11 Glenn Morris <rgm@gnu.org>
5242
effed0c2
GM
5243 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5244 not just file-errors.
5245
a38c310c
GM
5246 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5247 (vc-bzr-sha1): Use internal sha1.
5248
0221e323
SM
52492012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5252
43956923
SG
52532012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5254
5255 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5256 that start in the middle of the line (bug#10496).
5257
6a8c9eaf
DN
52582012-04-10 Dan Nicolaescu <dann@gnu.org>
5259
5260 * battery.el (battery-linux-proc-acpi): Only one battery is
5261 discharged at a time, but that seems to confuse battery.el when
5262 computing `rate-type' for the battery not being discharged
5263 (bug#10332).
5264
1930bf5d
SM
52652012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5266
2a718f6f
SM
5267 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5268
599430d0
SM
5269 * international/quail.el: Use dolist and simplify.
5270 (quail-define-package, quail-update-keyboard-layout)
5271 (quail-define-rules): Use dolist.
5272 (quail-insert-kbd-layout, quail-get-translation): CSE.
5273
a2754b6c
SM
5274 * tmm.el: Use dolist, remove left over hook.
5275 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5276 Use dolist.
5277 (calendar-load-hook): Don't mess with it.
5278
1930bf5d
SM
5279 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5280 Use derived-mode-p. Run the diff asynchronously.
5281
9f67961c
LMI
52822012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5283
5284 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5285
2a8ce227
JB
52862012-04-10 Juanma Barranquero <lekktu@gmail.com>
5287
5288 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5289 (list-dynamic-libraries--loaded): New function.
5290 (list-dynamic-libraries--refresh): Use it.
5291
8f33b5f8
NW
52922012-04-10 Nathan Weizenbaum <nweiz@google.com>
5293
1930bf5d
SM
5294 * progmodes/python.el (python-fill-paragraph):
5295 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5296 disabled (bug#7018).
5297
b12f0439
L
52982012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5299
1930bf5d 5300 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5301 DOS/MS Windows for the Baltic languages. There are still plenty
5302 of texts written in this encoding/codepage (bug#6519).
b12f0439 5303
57c3bd01
GM
53042012-04-10 Glenn Morris <rgm@gnu.org>
5305
5306 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5307 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5308
6c3eab30
FA
53092012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5310
1930bf5d 5311 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5312 next-line "n" and previous-line "p" in order to make recentf more
5313 consistent with ibuffer, dired or org-mode (bug#9387).
5314
24d78a88
LMI
53152012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5316
bc72b5d9
LMI
5317 * image.el (put-image): Return the overlay created instead of the
5318 optional input string (bug#7834). Note that this may break code
5319 that is (for some reason or other) depending on `put-image'
5320 returning the string.
5321
bd2dba5a
LMI
5322 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5323
74beb59f
LMI
5324 * simple.el (zap-to-char): Allow zapping using input methods
5325 (bug#1580).
5326
24d78a88
LMI
5327 * textmodes/fill.el (fill-region): Leave point and mark where they
5328 were before filling (bug#5399).
5329
263f20cd
GM
53302012-04-09 Glenn Morris <rgm@gnu.org>
5331
5332 * version.el (emacs-bzr-get-version):
5333 Handle lightweight checkouts of local branches.
5334
58d1f797
AS
53352012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5336
263f20cd 5337 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5338
b4d3bc10
CY
53392012-04-09 Chong Yidong <cyd@gnu.org>
5340
5341 * custom.el (custom-variable-p): Return nil for non-symbol
5342 arguments instead of signaling an error.
5343 (user-variable-p): Obsolete alias for custom-variable-p.
5344
5345 * apropos.el (apropos-variable):
5346 * files-x.el (read-file-local-variable):
5347 * simple.el (set-variable):
5348 * woman.el (woman-mini-help):
5349 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5350
fd06db5d
GM
53512012-04-09 Glenn Morris <rgm@gnu.org>
5352
e5fcdb5e
GM
5353 * startup.el (normal-top-level): Don't look for leim-list.el
5354 in places where it will not be found. (Bug#910)
5355
fd06db5d
GM
5356 * international/mule-cmds.el (set-default-coding-systems):
5357 * files.el (normal-mode):
5358 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5359 This function was removed with ucs-tables.el in 2008.
5360
b39bb7e1
EZ
53612012-04-08 Eli Zaretskii <eliz@gnu.org>
5362
5363 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5364 ispell-encoding8-command to "-i", without a trailing space.
5365 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5366 separate command-line arguments, to specify the encoding, since
5367 that's how hunspell expects it.
5368
5c5b8e23
GM
53692012-04-08 Glenn Morris <rgm@gnu.org>
5370
5371 * loadup.el: Load bindings before cus-start.
5372 This reduces somewhat the number of "rogue" settings in emacs -Q.
5373
a1ed8b05
GM
53742012-04-07 Glenn Morris <rgm@gnu.org>
5375
5376 * version.el (emacs-bzr-get-version): New function.
dfae128a 5377 (emacs-bzr-version): New variable.
a1ed8b05
GM
5378 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5379 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5380
b142f158
EZ
53812012-04-07 Eli Zaretskii <eliz@gnu.org>
5382
dfae128a
GM
5383 * international/uni-bidi.el, international/uni-category.el:
5384 * international/uni-combining.el, international/uni-decimal.el:
5385 * international/uni-decomposition.el, international/uni-digit.el:
5386 * international/uni-lowercase.el, international/uni-mirrored.el:
5387 * international/uni-name.el, international/uni-numeric.el:
5388 * international/uni-titlecase.el, international/uni-uppercase.el:
5389 Update for Unicode 6.1.
b142f158 5390
9078ead6
EZ
53912012-04-07 Eli Zaretskii <eliz@gnu.org>
5392
5393 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5394
f23d2c7d
LMI
53952012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5396
5397 * window.el (shrink-window): Mention the `window-min-height'
5398 variable in the doc string.
5399
0a0a3573
BG
54002012-04-05 Bastien Guerry <bzg@altern.org>
5401
5402 * color.el (color-lighten-name): Fix typo.
5403
e5248ac9
SM
54042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * server.el (server--on-display-p): New function.
5407 (server--on-display-p): Use it.
5408
b4243e22
GV
54092012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5410
5411 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5412 (bug#11145).
5413
305d9f44
SM
54142012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * comint.el (comint--common-quoted-suffix): Check string boundary
5417 before comparing (bug#11158).
5418 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5419
3d439cd1
CY
54202012-04-04 Chong Yidong <cyd@gnu.org>
5421
321cc491
CY
5422 * minibuffer.el (completion-extra-properties): Doc fix.
5423
3d439cd1
CY
5424 * subr.el (delayed-warnings-hook): Doc fix.
5425
2d562c0f
DU
54262012-04-04 Daiki Ueno <ueno@unixuser.org>
5427
5428 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5429 selection (Bug#11159).
5430 (epa-insert-keys): Inform that the default public key will be
5431 exported if no key is selected.
5432
4443f204
RS
54332012-04-04 Richard Stallman <rms@gnu.org>
5434
5435 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5436
529c06b6
CY
54372012-04-03 Chong Yidong <cyd@gnu.org>
5438
5439 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5440 mail-insert-file, not its obsolete alias mail-attach-file.
5441
66b907dc
MA
54422012-04-03 Michael Albinus <michael.albinus@gmx.de>
5443
5444 * notifications.el (notifications-notify): Fix docstring.
5445
c0ea195d
GM
54462012-04-02 Glenn Morris <rgm@gnu.org>
5447
5448 * emacs-lisp/authors.el (authors-aliases): Another addition.
5449
5ca64e00
MA
54502012-04-02 Michael Albinus <michael.albinus@gmx.de>
5451
5452 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5453 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5454 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5455
42ee526b
CY
54562012-04-01 Chong Yidong <cyd@gnu.org>
5457
5458 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5459 Handle root directory properly.
5460 (copy-directory): Caller changed.
5461
5462 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5463 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5464
0b021094
GM
54652012-03-31 Glenn Morris <rgm@gnu.org>
5466
40f86458
GM
5467 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5468
7019c177
GM
5469 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5470
a1daddd6
GM
5471 * calendar/calendar.el (calendar-window-list)
5472 (calendar-hide-window): Restore. (Bug#11140)
5473 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5474
0b021094
GM
5475 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5476
40311efc
TV
54772012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5478
5479 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5480 Check if file is a symlink (Bug#10489).
5481
5482 * files.el (copy-directory): Likewise.
5483
5319014e
CY
54842012-03-30 Chong Yidong <cyd@gnu.org>
5485
5486 * image.el (imagemagick-types-inhibit)
5487 (imagemagick-register-types): Doc fix.
5488
935d1290
AM
54892012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5490
090bd7cb 5491 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5492 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5493 and treats ~word as ordinary words in pipe mode.
935d1290 5494
61c6e8fd
GM
54952012-03-30 Glenn Morris <rgm@gnu.org>
5496
5497 * tutorial.el (help-with-tutorial): Ensure local variables don't
5498 happen to make the buffer read-only. (Bug#11127)
5499
81fdff00
SM
55002012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5503 (perl-calculate-indent): Return `noindent' in strings.
5504
6e7a6ec0
SS
55052012-03-28 Sam Steingold <sds@gnu.org>
5506
5507 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5508 instead of the broken adhockery which does not prevent calendar
5509 buffers from being displayed at random after exit.
5510 (calendar-window-list, calendar-hide-window): Remove the broken
5511 adhockery.
5512
fee88ca0
GM
55132012-03-28 Glenn Morris <rgm@gnu.org>
5514
5515 * replace.el (query-replace-map): Doc fix.
5516
38de3354
AS
55172012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5518
5519 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5520 contents. (Bug#11109)
5521
b973155e
SM
55222012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5525 (bug#11077).
5526 (avl-tree--check, avl-tree--check-node): New funs.
5527
dcb6e7b3
MR
55282012-03-27 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5531 (switch-to-prev-buffer, switch-to-next-buffer):
5532 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5533 showing a buffer already is done on the same frame.
5534
b4fa35fa
GM
55352012-03-27 Glenn Morris <rgm@gnu.org>
5536
5537 * startup.el (mail-host-address): Doc fix.
5538
f9210e18
SM
55392012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5542 than 197 variables.
5543
c0bf7753
AF
55442012-03-26 Ami Fischman <ami@fischman.org>
5545
5546 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5547
33da7b16
GM
55482012-03-26 Glenn Morris <rgm@gnu.org>
5549
02243d9d
GM
5550 * files.el (save-buffers-kill-emacs): Doc fix.
5551
33da7b16
GM
5552 * startup.el (normal-top-level, command-line, command-line-1):
5553 Give them doc strings.
5554
e5a69fd0
EZ
55552012-03-25 Eli Zaretskii <eliz@gnu.org>
5556
5557 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5558 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5559
9a69676a
CY
55602012-03-25 Chong Yidong <cyd@gnu.org>
5561
4125cb8b
CY
5562 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5563 theme if it was previously enabled before (Bug#11031).
5564
dd470960
CY
5565 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5566 spec with custom-face-get-current-spec if its :shown-value is not
5567 determined yet (Bug#9337).
4125cb8b 5568 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5569
9a69676a
CY
5570 * button.el (button-at): Minor addition to docstring.
5571
6e7e90fa
SL
55722012-03-24 Simon Leinen <simon.leinen@gmail.com>
5573
5574 * vc/vc.el (vc-merge): Fix a prompt.
5575
f06e2758
CY
55762012-03-24 Chong Yidong <cyd@gnu.org>
5577
5578 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5579 point (Bug#9623).
5580
6e7e90fa
SL
5581 * button.el (button-at): Minor addition to docstring.
5582
b9d0879b
SM
55832012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * newcomment.el (comment-choose-indent): No space after BOL.
5586
e71cebb3
SS
55872012-03-22 Sam Steingold <sds@gnu.org>
5588
5589 * window.el (switch-to-prev-buffer): Revert last patch because the
5590 bug turned out to be an advertised feature (Elisp manual 28.14).
5591
335aff35
GM
55922012-03-22 Glenn Morris <rgm@gnu.org>
5593
5594 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5595 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5596
c676576a
LMI
55972012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/network-stream.el (network-stream-open-starttls): Make error
5600 message under Windows be less misleading.
5601
126f3d39
LW
56022012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5603
5604 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5605 understands (bug#9942).
5606
64fee311
CY
56072012-03-22 Chong Yidong <cyd@gnu.org>
5608
5609 * simple.el (end-of-visible-line): Handle return value of
5610 next-single-property-change properly (Bug#9371).
5611
a640d29a
KH
56122012-03-22 Kenichi Handa <handa@m17n.org>
5613
5614 * international/quail.el (quail-insert-kbd-layout): Fix previous
5615 change. To avoid unwanted bidi reordering, use
5616 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5617
39675016
DG
56182012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5619
5620 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5621 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5622 (ruby-beginning-of-indent): Be more careful with the difference
5623 between word-boundary and symbol boundary.
5624 (ruby-mode-syntax-table): Make : a symbol constituent.
5625
0a6934fc 56262012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5627
3d008e4f
SM
5628 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5629
0a6934fc
SM
56302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5631
af67c9d7
SM
5632 * progmodes/etags.el (tags-completion-at-point-function):
5633 Improve last fix.
5634
1acad97c
SM
5635 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5636
e298b5da
SS
56372012-03-21 Sam Steingold <sds@gnu.org>
5638
5639 * progmodes/etags.el (tags-completion-at-point-function):
5640 Avoid the error when point is inside the pattern.
5641
91d82a70
JY
56422012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5643
5644 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5645 line (Bug#10855).
5646
69188b79
CY
56472012-03-21 Drew Adams <drew.adams@oracle.com>
5648
5649 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5650
99fc91fe
AK
56512012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5652
5653 * ido.el (ido-set-current-directory, ido-read-internal)
5654 (ido-choose-completion-string, ido-completion-help): Handle nil
5655 value of ido-completion-buffer (Bug#11008).
5656
087bbb4c
SS
56572012-03-21 Sam Steingold <sds@gnu.org>
5658
5659 * window.el (switch-to-prev-buffer): Do not switch to a visible
5660 window previous buffer, just like with the frame previous buffers.
5661
fb5b8aca
CY
56622012-03-21 Chong Yidong <cyd@gnu.org>
5663
5664 * faces.el (make-face, make-empty-face, copy-face):
5665 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5666 Doc fixes.
5667
dc9924b8
SM
56682012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5671 (widget-complete): Remove broken use of it.
5672
f0bcceb9
CY
56732012-03-20 Chong Yidong <cyd@gnu.org>
5674
dc9924b8
SM
5675 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5676 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5677 characters.
5678
ee52ebf3
TH
56792012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5680
5681 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5682 to draw rectangles, not squares. (Regression introduced by revno
5683 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5684
4c5779ab
CY
56852012-03-18 Chong Yidong <cyd@gnu.org>
5686
5687 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5688 it is not yet defined (for temacs).
5689
15360934
LL
56902012-03-18 Leo Liu <sdl.web@gmail.com>
5691
dc9924b8 5692 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5693
d9a8eb66
EZ
56942012-03-17 Eli Zaretskii <eliz@gnu.org>
5695
5696 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5697 (ispell-choices-win-default-height, ispell-silently-savep)
5698 (ispell-dictionary-alist, ispell-encoding8-command)
5699 (ispell-check-version, ispell-aspell-find-dictionary)
5700 (ispell-valid-dictionary-list, ispell-words-keyword)
5701 (ispell-get-word, ispell-internal-change-dictionary)
5702 (ispell-region, ispell-skip-region-list)
5703 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5704 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5705 (ispell-message-text-end, ispell-message)
5706 (ispell-buffer-local-parsing): Doc fix.
5707
f02ff80d
J
57082012-03-13 Jambunathan K <kjambunathan@gmail.com>
5709
5710 * htmlfontify.el: Add support for code block fontification for ODT
5711 export (Bug #9914).
5712 (hfy-optimisations): Define new option
5713 `body-text-only'
5714 (hfy-fontify-buffer): Honor above setting.
5715 (hfy-begin-span, hfy-end-span): New routines factored out form
5716 `hfy-fontify-buffer'.
5717 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5718 that permit insertion of custom tags.
5719 (hfy-fontify-buffer): Use above handlers.
5720 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5721 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5722 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5723 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5724 bind a special variable `hfy-user-sheet-assoc'.
5725 (htmlfontify-string): New defun.
5726 (hfy-compile-face-map): Make sure that the last char in the
5727 buffer is correctly fontified.
5728 (hfy-face-resolve-face): Whitespace only change.
5729
9ac7a13f
EZ
57302012-03-17 Eli Zaretskii <eliz@gnu.org>
5731
5732 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5733 message more clear.
5734
e2b5bdd7
LL
57352012-03-16 Leo Liu <sdl.web@gmail.com>
5736
5737 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5738
2e492df3
AM
57392012-03-16 Alan Mackenzie <acm@muc.de>
5740
5741 Further optimise the handling of large macros.
5742
5743 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5744 limit to a call of `c-literal-limits'.
5745 (c-determine-+ve-limit): New function.
dc9924b8
SM
5746 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5747 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5748 In CASE 5B, restrict a search limit to 500.
5749 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5750
5751 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5752 Restrict macro bounds to +-500 from after-change's BEG END.
5753
50e94f0c
LL
57542012-03-16 Leo Liu <sdl.web@gmail.com>
5755
5756 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5757
6f09f6ed
AH
57582012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5759
5760 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5761 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5762
c7e73d51
GM
57632012-03-16 Glenn Morris <rgm@gnu.org>
5764
da986230
GM
5765 * view.el (view-buffer, view-buffer-other-window)
5766 (view-buffer-other-frame): Doc fixes re special mode-class.
5767
0835f01e
GM
5768 * subr.el (eval-after-load): If named feature is provided not from
5769 a file, run after-load forms. (Bug#10946)
5770
c7e73d51
GM
5771 * calendar/calendar.el (calendar-insert-at-column):
5772 Handle non-unit-width characters a bit better. (Bug#10978)
5773
3f2eafd1
CY
57742012-03-15 Chong Yidong <cyd@gnu.org>
5775
5776 * emacs-lisp/ring.el (ring-extend): New function.
5777 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5778
5779 * comint.el (comint-read-input-ring)
5780 (comint-add-to-input-history): Grow comint-input-ring lazily.
5781
103af3fe
SM
57822012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5783
663b1677
SM
5784 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5785 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5786
103af3fe
SM
5787 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5788 (imenu-add-to-menubar): Don't add a redundant index.
5789 (imenu-update-menubar): Handle a dynamically composed keymap.
5790
899cb7cb
KY
57912012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5792
5793 * mail/sendmail.el (mail-encode-header):
5794 Bind rfc2047-encode-encoded-words to nil.
5795
3809f91d
GM
57962012-03-13 Glenn Morris <rgm@gnu.org>
5797
5798 * calendar/calendar.el (calendar-string-spread):
5799 Handle non-unit-width characters a bit better. (Bug#10978)
5800
9e345a01
LL
58012012-03-13 Leo Liu <sdl.web@gmail.com>
5802
5803 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5804 directory and file as argument (Bug#10822).
5805
4a07df36
KS
58062012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5807
5808 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5809 For dynamically generated code, follow $PC.
5810 (gdb-disassembly-handler-custom): Handle no function name case.
5811
4aaa9356
TL
58122012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5813
5814 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5815 * emulation/ws-mode.el (ws-query-replace):
5816 * sort.el (sort-regexp-fields):
5817 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5818
225979da
SM
58192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * dabbrev.el: Fix cycle completion order (bug#10963).
5822 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5823 (dabbrev-completion): Don't use an obarray; provide
5824 a cycle-sort-function.
5825
e2f1fdab
LL
58262012-03-12 Leo Liu <sdl.web@gmail.com>
5827
dc9924b8 5828 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5829 (kill-do-not-save-duplicates): Doc fix.
5830
b19490ed
SM
58312012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * dabbrev.el: Fix cycle completion (bug#10963).
5834 Use lexical binding and wrap to 80 columns.
5835 (dabbrev-completion): Delay computing the list of completions.
5836
4b05d722
KH
58372012-03-12 Kenichi Handa <handa@m17n.org>
5838
5839 * international/quail.el (quail-insert-kbd-layout): Surround each
5840 row by LRO and PDF instead of inserting many LRMs. Pad the left
5841 and right of each non-spacing marks. Insert invisible space
5842 between lower and upper characters to prevent composition.
5843
dbbc2e69
SM
58442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * minibuffer.el (minibuffer-complete): Don't get confused when the
5847 function is run twice via different commands (bug#10958).
5848 (complete-with-action): Fix docstring.
5849
292112ed
CY
58502012-03-12 Chong Yidong <cyd@gnu.org>
5851
5d1ac394
CY
5852 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5853 (nxml-completion-at-point-function): New function.
5854 (nxml-mode): Use it.
5855 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5856
292112ed
CY
5857 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5858 Load generated autoloads file before byte compiling (Bug#10970).
5859 (package--make-autoloads-and-compile): New helper fun.
5860
4098f8f7
CS
58612012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5862
5863 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5864
8f754691
MA
58652012-03-11 Michael Albinus <michael.albinus@gmx.de>
5866
5867 * autorevert.el (auto-revert-handler): Ensure, that
5868 file-readable-p is applied only for local files or in
5869 auto-revert-tail-mode.
5870
e29ab36b
AS
58712012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5872
dbbc2e69
SM
5873 * server.el (server-eval-at): Handle non-tcp connections.
5874 Decode result string.
ad0bf5b6 5875
e29ab36b
AS
5876 * server.el (server-msg-size): New constant.
5877 (server-reply-print): New function.
5878 (server-eval-and-print): Use it.
5879 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5880 Handle -print-nonl.
5881
de5939ba
CS
58822012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5883
5884 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5885 (Bug#10987).
5886
0c93eabf
CY
58872012-03-11 Chong Yidong <cyd@gnu.org>
5888
397a688f
CY
5889 * simple.el (goto-line): Doc fix (Bug#9938).
5890
2cc775f9
CY
5891 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5892
0c93eabf
CY
5893 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5894 when finished (Bug#10963).
5895
c491fa41
MR
58962012-03-11 Martin Rudalics <rudalics@gmx.at>
5897
5898 * window.el (split-window-below): Fix bug in case where
5899 split-window-keep-point is nil (Bug#10971).
5900
300e8fa5
JL
59012012-03-11 Juri Linkov <juri@jurta.org>
5902
5903 * replace.el (replace-highlight): Set isearch-word to nil
5904 unconditionally. (Bug#10887)
5905
dbf6c5a1
EZ
59062012-03-10 Eli Zaretskii <eliz@gnu.org>
5907
5908 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5909 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5910 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5911 (mairix-widget-create-query): Add usage information about mairix
5912 search forms: negating words, searching for substrings, etc.
5913
b9e501de
JP
59142012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5915
5916 * international/fontset.el (font-encoding-alist): Add an entry for
5917 ksx1001 (Bug#5667).
5918
92795c91
RS
59192012-03-10 Richard Stallman <rms@gnu.org>
5920
1694e6c1
RS
5921 * mail/sendmail.el (mail-encode-header):
5922 Set rfc2047-encode-encoded-words.
5923
607e8555
RS
5924 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5925
de3bc99a
RS
5926 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5927 view buffer means not swapped.
5928 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5929 (rmail-write-region-annotate): Error if real text has disappeared.
5930
92795c91
RS
5931 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5932
699bd04e
CY
59332012-03-10 Chong Yidong <cyd@gnu.org>
5934
5935 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5936 * emulation/cua-base.el (cua--init-keymaps):
5937 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5938
570a1714
MR
59392012-03-10 Martin Rudalics <rudalics@gmx.at>
5940
dbbc2e69
SM
5941 * speedbar.el (speedbar-unhighlight-one-tag-line):
5942 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5943
82dcf4e4
CY
59442012-03-10 Chong Yidong <cyd@gnu.org>
5945
7a2c7ca7
CY
5946 * minibuffer.el (completion-in-region, completion-help-at-point):
5947 Give the completion field overlay a high priority (Bug#6830).
5948
82dcf4e4
CY
5949 * dired.el (dired-goto-file): Recognize absolute file name
5950 listings (Bug#7126).
5951 (dired-goto-file-1): New helper function.
5952 (dired-toggle-read-only): Inhibit warnings.
5953
052e28ac
MA
59542012-03-09 Michael Albinus <michael.albinus@gmx.de>
5955
75f1671a 5956 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5957 there are no properties.
5958
95d5e396
LL
59592012-03-09 Leo Liu <sdl.web@gmail.com>
5960
5961 * savehist.el (savehist-printable): Stricter check for string
5962 value (Bug#10937).
5963
3f018d6d
EZ
59642012-03-09 Eli Zaretskii <eliz@gnu.org>
5965
dbbc2e69
SM
5966 * mail/smtpmail.el (smtpmail-send-it):
5967 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5968 valid mbox format.
5969
f7fd3d79
GM
59702012-03-09 Glenn Morris <rgm@gnu.org>
5971
5972 * files.el (dir-locals-find-file):
5973 Don't check result is regular, readable.
5974 (dir-locals-read-from-file): Demote errors.
5975
6ff6e72f
EZ
59762012-03-08 Eli Zaretskii <eliz@gnu.org>
5977
dbbc2e69
SM
5978 * international/quail.el (quail-insert-kbd-layout):
5979 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5980 layout cell, to prevent their reordering by bidi display engine.
5981 For details, see the discussion in
5982 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5983
9cec7834
AM
59842012-03-08 Alan Mackenzie <acm@muc.de>
5985
5986 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5987 the starting position; make it extend the marked region when
5988 invoked repeatedly - all under appropriate circumstances.
5989 Fixes bugs #5525, #10906.
5990
9a40b8d4
GM
59912012-03-08 Glenn Morris <rgm@gnu.org>
5992
5993 * files.el (locate-dominating-file, dir-locals-find-file):
5994 Undo 2012-03-06 change.
5995
7a08ed35
EZ
59962012-03-07 Eli Zaretskii <eliz@gnu.org>
5997
dbbc2e69
SM
5998 * international/quail.el (quail-help):
5999 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6000 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6001 for the reason.
6002
5aca4f71 60032012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6004
6005 Avoid superfluous registering of signals. (Bug#10807)
6006
6007 * notifications.el (notifications-on-action-object)
6008 (notifications-on-close-object): New defvars.
6009 (notifications-on-action-signal, notifications-on-closed-signal):
6010 Unregister the signal if not needed any longer.
6011 (notifications-notify): Register `notifications-action-signal' or
6012 `notifications-closed-signal', if :on-action or :on-close has been
6013 passed as argument.
6014
78e8b10a
CY
60152012-03-07 Chong Yidong <cyd@gnu.org>
6016
6017 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6018 non-X platforms.
6019
69481eb8
GM
60202012-03-06 Glenn Morris <rgm@gnu.org>
6021
6022 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6023 (x-disown-selection-internal, x-get-selection-internal):
6024 Doc fix (add arglist signatures). (Bug#10783)
6025
133b8e11
KS
60262012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6027
6028 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6029 Handle breakpoints with no "type".
6030
99a83064
GM
60312012-03-06 Glenn Morris <rgm@gnu.org>
6032
6033 * files.el (locate-dominating-file): Add optional predicate argument.
6034 (dir-locals-find-file): Make use of above change.
6035
17798e78
TTN
60362012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6037
6038 * info.el (Info-insert-dir): Also try "dir.gz".
6039
eb182446
GM
60402012-03-06 Glenn Morris <rgm@gnu.org>
6041
8f2114ee
GM
6042 * files.el (dir-locals-find-file):
6043 Ignore non-readable or non-regular files. (Bug#10928)
6044
eb182446
GM
6045 * files.el (locate-dominating-file): Doc fix.
6046
24679323
AS
60472012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6048
6049 * calendar/calendar.el (calendar-set-mode-line):
6050 `getenv' returns a string. (Bug#10951)
6051
01d972a9
LL
60522012-03-05 Leo Liu <sdl.web@gmail.com>
6053
109aa8a9
LL
6054 * simple.el (backward-delete-char-untabify): Constrain point to
6055 field (Bug#10939).
6056
01d972a9
LL
6057 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6058
10607bea
CY
60592012-03-05 Chong Yidong <cyd@gnu.org>
6060
6061 * simple.el (count-words): If called from Lisp, return the word
6062 count, for symmetry with `count-lines'. Arglist changed.
6063 (count-words--message): Args changed. Consolidate counting code
6064 from count-words and count-words-region.
6065 (count-words-region): Caller changed.
6066 (count-lines-region): Make it an obsolete alias.
6067
5dd11cfe
TH
60682012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6069
6070 * saveplace.el (save-place-to-alist)
6071 (save-place-ignore-files-regexp): Allow value nil to disable this
6072 feature.
6073
c349f4e6
CY
60742012-03-04 Chong Yidong <cyd@gnu.org>
6075
6076 * faces.el (face-spec-reset-face): For the default face, reset the
6077 attributes to default values (Bug#10748).
6078
e627be4c
LMI
60792012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080
6081 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6082 previous patch: Check `message-send-mail-function', and not the
6083 default function (bug#10897).
6084
ebeabff4
MA
60852012-03-04 Michael Albinus <michael.albinus@gmx.de>
6086
a41a6cf4
MA
6087 * notifications.el (notifications-on-action-signal)
6088 (notifications-on-closed-signal): Check for unique service name of
6089 incoming event. Fix error in removing entry.
ebeabff4 6090 (top): Register for signals with wildcard service name.
a41a6cf4 6091 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6092
c1ca42b4
CY
60932012-03-04 Chong Yidong <cyd@gnu.org>
6094
dc9924b8 6095 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6096
ea16568d
GM
60972012-03-04 Glenn Morris <rgm@gnu.org>
6098
6099 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6100 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6101 (expand-abbrev, define-abbrev-table): Doc fixes.
6102
fbae4637
LMI
61032012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6104
6105 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6106 `message-default-send-mail-function' and not `send-mail-function'
6107 when doing the prompting for `sendmail-query-once' before sending
6108 in Message buffers (bug#10897).
6109
a1e7225c
LMI
6110 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6111 This is inconsistent with all the other stream functions, which leave
6112 the setting up to the higher levels (if so wanted) (bug#10931).
6113
56d093a9
AM
61142012-03-02 Alan Mackenzie <acm@muc.de>
6115
6116 Depessimize the handling of very large macros.
6117
6118 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6119 (c-macro-cache-syntactic): New variables to implement a one
6120 element macro cache.
6121 (c-invalidate-macro-cache): New function.
6122 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6123 Adapt to use the new cache.
6124 (c-state-safe-place): Use better the cache of safe positions.
6125 (c-state-semi-nonlit-pos-cache)
6126 (c-state-semi-nonlit-pos-cache-limit):
6127 New variables for...
6128 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6129 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6130 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6131 Use c-state-semi-safe-place.
56d093a9 6132
dbbc2e69
SM
6133 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6134 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6135
817e5c3d
MA
61362012-03-02 Michael Albinus <michael.albinus@gmx.de>
6137
dbbc2e69
SM
6138 * jka-compr.el (jka-compr-call-process):
6139 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6140 not remote.
6141
a032a702
MA
61422012-03-01 Michael Albinus <michael.albinus@gmx.de>
6143
6144 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6145 access of FILE2, if FILE1 does not exist.
6146
99a54f21
MA
6147 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6148 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6149
6150 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6151 Add "PAGER=" to `process-environment'.
6152
f6561e1f
MM
61532012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6154
6155 * progmodes/sql.el: Bug fix
6156 (sql-get-login-ext): Save login values in globals.
6157 (sql-get-login): Use new version of `sql-get-login-ext'.
6158 (sql-interactive-mode): Set global `sql-connection' to nil.
6159 (sql-connect): Set global values for connection.
6160 (sql-product-interactive): Save global values as buffer local.
6161
2d44d9cc
LL
61622012-02-29 Leo Liu <sdl.web@gmail.com>
6163
6164 * abbrev.el (define-abbrevs): Reset sys to nil.
6165
96b49301 61662012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6167
bf7f9bc5
JB
6168 * files.el (file-equal-p): Rename from `files-equal-p'.
6169 Return nil when one or both files don't exist.
96b49301 6170 (file-subdir-of-p): Now only top directory must exists,
6171 return nil if it doesn't.
bf7f9bc5
JB
6172 (copy-directory): No need to test with `file-subdir-of-p' after
6173 creating dir.
6174 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6175 to `file-equal-p'.
96b49301 6176
44e97401
GM
61772012-02-28 Glenn Morris <rgm@gnu.org>
6178
6179 * shell.el (shell-mode):
6180 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6181 * play/landmark.el (landmark-font-lock-face-O):
6182 * play/handwrite.el (handwrite):
6183 * play/gomoku.el (gomoku-O):
6184 * net/browse-url.el (browse-url-browser-display):
6185 * international/mule.el (define-charset):
6186 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6187 * filesets.el (filesets-find-file-delay):
6188 * eshell/em-xtra.el (eshell-xtra):
6189 * eshell/em-unix.el (eshell-grep):
6190 * emulation/viper.el (viper-mode):
6191 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6192 * emacs-lisp/easymenu.el (easy-menu-define):
6193 * calendar/timeclock.el (timeclock-use-display-time):
6194 * bs.el (bs-mode):
6195 * bookmark.el (bookmark-save-flag):
6196 Doc fix (standardize possessive apostrophe usage).
6197
c98c6276
CY
61982012-02-27 Chong Yidong <cyd@gnu.org>
6199
bf7f9bc5
JB
6200 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6201 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6202
c98c6276
CY
6203 * font-lock.el (font-lock-specified-p): Rename from
6204 font-lock-spec-present. Callers changed.
6205
9c62cd04 62062012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6207
bf7f9bc5
JB
6208 * emacs-lisp/package.el (package-compute-transaction):
6209 Handle holding a package version to t in package-load-list.
8ac9e529 6210
530739c9
MA
62112012-02-26 Michael Albinus <michael.albinus@gmx.de>
6212
6213 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6214 (tramp-get-inode, tramp-get-device): Use cached values.
6215
487915d7
AM
62162012-02-26 Alan Mackenzie <acm@muc.de>
6217
6218 Check there is a font-lock specification before doing initial
6219 fontification.
6220
6221 * font-core.el (font-lock-mode): Move the conditional from
6222 :after-hook to font-lock-initial-fontify.
6223 (font-lock-default-function): Move the check for a specification
6224 to font-lock-spec-present.
6225
dc9924b8 6226 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6227 (font-lock-spec-present): New function.
6228
4fd96557
JB
62292012-02-26 Jim Blandy <jimb@red-bean.com>
6230
6231 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6232 (gdb-send): Apply it to the operand of the '-interpreter-exec
6233 console' command, so that we can pass arguments with (say) quotes
6234 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6235
9a4888c0
CY
62362012-02-26 Chong Yidong <cyd@gnu.org>
6237
07498861
CY
6238 * help-fns.el (describe-function-1): Clarify description of
6239 remapping (Bug#10844).
6240
9a4888c0
CY
6241 * files.el (files-equal-p): Doc fix.
6242 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6243 and quit the loop once a mismatch is found.
6244
ea8fb88d
JB
62452012-02-25 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * bs.el (bs--show-with-configuration): Don't throw an error
6248 if the window cannot be split; otherwise, subsequent calls to
6249 bs-show fail, restoring a stale window config. (Bug#10882)
6250
525795c1
JD
62512012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6252
6253 * term/ns-win.el (global-map): Bind ns-drag-file to
6254 ns-find-file (Bug#5855, Bug#10050).
6255
f008086f
AS
62562012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6257
6258 * calendar/parse-time.el (parse-time-string): Allow extractor to
6259 return nil.
6260
a3fcfa99
MA
62612012-02-25 Michael Albinus <michael.albinus@gmx.de>
6262
91027d08
JB
6263 * net/tramp.el (tramp-file-name-for-operation):
6264 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6265
6266 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6267 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6268 Add COPY-CONTENTS argument.
a3fcfa99 6269
67b0de11
CY
62702012-02-25 Chong Yidong <cyd@gnu.org>
6271
6272 Add custom groups for VC backends, for consistency with vc-bzr.
6273
6274 * vc/vc-arch.el (vc-arch):
6275 * vc/vc-cvs.el (vc-cvs):
6276 * vc/vc-git.el (vc-git):
6277 * vc/vc-hg.el (vc-hg):
6278 * vc/vc-mtn.el (vc-mtn):
6279 * vc/vc-rcs.el (vc-rcs):
6280 * vc/vc-sccs.el (vc-sccs):
6281 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6282 All relevant defcustoms reassigned.
6283
3c9dfce6
CY
62842012-02-25 Chong Yidong <cyd@gnu.org>
6285
1339bf43
CY
6286 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6287
3c9dfce6
CY
6288 * term/x-win.el (x-initialize-window-system): Reduce default for
6289 x-selection-timeout to 5 seconds (Bug#8869).
6290
25b2e303 62912012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6292
ec70a47d
GM
6293 * files.el (files-equal-p, file-subdir-of-p): New functions.
6294 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6295 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6296 * dired-aux.el (dired-copy-file-recursive): Same.
6297 (dired-create-files): Modify destination when source is equal to
6298 dest when copying files.
53a46cd0 6299 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6300
914260cd
MA
63012012-02-24 Michael Albinus <michael.albinus@gmx.de>
6302
6303 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6304 (Bug#10874)
6305
2cb228f7
AM
63062012-02-23 Alan Mackenzie <acm@muc.de>
6307
6308 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6309 parameter "after-hook:" to allow the expansion to run code after
6310 the execution of the mode hooks.
6311
6312 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6313 from font-lock-mode-internal.
2cb228f7 6314
91027d08 6315 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6316 :after-hook.
6317
8f0fde21
SM
63182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6319
3e88618b
SM
6320 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6321 (completion--cache-all-sorted-completions): New function.
6322 (completion-all-sorted-completions): Use it.
6323 (completion--do-completion, minibuffer-force-complete):
6324 Use it to re-instate the flush hook.
6325
8f0fde21
SM
6326 * icomplete.el (icomplete-completions): Replace last fix with a better
6327 one (bug#10850).
6328
8e911f6f
DG
63292012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6330
6331 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6332 when it might call us back infinitely (bug#10797).
6333
49fe4321
GM
63342012-02-23 Glenn Morris <rgm@gnu.org>
6335
6336 * minibuffer.el (completion-category-overrides): Doc fix.
6337
b291b572
SM
63382012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6341 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6342
31a9ef2e
GM
63432012-02-23 Glenn Morris <rgm@gnu.org>
6344
5e6e6794 6345 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6346 (authors-obsolete-files-regexps, authors-ignored-files)
6347 (authors-ambiguous-files, authors-renamed-files-alist):
6348 Add more entries.
6349
0bd1e074
JL
63502012-02-23 Juri Linkov <juri@jurta.org>
6351
6352 * isearch.el (isearch-occur): Sync interactive spec with occur's
6353 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6354
b617673c
JL
6355 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6356
19e9789e
JL
63572012-02-22 Juri Linkov <juri@jurta.org>
6358
6359 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6360 (ucs-insert): Doc fix. Check for hex digits in the string.
6361 Don't display `nil' in the error message. (Bug#10857)
6362
f41ce09d
AM
63632012-02-22 Alan Mackenzie <acm@muc.de>
6364
7a71b18d 6365 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6366
ac2eceee
GM
63672012-02-22 Glenn Morris <rgm@gnu.org>
6368
6369 * ffap.el (ffap-c-path):
6370 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6371
abd1f678
CY
63722012-02-22 Chong Yidong <cyd@gnu.org>
6373
6374 * custom.el (load-theme): Doc fix.
6375
f25aef2e
GM
63762012-02-22 Glenn Morris <rgm@gnu.org>
6377
6378 * dired-x.el (dired-guess-shell-alist-default):
6379 Remove escape sequences from nroff output. (Bug#172)
6380
5f8dc2ca
GM
63812012-02-21 Glenn Morris <rgm@gnu.org>
6382
6ff86ec4
GM
6383 * vc/emerge.el (emerge-defvar-local):
6384 Set `permanent-local' property rather than unused `preserved'.
6385
be3223a3 6386 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6387 (picture-mode-map): Use it. (Bug#10860)
6388 (picture-mode): Doc fix.
6389
3fe58f4f
JB
63902012-02-21 Juanma Barranquero <lekktu@gmail.com>
6391
6392 * newcomment.el (uncomment-region-default): Remove unused binding.
6393
f9a998c3
GM
63942012-02-21 Glenn Morris <rgm@gnu.org>
6395
6396 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6397 (picture-self-insert, picture-tab-chars): Doc fix.
6398 (picture-mode-map): Fix C-a, C-e.
6399
c6029348
GM
64002012-02-20 Glenn Morris <rgm@gnu.org>
6401
6402 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6403
ab1ce9d7
LL
64042012-02-20 Leo Liu <sdl.web@gmail.com>
6405
6406 * icomplete.el (icomplete-completions): Check FROM arg before
6407 passing to substring (Bug#10850).
6408
0fd40f89
CY
64092012-02-19 Chong Yidong <cyd@gnu.org>
6410
6411 * comint.el: Require ansi-color.
6412 (comint-output-filter-functions): Add ansi-color-process-output.
6413
6414 * ansi-color.el: Don't set comint-output-filter-functions; it is
6415 now in the initial value defined in comint.el.
6416 (ansi-color-apply-face-function): New variable.
6417 (ansi-color-apply-on-region): Use it.
6418 (ansi-color-apply-overlay-face): New function.
6419
6420 * shell.el (shell): No need to require ansi-color.
6421 (shell-mode): Use ansi-color-apply-face-function to highlight
6422 color escapes using font-lock-face property (Bug#10835).
6423
20af2394
CY
64242012-02-19 Chong Yidong <cyd@gnu.org>
6425
6426 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6427 mode-line formats (Bug#10839).
6428
e23a3fbe
GM
64292012-02-18 Glenn Morris <rgm@gnu.org>
6430
b474519e
GM
6431 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6432
6433 * mail/undigest.el (unforward-rmail-message): Doc fix.
6434
e23a3fbe
GM
6435 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6436
57939ff4
EZ
64372012-02-18 Eli Zaretskii <eliz@gnu.org>
6438
6439 * international/characters.el (script-list): Sync with the latest
6440 Unicode Character Database.
6441
0c23686e
AS
64422012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6443
6444 * international/titdic-cnv.el: Remove duplicate coding tag.
6445 * language/cham.el: Likewise.
6446 * language/tai-viet.el: Likewise.
6447
6818b449
GM
64482012-02-18 Glenn Morris <rgm@gnu.org>
6449
6450 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6451 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6452 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6453 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6454 * calendar/holidays.el (holiday-bahai-holidays)
6455 (calendar-holidays, list-holidays):
6456 Use utf-8 Bahá'í in doc-strings, menus, etc.
6457
0311a3fc
TH
64582012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6459
6460 * saveplace.el (save-place-ignore-files-regexp): New variable
6461 allowing for excluding files from saving their location of point.
6462 The default value matches the temporary commit message editing
6463 files from Git, SVN, Bazaar, and Mercurial.
6464 (save-place-to-alist): Use it.
6465
d209e2fb 64662012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6467 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6468
6469 * newcomment.el (uncomment-region-default): Don't leave extra space
6470 when an arg is provided (bug#8150).
6471
ee0ce425
TZ
64722012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6473
eb864a71 6474 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6475
95ddf442
GM
64762012-02-17 Glenn Morris <rgm@gnu.org>
6477
6478 * net/socks.el: Require network-stream. (Bug#10599)
6479
48dd1e39 64802012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6481
6482 * international/charprop.el:
6483 * international/uni-name.el:
6484 * international/uni-old-name.el:
6485 * international/uni-comment.el: Regenerate.
6486
d68cd087
GM
64872012-02-16 Glenn Morris <rgm@gnu.org>
6488
6489 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6490 Interactively in calendar buffer, give an error if not on a date.
6491
13932042
GM
64922012-02-15 Glenn Morris <rgm@gnu.org>
6493
6494 * shell.el (shell-delimiter-argument-list):
6495 Revert 2011-02-17 change. (Bug#8027)
6496
c3a70e2b
CY
64972012-02-15 Chong Yidong <cyd@gnu.org>
6498
60236b0d
CY
6499 * minibuffer.el (completion-at-point-functions): Doc fix.
6500
c3a70e2b
CY
6501 * custom.el (defcustom): Doc fix; note use of defvar.
6502
9f26dc24
GM
65032012-02-15 Glenn Morris <rgm@gnu.org>
6504
6505 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6506 Doc fixes.
6507
6546b134
GM
65082012-02-14 Glenn Morris <rgm@gnu.org>
6509
6510 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6511
d29b2b4c
LI
65122012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6513
6514 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6515 way the ports list is computed.
835bdcba
LI
6516 (smtpmail-query-smtp-server): Prompt the user for a port number if
6517 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6518
08dcdbc9
TZ
65192012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6520
6521 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6522
2605051a
GM
65232012-02-13 Glenn Morris <rgm@gnu.org>
6524
6525 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6526
7ee99f32
TZ
65272012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6528
6529 * net/gnutls.el (gnutls-trustfiles): New variable.
6530 (gnutls-negotiate): Use it.
6531
5f0af64f
LI
65322012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6533
6534 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6535 does its stuff if Gnus is running.
6536
c14fcc95
AM
65372012-02-13 Alan Mackenzie <acm@muc.de>
6538
6539 Fix a loop in c-set-fl-decl-start.
6540
7a71b18d 6541 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6542 c-backward-syntactic-ws actually moves backwards.
6543
142b4d90
LL
65442012-02-13 Leo Liu <sdl.web@gmail.com>
6545
6546 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6547 beginning so that all \C-o chars are removed.
6548
fa9958a6
TZ
65492012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6550
dc9924b8 6551 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6552
0bc5886a
AM
65532012-02-12 Alan Mackenzie <acm@muc.de>
6554
6555 Fix infinite loop with long macros.
4d6769e1 6556 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6557
d4bd55e7
CY
65582012-02-12 Chong Yidong <cyd@gnu.org>
6559
6560 * window.el (display-buffer): Doc fix (Bug#10785).
6561
66f3fe22
GM
65622012-02-12 Glenn Morris <rgm@gnu.org>
6563
bd7da63e
GM
6564 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6565 (x-disown-selection-internal, x-get-selection-internal):
6566 Sync docs with the xselect.c versions.
6567
66f3fe22
GM
6568 * allout-widgets.el: Add missing license notice.
6569
3e0d2fa7
GM
65702012-02-11 Glenn Morris <rgm@gnu.org>
6571
cfecdf09
GM
6572 * select.el (x-get-selection-internal, x-own-selection-internal)
6573 (x-disown-selection-internal):
6574 * x-dnd.el (x-get-selection-internal): Update declarations.
6575
6d216d7f
GM
6576 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6577
2bed3f04
GM
6578 * window.el (window-sides-slots):
6579 * tool-bar.el (tool-bar-position):
6580 * term/xterm.el (xterm-extra-capabilities):
6581 * ses.el (ses-self-reference-early-detection):
6582 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6583 (verilog-auto-wire-type)
6584 (verilog-auto-delete-trailing-whitespace)
6585 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6586 (verilog-auto-tieoff-declaration):
6587 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6588 (sql-oracle-statement-starters, sql-oracle-scan-on):
6589 * progmodes/prolog.el (prolog-align-comments-flag)
6590 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6591 (prolog-left-indent-regexp, prolog-paren-indent-p)
6592 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6593 (prolog-types, prolog-mode-specificators)
6594 (prolog-determinism-specificators, prolog-directives)
6595 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6596 (prolog-electric-dot-flag)
6597 (prolog-electric-dot-full-predicate-template)
6598 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6599 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6600 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6601 (prolog-program-switches, prolog-prompt-regexp)
6602 (prolog-debug-on-string, prolog-debug-off-string)
6603 (prolog-trace-on-string, prolog-trace-off-string)
6604 (prolog-zip-on-string, prolog-zip-off-string)
6605 (prolog-use-standard-consult-compile-method-flag)
6606 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6607 (prolog-imenu-max-lines, prolog-info-predicate-index)
6608 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6609 (prolog-char-quote-workaround):
6610 * progmodes/cc-vars.el (c-defun-tactic):
6611 * net/tramp.el (tramp-encoding-command-interactive)
6612 (tramp-local-end-of-line):
6613 * net/soap-client.el (soap-client):
6614 * net/netrc.el (netrc-file):
6615 * net/gnutls.el (gnutls):
6616 * minibuffer.el (completion-category-overrides)
6617 (completion-cycle-threshold)
6618 (completion-pcm-complete-word-inserts-delimiters):
6619 * man.el (Man-name-local-regexp):
6620 * mail/feedmail.el (feedmail-display-full-frame):
6621 * international/characters.el (glyphless-char-display-control):
6622 * eshell/em-ls.el (eshell-ls-date-format):
6623 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6624 (lisp-lambda-list-keyword-parameter-indentation)
6625 (lisp-lambda-list-keyword-parameter-alignment):
6626 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6627 * dired-x.el (dired-omit-verbose):
6628 * cus-theme.el (custom-theme-allow-multiple-selections):
6629 * calc/calc.el (calc-highlight-selections-with-faces)
6630 (calc-lu-field-reference, calc-lu-power-reference)
6631 (calc-note-threshold):
6632 * battery.el (battery-mode-line-limit):
6633 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6634 (archive-7z-update):
6635 * allout.el (allout-prefixed-keybindings)
6636 (allout-unprefixed-keybindings)
6637 (allout-inhibit-auto-fill-on-headline)
6638 (allout-flattened-numbering-abbreviation):
6639 * allout-widgets.el (allout-widgets-auto-activation)
6640 (allout-widgets-icons-dark-subdir)
6641 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6642 (allout-widgets-theme-dark-background)
6643 (allout-widgets-theme-light-background)
6644 (allout-widgets-item-image-properties-emacs)
6645 (allout-widgets-item-image-properties-xemacs)
6646 (allout-widgets-run-unit-tests-on-load)
6647 (allout-widgets-time-decoration-activity)
6648 (allout-widgets-hook-error-post-time)
6649 (allout-widgets-track-decoration):
6650 Add missing :version tags to new defcustoms and defgroups.
6651
5fec1b8e
GM
6652 * progmodes/sql.el (sql-ansi-statement-starters)
6653 (sql-oracle-statement-starters): Add custom type.
6654
3e0d2fa7
GM
6655 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6656 (prolog-system-version): Give it a type.
6657
90b671e2
EZ
66582012-02-11 Eli Zaretskii <eliz@gnu.org>
6659
6660 * term/pc-win.el (x-select-text, x-selection-owner-p)
6661 (x-own-selection-internal, x-disown-selection-internal)
6662 (x-get-selection-internal): Sync doc strings and argument lists
6663 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6664
5eac0c02
LL
66652012-02-11 Leo Liu <sdl.web@gmail.com>
6666
6667 * progmodes/python.el (python-end-of-statement): Fix infinite
6668 loop. (Bug#10788)
6669
f82cb659
GM
66702012-02-10 Glenn Morris <rgm@gnu.org>
6671
6672 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6673 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6674
cc26d239
LI
66752012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6676
6677 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6678 about SMTP before checking the From header.
6679
91027d08 6680 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6681 into own function for reuse by emacsbug.el.
6682
1be3ca5a
LL
66832012-02-10 Leo Liu <sdl.web@gmail.com>
6684
6685 * subr.el (condition-case-unless-debug): Rename from
6686 condition-case-no-debug. All callers changed.
6687 (with-demoted-errors): Fix caller.
6688
6689 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6690 * nxml/rng-valid.el (rng-do-some-validation):
6691 * emacs-lisp/package.el (package-refresh-contents)
6692 (package-menu-execute):
6693 * desktop.el (desktop-create-buffer):
91027d08 6694 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6695
b011fbfe
GM
66962012-02-10 Glenn Morris <rgm@gnu.org>
6697
b2096d72
GM
6698 * textmodes/bibtex.el:
6699 Add missing :version tags for new/changed defcustoms.
6700
b011fbfe
GM
6701 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6702
4c7e65bf
LI
67032012-02-09 Lars Ingebrigtsen <larsi@rusty>
6704
6705 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6706 (smtpmail-via-smtp): Use it, or fall back on the From address.
6707 (smtpmail-send-it): Ditto.
6708
f3934f6f
SM
67092012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6712 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6713 (byte-compile-tmp-var): New const.
6714 (byte-compile-defvar): Use it to minimize .elc size.
6715 Just use `defvar' rather than simulate it (bug#10761).
6716
a075a2c5
GM
67172012-02-09 Glenn Morris <rgm@gnu.org>
6718
cf3aa21b
GM
6719 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6720
354998cd
GM
6721 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6722 Add :version tags.
6723
dc9924b8
SM
6724 * progmodes/compile.el (compilation-error-screen-columns)
6725 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6726
dab3703d
GM
6727 * vc/log-view.el (log-view-toggle-entry-display):
6728 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6729
3f88cd72
GM
6730 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6731 (report-emacs-bug-can-use-xdg-email):
6732 (report-emacs-bug-insert-to-mailer): Doc fixes.
6733 (report-emacs-bug): Message fix.
6734
d95b247d
GM
6735 * net/browse-url.el (browse-url-can-use-xdg-open)
6736 (browse-url-xdg-open): Doc fixes.
6737
a075a2c5
GM
6738 * electric.el (electric-indent-mode, electric-pair-mode)
6739 (electric-layout-rules, electric-layout-mode): Doc fixes.
6740 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6741
ffb6157e
MR
67422012-02-08 Martin Rudalics <rudalics@gmx.at>
6743
6744 * server.el (server-unselect-display): Don't inadvertently kill
6745 the current buffer. (Bug#10729)
6746
e1ac4066
GM
67472012-02-08 Glenn Morris <rgm@gnu.org>
6748
34e8a2da
GM
6749 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6750 (sql-list-table): Doc fixes.
6751
b4ac6e8c
GM
6752 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6753 Comment out (does nothing).
6754
e1ac4066
GM
6755 * completion.el (dynamic-completion-mode):
6756 * dirtrack.el (dirtrack-debug-mode):
6757 * electric.el (electric-layout-mode):
6758 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6759 * face-remap.el (text-scale-mode, buffer-face-mode):
6760 * iimage.el (iimage-mode):
6761 * image-mode.el (image-transform-mode):
6762 * minibuffer.el (completion-in-region-mode):
6763 * scroll-lock.el (scroll-lock-mode):
6764 * simple.el (next-error-follow-minor-mode):
6765 * tar-mode.el (tar-subfile-mode):
6766 * tooltip.el (tooltip-mode):
6767 * vcursor.el (vcursor-use-vcursor-map):
6768 * wid-browse.el (widget-minor-mode):
6769 * emulation/tpu-edt.el (tpu-edt-mode):
6770 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6771 * international/iso-ascii.el (iso-ascii-mode):
6772 * language/thai-util.el (thai-word-mode):
6773 * mail/supercite.el (sc-minor-mode):
6774 * net/goto-addr.el (goto-address-mode):
6775 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6776 * progmodes/cwarn.el (cwarn-mode):
6777 * progmodes/flymake.el (flymake-mode):
6778 * progmodes/glasses.el (glasses-mode):
6779 * progmodes/hideshow.el (hs-minor-mode):
6780 * progmodes/pascal.el (pascal-outline-mode):
6781 * textmodes/enriched.el (enriched-mode):
6782 * vc/smerge-mode.el (smerge-mode):
6783 Doc fixes (minor mode argument).
6784
5e0d957f
EZ
67852012-02-07 Eli Zaretskii <eliz@gnu.org>
6786
6787 * ls-lisp.el (ls-lisp-sanitize): New function.
6788 (ls-lisp-insert-directory): Use it to fix or remove any elements
6789 in file-alist with missing attributes. (Bug#4673)
6790
98d7371e
AM
67912012-02-07 Alan Mackenzie <acm@muc.de>
6792
6793 Fix spurious recognition of c-in-knr-argdecl.
6794
6795 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6796 putative K&R region.
6797
667ced3a
AM
67982012-02-07 Alan Mackenzie <acm@muc.de>
6799
eb864a71
LM
6800 * progmodes/cc-engine.el (c-forward-objc-directive):
6801 Prevent looping in "#pragma mark @implementation".
667ced3a 6802
5b77774d
MA
68032012-02-07 Michael Albinus <michael.albinus@gmx.de>
6804
6805 * notifications.el (notifications-on-closed-signal): Make `reason'
6806 optional. (Bug#10744)
6807
af008560
GM
68082012-02-07 Glenn Morris <rgm@gnu.org>
6809
60d47423
GM
6810 * emacs-lisp/easy-mmode.el (define-minor-mode):
6811 Doc fixes for the macro and the mode it defines.
6812
dd605cc4
GM
6813 * image.el (imagemagick-types-inhibit): Doc fix.
6814
af008560
GM
6815 * cus-start.el (imagemagick-render-type): Add it.
6816
5cc59a37
LI
68172012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6818
4d6769e1
JB
6819 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6820 Set the default at load time, too, so that `font-lock-fontify-buffer'
6821 can be called without setting up the entire mode first. This fixes
6822 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6823
9a6dd747
CY
68242012-02-06 Chong Yidong <cyd@gnu.org>
6825
2d16b285
CY
6826 * simple.el (list-processes--refresh): Delete exited processes
6827 (Bug#8094).
6828
171e9b6e
CY
6829 * comint.el (comint-next-prompt): next-single-char-property-change
6830 and prev-single-char-property-change never return nil (Bug#8657).
6831
9a6dd747
CY
6832 * custom.el (defcustom): Doc fix (Bug#9711).
6833
aa4589a7
CY
68342012-02-05 Chong Yidong <cyd@gnu.org>
6835
5c2a252f
CY
6836 * cus-edit.el (custom-variable-reset-backup): Quote the value
6837 before storing it in the customized-value property (Bug#6712).
4aab9006 6838 (custom-display): Add a customization type tag.
983b9602 6839 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6840
aa4589a7
CY
6841 * wid-edit.el (widget-field-value-get): New optional arg to
6842 suppress trailing whitespace truncation.
6843 (character): Use it (Bug#2689).
6844
1ff980ae
AS
68452012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6846
6847 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6848 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6849
03988c98
CY
68502012-02-05 Chong Yidong <cyd@gnu.org>
6851
eeb6cc88
CY
6852 * cus-edit.el (custom-variable-value-create): For mismatched
6853 types, show the current value (Bug#7600).
6854
03988c98
CY
6855 * custom.el (defcustom): Doc fix.
6856
f8cdeef0
GM
68572012-02-05 Glenn Morris <rgm@gnu.org>
6858
6859 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6860
0696d255
JB
68612012-02-05 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6864 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6865 (pp-last-sexp): Use `looking-at-p'.
6866
34c99998
GM
68672012-02-04 Glenn Morris <rgm@gnu.org>
6868
8f05da42
GM
6869 * files.el (revert-buffer):
6870 Doc fix (mention revert-buffer-in-progress-p).
6871
f160676e
GM
6872 * emacs-lisp/ert-x.el (ert-simulate-command):
6873 Check deferred-action-list (which is obsolete) is bound.
6874
c7291ad9
GM
6875 * subr.el (with-wrapper-hook): Doc fixes.
6876
34c99998
GM
6877 * simple.el (filter-buffer-substring-functions)
6878 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6879
6283a7d3
LL
68802012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6881
6882 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6883 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6884
e96e3013
LL
68852012-02-04 Leo Liu <sdl.web@gmail.com>
6886
6887 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6888
8ded50f2
GM
68892012-02-04 Glenn Morris <rgm@gnu.org>
6890
82ff1d13
GM
6891 * image.el (image-extension-data): Add obsolete alias.
6892
987a0a16
GM
6893 * isearch.el (isearch-update): Doc fix.
6894
ea32ef46
GM
6895 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6896
8ded50f2
GM
6897 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6898
eea14f31
GM
68992012-02-03 Glenn Morris <rgm@gnu.org>
6900
6901 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6902 (image-animate-timeout): Doc fix.
6903
6904 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6905
12f381b7
GM
69062012-02-02 Glenn Morris <rgm@gnu.org>
6907
953cebf5
GM
6908 * server.el (server-auth-dir): Doc fix.
6909 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6910
12f381b7
GM
6911 * subr.el (run-mode-hooks): Doc fix.
6912
953a8c3b
JL
69132012-02-02 Juri Linkov <juri@jurta.org>
6914
6915 * image-mode.el (image-toggle-display-image): Remove tautological
6916 `major-mode' from the `derived-mode-p' test.
6917
c5d3843c
KH
69182012-02-02 Kenichi Handa <handa@m17n.org>
6919
9f6e692e 6920 * composite.el (compose-region): Cancel previous change.
c5d3843c 6921
159462d4 69222012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6923
6924 * composite.el (compose-region, compose-string): Signal error for
6925 a null string component (Bug#6988).
6926
9f562668
CY
69272012-02-01 Chong Yidong <cyd@gnu.org>
6928
e2cef717
CY
6929 * view.el (view-buffer-other-window, view-buffer-other-frame):
6930 Handle special modes like view-buffer (Bug#10650).
6931 (view-buffer): Simplify.
6932
9f562668
CY
6933 * frame.el (set-frame-font): Tweak meaning of third argument.
6934
9f6e692e
JB
6935 * dynamic-setting.el (font-setting-change-default-font):
6936 Use set-frame-font (Bug#9982).
9f562668 6937
781acb9f
GM
69382012-02-01 Glenn Morris <rgm@gnu.org>
6939
6035be52
GM
6940 * progmodes/compile.el (compilation-internal-error-properties):
6941 Respect compilation-first-column in the "*compilation*" buffer.
6942
781acb9f
GM
6943 * emacs-lisp/easy-mmode.el (define-minor-mode):
6944 Relax :variable's test for a named function.
6945
abbceb00
AM
69462012-01-31 Alan Mackenzie <acm@muc.de>
6947
6948 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6949 off by one error.
6950
fce3fdeb
CY
69512012-01-31 Chong Yidong <cyd@gnu.org>
6952
6953 * frame.el (set-frame-font): New arg ALL-FRAMES.
6954
6955 * menu-bar.el (menu-set-font): Use set-frame-font.
6956
6957 * faces.el (face-spec-reset-face): Don't apply unspecified
6958 attribute values to the default face.
6959
47893581
JB
69602012-01-31 Juanma Barranquero <lekktu@gmail.com>
6961
6962 * progmodes/cwarn.el (cwarn): Remove dead link.
6963 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6964 Remove * from defcustom docstrings.
6965 (turn-on-cwarn-mode): Make obsolete.
6966 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6967 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6968
e58e988a
GM
69692012-01-31 Glenn Morris <rgm@gnu.org>
6970
60dc2671 6971 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6972 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6973 Allow named functions to be used as the cdr of :variable.
e58e988a 6974
7a3f511d
GM
69752012-01-30 Glenn Morris <rgm@gnu.org>
6976
6977 * emacs-lisp/authors.el (authors-fixed-entries):
6978 Remove reference to deleted file rnewspost.el.
6979
cb882333
JB
69802012-01-29 Juanma Barranquero <lekktu@gmail.com>
6981
6982 * window.el (window-with-parameter): Remove unused variable `windows'.
6983 (window--side-check): Remove unused variable `code'.
6984 (window--resize-siblings): Remove unused variable `first'.
6985 (adjust-window-trailing-edge): Remove unused variable `failed'.
6986 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6987 Use `let', not `let*'.
6988 (balance-windows-2): Remove unused variable `found'.
6989 (window--state-put-2): Remove unused variable `splits'.
6990 (window-state-put): Remove unused variable `selected'.
6991 (same-window-p): Use `string-match-p'.
6992 (display-buffer-assq-regexp): Remove unused variable `value'.
6993 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6994 Mark argument ALIST as ignored.
6995 (pop-to-buffer): Remove unused variable `old-window'.
6996
907201af
EZ
69972012-01-29 Eli Zaretskii <eliz@gnu.org>
6998
6999 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7000 and .lzma compressed files.
7001
ea162670
CY
70022012-01-29 Chong Yidong <cyd@gnu.org>
7003
5b95ee8a
CY
7004 * frame.el (window-system-default-frame-alist): Doc fix.
7005
ea162670
CY
7006 * dynamic-setting.el (font-setting-change-default-font): Don't
7007 change the default face if SET-FONT argument is non-nil (Bug#9982).
7008
d6e6f4b1
SB
70092012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7010
7011 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7012
0f29fa41 70132012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7014
7015 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7016 breakpoints in files outside current directory (Bug#6098).
7017
db174434
CY
70182012-01-29 Chong Yidong <cyd@gnu.org>
7019
6b25e4e2
SE
7020 * progmodes/python.el: Require ansi-color at top-level.
7021
6df6ae42
JB
7022 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7023 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7024 (lisp-mode-abbrev-table): Add doc.
7025 (lisp-mode-variables): Don't set local-abbrev-table.
7026 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7027
e70ee681
RW
70282012-01-28 Roland Winkler <winkler@gnu.org>
7029
7030 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7031
ace88aa2
RW
70322012-01-28 Roland Winkler <winkler@gnu.org>
7033
7034 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7035 (bibtex-set-dialect): Use it. Either set global values of
7036 dialect-dependent variables or bind these variables buffer-locally
7037 (Bug#10254).
7038 (bibtex-mode): Call bibtex-set-dialect via
7039 hack-local-variables-hook.
eb864a71
LM
7040 (bibtex-dialect): Update docstring.
7041 Add safe-local-variable predicate.
ace88aa2
RW
7042 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7043 bibtex-set-dialect.
7044 (bibtex-mode-map): Define menu for each dialect.
7045 (bibtex-entry): Fix docstring.
7046
93376c5b
CY
70472012-01-28 Chong Yidong <cyd@gnu.org>
7048
7049 * eshell/esh-arg.el (eshell-quote-argument): New function.
7050
7051 * eshell/esh-ext.el (eshell-invoke-batch-file):
7052 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7053 first arg to eshell-parse-command (Bug#10523).
7054
4372494f
DA
70552012-01-28 Drew Adams <drew.adams@oracle.com>
7056
7057 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7058 `default-directory' is non-nil.
7059
4d4ec1f8
EZ
70602012-01-28 Eli Zaretskii <eliz@gnu.org>
7061
7062 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7063 line that displays system-configuration-options. (Bug#9924)
7064
7c188927
DA
70652012-01-28 Drew Adams <drew.adams@oracle.com>
7066
7067 * descr-text.el (describe-char): Show information about POS, in
7068 addition to information about the character at POS. Improve and
7069 update the doc string. Change "code point" to "code point in
7070 charset", to avoid confusion with the character's Unicode code
7071 point shown above that. (Bug#10129)
7072
e0da685a
EZ
70732012-01-28 Eli Zaretskii <eliz@gnu.org>
7074
7075 * descr-text.el (describe-char): Show the raw character, not only
7076 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7077 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7078 for the reasons.
7079
70550acf
PH
70802012-01-28 Phil Hagelberg <phil@hagelb.org>
7081
eb864a71
LM
7082 * emacs-lisp/package.el (package-install):
7083 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7084
0ce8e868
CY
70852012-01-28 Chong Yidong <cyd@gnu.org>
7086
cb882333
JB
7087 * emacs-lisp/package.el (package-maybe-load-descriptor):
7088 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7089 (package-maybe-load-descriptor): Use it.
7090 (package-download-transaction): Fully load required packages
7091 inside the loop, so that `require' calls work (Bug#10593).
7092 (package-install): No need to call package-initialize now.
7093
2e7f3bea
CY
70942012-01-28 Chong Yidong <cyd@gnu.org>
7095
6e9bad14
CY
7096 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7097
f823b8ca
CY
7098 * tooltip.el (tooltip-mode): Doc fix.
7099 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7100
2680c309
CY
7101 * frame.el (set-cursor-color): Doc fix (Bug#352).
7102
d7a9e63b
CY
7103 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7104 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7105
2e7f3bea
CY
7106 * cus-edit.el (custom-buffer-create-internal): Fix search button
7107 action (Bug#10542).
2ae01800 7108 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7109
fc4f7a23
EW
71102012-01-27 Eduard Wiebe <usenet@pusto.de>
7111
7112 * dired.el (dired-mark-files-regexp):
7113 Include any subdirectory components. (Bug#10445)
7114
7dd37071
ML
71152012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7116
7117 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7118 Handle [host]:port syntax. (Bug#10533)
7119
a268160b
AH
71202012-01-27 Alex Harsanyi <harsanyi@mac.com>
7121
7122 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7123
e43273ef
GM
71242012-01-26 Glenn Morris <rgm@gnu.org>
7125
7126 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7127 * term.el (term-raw-escape-map): Use Control-X-prefix.
7128 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7129
1edf595d
MR
71302012-01-25 Martin Rudalics <rudalics@gmx.at>
7131
7132 * window.el (window-state-get, window--state-get-1): Don't deal
7133 with fixed-sizeness of windows. Simplify code.
7134
fa8eafef
JC
71352012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7136
6df6ae42
JB
7137 * window.el (window--state-get-1, window--state-put-2):
7138 Don't save and restore the mark.
fa8eafef 7139
0b21c100
CY
71402012-01-25 Chong Yidong <cyd@gnu.org>
7141
7142 * custom.el (custom-variable-p): Doc fix.
7143
5ae1a6c8
GM
71442012-01-25 Glenn Morris <rgm@gnu.org>
7145
40047858
GM
7146 * dired.el (dired-goto-file): Handle some of the more common
7147 characters that `ls -b' escapes. (Bug#10596)
7148
5ddce96c
GM
7149 * progmodes/compile.el (compilation-next-error-function):
7150 Respect compilation-first-column in the "*compilation*" buffer.
7151 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7152
5ae1a6c8
GM
7153 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7154
b559f1a9
GM
71552012-01-24 Glenn Morris <rgm@gnu.org>
7156
7157 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7158
6725d21a
JD
71592012-01-24 Julien Danjou <julien@danjou.info>
7160
7161 * color.el (color-rgb-to-hsl): Fix value computing.
7162 (color-hue-to-rgb): New function.
7163 (color-hsl-to-rgb): New function.
7164 (color-clamp, color-saturate-hsl, color-saturate-name)
7165 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7166 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7167
70df4bbe
GM
71682012-01-24 Glenn Morris <rgm@gnu.org>
7169
7170 * vc/vc-rcs.el (vc-rcs-create-tag):
7171 * vc/vc-sccs.el (vc-sccs-create-tag):
7172 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7173
802a2ae2
ML
71742012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7175
7176 * eshell/esh-util.el (eshell-read-hosts-file):
7177 Skip comment lines. (Bug#10549)
7178
d7128bb1
ML
7179 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7180
d1a5c3b4
JB
71812012-01-23 Juanma Barranquero <lekktu@gmail.com>
7182
2724d9c7
JB
7183 * subr.el (display-delayed-warnings): Doc fix.
7184 (collapse-delayed-warnings): New function to collapse identical
7185 adjacent warnings.
7186 (delayed-warnings-hook): Add it.
d1a5c3b4 7187
a5509865
MA
71882012-01-22 Michael Albinus <michael.albinus@gmx.de>
7189
7190 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7191
a5509865
MA
7192 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7193 (tramp-default-user-alist): Don't add "pscp".
7194 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7195 property "login-as", if set. (Bug#10530)
7196
cc6d5805
MA
71972012-01-21 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7200 "plink1" and "psftp". (Bug#10530)
7201
72022012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7203
7204 * international/mule-cmds.el (prefer-coding-system): Show a
7205 warning message if the default value of file-name-coding-system
7206 was not changed.
7207
f0960428
JC
72082012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7209
cb882333
JB
7210 * windmove.el (windmove-reference-loc):
7211 Fix windmove-reference-loc miscalculation.
f0960428 7212
dd6f2a63
JB
72132012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7214
7215 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7216 default unit.
7217
7b447e9b
GM
72182012-01-21 Glenn Morris <rgm@gnu.org>
7219
117a9ea1
GM
7220 * international/mule.el (auto-coding-alist): Add .tbz.
7221
7b447e9b
GM
7222 * files.el (local-enable-local-variables): Doc fix.
7223 (inhibit-local-variables-regexps): Rename from
7224 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7225 Doc fix. Add some extensions from auto-coding-alist.
7226 (inhibit-local-variables-suffixes):
7227 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7228 (inhibit-local-variables-p):
7229 New function, extracted from set-auto-mode-1.
7230 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7231 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7232 (hack-local-variables): Doc fix. Make the mode-only case
7233 respect enable-local-variables and friends.
7234 Respect inhibit-local-variables-regexps for file-locals, but
7235 not for directory-locals.
7236 (set-visited-file-name):
7237 Take account of inhibit-local-variables-regexps.
7238 Whether it applies may change as the file name is changed.
7239 * jka-cmpr-hook.el (jka-compr-install):
7240 * jka-compr.el (jka-compr-uninstall):
7241 Update for inhibit-first-line-modes-suffixes name change.
7242
dd6e3cdd
MR
72432012-01-20 Martin Rudalics <rudalics@gmx.at>
7244
7245 * help-macro.el (make-help-screen): Temporarily restore original
7246 binding for minor-mode-map-alist (Bug#10454).
7247
0d0deb38
JD
72482012-01-19 Julien Danjou <julien@danjou.info>
7249
7250 * color.el (color-name-to-rgb): Use the white color to find the max
7251 color component value and return correctly computed values.
7252 (color-name-to-rgb): Add missing float conversion for max value.
7253
34a02f46
MR
72542012-01-19 Martin Rudalics <rudalics@gmx.at>
7255
7256 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7257 special state value for window-persistent-parameters.
7258 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7259 (window--state-put-2): Reset all window parameters to nil before
7260 assigning values of persistent parameters.
7261
606c44c4
AM
72622012-01-18 Alan Mackenzie <acm@muc.de>
7263
7264 Eliminate sluggishness and hangs in fontification of "semicolon
7265 deserts".
7266
cb882333
JB
7267 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7268 Change value 10000 -> 3000.
606c44c4
AM
7269 (c-state-safe-place): Reformulate so it doesn't stack up an
7270 infinite number of wrong entries in c-state-nonlit-pos-cache.
7271 (c-determine-limit-get-base, c-determine-limit): New functions to
7272 determine backward search limits disregarding literals.
7273 (c-find-decl-spots): Amend commenting.
7274 (c-cheap-inside-bracelist-p): New function which detects "={".
7275
7276 * progmodes/cc-fonts.el
7277 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7278 backward search.
7279 (c-font-lock-declarations): Fix an occurrence of point being
7280 undefined. Check additionally for point being in a bracelist or
7281 near a macro invocation without a semicolon so as to avoid a
7282 fruitless time consuming search for a declarator. Give a more
7283 precise search limit for declarators using the new
7284 c-determine-limit.
7285
f3860cea
GM
72862012-01-18 Glenn Morris <rgm@gnu.org>
7287
7288 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7289 (set-auto-mode): Doc fixes.
7290
1db03b16
GM
72912012-01-17 Glenn Morris <rgm@gnu.org>
7292
0e6038be
GM
7293 * isearch.el (search-nonincremental-instead): Fix doc typo.
7294
1db03b16
GM
7295 * dired.el (dired-insert-directory): Handle newlines in directory name.
7296 (dired-build-subdir-alist): Unescape newlines in directory name.
7297
4cb0aa75
MA
72982012-01-17 Michael Albinus <michael.albinus@gmx.de>
7299
7300 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7301 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7302 (tramp-action-terminal): Use it. (Bug#10530)
7303
1d00653d
SM
73042012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7305
7306 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7307
6a6ee00d
MR
73082012-01-16 Martin Rudalics <rudalics@gmx.at>
7309
7310 * window.el (window-state-ignored-parameters): Remove variable.
7311 (window--state-get-1): Rename argument MARKERS to IGNORE.
7312 Handle persistent window parameters. Make copy of clone-of
7313 parameter only if requested. (Bug#10348)
7314 (window--state-put-2): Install a window parameter only if it has
7315 a non-nil value or an existing parameter shall be overwritten.
7316
97912def
MA
73172012-01-15 Michael Albinus <michael.albinus@gmx.de>
7318
7319 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7320
688070a5
EZ
73212012-01-14 Eli Zaretskii <eliz@gnu.org>
7322
7323 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7324 don't pass the (nil) value of `upnode' to string-match.
7325
301afadc
CY
73262012-01-14 Chong Yidong <cyd@gnu.org>
7327
7328 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7329 Fix values recognized by the cursorBlink resource.
301afadc 7330
9e5788aa
PE
73312012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7332
7333 * epg.el (epg--make-temp-file): Avoid permission race condition
7334 when running on old Emacs versions (bug#10403).
7335
3cdb7f5a
GM
73362012-01-14 Glenn Morris <rgm@gnu.org>
7337
7338 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7339
8c82b1b4
AM
73402012-01-13 Alan Mackenzie <acm@muc.de>
7341
7342 Fix filling for when filladapt mode is enabled.
7343
7344 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7345 c-mask-paragraph, pass in `fill-paragraph' rather than
7346 `fill-region-as-paragraph'. (This is a reversion of a previous
7347 change.)
eb864a71
LM
7348 * progmodes/cc-mode.el (c-basic-common-init):
7349 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7350
e517eda4
GM
73512012-01-13 Glenn Morris <rgm@gnu.org>
7352
1498536e
GM
7353 * dired.el (dired-switches-escape-p): New function.
7354 (dired-insert-directory): Use dired-switches-escape-p.
7355 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7356
e517eda4
GM
7357 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7358
328f984d
GM
73592012-01-12 Glenn Morris <rgm@gnu.org>
7360
7361 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7362 changes in adaptive-fill-regexp. (Bug#10276)
7363
2cc769a8
AM
73642012-01-11 Alan Mackenzie <acm@muc.de>
7365
7366 Fix Emacs bug #10463 - put `widen's around the critical spots.
7367
1d00653d 7368 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7369 widen around each invocation of c-state-pp-to-literal. Remove an
7370 unused let variable.
7371
e52c37fa
GM
73722012-01-11 Glenn Morris <rgm@gnu.org>
7373
7374 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7375 Doc fix.
e52c37fa 7376
96f8741e
CY
73772012-01-10 Chong Yidong <cyd@gnu.org>
7378
1d00653d
SM
7379 * net/network-stream.el (network-stream-open-starttls):
7380 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7381 response to the capability command.
7382
b09a806e
GM
73832012-01-10 Glenn Morris <rgm@gnu.org>
7384
7385 * mail/unrmail.el (unrmail): Tweak previous change.
7386
7655cb66
CY
73872012-01-09 Chong Yidong <cyd@gnu.org>
7388
7389 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7390
9d5a8f0b
AM
73912012-01-08 Alan Mackenzie <acm@muc.de>
7392
7393 Optimise font locking in long enum definitions.
7394
7395 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7396 arm to a cond form to handle enums.
7397 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7398 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7399
9a0115ab 74002012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7401
7402 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7403 (Bug#10401)
6bb72cbd 7404
f186bb95
LMI
74052012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
29232a68
LMI
7407 * faces.el (set-face-attribute): Clarify the meaning of the nil
7408 frame (bug#10294).
7409
4e5d086d
LMI
7410 * subr.el (with-selected-frame): Mention that the selected frame
7411 is restored (bug#9980).
7412
8e66aebe
LMI
7413 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7414 (bug#9759).
7415
cd394be1 7416 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7417 (password-read): Don't autoload unused function.
7418
adf4e762
JB
74192012-01-07 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * progmodes/which-func.el (which-func-mode): Turn into a
7422 non-interactive function and mark as obsolete (bug#10428).
7423
89bd9ccd
CY
74242012-01-06 Chong Yidong <cyd@gnu.org>
7425
7426 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7427 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7428 functions, along with 1 and -1.
7429
4afee9d5
EZ
74302012-01-06 Eli Zaretskii <eliz@gnu.org>
7431
7432 * time.el (display-time-load-average)
7433 (display-time-default-load-average): Doc fixes. See the thread
7434 starting at
7435 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7436 for the details.
7437
536aea70
GM
74382012-01-06 Glenn Morris <rgm@gnu.org>
7439
665ae865
GM
7440 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7441 has no messages. (Bug#10377)
7442
c869783d
GM
7443 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7444 than Info-edit. (Bug#10385)
7445
2bb4227e
GM
7446 * time.el (display-time-load-average, display-time-next-load-average):
7447 Doc fixes.
7448
7d5944b9
GM
7449 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7450 local setting of buffer-read-only to the input buffer. (Bug#10419)
7451
536aea70
GM
7452 * calendar/calendar.el (calendar-mode):
7453 Locally set scroll-margin to 0. (Bug#10379)
7454
7dccca16
UM
74552012-01-06 Ulrich Mueller <ulm@gentoo.org>
7456
7457 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7458
afbb7930
GM
74592012-01-05 Glenn Morris <rgm@gnu.org>
7460
7461 * eshell/em-unix.el (diff-no-select): Autoload it.
7462 (eshell/diff): Use diff-no-select. (Bug#10420)
7463
04482335
CY
74642012-01-05 Chong Yidong <cyd@gnu.org>
7465
7baca3bc
CY
7466 * shell.el (shell-dynamic-complete-functions): Revert last change.
7467 (shell-command-completion-function): New function.
7468 (shell-completion-vars): Use it to implement
7469 shell-completion-execonly (Bug#10417).
7470
04482335
CY
7471 * custom.el (enable-theme): Don't set custom-safe-themes.
7472
1d00653d
SM
7473 * cus-theme.el (custom-theme-merge-theme):
7474 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7475
bb5aa5d6
MM
74762012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7477
7478 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7479 first prompt in `sql-interacive-mode'.
7480 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7481 keywords.
6df6ae42 7482 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7483 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7484 context of original buffer. Invoke `sql-login-hook'.
7485
a7183d7c
EZ
74862012-01-04 Eli Zaretskii <eliz@gnu.org>
7487
7488 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7489 letters in cite-prefix.
7490
a1eacd1e
LMI
74912012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7492
7493 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7494
787cdb34
CY
74952012-01-03 Chong Yidong <cyd@gnu.org>
7496
1d00653d
SM
7497 * shell.el (shell-dynamic-complete-functions):
7498 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7499 comint-filename-completion first (Bug#10417).
7500
30710442
RS
75012012-01-02 Richard Stallman <rms@gnu.org>
7502
7503 * battery.el (battery-status-function):
7504 Detect when to use battery-yeeloong-sysfs.
7505 (battery-echo-area-format): Add string for Yeeloong.
7506 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7507 (battery-yeeloong-sysfs): New function.
7508
f75bfc33
CY
75092012-01-02 Chong Yidong <cyd@gnu.org>
7510
7511 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7512 (dirtrack): Merge code for handling relative filenames in prompt
7513 from shell-dir-cookie-watcher.
7514 (dirtrack-debug-message): New arg to avoid excess format calls.
7515
7516 * shell.el (shell-dir-cookie-re): Variable deleted.
7517 (shell-dir-cookie-watcher): Function deleted.
7518 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7519 with dirtrack-mode.
7520
651e947e
EZ
75212012-01-01 Eli Zaretskii <eliz@gnu.org>
7522
1d00653d
SM
7523 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7524 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7525 libgnutls-26.dll.
7526
94d4c7dc
AS
75272011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7528
7529 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7530
8d43f3cd
EZ
75312011-12-31 Eli Zaretskii <eliz@gnu.org>
7532
7533 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7534 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7535
98c8795a
MA
75362011-12-29 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7539 also for alternative shells.
7540 (tramp-open-connection-setup-interactive-shell): Check, whether
7541 the shell is a busybox.
7542 (tramp-send-command): Don't suppress multiple prompts for
7543 busyboxes, it hurts.
7544
51281b32
CY
75452011-12-28 Chong Yidong <cyd@gnu.org>
7546
7547 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7548 (gdb-get-source-file): Move mode line update to
7549 gdb-get-source-file (Bug#10087).
7550
2170cb53
CY
75512011-12-25 Chong Yidong <cyd@gnu.org>
7552
7553 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7554 gud-gdb-marker-filter without taking it as an argument.
7555 (gud-gdb-run-command-fetch-lines): Caller changed.
7556 (gud-gdb-completion-function): New variable.
7557 (gud-gdb-completion-at-point): Use it.
7558 (gud-gdb-completions-1): Split from gud-gdb-completions.
7559
7560 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7561 function as separate arguments.
7562 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7563 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7564 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7565 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7566 (gdb-stopped, def-gdb-auto-update-trigger)
7567 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7568 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7569 Callers changed.
2170cb53
CY
7570 (gud-gdbmi-completions): New function.
7571 (gdb): Use it for generating the completion table.
7572
be8b11bb
AM
75732011-12-24 Alan Mackenzie <acm@muc.de>
7574
7575 Introduce a mechanism to widen the region used in context font
1d00653d 7576 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7577
1d00653d
SM
7578 * progmodes/cc-langs.el (c-before-font-lock-functions):
7579 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7580 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7581 functions to be run just before context (etc.) font locking.
7582
7583 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7584 New, functionality extracted from
be8b11bb 7585 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7586 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7587 (c-after-change): Set c-in-after-change-fontification.
7588 (c-set-fl-decl-start): Rejig its interface, so it can be called
7589 from both after-change and context fontifying.
b81d40f0
JB
7590 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7591 New functions.
7592 (c-standard-font-lock-fontify-region-function): New variable.
7593 (c-font-lock-fontify-region): New function.
be8b11bb 7594
341cf6ac
JL
75952011-12-24 Juri Linkov <juri@jurta.org>
7596
7597 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7598 (Bug#10348)
7599
bffcee0a
MA
76002011-12-23 Michael Albinus <michael.albinus@gmx.de>
7601
7602 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7603 existence of source file. (Bug#10325)
7604
cb5e207c
AM
76052011-12-23 Alan Mackenzie <acm@muc.de>
7606
7607 Fix unstable fontification inside templates.
7608
b81d40f0
JB
7609 * progmodes/cc-langs.el (c-before-font-lock-functions):
7610 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7611 additionally has c-set-fl-decl-start. The other languages (apart
7612 from AWK) have that as a single entry.
7613
b81d40f0
JB
7614 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7615 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7616 c-set-fl-decl-start.
7617
b81d40f0
JB
7618 * progmodes/cc-mode.el (c-common-init, c-after-change):
7619 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7620 (c-set-fl-decl-start): New function, extracted from
7621 c-font-lock-enclosing-decls and enhanced.
7622
60ff536c
JB
76232011-12-23 Juanma Barranquero <lekktu@gmail.com>
7624
7625 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7626
1c4757d6
JL
76272011-12-22 Juri Linkov <juri@jurta.org>
7628
7629 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7630
d031f2c7
CY
76312011-12-22 Chong Yidong <cyd@gnu.org>
7632
7633 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7634
bace743a
DA
76352011-12-21 Drew Adams <drew.adams@oracle.com>
7636
7637 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7638
728a1f2b
JC
76392011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7640
7641 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7642
0d373f73
TZ
76432011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7644
fec0aaa4
TZ
7645 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7646 highlighting and support. Fix up comments for capitalization.
7647 (cfengine-mode-debug): New var.
7648 (cfengine3-mode): Change the modeline indicator to "CFE3".
7649 (cfengine3-font-lock-keywords): Improve defun highlighting.
7650 (cfengine2-actions): Rename from `cfengine-actions'.
7651 (cfengine2-font-lock-keywords): Rename from
7652 `cfengine-font-lock-keywords'.
7653 (cfengine2-imenu-expression): Rename from
7654 `cfengine-imenu-expression'.
7655 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7656 (cfengine2-beginning-of-defun): Rename from
7657 `cfengine-beginning-of-defun'.
7658 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7659 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7660 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7661 modeline indicator to "CFE2".
7662 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7663 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7664
bc86f573
CY
76652011-12-21 Chong Yidong <cyd@gnu.org>
7666
7667 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7668 filename argument.
7669
d45ba96b
MR
76702011-12-20 Martin Rudalics <rudalics@gmx.at>
7671
7672 * window.el (window-normalize-buffer-to-display): Remove.
7673 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7674
a6198c90
CY
76752011-12-19 Chong Yidong <cyd@gnu.org>
7676
7677 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7678 Don't signal an error in a predicate function; return non-nil.
7679 (vc-dir-mark-file): Move the error here.
7680 (vc-dir-mark-unmark): If acting on the region, keep going if one
7681 of the entries cannot be marked/unmarked.
7682 (vc-dir-mark-all-files): If current entry is a directory, mark
7683 only child files, as documented.
7684
34c5fb55
VB
76852011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7686
7687 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7688 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7689 addition.
7690
c803b2b7
JD
76912011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7692
7693 * term/ns-win.el (ns-get-selection-internal)
7694 (ns-store-selection-internal): Declare.
1154d12e
JB
7695 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7696 Declare as obsolete.
7697 (ns-get-pasteboard, ns-paste-secondary):
7698 Use ns-get-selection-internal.
7699 (ns-set-pasteboard, ns-copy-including-secondary):
7700 Use ns-store-selection-internal.
c803b2b7 7701
9cff91f8 77022011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7703
7704 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7705 (vc-deduce-fileset): Doc fix.
99a289d9 7706
f16c898a
AS
77072011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7708
7709 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7710
763237c4
SS
77112011-12-13 Sam Steingold <sds@gnu.org>
7712
7713 * man.el (Man-getpage-in-background): When running under a
7714 window-system, ignore $MANWIDTH and $COLUMNS.
7715
5fc1c122
KH
77162011-12-15 Kenichi Handa <handa@m17n.org>
7717
7718 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7719 (setup-ethiopic-environment-internal): Comment out key-binding for
7720 ethio-toggle-punctuation.
7721
13d49cbb
AM
77222011-12-13 Alan Mackenzie <acm@muc.de>
7723
898169a2
AM
7724 Add the switch statement to AWK Mode.
7725
7a71b18d 7726 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7727 "default" to the keywords regexp.
7728
7a71b18d 7729 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7730 expression as the rest.
1d00653d
SM
7731 (c-nonlabel-token-key): Allow string literals for AWK.
7732 Refactor for the other modes.
898169a2 7733
13d49cbb 7734 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7735 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7736 routines. Limit backward searching in c-font-lock-enclosing.decl.
7737
7738 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7739 pp-state and literal type in addition to the limits.
1d00653d 7740 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7741 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7742 (c-slow-in-literal, c-fast-in-literal): Remove.
7743 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7744
7745 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7746 being in a literal. Add a limit for backward searching.
7747
7748 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7749 c-slow-in-literal.
7750
15e0efc7
SM
77512011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7754
454592a6
MR
77552011-12-13 Martin Rudalics <rudalics@gmx.at>
7756
7757 * window.el (delete-other-windows): Use correct frame in call to
7758 window-with-parameter.
7759
87393f26
DP
77602011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7761
7762 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7763 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7764 (makefile-gmake-statements, makefile-makepp-statements):
7765 Use it and add new makepp keywords.
7766 (makefile-makepp-font-lock-keywords): Add new patterns.
7767 (makefile-match-function-end): Match new [...] and [[...]].
7768
11636b22
JB
77692011-12-11 Juanma Barranquero <lekktu@gmail.com>
7770
7771 * ses.el (ses-call-printer-return, ses-cell-property-get)
7772 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7773 (ses-create-cell-variable, ses-reset-header-string)
7774 (ses-cell-set-formula, ses-repair-cell-reference-all)
7775 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7776 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7777 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7778 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7779 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7780 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7781 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7782 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7783 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7784 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7785 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7786 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7787
cf018193
VB
77882011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7789
7790 * ses.el: The overall change is to add cell renaming, that is
7791 setting fancy names for cell symbols other than name matching
7792 "\\`[A-Z]+[0-9]+\\'" regexp .
7793 (ses-create-cell-variable): New defun.
7794 (ses-relocate-formula): Relocate formulas only for cells the
7795 symbols of which are not renamed, i.e. symbols whose names do not
7796 match regexp "\\`[A-Z]+[0-9]+\\'".
7797 (ses-relocate-all): Relocate values only for cells the symbols of
7798 which are not renamed.
7799 (ses-load): Create cells variables as the (ses-cell ...) are read,
7800 in order to check row col consistency with cell symbol name only
7801 for cells that are not renamed.
7802 (ses-replace-name-in-formula): New defun.
7803 (ses-rename-cell): New defun.
7804
ee957461
CY
78052011-12-11 Chong Yidong <cyd@gnu.org>
7806
7807 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7808 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7809
9a9e9ef0
MR
78102011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7811
7812 * window.el (other-window): Fix docstring.
7813
92a8eba5
EZ
78142011-12-10 Eli Zaretskii <eliz@gnu.org>
7815
7816 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7817 `from' or `to' address before taking its substring.
7818 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7819 encoded name is chopped in the middle of the encoded string, and
7820 thus displayed encoded.
7821
e152e577
JB
78222011-12-10 Juanma Barranquero <lekktu@gmail.com>
7823
7824 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7825
e5d84bfe
EZ
78262011-12-10 Eli Zaretskii <eliz@gnu.org>
7827
7828 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7829 to use texinfo-update-node and commands that call it if the
7830 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7831 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7832 (texinfo-all-menus-update, texinfo-master-menu)
7833 (texinfo-update-node, texinfo-every-node-update)
7834 (texinfo-multiple-files-update): Doc fix. Warn against updating
7835 all the @node lines.
7836 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7837 argument is numeric. Explain better in the doc string what the
7838 function really does.
7839 (texinfo-insert-master-menu-list): Improve the error message
7840 displayed if there's no menu in the Top node.
7841 (Bug#2975) See also this thread:
e5d84bfe
EZ
7842 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7843
1d84e9bb
MG
78442011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7845
7846 * speedbar.el (speedbar-supported-extension-expressions):
7847 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7848
382c953b
JB
78492011-12-09 Juanma Barranquero <lekktu@gmail.com>
7850
7851 * printing.el (pr-mode-alist):
7852 * simple.el (filter-buffer-substring-functions)
7853 (completion-list-insert-choice-function):
7854 * window.el (window-with-parameter, window-atom-root)
7855 (window-sides-slots, window-size-fixed, window-min-delta)
7856 (window-max-delta, window--resize-mini-window)
7857 (window--resize-child-windows-normal, window-tree)
7858 (delete-other-windows, quit-window, split-window)
7859 (display-buffer-record-window, special-display-buffer-names)
7860 (special-display-regexps, special-display-popup-frame)
7861 (same-window-p, split-window-sensibly)
7862 (display-buffer-overriding-action, display-buffer-alist)
7863 (display-buffer-base-action, display-buffer, switch-to-buffer)
7864 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7865 (fit-window-to-buffer, recenter-positions)
7866 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7867 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7868 and remove unneeded backslashes in docstrings.
7869
39c9faef
SM
78702011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7871
98449af8
SM
7872 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7873
39c9faef
SM
7874 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7875 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7876 end in ".mk".
7877 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7878 when reading the makefile (bug#10116).
7879
86ed9fdc
SM
78802011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7883 (bug#10116).
7884
5580f89d
GM
78852011-12-06 Glenn Morris <rgm@gnu.org>
7886
7887 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7888
28d3917c
CY
78892011-12-06 Chong Yidong <cyd@gnu.org>
7890
7891 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7892
a98edce9
JB
78932011-12-06 Juanma Barranquero <lekktu@gmail.com>
7894
7895 * textmodes/table.el (table-shorten-cell): Fix typo.
7896
e65adfac
CG
78972011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7898
7899 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7900
71cc0b74
EZ
79012011-12-05 Eli Zaretskii <eliz@gnu.org>
7902
7903 * descr-text.el (describe-char): Fix display of strong
7904 right-to-left characters and directional embeddings and overrides.
7905
7906 * simple.el (what-cursor-position): Fix display of codepoints of
7907 strong right-to-left characters.
7908
315bc30d
CY
79092011-12-05 Chong Yidong <cyd@gnu.org>
7910
7911 * faces.el (read-color): Doc fix.
7912
58a70b94
GM
79132011-12-05 Glenn Morris <rgm@gnu.org>
7914
7915 * align.el (align--set-marker): Add doc-string.
7916 Don't try to move something that is not a marker. (Bug#10216)
7917
5158face
GM
79182011-12-04 Glenn Morris <rgm@gnu.org>
7919
7920 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7921 overly zealous deletion of trailing whitespace.
7922
520fca41
JB
79232011-12-04 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * server.el (server-delete-client): On Windows, do not try to delete
7926 the only terminal.
7927 (server-process-filter): On Windows, treat requests for a tty frame as
7928 if they were for a GUI frame if the running server is in GUI mode.
7929
5e605a2e
GM
79302011-12-03 Glenn Morris <rgm@gnu.org>
7931
7932 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7933
5c3fe83f
SM
79342011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7935
6f5e57e7
SM
7936 * electric.el: Streamline electric-indent's hook.
7937 (electric-indent-chars): Revert to simple list.
7938 (electric-indent-functions): New var.
7939 (electric-indent-post-self-insert-function): Use it.
7940
5c3fe83f
SM
7941 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7942 there's no inferior buffer (bug#10196).
7943 (prolog-consult-compile): Don't use toggle-read-only.
7944
6bdac736
MA
79452011-12-02 Michael Albinus <michael.albinus@gmx.de>
7946
7947 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7948 interrupt. (Bug#10187)
7949
6131ba7f
SM
79502011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7951
99c79fee
SM
7952 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7953 (bug#9160).
7954
6131ba7f
SM
7955 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7956 (bug#10191).
7957
cb0a02ea
JL
79582011-12-02 Juri Linkov <juri@jurta.org>
7959
7960 * info.el (Info-search): Display "end of manual" when Isearch
7961 reaches the end of single-file Info manual. (Bug#9918)
7962
66e0570c
EZ
79632011-12-02 Eli Zaretskii <eliz@gnu.org>
7964
7965 * isearch.el (isearch-message-prefix): Run the input method part
7966 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7967
02b16839
JL
79682011-12-02 Juri Linkov <juri@jurta.org>
7969
7970 * isearch.el (isearch-occur): Use `word-search-regexp' for
7971 `isearch-word'.
7972 (isearch-search-and-update): Add condition for `isearch-word' and
7973 call `word-search-regexp'. (Bug#10145)
7974
0b950688
GM
79752011-12-01 Glenn Morris <rgm@gnu.org>
7976
7977 * eshell/em-hist.el (eshell-hist-initialize):
7978 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7979 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7980
9505c3c7
SM
79812011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7984
1bbe96b2 79852011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7986
a1beca85
SM
7987 * progmodes/verilog-mode.el (verilog-pretty-expr):
7988 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7989 verilog, such as += *= and the like.
7990 (verilog-assignment-operator-re): Regular expression to find the
7991 assigment operator in a verilog assignment.
7992 (verilog-assignment-operation-re): Regular expression to find an
7993 assignment statement for pretty-expr.
7994 (verilog-in-attribute-p): Query returns true if point is in an
7995 attribute context; used to skip these for expression line up from
7996 pretty-expr.
7997 (verilog-in-parameter-p): Query returns true if point is in an
7998 parameter definition context; used to skip these for expression
7999 line up from pretty-expr.
8000 (verilog-in-parenthesis-p): Query returns true if point is in a
8001 parenthetical expression, specifically ( ) but not [ ] or { };
8002 used by pretty-expr.
8003 (verilog-just-one-space): If there is no space, don't add one.
8004 (verilog-get-lineup-indent-2): Specifically skip just attribute
8005 contexts for expression lineup, rather than skipping all
8006 parenthetical expressions.
8007 (verilog-calculate-indent): Fix comment, and fix indent.
8008 (verilog-do-indent): Indent declarations in lists (suggested by
8009 Joachim Lechner).
8010 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8011 skeleton items.
8012 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8013 by Alain Mellan).
8014
1bbe96b2 80152011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8016
8017 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8018 parameters with embedded comments. Reported by Ray Stevens.
8019 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8020 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8021 Reported by Tim Holt.
8022 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8023 instantiated by upper module causing wrong expansion until AUTOed a
8024 second time. Reported by K C Buckenmaier.
8025 (verilog-diff-auto): Fix showing .* as a difference when
8026 `verilog-auto-star-save' off. Reported by Dan Dever.
8027 (verilog-auto-reset, verilog-read-always-signals)
8028 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8029 temporary signals in reset list if
8030 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8031 style to each signal's assignment type, bug381.
8032 Reported by Thomas Esposito.
6288f0ca
WS
8033 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8034 (verilog-uvm-statement-re): Support UVM indentation and
8035 highlighting, with old OVM keywords only.
a1beca85 8036 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8037 Support AUTOTIEOFF creating non-wire data types.
8038 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8039 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8040 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8041 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8042 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8043 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8044 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8045 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8046 non-numeric vector width. Reported by Alex Reed.
8047 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8048 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8049 (verilog-auto-delete-trailing-whitespace):
8050 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8051 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8052 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8053 Fix verilog-scan-cache corruption when running user AUTO expansion
8054 hooks that call indentation routines.
8055 (verilog-simplify-range-expression): Fix typo ignoring lower case
8056 identifiers.
8057 (verilog-delete-auto): Fix delete-autos to also remove user created
8058 automatics, as long as they start with AUTO.
8059 (verilog-batch-diff-auto, verilog-diff-auto)
8060 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8061 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8062 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8063 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8064 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8065 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8066 is disabled and its cache will get corrupt, causing AUTOS not to
8067 expand. Instead use only -quick functions.
8068 (verilog-scan-region): Fix scanning over escaped quotes.
8069 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8070 (verilog-re-search-backward-quick)
8071 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8072 related functions now ignore strings, to fix misparsing of strings
8073 with magic comments embedded in them.
a1beca85
SM
8074 (verilog-read-auto-template):
8075 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8076 Reported by Brad Dobbie.
8077 (verilog-read-auto-template):
8078 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8079 Reported by Brad Dobbie.
6288f0ca
WS
8080 (verilog-auto-inst, verilog-auto-inst-param)
8081 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8082 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8083 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8084 debugging templates without merge conflicts, bug357.
8085 Reported by Brad Dobbie.
8086 (verilog-read-auto-template):
8087 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8088 Reported by Brad Dobbie.
8089 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8090 abbrevs so user won't be asked to save.
8091 (verilog-read-auto-lisp-present): Fix to start at beginning of
8092 buffer in case called outside of verilog-auto.
8093 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8094 to "X-2". Reported by Matthew Myers.
8095 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8096 all inputs from module templates. Reported by Leith Johnson.
8097 (verilog-module-inside-filename-p): Fix locating programs as with
8098 modules.
8099 (verilog-auto-inst-port): Fix vl-width expressions when using
8100 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8101 (verilog-decls-get-regs, verilog-decls-get-signals,
8102 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8103 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8104 verilog-read-decls): Combine reg and wire structures into one var
8105 structure to represent SystemVerilog concepts.
8106 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8107 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8108 (verilog-auto-wire-type, verilog-insert-definition):
8109 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8110 SystemVerilog "logic" keyword instead of "wire"/"reg".
8111 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8112 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8113 ifdef or generate if so there's not a driver conflict).
8114 Reported by Matthew Myers.
8115 (verilog-auto-declare-nettype, verilog-insert-definition):
8116 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8117 `default_nettype none. Reported by Julian Gorfajn.
8118 (verilog-read-always-signals-recurse, verilog-read-decls)
8119 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8120 malformed end statement, bug325. Reported by Joshua Wise and
8121 Andrew Drake.
8122 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8123 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8124 when expanding .* in interfaces, bug320.
8125 Reported by Pierre-David Pfister.
6288f0ca 8126 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8127 name and open parenthesis, bug317.
8128 Reported by Pierre-David Pfister.
6288f0ca
WS
8129 (verilog-simplify-range-expression): Fix simplification of
8130 multiplications inside AUTOWIRE connections, bug303.
8131 (verilog-auto-inst-port): Support parameter expansion in
8132 multidimensional arrays.
8133 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8134 after "assert property". Reported by Julian Gorfajn.
8135 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8136 with multiplication, bug303.
8137 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8138 Reported by Jan Frode Lonnum.
8139
1bbe96b2
GM
81402011-11-30 Juanma Barranquero <lekktu@gmail.com>
8141
8142 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8143 (hfy-shell-file-name, hfy-shell):
8144 * international/fontset.el (x-decompose-font-name): Fix typos.
8145
81462011-11-29 Ken Brown <kbrown@cornell.edu>
8147
8148 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8149 (gdb-version): Remove defvar.
8150 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8151 (gdb-gud-context-command, gdb-non-stop-handler)
8152 (gdb-current-context-command, gdb-stopped): Use it.
8153 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8154 (gdb-non-stop-handler): Don't enable pretty-printing here.
8155 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8156 non-stop mode. Use the following.
8157 (gdb-check-target-async): New defun.
8158 (gud-watch, gdb-stopped): Fix whitespace.
8159 (gdb-get-source-file): Don't try to display the source file if
8160 `gdb-main-file' is nil.
8161
81622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * align.el: Try to generate fewer markers (bug#10047).
8165 (align--set-marker): New macro.
8166 (align-region): Use it.
8167
c935221f
SM
81682011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8171
e70b5064
CY
81722011-11-29 Chong Yidong <cyd@gnu.org>
8173
8174 * indent.el (indent-for-tab-command, indent-according-to-mode):
8175 Doc fix.
8176 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8177
f3af92b7
MA
81782011-11-29 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8181 aware of remote file names. (Bug#10124)
8182
ed472be9
CY
81832011-11-29 Chong Yidong <cyd@gnu.org>
8184
8185 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8186
24510c22
SM
81872011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * files.el (find-file): Don't use force-same-window (bug#10144).
8190 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8191 use pop-to-buffer if the selected window can't be used.
8192 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8193
c60c3703
EZ
81942011-11-28 Eli Zaretskii <eliz@gnu.org>
8195
8196 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8197 special-mode-map.
8198
e95def75
CY
81992011-11-28 Chong Yidong <cyd@gnu.org>
8200
8201 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8202
c3f1c606
NR
82032011-11-27 Nick Roberts <nickrob@snap.net.nz>
8204
8205 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8206 gdb-get-source-file-list on gdb-create-source-file-list.
8207
00db469c
EZ
82082011-11-26 Eli Zaretskii <eliz@gnu.org>
8209
8210 * whitespace.el (whitespace-newline): Use a different foreground
8211 color for 16-color light-background displays.
8212
4ad3bc2a
CY
82132011-11-24 Chong Yidong <cyd@gnu.org>
8214
8215 * window.el (display-buffer--special-action): Doc fix.
8216
e9fce1ac
JB
82172011-11-25 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8220 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8221 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8222 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8223 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8224 (avl-tree-stack-first):
8225 * emacs-lisp/cconv.el (cconv--analyse-use):
8226 * net/gnutls.el (gnutls-negotiate): Fix typos.
8227
cb825e5d
GM
82282011-11-24 Glenn Morris <rgm@gnu.org>
8229
3adbe224
GM
8230 * lpr.el (lpr-windows-system, lpr-lp-system):
8231 * mail/binhex.el (binhex-begin-line):
8232 * progmodes/grep.el (grep-history, grep-find-history):
8233 * textmodes/flyspell.el:
8234 * vc/pcvs-defs.el (cvs-global-menu):
8235 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8236 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8237 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8238
321decc8
GM
8239 * net/tls.el: Fix case of "GnuTLS".
8240
420b63ad
GM
8241 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8242
cb825e5d
GM
8243 * version.el (emacs-build-system): Give it a doc-string.
8244
a0649f08
JL
82452011-11-24 Juri Linkov <juri@jurta.org>
8246
8247 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8248
c0bc0fd4
GM
82492011-11-24 Glenn Morris <rgm@gnu.org>
8250
8251 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8252 if called on a non-mime message just toggle the headers. (Bug#8006)
8253
20db1522
JB
82542011-11-24 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8257 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8258 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8259 (allout-rebullet-heading, allout-open-sibtopic)
8260 (allout-toggle-current-subtree-encryption)
8261 (allout-toggle-subtree-encryption, allout-encrypt-string)
8262 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8263 (allout-distinctive-bullets-string, allout-auto-activation):
8264 * window.el (window-normalize-buffer-to-display):
8265 * progmodes/verilog-mode.el (verilog-batch-indent):
8266 * textmodes/bibtex.el (bibtex-field-braces-opt)
8267 (bibtex-field-strings-opt):
8268 * vc/cvs-status.el (cvs-tree-merge):
8269 Fix typos.
8270
7262a87c
MA
82712011-11-23 Michael Albinus <michael.albinus@gmx.de>
8272
8273 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8274 `non-essential' to t, in order to avoid remote connections.
8275
283430a1
EZ
82762011-11-23 Eli Zaretskii <eliz@gnu.org>
8277
a1beca85
SM
8278 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8279 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8280 case-insensitively.
8281
d2992a38
ML
82822011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8283
8284 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8285
50419064
GM
82862011-11-23 Glenn Morris <rgm@gnu.org>
8287
da94eca1
GM
8288 * paths.el (rmail-file-name): Reformat the doc-string so that it
8289 is picked up.
8290
9aac4de2
GM
8291 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8292 (rmail-auto-file): Ignore case in the "special" field names,
8293 as mail-fetch-field does for all others.
8294
8038d2d2
GM
8295 * mail/rmail.el (rmail-forward):
8296 * mail/rmailkwd.el (rmail-set-label):
8297 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8298 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8299
f3fe222a
GM
8300 * mail/rmail.el (rmail-current-message): Doc fix.
8301
50419064
GM
8302 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8303
28109f49
SM
83042011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8307
394c65f1
GM
83082011-11-22 Glenn Morris <rgm@gnu.org>
8309
8310 * mail/rmailmm.el (test-rmail-mime-handler)
8311 (test-rmail-mime-bulk-handler)
8312 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8313
f2a0aa3a
JL
83142011-11-21 Juri Linkov <juri@jurta.org>
8315
1154d12e
JB
8316 * calc/calc.el (calc-read-key-sequence):
8317 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8318
9c34a344
LMI
83192011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8320
8321 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8322 Tell the caller that the next line needs recomputation, even
8323 though it doesn't start a sexp (bug#10094).
8324
f04a3be9
SM
83252011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8328
7978747f
SM
83292011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8330
f04a3be9
SM
8331 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8332 Use force-same-window.
7978747f 8333
fe7a3057
JB
83342011-11-20 Juanma Barranquero <lekktu@gmail.com>
8335
8336 * descr-text.el (describe-char-unicode-data):
8337 * json.el (json-string-escape):
8338 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8339 (Footnote-unicode, Footnote-style-p):
8340 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8341
24901d61
CY
83422011-11-20 Chong Yidong <cyd@gnu.org>
8343
8344 * window.el (replace-buffer-in-windows): Restore interactive spec.
8345
bac7ff22
SM
83462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8347
24f3d7b9
SM
8348 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8349
bac7ff22
SM
8350 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8351 (byte-compile-global-not-obsolete-vars): New var.
8352 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8353 Use it.
8354 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8355
cd1181db
JB
83562011-11-20 Juanma Barranquero <lekktu@gmail.com>
8357
8358 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8359 * progmodes/pascal.el (electric-pascal-equal):
8360 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8361 * xml.el (xml-substitute-special): Fix typos.
8362
7fb18e9e
GM
83632011-11-20 Glenn Morris <rgm@gnu.org>
8364
8365 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8366 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8367 Doc fixes.
8368 (rmail-decode-mime-charset): Mark as obsolete.
8369
8370 * mail/rmailsum.el (rmail-message-regexp-p-1):
8371 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8372 Before using mime functions, check they are set. (Bug#10077)
8373
d5a6b3ba
JL
83742011-11-19 Juri Linkov <juri@jurta.org>
8375
8376 * info.el (Info-finder-find-node): Use `package--builtins' instead
8377 of `package-alist'. Use node names formed by the pattern "Keyword "
8378 and the keyword name.
8379
e981b61f
AS
83802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8381
1d00653d 8382 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8383
3ffbc301
JL
83842011-11-19 Juri Linkov <juri@jurta.org>
8385
8386 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8387 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8388 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8389 `old-history', `old-history-forward'. Add let-binding
8390 `window-selected'. Remove calls to `kill-buffer',
8391 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8392 before calling `Info-find-node', so `Info-find-node-2' will reread
8393 the Info file. Restore window positions only when `window-selected'
8394 is non-nil.
8395
30c62133
JL
83962011-11-19 Juri Linkov <juri@jurta.org>
8397
8398 * isearch.el (isearch-lazy-highlight-new-loop):
8399 Remove condition `(not isearch-error)'. (Bug#9918)
8400
8401 * misearch.el (multi-isearch-search-fun): Add condition
8402 `(not bound)' to ignore lazy-highlighting search.
8403 Add the search-failed message "end of multi" when the end of
8404 multi-sequence is reached. Uncapitalize the search-failed
8405 message "Repeat for next buffer".
8406
8407 * info.el (Info-search): Add the search-failed message
8408 "end of the manual" when the end of the manual is reached
8409 in Isearch mode.
8410
645ca9cf
JL
84112011-11-19 Juri Linkov <juri@jurta.org>
8412
8413 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8414 Use non-destructive `remove' instead of `delete' because
8415 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8416 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8417
df754f66
JL
84182011-11-19 Juri Linkov <juri@jurta.org>
8419
8420 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8421 to nil instead of binding `search-ring' and `regexp-search-ring'.
8422 (Bug#9185)
8423
0e23d96a
EZ
84242011-11-19 Eli Zaretskii <eliz@gnu.org>
8425
8426 * simple.el (line-move): Force movement by logical lines for any
8427 hscrolled window, not only when auto-hscroll-mode is on.
8428 (line-move-visual): Update doc string to that effect. (Bug#10076)
8429
8a6ccb66
AS
84302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8431
8432 * language/european.el (macintosh): Define as alias for mac-roman.
8433
49ae5b39
EZ
84342011-11-19 Eli Zaretskii <eliz@gnu.org>
8435
8436 * mail/rmailmm.el (rmail-mime-display-header)
8437 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8438 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8439 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8440 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8441 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8442 of a raw aref.
8443 (rmail-mime-entity-segment): To get past the tagline, move forward
8444 2 more lines, to account for the 2 empty lines that precede and
8445 follow the line with the buttons.
8446 (rmail-mime-update-tagline): Move one more line, to get past the
8447 empty line that follows the buttons in the tagline. (Bug#9520)
8448
c56cad4a
MR
84492011-11-19 Martin Rudalics <rudalics@gmx.at>
8450
8451 * window.el (window-max-delta-1, window-min-delta-1)
8452 (window-min-size-1, window-state-get-1, window-state-put-1)
8453 (window-state-put-2): Use "window--" prefix.
8454
cbe71af3
SM
84552011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8456
2ad52c60
SM
8457 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8458 (smie-warning-count): New var.
8459 (smie-set-prec2tab): Use it.
8460 (smie-bnf->prec2): Improve warnings. Add docstring.
8461 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8462 (smie-bnf--set-class): New function.
8463 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8464 corner case.
8465
6944dbc1
SM
8466 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8467 (compilation-error-properties, compilation-move-to-column):
8468 Handle compilation-first-column while in the target buffer.
8469
c400c4d7
SM
8470 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8471 Don't hardcode point-min==1.
8472
6dbe3e96
SM
8473 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8474 (eshell-rewrite-for-command): Remove workaround.
8475 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8476 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8477 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8478
cbe71af3
SM
8479 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8480
a8e1496d
GM
84812011-11-17 Glenn Morris <rgm@gnu.org>
8482
8483 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8484 Ignore buffer-local generated-autoload-file if it is the same
8485 as the global value. (Bug#10049)
8486
df85d315
JB
84872011-11-17 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8490 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8491 (reftex-toc-previous-heading, reftex-toc-max-level)
8492 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8493 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8494 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8495 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8496 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8497 (reftex-toc-rename-label, reftex-toc-visit-location)
8498 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8499 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8500 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8501 leaving "*toc*" only for references to the buffer.
8502
a0c2d0ae
MR
85032011-11-17 Martin Rudalics <rudalics@gmx.at>
8504
8505 * window.el (window-resize, delete-window, split-window):
8506 Replace window-splits by window-combination-resize.
1d00653d 8507 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8508
35c0bac8
GM
85092011-11-17 Glenn Morris <rgm@gnu.org>
8510
8511 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8512 Make bash entry derive from sh entry, not shell entry.
8513
d0c8fc8a
MA
85142011-11-16 Michael Albinus <michael.albinus@gmx.de>
8515
7262a87c
MA
8516 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8517 local file name.
8518
7877f373
JB
85192011-11-16 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * menu-bar.el (menu-bar-file-menu):
8522 * printing.el (pr-ps-utility):
8523 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8524 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8525 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8526 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8527 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8528 (icalendar--convert-cyclic-to-ical)
8529 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8530 (icalendar--convert-ical-to-diary)
8531 (icalendar--convert-recurring-to-diary)
8532 (icalendar--convert-non-recurring-all-day-to-diary)
8533 (icalendar-import-format-sample):
8534 * progmodes/idlw-shell.el (idlwave-shell-mode):
8535 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8536 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8537 (vhdl-ps-print-init): Fix typos.
8538
10649b82
KM
85392011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8540
9d0cfcd6
GM
8541 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8542 FSF and collapse date sequence, obscure author/maintainer email address
8543 better, remove extra version line, track relocation of author's webpage.
10649b82 8544
9d0cfcd6
GM
8545 * progmodes/python.el (python-pdbtrack-input-prompt)
8546 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8547 regular python pdb prompts. Adjustments shamelessly taken exactly as
8548 suggested in EmacsWiki page (tiny change):
8549 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8550
58179cce
JB
85512011-11-16 Juanma Barranquero <lekktu@gmail.com>
8552
8553 * expand.el (expand-pos, expand-index, expand-point):
8554 Remove redundant info from docstring.
8555 (expand-add-abbrevs): Doc fix.
8556 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8557 (expand-sample-perl-mode-expand-list): Fix typos.
8558
8559 * net/dbus.el (dbus-event-member-name):
8560 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8561 * term/pc-win.el (msdos-create-frame-with-faces):
8562 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8563
b6f67890
MR
85642011-11-16 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (split-window, window-state-get-1)
8567 (window-state-put-1, window-state-put-2): Rename occurrences of
8568 window-nest to window-combination-limit.
1d00653d 8569 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8570
ce7ddba0
CY
85712011-11-16 Chong Yidong <cyd@gnu.org>
8572
8573 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8574 regexp (Bug#10033).
8575
3ae704f4
SM
85762011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8579 `completing-read' will remove *Completions* and will preserve
8580 current-buffer for us.
8581 (tmm-add-prompt): Users of *Completions* will always (re)set its
8582 major mode.
8583 (tmm-old-comp-map): Remove.
8584
6ad1cdde
GM
85852011-11-16 Glenn Morris <rgm@gnu.org>
8586
8587 * mail/rmailedit.el: Require rmailmm when compiling.
8588 (rmail-old-mime-state): New declaration.
8589 (rmail-edit-current-message): If editing a mime message,
8590 edit the "raw" message from the mbox buffer.
8591 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8592
d20faa20
GM
85932011-11-15 Glenn Morris <rgm@gnu.org>
8594
8595 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8596 which wasn't being used. Add optional arg to force given state.
8597 (rmail-mime): Add optional arg to force given state.
8598
c7015153
JB
85992011-11-15 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8602 * frame.el (display-mm-dimensions-alist):
8603 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8604 (outline-move-subtree-down):
8605 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8606 (newsticker--treeview-do-get-node):
8607 * net/quickurl.el (quickurl-list-buffer-name):
8608 * progmodes/dcl-mode.el (dcl-mode):
8609 * progmodes/gdb-mi.el (gdb-mapcar*):
8610 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8611
45261b50
GM
86122011-11-15 Glenn Morris <rgm@gnu.org>
8613
8614 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8615 in a boolean sense, so just make it a boolean, and fix the doc.
8616 (rmail-show-mime-function, rmail-mime-feature)
8617 (rmail-require-mime-maybe): Doc fixes.
8618 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8619
8620 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8621
0d26e0b6
JB
86222011-11-15 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8625 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8626 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8627 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8628
447f30f6
GM
86292011-11-15 Glenn Morris <rgm@gnu.org>
8630
672b871d
GM
8631 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8632 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8633 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8634 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8635 (rmail-mime, rmail-show-mime): Doc fixes.
8636
f6aa5bb1
GM
8637 * term/ns-win.el (mode-line-frame-identification):
8638 Leave it alone. (Bug#10051)
8639
947cd66b
GM
8640 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8641
447f30f6
GM
8642 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8643 Handle empty buffers. (Bug#9978)
8644
0b381c7e
JB
86452011-11-14 Juanma Barranquero <lekktu@gmail.com>
8646
8647 * international/mule.el (define-charset):
8648 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8649 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8650 * progmodes/verilog-mode.el (verilog-backward-token):
8651 * textmodes/ispell.el (lookup-words):
8652 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8653
71e027ac
GM
86542011-11-14 Glenn Morris <rgm@gnu.org>
8655
56632ce4
GM
8656 * progmodes/executable.el
8657 (executable-make-buffer-file-executable-if-script-p):
8658 Handle file-modes returning nil.
8659
40500957
GM
8660 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8661 message - not necessary, and causes problems. (Bug#9831)
8662
071c2340
GM
8663 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8664
d3cfca60
GM
8665 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8666
71e027ac
GM
8667 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8668 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8669 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8670
89d61221
MR
86712011-11-12 Martin Rudalics <rudalics@gmx.at>
8672
8673 * window.el (window-resize, delete-window): Use window-splits
8674 variable instead of function.
8675 (window-state-get-1, window-state-put-2, window-state-put):
8676 Don't deal with windows' splits status.
8677
98282f6f
GM
86782011-11-12 Glenn Morris <rgm@gnu.org>
8679
8680 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8681 (apropos-documentation): Doc fixes.
8682
40a8bdf6
JB
86832011-11-11 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8686 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8687
65bd19ff
SM
86882011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * electric.el (electric-indent-post-self-insert-function): Make it
8691 possible for a char to only indent in some circumstances.
8692 (electric-indent-mode): Simplify.
8693
54f9154c
MR
86942011-11-11 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (windows-with-parameter): Remove unused function.
8697 (windows-at-side): Rename to window-at-side-list.
8698 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8699 (window-side-check, window-size-ignore, window-size-fixed-1)
8700 (window-in-direction-2): Prefix with "window--".
8701 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8702
68cbc58b
GM
87032011-11-11 Glenn Morris <rgm@gnu.org>
8704
8705 * subr.el (eval-after-load): If FILE is already loaded,
8706 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8707
b2621720
GM
87082011-11-10 Glenn Morris <rgm@gnu.org>
8709
9a4de110
GM
8710 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8711 Call svn via vc-svn-command rather than vc-do-command.
8712 (vc-svn-command): Add --non-interactive. (Bug#9993)
8713 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8714
b2621720
GM
8715 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8716 Add toggle-read-only. (Bug#7292)
8717 * files.el (toggle-read-only): Mention that it should only
8718 be used interactively. (Bug#10006)
8719
1dce7193
SM
87202011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8721
d9ac1a1e
SM
8722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8723 Adjust regexp for OCaml warnings.
8724
0c325082
SM
8725 * electric.el (electric-pair-post-self-insert-function): Let user
8726 turn it off buffer-locally (bug#9932).
8727
90132c14
SM
8728 * progmodes/python.el (python-beginning-of-statement):
8729 Rewrite (bug#2703).
8730
1dce7193
SM
8731 * progmodes/compile.el: Better handle TABs (bug#9749).
8732 (compilation-internal-error-properties)
8733 (compilation-next-error-function): Obey the target buffer's
8734 compilation-error-screen-columns.
8735
c4e7c63a
JB
87362011-11-09 Juanma Barranquero <lekktu@gmail.com>
8737
8738 * progmodes/meta-mode.el: Remove obsolete comments.
8739 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8740 Fix typos in docstrings.
8741
2cffd681
MR
87422011-11-09 Martin Rudalics <rudalics@gmx.at>
8743
8744 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8745 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8746 (window--resizable): New function. Make all callers of
8747 window-resizable call window--resizable instead.
8748 (window-resizable): Rewrite in terms of window--resizable.
8749
0edcba87
GM
87502011-11-08 Glenn Morris <rgm@gnu.org>
8751
8752 * progmodes/delphi.el (delphi-mode-syntax-table):
8753 Let define-derived-mode define a proper syntax table. (Bug#9994)
8754
4b0d61e3
SM
87552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * window.el: Stay away from defsubst.
8758 (window-list-no-nils): Remove.
8759 (window-state-get-1, window-state-get): Use backquote instead.
8760
cd394be1 87612011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8762
4b0d61e3 8763 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8764 Fix incorrect use of default argument in `completing-read'.
8765
e1c2c6f2
MR
87662011-11-08 Martin Rudalics <rudalics@gmx.at>
8767
8768 * window.el (display-buffer-function, special-display-function):
8769 Mention display-buffer-record-window but do not mention
8770 help-setup parameter in doc-strings.
b3f4a882 8771 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8772
105216ed
CY
87732011-11-08 Chong Yidong <cyd@gnu.org>
8774
8775 * window.el (window-total-height, window-total-width): Doc fix.
8776 (window-body-size): Move from C.
8777 (window-body-height, window-body-width): Move to C.
8778
0a9f9ab5
SM
87792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * window.el: Make special-display like display-buffer-alist (bug#9532).
8782 (display-buffer--special-action): New function, morphed
8783 from display-buffer--special.
8784 (display-buffer): Use it to handle special-display-buffers at higher
8785 priority (just after display-buffer-alist).
8786 (display-buffer-fallback-action, display-buffer--other-frame-action)
8787 (pop-to-buffer-same-window): Remove display-buffer--special.
8788
a769dd15
GM
87892011-11-07 Glenn Morris <rgm@gnu.org>
8790
8791 * calendar/cal-menu.el (cal-menu-set-date-title):
8792 Do nothing if not in a calendar. (Bug#9976)
8793
05a61ee3
SM
87942011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * files.el (find-file): Always use selected-window.
8797
be7f5545
MR
87982011-11-07 Martin Rudalics <rudalics@gmx.at>
8799
8800 * window.el (window-combinations): Make WINDOW argument
8801 mandatory. Rewrite doc-string.
8802 (walk-window-subtree, window-atom-check, window-min-delta)
8803 (window-max-delta, window--resize-this-window)
8804 (window--resize-root-window-vertically, window-tree)
8805 (balance-windows, window-state-put): Rewrite doc-strings as to
8806 not mention the term "subwindow".
8807 (window--resize-subwindows-skip-p): Rename to
8808 window--resize-child-windows-skip-p.
8809 (window--resize-subwindows-normal): Rename to
8810 window--resize-child-windows-normal.
8811 (window--resize-subwindows): Rename to
8812 window--resize-child-windows.
8813 (window-or-subwindow-p): Rename to window--in-subtree-p.
8814
3c6702ef
ML
88152011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8816
8817 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8818 Ensure that mbox format messages end in two newlines (Bug#9974).
8819
49745b39
CY
88202011-11-06 Chong Yidong <cyd@gnu.org>
8821
8822 * window.el (window-combination-p): Function deleted; its
8823 side-effect is not used in any existing code.
8824 (window-combinations, window-combined-p): Call window-*-child
8825 directly.
8826
24300f5f
CY
88272011-11-05 Chong Yidong <cyd@gnu.org>
8828
8829 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8830 (window-size-ignore, window-state-get): Callers changed.
8831 (window-normalize-window): Rename from window-normalize-any-window.
8832 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8833 (window-normalize-live-window): Delete.
447f16b8
CY
8834 (window-combination-p, window-combined-p, window-combinations)
8835 (walk-window-subtree, window-atom-root, window-min-size)
8836 (window-sizable, window-sizable-p, window-size-fixed-p)
8837 (window-min-delta, window-max-delta, window-resizable)
8838 (window-resizable-p, window-full-height-p, window-full-width-p)
8839 (window-current-scroll-bars, window-point-1, set-window-point-1)
8840 (window-at-side-p, window-in-direction, window-resize)
8841 (adjust-window-trailing-edge, maximize-window, minimize-window)
8842 (window-deletable-p, delete-window, delete-other-windows)
8843 (record-window-buffer, unrecord-window-buffer)
8844 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8845 (quit-window, split-window, window-state-put)
8846 (set-window-text-height, fit-window-to-buffer)
8847 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8848
89bd5ee1
EZ
88492011-11-04 Eli Zaretskii <eliz@gnu.org>
8850
53479029
EZ
8851 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8852 rfc2047-decode-string.
8853 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8854 warnings.
8855
89bd5ee1
EZ
8856 * window.el (window-body-height, window-body-width): Mention in
8857 the doc string that the return values are in frame's canonical
8858 units. (Bug#9949)
8859
bd17fdee
AM
88602011-11-03 Alan Mackenzie <acm@muc.de>
8861
8862 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8863 change in cc-engine.el.
8864
acc825c5
SM
88652011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8868
1885e5b8
MR
88692011-11-02 Martin Rudalics <rudalics@gmx.at>
8870
8871 * window.el (quit-window): Call unrecord-window-buffer after
8872 showing another buffer in the window. (Bug#9937)
acc825c5 8873 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8874
ebe06da9
JB
88752011-11-02 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8878 Accept status with more than 9 shelves. (Bug#9935)
8879 Reported by Colin D Bennett <colin@gibibit.com>.
8880
4ee88440
MR
88812011-11-01 Martin Rudalics <rudalics@gmx.at>
8882
8883 * help.el (with-help-window): Don't reference
8884 temp-buffer-show-specifiers in doc-string.
8885
08e1d82c
AS
88862011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8887
8888 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8889 menu-item.
8890
84bd6e9e
VJL
88912011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8892
8893 * whitespace.el: New version 13.2.2.
8894 (whitespace-newline-mode): Disable properly. Reported by Sarah
8895 <EmacsWiki>.
8896
dba0634a
UJ
88972011-10-30 Ulf Jasper <ulf.jasper@web.de>
8898
8899 * net/newst-treeview.el: Remove "Time-stamp".
8900 (newsticker--group-manage-orphan-feeds): Do not call
8901 newsticker--treeview-tree-update.
db22a3c2
JB
8902 (newsticker-treeview-update, newsticker-treeview):
8903 Call newsticker--treeview-tree-update if necessary.
dba0634a 8904
3d8daefe
MR
89052011-10-30 Martin Rudalics <rudalics@gmx.at>
8906
8907 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8908 (window-iso-combinations): Remove "iso-" infix.
8909 Suggested by Chong Yidong.
3d8daefe
MR
8910 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8911 (window-max-delta-1, window-resize, window--resize-siblings)
8912 (window--resize-this-window, adjust-window-trailing-edge)
8913 (split-window, balance-windows-1)
8914 (shrink-window-if-larger-than-buffer):
8915 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8916 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8917
1bc4c3ae
SM
89182011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8921 in place (bug#9907).
8922 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8923 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8924 (eshell-structure-basic-command, eshell-rewrite-while-command)
8925 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8926 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8927 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8928 (eshell-do-pipelines-synchronously, eshell-eval-command):
8929 Use backquotes and prefer setq to set.
8930 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8931 (eshell-macrop): Use functionp.
c1e2f5fa 8932 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8933
30b65d9c
CY
89342011-10-30 Chong Yidong <cyd@gnu.org>
8935
8936 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8937 instead of set-mark (Bug#9810).
8938
2d197ffb
CY
89392011-10-30 Chong Yidong <cyd@gnu.org>
8940
8941 * window.el (split-window-below, split-window-right): Rename from
8942 split-window-above-each-other and split-window-side-by-side
8943 respectively. All callers changed.
8944 (split-window-sensibly, split-window-sensibly): Use them.
8945 (split-window-keep-point): Doc fix.
8946
8947 * isearch.el: Add isearch-scroll property to split-window-below
8948 and split-window-right.
8949
8950 * follow.el (follow-mode):
8951 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8952 * progmodes/ada-xref.el (ada-gdb-application):
8953 * emulation/vip.el (vip-buffer-in-two-windows):
8954 * image-dired.el (image-dired-dired-with-window-configuration):
8955 * dired-x.el (dired-do-find-marked-files):
8956 * dired.el (dired-pop-to-buffer):
8957 * bs.el (bs--show-with-configuration):
8958 * vc/emerge.el (emerge-setup-windows):
8959 * textmodes/two-column.el (2C-two-columns):
8960 * textmodes/reftex-toc.el (reftex-toc):
8961 * progmodes/gdb-mi.el (gdb-setup-windows):
8962 * progmodes/fortran.el (fortran-window-create):
8963 * net/newst-treeview.el (newsticker--treeview-window-init):
8964 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8965 * emulation/tpu-edt.el (tpu-gold-map):
8966 * emulation/crisp.el (crisp-mode-map):
8967 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8968
38bb2ca8
CY
89692011-10-29 Chong Yidong <cyd@gnu.org>
8970
aa4de341
CY
8971 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8972
e1eb5385
CY
8973 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8974
5d2ece3c
CY
8975 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8976 forged Ispell output (Bug#7904).
8977
38bb2ca8
CY
8978 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8979
d0af9f77
SM
89802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * doc-view.el: Avoid ugly errors about not finding nil.
8983 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8984 (doc-view-dvipdf-program, doc-view-unoconv-program)
8985 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8986 Avoid nil or absolute file name as default value.
8987 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8988
52bedd34
AM
89892011-10-28 Alan Mackenzie <acm@muc.de>
8990
db22a3c2 8991 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8992
7e43cfa5
AM
89932011-10-28 Alan Mackenzie <acm@muc.de>
8994
8995 Amend the handling of c-beginning/end-of-defun in nested declaration
8996 scopes.
8997
52bedd34
AM
8998 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8999 cc-langs.el. Change it to a defcustom.
7e43cfa5 9000
52bedd34
AM
9001 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9002 cc-vars.el.
7e43cfa5 9003
d0af9f77
SM
9004 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9005 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9006
52bedd34 9007 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9008 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9009 (c-widen-to-enclosing-decl-scope): New function.
9010 (c-while-widening-to-decl-block): New macro.
9011 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9012 outward for defun boundaries, and correspondingly change symbol
9013 `respect-enclosure' to `go-outward'.
9014 (c-declaration-limits): Change algorithm to report only the "innermost"
9015 defun's boundaries.
9016
1a2ce9ee
DD
90172011-10-28 Deniz Dogan <deniz@dogan.se>
9018
9019 * net/rcirc.el (rcirc-mode): Use hard newlines.
9020
bc97a826
AM
90212011-10-28 Alan Mackenzie <acm@muc.de>
9022
9023 Amend to indent and fontify macros "which include their own semicolon"
9024 correctly, using the "virtual semicolon" mechanism.
9025
52bedd34 9026 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9027
d0af9f77 9028 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9029 Recode to scan one line at a time rather than having \n and \r
58179cce 9030 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9031 (c-forward-label): Amend for virtual semicolons.
58179cce 9032 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9033
52bedd34
AM
9034 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9035 of the new C macros.
bc97a826 9036
52bedd34 9037 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9038 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9039 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9040 (c-opt-cpp-macro-define): Make into a full language variable.
9041 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9042 AWK Mode (including \n, \r) removed, no longer needed.
9043
d0af9f77
SM
9044 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9045 Invoke c-make-macro-with-semi-re.
bc97a826 9046
52bedd34
AM
9047 * progmodes/cc-vars.el (c-macro-with-semi-re):
9048 (c-macro-names-with-semicolon): New variables.
58179cce 9049 (c-make-macro-with-semi-re): New function.
bc97a826 9050
7a6c0941
SM
90512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * vc/log-edit.el: Fill empty field rather than adding new one.
9054 (log-edit-add-field): New function.
9055 (log-edit-insert-changelog): Use it.
9056
b0c4cdcf
ML
90572011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9058
9059 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9060
ee1f1da9
SM
90612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9064 (gdb--check-interpreter): New function.
9065 (gdb): Use it.
9066
51bc5f8b
GM
90672011-10-27 Glenn Morris <rgm@gnu.org>
9068
416a2c45
GM
9069 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9070 (least-positive-float, least-negative-float)
9071 (least-positive-normalized-float, least-negative-normalized-float)
9072 (float-epsilon, float-negative-epsilon):
9073 Remove unnecessary declarations.
9074
9075 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9076 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9077 (least-positive-float, least-negative-float)
9078 (least-positive-normalized-float, least-negative-normalized-float)
9079 (float-epsilon, float-negative-epsilon): Add doc-strings,
9080 based on those in cl.texi.
9081
51bc5f8b
GM
9082 * files.el (set-visited-file-name): If the major-mode changed,
9083 reload the local variables. (Bug#9796)
9084
15de15c6
CY
90852011-10-27 Chong Yidong <cyd@gnu.org>
9086
9087 * subr.el (change-major-mode-after-body-hook): New hook.
9088 (run-mode-hooks): Run it.
9089
ee1f1da9
SM
9090 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9091 Use change-major-mode-before-body-hook.
15de15c6
CY
9092
9093 * simple.el (fundamental-mode):
9094 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9095 change introducing fundamental-mode-hook.
9096
5430d399
JB
90972011-10-26 Juanma Barranquero <lekktu@gmail.com>
9098
acc825c5 9099 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9100
ad74a69e
MA
91012011-10-26 Michael Albinus <michael.albinus@gmx.de>
9102
9103 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9104 tramp.el explicitly. (Bug#7583)
ad74a69e 9105
71d4c2a5
SM
91062011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * progmodes/octave-mod.el:
9109 * progmodes/octave-inf.el: Update maintainer.
9110
b1f6fa26
CY
91112011-10-26 Chong Yidong <cyd@gnu.org>
9112
9113 * subr.el (with-wrapper-hook): Rewrite doc.
9114
3f04efd6
MA
91152011-10-25 Michael Albinus <michael.albinus@gmx.de>
9116
9117 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9118 filenames "/method:foo:". (Bug#9793)
3f04efd6 9119
410488d3
SM
91202011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9123 (bug#9865).
9124
c1ebb47e
GM
91252011-10-24 Glenn Morris <rgm@gnu.org>
9126
9127 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9128
7f5c46c7
MA
91292011-10-24 Michael Albinus <michael.albinus@gmx.de>
9130
9131 * notifications.el: Add the requirement of a running D-Bus session
9132 bus to the Commentary.
9133
db2440b6
JL
91342011-10-24 Juri Linkov <juri@jurta.org>
9135
9136 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9137 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9138 (Bug#9364)
9139
feecf435
JL
91402011-10-24 Juri Linkov <juri@jurta.org>
9141
9142 * info.el (Info-following-node-name-re): Add newline to the list
9143 of allowed characters for leading space. (Bug#9824)
9144
a3839de2
SM
91452011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9146
acc825c5
SM
9147 * progmodes/octave-inf.el (inferior-octave-mode-map):
9148 Fix C-c C-h binding.
a3839de2
SM
9149 * progmodes/octave-mod.el (octave-help): Remove.
9150
09388e76
MA
91512011-10-23 Michael Albinus <michael.albinus@gmx.de>
9152
9153 Sync with Tramp 2.2.3.
9154
9155 * net/tramp-cache.el (top): Pacify byte-compiler using
9156 `init-file-user' and `site-run-file'.
9157
9158 * net/trampver.el: Update release number.
9159
86c60681
CY
91602011-10-23 Chong Yidong <cyd@gnu.org>
9161
9162 * files.el (toggle-read-only): Remove obsolete comment about
9163 version control.
9164
9165 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9166 for toggle-read-only. Note that this hasn't called vc-next-action
9167 since 2008-05-02, though it wasn't documented at the time.
9168
a3839de2
SM
9169 * vc/ediff-init.el (ediff-toggle-read-only-function):
9170 Use toggle-read-only.
86c60681 9171
cd5495ff
AM
91722011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9173
9174 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9175 of c-parse-state.
9176
00b77525 9177 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9178 correct faulty logical expression.
cd5495ff
AM
9179 (c-parse-state-state, c-record-parse-state-state):
9180 (c-replay-parse-state-state): New defvar/defuns.
9181 (c-debug-parse-state): Use new functions.
9182
42ee24ed
MR
91832011-10-22 Martin Rudalics <rudalics@gmx.at>
9184
9185 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9186 last fix. Use window-in-direction correctly.
42ee24ed 9187
a7dee7e7
CY
91882011-10-21 Chong Yidong <cyd@gnu.org>
9189
9190 * progmodes/idlwave.el (idlwave-mode):
9191 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9192 require-final-newline; that's done in prog-mode.
9193 Suggested by Stefan Monnier.
a7dee7e7 9194
e07b9a6d
MR
91952011-10-21 Martin Rudalics <rudalics@gmx.at>
9196
9197 * mouse.el (mouse-drag-window-above)
9198 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9199 (mouse-drag-mode-line-1, mouse-drag-header-line)
9200 (mouse-drag-vertical-line-rightward-window): Remove.
9201 (mouse-drag-line): New function.
9202 (mouse-drag-mode-line, mouse-drag-header-line)
9203 (mouse-drag-vertical-line): Call mouse-drag-line.
9204 * window.el (window-at-side-p, windows-at-side): New functions.
9205
7e1361d9
UM
92062011-10-21 Ulrich Mueller <ulm@gentoo.org>
9207
9208 * tar-mode.el (tar-grind-file-mode):
9209 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9210
30fcaf3a
CY
92112011-10-21 Chong Yidong <cyd@gnu.org>
9212
9213 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9214 * progmodes/vera-mode.el (vera-mode):
9215 Use mode-require-final-newline.
30fcaf3a 9216
516eddb0
GM
92172011-10-20 Glenn Morris <rgm@gnu.org>
9218
db22a3c2 9219 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9220
10d5f513
CS
92212011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9222
9223 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9224
ac6c8639
CY
92252011-10-20 Chong Yidong <cyd@gnu.org>
9226
9227 * emulation/cua-base.el (cua-mode):
9228 * mail/footnote.el (footnote-mode):
9229 * mail/mailabbrev.el (mail-abbrevs-mode):
9230 * net/xesam.el (xesam-minor-mode):
9231 * progmodes/bug-reference.el (bug-reference-mode):
9232 * progmodes/cap-words.el (capitalized-words-mode):
9233 * progmodes/compile.el (compilation-minor-mode)
9234 (compilation-shell-minor-mode):
9235 * progmodes/gud.el (gud-tooltip-mode):
9236 * progmodes/hideif.el (hide-ifdef-mode):
9237 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9238 * progmodes/subword.el (subword-mode):
9239 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9240 * progmodes/which-func.el (which-function-mode):
9241 * term/tvi970.el (tvi970-set-keypad-mode):
9242 * term/vt100.el (vt100-wide-mode):
9243 * textmodes/flyspell.el (flyspell-mode):
9244 * textmodes/ispell.el (ispell-minor-mode):
9245 * textmodes/nroff-mode.el (nroff-electric-mode):
9246 * textmodes/paragraphs.el (use-hard-newlines):
9247 * textmodes/refill.el (refill-mode):
9248 * textmodes/reftex.el (reftex-mode):
9249 * textmodes/rst.el (rst-minor-mode):
9250 * textmodes/sgml-mode.el (html-autoview-mode)
9251 (sgml-electric-tag-pair-mode):
9252 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9253 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9254 * emulation/crisp.el (crisp-mode):
9255 * emacs-lisp/eldoc.el (eldoc-mode):
9256 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9257 minor mode behavior.
9258
aa42ab43
JL
92592011-10-19 Juri Linkov <juri@jurta.org>
9260
9261 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9262 the list of hard-coded chars with escape-glyph face.
9263
89400f1d
SM
92642011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9267
305c07f6
MA
92682011-10-19 Michael Albinus <michael.albinus@gmx.de>
9269
9270 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9271 running process.
9272
13754b54
GM
92732011-10-19 Glenn Morris <rgm@gnu.org>
9274
9275 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9276 Ignore ignored files. (Bug#9726)
9277
06e21633
CY
92782011-10-19 Chong Yidong <cyd@gnu.org>
9279
9280 Doc fix for minor modes, stating that an omitted argument enables
9281 the mode unconditionally when called from Lisp.
9282
9283 * abbrev.el (abbrev-mode):
9284 * allout.el (allout-mode):
9285 * autoinsert.el (auto-insert-mode):
9286 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9287 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9288 (global-auto-revert-mode):
9289 * battery.el (display-battery-mode):
9290 * composite.el (global-auto-composition-mode)
9291 (auto-composition-mode):
9292 * delsel.el (delete-selection-mode):
9293 * desktop.el (desktop-save-mode):
9294 * dired-x.el (dired-omit-mode):
9295 * dirtrack.el (dirtrack-mode):
9296 * doc-view.el (doc-view-minor-mode):
9297 * double.el (double-mode):
9298 * electric.el (electric-indent-mode, electric-pair-mode):
9299 * emacs-lock.el (emacs-lock-mode):
9300 * epa-hook.el (auto-encryption-mode):
9301 * follow.el (follow-mode):
9302 * font-core.el (font-lock-mode):
9303 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9304 * help.el (temp-buffer-resize-mode):
9305 * hilit-chg.el (highlight-changes-mode)
9306 (highlight-changes-visible-mode):
9307 * hi-lock.el (hi-lock-mode):
9308 * hl-line.el (hl-line-mode, global-hl-line-mode):
9309 * icomplete.el (icomplete-mode):
9310 * ido.el (ido-everywhere):
9311 * image-file.el (auto-image-file-mode):
9312 * image-mode.el (image-minor-mode):
9313 * iswitchb.el (iswitchb-mode):
9314 * jka-cmpr-hook.el (auto-compression-mode):
9315 * linum.el (linum-mode):
9316 * longlines.el (longlines-mode):
9317 * master.el (master-mode):
9318 * mb-depth.el (minibuffer-depth-indicate-mode):
9319 * menu-bar.el (menu-bar-mode):
9320 * minibuf-eldef.el (minibuffer-electric-default-mode):
9321 * mouse-sel.el (mouse-sel-mode):
9322 * msb.el (msb-mode):
9323 * mwheel.el (mouse-wheel-mode):
9324 * outline.el (outline-minor-mode):
9325 * paren.el (show-paren-mode):
9326 * recentf.el (recentf-mode):
9327 * reveal.el (reveal-mode, global-reveal-mode):
9328 * rfn-eshadow.el (file-name-shadow-mode):
9329 * ruler-mode.el (ruler-mode):
9330 * savehist.el (savehist-mode):
9331 * scroll-all.el (scroll-all-mode):
9332 * scroll-bar.el (scroll-bar-mode):
9333 * server.el (server-mode):
9334 * shell.el (shell-dirtrack-mode):
9335 * simple.el (auto-fill-mode, transient-mark-mode)
9336 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9337 (line-number-mode, column-number-mode, size-indication-mode)
9338 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9339 * strokes.el (strokes-mode):
9340 * time.el (display-time-mode):
9341 * t-mouse.el (gpm-mouse-mode):
9342 * tool-bar.el (tool-bar-mode):
9343 * tooltip.el (tooltip-mode):
9344 * type-break.el (type-break-mode-line-message-mode)
9345 (type-break-query-mode):
9346 * view.el (view-mode):
9347 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9348 (global-whitespace-mode, global-whitespace-newline-mode):
9349 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9350
a3839de2
SM
9351 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9352 Fix autogenerated docstring.
06e21633 9353
5214e501
JL
93542011-10-19 Juri Linkov <juri@jurta.org>
9355
9356 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9357 by checking environment variables "DESKTOP_SESSION" and
9358 "XDG_CURRENT_DESKTOP". (Bug#9779)
9359
195f8db9
JL
93602011-10-19 Juri Linkov <juri@jurta.org>
9361
9362 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9363 (browse-url-chromium-program, browse-url-chromium-arguments):
9364 New defcustoms.
9365 (browse-url-default-browser): Check for `browse-url-chromium' and
9366 call `browse-url-chromium-program'.
9367 (browse-url-chromium): New command. (Bug#9779)
9368
343a34ff
JB
93692011-10-18 Juanma Barranquero <lekktu@gmail.com>
9370
9371 * facemenu.el (list-colors-duplicates): On Windows, detect more
9372 duplicates by assuming that only colors matching "^System" are
9373 special "system colors". (Bug#9722)
9374
6978a151
SM
93752011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9378 to distinguish the author from the committer.
9379
6a80b297
MA
93802011-10-18 Michael Albinus <michael.albinus@gmx.de>
9381
9382 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9383
b31a5677
JK
93842011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9385
9386 * international/mule.el (sgml-html-meta-auto-coding-function):
9387 Add support for detecting encoding in HTML5 specified only as
9388 <meta charset="UTF-8">. Implementation just makes http-equiv and
9389 content-type parts from HTML4 encoding string optional. (Bug#9716)
9390
80c6d77f
GM
93912011-10-18 Glenn Morris <rgm@gnu.org>
9392
9393 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9394
08b0fee8
CY
93952011-10-18 Chong Yidong <cyd@gnu.org>
9396
9397 * faces.el (cursor): Doc fix.
9398
67e729a5
CY
93992011-10-17 Chong Yidong <cyd@gnu.org>
9400
9401 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9402
343a34ff 94032011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9404
9405 * dirtrack.el (dirtrack): Support shell buffers with path
9406 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9407
0bc06380
TZ
94082011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9409
9410 * json.el: Bump version to 1.3 and note change in History.
9411 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9412
8b79f3e0
SM
94132011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9414
5a7c536b
SM
9415 * comint.el (comint-insert-input, comint-send-input)
9416 (comint-get-old-input-default, comint-backward-matching-input)
9417 (comint-next-prompt): Use nil instead of `input' for field property of
9418 past user input (bug#114).
9419
96a8a0df
SM
9420 * minibuffer.el (completion--replace): Inherit surrounding properties
9421 (bug#114).
9422 (minibuffer-complete-and-exit): Use it.
9423
8b79f3e0
SM
9424 * comint.el (comint--table-subvert): Quote the all-completions output
9425 (bug#9160).
9426
b8f7ff0d
MR
94272011-10-17 Martin Rudalics <rudalics@gmx.at>
9428
8b79f3e0 9429 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9430
b8f7ff0d 9431 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9432 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9433 entries and separate them from frame entries.
9434
c235b555
GM
94352011-10-15 Glenn Morris <rgm@gnu.org>
9436
9437 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9438 Doc fixes.
9439
6bbfa6e1
CY
94402011-10-15 Chong Yidong <cyd@stupidchicken.com>
9441
8b79f3e0
SM
9442 * net/network-stream.el (network-stream-open-starttls):
9443 Improve detection of failure due to lack of TLS support.
ec5c990d 9444
6bbfa6e1
CY
9445 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9446 putting the input text in front and in bold.
9447
98488977
SM
94482011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9449
3d1337be
SM
9450 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9451
ee0b45e4
SM
9452 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9453 empty buffer.
9454
98488977
SM
9455 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9456 unread-command-events rather than pushing yet-another event.
9457
186f4720
EZ
94582011-10-14 Eli Zaretskii <eliz@gnu.org>
9459
9460 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9461 the explanation of the possible choices. Make the options passed
9462 to completing-read shorter.
9463
8b7a997c
AM
94642011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9465
9466 * textmodes/flyspell.el (flyspell-large-region): Make sure
9467 extended character mode is used if defined (Bug#1339).
9468
12587bbb
EZ
94692011-10-13 Eli Zaretskii <eliz@gnu.org>
9470
9471 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9472 character info for LRE, LRO, RLE, and RLO characters by appending
9473 an invisible PDF.
12587bbb 9474
bad41229
SM
94752011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9478 even in case of error; add debug spec; simplify data flow.
9479 (with-timeout-handler): Remove.
9480
28dbc92f
MA
94812011-10-12 Michael Albinus <michael.albinus@gmx.de>
9482
9483 Fix Bug#6019, Bug#9315.
9484
9485 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9486 complete `buffer-file-name', the local file name part could look
9487 remotely (for example on VMS).
9488
9489 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9490 `tramp-run-real-handler'.
9491 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9492 already quoted by '"'.
9493
9494 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9495 Let `file-name-handler-alist' be nil, the local file name part
9496 could look remotely (for example on VMS).
9497
e1b0b23a
SM
94982011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9501 from here...
9502 (flyspell-post-command-hook): ...to here.
9503
a120bde9
SM
95042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9507 if not needed.
9508 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9509 using completion. Protect against "slow" callers.
9510 Remove the "message hack".
9511
7ce7717b
JL
95122011-10-11 Juri Linkov <juri@jurta.org>
9513
9514 * isearch.el (isearch-lazy-highlight-word): New variable.
9515 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9516 Use it. (Bug#9727)
9517
c02ee9d6
GM
95182011-10-11 Glenn Morris <rgm@gnu.org>
9519
9520 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9521 like f90-previous-statement does.
9522
93e616fd 95232011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9524
1f190e73 9525 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9526 only in interactive use, to avoid error.
9527
af7b6078
SM
95282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * minibuffer.el (completion-file-name-table): Fix last change,
9531 i.e. ignore normal errors but not the other ones.
9532
0563dae9
MR
95332011-10-10 Martin Rudalics <rudalics@gmx.at>
9534
9535 * window.el (special-display-buffer-names)
9536 (special-display-regexps): Remove some remnants of earlier
9537 changes from doc-strings.
366ca7f3
MR
9538 (quit-windows-on): New function.
9539
9540 * vc/vc.el (vc-revert, vc-rollback):
9541 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9542 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9543 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9544
49677495
MR
95452011-10-09 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (frame-auto-hide-function): Add version tag.
9548 (Bug#9699)
9549
56f2d1e1
MA
95502011-10-09 Michael Albinus <michael.albinus@gmx.de>
9551
9552 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9553 condition.
9554
112a6592
LL
95552011-10-09 Leo Liu <sdl.web@gmail.com>
9556
9557 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9558 (Bug#9701)
9559
0812589b
GM
95602011-10-08 Glenn Morris <rgm@gnu.org>
9561
9562 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9563 before the first code statement zero indent. (Bug#9690)
9564
b2b0776e
CY
95652011-10-08 Chong Yidong <cyd@stupidchicken.com>
9566
9567 * simple.el (count-words-region): Always count in the region.
9568 Report the number of lines and characters too.
9569 (count-words): New command, which counts in the buffer if the
9570 region is inactive, as count-words-region used to.
9571 (count-words--message): New function. Handle plurals.
9572 (count-lines-region): Make it an alias for count-words-region.
9573
9574 * bindings.el (esc-map): Replace count-lines-region with
9575 count-words-region.
9576
c557cd6b
MR
95772011-10-08 Martin Rudalics <rudalics@gmx.at>
9578
9579 * window.el (window--delete): Delete dedicated frame
9580 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9581 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9582
61a57ef4 95832011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9584
3a7d293b 9585 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9586
c3833279
CY
95872011-10-07 Chong Yidong <cyd@stupidchicken.com>
9588
9589 * bindings.el ([M-left],[M-right]): Bind to left-word and
9590 right-word respectively.
9591
21ce8245
GM
95922011-10-07 Glenn Morris <rgm@gnu.org>
9593
9594 * cus-start.el (debug-on-quit): Fix custom type.
9595
6d823bb2
LMI
95962011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9597
0181e193
LMI
9598 * subr.el (define-key-after): Clarify that the function is not
9599 useful for non-menu keymaps.
9600
6d823bb2
LMI
9601 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9602
8e3459ce 96032011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9604
21ce8245 9605 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9606 in current minibuffer (Fix bug with recursive minibuffers).
9607
a1c2d21e
CY
96082011-10-06 Chong Yidong <cyd@stupidchicken.com>
9609
9610 * progmodes/gdb-mi.el (gdb): Doc fix.
9611
5a4cf282
MR
96122011-10-05 Martin Rudalics <rudalics@gmx.at>
9613
9614 * window.el (frame-auto-hide-function): New option replacing
9615 frame-auto-delete. Suggested by Stefan Monnier.
9616 (window--delete): Call frame-auto-hide-function instead of
9617 investigating frame-auto-delete.
c96111ea
MR
9618 (window-point-1, set-window-point-1): New functions.
9619 (window-in-direction, record-window-buffer, window-state-get-1)
9620 (display-buffer-record-window): Use window-point-1 instead of
9621 window-point.
9622 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9623
9854542e
SM
96242011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9627
8943cfb0
GM
96282011-10-05 Glenn Morris <rgm@gnu.org>
9629
9630 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9631 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9632
647ab967
LL
96332011-10-05 Leo Liu <sdl.web@gmail.com>
9634
9635 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9636 works with buffer object.
9637
3ddfbced
SM
96382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * mpc.el (mpc-tool-bar-map): Add labels.
9641
bdfa5dd2
GM
96422011-10-04 Glenn Morris <rgm@gnu.org>
9643
9644 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9645
0e2070b5
MR
96462011-10-04 Martin Rudalics <rudalics@gmx.at>
9647
9648 * window.el (window--delete): New function.
9649 (frame-auto-delete): Resuscitate option.
9650 (bury-buffer, replace-buffer-in-windows)
9651 (quit-window): Rewrite using window--delete.
9652 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9653 Pass display-buffer-mark-dedicated to window--display-buffer-2
9654 (Bug#9639).
9655
3dc61a09
SM
96562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9657
915a9b64
SM
9658 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9659 returns a list (bug#9554). Add remote file name completion.
9660 * comint.el (comint--table-subvert): Curry and get quote&unquote
9661 functions as arguments.
9662 (comint--complete-file-name-data): Adjust call accordingly.
9663 * pcomplete.el (pcomplete--table-subvert): Remove.
9664 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9665
3dc61a09
SM
9666 * minibuffer.el (completion-table-case-fold): Use currying.
9667 (completion--styles-type, completion--cycling-threshold-type):
9668 New constants.
9669 (completion-styles, completion-category-overrides)
9670 (completion-cycle-threshold): Use them.
9671 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9672 completion-table-case-fold.
9673
8ea0a993
SB
96742011-10-03 Stephen Berman <stephen.berman@gmx.net>
9675
9676 * minibuffer.el (completion-category-overrides): Fix type of styles
9677 and add more user friendly tags (bug#9660).
9678
8c24b7f6
SM
96792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9682 (mule-input-method-string): New widget.
9683 (default-input-method, language-info-custom-alist): Use it.
9684
428fe61a
SM
96852011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9686
32c1fffd
SM
9687 * pcomplete.el: Require comint.
9688 (pcomplete--common-suffix): Remove.
9689 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9690 (pcomplete--table-subvert): Sync with comint--table-subvert.
9691 (pcomplete--entries): Use comint-completion-file-name-table.
9692 * comint.el (comint-unquote-filename): Simplify.
9693 (comint-completion-file-name-table): New function (bug#9616).
9694 (comint--complete-file-name-data): Use it.
9695
428fe61a
SM
9696 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9697 (pcmpl-gnu-tar-buffer): Remove.
9698 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9699 around. Make sure pcomplete-suffix-list is only changed temporarily.
9700 Don't look inside the tar's file if it's too large.
428fe61a 9701
04c52e2f
CY
97022011-10-01 Chong Yidong <cyd@stupidchicken.com>
9703
ce3cefcc
CY
9704 * cus-edit.el (custom-mode-map):
9705 * epa.el (epa-key-list-mode-map):
9706 * man.el (Man-mode-map):
9707 * startup.el (splash-screen-keymap):
9708 * simple.el (special-mode-map): Use scroll-up-command and
9709 scroll-down-command.
9710
9711 * progmodes/idlw-help.el (idlwave-help-mode-map):
9712 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9713 * net/newst-plainview.el (newsticker-mode-map):
9714 * emulation/ws-mode.el (wordstar-mode-map):
9715 * emulation/vi.el (vi-com-map):
9716 * calc/calc-graph.el (calc-graph-show-dumb):
9717 * term/sun.el (terminal-init-sun):
9718 * term/ns-win.el (global-map):
9719 * progmodes/grep.el (grep-mode-map):
9720 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9721 * mail/rmail.el (rmail-mode-map):
9722 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9723
04c52e2f
CY
9724 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9725 custom-safe-themes as special.
9726
79adf8c8
JD
97272011-10-01 Julien Danjou <julien@danjou.info>
9728
9729 * notifications.el (notifications-notify): Fix docstring.
9730
63bd50d3
PS
97312011-10-01 Per Starbäck <per@starback.se>
9732
9733 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9734
199e4c7e
MR
97352011-09-30 Martin Rudalics <rudalics@gmx.at>
9736
9737 * startup.el (command-line-1): Fix last fix by inserting
9738 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9739 (Bug#9605) and (Bug#9636)
199e4c7e 9740
fe5f08dd
EZ
97412011-09-29 Eli Zaretskii <eliz@gnu.org>
9742
9743 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9744 window is hscrolled, move by logical lines. (Bug#9607)
9745 (line-move-visual): Update the doc string to the above effect.
9746
b5516bbd
MR
97472011-09-29 Martin Rudalics <rudalics@gmx.at>
9748
ccee00c0
MR
9749 * window.el (display-buffer-record-window): When WINDOW is the
9750 selected window use `point' instead of `window-point'. (Bug#9626)
9751
b5516bbd
MR
9752 * startup.el (command-line-1): Use insert-before-markers when
9753 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9754
b5516bbd
MR
9755 * help.el (help-window): Remove variable.
9756
52aa0014
GM
97572011-09-29 Glenn Morris <rgm@gnu.org>
9758
9759 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9760
df9a7357
JB
97612011-09-29 Juanma Barranquero <lekktu@gmail.com>
9762
9763 * descr-text.el (describe-char-categories): Accept category
9764 descriptions more than one line long.
9765
a8406c20
SM
97662011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9767
88d9610c
SM
9768 * simple.el (delete-trailing-whitespace): Fix last change.
9769
a5daf810
SM
9770 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9771 Don't confuse "y => 3" as the beginning of a `y' operation.
9772
a8406c20
SM
9773 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9774 object has more than 4 slots (bug#9613).
9775
a239d4e9
JB
97762011-09-28 Juanma Barranquero <lekktu@gmail.com>
9777
9778 * subr.el (with-output-to-temp-buffer):
9779 * net/quickurl.el (quickurl, quickurl-browse-url):
9780 Fix typos in docstrings.
9781
693fbdb6
EZ
97822011-09-27 Eli Zaretskii <eliz@gnu.org>
9783
9784 * minibuffer.el (completion-styles)
9785 (completion-category-overrides): Cross reference each other in doc
9786 strings.
9787
8b457e28
GM
97882011-09-27 Glenn Morris <rgm@gnu.org>
9789
9790 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9791 to split-string. (Bug#9606)
9792
85a16208
LMI
97932011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9794
9795 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9796 (bug#9615).
9797
502f9ebd
CY
97982011-09-27 Chong Yidong <cyd@stupidchicken.com>
9799
9800 * emacs-lisp/package.el (list-packages): Fix echo area message.
9801
7690bdea
LL
98022011-09-27 Leo Liu <sdl.web@gmail.com>
9803
9804 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9805
e2ee6f30
MA
98062011-09-25 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/dbus.el (dbus-unregister-object): Don't release services for
9809 registered signals. (Bug#9581)
9810
f3f98342
TZ
98112011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9812
9813 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9814 function that picks between cfengine 2 and 3 support
9815 automatically. Update docs accordingly.
9816
dd7aa8dd
KH
98172011-09-22 Kenichi Handa <handa@m17n.org>
9818
9819 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9820 ZERO.
9821 (indian-itrans-v5-table-for-tamil): New variable.
9822 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9823
3f2b07f8
KM
98242011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9825
9826 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9827 that's true if the current command involved collapsing of text.
9828 It's reset to false at the beginning of the next command.
9829 (allout-post-command-business): Move the cursor to the beginning
9830 of entry if the cursor is hidden and collapsing activity just
9831 happened.
9832
371d6a61
CY
98332011-09-24 Chong Yidong <cyd@stupidchicken.com>
9834
9835 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9836 tracking (Bug#9541).
9837
2ac2721a
UJ
98382011-09-24 Ulf Jasper <ulf.jasper@web.de>
9839
9840 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9841 (newsticker-show-news): Automatically load html rendering package
9842 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9843 because w3m-fill-column is let-bound" and the error "Symbol's value
9844 as variable is void: w3m-fill-column".
2ac2721a 9845
fac7ae53
MA
98462011-09-24 Michael Albinus <michael.albinus@gmx.de>
9847
9848 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9849 Release services only if they are defined. (Bug#9581)
9850
e08b633b
RS
98512011-09-23 Richard Stallman <rms@gnu.org>
9852
e488d29c
RS
9853 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9854 distinguish start of paragraph from start of its text.
9855
19c38752
RS
9856 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9857
e08b633b
RS
9858 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9859 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9860 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9861
0a39f27e
AS
98622011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9863
9864 * international/mule-diag.el (mule-diag): Insert a newline after
9865 each fontset description.
9866
db4e950d
SM
98672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * simple.el (delete-trailing-whitespace):
9870 Document last change; simplify.
9871
eca3f3ea
PW
98722011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9873
d68e189a
PW
9874 * simple.el (delete-trailing-whitespace): Also delete
9875 extra newlines at the end of the buffer.
9876
eca3f3ea
PW
9877 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9878 (picture-newline): Use forward-line so as to ignore fields.
9879
01c157cc
SM
98802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * subr.el (with-wrapper-hook): Fix edebug spec.
9883
022de23e
LMI
98842011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
9886 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9887 (bug#4538).
9888
91683089
MA
98892011-09-23 Michael Albinus <michael.albinus@gmx.de>
9890
eca3f3ea
PW
9891 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9892 Fix nasty bug using wrong cached values.
91683089 9893
5bdd6fa4
AM
98942011-09-23 Alan Mackenzie <acm@muc.de>
9895
9896 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9897
97adfb97
CY
98982011-09-23 Chong Yidong <cyd@stupidchicken.com>
9899
9900 * window.el (pop-to-buffer): Ensure right window is selected if we
9901 chose another frame.
9902
d4ef2b50
EZ
99032011-09-22 Eli Zaretskii <eliz@gnu.org>
9904
9905 * simple.el (what-cursor-position): Use get-char-property-change
9906 and next-single-char-property-change, to be able to show display
9907 properties that come from overlays as well as text properties.
9908
72258fe5
CY
99092011-09-22 Chong Yidong <cyd@stupidchicken.com>
9910
9911 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9912
9913 * cmuscheme.el (run-scheme, switch-to-scheme):
9914 * cus-edit.el (customize-group, custom-buffer-create)
9915 (customize-browse):
9916 * info.el (info):
9917 * shell.el (shell):
9918 * mail/sendmail.el (mail):
9919 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9920
8f098516
RS
99212011-09-22 Richard Stallman <rms@gnu.org>
9922
9923 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9924 move back only to line beg, don't move back over blank lines.
9925
e74f1bb6
MA
99262011-09-22 Michael Albinus <michael.albinus@gmx.de>
9927
9928 * files.el (copy-directory): Set directory attributes only in case
9929 they could be retrieved from the source directory. (Bug#9565)
9930
bfeef8b6
DK
99312011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9932
9933 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9934 (hs-find-block-beginning, hs-hide-level-recursive):
9935 Ignore strings as well as comments. (Bug#9502)
9936
7e423bb8
AS
99372011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9938
9939 * progmodes/sql.el (sql-comint-postgres):
9940 Convert port number to a string. (Bug#9566)
9941
b4d72fcf
MR
99422011-09-22 Martin Rudalics <rudalics@gmx.at>
9943
9944 * window.el (quit-window): Undedicate window when switching to
9945 previous buffer. Reported by Thierry Volpiatto
9946 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9947 (special-display-popup-frame): When popping up a new frame reset
9948 its previous buffers to nil. Simplify code.
b4d72fcf 9949
a7b88dc6
MA
99502011-09-21 Michael Albinus <michael.albinus@gmx.de>
9951
9952 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9953 and process filter, as done also in `shell-command'.
9954
cf4eacfd
MR
99552011-09-21 Martin Rudalics <rudalics@gmx.at>
9956
eca3f3ea 9957 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9958 Call set-window-start with NOFORCE argument t.
9959 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9960 (quit-window): Reword doc-string. Handle new format of
9961 quit-restore parameter. Don't delete window if it has a
9962 previous buffer we can show instead of the present one.
9963 (display-buffer-record-window): Rewrite using a new format for
9964 the quit-restore window parameter
9965 (special-display-popup-frame, display-buffer-same-window)
9966 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9967 (display-buffer-pop-up-window, display-buffer-use-some-window):
9968 Adapt symbol passed to display-buffer-record-window.
9969 * help.el (help-window-setup): Handle new format of quit-restore
9970 parameter.
9971
8d28cb95
SM
99722011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9973
94ab793f
SM
9974 * faces.el (face-list): Fix docstring (bug#9564).
9975
8d28cb95
SM
9976 * window.el (display-buffer--action-function-custom-type):
9977 Don't include internal functions in the Custom interface.
9978
3820edeb
JL
99792011-09-20 Juri Linkov <juri@jurta.org>
9980
9981 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9982 (Info-forward-node, Info-backward-node, Info-next-preorder)
9983 (Info-last-preorder): Use it. (Bug#9528)
9984
5147931d
JL
99852011-09-20 Juri Linkov <juri@jurta.org>
9986
9987 * info.el (Info-last-preorder): Visit last menu item only when
9988 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9989
cf499a1a
JD
99902011-09-20 Julien Danjou <julien@danjou.info>
9991
9992 * password-cache.el (password-cache-remove): Remove entries even if the
9993 value is nil, so that password with a nil value (negative caching) is
9994 possible to invalidate.
9995
f84e2fe2
LM
99962011-09-20 Lawrence Mitchell <wence@gmx.li>
9997
9998 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9999 all whitespace around breakpoint. (Bug#9553)
10000 (f90-find-breakpoint): Only break at whitespace inside a comment.
10001
78054a46
SM
100022011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * minibuffer.el (completion-file-name-table): Keep track of errors.
10005 (completion-table-with-predicate): Handle the case where pred1 is nil.
10006 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10007
345083b2
SM
100082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10009
e24e27be
SM
10010 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10011 (debugger-return-value): Signal an error if the debugging context does
10012 not await any return value.
10013
345083b2
SM
10014 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10015 * image-mode.el (image-toggle-display-text)
10016 (image-toggle-display-image): Stay away from evil `intangible'.
10017
08d355e3
LL
100182011-09-19 Leo Liu <sdl.web@gmail.com>
10019
10020 * replace.el (occur-revert-arguments): Make it permanent-local.
10021 (occur-mode): Don't call font-lock-defontify.
10022
f01da43f
CY
100232011-09-19 Chong Yidong <cyd@stupidchicken.com>
10024
10025 * net/ldap.el (ldap-search-internal): Don't push empty search
10026 result (Bug#9508).
10027
b6072fa6
SM
100282011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10031
443d6696
MA
100322011-09-19 Michael Albinus <michael.albinus@gmx.de>
10033
10034 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10035 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10036
7cc6e154
JL
100372011-09-18 Juri Linkov <juri@jurta.org>
10038
10039 * buff-menu.el (Buffer-menu-mode-map):
10040 * dired.el (dired-mode-map):
10041 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10042 (lisp-interaction-mode-map):
10043 * emacs-lisp/package.el (package-menu-mode-map):
10044 * epa.el (epa-key-list-mode-map):
10045 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10046 (menu-bar-options-menu):
10047 * outline.el (outline-mode-menu-bar-map):
10048 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10049 * vc/vc-dir.el (vc-dir-menu-map):
10050 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10051 Capitalize non-function content words in menu item strings.
10052
10053 * dired.el (dired-mode-map): Add menu item for
10054 `image-dired-dired-toggle-marked-thumbs'.
10055
80302a81
JL
100562011-09-18 Juri Linkov <juri@jurta.org>
10057
10058 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10059 to `isearch-case-fold-search' and restore its original value
10060 after the `isearch-mode' call.
10061
46c5cf66
JL
100622011-09-18 Juri Linkov <juri@jurta.org>
10063
10064 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10065 because `zgrep' returns 1 for successful matches (bug#9226).
10066
d18b513b
JL
100672011-09-18 Juri Linkov <juri@jurta.org>
10068
10069 * info.el (Info-extract-menu-node-name): Check the second match
10070 for empty string (second test-case of bug#9528).
10071 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10072 intermediate nodes to the history (first test-case of bug#9528).
10073
72753f87
JL
100742011-09-18 Juri Linkov <juri@jurta.org>
10075
10076 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10077 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10078
c9384295
JL
100792011-09-18 Juri Linkov <juri@jurta.org>
10080
1154d12e
JB
10081 * info.el (Info-file-supports-index-cookies):
10082 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10083 outputs one more line for long file names (bug#4142).
c9384295 10084
d473dce8
CY
100852011-09-18 Chong Yidong <cyd@stupidchicken.com>
10086
10087 * newcomment.el (comment-normalize-vars): If prompting for
10088 comment-start, set comment-start-skip too (Bug#8424).
10089
2176854d
JB
100902011-09-18 Johan Bockgård <bojohan@gnu.org>
10091
10092 * icomplete.el: Fix previous fix of Bug#5849.
10093 (icomplete-mode): Don't set completion-show-inline-help.
10094 (icomplete-minibuffer-setup): Set completion-show-inline-help
10095 locally during icompletion.
10096
3aace4e4
CY
100972011-09-18 Chong Yidong <cyd@stupidchicken.com>
10098
c940224f
CY
10099 * woman.el (woman2-process-escapes): Don't delete unrecognized
10100 escapes (Bug#7843).
10101
3aace4e4
CY
10102 * files.el (inhibit-first-line-modes-regexps): Add image files.
10103 (hack-local-variables-prop-line): Return nil for malformed
10104 prop-lines (Bug#9044).
10105
710dec63
MA
101062011-09-18 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * net/tramp.el (top): Don't require 'shell.
10109 (tramp-methods): Fix docstring.
10110 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10111 Return complete remote file name. Handle "smb" case.
10112 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10113 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10114
10115 * net/tramp-compat.el (top): Require 'shell.
10116
10117 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10118 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10119 `tramp-current-host'.
10120 (tramp-get-remote-tmpdir): Remove.
10121
10122 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10123 `tramp-tmpdir' entries.
10124 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10125 (tramp-smb-handle-file-attributes): Ignore errors.
10126 (tramp-smb-wait-for-output): Check also for process end.
10127
5d5ac8ec
LMI
101282011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
10130 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10131 when sending QUIT (bug#9312).
10132
8c0f49f0
CY
101332011-09-17 Chong Yidong <cyd@stupidchicken.com>
10134
10135 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10136 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10137 occur-mode-display-occurrence.
10138 (occur-edit-mode): Add usage message.
10139 (occur-cease-edit): New command.
10140 (occur-after-change-function): Use text properties to find the
10141 position of the prefix text.
10142 (occur-engine): Set stickiness of prefix text properties.
10143
8f1383f7
GM
101442011-09-17 Glenn Morris <rgm@gnu.org>
10145
10146 * progmodes/etags.el (complete-tag):
10147 Fix call to completion-in-region. (Bug#9526)
10148
744ba0e3
JL
101492011-09-17 Juri Linkov <juri@jurta.org>
10150
10151 * textmodes/ispell.el (ispell-word): Add to the error message
10152 the word, ispell program name and current dictionary (bug#9121).
10153 (ispell-tex-arg-end): Capitalize "error" in the error message.
10154
d9bbf400
AS
101552011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10156
10157 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10158 check. (Bug#4251)
10159
8da11505
JL
101602011-09-17 Juri Linkov <juri@jurta.org>
10161
10162 * window.el (window-safe-min-height, window-safe-min-width):
10163 Fix typos (followup to bug#9522).
10164
a91adc7e
SJ
101652011-09-17 Sven Joachim <svenjoac@gmx.de>
10166
10167 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10168
064f328a
EZ
101692011-09-16 Eli Zaretskii <eliz@gnu.org>
10170
10171 * simple.el (line-move): If goal-column is set, move by logical
10172 lines, not by display lines. (Bug#971)
10173 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10174 to reflect the above change.
10175
e69df516
SM
101762011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * image.el (imagemagick-register-types): Use regexp-opt.
10179
cbb0f9ab
CY
101802011-09-15 Chong Yidong <cyd@stupidchicken.com>
10181
10182 * window.el (display-buffer-base-action): Rename from
10183 display-buffer-default-action. Make default value empty.
10184 (display-buffer-overriding-action): Convert to defvar.
10185 (display-buffer-fallback-action): New var.
10186
25322144
CY
101872011-09-15 Chong Yidong <cyd@stupidchicken.com>
10188
10189 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10190 declaration.
10191 (package--add-to-archive-contents): If there is a duplicate entry
10192 with an older version, remove it.
10193 (package-menu-mark-delete, package-menu-mark-install)
10194 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10195 (package-menu-mark-obsolete-for-deletion):
10196 Use package-menu-get-status instead of a regexp search.
25322144
CY
10197 (package-menu-get-status): Use tabulated-list-entry.
10198 (package-menu-mark-upgrades): New command.
d770725a 10199 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10200 (package-menu-execute): Do installation before deletion.
10201 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10202 instead of checking major-mode.
10203 (package-menu--find-upgrades): New function.
10204
7520339c
LMI
102052011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10206
10207 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10208 passwords in the log buffer.
65a046c4
LMI
10209 (smtpmail-process-filter): Update the process marker so that the
10210 "broken by peer" status message is inserted in the right place.
7520339c 10211
d3c30954
SM
102122011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10213
3fe48822
SM
10214 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10215 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10216 bibtex-completion-at-point-function.
10217 (bibtex-completion-at-point-function): Use them.
10218
1b8b3954
SM
10219 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10220
d3c30954
SM
10221 * mpc.el (mpc-constraints-tag-lookup): New function.
10222 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10223 also to browser "album|playlist".
10224
72779976
JL
102252011-09-14 Juri Linkov <juri@jurta.org>
10226
10227 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10228 (isearch-edit-string): Use length of `isearch-string' when
10229 `isearch-fail-pos' returns nil.
10230 (isearch-message): Remove duplicate code and call
10231 `isearch-fail-pos' with arg `t'.
10232
a0bf2bcd
CY
102332011-09-14 Chong Yidong <cyd@stupidchicken.com>
10234
17bb0a2d
CY
10235 * replace.el (occur-mode-goto-occurrence): Don't force using other
10236 window (Bug#9499).
10237
a0bf2bcd
CY
10238 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10239
f678e0b6
MR
102402011-09-14 Martin Rudalics <rudalics@gmx.at>
10241
10242 * window.el (display-buffer-window): Remove.
10243 (display-buffer-record-window): Use help-setup window parameter
10244 instead of variable display-buffer-window.
10245 (display-buffer-function, special-display-buffer-names)
10246 (special-display-function): Mention help-setup parameter instead
10247 of display-buffer-window in doc-string.
d3c30954
SM
10248 * help.el (help-window-setup): New argument help-window.
10249 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10250 Reword some messages.
10251 (with-help-window): Pass window used for displaying the buffer
10252 to help-window-setup. Don't set display-buffer-window.
10253
8e39b2e8
GM
102542011-09-13 Glenn Morris <rgm@gnu.org>
10255
10256 * emacs-lisp/debug.el (debugger-make-xrefs):
10257 Preserve point. (Bug#9462)
10258
85e9c04b
CY
102592011-09-13 Chong Yidong <cyd@stupidchicken.com>
10260
10261 * window.el (window-deletable-p): Use next-frame.
10262
1b36ed6a
MR
102632011-09-13 Martin Rudalics <rudalics@gmx.at>
10264
10265 * window.el (window-auto-delete): Remove.
10266 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10267 dedication and previous buffers.
1b36ed6a
MR
10268 (switch-to-prev-buffer): Don't delete window.
10269 (delete-windows-on): Delete a window's frame if and only if the
10270 window is dedicated.
10271 (replace-buffer-in-windows): Delete buffer's window or frame if
10272 and only if window is dedicated.
10273 (quit-window): Handle quit-restore as before last change.
4d61f28d 10274 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10275
ef8ef9fb
CY
102762011-09-13 Chong Yidong <cyd@stupidchicken.com>
10277
10278 * window.el (window-deletable-p): Never delete the last frame on a
10279 given terminal.
10280
b2cba41e
GM
102812011-09-13 Glenn Morris <rgm@gnu.org>
10282
10283 * help.el (describe-key-briefly): Copy previous standard-output change.
10284
51553db6 102852011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10286
10287 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10288
b7556719
GM
102892011-09-13 Glenn Morris <rgm@gnu.org>
10290
10291 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10292 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10293
64b51947
CY
102942011-09-12 Chong Yidong <cyd@stupidchicken.com>
10295
10296 * dired-aux.el (dired-mark-read-string): Don't return default
10297 value on empty input (Bug#9361).
10298 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10299 Omit initial minibuffer contents.
10300 (dired-do-chmod): Signal an error on empty input.
10301 (dired-mark-read-string): Don't return default on empty input.
10302
10303 * files.el (file-modes-symbolic-to-number): Doc fix.
10304
393a301e
SM
103052011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * international/mule-cmds.el (ucs-completions): Remove.
10308 (read-char-by-name): Use complete-with-action instead; add metadata.
10309
fa5660f9
CY
103102011-09-11 Chong Yidong <cyd@stupidchicken.com>
10311
10312 * window.el (display-buffer--action-function-custom-type)
10313 (display-buffer--action-custom-type): New vars.
10314 (display-buffer-alist, display-buffer-default-action)
10315 (display-buffer-overriding-action): Add defcustom types.
10316
4a592f66
CY
10317 * frame.el (delete-other-frames): Doc fix (Bug#276).
10318
73d56dbd
LMI
103192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10320
10321 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10322
37ac18a3
CY
103232011-09-11 Chong Yidong <cyd@stupidchicken.com>
10324
10325 Change modes that used same-window-* vars to use switch-to-buffer.
10326
10327 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10328 Use switch-to-buffer.
10329
10330 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10331 (customize-browse, custom-buffer-create-other-window):
10332 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10333
10334 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10335 (Info-prev, Info-up, Info-speedbar-goto-node)
10336 (info-display-manual): Use switch-to-buffer.
10337 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10338
10339 * mail/sendmail.el (mail): Use switch-to-buffer.
10340 (mail-recover): Use switch-to-buffer-other-window.
10341
10342 * cmuscheme.el (run-scheme, switch-to-scheme):
10343 * ielm.el (ielm):
10344 * shell.el (shell):
10345 * net/rlogin.el (rlogin):
10346 * net/telnet.el (telnet, rsh):
10347 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10348
10195bd6
AS
103492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10350
10351 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10352
b322f63a
LMI
103532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10354
39d7fed6
LMI
10355 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10356 so don't mention it (bug#9301).
ba5a81f1 10357 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10358
ee0e9f11
LMI
10359 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10360 match `x', `w32' and `ns', like the manual says (bug#9029).
10361
0b1c89c1 10362 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10363 (process-kill-buffer-query-function): Mention the buffer name in
10364 the query.
0b1c89c1 10365
77549ea8
LMI
10366 * image-mode.el (image-next-line): The line parameter is mandatory
10367 (bug#9258).
10368
803ef892
LMI
10369 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10370 which can be useful (bug#9301).
10371
12980837
LMI
10372 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10373
91054f8f
LMI
10374 * subr.el (match-string): Mention that the current buffer should
10375 be the same as the search was done in (bug#9282).
10376
b322f63a
LMI
10377 * facemenu.el: Disable the remove-* commands if the mark isn't
10378 active (bug#9162).
10379
3199b96f
CY
103802011-09-10 Chong Yidong <cyd@stupidchicken.com>
10381
10382 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10383 of display-buffer.
10384 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10385
10386 * replace.el (occur-mode-goto-occurrence)
10387 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10388 and display-buffer.
10389
10390 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10391 display-buffer.
10392
10393 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10394 special-display and same-window variables.
10395 (mail-other-window): Use switch-to-buffer-other-window.
10396 (mail-other-frame): USe switch-to-buffer-other-frame.
10397
393a301e
SM
10398 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10399 Use display-buffer-other-frame.
3199b96f
CY
10400 (gdb-display-gdb-buffer): Use pop-to-buffer.
10401
10402 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10403
10404 * progmodes/python.el: Don't set same-window-buffer-names.
10405
10406 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10407
10408 * window.el (display-buffer-alist): Add *Python*.
10409
8319e0bf
CY
104102011-09-10 Chong Yidong <cyd@stupidchicken.com>
10411
10412 * window.el (display-buffer-alist): Add entry for buffers
10413 previously handled same-window-*.
10414 (display-buffer-alist, display-buffer-default-action)
10415 (display-buffer-overriding-action): Mark as risky.
10416 (display-buffer-alist): Document action function changes.
10417 (display-buffer--same-window-action)
10418 (display-buffer--other-frame-action): New variables.
10419 (switch-to-buffer, display-buffer-other-frame): Use them.
10420 (display-buffer): Rename reuse-frame entry to reusable-frames.
10421 (display-buffer-reuse-selected-window): Function deleted.
10422 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10423 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10424 (display-buffer-special): New function.
10425 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10426 display-buffer-reuse-or-pop-window. Split off special-display
10427 part into display-buffer-special.
10428 (display-buffer-use-some-window): Don't perform any special
10429 pop-up-frames handling.
10430 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10431 (display-buffer--maybe-same-window): Rename from
0d3ff375 10432 display-buffer-maybe-same-window.
8319e0bf 10433
919a69aa
CY
10434 * info.el: Don't set same-window-regexps.
10435 (info-setup): New function.
10436 (info-other-window, info): Call it.
10437
10438 * cus-edit.el: Don't set same-window-regexps.
10439 (customize-group): New argument.
10440 (customize-group-other-window): Use it.
10441 (customize-face, customize-face-other-window): Likewise.
10442 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10443
8319e0bf
CY
10444 * net/rlogin.el:
10445 * net/telnet.el:
10446 * progmodes/gud.el: Don't set same-window-regexps.
10447
10448 * cmuscheme.el:
10449 * ielm.el:
10450 * shell.el:
10451 * mail/sendmail.el:
10452 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10453
25173000
JL
104542011-09-10 Juri Linkov <juri@jurta.org>
10455
10456 * isearch.el (isearch-edit-string): Remove obsolete mention of
10457 `C-w' (`isearch-yank-word-or-char') from docstring.
10458 (isearch-query-replace): Fix typo in docstring (bug#9466).
10459
056e44ef
JL
104602011-09-10 Juri Linkov <juri@jurta.org>
10461
10462 * paren.el (show-paren-function): Don't show escaped parens.
10463 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10464
c3760c17
EZ
104652011-09-10 Eli Zaretskii <eliz@gnu.org>
10466
10467 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10468 (mm-default-file-encoding): Remove autoload forms, they are
10469 replaced with autoload cookies in mml.el and mm-encode.el.
10470 (mail-add-attachment): New command.
10471 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10472 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10473 the doc string.
10474 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10475
fece895e
RT
104762011-09-10 Reuben Thomas <rrt@sc3d.org>
10477
e69df516
SM
10478 * simple.el (count-words-region): Use buffer if there's no region
10479 (bug#9429).
fece895e 10480
5e68ce4a
JL
104812011-09-09 Juri Linkov <juri@jurta.org>
10482
10483 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10484 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10485 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10486
0a6b9622
AM
104872011-09-09 Alan Mackenzie <acm@muc.de>
10488
10489 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10490 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10491
14a29deb
EZ
104922011-09-09 Eli Zaretskii <eliz@gnu.org>
10493
10494 Fix for Savannah bug#9392.
10495 * simple.el (mail-encode-mml): New defvar.
10496
10497 * mail/rmail.el (mail-encode-mml): Add a defvar.
10498 (rmail-enable-mime-composing): Default to t.
10499 (rmail-forward): Use MIME method of forwarding only if both
10500 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10501 Set mail-encode-mml non-nil if the MIME method was used.
10502
10503 * mail/sendmail.el (mml-to-mime): Add autoload form.
10504 (mail-encode-mml): Add a defvar.
10505 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10506 to nil.
10507 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10508 message through mml-to-mime, and reset mail-encode-mml to nil.
10509
28c45130
GM
105102011-09-09 Glenn Morris <rgm@gnu.org>
10511
10512 * woman.el (woman-if-body): When processing an .el block,
10513 do not delete the next .el block as well. (Bug#9447)
69f4b618 10514 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10515
9b1c252e
MR
105162011-09-08 Martin Rudalics <rudalics@gmx.at>
10517
10518 * window.el (window-deletable-p): Make sure window is live before
10519 invoking window-prev-buffers.
10520
567457e3
LL
105212011-09-08 Leo Liu <sdl.web@gmail.com>
10522
10523 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10524
97f05794
JL
105252011-09-08 Juri Linkov <juri@jurta.org>
10526
10527 * progmodes/compile.el (compilation-environment): Make it
10528 a defcustom (bug#8340).
10529
8b0874b5
MR
105302011-09-08 Martin Rudalics <rudalics@gmx.at>
10531
10532 * window.el (frame-auto-delete): Rename to window-auto-delete.
10533 Make it control auto-deletion of windows and/or frames.
10534 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10535 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10536 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10537 Rewrite handling of case when window/frame can be deleted.
10538 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10539 argument t. (Bug#9456)
8b0874b5 10540
4feb6e73
CY
105412011-09-07 Chong Yidong <cyd@stupidchicken.com>
10542
10543 * help-mode.el (help-mode): Restore autoload.
10544
91ab9c13
JL
105452011-09-07 Juri Linkov <juri@jurta.org>
10546
10547 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10548 `compilation-environment'. Set buffer-local
10549 `compilation-environment' to `thisenv' later after (funcall mode).
10550 (Bug#8340)
10551
10552 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10553 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10554 instead of replacing its value. (Bug#8340)
10555
0527e251
JL
105562011-09-07 Juri Linkov <juri@jurta.org>
10557
10558 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10559 based on text properties put by `grep-filter' instead of matching
10560 escape sequences.
10561 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10562 to the value of `grep-error-screen-columns' (bug#9438).
10563
249f792c
JL
105642011-09-07 Juri Linkov <juri@jurta.org>
10565
10566 * simple.el (next-error-highlight, next-error-highlight-no-select):
10567 Doc fix (bug#9432).
10568
ff7271b9
OT
105692011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10570
10571 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10572 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10573
183fc730
LL
105742011-09-07 Leo Liu <sdl.web@gmail.com>
10575
10576 * net/rcirc.el (rcirc-mode): Conditionally initialize
10577 rcirc-input-ring.
10578
77694924
SM
105792011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/find-func.el (find-function-C-source): Only set
10582 find-function-C-source-directory after checking that we found a source
10583 file there (bug#9440).
10584
d809b8eb
AM
105852011-09-06 Alan Mackenzie <acm@muc.de>
10586
10587 * isearch.el (isearch-other-meta-char): Wherever a key list is
10588 unread, "unread" the prefix arg, too. This fixes bug #8901.
10589
453de99f
OG
105902011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10591
10592 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10593
90439906
JL
105942011-09-05 Juri Linkov <juri@jurta.org>
10595
10596 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10597
f62bd846
JL
105982011-09-05 Juri Linkov <juri@jurta.org>
10599
10600 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10601 keeping point where processing of grep matches begins, and
10602 continue to delete remaining escape sequences from the same point.
10603 (grep-filter): Make leading zero optional in "0?1;31m" because
10604 git-grep emits "\033[1;31m" escape sequences unlike expected
10605 "\033[01;31m" as GNU Grep does (bug#9408).
10606 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10607
045820ec
JL
106082011-09-05 Juri Linkov <juri@jurta.org>
10609
10610 * subr.el (y-or-n-p): Capitalize "yes".
10611
f5e29b9b
MA
106122011-09-04 Michael Albinus <michael.albinus@gmx.de>
10613
10614 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10615 `tramp-cache-unload-hook' where appropriate.
10616 (tramp-methods): Rename `tramp-remote-sh' to
10617 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10618 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10619
10620 * net/tramp-sh.el (top): Don't require 'shell.
10621 (tramp-methods): Add `tramp-remote-shell' and
10622 `tramp-remote-shell-args' entries.
10623 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10624 (tramp-sh-handle-shell-command): Remove.
10625 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10626 Use `tramp-remote-shell'.
10627
2784c434
CY
106282011-09-03 Chong Yidong <cyd@stupidchicken.com>
10629
393a301e 10630 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10631 (sendmail-query-once): Save directly to send-mail-function.
10632 Update message-send-mail-function too.
10633
10634 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10635
464cdf56
CS
106362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10637
10638 * progmodes/python.el (python-mode-map): Use correct function to
10639 start python interpreter from menu-bar (as reported by Geert
10640 Kloosterman).
10641 (inferior-python-mode-map): Fix typo.
393a301e 10642 (python-shell-map): Remove.
464cdf56 10643
d37e5c87
DD
106442011-09-03 Deniz Dogan <deniz@dogan.se>
10645
10646 * net/rcirc.el (rcirc-print): Simplify code for
10647 rcirc-scroll-show-maximum-output. There is no need to walk
10648 through all windows to find the right one.
10649
f3ada0ee
CS
106502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10651
10652 * help.el (help-return-method): Doc fix.
10653
1f3c99ca
MR
106542011-09-03 Martin Rudalics <rudalics@gmx.at>
10655
10656 * window.el (window-deletable-p): Don't return a non-nil value
10657 when there's a buffer that was shown in the window before.
10658 (Bug#9419)
393a301e
SM
10659 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10660 Set window's previous buffers to nil.
1f3c99ca 10661
a3cf097f
EZ
106622011-09-03 Eli Zaretskii <eliz@gnu.org>
10663
10664 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10665 newline before and after the tag line, so it doesn't interfere
10666 with determining the paragraph direction of bidirectional text.
10667
3d03de90
LL
106682011-09-03 Leo Liu <sdl.web@gmail.com>
10669
10670 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10671
c3313451
CY
106722011-09-02 Chong Yidong <cyd@stupidchicken.com>
10673
393a301e 10674 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10675 (pop-to-buffer): Change interactive spec. Pass second argument
10676 directly to display-buffer.
10677 (display-buffer): Fix interactive spec. Use functionp to
10678 distinguish between a function and a list of functions.
10679
10680 * abbrev.el (edit-abbrevs):
10681 * arc-mode.el (archive-extract):
10682 * autoinsert.el (auto-insert):
10683 * bookmark.el (bookmark-bmenu-list):
10684 * files.el (find-file):
10685 * view.el (view-buffer):
10686 * progmodes/compile.el (compilation-goto-locus):
10687 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10688
89894cd8
CY
106892011-09-02 Chong Yidong <cyd@stupidchicken.com>
10690
10691 * window.el (display-buffer-alist): Doc fix.
10692 (display-buffer): Add docstring. Don't treat
10693 display-buffer-default specially.
10694 (display-buffer-reuse-selected-window)
10695 (display-buffer-same-window, display-buffer-maybe-same-window)
10696 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10697 (display-buffer-pop-up-window)
10698 (display-buffer-reuse-or-pop-window)
10699 (display-buffer-use-some-window): New functions.
10700 (display-buffer-default-action): Use them.
393a301e 10701 (display-buffer-default): Delete.
89894cd8
CY
10702 (pop-to-buffer-1): Fix choice of actions.
10703
ae0bc9fb
SM
107042011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * minibuffer.el (completion--insert-strings): Don't get confused by
10707 completion entries that end with an LF char.
10708
e9d90883
EZ
107092011-09-01 Eli Zaretskii <eliz@gnu.org>
10710
10711 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10712
437014c8
CY
107132011-09-01 Chong Yidong <cyd@stupidchicken.com>
10714
10715 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10716 (display-buffer-same-window, display-buffer-other-window):
10717 New functions.
437014c8
CY
10718 (pop-to-buffer-1): New function. Use the above.
10719 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10720 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10721
10722 * view.el (view-buffer-other-window, view-buffer-other-frame):
10723 Just use pop-to-buffer.
10724
a5e063d5
TV
107252011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10726
10727 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10728
793d32bb
WH
107292011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10730
10731 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10732
d65e4c15
RS
107332011-08-31 Richard Stallman <rms@gnu.org>
10734
10735 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10736 of the separation of rmail-view-buffer from rmail-buffer.
10737 If you say no to "replace original", the decrypt is in the
10738 view buffer. If you say yes, the decrypt goes into the
10739 rmail buffer also.
10740
f818cd2a
MR
107412011-08-31 Martin Rudalics <rudalics@gmx.at>
10742
10743 * window.el (display-buffer-window): Rewrite doc-string.
10744 (display-buffer-record-window): New function.
10745 (display-buffer-macro-specifiers)
10746 (display-buffer-even-window-sizes, display-buffer-set-height)
10747 (display-buffer-set-width, display-buffer-in-window)
10748 (display-buffer-reuse-window, display-buffer-split-specifiers)
10749 (display-buffer-side-specifiers, display-buffer-split-window-1)
10750 (display-buffer-split-window, display-buffer-split-atom-window)
10751 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10752 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10753 (display-buffer-other-window-means-other-frame)
10754 (display-buffer-normalize-special)
10755 (display-buffer-normalize-default)
10756 (display-buffer-normalize-argument)
10757 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10758 (display-buffer-normalize-specifiers, display-buffer-frame)
10759 (display-buffer-same-window, display-buffer-same-frame)
10760 (display-buffer-other-window)
10761 (display-buffer-same-frame-other-window)
10762 (display-buffer-other-frame, pop-to-buffer-same-window)
10763 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10764 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10765 (switch-to-buffer-same-frame)
10766 (switch-to-buffer-other-window-same-frame)
10767 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10768 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10769 (display-buffer-alist-set): Remove.
10770 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10771 (special-display-regexps, special-display-function):
10772 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10773 parameter.
10774 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10775 (special-display-frame-alist, special-display-popup-frame)
10776 (same-window-buffer-names, same-window-regexps, same-window-p)
10777 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10778 (split-window-preferred-function, split-height-threshold)
10779 (split-width-threshold, window-splittable-p)
10780 (split-window-sensibly, window--try-to-split-window)
10781 (window--frame-usable-p, even-window-heights)
10782 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10783 (window--display-buffer-2, display-buffer-other-frame):
10784 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10785 (display-buffer-default, display-buffer-assq-regexp): New functions.
10786 (display-buffer-alist): Rewrite doc-string.
10787 (display-buffer-default-action)
10788 (display-buffer-overriding-action): New variables.
10789 (display-buffer, switch-to-buffer): Rewrite.
10790 (pop-to-buffer): Restore Emacs 23 behavior but use
10791 window-normalize-buffer-to-display.
10792 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10793 Restore Emacs 23 behavior but use
10794 window-normalize-buffer-to-switch-to.
10795 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10796 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10797 Rewrite using Emacs 23 options.
f818cd2a 10798
5bc3b51d
MA
107992011-08-31 Michael Albinus <michael.albinus@gmx.de>
10800
10801 * net/tramp.el (tramp-root-regexp): Remove.
10802 (tramp-completion-file-name-regexp-unified)
10803 (tramp-completion-file-name-regexp-separate)
10804 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10805 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10806 (tramp-drop-volume-letter): Simplify definition.
10807 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10808
b1a4f8e1
SM
108092011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10812 (bug#9356).
10813
5664fa7b
RT
108142011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10815
b1a4f8e1 10816 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10817
9a45d6c3
JL
108182011-08-29 Juri Linkov <juri@jurta.org>
10819
10820 * isearch.el (isearch-done): Don't display message "Mark saved"
10821 when arg `edit' is non-nil to prevent its flicker in the echo area.
10822
fb87e0fb
CY
108232011-08-28 Chong Yidong <cyd@stupidchicken.com>
10824
10825 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10826 obsolete packages for deletion.
10827
09ac1c2a
CS
108282011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10829
10830 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10831 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10832 view-mode from help-mode.
10833 (help-xref-override-view-map): Remove.
10834 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10835 view-mode is not used anymore.
10836
7a1ff57f
CY
108372011-08-28 Chong Yidong <cyd@stupidchicken.com>
10838
10839 * server.el (server-port): Doc fix.
10840
b9696605
CY
10841 * cus-theme.el (custom-theme-choose-mode): Inherit from
10842 special-mode (Bug#9124).
10843 (custom-theme-choose-mode-map): Add special-mode to parent.
10844
ef8cdf8c
AM
108452011-08-28 Alan Mackenzie <acm@muc.de>
10846
10847 * progmodes/cc-fonts.el
10848 (c-make-font-lock-BO-decl-search-function): New function.
10849 (c-basic-matchers-after - "Fontify the clauses after various
10850 keywords"): Extract the three keyword lists for the 3 erroneous
10851 constructs from the list of four, and use the new function above
10852 in place of an old one.
10853
27de4e20
DD
108542011-08-28 Deniz Dogan <deniz@dogan.se>
10855
10856 * net/rcirc.el (rcirc-insert-prev-input)
10857 (rcirc-insert-next-input): Remove unused argument.
10858
356a3681
SM
108592011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10862
3fc9b218
AM
108632011-08-27 Alan Mackenzie <acm@muc.de>
10864
10865 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10866 handle function pointer parameters properly.
10867
538a061c
MR
108682011-08-27 Martin Rudalics <rudalics@gmx.at>
10869
10870 * window.el (display-buffer-reuse-window): Fix case where
10871 selected window was reused with non-nil OTHER-WINDOW argument.
10872 (Bug#9381)
10873
35b1c40c
DD
108742011-08-27 Deniz Dogan <deniz@dogan.se>
10875
10876 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10877 oftc's NickServ messages.
10878
2f6a3e79
GM
108792011-08-27 Glenn Morris <rgm@gnu.org>
10880
10881 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10882
7254299e
CY
108832011-08-26 Chong Yidong <cyd@stupidchicken.com>
10884
10885 * emacs-lisp/package.el (package-install): Call package-initialize
10886 if called interactively.
10887
f8ccf167
LL
108882011-08-26 Leo Liu <sdl.web@gmail.com>
10889
10890 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10891
3e8cd5ce
JL
108922011-08-25 Juri Linkov <juri@jurta.org>
10893
10894 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10895 `search-whitespace-regexp' (bug#9364).
10896
93eb7113
JL
108972011-08-25 Juri Linkov <juri@jurta.org>
10898
10899 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10900 `regexp-search-ring' to their global values to protect from
10901 updating by `read-from-minibuffer' (bug#9185).
10902
f65d1611
JL
109032011-08-25 Juri Linkov <juri@jurta.org>
10904
10905 * textmodes/ispell.el (ispell-command-loop): Add newline
10906 at the end of the "Use option `i'..." line.
10907
f1cf7a31
JL
109082011-08-25 Juri Linkov <juri@jurta.org>
10909
10910 * battery.el (display-battery-mode): If `battery-status-function'
10911 or `battery-mode-line-format' is nil, display the message and set
10912 `display-battery-mode' to nil (bug#9363).
10913
0c95fcf7
EZ
109142011-08-25 Eli Zaretskii <eliz@gnu.org>
10915
10916 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10917 bidi-string-mark-left-to-right; they are unnecessary now.
10918
a2ebe600
DD
109192011-08-25 Deniz Dogan <deniz@dogan.se>
10920
10921 * net/quickurl.el: Documentation typo fixes.
10922
e4ed06f1
CY
109232011-08-25 Chong Yidong <cyd@stupidchicken.com>
10924
10925 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10926
e5f1c99e
GM
109272011-08-25 Glenn Morris <rgm@gnu.org>
10928
b2948976
GM
10929 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10930
e5f1c99e
GM
10931 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10932 (smtpmail-via-smtp): Handle nil response from smtp.
10933
f22f4808
JL
109342011-08-24 Juri Linkov <juri@jurta.org>
10935
10936 * proced.el (proced-marked): Inherit from `error' instead of
10937 `font-lock-warning-face'.
10938
10939 * ibuffer.el (ibuffer-marked-face): Change default face from
10940 `font-lock-warning-face' to `warning'.
10941 (ibuffer-deletion-face): Change default face from
10942 `font-lock-type-face' to `error'.
10943
10944 * battery.el (battery-update): Use the face `error' instead of
10945 `font-lock-warning-face' (bug#6117).
10946
6a93965e
JL
109472011-08-24 Juri Linkov <juri@jurta.org>
10948
10949 * faces.el (success): Change face color from "Green3" to
10950 "ForestGreen" on light background (bug#9353).
10951
1ed43b09
CY
109522011-08-24 Chong Yidong <cyd@stupidchicken.com>
10953
5664fa7b
RT
10954 * window.el (quit-window): Rename from quit-restore-window.
10955 Use same arglist as old quit-window.
1ed43b09
CY
10956 (frame-auto-delete): Doc fix.
10957
10958 * view.el (view-mode-exit): Use quit-window.
10959
11dcdbb2
JL
109602011-08-24 Juri Linkov <juri@jurta.org>
10961
10962 * isearch.el (isearch-ring-adjust1): Start visiting previous
10963 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10964 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10965 for empty search string (when the last search string is reused
10966 automatically) to adjust the isearch ring to the last element and
10967 prepare the correct index for further M-p commands (bug#9185).
10968
de62b4df
KH
109692011-08-24 Kenichi Handa <handa@m17n.org>
10970
10971 * international/ucs-normalize.el: If decomposition property of
10972 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10973 nil.
10974 (nfd, nfkd): Likewise.
10975
963b492b
SM
109762011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10979 from process filters aren't reliably transmitted to the surrounding
10980 accept-process-output.
10981 (mpc-proc-check): New function.
10982 (mpc-proc-sync): Use it (bug#8293)
10983
93b6b5e1
SM
109842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10987 Add compatibility functions (bug#9313).
10988
bca633fb
EZ
109892011-08-23 Eli Zaretskii <eliz@gnu.org>
10990
b177498a
EZ
10991 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10992
6df6ae42 10993 * international/uni-bidi.el: Regenerate.
bca633fb 10994
0902a04e
KH
109952011-08-23 Kenichi Handa <handa@m17n.org>
10996
10997 * international/charprop.el:
10998 * international/uni-bidi.el:
10999 * international/uni-category.el:
11000 * international/uni-combining.el:
11001 * international/uni-comment.el:
11002 * international/uni-decimal.el:
11003 * international/uni-decomposition.el:
11004 * international/uni-digit.el:
11005 * international/uni-lowercase.el:
11006 * international/uni-mirrored.el:
11007 * international/uni-name.el:
11008 * international/uni-numeric.el:
11009 * international/uni-old-name.el:
11010 * international/uni-titlecase.el:
11011 * international/uni-uppercase.el: Regenerate.
11012
3bbf23bc
MR
110132011-08-23 Martin Rudalics <rudalics@gmx.at>
11014
11015 * help.el (help-window-setup): Fix message displayed when other
11016 window is reused. (Bug#9341)
11017
b3fd59bd
SM
110182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11019
1802e444
SM
11020 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11021 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11022
b3fd59bd
SM
11023 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11024 Mark obsolete.
11025 * shell.el (shell-parse-pcomplete-arguments): New function.
11026 (shell-completion-vars): Use it instead (bug#9160).
11027
4eb61348
SM
110282011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11029
867cab74
SM
11030 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11031 strings and comments (bug#9333).
11032
4eb61348
SM
11033 * emacs-lisp/debug.el (debug-arglist): New function.
11034 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11035 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11036
262a1439
JL
110372011-08-22 Juri Linkov <juri@jurta.org>
11038
56ee679c
JL
11039 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11040 Revert regexp that highlights output switches to its old
11041 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11042
262a1439
JL
11043 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11044 to check for empty output (bug#9226).
11045
f13f86fb
CY
110462011-08-22 Chong Yidong <cyd@stupidchicken.com>
11047
11048 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11049 symbol-constituent as the default, as that stops font-lock from
11050 working properly (Bug#8843).
11051
c65c9622
LMI
110522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11053
11054 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11055 `coding-system-for-*' around the process open call to avoid
11056 auth-source side effects.
e7f2c178 11057 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11058 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11059 probe hangs.
c65c9622 11060
23a8a5ab
CY
110612011-08-21 Chong Yidong <cyd@stupidchicken.com>
11062
ff98b2dd
CY
11063 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11064
23a8a5ab
CY
11065 * emacs-lisp/find-func.el (find-function-noselect): New arg
11066 lisp-only.
11067
11068 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11069 signal an error for built-in functions (Bug#6664).
11070
f5e3c598
LMI
110712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11072
11073 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11074 (smtpmail-try-auth-methods): Use it.
11075
a3f2468a
CY
110762011-08-21 Chong Yidong <cyd@stupidchicken.com>
11077
2c34e8da
CY
11078 * font-lock.el (font-lock-fontify-region)
11079 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11080 (font-lock-default-unfontify-buffer)
11081 (font-lock-default-fontify-region)
11082 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11083
b3fd59bd
SM
11084 * progmodes/compile.el (compilation-error-properties):
11085 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11086 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11087 `ant' regexp.
ee31aabc 11088
a3f2468a
CY
11089 * net/browse-url.el (browse-url-firefox): Don't call
11090 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11091
8e999f70
GM
110922011-08-20 Glenn Morris <rgm@gnu.org>
11093
c21a496a
GM
11094 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11095
59ee0542
GM
11096 * tutorial.el (tutorial--default-keys): Update some default bindings.
11097
8e999f70
GM
11098 * files.el (hack-local-variables): Fully ignore case for "mode:".
11099
e3715033
AM
111002011-08-20 Alan Mackenzie <acm@muc.de>
11101
11102 Resolve invalid use of a regexp in regexp-opt.
11103
4d61f28d
JB
11104 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11105 detection for a java annotation.
e3715033 11106
4d61f28d 11107 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11108 detection for a java annotation.
11109
4d61f28d
JB
11110 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11111 handling for java.
e3715033
AM
11112 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11113
04ed2e9c
CY
111142011-08-20 Chong Yidong <cyd@stupidchicken.com>
11115
11116 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11117 (Bug#9274).
11118
826cee64
AM
111192011-08-20 Alan Mackenzie <acm@muc.de>
11120
58179cce 11121 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11122 such a construct. Mainly for when jit-lock etc. starts a chunk
11123 here.
11124
58179cce 11125 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11126 variable.
58179cce 11127 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11128 c-make-font-lock-search-function.
11129 (c-make-font-lock-search-function): Use the above function.
11130 (c-make-font-lock-context-search-function): New function.
11131 (c-cpp-matchers): Enhance the preprocessor expression case with
11132 the above function
11133 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11134 which takes an expression.
11135
11136 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11137
13009bd8
MR
111382011-08-20 Martin Rudalics <rudalics@gmx.at>
11139
11140 * window.el (display-buffer-reuse-window)
11141 (display-buffer-pop-up-window): Don't reuse or split a side
11142 window.
11143
9234ff7f
GM
111442011-08-19 Glenn Morris <rgm@gnu.org>
11145
11146 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11147 Downcase "Mode:". (Bug#9331)
9234ff7f 11148
f635daa1
CY
111492011-08-18 Chong Yidong <cyd@stupidchicken.com>
11150
11151 * international/characters.el: Add L and R categories.
11152
11153 * subr.el (bidi-string-mark-left-to-right): Rename from
11154 string-mark-left-to-right. Use category search.
11155
11156 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11157
bc987f8b
JL
111582011-08-18 Juri Linkov <juri@jurta.org>
11159
11160 * faces.el (error, warning, success): New faces with definitions
11161 copied from old default values of `font-lock-warning-face',
11162 `compilation-warning', `compilation-info' (bug#6117).
11163
11164 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11165
11166 * progmodes/compile.el (compilation-error): Inherit from `error'.
11167 (compilation-warning): Inherit from `warning'.
11168 (compilation-info): Inherit from `success'.
11169
11170 * dired.el (dired-marked): Inherit from `warning'.
11171 (dired-flagged): Inherit from `error'.
11172
57173b96
LMI
111732011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11174
3e79eb87
LMI
11175 * mail/smtpmail.el (auth-source): Require to avoid problems with
11176 binding variables (bug#9298). Also clean up some unused
11177 autoloads.
11178
b3fd59bd
SM
11179 * net/network-stream.el (network-stream-open-starttls):
11180 Support using starttls.el without using gnutls-cli.
57173b96 11181
02b404de
JL
111822011-08-17 Juri Linkov <juri@jurta.org>
11183
11184 * progmodes/grep.el (rgrep): Handle the case when
11185 `grep-find-command' is a cons cell (bug#9278).
11186
8c9177f2
MR
111872011-08-17 Martin Rudalics <rudalics@gmx.at>
11188
11189 * window.el (display-buffer-pop-up-frame): Run frame creation
11190 function with BUFFER current (as special-display-popup-frame
11191 does). Reported by Drew Adams.
11192
3644a0ab
DU
111932011-08-17 Daiki Ueno <ueno@unixuser.org>
11194
11195 * epa-mail.el: Simplify GnuPG group expansion using
11196 epg-expand-group.
11197 (epa-mail-group-alist, epa-mail-group-modtime)
11198 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11199 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11200 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11201 Remove.
11202
5e617bc2 112032011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11204
11205 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11206
9c4aeabf
AM
112072011-08-16 Alan Mackenzie <acm@muc.de>
11208
11209 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11210 Correct, to avoid the inside of macros.
11211
3a99bf64
RS
112122011-08-16 Richard Stallman <rms@gnu.org>
11213
04963aa8
RS
11214 * epa-mail.el: Handle GnuPG group definitions.
11215 (epa-mail-group-alist, epa-mail-group-modtime)
11216 (epa-mail-gnupg-conf-file): New variables.
11217 (epa-mail-parse-groups, epa-mail-sync-groups)
11218 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11219 (epa-mail-expand-recipients): New functions.
11220 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11221
177549d0
RS
11222 * mail/rmail.el (rmail-epa-decrypt): New command.
11223
fe38beef
RS
11224 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11225 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11226 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11227 (epa-decrypt-armor-in-region): Make error message clearer.
11228
934eacb9
SM
112292011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11232 and "a2b" to "ab" for `prefix'.
11233
d024fb4e
CY
112342011-08-14 Chong Yidong <cyd@stupidchicken.com>
11235
11236 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11237 filter groups.
de148fee
CY
11238 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11239 Fourquet (Bug#8804).
d024fb4e 11240
62f1ca49
JB
112412011-08-12 Juanma Barranquero <lekktu@gmail.com>
11242
11243 * startup.el (argi): Declare as global variable (bug#9275).
11244
9ccaaa4b
CY
112452011-08-12 Chong Yidong <cyd@stupidchicken.com>
11246
11247 * subr.el (string-mark-left-to-right): Search the entire string
11248 for RTL script, not just the terminating character. Doc fix.
11249
a3dae87a
SM
112502011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11251
6cd18349
SM
11252 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11253 New function.
11254 (js--regexp-literal, js-syntax-propertize-function): Remove.
11255 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11256 (js-mode-map): Don't rebind electric keys.
11257 (js-insert-and-indent): Remove.
11258 (js-mode): Setup electric-layout and electric-indent instead.
11259
a3dae87a
SM
11260 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11261
9d5cb631
DU
112622011-08-12 Daiki Ueno <ueno@unixuser.org>
11263
11264 * epa.el (epa-progress-callback-function): Fix the logic of
11265 displaying progress.
11266 * epa-file.el (epa-file-insert-file-contents): Make progress
11267 display more user-friendly.
11268 (epa-file-write-region): Ditto.
11269
3e26a4a2
CY
112702011-08-10 Chong Yidong <cyd@stupidchicken.com>
11271
11272 * subr.el (string-mark-left-to-right): New function.
11273
11274 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11275 Use string-mark-left-to-right.
11276 (list-buffers-noselect): Caller changed.
11277
a3dae87a
SM
11278 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11279 Use string-mark-left-to-right.
3e26a4a2
CY
11280 (tabulated-list-print): Recenter after moving point.
11281
ac8cf6e6
JL
112822011-08-10 Juri Linkov <juri@jurta.org>
11283
11284 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11285 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11286 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11287
8d96c9a4
CY
112882011-08-09 Chong Yidong <cyd@stupidchicken.com>
11289
11290 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11291 (Bug#7554).
11292
7be1c708 112932011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11294
11295 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11296 character. (Bug#6594)
11297
37e11a63
CY
112982011-08-08 Chong Yidong <cyd@stupidchicken.com>
11299
839dde57
CY
11300 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11301 (image-dired--with-db-file): New macro.
11302 (image-dired-write-tags, image-dired-remove-tag)
11303 (image-dired-create-gallery-lists, image-dired-write-comments)
11304 (image-dired-get-comment, image-dired-mark-tagged-files)
11305 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11306 (image-dired-gallery-generate): Use insert-file-contents.
11307
37e11a63
CY
11308 * time.el (display-time-world-list, display-time-world-display):
11309 * time-stamp.el (time-stamp-string):
11310 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11311 set-time-zone-rule (Bug#7337).
11312
0b4946c4
DU
113132011-08-08 Daiki Ueno <ueno@unixuser.org>
11314
11315 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11316 (epg-error-to-string, epg-errors-to-string): New function.
11317 (epg-wait-for-completion): Reverse errors list.
11318 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11319 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11320 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11321 (epg-sign-keys, epg-generate-key-from-file)
11322 (epg-generate-key-from-string): Format errors by using
11323 epg-errors-to-string (bug#9255).
11324 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11325
75bfc667
JL
113262011-08-07 Juri Linkov <juri@jurta.org>
11327
11328 * faces.el (list-faces-display): Remove extra angle bracket
11329 from `help-mode-map'.
11330
11331 * info.el (Info-history-toc-nodes): Doc fix.
11332
11333 * longlines.el (longlines-mode): Doc fix.
11334
673e08bb
SM
113352011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11336
4640dd88
SM
11337 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11338 of statements and in a few more cases (bug#9183).
11339
673e08bb
SM
11340 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11341 New functions.
11342 (cl-transform-lambda): Use them (bug#9239).
11343
89b3f019
MR
113442011-08-05 Martin Rudalics <rudalics@gmx.at>
11345
11346 * window.el (display-buffer-same-window)
11347 (display-buffer-same-frame, display-buffer-other-window)
11348 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11349 (pop-to-buffer-other-window)
11350 (pop-to-buffer-same-frame-other-window)
11351 (pop-to-buffer-other-frame): Make them defuns.
11352 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11353
640c8776
SM
113542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * subr.el (make-composed-keymap): Move from C. Change calling
11357 convention, and improve docstring to bring attention to a subtle point.
11358 * minibuffer.el (completing-read-default): Adjust accordingly.
11359
63648a95
MA
113602011-08-03 Michael Albinus <michael.albinus@gmx.de>
11361
11362 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11363 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11364
11365 * net/trampver.el: Update release number.
11366
b796c9b7
SM
113672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11370 "in" (bug#9190).
11371
2239d7d5
LMI
113722011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11373
e07dd7c3
LMI
11374 * mail/sendmail.el (sendmail-query-once): Restore the current
11375 buffer after querying (bug#9074).
11376
0e6a2bd7
LMI
11377 * dired.el (dired-flagged): Use different faces for marked and
11378 flagged files (bug#6117).
11379
ce887515
LMI
11380 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11381 (bug#4433).
11382
92f2affc
LMI
11383 * ido.el (ido-mode): Switch off the message if called
11384 non-interactively.
11385
57d5aff0
LMI
11386 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11387 before 587, since it appears that that's more likely to work for
11388 more people.
11389
98cd6c18 11390 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11391 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11392 exist.
11393
b96dec83
LMI
11394 * info.el: Remove the `Info-beginning-of-buffer' function
11395 (bug#8325).
11396
b796c9b7
SM
11397 * net/network-stream.el (network-stream-open-starttls):
11398 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11399
d90e2ea0
MR
114002011-08-01 Martin Rudalics <rudalics@gmx.at>
11401
11402 * window.el (display-buffer-in-window): Don't set dedicated status
11403 of window here (Bug#9215).
11404 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11405 (display-buffer-pop-up-side-window)
b796c9b7 11406 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11407
cca09170
SM
114082011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11411 before binding generated-autoload-file.
11412
027b979c
DD
114132011-08-01 Deniz Dogan <deniz@dogan.se>
11414
11415 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11416
3c7ee4f3
MA
114172011-07-30 Michael Albinus <michael.albinus@gmx.de>
11418
11419 Sync with Tramp 2.2.2.
11420
11421 * net/trampver.el: Update release number.
11422
2cc8e51a
JL
114232011-07-30 Juri Linkov <juri@jurta.org>
11424
11425 * dired-aux.el (dired-touch-initial): Remove function.
11426 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11427 current time, and `default' to the last modification time of the
11428 current marked file (bug#6887).
11429
a514d856
JM
114302011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11431
11432 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11433 numeric argument to read-number (bug#9163).
a514d856 11434
8a7eddd7
MA
114352011-07-27 Michael Albinus <michael.albinus@gmx.de>
11436
11437 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11438 connection process, it could be nil.
11439
1ddd96f5
LL
114402011-07-27 Leo Liu <sdl.web@gmail.com>
11441
11442 Simplify url handling in rcirc-mode.
11443
11444 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11445 (rcirc-browse-url-at-mouse): Remove.
11446 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11447
b248a85d
AM
114482011-07-26 Alan Mackenzie <acm@muc.de>
11449
11450 Fontify bitfield declarations properly.
11451
11452 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11453 (c-symbol-chars): Now exported as a lang variable.
11454 (c-not-primitive-type-keywords): New lang variable.
11455
11456 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11457 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11458 parsed as a bitfield declaration.
b248a85d 11459
b796c9b7
SM
11460 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11461 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11462 (c-punctuation-in): New function.
11463 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11464 declarations properly.
11465
68575ab0
UJ
114662011-07-26 Ulf Jasper <ulf.jasper@web.de>
11467
11468 * calendar/icalendar.el (icalendar--all-events): Take care of
11469 multiple vcalendars in a single file.
b796c9b7 11470 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11471
0f0a88b9
DD
114722011-07-25 Deniz Dogan <deniz@dogan.se>
11473
11474 * image.el (insert-image): Clarifying docstring.
11475
0b3f36df
MA
114762011-07-24 Michael Albinus <michael.albinus@gmx.de>
11477
11478 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11479 `tramp-send-command-and-check' if there is no error.
11480 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11481
a9901f61
AM
114822011-07-22 Alan Mackenzie <acm@muc.de>
11483
11484 Prevent cc-langs.elc being loaded at run time.
11485
11486 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11487 cc-langs.
11488
4d61f28d 11489 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11490 "(require 'cc-langs)". Quote a form so it will evaluate at
11491 (cc-mode's) compilation time.
11492
11d074b2
MA
114932011-07-22 Michael Albinus <michael.albinus@gmx.de>
11494
11495 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11496 loading. (Bug#9114)
11497
938b94c8
MR
114982011-07-21 Martin Rudalics <rudalics@gmx.at>
11499
11500 * window.el (display-buffer-pop-up-window)
11501 (display-buffer-pop-up-side-window)
11502 (display-buffer-in-side-window): Call display-buffer-set-height
11503 and display-buffer-set-width after setting the new window's
b796c9b7 11504 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11505
bfa4f190
SS
115062011-07-20 Sam Steingold <sds@gnu.org>
11507
11508 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11509 (etags-tags-included-tables): Call `convert-standard-filename' on
11510 the file names contained in TAGS so that windows Emacs can handle
11511 TAGS files created by cygwin ctags.
11512
8ca42262
LMI
115132011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11514
11515 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11516 which apparently didn't work.
11517
5db2afd2 115182011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11519
5db2afd2
RW
11520 * proced.el (proced-send-signal): For *Marked Processes* buffer
11521 put point at beginning of buffer.
11522
92e15d10
SB
115232011-07-19 Stephen Berman <stephen.berman@gmx.net>
11524
11525 * proced.el (proced-format): Make header lines align with the text
11526 (bug#1779).
11527
1bfd59e5
LMI
115282011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11529
11530 * view.el (view-buffer): Allow running in `special' modes if we're
11531 visiting a file (bug#8615).
11532
f5aae37c
MR
115332011-07-19 Martin Rudalics <rudalics@gmx.at>
11534
11535 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11536 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11537 New functions.
f5aae37c
MR
11538 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11539 more accurately.
11540
bf2c1571
AM
115412011-07-18 Alan Mackenzie <acm@muc.de>
11542
11543 Fontify declarators properly when, e.g., a jit-lock chunk begins
11544 inside a declaration.
11545
11546 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11547
b796c9b7
SM
11548 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11549 New function.
bf2c1571
AM
11550 (c-complex-decl-matchers): Insert reference to
11551 c-font-lock-enclosing-decls.
11552
11553 * progmodes/cc-engine.el (c-backward-single-comment):
11554 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11555 to nil around calls to (forward-comment -1).
11556
4e190b80
LMI
115572011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
12dc863d
LMI
11559 * image.el (put-image): Doc typo fix.
11560
a762e966
LMI
11561 * progmodes/etags.el (tags-search): Doc typo fix.
11562
4e190b80
LMI
11563 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11564 password if we get errors 550 to 554.
11565
f019fb21
LMI
115662011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11567
b796c9b7 11568 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11569
81746738
LMI
11570 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11571 indentation character (bug#6380).
11572
3ee3a1b5
LMI
11573 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11574
c82f64de
LMI
11575 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11576 to clarify what the problem is (bug#4291).
11577
f019fb21
LMI
11578 * simple.el (current-kill): Clarify what
11579 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11580 (auto-fill-mode): Document `auto-fill-function' in relation to
11581 `auto-fill-mode' (bug#2470).
f019fb21 11582
0794775d
LM
115832011-07-16 Lawrence Mitchell <wence@gmx.li>
11584
11585 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11586 method if slot is read-only (bug#9035).
11587
be39b8cc
MR
115882011-07-16 Martin Rudalics <rudalics@gmx.at>
11589
b796c9b7 11590 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11591 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11592 selected before, see discussion of (Bug#8615), (Bug#6954).
11593 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11594
6ccf7859
GM
115952011-07-15 Glenn Morris <rgm@gnu.org>
11596
11597 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11598 Respect help-form.
6ccf7859 11599
87e86684
LM
116002011-07-09 Lawrence Mitchell <wence@gmx.li>
11601
11602 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11603 (gnutls-negotiate): Use it.
11604
d6066239
LMI
116052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
b796c9b7
SM
11607 * net/gnutls.el (gnutls-negotiate):
11608 Upcase `gnutls-algorithm-priority'.
d6066239 11609
bd23ebc0
GM
116102011-07-15 Glenn Morris <rgm@gnu.org>
11611
c65bca65
GM
11612 * jka-compr.el (jka-compr-verbose): Move from here...
11613 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11614 Add missing :version tag.
11615 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11616
478615cc
LMI
116172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11618
7b41decb
LMI
11619 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11620 (gnutls-negotiate): Use it.
11621
dbc44fcd
LMI
11622 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11623
06789f97
LMI
11624 * info.el (Info-beginning-of-buffer): New command.
11625 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11626 announcing `b' as the key (bug#8325).
ab896c37 11627 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11628
c39da690
LMI
11629 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11630
3aa5f34b
LMI
11631 * international/mule-cmds.el
11632 (describe-specified-language-support): Make the error message
11633 clearer (bug#8905).
11634
4bf0979f
LMI
11635 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11636
478615cc
LMI
11637 * isearch.el (isearch-barrier): Add a doc string, since it's
11638 mentioned in a function doc string (bug#8678).
11639
75c68aa1
MR
116402011-07-15 Martin Rudalics <rudalics@gmx.at>
11641
11642 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11643 buffer argument (Bug#9083) and self-identifying label argument.
11644
a7c33da2
GM
116452011-07-15 Glenn Morris <rgm@gnu.org>
11646
11647 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11648
2f5c6024
LMI
116492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11650
11651 * man.el (Man-fontify-manpage): Fix message when formatting the
11652 man page (bug#7929).
11653
0bb23927 116542011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11655
11656 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11657 argument LRM; if non-nil, append an invisible LRM character to the
11658 buffer name.
11659 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11660 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11661 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11662 paragraph direction.
cce4b0a7 11663
621ef9ab
LMI
116642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11665
d1583c48
LMI
11666 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11667 the man page name (bug#7929).
11668
6a57fb5f
LMI
11669 * image.el (put-image): Mention the `put-image' overlay property
11670 (bug#7834).
11671
d7956b14
LMI
11672 * scroll-bar.el (set-scroll-bar-mode): Mention that
11673 `scroll-bar-mode' lists the values (bug#7772).
11674
5b2d4a66
LMI
11675 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11676 command (bug#7729).
11677
7509a874
LMI
11678 * rect.el (apply-on-rectangle): Return the point after the last
11679 operation.
11680 (string-rectangle): Go to the point after the last operation
11681 (bug#7522).
11682
4fe74b19
LMI
11683 * printing.el (pr-toggle-region): Clarify the documentation
11684 slightly (bug#7493).
11685
b796c9b7
SM
11686 * time.el (display-time-update):
11687 Allow `display-time-mail-function' to return nil (bug#7158).
11688 Fix suggested by Detlev Zundel.
ab283561 11689
fc233c9d
LMI
11690 * vc/diff.el (diff): Clarify the order the file names are read
11691 (bug#7111).
11692
43f5740b
LMI
11693 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11694 the doc string (bug#7015).
11695
f2182a76
LMI
11696 * font-lock.el (font-lock-maximum-decoration): Mention what
11697 numeric levels mean (bug#6935).
11698
621ef9ab
LMI
11699 * startup.el (initial-buffer-choice): Don't mention the `none'
11700 selection, which is against policy.
11701
adc47434
MR
117022011-07-14 Martin Rudalics <rudalics@gmx.at>
11703
b796c9b7
SM
11704 * window.el (display-buffer-normalize-special):
11705 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11706
7e5bfb8f
EZ
117072011-07-14 Eli Zaretskii <eliz@gnu.org>
11708
11709 * subr.el (version<, version<=, version=): Mention "-CVS" and
11710 "-12345" alpha version numbers.
11711
27fa387a
CY
117122011-07-14 Chong Yidong <cyd@stupidchicken.com>
11713
11714 * bindings.el: Add advertised binding for set-mark-command
11715 (Bug#5772).
11716
8bdfa064
CY
117172011-07-14 Chong Yidong <cyd@stupidchicken.com>
11718
11719 * bindings.el (mode-line-other-buffer):
11720 * bookmark.el (bookmark-bmenu-2-window):
11721 * bs.el (bs-cycle-next, bs-cycle-previous):
11722 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11723 switch-to-buffer.
11724
11725 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11726 Delete.
8bdfa064 11727
5eba16a3
JB
117282011-07-14 Juanma Barranquero <lekktu@gmail.com>
11729
11730 * follow.el (follow-debug-message, follow-redisplay):
11731 * jka-cmpr-hook.el (with-auto-compression-mode):
11732 Fix typos in docstrings.
11733
15853710
LMI
117342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11735
a28e4607
LMI
11736 * subr.el (with-silent-modifications): Clarify somewhat what the
11737 macro inhibits (bug#6525).
11738
15853710
LMI
11739 * simple.el (eval-expression): Note what it does if called
11740 interactively (bug#6495).
11741
bee0fcef
CY
117422011-07-13 Chong Yidong <cyd@stupidchicken.com>
11743
b796c9b7
SM
11744 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11745 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11746
11747 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11748 Remove switch-to-buffer.
11749
58274504
LMI
117502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751
bd2fcc8d
LMI
11752 * files.el (make-directory): Clarify that an error will be raised
11753 if there's an error (bug#6397).
11754
0f04b32c
LMI
11755 * startup.el (initial-buffer-choice): Add `none' as a choice
11756 (bug#6234).
11757
465c5fc8
LMI
11758 * subr.el (add-hook): Clarify section about buffer-local hooks
11759 (bug#6218).
11760
58274504
LMI
11761 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11762
bead9a43
JB
117632011-07-13 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * tabify.el (untabify): Preserve the current column so that point
11766 doesn't move (bug#6032).
11767
3af98a7b
LMI
117682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11769
b796c9b7
SM
11770 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11771 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11772
6240145a
GM
117732011-07-13 Glenn Morris <rgm@gnu.org>
11774
11775 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11776 (dired-insert-directory): Give a message the first time
11777 if ls is found not to support --dired.
11778
1d8c2ccc
LMI
117792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780
11781 * simple.el (toggle-truncate-lines): Clarify what is toggled
11782 (bug#5580). Text by Drew Adams.
11783
5fc4038e
CY
117842011-07-13 Chong Yidong <cyd@stupidchicken.com>
11785
11786 * simple.el (blink-matching-open): Make the error message from the
11787 last change less verbose.
11788
bf6012e5
DN
117892011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11790
11791 * font-lock.el (font-lock-comment-face): Use the high contrast
11792 "yellow" color for font-lock-comment-face on low color terminals
11793 using a dark background color (bug#4221).
11794
343c3b5a
LMI
117952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11796
7e9505c5
LMI
11797 * dired.el (dired-insert-set-properties): Make the doc string
11798 reflect what it does now (bug#5325).
11799
c26fdcf5
LMI
11800 * simple.el (blink-matching-open): Say that we were unable to find
11801 the match within the limit, if we're limited (bug#5122).
11802
bb388cc5
LMI
11803 * international/mule-cmds.el (prefer-coding-system): Add an
11804 example (bug#4869).
11805
343c3b5a
LMI
11806 * progmodes/etags.el (tags-search): Document `file-list-form'
11807 (bug#4731).
11808
2a517d45
LM
118092011-07-13 Lawrence Mitchell <wence@gmx.li>
11810
11811 * net/browse-url.el (browse-url-default-browser)
11812 (browse-url-browser-function): Make the default browser choice a
11813 bit more logical (bug#4300). Also clean up the doc string.
11814
b6c78ef2
JB
118152011-07-13 Juanma Barranquero <lekktu@gmail.com>
11816
11817 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11818 binary endings (bug#4440).
11819
1c4dd947
LMI
118202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11821
a2014063
LMI
11822 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11823 which can be pretty annoying (bug#8971).
11824
9c9c2d88
LMI
11825 * jka-compr.el (jka-compr-verbose): New variable, and use
11826 throughout (bug#8971).
11827
1c4dd947
LMI
11828 * info.el (Info-find-file): Fall back on the installation
11829 directory if we can't find the info node anywhere else.
11830
a1c9f41b
SO
118312011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11832
11833 * vc/vc.el (vc-revert-file):
11834 Don't set file time-stamp in the past. (Bug#5181)
11835
536f3d36
LMI
118362011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11837
7152b011
LMI
11838 * files.el (after-find-file): Give a better error message when
11839 trying to find a symlink that points to a file that doesn't exist
11840 (bug#4398).
11841
536f3d36
LMI
11842 * progmodes/cc-vars.el: Remove (probably) misleading comment
11843 (bug#4396).
11844
460c0fba
JB
118452011-07-12 Johan Bockgård <bojohan@gnu.org>
11846
11847 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11848
7a6bda45
CY
118492011-07-12 Chong Yidong <cyd@stupidchicken.com>
11850
11851 * mouse-sel.el: Hack restoring functionality, while keeping
11852 compatibility with 2010-07-03 changes to mouse selection.
11853 (mouse-sel-primary-overlay): New var.
11854 (mouse-sel-selection-alist): Use it.
11855 (mouse-sel-mode): Doc fix; remove points that are default features
11856 of mouse.el.
11857
c79598ef
JB
118582011-07-12 Johan Bockgård <bojohan@gnu.org>
11859
11860 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11861 Fix previous fix (bug#2490).
11862
ff8be6ef
RW
118632011-07-12 Roland Winkler <winkler@gnu.org>
11864
b796c9b7
SM
11865 * textmodes/bibtex.el (bibtex-initialize):
11866 Use pop-to-buffer-same-window.
ff8be6ef
RW
11867 (bibtex-search-entries): Fix interactive call.
11868
296ba3ee
LMI
118692011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11870
f5242a02 11871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11872 Fontise bytecomp Error lines more correctly (bug#2490).
11873 Fix suggested by Johan Bockgård.
f5242a02 11874
296ba3ee
LMI
11875 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11876
11877 * dired-x.el (dired-guess-default): Use `delete-dups'.
11878
f69fd0d2
CY
118792011-07-12 Chong Yidong <cyd@stupidchicken.com>
11880
11881 * dired.el (dired-mark-prompt):
11882 * dired-aux.el (dired-read-shell-command): Doc fix.
11883
eab5dc07
LMI
118842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11885
b796c9b7
SM
11886 * mail/sendmail.el (sendmail-query-once):
11887 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11888 emacs -Q.
11889
11890 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11891
eab5dc07
LMI
11892 * cus-edit.el (custom-file): Take an optional no-error variable.
11893 (customize-save-variable): Set the variable, and give a warning if
11894 running under "emacs -q".
11895
a1e65d42
JB
118962011-07-11 Juanma Barranquero <lekktu@gmail.com>
11897
11898 * loadhist.el (unload-feature-special-hooks):
11899 Add `auto-coding-functions', `fill-nobreak-predicate' and
11900 `find-directory-functions' (bug#5327).
11901
1d52da10
LMI
119022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11903
be958f1d
LMI
11904 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11905
5bedb26c
LMI
11906 * cus-edit.el (custom-guess-name-alist): -alist variables should
11907 use the `alist' type (bug#3120). Suggested by Drew Adams.
11908
1d52da10
LMI
11909 * printing.el: Add documentation to all the `pr-toggle-' commands.
11910
cd394be1 119112011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11912
11913 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11914 backends where it makes sense (bug#2623).
11915
dcc88d8a
LMI
119162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11917
c3de9feb
LMI
11918 * dired-x.el (dired-guess-default): Remove duplicate shell command
11919 entries (bug#2028).
8a93078b 11920 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11921 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11922
dcc88d8a
LMI
11923 * subr.el (remove-duplicates): New conveniency function.
11924
505e3645
LMI
119252011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11926
11927 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11928 (bug#1526).
11929
119302011-07-10 Martin Rudalics <rudalics@gmx.at>
11931
11932 * window.el (display-buffer-normalize-default): Don't invert
11933 meaning of even-window-heights. Reported by Eli Zaretskii
11934 <eliz@gnu.org>.
11935
455e4fa1
BR
119362011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11937
11938 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11939
8e0bc3e9
CY
119402011-07-10 Chong Yidong <cyd@stupidchicken.com>
11941
11942 * window.el (display-buffer): Fix arguments to
11943 display-buffer-reuse-window in last change.
11944
fa7c3228
CY
11945 * faces.el (link): Use a less saturated blue on light backgrounds.
11946
11947 * startup.el (fancy-startup-text, fancy-about-text)
11948 (fancy-startup-tail): Use font-lock faces, for background safety.
11949
c0a7f300
BN
119502011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11951
b796c9b7
SM
11952 * emulation/viper-cmd.el (viper-change-state-to-vi):
11953 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11954
4dc2a129
MR
119552011-07-09 Martin Rudalics <rudalics@gmx.at>
11956
11957 * window.el (display-buffer-default-specifiers): Remove.
11958 (display-buffer-macro-specifiers): Remove default specifiers.
11959 (display-buffer-alist): Default to nil.
b796c9b7 11960 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11961 (display-buffer-pop-up-window): Allow splitting internal
11962 windows. Check whether a live window was created.
11963 (display-buffer-other-window-means-other-frame)
11964 (display-buffer-normalize-arguments): Rename to
11965 display-buffer-normalize-argument and rewrite. Set the
11966 other-window specifier.
11967 (display-buffer-normalize-special): New function.
11968 (display-buffer-normalize-options): Rename to
11969 display-buffer-normalize-default and rewrite.
11970 (display-buffer-normalize-options-inhibit): Remove.
11971 (display-buffer-normalize-specifiers): Rewrite.
11972 (display-buffer): Process other-window specifier and call
11973 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11974 more faithfully.
b796c9b7 11975 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11976 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11977 (display-buffer-in-window, display-buffer-alist-set):
11978 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11979 <tassilo@member.fsf.org>.
11980
2d43b8c9
LL
119812011-07-09 Leo Liu <sdl.web@gmail.com>
11982
11983 * register.el (insert-register): Restore accidental change on
11984 2011-06-26. (Bug#9028)
11985
7f9b7c53
GM
119862011-07-09 Glenn Morris <rgm@gnu.org>
11987
11988 * subr.el (remq): Handle the empty list. (Bug#9024)
11989
f042cfd8
AS
119902011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11991
11992 * mail/sendmail.el (send-mail-function): No longer delay custom
11993 initialization.
11994 * custom.el (custom-initialize-delay): Doc fix.
11995
856b2f11
SM
119962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11999
afae1d68
MA
120002011-07-08 Michael Albinus <michael.albinus@gmx.de>
12001
12002 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12003 human-friendly prompt.
12004
0757af94
SM
120052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12008 provided by a particular plugin.
12009
d760b731
LMI
120102011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12011
12012 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12013 save customizations (with "emacs -Q"), just set the variable
12014 instead of erroring out.
12015
12016 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12017
cd79ce90
JL
120182011-07-08 Juri Linkov <juri@jurta.org>
12019
12020 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12021 (archive-zip-update-case): Use 7z if found by `executable-find'.
12022 The order of searching the available programs is the same as in
12023 `archive-zip-extract' (bug#8968).
12024
14cc04aa
CY
120252011-07-07 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12028 (menu-bar-options-menu): Tweak descriptions.
12029
0a1848ec
LMI
120302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031
12032 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12033 menu items into verb phrases (bug#1421). Also refill to fit under
12034 80 columns.
12035
f5bd0689
CY
120362011-07-07 Chong Yidong <cyd@stupidchicken.com>
12037
538e85c6
CY
12038 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12039 (Info-read-node-name): Doc fix (Bug#1084).
12040
f5bd0689
CY
12041 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12042 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12043 (end-of-sexp, beginning-of-sexp)
12044 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12045 (forward-symbol, forward-same-syntax, word-at-point)
12046 (sentence-at-point): Doc fix (Bug#1144).
12047
56ec5115
LMI
120482011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12049
f3f8e37f
LMI
12050 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12051 should cover it (bug#1281).
12052
0757af94 12053 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12054
e9fce1ac 12055 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12056 negotiation fails, then possibly try again with a non-encrypted
12057 connection (bug#9017).
12058
56ec5115
LMI
12059 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12060 be used.
12061
c2f9aec8
RS
120622011-07-07 Richard Stallman <rms@gnu.org>
12063
12064 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12065 property, and handle its changed format.
12066 Look for the correct line number.
12067 Use file's line contents (but not past first =) to find
12068 correct line in message.
12069
ef7b981d 120702011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12071
12072 * international/characters.el (build-unicode-category-table):
12073 Delete it.
0757af94 12074 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12075
0757af94 12076 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12077 to src/chartab.c.
12078 (get-char-code-property): Call unicode-property-table-internal to
12079 load a file. Call get-unicode-property-internal where necessary.
12080 (put-char-code-property): Call unicode-property-table-internal to
12081 load a file. Call put-unicode-property-internal where necessary.
12082 put-unicode-property-internal where necessary.
0757af94
SM
12083 (char-code-property-description):
12084 Call unicode-property-table-internal to load a file.
c805dec0
KH
12085
12086 * international/charprop.el:
12087 * international/uni-bidi.el:
12088 * international/uni-category.el:
12089 * international/uni-combining.el:
12090 * international/uni-comment.el:
12091 * international/uni-decimal.el:
12092 * international/uni-decomposition.el:
12093 * international/uni-digit.el:
12094 * international/uni-lowercase.el:
12095 * international/uni-mirrored.el:
12096 * international/uni-name.el:
12097 * international/uni-numeric.el:
12098 * international/uni-old-name.el:
12099 * international/uni-titlecase.el:
12100 * international/uni-uppercase.el: Regenerate.
12101
12102 * loadup.el: Load international/charprop.el before
12103 international/characters.
12104
e14b388a
CY
121052011-07-07 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * window.el (next-buffer, previous-buffer): Signal an error if
12108 called from a minibuffer window.
12109
12110 * bindings.el: Revert 2011-07-04 change.
12111
354cf0ba
RS
121122011-07-06 Richard Stallman <rms@gnu.org>
12113
12114 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12115 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12116 Treat markers like ints.
12117 (rmail-mime-entity): Doc fix.
12118
a48868a7
LMI
121192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12120
4906cd3d
LMI
12121 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12122 defcustom again for backwards compatibility.
12123
e0457abe
LMI
12124 * simple.el (shell-command-on-region): Fill.
12125
d67f7e1f
LMI
12126 * dired-aux.el (dired-kill-line): Add a doc string.
12127
fe204702
LMI
12128 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12129 to "\\sw\\|\\s_" (bug#358).
12130
a48868a7
LMI
12131 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12132 (dired-unmark-backward): Ditto.
12133 (dired-flag-backup-files): Ditto.
12134
12135 * dired-x.el (dired-mark-sexp): Ditto.
12136
aa8a705c
RS
121372011-07-06 Richard Stallman <rms@gnu.org>
12138
12139 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12140 (rmail-mime-entity): New arg TRUNCATED.
12141 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12142 New functions.
12143 (rmail-mime-save): Warn if entity is truncated.
12144 (rmail-mime-toggle-hidden): Likewise, for showing.
12145 (rmail-mime-process-multipart): Record when an entity is truncated.
12146
a9a936b9
RS
12147 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12148 if ENTITY is a string.
12149
1f2b92cb
LMI
121502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12151
f4f73198 12152 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12153 of faces when `M-C-x'-ing their definitions (bug#8378).
12154 Also clean up the code slightly.
f4f73198 12155
12b16734 12156 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12157 because that makes the colors go away.
12b16734 12158
f0691d22
LMI
12159 * mail/sendmail.el (send-mail-function): Change the default to
12160 `sendmail-query-once'.
9e87df06 12161 (sendmail-query-once): Add an autoload cookie.
f0691d22 12162
1f2b92cb
LMI
12163 * net/network-stream.el (network-stream-open-starttls): Try using
12164 a plain connection even if the server offered STARTTLS, and we
12165 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12166 capability. This should make smtpmail.el work in slightly more
12167 configurations.
12168
1cdd2a1b
MA
121692011-07-06 Michael Albinus <michael.albinus@gmx.de>
12170
12171 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12172 New defun.
12173 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12174
fbcc67e2
MM
121752011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12176
12177 * progmodes/sql.el: Version 3.0
0757af94 12178 (sql-product-alist): Add product :completion-object,
fbcc67e2 12179 :completion-column, and :statement attributes.
0757af94 12180 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12181 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12182 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12183 ansi keywords.
12184 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12185 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12186 (sql-oracle-show-reserved-words): New function for development.
12187 (sql-product-font-lock): Simplify for source code buffers.
12188 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12189 New functions.
12190 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12191 (sql-mode-map): Add statement movement functions.
12192 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12193 New variable.
fbcc67e2
MM
12194 (sql-statement-regexp, sql-beginning-of-statement)
12195 (sql-end-of-statement, sql-signum): New functions.
0757af94 12196 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12197 (sql-show-sqli-buffer): Bug fix.
12198 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12199 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12200 with sql-interactive-mode.
12201 (sql-save-connection): Save buffer local settings.
0757af94 12202 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12203 (sql-product-interactive): Bug fix.
12204 (sql-preoutput-hold): New variable.
12205 (sql-interactive-remove-continuation-prompt): Bug fixes.
12206 (sql-debug-redirect): New variable.
12207 (sql-str-literal): New function.
12208 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12209 Redesign.
fbcc67e2
MM
12210 (sql-oracle-save-settings, sql-oracle-restore-settings)
12211 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12212 (sql-completion-object, sql-completion-column)
12213 (sql-completion-sqlbuf): New variables.
12214 (sql-build-completions-1, sql-build-completions)
12215 (sql-try-completion): New functions.
12216 (sql-read-table-name): Use them.
12217 (sql-contains-names): New buffer local variable.
12218 (sql-list-all, sql-list-table): Use it.
12219 (sql-oracle-completion-types): New variable.
12220 (sql-oracle-completion-object, sql-sqlite-completion-object)
12221 (sql-postgres-completion-object): New functions.
12222
d4eaeab1
GM
122232011-07-06 Glenn Morris <rgm@gnu.org>
12224
12225 * window.el (pop-to-buffer): Doc fix.
12226
322b7dab 122272011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12228
12229 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12230
322b7dab 122312011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12232
322b7dab 12233 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12234
322b7dab 12235 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12236
605dd5bf
CY
122372011-07-05 Chong Yidong <cyd@stupidchicken.com>
12238
12239 * button.el (button): Inherit from link face. Suggested by Dan
12240 Nicolaescu.
12241
7dbfa719
SM
122422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12243
3db614b0
SM
12244 * progmodes/gdb-mi.el: Fit in 80 columns.
12245 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12246 switch-to-buffer.
12247
7dbfa719
SM
12248 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12249 if imenu is simply not configured (bug#8941).
12250
919d884a
KM
122512011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12252
12253 * allout.el (allout-post-undo-hook): New allout outline-change
12254 event hook to signal undo activity.
12255 (allout-post-command-business): Run allout-post-undo-hook if an
12256 undo just occurred.
7dbfa719
SM
12257 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12258 * allout-widgets.el (allout-widgets-after-undo-function):
12259 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12260 in the vicinity of an undo.
12261 (allout-widgets-mode): Include allout-widgets-after-undo-function
12262 on the new allout-post-undo-hook.
12263
450a0f09
SM
122642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12267 Let define-derived-mode define it.
12268 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12269 cycles of abbrev-table inheritance (bug#8998).
12270
2de69e00
RW
122712011-07-05 Roland Winkler <winkler@gnu.org>
12272
12273 * textmodes/bibtex.el: Add support for biblatex.
12274 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12275 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12276 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12277 (bibtex-entry-alist, bibtex-field-alist): New variables.
12278 (bibtex-entry-field-alist): Obsolete alias for
12279 bibtex-BibTeX-entry-alist.
12280 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12281 (bibtex-set-dialect): New command.
12282 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12283 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12284 Bind via bibtex-set-dialect.
2de69e00
RW
12285 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12286 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12287 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12288 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12289 Define via bibtex-set-dialect.
450a0f09
SM
12290 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12291 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12292 (bibtex-vec-push, bibtex-vec-incr): New functions.
12293 (bibtex-format-entry, bibtex-field-list)
12294 (bibtex-print-help-message, bibtex-validate)
12295 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12296
2dcdbdd9
SM
122972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * progmodes/compile.el (compilation-goto-locus):
12300 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12301 * bs.el (bs-cycle-next, bs-cycle-previous):
12302 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12303 * bindings.el (mode-line-other-buffer):
12304 * autoinsert.el (auto-insert):
12305 * arc-mode.el (archive-extract):
12306 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12307
b27640fe
JB
123082011-07-05 Juanma Barranquero <lekktu@gmail.com>
12309
12310 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12311 Fix check of `emacs-lock-unlockable-modes'.
12312 Coerce true values of `emacs-lock--try-unlocking' to t.
12313
53bbe3ad
JB
123142011-07-05 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12317 * emacs-lock.el: New file.
12318
1d3cdbc7
JD
123192011-07-05 Julien Danjou <julien@danjou.info>
12320
12321 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12322 than `boundp' to check if face is set.
12323
9173deec
JB
123242011-07-05 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * register.el (registerv-make):
12327 * window.el (window-min-height): Fix typos in docstrings.
12328
869795d6
JD
123292011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12330
9173deec 12331 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12332 Update doc string.
12333
b768cdcd
JB
123342011-07-04 Juanma Barranquero <lekktu@gmail.com>
12335
12336 * server.el (server-execute): Catch quit and call
12337 `server-return-error' to pass the error back to emacsclient and
12338 close the connection (bug#8942).
12339
13aa217b
KM
123402011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12341
12342 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12343 insecure exception for current topic. Also note that auto-saves
12344 are handled differently.
12345
5d3385a0 12346 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12347 State variables for tracking auto-save inhibition situation.
12348
12349 (allout-write-contents-hook-handler): Rename from
12350 'allout-write-file-hook-handler', and describe how it depends on
12351 write-contents-functions sensitivity to non-nil value to prevent
12352 file write.
12353
12354 (allout-auto-save-hook-handler): Remove. auto-save does not check
12355 this in individual buffers, only in the starting buffer, so this
12356 is not the right way for us to inhibit auto-save in a buffer
12357 according to its condition.
12358
12359 (allout-mode): Use new allout-write-contents-hook-handler, and
12360 only with write-contents-functions. Remove auto-save provisions -
12361 they're implemented elsewhere.
12362
12363 (allout-before-change-handler): If undo is in progress, note that
12364 for attention of allout-post-command-business.
12365
12366 (allout-post-command-business): If the command we're following was
12367 an undo, check for change in the status of encrypted items and
12368 adjust auto-save inhibitions accordingly.
12369
12370 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12371 according to whether there are or aren't any plain-text topics
12372 pending encryption.
12373
2dcdbdd9 12374 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12375 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12376 if there are plain-text topics pending encryption.
13aa217b
KM
12377
12378 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12379 buffer-saved-size and some allout state to not inhibit auto-saves
12380 if there are no longer any plain-text topics pending encryption.
12381
0757af94
SM
12382 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12383 No longer provide for exemption of the current topic.
13aa217b 12384
ac89b32c
JL
123852011-07-04 Juri Linkov <juri@jurta.org>
12386
12387 Add 7z operations to delete and save changed members (bug#8968).
12388 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12389 New defcustoms.
12390 (archive-7z-write-file-member): New function.
12391 (archive-7z-summarize): Fix the number of dashes in the
12392 listing output.
12393
8fa39615
SM
123942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12397 (bug#8958).
12398
2f11b3f1
CY
123992011-07-04 Chong Yidong <cyd@stupidchicken.com>
12400
d66fef2b
CY
12401 * bindings.el: Ignore next-buffer and previous-buffer in
12402 minibuffer-local-map.
12403
2f11b3f1
CY
12404 * font-lock.el (font-lock-builtin-face): Change light background
12405 color to dark slate blue (Bug#6693).
12406
f932a347
WD
124072011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12408
12409 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12410
c8af70e1
SM
124112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12414 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12415 Add switch-to-buffer.
12416
f158badc
LMI
124172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12418
12419 * isearch.el (isearch-search-fun-function): Clarify further the
12420 meaning of the function returned.
12421
6d95bd46
MA
124222011-07-04 Michael Albinus <michael.albinus@gmx.de>
12423
12424 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12425
12426 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12427 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12428 Use it.
12429 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12430 `tramp-default-remote-path' does not exist.
12431 (tramp-send-command-and-read): New optional argument NOERROR.
12432 (tramp-open-connection-setup-interactive-shell)
12433 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12434 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12435 (tramp-process-sentinel): Flush also process' connection property.
12436 (tramp-sh-handle-start-file-process): Do not set process
12437 sentinel. It is done now ...
12438 (tramp-maybe-open-connection): ... here. (Bug#8929)
12439
909e6b67
MK
124402011-07-04 MON KEY <monkey@sandpframing.com>
12441
12442 * play/animate.el (animate-string): Doc fixes and allow changing
12443 the buffer name (bug#5417).
12444
124452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12446
c8af70e1 12447 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12448
f34755dc
PE
124492011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12450
396cec72
PE
12451 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12452 This is simpler and helps future-proof the code.
12453 (timer-until): Use time-subtract and float-time.
08235028 12454 (timer--time-less-p): Use time-less-p.
f34755dc 12455
56e6cc31
JB
124562011-07-04 Juanma Barranquero <lekktu@gmail.com>
12457
3abb79e5
JB
12458 * type-break.el (timep): Use the value of `float-time' to avoid a
12459 byte-compiler warning.
12460
56e6cc31
JB
12461 * server.el (server-eval-and-print): Return any result, even nil.
12462
7b9430b4
PE
124632011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12464
12465 * type-break.el: Accept time formats that the builtins accept.
12466 (timep, type-break-time-difference): Accept any format that
12467 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12468 This is simpler and helps future-proof the code.
12469 (type-break-time-difference): Round rather than ignoring
12470 subseconds components.
12471
3034e9e7
LMI
124722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12473
12474 * info.el (Info-apropos-matches): Make non-interactive, since it
12475 doesn't seem to do anything useful as a command (bug#8829).
12476
1485f4c0
CY
124772011-07-03 Chong Yidong <cyd@stupidchicken.com>
12478
12479 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12480 Move from faces.el.
1485f4c0
CY
12481 (frame-default-terminal-background): New function.
12482
12483 * custom.el (custom-push-theme): Don't record faces in `changed'
12484 theme; this doesn't work correctly for per-frame face settings.
12485 (disable-theme): Use face-set-after-frame-default to reset faces.
12486 (custom--frame-color-default): New function.
12487
9fa3dd45
LMI
124882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489
c8af70e1 12490 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12491 (bug#8769).
12492
6cbbc20c
KR
124932011-03-29 Kevin Ryde <user42@zip.com.au>
12494
12495 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12496 `perl-Test2' extend to match possible "fail #N" rep count
12497 (bug#8377).
12498
c7f98048
LMI
124992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12500
65676592
LMI
12501 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12502 `smtpmail-via-smtp' now returns the error instead of nil.
12503
c7f98048
LMI
12504 * isearch.el (isearch-search-fun-function): Clarify the doc string
12505 (bug#8101).
12506
56e6cc31 125072011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12508
12509 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12510 unnecessary spaces (bug#8987).
12511
2b216704
LMI
125122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12513
12514 * net/network-stream.el (open-network-stream): Use the
12515 :end-of-capability command thoughout.
12516
125172011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12518
12519 * net/network-stream.el (open-network-stream): Add the
12520 :end-of-capability command parameter, used by pop3.el.
12521
36adf6ce
LMI
125222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12523
1ca0da0e
LMI
12524 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12525
fc00f69c
LMI
12526 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12527 for list)" (bug#6475).
12528
28fd8759 12529 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12530 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12531 an error (bug#6297).
12532
0dd8b6da
LMI
12533 * man.el (Man-reference-regexp): Allow matching possible
12534 word-wrapped references (bug#6289).
12535
ce1438d6
LMI
12536 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12537 for consistency with the other vc buffers (bug#6197).
12538 (vc-checkin): Ditto.
12539
12540 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12541
36adf6ce
LMI
12542 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12543
e83cc1f7
LMI
125442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545
8a20ca4c
LMI
12546 * custom.el (defcustom): Clarify that :set is only used in the
12547 Customize user interface (bug#6089).
12548
83319045
LMI
12549 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12550 associated with a file, refuse to run instead of erroring out
12551 (bug#6084).
12552
a8392169
LMI
12553 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12554 the doc string, since it appears that using `fill-column' always
12555 controls the width (bug#7845).
12556
e83cc1f7
LMI
12557 * simple.el (shell-command-on-region): Say where the error output
12558 went if `shell-command-default-error-buffer' is set (bug#6857).
12559
e47ca23b
KM
125602011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12561
12562 * allout.el (allout-yank-processing): Adjust cursor position for
12563 backwards-deleted space.
12564
12565 (allout-rebullet-heading): Register changes with
12566 allout-exposure-changed-hook, so the modified topic is properly
12567 decorated.
12568
5cf56143
LMI
125692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12570
08549772
LMI
12571 * minibuffer.el (completion-in-region): Document PREDICATE
12572 (bug#7136).
12573
48e96771
LMI
12574 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12575 of keyword/argument pairs (bug#6904).
12576
c8af70e1
SM
12577 * replace.el (multi-occur):
12578 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12579
e17d05e2
LMI
125802011-07-02 Drew Adams <drew.adams@oracle.com>
12581
12582 * dired.el (dired-mark-if): Make the message about whether it's
12583 marking or unmarking clearer (bug#8523).
12584
063b0e45
LMI
125852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12586
12587 * disp-table.el (display-table-print-array): New function.
12588 (describe-display-table): Use it to print the vectors more pretty
12589 (Bug#8859).
12590
28545e04
MR
125912011-07-02 Martin Rudalics <rudalics@gmx.at>
12592
12593 * window.el (window-state-get-1): Don't assign clone numbers.
12594 Add clone-of item to list of window parameters.
12595 (window-state-put-2): Don't process clone numbers.
12596 (display-buffer-alist): Fix doc-string.
12597
3349e122
SM
125982011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12599
12600 * subr.el (remq): Don't allocate if it's not needed.
12601 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12602 (keymap--merge-bindings): New functions.
12603 (keymap-canonicalize): Use them to refine the canonicalization.
12604 * minibuffer.el (minibuffer-local-completion-map)
12605 (minibuffer-local-must-match-map): Move initialization from C.
12606 (minibuffer-local-filename-completion-map): Move initialization from C;
12607 don't inherit from anything here.
12608 (minibuffer-local-filename-must-match-map): Make obsolete.
12609 (completing-read-default): Use make-composed-keymap to combine
12610 minibuffer-local-filename-completion-map with either
12611 minibuffer-local-must-match-map or
12612 minibuffer-local-filename-completion-map.
12613
d224ac83
GM
126142011-07-01 Glenn Morris <rgm@gnu.org>
12615
3de63bf8
GM
12616 * type-break.el (type-break-time-sum): Use dolist.
12617
d224ac83
GM
12618 * textmodes/flyspell.el (flyspell-word-search-backward):
12619 Replace CL function.
12620
1a1e3f32
SM
126212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12622
fe3f64d5
SM
12623 * mouse.el (mouse--strip-first-event): New function.
12624 (function-key-map): Use it to map fringe clicks to normal clicks
12625 by default.
12626
eb604e34
SM
12627 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12628 (vc-bzr-revision-completion-table): Add support for annotate and date.
12629
1a1e3f32
SM
12630 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12631 inherit from parent.
12632
5bd35902
LMI
126332011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12634
ace6c69c 12635 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12636 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12637
191e2bed
LMI
12638 * dired.el (dired-mode): Fix up the doc string as suggested by
12639 Drew Adams (bug#8817).
12640
5bd35902
LMI
12641 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12642 cookie, since the manual says that it should be possible to add
12643 this function to `find-file-hook' (bug#8709).
12644
eee8207a
TZ
126452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12646
12647 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12648 here. Noted Ted Zlatanov as the maintainer.
12649 (cfengine-common-settings, cfengine-common-syntax): New functions
12650 to set up common things between `cfengine-mode' and
12651 `cfengine3-mode'.
12652 (cfengine3-mode): New mode.
12653 (cfengine3-defuns cfengine3-defuns-regex
12654 (cfengine3-class-selector-regex cfengine3-category-regex)
12655 (cfengine3-vartypes cfengine3-font-lock-keywords)
12656 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12657 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12658
36b148cf
MA
126592011-07-01 Michael Albinus <michael.albinus@gmx.de>
12660
12661 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12662
12663 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12664
0bf4ba9a
MR
126652011-07-01 Martin Rudalics <rudalics@gmx.at>
12666
12667 * window.el (same-window-buffer-names, same-window-regexps)
12668 (same-window-p, special-display-frame-alist)
12669 (special-display-popup-frame, special-display-function)
12670 (special-display-buffer-names, special-display-regexps)
12671 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12672 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12673 (split-window-preferred-function, split-height-threshold)
12674 (split-width-threshold, even-window-heights)
12675 (display-buffer-mark-dedicated, window-splittable-p)
12676 (split-window-sensibly, window-safely-shrinkable-p):
12677 Un-obsolete.
12678 (display-buffer): Don't spread args with function specifier
12679 because special-display-popup-frame won't like it.
12680
35837f51
PE
126812011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12682
d0672f86
PE
12683 Time-stamp simplifications and fixes.
12684 These improve accuracy slightly, and future-proof the code
12685 against some potential changes to current-time format.
12686
b9444d97
PE
12687 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12688 by using time-since and float-time.
12689
0ef923dc
PE
12690 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12691 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12692 + NNN microseconds".
12693
2f81380d
PE
12694 * type-break.el (type-break-time-sum): Rewrite using time-add.
12695
845b5c3e
PE
12696 * play/hanoi.el (hanoi-current-time-float): Remove.
12697 All uses replaced by float-time.
12698
ee6f1be0
PE
12699 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12700 This yields a more-accurate answer.
12701 (rng-time-to-float): Remove; no longer needed.
12702
fe955043
PE
12703 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12704
5777162a
PE
12705 * calendar/timeclock.el (timeclock-seconds-to-time):
12706 Defalias to seconds-to-time, since they're the same thing.
12707
3103f8b6 12708 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12709 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12710 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12711
0e61a35f
SM
127122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * window.el (bury-buffer): Don't iconify the only frame.
12715 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12716 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12717
ddd63a1e
CY
127182011-07-01 Chong Yidong <cyd@stupidchicken.com>
12719
0e61a35f
SM
12720 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12721 Add mouse-yank-primary.
ddd63a1e 12722
055f4923
TZ
127232011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12724
12725 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12726
6a2fb145
SM
127272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12728
12729 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12730 (find-library-name): Use it to find relative load names when provided
12731 absolute file name (bug#8803).
12732
fd4983f2
LMI
127332011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12734
887d14ad
LMI
12735 * textmodes/flyspell.el (flyspell-word): Consider words that
12736 differ only in case as potential doublons (bug#5687).
12737
c53dc7fc
LMI
12738 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12739 Remove two rather uninteresting debugging-like messages to make
12740 debbugs.el more silent.
12741
fd4983f2
LMI
12742 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12743 a password-like phrase.
12744
7a71b18d 127452011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12746
12747 * progmodes/cc-guess.el: New file.
12748
6a2fb145 12749 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12750
12751 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12752 derived from `c-basic-common-init'.
12753
12754 * progmodes/cc-mode.el (top-level): Require cc-guess.
12755 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12756
1fa280a3
LM
127572011-06-30 Lawrence Mitchell <wence@gmx.li>
12758
12759 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12760
e6597158
AM
127612011-06-30 Alan Mackenzie <acm@muc.de>
12762
1fa280a3
LM
12763 * progmodes/cc-engine.el (c-guess-continued-construct):
12764 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12765 lock is disabled. Name this case as "CASE G".
12766
68ba37fb
KM
127672011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12768
12769 * allout.el (allout-yank-processing): Fix injection of extra space
12770 between bullet and non-whitespace character in first topic when
12771 pasting, ensuring that the actual spacing in the pasted topic
12772 following the bullet char is preserved. This extra space was
12773 causing pasted encrypted topics to get a decrypted status even
12774 when the content was actually still encrypted. Now the decryption
12775 status from before the paste is preserved.
12776
12777 (allout-flag-region): Set all allout overlays so they evaporate
12778 when reduced to zero length (evanescent), to prevent overlay
12779 leakage.
12780
887a0b34
GM
127812011-06-30 Glenn Morris <rgm@gnu.org>
12782
94b9acce
GM
12783 * w32-fns.el (w32-charset-info-alist): Declare.
12784
1d9b46d4
GM
12785 * find-dired.el (find-grep-options): Simplify.
12786
cc232200
GM
12787 * term/ns-win.el (ns-set-resource): Declare.
12788
28e77c46
GM
12789 * ses.el (row, col): Declare dynamic variables honestly.
12790
887a0b34
GM
12791 * textmodes/reftex-parse.el (index-tags): Declare.
12792
658d8eb8
CY
127932011-06-30 Chong Yidong <cyd@stupidchicken.com>
12794
12795 * cus-edit.el (customize-push-and-save): New function.
12796
12797 * files.el (hack-local-variables-confirm): Use it.
12798
1fa280a3
LM
12799 * custom.el (load-theme): New arg NO-CONFIRM.
12800 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12801 (custom-enabled-themes): Doc fix.
12802
12803 * cus-theme.el (customize-create-theme)
12804 (custom-theme-merge-theme): Callers to load-theme changed.
12805
bb617717
LMI
128062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12807
d61bdd5d
LMI
12808 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12809 short URLs have at least one dot in them (bug #7614).
12810
bb617717
LMI
12811 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12812 nil, because using a pty is apparently too slow (bug #895).
12813
2f31f37a
LMI
128142011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12815
12816 * mail/sendmail.el (sendmail-query-once): New function.
12817 (sendmail-query-once-function): New variable.
12818
3076b24e
GM
128192011-06-29 Glenn Morris <rgm@gnu.org>
12820
faf2a174
GM
12821 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12822
3076b24e
GM
12823 * ses.el (top-level): Require cl when compiling.
12824 (ses-set-localvars): Fix error statement.
12825 Call it at compile time to silence a storm of warnings.
12826
5386012d
MR
128272011-06-29 Martin Rudalics <rudalics@gmx.at>
12828
12829 * window.el (normalize-live-buffer): Rename to
12830 window-normalize-buffer.
12831 (normalize-live-frame): Rename to window-normalize-frame.
12832 (normalize-any-window): Rename to window-normalize-any-window.
12833 (normalize-live-window): Rename to window-normalize-live-window.
12834 (make-window-atom): Rename to window-make-atom.
12835 (window-resize-reset): Rename to window--resize-reset.
12836 (window-resize-reset-1): Rename to window--resize-reset-1.
12837 (resize-mini-window): Rename to window--resize-mini-window.
12838 (resize-subwindows-skip-p): Rename to
12839 window--resize-subwindows-skip-p.
12840 (resize-subwindows-normal): Rename to
12841 window--resize-subwindows-normal.
12842 (resize-subwindows): Rename to window--resize-subwindows.
12843 (resize-other-windows): Rename to window--resize-siblings.
12844 (resize-this-window): Rename to window--resize-this-window.
12845 (resize-root-window): Rename to window--resize-root-window.
12846 (resize-root-window-vertically): Rename to
12847 window--resize-root-window-vertically.
12848 (normalize-buffer-to-display): Rename to
12849 window-normalize-buffer-to-display.
12850 (normalize-buffer-to-switch-to): Rename to
12851 window-normalize-buffer-to-switch-to.
12852 Correspondingly update all callers of the functions listed
12853 above.
12854 (display-buffer-alist, display-buffer-normalize-arguments)
12855 (display-buffer-normalize-options, display-buffer)
12856 (display-buffer-alist-set): Use "function" instead of
12857 "fun-with-args".
12858
1176868d
CY
128592011-06-28 Chong Yidong <cyd@stupidchicken.com>
12860
12861 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12862 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12863 debbugs.gnu.org. Mention acknowledgment email.
12864
20a7a65f
LMI
128652011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12866
12867 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12868 buffer multibyteness, since it shouldn't matter.
12869
5f45cca5
MR
128702011-06-28 Martin Rudalics <rudalics@gmx.at>
12871
12872 * window.el (display-buffer-in-side-window): Handle dedicated
12873 windows as in display-buffer-reuse-window.
12874 (display-buffer-normalize-alist): Use value of override
12875 specifier.
12876 (display-buffer-normalize-specifiers): Use value of
12877 other-window-means-other-frame specifier.
12878 (display-buffer-alist): Rewrite some texts in widgets.
12879 (display-buffer): Spread arguments when calling function
12880 specified by fun-with-args.
12881
ad85fe1f
DD
128822011-06-28 Deniz Dogan <deniz@dogan.se>
12883
1fa280a3
LM
12884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12885 Unnest `let'.
da68c4c8 12886
ad85fe1f
DD
12887 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12888 selectors (Bug#5732).
ec49bd31 12889 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12890
a08cc025
JA
128912011-06-27 Jari Aalto <jari.aalto@cante.net>
12892
12893 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12894 (eshell-ls-date-format): New defcustom.
12895 (eshell-ls-file): Use it.
12896
e2b551c5
SM
128972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12900
8982b231
KY
129012011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12902
12903 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12904 (ange-ftp-make-tmp-name): New arg.
12905 (ange-ftp-file-local-copy): Use it.
12906
36c9fa27
J
129072011-06-27 Jambunathan K <kjambunathan@gmail.com>
12908
12909 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12910 no-conversion (Bug#8870).
12911
d68443dc
MR
129122011-06-27 Martin Rudalics <rudalics@gmx.at>
12913
12914 * window.el (window-right, window-left, window-child)
12915 (window-child-count, window-last-child)
12916 (window-iso-combination-p, walk-window-tree-1)
12917 (window-atom-check-1, window-tree-1, delete-window)
12918 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12919 new naming conventions - window-vchild, window-hchild,
12920 window-next and window-prev are now called window-top-child,
12921 window-left-child, window-next-sibling and window-prev-sibling
12922 respectively.
d615d6d2
MR
12923 (resize-window-reset): Rename to window-resize-reset.
12924 (resize-window-reset-1): Rename to window-resize-reset-1.
12925 (resize-window): Rename to window-resize.
12926 (window-min-height, window-min-width)
12927 (resize-mini-window, resize-this-window, resize-root-window)
12928 (resize-root-window-vertically, adjust-window-trailing-edge)
12929 (enlarge-window, shrink-window, maximize-window)
12930 (minimize-window, delete-window, quit-restore-window)
12931 (split-window, balance-windows, balance-windows-area-adjust)
12932 (balance-windows-area, window-state-put-2)
12933 (display-buffer-even-window-sizes, display-buffer-set-height)
12934 (display-buffer-set-width, set-window-text-height)
12935 (fit-window-to-buffer): Rename all "resize-window" prefixed
12936 calls to use the "window-resize" prefix convention.
12937 (display-buffer-alist): Fix symbol for label specifier.
12938 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12939 corresponding specifier.
12940 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12941
b6458526
VB
129422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12943
12944 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12945 convention.
12946 (ses-call-printer): Does not pass an empty string to formatter when the
12947 cell is empty to keep from barking printer Calc math-format-value.
12948
d31fd9ac
RS
129492011-06-27 Richard Stallman <rms@gnu.org>
12950
43d5bf84
RS
12951 * battery.el (battery-mode-line-limit): New variable.
12952 (battery-update): Handle it.
12953
d31fd9ac
RS
12954 * mail/rmailmm.el (rmail-mime-process-multipart):
12955 Handle truncated messages.
12956
819a6054
GM
129572011-06-27 Glenn Morris <rgm@gnu.org>
12958
12959 * progmodes/flymake.el (flymake-err-line-patterns):
12960 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12961
cedc73f2
VB
129622011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12963
819a6054 12964 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12965 (ses--clean-!, ses--clean-_): New functions.
12966 (ses-range): Add configurability of readout order, and conversion
12967 to Calc vector.
12968
5e5d49b6
VB
12969 * ses.el (ses-repair-cell-reference-all): New function.
12970 (ses-cell-symbol): Set macro as safe, so that it can be used in
12971 formulas.
12972
56e6cc31 12973 * ses.el: Update cycle detection algorithm.
90ca8b49 12974 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12975 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12976 (ses-set-localvars): New function.
12977 (ses-make-cell): Add property-list as a cell element.
12978 (ses-cell-property-get-fun, ses-cell-property-get)
12979 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12980 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12981 New functions.
90ca8b49
VB
12982 (ses-cell-property-set, ses-cell-property-pop)
12983 (ses-cell-property-get-handle): New macro.
12984 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12985 New aliases, used for code readability.
12986 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12987 cycle detection.
12988 (ses-self-reference-early-detection): New defcustom.
fac916bf 12989 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12990 (ses-mode): Use ses-set-localvars.
12991 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12992 before lauching the update processing.
12993 (ses-initialize-Dijkstra-attempt): New function.
12994 (ses-recalculate-cell): Update for cycle detection based on
12995 Dijkstra algorithm.
12996
2bb63e81
VB
12997 * ses.el: Fix commenting and indenting convention.
12998
c9d29fb8
SM
129992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * bs.el (bs-cycle-next): Complete last change.
13002
d8e4b68b
JB
130032011-06-27 Drew Adams <drew.adams@oracle.com>
13004
13005 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13006
40098786
LMI
130072011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13008
c9d29fb8
SM
13009 * net/network-stream.el (network-stream-open-starttls):
13010 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13011 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13012
40098786
LMI
13013 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13014 to binary to possibly avoid line encoding issues on Windows (among
13015 other things).
13016
468d09d4
LMI
130172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13018
13019 * net/network-stream.el (open-network-stream): Return an :error
13020 saying what the problem was, if possible.
13021
13022 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13023 server.
13024
13025 * net/network-stream.el (network-stream-open-starttls): If we
13026 wanted to use STARTTLS, and the server offered it, but we weren't
13027 able to because we had no STARTTLS support, then close the connection.
13028 (open-network-stream): Return an :error element, if present.
13029
16f07dd7
CY
130302011-06-26 Chong Yidong <cyd@stupidchicken.com>
13031
88821ca0
CY
13032 * hl-line.el (hl-line-sticky-flag): Doc fix.
13033 (global-hl-line-sticky-flag): New option (Bug#8323).
13034 (global-hl-line-highlight): Obey it.
13035
16f07dd7
CY
13036 * vc/vc.el (vc-revert-show-diff): Default to t.
13037
6b5ccddf
KM
130382011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13039
c9d29fb8
SM
13040 * allout-widgets.el (allout-widgets-post-command-business):
13041 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13042 undecorated when an isearch is continued past, and isearch
13043 automatically collapses them. This leads to "widget leaks", where
13044 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13045 hidden widgets can slow down cursor travel, substantially.
13046 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13047 so we're doing without this nicety.
13048
13049 (allout-widgets-tally-string): Don't try to do a hash-table-count
13050 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13051 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13052 *Messages* when allout-widgets-maintain-tally is t.
13053
355f2e07
MR
130542011-06-26 Martin Rudalics <rudalics@gmx.at>
13055
13056 * window.el (display-buffer-normalize-argument): Rename to
13057 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13058 LABEL argument. Respect special-display-function when popping up
13059 a new frame. Fix code searching for a window showing the buffer
13060 on another frame.
c9d29fb8
SM
13061 (display-buffer-normalize-specifiers):
13062 Call display-buffer-normalize-arguments.
355f2e07
MR
13063 (display-buffer-in-window): Don't undedicate the window if its
13064 buffer remains the same.
13065 Reported by Drew Adams <drew.adams@oracle.com>.
13066 (display-buffer-alist): Add choice for same-window macro
13067 specfier.
13068 (display-buffer): Mention special meaning of LABEL argument in
13069 doc-string. Fix quoting. Don't pop up a new frame even as
13070 fallback.
13071
7ca8fc42
JB
130722011-06-26 Juanma Barranquero <lekktu@gmail.com>
13073
13074 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13075 avoid deleting the current window in some cases (bug#8911).
13076
bc312254
AS
130772011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13078
13079 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13080 (Bug#8934)
13081
2db18f3f
LMI
130822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13083
c9d29fb8
SM
13084 * net/network-stream.el (network-stream-open-starttls):
13085 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13086 (network-stream-open-tls): Ditto.
13087
6302e0d3
LL
130882011-06-26 Leo Liu <sdl.web@gmail.com>
13089
13090 * register.el (registerv): New struct.
13091 (registerv-make): New function.
c9d29fb8
SM
13092 (jump-to-register, describe-register-1, insert-register):
13093 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13094 struct. (Bug#8415)
13095
5fdd4046
CY
130962011-06-26 Chong Yidong <cyd@stupidchicken.com>
13097
2afef60a
CY
13098 * vc/vc.el (vc-revert-show-diff): New defcustom.
13099 (vc-diff-internal): New arg specifying diff buffer.
13100 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13101 reuse an existing *vc-diff* buffer (Bug#8927).
13102
5fdd4046
CY
13103 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13104
e93db24a
GM
131052011-06-26 Glenn Morris <rgm@gnu.org>
13106
13107 * progmodes/f90.el (f90-critical-indent): New option.
13108 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13109 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13110 (f90-mode): Doc fix.
13111 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13112 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13113 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13114 (f90-match-end): Handle block, critical.
13115
eefff499
GM
131162011-06-25 Glenn Morris <rgm@gnu.org>
13117
f6ba4cc9
GM
13118 * calendar/diary-lib.el (diary-included-files): Doc fix.
13119 (diary-include-files): New function, extracted from
13120 diary-include-other-diary-files and diary-mark-included-diary-files.
13121 (diary-include-other-diary-files, diary-mark-included-diary-files):
13122 Just call diary-include-files.
13123 (diary-mark-entries): Reset diary-included-files on first call.
13124
16712304
GM
13125 * calendar/diary-lib.el (diary-mark-entries)
13126 (diary-mark-included-diary-files):
13127 Visit included diary-files in temp buffers.
13128
5d8e0d43
GM
13129 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13130 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13131 (f90-start-block-re, f90-imenu-generic-expression)
13132 (f90-looking-at-program-block-start, f90-no-block-limit):
13133 Add support for submodules.
13134
ccf7a5d5
GM
13135 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13136 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13137
11fdef7d 131382011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13139
13140 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13141 buffer-file-type before setting its value, to avoid disastrous
eefff499 13142 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13143
74f53697
JB
131442011-06-25 Juanma Barranquero <lekktu@gmail.com>
13145
13146 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13147
13148 * ses.el (ses-unload-function):
13149 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13150
13151 * proced.el (proced-unload-function):
13152 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13153
18a4ce5e
AR
131542011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13155
13156 * server.el (server-create-window-system-frame): Add parameters arg.
13157 (server-process-filter): Doc fix. Handle frame-parameters.
13158
519d22cc
JB
131592011-06-25 Juanma Barranquero <lekktu@gmail.com>
13160
13161 Fix bug#8730, bug#8781.
13162
13163 * loadhist.el (unload--set-major-mode): New function.
13164 (unload-feature): Use it.
13165
13166 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13167 (python-unload-function): New function.
13168
c206f5b0
SM
131692011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13172
f9ad64f3
GS
131732011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13174
13175 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13176 the candidates list.
13177
7d0da90e
JB
131782011-06-24 Juanma Barranquero <lekktu@gmail.com>
13179
13180 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13181
14b4e83d
RS
131822011-06-23 Richard Stallman <rms@gnu.org>
13183
13184 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13185 (rmail-variables): Set next-error-move-function.
13186 (rmail-what-message): Take argument POS.
13187 (rmail-next-error-move): New function.
13188
273d2baf
SM
131892011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13192 messages for adjacent non-terminals.
13193
56c2cc9a
RS
131942011-06-23 Richard Stallman <rms@gnu.org>
13195
13196 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13197 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13198 (rmail-start-mail): Don't specify use of rmail-mail-return;
13199 that's done by mail-bury now.
13200 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13201
d59eb518
MA
132022011-06-23 Michael Albinus <michael.albinus@gmx.de>
13203
13204 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13205 SIZE is a number.
13206
02cfc6d6
MR
132072011-06-23 Martin Rudalics <rudalics@gmx.at>
13208
13209 * window.el (get-lru-window, get-mru-window)
13210 (get-largest-window): Never return a minibuffer window.
13211 (display-buffer-pop-up-window): Fix a bug that could lead to
13212 reusing the minibuffer window.
13213 (display-buffer): Pass original specifier argument to
13214 display-buffer-function instead of the normalized one.
13215 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13216
4e323265
LL
132172011-06-22 Leo Liu <sdl.web@gmail.com>
13218
13219 * minibuffer.el (completing-read-function)
13220 (completing-read-default): Move from minibuf.c
13221
7a70468f
RS
132222011-06-22 Richard Stallman <rms@gnu.org>
13223
50718fc2
RS
13224 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13225 to Rmail even if not started by a special Rmail command.
13226
7a70468f
RS
13227 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13228 Copy the buffer currently showing just one message.
13229
297dde5a
RW
132302011-06-22 Roland Winkler <winkler@gnu.org>
13231
13232 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13233 (bibtex-clean-entry): First delete the old key so that a
13234 customized algorithm for generating the new key does not get
13235 confused by the old key.
13236 (bibtex-url): Obey regexp of first step.
13237 (bibtex-search-entries): Do not use add-to-list with local
13238 list-var.
13239
97bb1093
LMI
132402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13241
13242 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13243 stored a user name, then query for the password first, instead of
13244 waiting for SMTP to give an error message and the trying again.
13245
1c0f1a19
JD
132462011-06-22 Lawrence Mitchell <wence@gmx.li>
13247
13248 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13249 BUFFER in call-process.
13250
396f7c9d
LMI
132512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13252
13253 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13254 QUIT twice.
ddb7ffee
LMI
13255 (smtpmail-try-auth-methods): Require user name and password from
13256 auth-source.
396f7c9d 13257
8998d1b3
MR
132582011-06-22 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (display-buffer-default-specifiers)
13261 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13262 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13263 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13264
13265 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13266 (special-display-frame-alist, special-display-popup-frame):
13267 Remove duplicate declarations. These are now in window.el.
13268
4ea31e07
LMI
132692011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13270
c9d29fb8
SM
13271 * mail/smtpmail.el (smtpmail-via-smtp):
13272 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13273 server supports it. SMTP servers that support STARTTLS commonly
13274 require it.
13275
13276 * net/network-stream.el (network-stream-open-starttls): Support
13277 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13278 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13279
95f41d9a
LMI
13280 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13281 upgrades with `open-network-stream', and rely solely on
13282 auth-source for all credentials. Big changes throughout the file,
13283 but in particular:
c9d29fb8
SM
13284 (smtpmail-auth-credentials): Remove.
13285 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13286 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13287 MAIL FROM, too.
95f41d9a 13288
c9d29fb8
SM
13289 * net/network-stream.el (network-stream-open-starttls):
13290 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13291 STARTTLS.
13292 (auth-source): Require.
13293 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13294 (network-stream-certificate): Change cert-cert to cert and
13295 cert-key to key.
4ea31e07 13296
065ec2c7
MA
132972011-06-21 Michael Albinus <michael.albinus@gmx.de>
13298
13299 * net/tramp-cache.el (top): Don't load the persistency file when
13300 "emacs -Q" has been called.
13301
cd93b359
DR
133022011-06-21 Tim Harper <timcharper@gmail.com>
13303
d8e4b68b
JB
13304 * term/ns-win.el (ns-initialize-window-system):
13305 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13306 resource to NO as it is not yet supported by the NS port.
13307
ae9c0411
JB
133082011-06-21 Juanma Barranquero <lekktu@gmail.com>
13309
13310 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13311 (list-dynamic-libraries): ...not here.
13312
7f3f739f
LL
133132011-06-21 Leo Liu <sdl.web@gmail.com>
13314
13315 * subr.el (sha1): Implement sha1 using secure-hash.
13316
327c8fb1
MR
133172011-06-21 Martin Rudalics <rudalics@gmx.at>
13318
13319 * window.el (display-buffer-alist): In default value do not
13320 enforce searching a window on any but the selected frame.
13321 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13322 (display-buffer-select-window): Remove function.
13323 (display-buffer-in-window): When a window on another frame gets
13324 reused, do not select it any more but just raise its frame if
13325 necessary (Bug#8851) and (Bug#8856).
13326 (display-buffer-normalize-options): Handle pop-up-frames related
13327 options more faithfully.
13328 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13329 window if it is on another frame.
c9d29fb8
SM
13330 (display-buffer-alist, display-buffer-default-specifiers):
13331 Don't make new frame unsplittable by default.
9e9de014
MR
13332 (display-buffer-normalize-argument): Fix doc-string typo and use
13333 'same-frame-other-window instead of 'other-window when associating
13334 with display-buffer-macro-specifiers.
327c8fb1 13335
7cf3f556
VB
133362011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13337
13338 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13339 New functions.
13340 (5x5-mode-map, 5x5-mode-menu): Bind them.
13341 (5x5-draw-grid): Tweak the solver's rendering.
13342
60a406cf
SM
133432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13346 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13347
d8e4b68b 133482011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13349
13350 * menu-bar.el: Use function variable instead of switch-to-buffer.
13351 (menu-bar-select-buffer-function): New variable.
60a406cf 13352 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13353
478d6f95
SM
133542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13357 variable's status.
13358
ca530739
JD
133592011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13360
13361 * x-dnd.el (x-dnd-version-from-flags)
13362 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13363 and long as number (Bug#8899).
13364 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13365
bcd70d97
SM
133662011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13367
60a406cf 13368 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13369 (completion-try-completion, completion-all-completions): Compute the
13370 metadata argument if it's missing; make it optional (bug#8795).
13371
60a406cf 13372 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13373 (widget-complete): Use new :completion-function property.
13374 (widget-completions-at-point): New function.
13375 (default): Use :completion-function instead of :complete.
60a406cf
SM
13376 (widget-default-completions): Rename from widget-default-complete;
13377 Rewrite.
bcd70d97
SM
13378 (widget-string-complete, widget-file-complete, widget-color-complete):
13379 Remove functions.
13380 (file, symbol, function, variable, coding-system, color):
13381 * international/mule-cmds.el (default-input-method, charset)
13382 (language-info-custom-alist):
13383 * cus-edit.el (face): Use new property :completions.
13384
13385 * progmodes/pascal.el (pascal-completions-at-point): New function.
13386 (pascal-mode): Use it.
13387 (pascal-mode-map): Use completion-at-point.
13388 (pascal-toggle-completions): Make obsolete.
13389 (pascal-complete-word, pascal-show-completions):
13390 * progmodes/octave-mod.el (octave-complete-symbol):
13391 Redefine as obsolete alias.
13392 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13393 Signal absence of completion info for old Octave,
13394 (inferior-octave-complete): Redefine as obsolete alias.
13395 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13396 (meta-completions-at-point): Rename from meta-complete-symbol and
13397 adapt it for use on completion-at-point-functions.
13398 (meta-common-mode): Use it.
13399 (meta-looking-at-backward, meta-match-buffer): Remove.
13400 (meta-complete-symbol): Redefine as obsolete alias.
13401 (meta-common-mode-map): Use completion-at-point.
13402 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13403 (makefile-mode-map): Use completion-at-point.
13404 (makefile-completions-at-point): Rename from makefile-complete and
13405 adapt it for use on completion-at-point-functions.
13406 (makefile-mode): Use it.
13407 (makefile-complete): Redefine as obsolete alias.
13408
aebf69c8
DD
134092011-06-20 Deniz Dogan <deniz@dogan.se>
13410
13411 * net/rcirc.el: Delete trailing whitespaces once and for all.
13412
bfbbb27d
DC
134132011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13414
13415 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13416
d264a46b
CY
134172011-06-19 Chong Yidong <cyd@stupidchicken.com>
13418
4ca009e5
CY
13419 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13420
d264a46b
CY
13421 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13422
fbf5b3ce
MR
134232011-06-19 Martin Rudalics <rudalics@gmx.at>
13424
13425 * window.el (display-buffer-other-window-means-other-frame):
13426 Call display-buffer-normalize-alist.
13427 (display-buffer-normalize-specifiers-1): Rename to
13428 display-buffer-normalize-argument. New argument other-frame.
13429 Rewrite.
13430 (display-buffer-normalize-specifiers-2): Rename to
13431 display-buffer-normalize-options.
13432 (display-buffer-normalize-alist-1): New function.
13433 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13434 display-buffer-normalize-alist.
13435 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13436 (display-buffer-normalize-options-inhibit): New variable.
13437 (display-buffer-normalize-specifiers): Rewrite calling
13438 display-buffer-normalize-alist,
13439 display-buffer-normalize-argument, and
13440 display-buffer-normalize-options. Don't call the latter if
13441 display-buffer-normalize-options-inhibit is non-nil.
13442 (frame-auto-delete): New option.
13443 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13444 (window-list-no-nils, window-state-ignored-parameters)
13445 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13446 (window-state-put-1, window-state-put-2, window-state-put):
13447 New functions.
9a028c23
MR
13448 (display-buffer-normalize-options): Move special-display-p group
13449 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13450
6d10d800
CY
134512011-06-18 Chong Yidong <cyd@stupidchicken.com>
13452
6420d28b
CY
13453 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13454 groups (Bug#8776).
13455 (rx-submatch-n): New function.
13456 (rx): Document it.
13457
ddb8b596
CY
13458 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13459 (Bug#8768).
13460
13461 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13462
77080289
CY
13463 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13464
61dfb316
CY
13465 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13466 anytime existing face settings are present (Bug#8889).
13467
6d10d800
CY
13468 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13469 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13470 Remove unused argument.
13471
be3fb2b8
MR
134722011-06-18 Martin Rudalics <rudalics@gmx.at>
13473
bcd70d97
SM
13474 * window.el (display-buffer-default-specifiers):
13475 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13476 pop-up-window-min-width, and another reuse-window specifier
13477 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13478 (display-buffer-normalize-specifiers-2):
13479 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13480 pop-up-windows is unset. Add a reuse-window specifier for the
13481 case popping up a new window fails.
13482 (special-display-popup-frame): Remove double quoting.
28dec25a 13483 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13484
1c6d8c76
SM
134852011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13488 according to comint-completion-addsuffix.
13489
13490 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13491 (pcomplete-suffix-list): Mark as obsolete.
13492 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13493 pcomplete-seen in the closure.
13494 (pcomplete-comint-setup): Setup completion-at-point as well.
13495 (pcomplete--entries): New function.
13496 (pcomplete--env-regexp): New var.
13497 (pcomplete-entries): Rewrite to work with partial-completion and
13498 without relying on pcomplete-suffix-list.
13499 (pcomplete-pare-list): Remove, unused.
13500
25aef8b8
MR
135012011-06-17 Martin Rudalics <rudalics@gmx.at>
13502
13503 * window.el (display-buffer-alist): Set pop-up-window-min-height
13504 and pop-up-window-min-width in default value. Reported by
13505 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13506 other-window-means-other-frame.
13507 (display-buffer-macro-specifiers): Comment out entry for
13508 other-window specifier.
13509 (display-buffer-other-window-means-other-frame): New function.
13510 (display-buffer-normalize-specifiers-1): New arguments
13511 buffer-name and label. Treat other-window case specially.
13512 (display-buffer-normalize-specifiers-2): Treat other-window case
13513 specially.
13514 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13515 (display-buffer-normalize-specifiers):
13516 Call display-buffer-normalize-specifiers-3.
25aef8b8 13517
dbad4f69
MR
135182011-06-17 Martin Rudalics <rudalics@gmx.at>
13519
13520 * window.el (same-window-p): Fix two typos introduced when
13521 adding with-no-warnings.
d1067961
MR
13522 (display-buffer-normalize-specifiers-1): Don't check
13523 pop-up-frames for 'unset initialization.
13524 (display-buffer-normalize-specifiers-2): Major rewrite using
13525 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13526 (pop-up-frames, display-buffer-reuse-frames)
13527 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13528 Suggested by David Engster <deng@randomsample.de>.
13529 (even-window-heights): Initialize to 'unset.
13530 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13531 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13532 other window case.
dbad4f69 13533
9b9c9e3a
MR
135342011-06-16 Martin Rudalics <rudalics@gmx.at>
13535
bcd70d97
SM
13536 * window.el (display-buffer-normalize-specifiers-1):
13537 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13538 second argument of display-buffer (Bug#8865).
981d5c09
MR
13539 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13540 (switch-to-buffer-other-window-same-frame)
13541 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13542 Adams (Bug#8875).
9c2755e9
MR
13543 (display-buffer): Don't check noninteractive when calling
13544 display-buffer-pop-up-frame.
13545 (display-buffer-pop-up-frame): Never pop up a frame in
13546 noninteractive mode (Bug#8857).
67222e1d
MR
13547 (enlarge-window, shrink-window): Don't report an error when the
13548 window can't be resized as requested (Bug#8862).
9b9c9e3a 13549
2b75be67
SM
135502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13551
9ffdd3ba
SM
13552 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13553
cb581a67
SM
13554 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13555
2b75be67
SM
13556 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13557
8c0e3589
AM
135582011-06-15 Alan Mackenzie <acm@muc.de>
13559
cb581a67
SM
13560 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13561 for declarators, disable knr checking to speed up for normal files.
13562 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13563
b96e6cde
LMI
135642011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13565
4bba86e6
LMI
13566 * net/network-stream.el (open-network-stream): Add the keyword
13567 :always-query-capabilities for the case where you want to force a
13568 `plain' network connection, but the protocol still requires the
13569 capabilitiy command (i.e., SMTP and EHLO).
13570
2b75be67 13571 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13572 consistency with other `-live-p' functions.
13573
efdcdbf8
SM
135742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * window.el (same-window-buffer-names, same-window-regexps)
13577 (special-display-frame-alist, special-display-popup-frame)
13578 (special-display-function, special-display-buffer-names)
13579 (special-display-regexps, pop-up-frame-alist)
13580 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13581 (pop-up-windows, split-window-preferred-function)
13582 (split-height-threshold, split-width-threshold, even-window-heights)
13583 (display-buffer-mark-dedicated): Don't encourage the use of
13584 display-buffer-alist from Elisp code.
13585
c5cde042
DN
135862011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13587
13588 * progmodes/python.el (python-mode): Derive from prog-mode.
13589 * progmodes/ps-mode.el (ps-mode):
13590 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13591 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13592 * progmodes/ld-script.el (ld-script-mode): Likewise.
13593
baa1c9ab
MR
135942011-06-15 Martin Rudalics <rudalics@gmx.at>
13595
13596 * window.el (display-buffer-alist): Trim default value to avoid
13597 popping up a new frame (Bug#8857) or reusing an arbitrary window
13598 on another frame.
13599 (display-buffer): Do not fall back on popping up a new frame in
13600 batch mode (Bug#8857).
13601
c5dd5a51
CY
136022011-06-14 Chong Yidong <cyd@stupidchicken.com>
13603
13604 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13605 (custom-theme-summary): New function.
13606 (customize-themes): Use it.
13607
d647b7c4
GM
136082011-06-13 Glenn Morris <rgm@gnu.org>
13609
13610 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13611
9481c002
MR
136122011-06-13 Martin Rudalics <rudalics@gmx.at>
13613
357f93d2
MR
13614 * help.el (help-window): Remove variable.
13615 (help-window-point-marker, temp-buffer-max-height)
13616 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13617 (help-print-return-message): Don't set help-window.
13618 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13619 (help-window-setup-finish): Remove.
13620 (help-window-display-message, help-window-setup)
13621 (with-help-window): Major rewrite based on new
13622 display-buffer-window variable.
13623
13624 * help-mode.el (help-mode-finish): Remove help-window related
13625 code.
13626
13627 * view.el (view-exits-all-viewing-windows): Remove reference to
13628 view-return-to-alist in doc-string.
13629 (view-return-to-alist): Make obsolete.
13630 (view-buffer): Call pop-to-buffer-same-window and remove
13631 undo-window code.
13632 (view-buffer-other-window): Call pop-to-buffer-other-window and
13633 simplify code. Ignore second argument.
13634 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13635 simplify code. Ignore second argument.
13636 (view-return-to-alist-update): Make obsolete.
13637 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13638 Rewrite using quit-restore window parameters.
2b75be67
SM
13639 (view-mode-exit): Rename second argument to EXIT-ONLY.
13640 Rewrite using quit-restore-window.
357f93d2
MR
13641 (View-exit, View-exit-and-edit, View-leave, View-quit)
13642 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13643 appropriate arguments.
13644 (view-end-message): Use quit-restore window parameter.
13645
9481c002
MR
13646 * window.el (display-buffer-function): Rewrite doc-string.
13647 (display-buffer-window, display-buffer-alist): New variables.
13648 (display-buffer-split-specifiers)
13649 (display-buffer-side-specifiers)
13650 (display-buffer-macro-specifiers): New constants.
13651 (display-buffer-even-window-sizes, display-buffer-set-height)
13652 (display-buffer-set-width, display-buffer-select-window)
13653 (display-buffer-in-window, display-buffer-reuse-window)
13654 (display-buffer-split-window-1, display-buffer-split-window)
13655 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13656 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13657 (display-buffer-in-side-window, normalize-buffer-to-display)
13658 (display-buffer-normalize-specifiers-1)
13659 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13660 (display-buffer-normalize-specifiers, display-buffer-frame):
13661 New functions.
9481c002
MR
13662 (display-buffer): Major rewrite.
13663 (display-buffer-other-window, display-buffer-other-frame)
13664 (pop-to-buffer, switch-to-buffer-other-window)
13665 (switch-to-buffer-other-frame): Rewrite.
13666 (display-buffer-same-window, display-buffer-same-frame)
13667 (display-buffer-same-frame-other-window)
13668 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13669 (pop-to-buffer-other-window)
13670 (pop-to-buffer-same-frame-other-window)
13671 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13672 (switch-to-buffer-other-window-same-frame): New functions.
13673 (same-window-p, special-display-p): Rewrite disabling warnings.
13674 Make obsolete.
13675 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13676 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13677 Make obsolete
13678 (same-window-buffer-names, same-window-regexps)
13679 (special-display-frame-alist, special-display-popup-frame)
13680 (special-display-function, special-display-buffer-names)
13681 (special-display-regexps, pop-up-frame-alist)
13682 (pop-up-frame-function, split-window-preferred-function)
13683 (split-height-threshold, split-width-threshold)
13684 (even-window-heights): Make obsolete.
13685
9db51aca
GM
136862011-06-12 Glenn Morris <rgm@gnu.org>
13687
13688 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13689 Misc simplifications.
9db51aca 13690
39cffb44
MR
136912011-06-12 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (window-safely-shrinkable-p): Restore function which
13694 was inadvertently removed in change from 2011-06-11. Declare as
13695 obsolete.
13696
2b75be67
SM
13697 * calendar/calendar.el (calendar-generate-window):
13698 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13699 window-safely-shrinkable-p.
13700
a8955be7
GM
137012011-06-12 Glenn Morris <rgm@gnu.org>
13702
13703 * progmodes/fortran.el (fortran-mode-syntax-table):
13704 * progmodes/f90.el (f90-mode-syntax-table):
13705 Set % to punctuation. (Bug#8820)
13706 (f90-find-tag-default): Remove, no longer needed.
13707
f0d4059d
DC
137082011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13709
13710 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13711
1100a63c
CY
137122011-06-11 Chong Yidong <cyd@stupidchicken.com>
13713
13714 * image.el (image-animated-p): Return animation delay in seconds.
13715 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13716 (image-animate-timeout): Remove DELAY argument. Don't assume
13717 every subimage has the same delay; get it from image-animated-p.
13718 (image-animate): Caller changed.
13719
def722bf
MA
137202011-06-11 Michael Albinus <michael.albinus@gmx.de>
13721
13722 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13723 to ignored backtrace functions.
13724
0a2bb1a9
GM
137252011-06-11 Glenn Morris <rgm@gnu.org>
13726
13727 * calendar/appt.el (appt-disp-window-function): Doc fix.
13728 (appt-check): Handle overlapping appointments. (Bug#8337)
13729
6198ccd0
MR
137302011-06-11 Martin Rudalics <rudalics@gmx.at>
13731
13732 * window.el (window-tree-1, window-tree): New functions, moving
13733 the latter to window.el.
13734 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13735 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13736 (bw-refresh-edges): Remove.
13737 (balance-windows-1, balance-windows-2): New functions.
13738 (balance-windows): Rewrite in terms of window tree functions,
13739 balance-windows-1 and balance-windows-2.
13740 (bw-adjust-window): Remove.
13741 (balance-windows-area-adjust): New function with functionality of
13742 bw-adjust-window but using resize-window.
2b75be67
SM
13743 (set-window-text-height): Rewrite doc-string.
13744 Use normalize-live-window and resize-window.
13745 (enlarge-window-horizontally, shrink-window-horizontally):
13746 Rename argument to DELTA.
6198ccd0
MR
13747 (window-buffer-height): New function.
13748 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13749 Rewrite using new window resize routines.
2b75be67
SM
13750 (kill-buffer-and-window, mouse-autoselect-window-select):
13751 Use ignore-errors instead of condition-case.
6198ccd0
MR
13752 (quit-window): Call delete-frame instead of delete-windows-on
13753 for the only buffer on frame.
13754
9397e56f
MR
137552011-06-10 Martin Rudalics <rudalics@gmx.at>
13756
13757 * loadup.el (top-level): Load window before files for the sake
13758 of replace-buffer-in-windows.
13759
13760 * files.el (read-buffer-to-switch)
13761 (switch-to-buffer-other-window)
2b75be67
SM
13762 (switch-to-buffer-other-frame, display-buffer-other-frame):
13763 Move to window.el.
9397e56f
MR
13764
13765 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13766 (previous-buffer): Move to window.el.
13767
13768 * bindings.el (unbury-buffer): Move to window.el.
13769
13770 * window.el (delete-other-windows-vertically): Move after
13771 definition of delete-other-windows.
13772 (other-window, delete-windows-on, replace-buffer-in-windows):
13773 Move here from window.c.
13774 (record-window-buffer, unrecord-window-buffer)
13775 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13776 (switch-to-next-buffer): New functions.
13777 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13778 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13779 (previous-buffer): Move here from simple.el.
13780 Call switch-to-prev-buffer.
9397e56f
MR
13781 (bury-buffer): Move here from buffer.c. Switch to previous
13782 buffer when window cannot be deleted.
13783 (unbury-buffer): Move here from bindings.el.
13784 (ctl-x-map): Move binding for other-window from window.c to
13785 here.
13786 (read-buffer-to-switch, switch-to-buffer-other-window)
13787 (switch-to-buffer-other-frame): Move here from files.el.
13788 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13789 (switch-to-buffer): Move here from buffer.c.
13790 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13791
562dd5e9
MR
137922011-06-10 Martin Rudalics <rudalics@gmx.at>
13793
13794 * window.el (window-min-height, window-min-width): Move here
13795 from window.c. Add defcustoms and rewrite doc-strings.
13796 (resize-mini-window, resize-window): New functions.
13797 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13798 Move here from window.c.
13799 (maximize-window, minimize-window): New functions.
13800 (delete-window, delete-other-windows, split-window): Move here
13801 from window.c.
13802 (window-split-min-size): New function.
13803 (split-window-keep-point): Mention split-window-above-each-other
13804 instead of split-window-vertically.
2b75be67 13805 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13806 Rename split-window-vertically to split-window-above-each-other
13807 and provide defalias for old definition.
13808 (split-window-side-by-side, split-window-horizontally):
13809 Rename split-window-horizontally to split-window-side-by-side
13810 and provide defalias for the old definition.
562dd5e9
MR
13811 (ctl-x-map): Move bindings for delete-window,
13812 delete-other-windows and enlarge-window here from window.c.
13813 Replace bindings for split-window-vertically and
13814 split-window-horizontally by bindings for
13815 split-window-above-each-other and split-window-side-by-side.
13816
13817 * cus-start.el (all): Remove entries for window-min-height and
13818 window-min-width. Add entries for window-splits and
13819 window-nest.
13820
f0da764a
GM
138212011-06-09 Glenn Morris <rgm@gnu.org>
13822
80675c21
GM
13823 * calendar/appt.el (appt-mode-line): New function.
13824 (appt-check, appt-disp-window): Use it.
13825
f0da764a
GM
13826 * files.el (hack-one-local-variable-eval-safep):
13827 Allow minor-modes with explicit +/-1 arguments.
13828
59f623b7
TZ
138292011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13830
13831 * term/xterm.el (xterm): Add defgroup.
13832 (xterm-extra-capabilities): Add defcustom to supply known xterm
13833 capabilities, skip querying them, or query them (default).
13834 (terminal-init-xterm): Use it.
13835 (terminal-init-xterm-modify-other-keys): New function to set up
13836 modifyOtherKeys support to simplify `terminal-init-xterm'.
13837
9aab8e0d
MR
138382011-06-09 Martin Rudalics <rudalics@gmx.at>
13839
13840 * window.el (resize-window-reset, resize-window-reset-1)
13841 (resize-subwindows-skip-p, resize-subwindows-normal)
13842 (resize-subwindows, resize-other-windows, resize-this-window)
13843 (resize-root-window, resize-root-window-vertically)
13844 (window-deletable-p, window-or-subwindow-p)
13845 (frame-root-window-p): New functions.
13846
e8b08aee
GM
138472011-06-09 Glenn Morris <rgm@gnu.org>
13848
13849 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13850 (ange-ftp-get-files): Use it.
13851
254c37a5
AK
138522011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13853
13854 * mail/sendmail.el (mail-recover-1, mail-recover):
13855 * files.el (recover-file, recover-session):
13856 Handle dired-listing-switches not being just a single short option.
13857
35d7dbd3
GM
138582011-06-09 Glenn Morris <rgm@gnu.org>
13859
13860 * calendar/appt.el (appt-display-message, appt-disp-window):
13861 Handle lists of appointments.
13862
387522b2
MR
138632011-06-08 Martin Rudalics <rudalics@gmx.at>
13864
2b75be67
SM
13865 * window.el (one-window-p): Move down in code.
13866 Rewrite doc-string.
13867 (window-current-scroll-bars): Rewrite doc-string.
13868 Normalize live window argument.
387522b2
MR
13869 (walk-windows, get-window-with-predicate, count-windows):
13870 Rewrite doc-string. Use window-list-1.
13871 (window-in-direction-2, window-in-direction, get-mru-window):
13872 New functions.
13873
d8e4b68b 138742011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13875
13876 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13877 Doc fix (Bug#8713).
13878
138792011-06-08 Chong Yidong <cyd@stupidchicken.com>
13880
13881 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13882
138832011-06-08 Juanma Barranquero <lekktu@gmail.com>
13884
13885 * loadhist.el (unload-feature-special-hooks):
13886 Add `comint-output-filter-functions'.
13887
0de12c52
IK
138882011-06-08 Ivan Kanis <gnu@kanis.fr>
13889
13890 * calendar/appt.el (appt-check): Move some initializations into the let.
13891
f3d1777e
MR
138922011-06-08 Martin Rudalics <rudalics@gmx.at>
13893
13894 * window.el (window-height): Defalias to window-total-height.
13895 (window-width): Defalias to window-body-width.
13896
18af70d0
CY
138972011-06-07 Chong Yidong <cyd@stupidchicken.com>
13898
13899 * image-mode.el (image-toggle-animation): New command.
13900 (image-mode-map): Bind it to RET.
13901 (image-mode): Update message.
13902 (image-toggle-display-image): Avoid a spurious cache flush.
13903 (image-transform-rotation): Doc fix.
13904 (image-transform-properties): Return quickly in the normal case.
13905 (image-animate-loop): Rename from image-animate-max-time.
13906
2b75be67 13907 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13908 (create-animated-image): Remove unnecessary function.
13909 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13910 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13911 (image-animate-timer): Use car-safe.
13912 (image-animate-timeout): Rename argument.
13913
190b47e6
MR
139142011-06-07 Martin Rudalics <rudalics@gmx.at>
13915
13916 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13917 window.c. Rename first argument to ALL-FRAMES.
13918 Rephrase doc-strings.
13919 (get-buffer-window-list): Rewrite using window-list-1.
13920 Rephrase doc-string.
a1511caf
MR
13921 (window-safe-min-height, window-safe-min-width): New constants.
13922 (window-size-ignore, window-min-size, window-min-size-1)
13923 (window-sizable, window-sizable-p, window-size-fixed-1)
13924 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13925 (window-max-delta-1, window-max-delta, window-resizable)
13926 (window-resizable-p, window-total-height, window-total-width)
13927 (window-body-width): New functions.
13928 (window-full-height-p, window-full-width-p): Rewrite using
13929 window-total-size.
13930 (window-body-height): Rewrite using window-body-size.
190b47e6 13931
85cc1f11
MR
139322011-06-06 Martin Rudalics <rudalics@gmx.at>
13933
13934 * window.el (window-right, window-left, window-child)
13935 (window-child-count, window-last-child, window-any-p)
13936 (normalize-live-buffer, normalize-live-frame)
13937 (normalize-any-window, normalize-live-window)
13938 (window-iso-combination-p, window-iso-combined-p)
13939 (window-iso-combinations)
13940 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13941 (windows-with-parameter, window-with-parameter)
13942 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13943 (window-atom-check, window-side-check, window-check):
13944 New functions.
85cc1f11
MR
13945 (ignore-window-parameters, window-sides, window-sides-vertical)
13946 (window-sides-slots): New variables.
13947 (window-size-fixed): Move down in code. Minor doc-string fix.
13948
e7156492
AS
139492011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13950
13951 * comint.el (comint-dynamic-complete-as-filename)
13952 (comint-dynamic-complete-filename): Correctly call
13953 completion-in-region.
13954
7e821d0d
DD
139552011-06-05 Deniz Dogan <deniz@dogan.se>
13956
13957 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13958 in last change.
13959
ac09b8a1
DD
139602011-06-05 Deniz Dogan <deniz@dogan.se>
13961
13962 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13963 (rcirc): Use it to prompt for encryption.
13964
34699b85
RW
139652011-06-05 Roland Winkler <winkler@gnu.org>
13966
13967 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13968 (bibtex-search-entries): New command bound to C-c C-a.
13969 (bibtex-display-entries): New function.
13970
004dedd3
RW
139712011-06-05 Roland Winkler <winkler@gnu.org>
13972
13973 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13974 (bibtex-insert-kill): After yanking insert newline if necessary.
13975 (bibtex-initialize): Call bibtex-string-files-init only once.
13976 (bibtex-mode): Do not call easy-menu-add.
13977 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13978 (bibtex-yank): Set arg properly if nil.
13979
022fe7ce
RW
139802011-06-05 Roland Winkler <winkler@gnu.org>
13981
2b75be67
SM
13982 * textmodes/bibtex.el (bibtex-search-entry-globally):
13983 New variable.
022fe7ce
RW
13984 (bibtex-search-entry): Use it.
13985
b7c3692a
RW
139862011-06-05 Roland Winkler <winkler@gnu.org>
13987
13988 * textmodes/bibtex.el (bibtex-entry-format): New option
13989 sort-fields.
13990 (bibtex-format-entry, bibtex-reformat): Honor this option.
13991 (bibtex-parse-entry): Return fields in proper order.
13992
8eda563d
JB
139932011-06-05 Juanma Barranquero <lekktu@gmail.com>
13994
13995 * doc-view.el (doc-view-remove-if): Move computation of result out
13996 of `dolist' to silence misleading lexical-binding warning.
13997
7dbe3dbc
CY
139982011-06-04 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14001 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14002
0c33dd17
MA
140032011-06-04 Michael Albinus <michael.albinus@gmx.de>
14004
14005 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14006 "SunOS 5.10".
14007
f8f91c2b
MA
140082011-06-04 Michael Albinus <michael.albinus@gmx.de>
14009
14010 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14011 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14012 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14013 (tramp-parse-putty):
14014 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14015 (tramp-completion-function-alist-ssh)
14016 (tramp-completion-function-alist-telnet)
14017 (tramp-completion-function-alist-su)
14018 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14019 cookie.
14020
14021 * net/tramp-ftp.el:
14022 * net/tramp-sh.el:
14023 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14024 load "tramp.el" `tramp-set-completion-function'.
14025
e17d9003
SM
140262011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14027
14028 * shell.el: Require and use pcomplete.
14029 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14030 (shell-completion-vars): Set pcomplete-default-completion-function.
14031
6c4cab03
DD
140322011-06-04 Deniz Dogan <deniz@dogan.se>
14033
14034 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14035 `memq' (Bug#8799).
14036
ea9fafe0
SM
140372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14040
b3e945d3
JB
140412011-06-02 Juanma Barranquero <lekktu@gmail.com>
14042
14043 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14044 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14045 * vc/log-view.el (log-view-beginning-of-defun):
14046 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14047 (smerge-refine-forward, smerge-refine-chopup-region):
14048 Silence warning for unused `dotimes' counter variables.
14049
7d520089
SM
140502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * net/tramp.el (tramp-with-progress-reporter): Rename from
14053 with-progress-reporter. Use `declare'.
14054 * net/tramp-smb.el:
14055 * net/tramp-sh.el:
14056 * net/tramp-gvfs.el: Update all uses.
14057
a1c2400f
JB
140582011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14059
14060 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14061 buffer isn't killed before making it current.
14062
2403c841
SM
140632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14064
14065 Silence various byte-compiler warnings.
14066 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14067 `access-type' and new obsolescence format.
14068 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14069 new format.
14070 (byte-compile-check-variable): New `access-type' argument.
14071 Only warn if the access-type is obsolete.
14072 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14073 (byte-compile-variable-set): Adjust callers.
14074 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14075 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14076 setting it as obsolete.
14077 * simple.el (minibuffer-completing-symbol):
14078 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14079 access as obsolete.
14080 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14081 obsolete yet.
14082 * international/quail.el (quail-mouse-choose-completion): Remove unused
14083 code referring to obsolete var.
14084 (quail-choose-completion-string): Remove.
14085 * server.el (server-clients-with, server-kill-buffer-query-function)
14086 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14087 * proced.el (proced-send-signal):
14088 * emacs-lisp/lisp.el (lisp-complete-symbol):
14089 Replace completion-annotate-function with completion-extra-properties.
14090
2462470b
SM
140912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14092
fb5b2591
SM
14093 * simple.el (goto-line): Use read-number.
14094 (overriding-map-is-bound): Remove.
14095 (saved-overriding-map): Change default.
14096 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14097 Take the map as argument.
14098 (universal-argument, negative-argument, digit-argument): Use it.
14099 (restore-overriding-map): Adjust.
14100 (do-auto-fill): Use fill-forward-paragraph.
14101 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14102
fd6fa53f
SM
14103 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14104 (minibuffer-inactive-mode): New major mode.
14105 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14106 the *Messages* buffer" hack.
14107 (mouse-popup-menubar): Don't burp if the event is a normal key.
14108
2462470b
SM
14109 Miscellaneous tweaks.
14110 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14111 lexical scoping as in subr.el's dolist and dotimes.
14112 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14113 Silence compiler warning.
14114 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14115 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14116 * international/ccl.el (ccl-compile): Trivial simplification.
14117 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14118 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14119 `printflag' argument.
14120 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14121 Purecopy the whole obsolescence data.
14122
108bf785
LL
141232011-06-01 Leo Liu <sdl.web@gmail.com>
14124
14125 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14126 improve doc-string as suggested by Marco Pessotto
14127 <melmothx@gmail.com>.
14128 (rcirc-print): Fix last change.
14129
30a23501
SM
141302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * minibuffer.el (complete-with-action): Return nil for the metadata and
14133 boundaries of non-functional tables.
14134 (completion-table-dynamic): Return nil for the metadata.
14135 (completion-table-with-terminator): Add default case, using
14136 complete-with-action.
14137 (completion--metadata): New function.
14138 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14139 to try and avoid pathological performance problems.
14140 (completion--embedded-envvar-table): Return `category' metadata.
14141
bcd54f83
LMI
141422011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143
14144 * subr.el (process-alive-p): New tiny convenience function.
14145
e227544d
SM
141462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14149 content but also its previous major mode.
14150
e8296fdc
HE
141512011-05-31 Helmut Eller <eller.helmut@gmail.com>
14152
4d61f28d 14153 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14154 *Backtrace* buffer when we exit with C-M-c.
14155
620c53a6
SM
141562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * minibuffer.el: Add metadata method to completion tables.
14159 (completion-category-overrides): New defcustom.
14160 (completion-metadata, completion--field-metadata)
14161 (completion-metadata-get, completion--styles)
14162 (completion--cycle-threshold): New functions.
14163 (completion-try-completion, completion-all-completions):
14164 Add `metadata' argument to choose completion-styles.
14165 (completion--do-completion): Use metadata to choose cycling.
14166 (completion-all-sorted-completions): Use metadata for sorting.
14167 Remove :completion-cycle-penalty which is not needed any more.
14168 (completion--try-word-completion): Add `metadata' argument.
14169 (minibuffer-completion-help): Check metadata for annotation function
14170 and sorting.
14171 (completion-file-name-table): Return `category' metadata.
14172 (minibuffer-completing-file-name): Make obsolete.
14173 * simple.el (minibuffer-completing-symbol): Make obsolete.
14174 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14175 completion-try-completion.
14176
1257e755
SM
141772011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14180
3767e706
LL
141812011-05-30 Leo Liu <sdl.web@gmail.com>
14182
14183 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14184 (rcirc-print): Decode all incoming messages (bug#8744).
14185 (rcirc-decode-coding-system): Allow value nil for automatic coding
14186 system detection.
3767e706 14187
d1a5d56a
GM
141882011-06-01 Glenn Morris <rgm@gnu.org>
14189
14190 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14191
e8cbec34
CY
141922011-05-29 Chong Yidong <cyd@stupidchicken.com>
14193
14194 * image.el (image-animate-max-time): Allow nil and t values.
14195 Default to nil.
14196 (create-animated-image): Doc fix.
14197 (image-animate-start): Remove second arg; just use
14198 image-animate-max-time.
14199 (image-animate-timeout): Doc fix. Args changed.
14200
14201 * image-mode.el (image-toggle-display-image): Ensure that the
14202 image spec passed to the animate timer is the same object as in
58179cce 14203 the buffer's display property (Bug#6981).
e8cbec34
CY
14204 (image-transform-properties): Doc fix.
14205
14206 * image.el (image-animate-max-time): Default to nil.
14207
159daf87
MR
142082011-05-29 Martin Rudalics <rudalics@gmx.at>
14209
14210 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14211 entire buffer list (Bug#8184).
14212
d66c4c7c
CY
142132011-05-29 Chong Yidong <cyd@stupidchicken.com>
14214
14215 * image.el (imagemagick-types-inhibit)
14216 (imagemagick-register-types): Doc fix.
14217
80aec780
DD
142182011-05-29 Deniz Dogan <deniz@dogan.se>
14219
14220 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14221 default.
14222
1dd3c2d9
CY
142232011-05-29 Chong Yidong <cyd@stupidchicken.com>
14224
14225 * select.el: Don't perform clipboard-manager saving in hooks;
14226 leave the hooks empty.
14227
60e56523
LL
142282011-05-28 Leo Liu <sdl.web@gmail.com>
14229
14230 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14231 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14232 (occur-edit-mode): New major mode (Bug#8463).
14233 (occur-after-change-function): New function.
14234 (occur-engine): Give Occur tags a read-only property.
14235
2b1e1a22
KR
142362011-05-28 Kevin Ryde <user42@zip.com.au>
14237
14238 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14239
5d344e88
CY
142402011-05-28 Chong Yidong <cyd@stupidchicken.com>
14241
8e6ca83d
CY
14242 * bindings.el (help-echo): Make the initial non-indicator dash
14243 empty on graphical terminals (Bug#7295).
14244
5d344e88
CY
14245 * files.el (auto-mode-alist): Move config rule after the
14246 in-stripping one (Bug#8547).
14247
bfbbace7
CY
14248 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14249
fbeba6e2
CY
14250 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14251 setting (Bug#8740).
14252
60ed8c72
AA
142532011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14254
4ac619f0
AA
14255 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14256 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14257 (Bug#8539).
60ed8c72 14258
23db196e
CY
142592011-05-28 Chong Yidong <cyd@stupidchicken.com>
14260
14261 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14262
5012f24c
DK
142632011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14264
14265 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14266 (hs-hide-block-at-point, hs-find-block-beginning)
14267 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14268 (Bug#8279).
14269
6a639b16
GM
142702011-05-28 Glenn Morris <rgm@gnu.org>
14271
14272 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14273
d43eaf2c
CY
142742011-05-28 Chong Yidong <cyd@stupidchicken.com>
14275
5199bde1
CY
14276 * help-fns.el (describe-function-1): If the function is a derived
14277 major mode, print the parent mode.
14278
d43eaf2c
CY
14279 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14280 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14281
423428a8
SM
142822011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14283
0ff8e1ba 14284 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14285 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14286 * progmodes/etags.el (tags-completion-at-point-function):
14287 * info-look.el (info-lookup-completions-at-point): Mark as
14288 non-exclusive.
14289 (info-complete): Adjust accordingly.
14290
423428a8
SM
14291 * info-look.el: Convert to lexical-binding and completion-at-point.
14292 (info-lookup-completions-at-point): New function.
14293 (info-complete): Use it and completion-in-region.
14294
b74aa22b
DA
142952011-05-28 Drew Adams <drew.adams@oracle.com>
14296
14297 * isearch.el: Let M-e start with point at the first mismatched char.
14298 (isearch-fail-pos): New function.
14299 (isearch-edit-string): Use it.
14300
66e2e71d
DK
143012011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14302
14303 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14304
b1890b0f 143052011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14306
14307 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14308 traversal functions for avl-trees.
14309 (avl-tree--stack): New struct.
14310 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14311 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14312 (avl-tree--do-enter): Add optional `updatefun' arg.
14313 Change return value.
eb95d01d 14314 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14315 (avl-tree--do-delete): Add `test' and `nilflag' args.
14316 Change return value.
eb95d01d
TC
14317 (avl-tree-member): Add optional `nilflag'
14318 (avl-tree-member-p): New function.
14319 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14320 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14321 (avl-tree-stack-empty-p): New functions.
14322
3769ddcf
TC
14323 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14324 avl-tree--del-balance1 and make it work both ways.
14325 (avl-tree--del-balance2): Remove.
14326 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14327 make it work both ways.
14328 (avl-tree--enter-balance2): Remove.
14329 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14330 New macros.
14331 (avl-tree--mapc, avl-tree-map): Add direction argument.
14332
eb95d01d 143332011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14334
14335 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14336
a9f737ee
CY
143372011-05-27 Chong Yidong <cyd@stupidchicken.com>
14338
14339 * select.el: Support clipboard managers with built-in function
14340 x-clipboard-manager-save, via delete-frame-functions and
14341 kill-emacs-hook.
14342 (xselect-convert-to-targets): Add MULTIPLE target to list.
14343 (xselect-convert-to-save-targets): New function.
14344
c92a1e54
KH
143452011-05-27 Kenichi Handa <handa@m17n.org>
14346
14347 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14348 let-binding rfc2047-encode-encoded-words to nil.
14349
e145f188
GM
143502011-05-27 Glenn Morris <rgm@gnu.org>
14351
5ec8a862
GM
14352 * mail/emacsbug.el: Don't require url-util.
14353
4b29d9fb
GM
14354 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14355
e145f188
GM
14356 * files.el (set-auto-mode):
14357 Also respect mode: entries at the end of the file. (Bug#8586)
14358
7d15102b
GM
143592011-05-26 Glenn Morris <rgm@gnu.org>
14360
98f593b8
GM
14361 * files.el (hack-local-variables-prop-line, hack-local-variables):
14362 Downcase mode names, as seems to be traditional.
27b48e63 14363 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14364
7d15102b
GM
14365 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14366 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14367
51d5b4ec
JD
143682011-05-25 Julien Danjou <julien@danjou.info>
14369
14370 * textmodes/rst.el (rst-define-level-faces): Do not define face
14371 symbol if it is already defined.
14372
91513f63
VB
143732011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14374
14375 * play/5x5.el (5x5-new-game, 5x5-randomize):
14376 Reset 5x5-solver-output to nil when a new grid is cast.
14377 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14378 these debugging traces, as defmacro breaks the compiled code.
14379
4d90d6d0
DK
143802011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14381
14382 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14383
e1b90ef6
LL
143842011-05-24 Leo Liu <sdl.web@gmail.com>
14385
14386 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14387 (vc-bzr-sha1): Adapt.
14388
d8e4b68b 14389 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14390
14391 * bindings.el: Provide sha1 feature.
14392
db0406bb 143932011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14394
14395 * mail/sendmail.el: Require `rfc2047'.
14396 (mail-insert-from-field): Do not perform RFC2047 encoding.
14397 (mail-encode-header): New function.
14398 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14399 buffer to the return value of select-message-coding-system.
14400 Call mail-encode-header.
b8d747b9
KH
14401
14402 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14403
db0406bb 144042011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14405
4d90d6d0
DK
14406 * mail/supercite.el (sc-default-cite-frame):
14407 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14408
eb8a5e9b
GM
144092011-05-24 Glenn Morris <rgm@gnu.org>
14410
f8630703
GM
14411 * progmodes/python.el (brm-menu): Declare.
14412
8831bbed
GM
14413 * emulation/viper.el (viper-set-hooks): Declare.
14414
eb8a5e9b
GM
14415 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14416 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14417 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14418 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14419 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14420 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14421
a2a25d24
SM
144222011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 Add an :exit-function for completion-at-point.
14425
14426 * minibuffer.el (completion--done): New fun.
14427 (completion--do-completion): Use it. New arg `expect-exact'.
14428 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14429 since completion--do-completion does it for us now.
14430 (minibuffer-force-complete): Use completion--done and
14431 completion--replace. Handle sole-completion case with more care.
14432 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14433 (completion-extra-properties): New var.
14434 (completion-annotate-function): Make obsolete.
14435 (minibuffer-completion-help): Adjust accordingly.
14436 Use completion-list-insert-choice-function.
14437 (completion-at-point, completion-help-at-point):
14438 Bind completion-extra-properties.
14439 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14440 * simple.el (completion-list-insert-choice-function): New var.
14441 (completion-setup-function): Preserve it.
14442 (choose-completion): Pay attention to it, shuffle the code a bit.
14443 (choose-completion-string): New arg `insert-function'.
14444
14445 * textmodes/bibtex.el: Convert to lexical binding.
14446 (bibtex-mode-map): Use completion-at-point.
14447 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14448 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14449 (bibtex-complete): Define as obsolete alias.
14450 (bibtex-complete-internal): Remove.
14451 (bibtex-format-entry): Remove unused sub-group in regexp.
14452 * shell.el (shell--command-completion-data)
14453 (shell-environment-variable-completion):
14454 * pcomplete.el (pcomplete-completions-at-point):
14455 * comint.el (comint--complete-file-name-data): Use :exit-function
14456 instead of completion-table-with-terminator so it also works for
14457 choose-completion.
14458
e44e373d
SM
144592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14460
4f91a816
SM
14461 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14462
782fc819
SM
14463 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14464 (bug#8710).
14465
e44e373d
SM
14466 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14467
381987c3
KM
144682011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14469
14470 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14471 customization variable and implement: If non-nil, auto-fill will
14472 be inhibited while on topic's header line.
14473
b776bc70
VB
144742011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14475
14476 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14477 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14478 always have a solution in grid size = 5 cases.
14479 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14480 (5x5-solver-output, 5x5-log-buffer): New vars.
14481 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14482 Make these variables buffer local to achieve 5x5 multi-session-ness.
14483 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14484 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14485 (5x5-solve-suggest): New funs.
14486 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14487 randomize a grid so that we ensure that there is always a solution.
14488 (5x5-make-random-grid): Allow other movement than flipping.
14489
7de88b6e
KR
144902011-05-23 Kevin Ryde <user42@zip.com.au>
14491
14492 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14493 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14494 advice and passes PREDICATE.
14495
b1ef1257
SM
144962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14497
bbca48fe
SM
14498 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14499 byte-compile-lambda if it's actually a lambda.
14500
b1ef1257
SM
14501 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14502 Fix function quoting. Use backquote better.
14503
92a9cc65
YS
145042011-05-22 Yuanle Song <sylecn@gmail.com>
14505
14506 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14507 matching (Bug#8516).
14508
f0fb8059
JA
145092011-01-22 Jari Aalto <jari.aalto@cante.net>
14510
14511 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14512 different face (Bug#8178).
14513
d5b44c93
CY
145142011-05-22 Chong Yidong <cyd@stupidchicken.com>
14515
14516 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14517 defface (Bug#8144).
14518
79106a44
SM
145192011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14520
9c848d8a
SM
14521 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14522 funcall as well (bug#8712). Warn when performing those conversions.
14523 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14524
79106a44
SM
14525 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14526
88dfa756
GM
145272011-05-22 Glenn Morris <rgm@gnu.org>
14528
14529 * files.el (hack-local-variables-prop-line): Small simplifications.
14530 (hack-local-variables, hack-local-variables-prop-line):
14531 If MODE-ONLY, return the mode, rather than just `t'.
14532
b7cf2c79
SM
145332011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14536
3f1a8558
GM
145372011-05-21 Glenn Morris <rgm@gnu.org>
14538
7e4ccca3
GM
14539 * files.el (hack-local-variables-prop-line, hack-local-variables):
14540 If only interested in the mode, don't bother doing the other stuff.
14541
637d46ca
GM
14542 * image-mode.el (image-after-revert-hook):
14543 Redraw all frames on which the image is visible. (Bug#8567)
14544
973d955b
GM
14545 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14546
3f1a8558
GM
14547 * wid-edit.el (widget-checklist-match-inline):
14548 Fix 2011-04-19 change. (Bug#8649)
14549
96479927
SM
145502011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14551
1dcf791f
SM
14552 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14553 Also allow singlespace after single-letter capitals followed by a dot.
14554
96479927
SM
14555 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14556 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14557
35fd0881
N
145582011-05-20 Nix <nix@esperi.org.uk>
14559
14560 * files.el (basic-save-buffer-2):
14561 Fix handling of break-hardlink-on-save with non-existent files.
14562
82745640
DD
145632011-05-19 Deniz Dogan <deniz@dogan.se>
14564
14565 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14566 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14567
4a720484
GM
145682011-05-19 Glenn Morris <rgm@gnu.org>
14569
d1f21341
GM
14570 * progmodes/f90.el (f90-type-def-re):
14571 Handle "type, bind(c)". (Bug#8691)
14572
4a720484
GM
14573 * emacs-lisp/autoload.el (batch-update-autoloads):
14574 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14575
2fb0a219
MA
145762011-05-18 Michael Albinus <michael.albinus@gmx.de>
14577
14578 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14579 property for the correct connection in case of multihops.
14580
e565dd37
GM
145812011-05-18 Glenn Morris <rgm@gnu.org>
14582
c2571358 14583 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14584 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14585
e565dd37
GM
14586 Rationalize calendar handling of day and month abbrev-arrays.
14587 * calendar/calendar.el (calendar-customized-p): New function.
14588 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14589 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14590 Add :set function.
14591 (calendar-abbrev-length, calendar-day-abbrev-array)
14592 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14593 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14594 Elements may no longer be nil.
14595 (calendar-day-name, calendar-month-name):
14596 Update for changed nature of abbrev arrays.
14597 * calendar/diary-lib.el (diary-name-pattern):
14598 Update for changed nature of abbrev arrays.
14599 (diary-mark-entries-1): Update calendar-make-alist calls.
14600 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14601 * calendar/cal-html.el (cal-html-day-abbrev-array):
14602 Simply inherit from calendar-day-abbrev-array.
14603
1d99a745
SM
146042011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/grep.el (grep-mode): Disable default
14607 compilation-directory-matcher setting (bug#8684).
14608
7c1d9aa0
MA
146092011-05-17 Michael Albinus <michael.albinus@gmx.de>
14610
14611 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14612 instead of "head" and "tail". There were problems with SunOS 5.9,
14613 and it performs better.
14614
3952e9d8
GM
146152011-05-17 Glenn Morris <rgm@gnu.org>
14616
2dd12e7f
GM
14617 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14618
e4157b9c
GM
14619 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14620 Replace obsolete function.
14621
8e249bbd
GM
14622 * shell.el (pcomplete-parse-arguments-function): Declare.
14623
3952e9d8
GM
14624 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14625 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14626 (appt-check): Doc fixes.
14627 (appt-disp-window-function, appt-delete-window-function):
14628 Remove needless special case in custom :type.
14629 (appt-display-count): Default to 0, not nil.
14630 (appt-check): Reset appt-display-count to 0, not nil.
14631
c71a0d48 146322011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14633
c71a0d48
GM
14634 * progmodes/python.el (python-font-lock-keywords):
14635 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14636
31d55be9
SM
146372011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14640
3bfacb2f
KR
146412011-05-16 Kevin Ryde <user42@zip.com.au>
14642
14643 * info-look.el (makefile-automake-mode): New setups, looking in
14644 automake manual, then makefile-mode.
14645 (makefile-mode): Remove automake manual, have it just in
14646 makefile-automake-mode since there's various things different or
14647 not relevant to plain make.
14648 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14649 believe a hypothetical automake-mode would go to makefile-mode,
14650 not the other way around.
14651
c8e83751
CY
146522011-05-15 Chong Yidong <cyd@stupidchicken.com>
14653
5e9e35cd
CY
14654 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14655 hunk-end tags (Bug#8672).
14656
c8e83751
CY
14657 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14658 vc-annotate-show-diff-revision-at-line (Bug#8671).
14659
50b23e5a
GM
146602011-05-14 Glenn Morris <rgm@gnu.org>
14661
7210a739
GM
14662 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14663 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14664 (change-log-font-lock-keywords): Also handle multiple author lines
14665 with leading tabs. (Bug#8644)
7210a739 14666
4691905a
GM
14667 * calendar/appt.el (appt-check): Rename some local variables.
14668 Some simplification/reordering.
14669
50b23e5a
GM
14670 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14671 (feedmail-sendmail-f-doesnt-sell-me-out)
14672 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14673 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14674 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14675 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14676 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14677 (feedmail-binmail-gnulinuxish-template):
14678 Rename from feedmail-binmail-linuxish-template.
14679 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14680 Use insert-buffer-substring.
14681
215cda7c
BC
146822011-05-14 Bill Carpenter <bill@carpenter.org>
14683
14684 * mail/feedmail.el (feedmail-patch-level): Increase.
14685 (feedmail-debug): New custom group.
14686 (feedmail-confirm-outgoing-timeout)
14687 (feedmail-sendmail-f-doesnt-sell-me-out)
14688 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14689 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14690 (feedmail-sender-line, feedmail-from-line)
14691 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14692 (feedmail-spray-this-address)
215cda7c
BC
14693 (feedmail-spray-address-fiddle-plex-list)
14694 (feedmail-queue-use-send-time-for-date)
14695 (feedmail-queue-use-send-time-for-message-id)
14696 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14697 (feedmail-buffer-eating-function):
14698 Doc fixes.
14699 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14700 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14701 (feedmail-message-action-scroll-down): New functions.
14702 (feedmail-queue-directory, feedmail-queue-draft-directory):
14703 Use expand-file-name.
14704 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14705 Remove C-v help entry.
14706 (feedmail-queue-buffer-file-name): New variable.
14707 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14708 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14709 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14710 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14711 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14712 (feedmail-message-action-toggle-spray)
14713 (feedmail-run-the-queue-no-prompts)
14714 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14715 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14716 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14717 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14718 (feedmail-envelope-deducer, feedmail-fiddle-from)
14719 (feedmail-fiddle-sender, feedmail-default-date-generator)
14720 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14721 (feedmail-fiddle-spray-address)
14722 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14723 (feedmail-fiddle-list-of-fiddle-plexes)
14724 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14725 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14726 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14727 Change default. Doc fix.
14728 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14729 (feedmail-binmail-linuxish-template): New constant.
14730 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14731 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14732 (feedmail-send-it): Add debug call.
14733 Use feedmail-queue-buffer-file-name, and
14734 feedmail-send-it-immediately-wrapper.
14735 (feedmail-message-action-send): Add debug call.
14736 Use feedmail-send-it-immediately-wrapper.
14737 (feedmail-queue-express-to-queue): Add debug call.
14738 Run feedmail-queue-express-hook.
14739 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14740 (feedmail-message-action-help-blat):
14741 Rename from feedmail-queue-send-edit-prompt-help-first.
14742 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14743 Check line-endings. Handle errors better.
14744 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14745 Doc fix. Add debug call.
14746 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14747 Use feedmail-queue-send-edit-prompt-inner.
14748 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14749 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14750 from feedmail-queue-send-edit-prompt.
14751 (feedmail-queue-send-edit-prompt-help)
14752 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14753 (feedmail-tidy-up-slug): Add debug call.
14754 Respect feedmail-queue-slug-suspect-regexp.
14755 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14756 (feedmail-dump-message-to-queue): Add debug call.
14757 Expand queue-directory.
14758 (feedmail-dump-message-to-queue): Change message slightly.
14759 Use feedmail-say-chatter.
14760 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14761 (feedmail-send-it-immediately-wrapper): New function.
14762 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14763 Insert empty string rather than newline. Handle full-frame case.
14764 Use catch/throw. Use feedmail-say-chatter.
14765 (feedmail-fiddle-from): Try mail-host-address.
14766 (feedmail-default-message-id-generator): Doc fix.
14767 Bind system-time-locale. Handle missing end.
14768 (feedmail-fiddle-x-mailer): Add debug call.
14769 Handle feedmail-x-mailer-line being nil.
14770 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14771 Add debug call. Use buffer-substring-no-properties.
14772 (feedmail-say-debug, feedmail-say-chatter): New functions.
14773 (feedmail-find-eoh): Give an explicit error.
14774
42c7e61e
UJ
147752011-05-13 Ulf Jasper <ulf.jasper@web.de>
14776
c2571358 14777 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14778 family from helvetica to sans.
c2571358 14779 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14780 etc/images/newsticker.
14781
c2571358 14782 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14783 family from helvetica to sans.
14784
14785 * net/newst-plainview.el (newsticker-new-item-face)
14786 (newsticker-old-item-face, newsticker-immortal-item-face)
14787 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14788 (newsticker-statistics-face): Change default family from
42c7e61e 14789 helvetica to sans.
c2571358 14790 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14791 etc/images/newsticker.
14792
5d3385a0
JB
14793 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14794 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14795 auto-marking.
14796
8497a297
DV
147972011-05-13 Didier Verna <didier@xemacs.org>
14798
14799 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14800 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14801 TODO entries.
8497a297
DV
14802 (lisp-lambda-list-keyword-parameter-indentation)
14803 (lisp-lambda-list-keyword-parameter-alignment)
14804 (lisp-lambda-list-keyword-alignment): New customizable user options.
14805 (lisp-indent-defun-method): Improve docstring.
14806 (extended-loop-p): Fix comment.
14807 (lisp-indent-lambda-list-keywords-regexp): New variable.
14808 (lisp-indent-lambda-list): New function.
14809 (lisp-indent-259): Use it.
14810 (lisp-indent-defmethod): Support for more than one
14811 method qualifier and properly indent methods lambda-lists.
14812 (defgeneric): Provide a missing common-lisp-indent-function property.
14813
f278f87f
SM
148142011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14815
14816 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14817 bounds for the empty string (bug#8667).
14818
5233edd7
GM
148192011-05-13 Glenn Morris <rgm@gnu.org>
14820
5237a44f
GM
14821 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14822
8340026c 14823 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14824 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14825
5233edd7 14826 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14827 (appt-time-msg-list): Doc fix.
a5464014 14828 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14829
92d10796
AS
148302011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * progmodes/ld-script.el (ld-script-keywords)
14833 (ld-script-builtins): Update keywords list.
14834
914a0ae1
SM
148352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14836
c89be45f
SM
14837 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14838
914a0ae1
SM
14839 * shell.el (shell-completion-vars): New function.
14840 (shell-mode):
14841 * simple.el (read-shell-command): Use it.
14842 (blink-matching-open): No need for " [...]" in minibuffer-message.
14843
98dc3df3
GM
148442011-05-12 Glenn Morris <rgm@gnu.org>
14845
14846 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14847 (appt-check): Simplify.
14848
d2fc7e3d 148492011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14850
4d61f28d 14851 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14852 literal "/dev/null".
14853
d2fc7e3d 148542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14855
14856 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14857 Fix typo.
14858
d2fc7e3d 148592011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14860
3f254caa
SM
14861 * progmodes/which-func.el (which-function):
14862 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14863 which might not be defined (Bug#8260).
14864
d45885f7
GM
148652011-05-12 Glenn Morris <rgm@gnu.org>
14866
14867 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14868 Let byte-compile-initial-macro-environment always take precedence.
14869
488086f4
SM
148702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14871
14872 * net/rcirc.el: Add support for SSL/TLS connections.
14873 (rcirc-server-alist): New field `encryption'.
14874 (rcirc): Check `encryption' settings.
14875 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14876 Merge make-local-variable into `set'.
14877 (rcirc--connection-open-p): New function.
14878 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14879 the process is not a network process (e.g. running gnutls-cli).
14880 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14881 Make rcirc-(en|de)code-coding-system local here.
14882 (rcirc-mode): Merge make-local-variable into `set'.
14883 (rcirc-parent-buffer): Make permanent buffer-local.
14884 (rcirc-multiline-minor-mode): Don't do it here.
14885 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14886 there's no server buffer.
14887
7d3b9d44
GM
148882011-05-11 Glenn Morris <rgm@gnu.org>
14889
f64049c6
GM
14890 * newcomment.el (comment-kill): Prefix "unused" local.
14891
93c9df73
GM
14892 * term/w32console.el (get-screen-color): Declare.
14893
7d3b9d44
GM
14894 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14895 Handle symbol elements of byte-compile-initial-macro-environment.
14896
9e2dd53f
LL
148972011-05-10 Leo Liu <sdl.web@gmail.com>
14898
488086f4
SM
14899 * bookmark.el (bookmark-bmenu-mode-map):
14900 Bind bookmark-bmenu-search to `/'.
8b340240 14901
9e2dd53f 14902 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14903 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14904 (Footnote-unicode): New function.
14905 (footnote-style-alist): Add unicode style to the list.
14906 (footnote-style): Doc fix.
9e2dd53f 14907
79b70037
GM
149082011-05-10 Jim Meyering <meyering@redhat.com>
14909
14910 Fix doubled-word typos.
14911 * international/quail.el (quail-insert-kbd-layout): and and -> and
14912 * kermit.el: and and -> and
14913 * net/ldap.el (ldap-search-internal): to to -> to
14914 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14915 * progmodes/js.el (js-mode): and and -> and
14916 * textmodes/artist.el (artist-move-to-xy): at at -> at
14917 (artist-draw-region-trim-line-endings): if if -> if
14918 And Safetyc -> Safety.
14919 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14920
b8f82dc1 149212011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14922 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14923
14924 * files.el (hack-one-local-variable-eval-safep):
14925 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14926
4f99f44b
GM
149272011-05-10 Glenn Morris <rgm@gnu.org>
14928
14929 * calendar/diary-lib.el (diary-list-entries-hook)
14930 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14931 (diary-nongregorian-marking-hook, diary-list-entries)
14932 (diary-include-other-diary-files, diary-mark-entries)
14933 (diary-mark-included-diary-files): Doc fixes.
14934
84f29e6b
JB
149352011-05-09 Juanma Barranquero <lekktu@gmail.com>
14936
14937 * misc.el: Require tabulated-list.el during compilation.
14938
9bedd73a
CY
149392011-05-09 Chong Yidong <cyd@stupidchicken.com>
14940
488086f4
SM
14941 * progmodes/compile.el (compilation-start):
14942 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14943 (compilation-filter-hook): Doc fix.
14944
797c735c
DD
149452011-05-09 Deniz Dogan <deniz@dogan.se>
14946
14947 * wdired.el: Remove outdated installation comment. Fix usage
14948 comment.
14949
5f4b1dfe
JB
149502011-05-09 Juanma Barranquero <lekktu@gmail.com>
14951
14952 * misc.el: Implement new command `list-dynamic-libraries'.
14953 (list-dynamic-libraries--loaded-only-p): New variable.
14954 (list-dynamic-libraries--refresh): New function.
14955 (list-dynamic-libraries): New command.
14956
4c44026c
CY
149572011-05-09 Chong Yidong <cyd@stupidchicken.com>
14958
488086f4
SM
14959 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14960 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14961 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14962 higher priority to avoid clobbering by gnu.
14963
027f966d
CY
149642011-05-08 Chong Yidong <cyd@stupidchicken.com>
14965
14966 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14967 if the face has existing theme settings (Bug#8454).
14968
085f5d7d
CY
149692011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14970
488086f4
SM
14971 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14972 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14973
2a86a00c
RS
14974 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14975 special file names `.' and `..' (Bug#8259).
14976
d9c54a06
CY
149772011-05-08 Chong Yidong <cyd@stupidchicken.com>
14978
488086f4
SM
14979 * progmodes/grep.el (grep-mode-font-lock-keywords):
14980 Remove buffer-changing entries.
d9c54a06
CY
14981 (grep-filter): New function.
14982 (grep-mode): Add it to compilation-filter-hook.
14983
14984 * progmodes/compile.el (compilation-filter-hook)
14985 (compilation-filter-start): New defvars.
14986 (compilation-filter): Call compilation-filter-hook prior to
14987 updating the process mark.
14988
c4662635
SM
149892011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14990
14991 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14992
b0512a1d
EZ
149932011-05-07 Eli Zaretskii <eliz@gnu.org>
14994
605c9376
EZ
14995 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14996 mailclient-send-it even if window-system is nil. (Bug#8595)
14997
c4662635
SM
14998 * term/w32console.el (terminal-init-w32console):
14999 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15000 background-mode. (Bug#8597)
15001
d1dc2cc2
SM
150022011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15005 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15006 New functions.
15007 (defgeneric, eieio--defmethod): Use them.
15008 (eieio-defgeneric): Remove.
15009 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15010
915d1300
GM
150112011-05-07 Glenn Morris <rgm@gnu.org>
15012
a3961c3e
GM
15013 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15014 Use let rather than let*.
15015 (timeclock-find-discrep): Remove unused local.
15016
314347b9
GM
15017 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15018
915d1300
GM
15019 * calendar/appt.el (appt-time-msg-list): Doc fix.
15020
275b59b0
NF
150212011-05-06 Noah Friedman <friedman@splode.com>
15022
15023 * apropos.el (apropos-print-doc): Only use
15024 emacs-lisp-docstring-fill-column when it is bound to an integer,
15025 per that variable's documentation.
15026
6c19f744
SM
150272011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15030 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15031
60f884b2
GM
150322011-05-06 Glenn Morris <rgm@gnu.org>
15033
5006e634
GM
15034 * calendar/appt.el (appt-message-warning-time): Doc fix.
15035 (appt-warning-time-regexp): New option.
15036 (appt-make-list): Respect appt-message-warning-time.
15037
548d0a63
GM
15038 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15039 New options.
15040 (diary-add-to-list): Strip comments from the displayed string.
15041 (diary-mode): Set comment-start and comment-end.
15042
60f884b2
GM
15043 * vc/diff-mode.el (smerge-refine-subst): Declare.
15044 (diff-refine-hunk): Don't require smerge-mode when compiling.
15045
989681bb
JB
150462011-05-06 Juanma Barranquero <lekktu@gmail.com>
15047
15048 * simple.el (list-processes): Return nil as the docstring says.
15049
a6bc05e1
MA
150502011-05-05 Michael Albinus <michael.albinus@gmx.de>
15051
15052 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15053 to "".
15054 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15055 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15056 determining of binary transfer. (Bug#7383)
15057
23c22e9a
MA
150582011-05-05 Michael Albinus <michael.albinus@gmx.de>
15059
c4662635
SM
15060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15061 Fix port computation bug. (Bug#8618)
23c22e9a 15062
0bff894f
GM
150632011-05-05 Glenn Morris <rgm@gnu.org>
15064
b8296902
GM
15065 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15066
1f522ce8
GM
15067 * simple.el (shell-dynamic-complete-functions)
15068 (comint-dynamic-complete-functions): Declare.
15069
cf5bee67
GM
15070 * net/network-stream.el (gnutls-negotiate):
15071 * simple.el (tabulated-list-print): Fix declarations.
15072
15073 * progmodes/gud.el (syntax-symbol, syntax-point):
15074 Remove unnecessary and incorrect declarations.
15075
0bff894f
GM
15076 * emacs-lisp/check-declare.el (check-declare-scan):
15077 Handle byte-compile-initial-macro-environment in bytecomp.el
15078
9869b3ae
SM
150792011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 Fix earlier half-done eieio-defmethod change (bug#8338).
15082 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15083 Streamline and change calling convention.
15084 (defmethod): Adjust accordingly and simplify.
15085 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15086 new eieio--defmethod.
15087 (slot-boundp): Minor CSE simplification.
15088
9c1d5ac5
MZ
150892011-05-05 Milan Zamazal <pdm@zamazal.org>
15090
15091 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15092 (glasses-make-readable): Use glasses-separate-capital-groups.
15093
455c834e
JB
150942011-05-05 Juanma Barranquero <lekktu@gmail.com>
15095
15096 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15097 (warning-series): Doc fix.
15098 (display-warning): Don't try to create the buffer if we just found it.
15099
9ed7c8cb
CY
151002011-05-04 Chong Yidong <cyd@stupidchicken.com>
15101
15102 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15103 (autoload-find-generated-file): New function.
15104 (generate-file-autoloads): Bind generated-autoload-file to
15105 buffer-file-name.
9869b3ae
SM
15106 (update-file-autoloads, update-directory-autoloads):
15107 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15108 output file (Bug#7989).
15109 (batch-update-autoloads): Doc fix.
15110
0898ca10
JB
151112011-05-04 Juanma Barranquero <lekktu@gmail.com>
15112
15113 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15114
31dfb76c
GM
151152011-05-04 Glenn Morris <rgm@gnu.org>
15116
f330b642
GM
15117 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15118 function, so it follows changes in calendar-date-style.
15119 (diary-fancy-date-matcher): New function.
15120 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15121 (diary-fancy-font-lock-fontify-region-function):
15122 Use diary-fancy-date-pattern as a function.
15123
31dfb76c
GM
15124 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15125 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15126
48e79d6a
TZ
151272011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15128
15129 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15130 instead of positional arguments. Allow :keylist and :crlfiles
15131 arguments.
15132 (open-gnutls-stream): Call it.
15133
15134 * net/network-stream.el (network-stream-open-starttls): Adjust to
15135 call `gnutls-negotiate' with :process and :hostname arguments.
15136
dd5a5ee0
SM
151372011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15138
ef80fc09
SM
15139 * minibuffer.el (completion--message): New function.
15140 (completion--do-completion, minibuffer-complete)
15141 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15142 (completion--do-completion): Don't ignore completion-auto-help when in
15143 icomplete-mode.
15144
dd5a5ee0
SM
15145 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15146 internal encoding (e.g. tibetan zero is not whitespace).
15147 (global-whitespace-mode): Prefer save-current-buffer.
15148 (whitespace-trailing-regexp): Remove useless save-match-data.
15149 (whitespace-empty-at-bob-regexp): Minor simplification.
15150
b7d22a83
CY
151512011-05-03 Chong Yidong <cyd@stupidchicken.com>
15152
15153 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15154
5192af46
AM
151552011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15156
15157 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15158 Use `concat' to create string for insertion.
5192af46 15159
5767d190
SM
151602011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15161
15162 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15163 Avoid open-line which runs post-self-insert-hook.
15164 (bibtex-fill-entry): Remove unused `end' var.
15165
bf242939
AM
151662011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15167
5767d190
SM
15168 * textmodes/ispell.el (ispell-add-per-file-word-list):
15169 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15170
25666126
LL
151712011-05-03 Leo Liu <sdl.web@gmail.com>
15172
15173 * isearch.el (isearch-yank-pop): New command.
5767d190 15174 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15175 (isearch-forward): Mention it.
15176
52d3c2d0
SM
151772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15178
1bcace58
SM
15179 * simple.el (minibuffer-complete-shell-command): Remove.
15180 (minibuffer-local-shell-command-map): Use completion-at-point.
15181 (read-shell-command): Setup completion vars here instead.
15182 (read-expression-map): Bind TAB to symbol completion.
15183
52d3c2d0
SM
15184 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15185 error directly rather via storing it into `results'.
15186
35813471
LL
151872011-05-02 Leo Liu <sdl.web@gmail.com>
15188
15189 * vc/diff.el: Fix description.
15190
e793a940
LMI
151912011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15192
15193 * server.el (server-eval-at): New function.
15194
8de66e05
LMI
151952011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * net/network-stream.el (open-network-stream): Take a :nowait
15198 parameter and pass it on to `make-network-process'.
15199 (network-stream-open-plain): Ditto.
15200
dcb79f20
AS
152012011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15202
15203 * faces.el (face-spec-set-match-display): Don't match toolkit
15204 options on terminal frames.
15205
14a7fbd8
SM
152062011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15207
7eabc1be
SM
15208 * progmodes/pascal.el: Use lexical binding.
15209 (pascal-mode-map): Remove author preferences.
15210
14a7fbd8
SM
15211 * pcomplete.el (pcomplete-std-complete): Don't abuse
15212 completion-at-point.
15213
50f84510
JB
152142011-04-28 Juanma Barranquero <lekktu@gmail.com>
15215
6e087a44
JB
15216 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15217 removing code that has been dead since 1991 or so.
15218
50f84510
JB
15219 * startup.el (command-line): When warning about "_emacs", use a
15220 delayed warning to allow the user to filter it out.
15221
0ba690bd
DD
152222011-04-28 Deniz Dogan <deniz@dogan.se>
15223
15224 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15225 user has not joined.
15226
08abfaad
SM
152272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15230 aren't any completions at point.
15231
638f053a
JB
152322011-04-28 Juanma Barranquero <lekktu@gmail.com>
15233
15234 * subr.el (display-delayed-warnings): New function.
15235 (delayed-warnings-hook): New variable.
15236
8fff8daa
SM
152372011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15238
08abfaad
SM
15239 * minibuffer.el (completion-at-point, completion-help-at-point):
15240 Don't presume that a given completion-at-point-function will always
15241 use the same calling convention.
15242
8fff8daa
SM
15243 * pcomplete.el (pcomplete-completions-at-point):
15244 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15245 pcomplete-seen is non-nil.
15246 (pcomplete-comint-setup): Also recognize the new comint/shell
15247 completion functions.
15248 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15249 pcomplete-seen is non-nil.
15250
841a1577 152512011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15252
841a1577 15253 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15254 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15255 the first character in the entry. This allows for code to add its
211ec907
UJ
15256 own uid to the entry.
15257 (icalendar--convert-float-to-ical): Add export of
15258 `diary-float'-entries save for those with the optional DAY
15259 argument.
15260
2a782793
DC
152612011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15262
15263 * subr.el (shell-quote-argument): Use alternate escaping strategy
15264 when we spot a variable reference in a string.
15265
0438ce91
DC
152662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15267
15268 * cus-start.el (all): Define customization for debug-on-event.
15269
841a1577 152702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15271
15272 * subr.el (shell-quote-argument): Escape correctly under Windows.
15273
d090ed6c
SM
152742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15277
bfd31217
MA
152782011-04-25 Michael Albinus <michael.albinus@gmx.de>
15279
d090ed6c
SM
15280 * net/tramp.el (tramp-process-actions): Add POS argument.
15281 Delete region between POS and (pos).
bfd31217 15282
d090ed6c
SM
15283 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15284 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15285 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15286
15287 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15288 position in `tramp-process-actions' call.
15289
15290 * net/trampver.el: Update release number.
15291
e92f3bd3
SM
152922011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15293
850256b5
SM
15294 * custom.el (defcustom): Obey lexical-binding.
15295
e92f3bd3
SM
15296 Fix octave-inf completion problems reported by Alexander Klimov.
15297 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15298 Inherit from octave-mode-syntax-table.
15299 (inferior-octave-mode): Set info-lookup-mode.
15300 (inferior-octave-completion-at-point): New function.
15301 (inferior-octave-complete): Use it and completion-in-region.
15302 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15303 comint-filename-completion.
15304 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15305 symbol elements which shouldn't be word elements.
15306 (octave-font-lock-keywords, octave-beginning-of-defun)
15307 (octave-function-header-regexp): Adjust regexps accordingly.
15308 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15309
cd22b309
JB
153102011-04-25 Juanma Barranquero <lekktu@gmail.com>
15311
15312 * net/gnutls.el (gnutls-errorp): Declare before first use.
15313
8b492194
TZ
153142011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15315
15316 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15317 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15318 default trustfile exists before going to use it. Add missing
5a5fa834 15319 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15320 Reported by Claudio Bley <claudio.bley@gmail.com>.
15321 (open-gnutls-stream): Add usage example.
15322
15323 * net/network-stream.el (network-stream-open-starttls): Give host
15324 parameter to `gnutls-negotiate'.
15325 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15326 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15327
841a1577 153282011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15329
cd22b309
JB
15330 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15331 Use correct match group (bug#8438).
05842630 15332
3ba7869c
CY
153332011-04-24 Chong Yidong <cyd@stupidchicken.com>
15334
512e3ae1
CY
15335 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15336 (package-menu--generate): New arg specifying packages to show.
15337 (package-menu-refresh, package-menu-execute, list-packages):
15338 Callers changed.
15339 (package-show-package-list): New function, replacing deleted
15340 package--list-packages (renamed because it is non-internal).
15341
15342 * finder.el (finder-list-matches): Use package-show-package-list
15343 instead of deleted package--list-packages.
15344
e92f3bd3
SM
15345 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15346 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15347 (vc-annotate-mode-map): Bind it to RET.
15348
7031be6d
UR
153492011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15350
15351 * progmodes/etags.el (next-file): Don't use set-buffer to change
15352 buffers (Bug#8478).
15353
4ef177aa
CY
153542011-04-24 Chong Yidong <cyd@stupidchicken.com>
15355
c8d173eb
CY
15356 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15357
4ef177aa
CY
15358 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15359 (apropos-accumulator): Doc fix.
15360 (apropos-function, apropos-macro, apropos-command)
15361 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15362 (apropos-plist): Add face property.
15363 (apropos-symbols-internal): Fix indentation.
15364 (apropos-print): Simplify help, and recognize apropos-multi-type.
15365 (apropos-print-doc): Use button-type-get to extract the button's
15366 face property. Fill docstring (Bug#8352).
15367
4ffd0d6b 153682011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15369
15370 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15371
c6c32125 15372 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15373 (mpuz-mode-map): Use mapc.
c6c32125
JB
15374 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15375 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15376 Fix typos in docstrings.
15377
58d468b4
JB
15378 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15379 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15380
6470c3c6
JB
15381 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15382
4ffd0d6b 153832011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15384
15385 * minibuffer.el (completion--do-completion): Avoid the "Next char
15386 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15387
3ad8bad0
CY
15388 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15389 mouse-2 into unread-command-events, it is interpreted correctly.
15390
71d73c9c 15391 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15392 (image-toggle-display): Doc fix.
71d73c9c 15393
841a1577 153942011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15395
4ffd0d6b
GM
15396 * textmodes/page.el (what-page): Use line-number-at-pos to
15397 calculate line number (Bug#6825).
6e1dbaa9 15398
c2fb1b60
JB
153992011-04-22 Juanma Barranquero <lekktu@gmail.com>
15400
15401 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15402 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15403 Pass argument NO-DEFAULT to `find-tag-interactive'.
15404
e02f48d7
JB
154052011-04-22 Juanma Barranquero <lekktu@gmail.com>
15406
15407 Lexical-binding cleanup.
15408
15409 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15410 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15411 * progmodes/ada-prj.el (ada-prj-initialize-values)
15412 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15413 (ada-prj-show-value):
15414 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15415 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15416 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15417 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15418 * progmodes/bug-reference.el (bug-reference-push-button):
15419 * progmodes/fortran.el (fortran-line-length):
15420 * progmodes/glasses.el (glasses-change):
15421 * progmodes/octave-mod.el (octave-fill-paragraph):
15422 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15423 (python-pdbtrack-grub-for-buffer, python-sentinel):
15424 * progmodes/sql.el (sql-save-connection):
15425 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15426 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15427 Mark unused parameters.
15428
15429 * progmodes/compile.el (compilation--flush-directory-cache)
15430 (compilation--flush-parse, compile-internal): Mark unused parameters.
15431 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15432 (compilation-next-error-function): Remove unused variable `timestamp'.
15433
15434 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15435 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15436
15437 * progmodes/dcl-mode.el (dcl-end-of-command):
15438 Remove unused variable `start'.
15439 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15440 (dcl-option-value-basic, dcl-option-value-offset)
15441 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15442 Mark unused parameters.
15443 (dcl-save-local-variable): Remove unused variable `val'.
15444 (mode): Declare.
15445
15446 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15447 Mark unused parameters.
15448 (delphi-ignore-changes): Move before first use.
15449 (delphi-charset-token-at): Remove unused variable `start'.
15450 (delphi-else-start): Remove unused variable `if-count'.
15451 (delphi-comment-block-start, delphi-comment-block-end):
15452 Remove unused variable `kind'.
15453 (delphi-indent-line): Remove unused variable `new-point'.
15454
15455 * progmodes/ebrowse.el (ebrowse-files-list)
15456 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15457 Mark unused parameters. Don't quote `lambda'.
15458 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15459 Don't quote `lambda'.
15460 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15461 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15462 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15463 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15464 Use `ignore-errors'.
15465 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15466 (ebrowse-view/find-file-and-search-pattern)
15467 (ebrowse-view/find-member-declaration/definition):
15468 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15469 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15470 Rename parameter PREFIX-ARG to PREFIX.
15471 (ebrowse-tags-read-name): Remove unused variables `start' and
15472 `member-info'.
15473 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15474 to `tags-file'.
15475
15476 * progmodes/etags.el (local-find-tag-hook): Declare.
15477 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15478 Mark unused parameters.
15479
15480 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15481 (executable-interpret): Mark unused parameter.
15482
15483 * progmodes/flymake.el (flymake-process-sentinel)
15484 (flymake-after-change-function)
15485 (flymake-create-temp-with-folder-structure)
15486 (flymake-get-include-dirs-dot): Mark unused parameters.
15487 (flymake-safe-delete-directory): Remove unused variable `err'.
15488
15489 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15490 (speedbar-timer-fn, speedbar-line-text)
15491 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15492 (speedbar-center-buffer-smartly): Declare functions.
15493 (gdb-find-watch-expression): Remove unused variable `array'.
15494 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15495 (gdb-starting): Mark unused parameters.
15496 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15497 (gdb-table-string): Remove unused variable `res'.
15498 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15499 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15500 (gdb-display-buffer): Remove unused variable `cur-size'.
15501
15502 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15503 allow lexical-binding compilation.
15504 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15505 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15506 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15507 Mark unused parameters.
15508 (gud-gdb-marker-filter): Remove unused variable `match'.
15509 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15510 lambda expressions and funcall them, instead of using `fset'.
15511
15512 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15513 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15514
15515 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15516 variable `header-beg'; use `let'.
15517
15518 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15519 `restart', `last-sexp' and `at-do'.
15520
15521 * progmodes/js.el (js--debug): Mark unused parameter.
15522 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15523 (js--splice-into-items): Remove unused variable `item'.
15524 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15525
15526 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15527 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15528 (makefile-complete): Remove unused variable `try'.
15529 (makefile-fill-paragraph, makefile-match-function-end):
15530 Mark unused parameters.
15531
15532 * progmodes/octave-inf.el (inferior-octave-complete):
15533 Remove unused variable `proc'.
15534 (inferior-octave-output-digest): Mark unused parameter.
15535
15536 * progmodes/perl-mode.el (perl-calculate-indent):
15537 Remove unused variable `err'.
15538
15539 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15540 (prolog-indent-line): Mark unused parameters.
15541 (prolog-indent-line): Remove unused variable `beg'.
15542
15543 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15544 (reporter-dont-compact-list): Declare.
15545
15546 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15547 Remove unused variable `char'.
15548 (sh-debug): Mark unused parameter.
15549 (sh-get-indent-info): Remove unused variable `start'.
15550 (sh-calculate-indent): Remove unused variable `var'.
15551
15552 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15553 (simula-electric-keyword): Remove unused variable `null'.
15554 (simula-search-backward, simula-search-forward): Remove unused
15555 variables `begin' and `end'.
15556
15557 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15558 Remove unused variable `pos'.
15559 (vera-electric-tab, vera-comment-uncomment-region):
15560 Mark unused parameters.
15561 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15562
7ede3b65
CY
155632011-04-22 Chong Yidong <cyd@stupidchicken.com>
15564
15565 * emacs-lisp/package.el (package--builtins, package-alist)
15566 (package-load-descriptor, package-built-in-p, package-activate)
15567 (define-package, package-installed-p)
15568 (package-compute-transaction, package-buffer-info)
15569 (package--push): Doc fix. Distinguish more clearly between
15570 version strings and version lists.
15571
121656e9
JB
155722011-04-21 Juanma Barranquero <lekktu@gmail.com>
15573
15574 Lexical-binding cleanup.
15575
15576 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15577 (5x5-make-mutate-best):
15578 * play/fortune.el (fortune-in-buffer):
15579 * play/gomoku.el (gomoku-init-display):
15580 * play/solitaire.el (solitaire, solitaire-do-check):
15581 * play/tetris.el (tetris-default-update-speed-function):
15582 Mark unused parameters.
15583
15584 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15585 (bubbles--shift): Remove unused variable `char-org'.
15586 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15587 (bubbles--show-images): Remove unused variable `char'.
15588
15589 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15590 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15591 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15592 (decipher-analyze-buffer): Use ?\s.
15593 (decipher-make-checkpoint): Remove unused variable `mapping'.
15594
15595 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15596
15597 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15598 Remove unused variable `result'; use `let'.
15599
15600 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15601 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15602 (gametree-children-shown-p, gametree-compute-reduced-score):
15603 Use `ignore-errors'.
15604
15605 * play/handwrite.el (ps-lpr-switches): Declare.
15606 (handwrite): Remove unused variables `pmin' and `lastp'.
15607
15608 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15609
15610 * play/landmark.el (landmark-init-display)
15611 (landmark-update-naught-weights): Mark unused parameters.
15612 (landmark-y): Remove unused variable `noise'. Simplify.
15613 (landmark-human-plays): Remove unused variable `score'.
15614
15615 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15616 (mpuz-try-proposal): Remove unused variable `game'.
15617
15618 * play/zone.el (life-patterns): Declare.
15619
80f499c7
JB
156202011-04-20 Juanma Barranquero <lekktu@gmail.com>
15621
15622 * vc/vc.el (ediff-vc-internal): Declare function.
15623
024ff170
SM
156242011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15625
c0a193ea
SM
15626 * shell.el: Use lexical-binding and std completion UI.
15627 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15628 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15629 comint-preoutput-filter-functions rather than on
15630 comint-output-filter-functions.
15631 (shell-command-completion, shell--command-completion-data)
15632 (shell-filename-completion, shell-environment-variable-completion)
15633 (shell-c-a-p-replace-by-expanded-directory): New functions.
15634 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15635 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15636 (shell-dynamic-complete-environment-variable): Use them.
15637 (shell-dynamic-complete-as-environment-variable)
15638 (shell-dynamic-complete-as-command): Remove.
15639 (shell-match-partial-variable): Match past point.
15640 * comint.el: Clean up use of completion-at-point-functions.
15641 (comint-completion-at-point): New function.
15642 (comint-mode): Use it completion-at-point-functions.
15643 (comint-dynamic-complete): Make it obsolete.
15644 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15645 (comint-c-a-p-replace-by-expanded-history): New function.
15646 (comint-dynamic-complete-functions)
15647 (comint-replace-by-expanded-history): Use it.
15648 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15649 termination strings. Try harder to avoid second try-completion.
15650 (completion-in-region-mode-map): Disable bindings that don't work yet.
15651
2dbaa080
SM
15652 * comint.el: Use lexical-binding. Require CL.
15653 (comint-dynamic-complete-functions): Use comint-filename-completion.
15654 (comint-completion-addsuffix): Tweak custom type.
15655 (comint-filename-completion, comint--common-suffix)
15656 (comint--common-quoted-suffix, comint--table-subvert)
15657 (comint--complete-file-name-data): New functions.
15658 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15659 (comint-dynamic-list-filename-completions): Use them.
15660 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15661
2dbaa080
SM
15662 * minibuffer.el (completion-in-region-mode):
15663 Keep completion-in-region-mode--predicate global.
15664 (completion-in-region--postch):
15665 Assume completion-in-region-mode--predicate is not null.
15666
c79a6f38
SM
15667 * progmodes/flymake.el (flymake-start-syntax-check-process):
15668 Obey `dir'. Simplify.
15669
024ff170
SM
15670 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15671 we're in VC after all.
15672
1c6c854e
CS
156732011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15674
15675 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15676 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15677 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15678
bed7f140
SM
156792011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15680
332e62ab
SM
15681 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15682 add sanity check.
15683
bed7f140
SM
15684 * obsolete/erc-hecomplete.el: Make obsolete.
15685 * obsolete/: Standardize obsolescence info in the header.
15686
f195c582
GM
156872011-04-20 Glenn Morris <rgm@gnu.org>
15688
15689 * calendar/solar.el (solar-horizontal-coordinates):
15690 Use the longitude argument rather than `calendar-longitude'.
15691 (solar-date-next-longitude): Remove unused locals.
15692
cb79b8c0
VJL
156932011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15694
15695 * whitespace.el: New version 13.2.1.
15696
156972011-04-20 felix <EmacsWiki> (tiny change)
15698
d8e4b68b 15699 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15700 switching between major modes on a file.
15701
602ea69d
SM
157022011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15703
15704 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15705 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15706 multi-line comments as well.
15707
06b60517
JB
157082011-04-19 Juanma Barranquero <lekktu@gmail.com>
15709
15710 Lexical-binding cleanup.
15711
15712 * arc-mode.el (archive-mode-revert):
15713 * cmuscheme.el (scheme-interactively-start-process):
15714 * custom.el (custom-initialize-delay):
15715 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15716 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15717 * emacs-lock.el (emacs-lock-clear-sentinel):
15718 * ezimage.el (defezimage):
15719 * follow.el (follow-avoid-tail-recenter):
15720 * fringe.el (set-fringe-mode-1):
15721 * generic-x.el (bat-generic-mode-compile):
15722 * help-mode.el (help-info-variable, help-do-xref)
15723 (help-mode-revert-buffer):
15724 * help.el (view-emacs-todo):
15725 * iswitchb.el (iswitchb-completion-help):
15726 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15727 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15728 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15729 * locate.el (locate-update):
15730 * longlines.el (longlines-encode-region)
15731 (longlines-after-change-function):
15732 * outline.el (outline-isearch-open-invisible):
15733 * ps-def.el (declare-function, charset-dimension, char-width)
15734 (encode-char):
15735 * ps-mule.el (ps-mule-plot-string):
15736 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15737 (recentf-edit-list-select, recentf-edit-list-validate)
15738 (recentf-open-files-action):
15739 * rect.el (delete-whitespace-rectangle-line)
15740 (rectangle-number-line-callback):
15741 * register.el (window-configuration-to-register)
15742 (frame-configuration-to-register):
15743 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15744 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15745 (xselect-convert-to-targets, xselect-convert-to-delete)
15746 (xselect-convert-to-filename, xselect-convert-to-charpos)
15747 (xselect-convert-to-lineno, xselect-convert-to-colno)
15748 (xselect-convert-to-os, xselect-convert-to-host)
15749 (xselect-convert-to-user, xselect-convert-to-class)
15750 (xselect-convert-to-name, xselect-convert-to-integer)
15751 (xselect-convert-to-atom, xselect-convert-to-identity):
15752 * subr.el (declare, ignore, process-kill-without-query)
15753 (text-clone-maintain):
15754 * terminal.el (te-get-char, te-tic-sentinel):
15755 * tool-bar.el (tool-bar-make-keymap):
15756 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15757 * type-break.el (type-break-mode, type-break-noninteractive-query):
15758 * view.el (View-back-to-mark):
15759 * wid-browse.el (widget-browse-action, widget-browse-widget)
15760 (widget-browse-widgets, widget-browse-sexp):
15761 * widget.el (define-widget-keywords):
15762 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15763 Mark unused parameters.
15764
15765 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15766 (align-areas): Remove unused variable `look'.
15767 (align-region): Remove unused variables `real-end' and `pos-list'.
15768
15769 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15770
15771 * bindings.el (mode-line-modified, mode-line-remote):
15772 Mark unused parameters.
15773 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15774
15775 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15776 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15777
15778 * comint.el (comint-history-isearch-pop-state)
15779 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15780 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15781 (comint-substitute-in-file-name): Doc fix.
15782
15783 * completion.el (cmpl-statistics-block): Mark unused parameter.
15784 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15785 (save-completions-to-file, load-completions-from-file):
15786 Remove unused local variable `e'.
15787
15788 * composite.el (compose-chars): Remove unused variable `len'.
15789 (lgstring-insert-glyph): Remove unused variable `g'.
15790 (compose-glyph-string): Remove unused variables `ascent',
15791 `descent', `lbearing' and `rbearing'.
15792 (compose-glyph-string-relative): Remove unused variables
15793 `lbearing', `rbearing' and `wadjust'.
15794 (compose-gstring-for-graphic): Remove unused variables `header',
15795 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15796 (compose-gstring-for-terminal): Remove unused variables `header'
15797 and `nchars'. Use `let', not `let*'.
15798
15799 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15800 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15801 (Custom-buffer-done, custom-buffer-create-internal)
15802 (custom-browse-visibility-action, custom-browse-group-tag-action)
15803 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15804 (widget-magic-mouse-down-action, custom-toggle-parent)
15805 (custom-add-parent-links, custom-toggle-hide-variable)
15806 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15807 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15808 (custom-face-menu-create, custom-variable-menu-create, get)
15809 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15810 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15811 (customize-apropos): Remove unused variable `tests'.
15812 (custom-group-value-create): Remove unused variable `hidden-p'.
15813 (sort-fold-case): Declare.
15814
15815 * cus-theme.el (custom-reset-standard-faces-list)
15816 (custom-reset-standard-variables-list): Declare.
15817 (customize-create-theme, custom-theme-revert, custom-theme-write)
15818 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15819 Mark unused parameters.
15820
15821 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15822
15823 * delim-col.el (delimit-columns-max): Move defvar before first use.
15824
15825 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15826 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15827
15828 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15829 (auto-insert): Declare.
15830 (desktop-restore-file-buffer): Rename desktop-* parameters;
15831 mark unused ones.
15832 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15833 (desktop-buffer): Rename desktop-* parameters.
15834
15835 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15836 (dframe-reposition-frame-xemacs, dframe-help-echo)
15837 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15838 Mark unused parameters.
15839
15840 * dired-aux.el (backup-extract-version-start, overwrite-query)
15841 (overwrite-backup-query, rename-regexp-query)
15842 (rename-non-directory-query): Declare.
15843 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15844 (dired-add-entry): Remove unused variable `orig-file-name'.
15845 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15846 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15847 `dired-copy-preserve-time' directly.
15848 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15849 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15850
15851 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15852 (dired-virtual-revert, dired-make-relative-symlink):
15853 Mark unused parameters.
15854 (manual-program): Declare.
15855 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15856 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15857 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15858
15859 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15860
15861 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15862
15863 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15864 Declare.
15865
15866 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15867
15868 * electric.el (Electric-command-loop): Rename parameter
15869 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15870
15871 * expand.el (expand-in-literal): Remove unused variable `here'.
15872
15873 * facemenu.el (facemenu-add-new-color):
15874 Remove unused variable `docstring'.
15875
15876 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15877 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15878 (face-attr-construct): Mark unused parameter. Doc fix.
15879 (read-color): Remove unused variable `hex-string'.
15880
15881 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15882 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15883 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15884 (display-buffer-other-frame): Remove unused variable `old-window'.
15885 (kill-buffer-hook): Declare.
15886 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15887 Mark unused parameters.
15888 (after-find-file): Pass 1 to `auto-save-mode', not t.
15889
15890 * files-x.el (auto-insert): Declare.
15891 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15892
15893 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15894 variable `buf'. Mark unused parameter.
06b60517
JB
15895 (find-lisp-insert-directory): Mark unused parameter.
15896
15897 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15898 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15899 (format-common-tail): Remove, unused.
15900 (format-deannotate-region): Remove unused variable `loc'.
15901 (format-annotate-region): Remove unused variable `p'.
15902 (format-annotate-single-property-change): Remove unused variables
15903 `default' and `tail'.
15904
15905 * forms.el (read-file-filter): Declare.
15906 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15907
15908 * frame.el (frame-creation-function-alist): Mark unused parameter.
15909 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15910
15911 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15912 Remove unused parameters.
15913 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15914 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15915
15916 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15917 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15918 (hfy-prepare-tag-map): Mark unused parameters.
15919 (htmlfontify-buffer): Use `called-interactively-p'.
15920
15921 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15922 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15923 (ibuffer-do-occur): Mark unused parameters.
15924 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15925 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15926
15927 * ibuffer.el: Don't quote `lambda'.
15928 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15929 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15930 Mark unused parameters.
15931
15932 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15933 (ido-completing-read): Mark unused parameters.
15934 (ido-copy-current-word): Mark unused parameters;
15935 remove unused variable `name'.
15936 (ido-sort-merged-list): Remove unused parameter `dirs'.
15937
15938 * ielm.el (ielm-input-sender): Mark unused parameter.
15939 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15940 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15941 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15942 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15943 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15944
15945 * image-dired.el (image-dired-display-thumbs): Remove unused
15946 variables `curr-file' and `count'.
15947 (image-dired-remove-tag): Remove unused variable `start'.
15948 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15949 variable `curr-file'
15950 (image-dired-rotate-original): Remove unused variable `temp-file'.
15951 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15952 Remove unused variable `file'.
15953 (image-dired-gallery-generate): Remove unused variable `curr'.
15954 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15955
15956 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15957
15958 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15959
15960 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15961
15962 * isearch.el (minibuffer-history-symbol): Declare.
15963 (isearch-edit-string): Remove unused variable `err'.
15964 (isearch-message-prefix, isearch-message-suffix):
15965 Mark unused parameters.
15966
15967 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15968
15969 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15970
15971 * makesum.el (double-column): Remove unused variable `cnt'.
15972
15973 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15974 (ido-ignore-item-temp-list): Declare.
15975
15976 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15977 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15978 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15979 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15980 `mouse-col-delta'.
15981
15982 * mouse-sel.el (mouse-extend-internal):
15983 Remove unused variable `orig-window-frame'.
15984
15985 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15986 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15987 Move declarations before first use.
15988 (pcomplete-opt): Mark unused parameters; doc fix.
15989
15990 * proced.el (proced-revert): Mark unused parameter.
15991 (proced-send-signal): Remove unused variable `err'.
15992
15993 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15994 Rename parameter PREFIX-ARG to ARG.
15995 (ps-basic-plot-string, ps-basic-plot-whitespace):
15996 Mark unused parameters.
15997
15998 * replace.el (replace-count): Define.
15999 (occur-revert-function): Mark unused parameters.
16000 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16001 (isearch-case-fold-search, isearch-string): Declare.
16002 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16003 bind `case-fold-search'. Remove unused variables `beg' and `end',
16004 and simplify.
16005 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16006 COUNT and bind `replace-count'.
16007 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16008 to COUNT.
16009
16010 * savehist.el (print-readably, print-string-length): Declare.
16011
16012 * shadowfile.el (shadow-expand-cluster-in-file-name):
16013 Remove unused variable `cluster'.
16014 (shadow-copy-file): Remove unused variable `i'.
16015 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16016 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16017 (shadow-define-literal-group, shadow-define-regexp-group)
16018 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16019
16020 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16021 (shell): Use `called-interactively-p'.
16022 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16023
16024 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16025 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16026 (delete-backward-char): Remove unused variable `ocol'.
16027 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16028 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16029 (event-apply-hyper-modifier, event-apply-shift-modifier)
16030 (event-apply-control-modifier, event-apply-meta-modifier):
16031 Mark unused parameters.
16032 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16033 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16034
16035 * speedbar.el (speedbar-ignored-directory-expressions)
16036 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16037 (speedbar-find-file, speedbar-dir-follow)
16038 (speedbar-directory-buttons-follow, speedbar-tag-find)
16039 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16040 (speedbar-buffers-line-directory, speedbar-buffer-click):
16041 Mark unused parameters.
16042 (speedbar-tag-file): Remove unused variable `mode'.
16043 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16044
16045 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16046
16047 * talk.el (talk): Remove unused variable `display'.
16048
16049 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16050 (tar-write-region-annotate): Mark unused parameter.
16051
16052 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16053 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16054 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16055 warning by another.
16056
16057 * time-stamp.el (time-stamp-string-preprocess):
16058 Remove unused variable `require-padding'.
16059
16060 * tree-widget.el (widget-glyph-enable): Declare.
16061 (tree-widget-action): Mark unused parameter.
16062
16063 * w32-fns.el (x-get-selection): Mark unused parameter.
16064 (autoload-make-program, generated-autoload-file): Declare.
16065
16066 * wdired.el (wdired-revert): Mark unused parameters.
16067 (wdired-xcase-word): Remove unused variable `err'.
16068
16069 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16070 (whitespace-help-scroll): Remove unused variable `data-help'.
16071
16072 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16073 (widget-image-insert, widget-after-change, default)
16074 (widget-default-format-handler, widget-default-notify)
16075 (widget-default-prompt-value, widget-info-link-action)
16076 (widget-url-link-action, widget-function-link-action)
16077 (widget-variable-link-action, widget-file-link-action)
16078 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16079 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16080 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16081 (widget-insert-button-action, widget-delete-button-action, visibility)
16082 (widget-documentation-link-action, widget-documentation-string-action)
16083 (widget-const-prompt-value, widget-regexp-match, symbol)
16084 (widget-coding-system-prompt-value)
16085 (widget-key-sequence-value-to-external, sexp)
16086 (widget-sexp-value-to-internal, character, vector, cons)
16087 (widget-choice-prompt-value, widget-boolean-prompt-value)
16088 (widget-color--choose-action): Mark unused parameters.
16089 (widget-item-match-inline, widget-choice-match-inline)
16090 (widget-checklist-match, widget-checklist-match-inline)
16091 (widget-group-match): Rename parameter VALUES to VALS.
16092 (widget-field-value-set): Remove unused variable `size'.
16093 (widget-color-action): Remove unused variables `value' and `start'.
16094
16095 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16096 variable `dir'. Doc fix.
06b60517
JB
16097 (windmove-find-other-window): Don't pass it.
16098
16099 * window.el (count-windows): Mark unused parameter.
16100 (bw-adjust-window): Remove unused variable `err'.
16101
16102 * woman.el (woman-file-name): Remove unused variable `default'.
16103 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16104 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16105 (global-font-lock-mode): Declare.
16106 (woman-decode-region): Mark unused parameter.
16107 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16108
16109 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16110 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16111 (x-dnd-handle-moz-url): Remove unused variable `title'.
16112 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16113
16114 * xml.el (xml-parse-tag, xml-parse-attlist):
16115 Remove unused variable `pos'.
16116
bc4f7f3d
GM
161172011-04-19 Glenn Morris <rgm@gnu.org>
16118
16119 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16120 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16121 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16122 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16123 * calendar/cal-html.el (cal-html-insert-minical):
16124 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16125 (calendar-mark-date-pattern):
16126 Prefix "unused" locals.
16127
16128 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16129 optional argument `style'.
16130
16131 * calendar/appt.el (appt-make-list):
16132 * calendar/cal-china.el (calendar-chinese-date-string):
16133 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16134 (diary-hebrew-yahrzeit):
16135 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16136 * calendar/calendar.el (calendar-generate-window):
16137 * calendar/time-date.el (time-to-days):
16138 Remove unused local variables.
16139
16a43933
CY
161402011-04-18 Chong Yidong <cyd@stupidchicken.com>
16141
16142 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16143 glyphless-char-display table.
16144 (tabulated-list-glyphless-char-display): New var.
16145
7eed1860
SS
161462011-04-18 Sam Steingold <sds@gnu.org>
16147
16148 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16149 to acknowledgments.
16150
4d2d1ccd
GM
161512011-04-17 Glenn Morris <rgm@gnu.org>
16152
16153 * calendar/diary-lib.el (diary-sexp-entry):
16154 * calendar/holidays.el (holiday-sexp):
16155 Set debug-on-error rather than the removed stack-trace-on-error.
16156
239da61d
GM
161572011-04-16 Glenn Morris <rgm@gnu.org>
16158
16159 * progmodes/f90.el: Use lexical-binding.
16160 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16161
8b05752a
SM
161622011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16163
daca8ba5
SM
16164 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16165 (mail-mode): Setup mailalias completion here instead.
16166 * mail/mailalias.el: Use lexical-binding.
16167 (pattern, mailalias-done): Declare dynamic.
16168 (mail-completion-at-point-function): New function, from mail-complete.
16169 (mail-complete): Use it.
16170 (mail-completion-expand): New function.
16171 (mail-get-names): Use it.
16172 (mail-directory, mail-directory-process, mail-directory-stream):
16173 Don't use `pattern' for lexically bound arg.
16174
6f542485
SM
16175 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16176
037e7c3f
SM
16177 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16178 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16179 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16180
8b05752a
SM
16181 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16182 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16183 (byte-interactive-p): Define them again, for use when inlining
16184 old code.
16185
49093f60
JB
161862011-04-15 Juanma Barranquero <lekktu@gmail.com>
16187
16188 * loadup.el: Use `string-to-number', not `string-to-int'.
16189
b5b8e7de
SM
161902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16191
16192 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16193 gud-gdb-complete-command.
16194 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16195 (gud-gdb-completion-at-point): New function.
16196 (gud-gdb-completions): Remove.
16197
f42efeb5
MA
161982011-04-14 Michael Albinus <michael.albinus@gmx.de>
16199
49093f60
JB
16200 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16201 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16202 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16203 whether `executable-find' is bound.
f42efeb5
MA
16204
16205 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16206
e240cc21
SM
162072011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16208
16209 * minibuffer.el (completion-in-region-mode-predicate)
16210 (completion-in-region-mode--predicate): New vars.
16211 (completion-in-region, completion-in-region--postch)
16212 (completion-in-region-mode): Use them.
16213 (completion--capf-wrapper): Also return the hook function.
16214 (completion-at-point, completion-help-at-point):
16215 Adjust and provide a predicate.
c2bd2ab0
SM
16216
16217 Preserve arg names for advice of subr and lexical functions (bug#8457).
16218 * help-fns.el (help-function-arglist): Consolidate the subr and
16219 new-byte-code cases. Add argument `preserve-names' to extract names
16220 from the docstring when needed.
16221 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16222 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16223 (ad-arglist): Use help-function-arglist's new arg.
16224 (ad-definition-type): Use cond.
16225
c183f693
JB
162262011-04-13 Juanma Barranquero <lekktu@gmail.com>
16227
06641a47
JB
16228 * autorevert.el (auto-revert-handler):
16229 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16230 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16231 Don't quote lambda.
16232
c183f693
JB
16233 * image-mode.el (image-transform-set-scale):
16234 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16235
1e3b6001
G
162362011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16237
16238 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16239 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16240 Upgrades via gnutls-cli are too slow to be done opportunistically.
16241
2d6af8dd
JB
162422011-04-12 Juanma Barranquero <lekktu@gmail.com>
16243
16244 * dframe.el (dframe-current-frame): Remove spurious quote.
16245
c0749a51
GM
162462011-04-12 Glenn Morris <rgm@gnu.org>
16247
088d0d61
GM
16248 * calendar/cal-tex.el (cal-tex-end-document):
16249 Try to automatically use latin1 input if needed.
16250
c0749a51
GM
16251 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16252 Don't try to cons a mark onto an empty element.
16253
5c90fde0
LL
162542011-04-11 Leo Liu <sdl.web@gmail.com>
16255
16256 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16257 buffers.
16258 (ido-kill-buffer-at-head): Support killing virtual buffers.
16259
369e974d
CY
162602011-04-10 Chong Yidong <cyd@stupidchicken.com>
16261
16262 * minibuffer.el (completion-show-inline-help): New var.
16263 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16264 (minibuffer-force-complete, minibuffer-complete-word):
16265 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16266
16267 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16268 to avoid interference from inline help (Bug#5849).
16269
37f1c930
LL
162702011-04-10 Leo Liu <sdl.web@gmail.com>
16271
099c39a4
JB
16272 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16273 Fix typo.
37f1c930 16274
a32d4040
CY
162752011-04-09 Chong Yidong <cyd@stupidchicken.com>
16276
16277 * image-mode.el (image-toggle-display-image): Signal an error if
16278 not in Image mode.
16279 (image-transform-mode, image-transform-resize)
16280 (image-transform-set-rotation): Doc fix.
daca8ba5 16281 (image-transform-set-resize): Delete.
a32d4040
CY
16282 (image-transform-set-scale, image-transform-fit-to-height)
16283 (image-transform-fit-to-width): Handle image-toggle-display-image
16284 and image-transform-resize directly.
16285
099c39a4 162862011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16287
16288 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16289 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16290 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16291 (doc-view-mode-map): Add bindings for the new functions.
16292
099c39a4 162932011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16294
4d61f28d 16295 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16296 Fix typo in docstring.
16297
3726838a
EZ
162982011-04-08 Eli Zaretskii <eliz@gnu.org>
16299
04f33f1e
EZ
16300 * files.el (file-size-human-readable): Produce one digit after
16301 decimal, like "ls -lh" does.
16302
16303 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16304 the file size representation.
16305
3726838a
EZ
16306 * simple.el (list-processes): If async subprocesses are not
16307 available, error out with a clear error message.
16308
cbb59342
CY
163092011-04-08 Chong Yidong <cyd@stupidchicken.com>
16310
16311 * help.el (help-form-show): New function, to be called from C.
16312 Put help-form output in a buffer named differently than *Help*.
16313
e3971c44
EZ
163142011-04-08 Eli Zaretskii <eliz@gnu.org>
16315
16316 * files.el (file-size-human-readable): New function.
16317
16318 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16319 computing the representation inline. Don't require `cl'.
16320
12544bbe
GM
163212011-04-08 Glenn Morris <rgm@gnu.org>
16322
a1de6c6a
GM
16323 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16324
3c4671f4
GM
16325 * net/browse-url.el (browse-url-firefox):
16326 Test system-type, not system-configuration.
16327
b605679c
GM
16328 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16329 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16330 Use log-edit-empty-buffer-p. (Bug#7598)
16331
56442f0c
GM
16332 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16333 (rlogin-mode-map): Initialize in the defvar.
16334 (rlogin): Use ignore-errors.
16335
12544bbe
GM
16336 * replace.el (occur-mode-map): Some fixes for menu items.
16337
eb237b0f
AH
163382011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16339
16340 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16341
7d668f2c
CY
163422011-04-06 Chong Yidong <cyd@stupidchicken.com>
16343
e67a13ab
CY
16344 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16345 issuing unused warnings.
16346
16347 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16348 macro directly.
16349
7d668f2c
CY
16350 * simple.el: Lisp reimplement of list-processes. Based on an
16351 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16352 (process-menu-mode): New major mode.
16353 (list-processes--refresh, list-processes):
16354 (process-menu-visit-buffer): New functions.
16355
16356 * files.el (save-buffers-kill-emacs): Don't assume any return
16357 value of list-processes, which is undocumented anyway.
16358
a83ec3c9
CY
163592011-04-06 Chong Yidong <cyd@stupidchicken.com>
16360
16361 * emacs-lisp/tabulated-list.el: New file.
16362
e91a96fe
CY
16363 * emacs-lisp/package.el: Use Tabulated List mode.
16364 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16365 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16366 table format using Tabulated List mode variables.
16367 (package--push): New macro, replacing package-list-maybe-add.
16368 (package-menu--generate): Use package--push. Renamed from
16369 package--generate-package-list.
16370 (package-menu-refresh, list-packages): Use it.
daca8ba5 16371 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16372 Return insertion data instead of inserting it directly.
099c39a4
JB
16373 (package-menu-describe-package, package-menu-execute):
16374 Use tabulated-list-get-id.
e91a96fe
CY
16375 (package-menu-mark-delete, package-menu-mark-install)
16376 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16377 (package-menu-mark-obsolete-for-deletion):
16378 Use tabulated-list-put-tag.
e91a96fe
CY
16379 (package--list-packages, package-menu-revert)
16380 (package-menu-get-package, package-menu-get-version)
16381 (package-menu-sort-by-column): Functions deleted.
16382 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16383 (package-menu--status-predicate, package-menu--version-predicate)
16384 (package-menu--name-predicate)
16385 (package-menu--description-predicate): Handle arguments in the
16386 Tabulated List format.
16387 (package-list-packages-no-fetch): Call list-packages.
16388
3e214b50
JB
163892011-04-06 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16392 (after-find-file): Don't bind it.
3e214b50
JB
16393 (revert-buffer-in-progress-p): New variable.
16394 (revert-buffer): Bind it.
16395 Pass nil for `after-find-file-from-revert-buffer'.
16396
16397 * saveplace.el (save-place-find-file-hook): Use new variable
16398 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16399
3f0f1700
GM
164002011-04-06 Glenn Morris <rgm@gnu.org>
16401
c0274801
GM
16402 * Makefile.in (AUTOGEN_VCS): New variable.
16403 (autoloads): Use $AUTOGEN_VCS.
16404
3f0f1700
GM
16405 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16406 * calendar/calendar.el (calendar-mode-map):
16407 Check for toolkit scroll bars. (Bug#8305)
16408
41ea9e48
CY
164092011-04-05 Chong Yidong <cyd@stupidchicken.com>
16410
16411 * minibuffer.el (completion-in-region--postch)
16412 (completion-in-region-mode): Remove unnecessary messages.
16413
6194c800
JB
164142011-04-05 Juanma Barranquero <lekktu@gmail.com>
16415
33256f14
JB
16416 * font-lock.el (font-lock-refresh-defaults):
16417 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16418 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16419
6194c800
JB
16420 * info.el (Info-directory-list, Info-read-node-name-2)
16421 (Info-split-parameter-string): Doc fixes.
16422 (Info-virtual-nodes): Reflow docstring.
16423 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16424 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16425 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16426 Fix typos in docstrings.
16427 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16428 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16429 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16430 (Info-restore-desktop-buffer): Mark unused parameters.
16431 (Info-directory-find-file, Info-directory-find-node)
16432 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16433 (Info-virtual-index-find-node, Info-apropos-find-file)
16434 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16435 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16436 (Info-virtual-index): Remove unused local variable `nodename'.
16437
b87a8200 164382011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16439
b87a8200
DD
16440 * net/rcirc.el: Update my e-mail address.
16441 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16442
3b2ff876
CY
164432011-04-05 Chong Yidong <cyd@stupidchicken.com>
16444
16445 * startup.el (command-line): Save the cursor's theme-face
16446 directly, instead of using face-override-spec.
16447
16448 * custom.el (load-theme): Minor optimization in assigning faces.
16449
8d17e7ca
JB
164502011-04-04 Juanma Barranquero <lekktu@gmail.com>
16451
16452 * help-fns.el (describe-variable): Complete all variables having
16453 documentation, including keywords.
16454 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16455
2fbc1934
JB
164562011-04-04 Juanma Barranquero <lekktu@gmail.com>
16457
16458 Convert to lexical-binding.
16459
16460 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16461 (bs--get-marked-string, bs--get-modified-string)
16462 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16463 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16464 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16465
16466 * ehelp.el (electric-help-execute-extended)
16467 (electric-help-ctrl-x-prefix):
16468 * hexl.el (hexl-revert-buffer-function):
16469 * linum.el (linum-after-change, linum-after-scroll):
16470 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16471
16472 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16473
74f50695
DU
164742011-04-04 Daiki Ueno <ueno@unixuser.org>
16475
16476 * epa-dired.el:
16477 * epa-mail.el:
16478 * epa-hook.el:
16479 * epa-file.el:
16480 * epa.el:
16481 * epg.el: Use lexical binding.
16482
c11325f7
CY
164832011-04-03 Chong Yidong <cyd@stupidchicken.com>
16484
0d9e9a12
CY
16485 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16486
c11325f7 16487 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16488 dictionary case for flyspell-mark-duplications-exceptions.
16489 Use regexp matching for languages.
c11325f7
CY
16490 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16491 default dictionary (Bug#7926).
16492
da91b5f2
CY
164932011-04-02 Chong Yidong <cyd@stupidchicken.com>
16494
099c39a4
JB
16495 * emacs-lisp/package.el (package--with-work-buffer):
16496 Recognize https URLs.
da91b5f2 16497
099c39a4
JB
16498 * net/network-stream.el: Move from gnus/proto-stream.el.
16499 Change prefix to network-stream throughout.
da91b5f2
CY
16500 (open-protocol-stream): Merge into open-network-stream, leaving
16501 open-protocol-stream as an alias. Handle nil BUFFER args.
16502
16503 * subr.el (open-network-stream): Move to net/network-stream.el.
16504
afa8e9f6
GM
165052011-04-02 Glenn Morris <rgm@gnu.org>
16506
1d2e369d
GM
16507 * find-dired.el (find-exec-terminator): New option.
16508 (find-ls-option): Test for -ls support.
16509 (find-ls-subdir-switches): Test for -b in find-ls-option.
16510 (find-dired, find-grep-dired): Doc fixes.
16511 (find-dired): Use find-exec-terminator.
16512
8abb7da8 16513 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16514 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16515 (find-name-arg): Remove purecopy.
8abb7da8 16516
f3ca7378
GM
16517 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16518 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16519 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16520 accordingly. Don't add the null-device if not needed.
16521
afa8e9f6
GM
16522 * files.el (save-some-buffers): Doc fix.
16523
35eae264
EZ
165242011-04-02 Eli Zaretskii <eliz@gnu.org>
16525
16526 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16527
26b51db5
JB
165282011-04-01 Juanma Barranquero <lekktu@gmail.com>
16529
16530 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16531 Use `dolist' rather than `mapcar'.
16532
7200d79c
SM
165332011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16534
03408648 16535 Add lexical binding.
7200d79c 16536
03408648
SM
16537 * subr.el (apply-partially): Use new closures rather than CL.
16538 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16539 (dolist, dotimes): Use slightly different expansion for lexical code.
16540 (functionp): Move to C.
16541 (letrec): New macro.
16542 (with-wrapper-hook): Use it and apply-partially instead of CL.
16543 (eval-after-load): Preserve lexical-binding.
16544 (save-window-excursion, with-output-to-temp-buffer): Turn them
16545 into macros.
7200d79c 16546
03408648
SM
16547 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16548
16549 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16550 than the arglist.
16551 (help-add-fundoc-usage): Don't add `Not documented'.
16552 (help-function-arglist): Handle closures, subroutines, and new
16553 byte-code-functions.
16554 (help-make-usage): Remove leading underscores.
16555 (describe-function-1): Handle closures.
16556 (describe-variable): Use special-variable-p for completion.
16557
16558 * files.el (lexical-binding): Declare safe.
f488fb65 16559
03408648
SM
16560 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16561 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16562 (pcase): Add `let' pattern.
16563 Change memoization so it actually works.
16564 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16565 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16566 <let>: New case.
f488fb65 16567
03408648
SM
16568 * emacs-lisp/macroexp.el: Use lexical binding.
16569 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16570 Don't convert ' to #' without checking that it's indeed quoting
16571 a lambda.
16572
16573 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16574 Use eval-sexp-add-defvars.
03408648
SM
16575 (eval-sexp-add-defvars): New fun.
16576
16577 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16578
16579 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16580 Don't autoload.
16581 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16582 than the internal `byte-compile-lambda'.
16583 (defmethod): Don't hide code under quotes.
16584 (eieio-defmethod): New `code' argument.
16585
16586 * emacs-lisp/eieio-comp.el: Remove.
16587
16588 * emacs-lisp/edebug.el (edebug-eval-defun)
16589 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16590 (edebug-toggle): Avoid `eval'.
16591
16592 * emacs-lisp/disass.el (disassemble-internal): Handle new
16593 `closure' objects.
16594 (disassemble-1): Handle new byte codes.
16595
16596 * emacs-lisp/cl.el (pushnew): Silence warning.
16597
16598 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16599 (cl-byte-compile-throw): Remove.
16600 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16601
16602 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16603 closures.
16604
16605 * emacs-lisp/cconv.el: New file.
16606
16607 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16608 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16609 (byte-compile-initial-macro-environment):
16610 Handle declare-function here.
16611 (byte-compile--lexical-environment): New var.
16612 (byte-stack-ref, byte-stack-set, byte-discardN)
16613 (byte-discardN-preserve-tos): New lap codes.
16614 (byte-interactive-p): Don't use any more.
16615 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16616 New macros.
16617 (byte-compile-lapcode): Use them and handle new lap codes.
16618 (byte-compile-obsolete): Remove.
16619 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16620 (byte-compile-arglist-warn): Check late def of inlinable funs.
16621 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16622 since they should have been expanded by now.
16623 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16624 (byte-compile-from-buffer): Remove unused second arg.
16625 (byte-compile-preprocess): New function.
16626 (byte-compile-toplevel-file-form): New function to distinguish
16627 file-form calls from outside from file-form calls from hunk-handlers.
16628 (byte-compile-file-form): Simplify.
16629 (byte-compile-file-form-defsubst): Remove.
16630 (byte-compile-file-form-defmumble): Simplify now that
16631 byte-compile-lambda always returns a byte-code-function.
16632 (byte-compile): Preprocess.
16633 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16634 Remove, not used any more.
16635 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16636 (byte-compile-make-args-desc): New funs.
16637 (byte-compile-lambda): Handle lexical functions. Always return
16638 a byte-code-function.
16639 (byte-compile-reserved-constants): New var, to make up room for
16640 closed-over variables.
16641 (byte-compile-constants-vector): Obey it.
16642 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16643 (byte-compile-macroexpand-declare-function): New function.
16644 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16645 byte-code-functions.
16646 (byte-compile-form): Check obsolescence here.
16647 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16648 (byte-compile-variable-ref): Remove.
16649 (byte-compile-dynamic-variable-op): New fun.
16650 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16651 (byte-compile-variable-set): New funs.
16652 (byte-compile-discard): Add 2 args.
16653 (byte-compile-stack-ref, byte-compile-stack-set)
16654 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16655 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16656 macroexpand-all instead.
16657 (byte-compile-quote-form): Remove.
16658 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16659 (byte-compile-bind, byte-compile-unbind): New funs.
16660 (byte-compile-let): Handle let* and lexical binding.
16661 (byte-compile-let*): Remove.
16662 (byte-compile-catch, byte-compile-unwind-protect)
16663 (byte-compile-track-mouse, byte-compile-condition-case):
16664 Handle a new :fun-body form, used for lexical scoping.
16665 (byte-compile-save-window-excursion)
16666 (byte-compile-with-output-to-temp-buffer): Remove.
16667 (byte-compile-defun): Simplify.
16668 (byte-compile-stack-adjustment): New fun.
16669 (byte-compile-out): Use it.
16670 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16671
16672 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16673 handler any more.
16674
16675 * emacs-lisp/byte-opt.el: Use lexical binding.
16676 (byte-inline-lapcode): Remove (to bytecomp).
16677 (byte-compile-inline-expand): Pay attention to inlining to/from
16678 lexically bound code.
16679 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16680 any more.
16681 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16682 any more and don't call compiler-macros.
16683 (byte-compile-splice-in-already-compiled-code): Remove.
16684 (byte-code): Don't inline any more.
16685 (disassemble-offset): Receive `bytes' as argument rather than via
16686 dynamic scoping.
16687 (byte-compile-tag-number): Declare before first use.
16688 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16689 `return' even if make-spliceable.
16690 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16691 obsolete interactive-p.
16692 (byte-optimize-lapcode): Optimize new lap-codes.
16693 Don't trip up on new form of `byte-constant' lap code.
16694
16695 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16696
16697 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16698
16699 * custom.el (custom-initialize-default, custom-declare-variable):
16700 Use `defvar'.
16701
16702 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16703 New variables.
16704 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16705 (COMPILE_FIRST): Add macroexp and cconv.
16706 * makefile.w32-in: Mirror changes in Makefile.in.
16707
16708 * vc/cvs-status.el:
16709 * vc/diff-mode.el:
16710 * vc/log-edit.el:
16711 * vc/log-view.el:
16712 * vc/smerge-mode.el:
16713 * textmodes/bibtex-style.el:
090bd7cb 16714 * textmodes/css-mode.el:
03408648
SM
16715 * startup.el:
16716 * uniquify.el:
da91b5f2
CY
16717 * minibuffer.el:
16718 * newcomment.el:
16719 * reveal.el:
16720 * server.el:
16721 * mpc.el:
16722 * emacs-lisp/smie.el:
16723 * doc-view.el:
16724 * dired.el:
03408648
SM
16725 * abbrev.el: Use lexical binding.
16726
0f0c1f27
EZ
167272011-04-01 Eli Zaretskii <eliz@gnu.org>
16728
16729 * info.el (info-display-manual): New function.
16730
c82b2579
SM
167312011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16732
16733 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16734
221ddf68
TH
167352011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16736
16737 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16738 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16739
cba6e77e
GM
167402011-03-31 Glenn Morris <rgm@gnu.org>
16741
e040639f
GM
16742 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16743
cba6e77e
GM
16744 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16745
6d0f1c9e
CS
167462011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16747
16748 * progmodes/python.el (python-default-interpreter)
16749 (python-python-command-args, python-jython-command-args)
16750 (python-which-shell, python-which-args, python-which-bufname)
16751 (python-file-queue, python-comint-output-filter-function)
16752 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16753 variables and functions.
16754
3e2d70fd
SM
167552011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16758 (completion-in-region-mode): New minor mode.
16759 (completion-in-region): Use it.
16760 (completion-in-region--data, completion-in-region-mode-map): New vars.
16761 (completion-in-region--postch): New function.
16762 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16763 New vars.
16764 (completion--capf-wrapper): New function.
16765 (completion-at-point): Use it to track well-behavedness of
16766 hook functions.
16767 (completion-help-at-point): New command.
16768
f3e4086c
JM
167692011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16770
16771 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16772 syntax class to search for whitespace on a single line
16773 (Message-ID: <4D938140.4030905@redhat.com>).
16774
eb7ffc14
LL
167752011-03-30 Leo Liu <sdl.web@gmail.com>
16776
16777 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16778 New commands.
16779 (edit-abbrevs-map): Bind them here.
16780 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16781
d806ab68
KM
167822011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16783
16784 * allout.el (allout-hide-by-annotation, allout-flag-region):
16785 Reduce possibility of overlay leakage by making them volatile.
16786
16787 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16788 hash is not shared between buffers. Mode initialization is
16789 responsible for giving it a useful starting value.
16790 (allout-item-span): Reduce possibility of overlay leakage by
16791 making them volatile.
16792 (allout-widgets-count-buttons-in-region): Add diagnostic function
16793 for tracking down button overlay leaks.
16794
ea622834
LL
167952011-03-29 Leo Liu <sdl.web@gmail.com>
16796
16797 * ido.el (ido-read-internal): Use the default history var
16798 minibuffer-history if no HISTORY is specified.
16799
b62f8267
G
168002011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16801
03408648
SM
16802 * net/imap.el (imap-shell-open, imap-process-connection-type):
16803 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16804 Kerberos, SSL, other subprocesses.
16805
947b6566
LL
168062011-03-28 Leo Liu <sdl.web@gmail.com>
16807
16808 * abbrev.el (abbrev-table-empty-p): New function.
16809 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16810 nonempty ones. (Bug#5937)
16811
5ffb62aa
JD
168122011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16813
16814 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16815
7a097943
LL
168162011-03-27 Leo Liu <sdl.web@gmail.com>
16817
16818 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16819 for foreground and background colors.
16820 (ansi-color-make-color-map): Adapt.
16821
c5b40130
LL
168222011-03-25 Leo Liu <sdl.web@gmail.com>
16823
1f48f7d2
LL
16824 * midnight.el (midnight-time-float): Remove. Note it calculates
16825 the microsecond component incorrectly and seconds-to-time does the
16826 same job.
625897ec 16827 Remove redundant (require 'timer).
1f48f7d2 16828
c5b40130
LL
16829 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16830 (ido-completions): Remove unused arguments. (Bug#8329)
16831
d86d2721
SM
168322011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * minibuffer.el (completion--flush-all-sorted-completions):
16835 Remove itself from hook.
16836 (completion-at-point): Let the functions perform the completion
16837 immediately and return nil or t.
16838 * comint.el (comint-dynamic-complete-functions): Now identical to
16839 completion-at-point-functions.
16840 (comint-dynamic-list-input-ring): Remove unused var `index'.
16841 (comint--match-partial-filename, comint--unquote&expand-filename):
16842 New funs, split from comint-match-partial-filename.
16843 (comint-dynamic-complete): Use completion-at-point.
16844 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16845
e8974c48
DA
168462011-03-24 Drew Adams <drew.adams@oracle.com>
16847
16848 * thingatpt.el: Support `defun'.
16849
def71b5e
LL
168502011-03-23 Leo Liu <sdl.web@gmail.com>
16851
cb5af48e
LL
16852 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16853
def71b5e
LL
16854 * help-mode.el (help-mode-finish): Tweak regexp.
16855
927c53e7
GM
168562011-03-23 Glenn Morris <rgm@gnu.org>
16857
18d05bed
GM
16858 * eshell/esh-opt.el (eshell-eval-using-options):
16859 Do not bind unused local variable `eshell-option-stub'.
16860
927c53e7
GM
16861 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16862
9d0da923
JB
168632011-03-22 Juanma Barranquero <lekktu@gmail.com>
16864
16865 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16866 keymap variable in `with-no-warnings' to avoid a warning when the
16867 keymap has been already `defconst'ed.
16868
4b978a67
LL
168692011-03-22 Leo Liu <sdl.web@gmail.com>
16870
16871 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16872 encode all chars in abbrevs; otherwise use emacs-mule or
16873 utf-8-emacs. (Bug#8308)
16874
5fd62452
JB
168752011-03-22 Juanma Barranquero <lekktu@gmail.com>
16876
0b1596c6
JB
16877 * simple.el (backward-delete-char-untabify):
16878 Avoid warning about using `delete-backward-char'.
16879
5fd62452
JB
16880 * image.el (image-type-file-name-regexps): Make it variable.
16881 `imagemagick-register-types' modifies it, and the user may want
16882 to add new extensions for known image types.
16883 (imagemagick-register-types): Throw error if not using ImageMagick.
16884
0b4e93f1
LL
168852011-03-22 Leo Liu <sdl.web@gmail.com>
16886
16887 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16888 located before rcirc-prompt-end-marker.
16889 (rcirc-complete): Error if point is not after rcirc prompt.
16890 Handle the case when table is nil.
9882e214 16891 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16892
fccee4ab
CY
168932011-03-22 Chong Yidong <cyd@stupidchicken.com>
16894
16895 * custom.el (custom--inhibit-theme-enable): Make it affect only
16896 custom-theme-set-variables and custom-theme-set-faces.
16897 (provide-theme): Ignore custom--inhibit-theme-enable.
16898 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16899 (custom-enabling-themes): Delete variable.
d86d2721
SM
16900 (enable-theme): Accept only loaded themes as arguments.
16901 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16902 (custom-enabled-themes): Forbid themes from setting this.
16903 Eliminate use of custom-enabling-themes.
16904 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16905
af896da6
LL
169062011-03-21 Leo Liu <sdl.web@gmail.com>
16907
16908 * ido.el (ido-read-internal): Add ido-selected to history instead
16909 of user input.
16910
78f64af0
SM
169112011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16912
16913 * subr.el (deferred-action-list, deferred-action-function):
16914 Mark obsolete.
16915
b16ac1ec
LL
169162011-03-21 Leo Liu <sdl.web@gmail.com>
16917
810f7698
LL
16918 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16919 change on 2011-02-13 (bug#8309).
16920
b16ac1ec
LL
16921 * minibuffer.el (read-file-name-function): Change default value.
16922 (read-file-name--defaults): Rename from read-file-name-defaults.
16923 (read-file-name-default): Rename from read-file-name.
16924 (read-file-name): Call read-file-name-function.
16925
4e05e67e
GM
169262011-03-21 Glenn Morris <rgm@gnu.org>
16927
16928 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16929 Doc fixes.
16930
4359915b
CY
169312011-03-21 Chong Yidong <cyd@stupidchicken.com>
16932
16933 * cus-theme.el: Add missing provide statement.
16934 (customize-create-theme): Extract theme value correctly.
16935 (custom-theme-visit-theme): Autoload.
16936 (customize-create-theme): Prompt before inserting default faces.
16937
1fe275ee
JB
169382011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16939
16940 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16941 units and musical notes.
16942
cd394be1 169432011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16944
16945 * ido.el (ido-read-internal): Use completing-read-default.
16946 (ido-completing-read): Fix compatibility with completing-read.
16947
7d476bde
CO
169482011-03-20 Christian Ohler <ohler@gnu.org>
16949
16950 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16951 (ert-delete-all-tests): Use `called-interactively-p' rather than
16952 `interactive-p'.
16953 (ert--make-xrefs-region): Respect END.
16954
fe0fb33e
CY
169552011-03-19 Chong Yidong <cyd@stupidchicken.com>
16956
ff854b0b
CY
16957 * dired-aux.el (dired-create-directory): Signal an error if the
16958 directory already exists (Bug#8246).
16959
fe0fb33e
CY
16960 * facemenu.el (list-colors-display): Call list-faces-display
16961 inside with-help-window.
16962 (list-colors-print): Use display property to align the final
16963 column, instead of checking window-width.
16964
576bce32
EZ
169652011-03-19 Eli Zaretskii <eliz@gnu.org>
16966
4d61f28d 16967 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16968 windows-nt systems.
16969 (emerge-protect-metachars): Quote correctly for ms-dos and
16970 windows-nt systems.
16971
89c41d68 169722011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16973
16974 * info.el (info-initialize): Replace all uses of `:' with
16975 path-separator for compatibility with non-Unix systems.
16976 Cache quoting of path-separator. (Bug#8258)
16977
b14e3e21 169782011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16979
16980 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16981 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16982 (mouse-avoidance-mode): Fix typos in docstrings.
16983
4525ce3e
CY
169842011-03-19 Chong Yidong <cyd@stupidchicken.com>
16985
16986 * startup.el (package-subdirectory-regexp): Move from package.el.
16987 Omit \\` and \\', and let callers add them.
16988
16989 * emacs-lisp/package.el (package-strip-version)
16990 (package-load-all-descriptors): Add \\` and \\' to
16991 package-subdirectory-regexp before using it.
16992 (package-untar-buffer): New arg DIR; ensure that file untars only
16993 into this expected directory. Remove superfluous delete-region.
16994 (package-unpack): Caller changed.
16995 (package-tar-file-info): Use package-subdirectory-regexp.
16996
a904a09a 169972011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16998
a904a09a
SM
16999 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17000 diff-mode-shared-map (bug#8284).
17001 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17002
170032011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17004
17005 * calendar/time-date.el (format-seconds): Use assoc instead of
17006 assoc-string, since assoc-string doesn't exist in XEmacs.
17007
171fc304
JB
170082011-03-17 Juanma Barranquero <lekktu@gmail.com>
17009
17010 * custom.el (custom-known-themes): Reflow docstring.
17011 (custom-theme-load-path): Fix typo in docstring.
17012 (load-theme): Fix typo in error message.
17013 (custom-available-themes, custom-variable-theme-value):
17014 Use `let', not `let*'.
17015
d71990a1
JB
170162011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17017
17018 * calc/README: Mention inclusion of musical notes.
17019
17020 * calc/calc-units.el (calc-lu-quant): Rename from
17021 `calc-logunits-quantity'.
17022 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17023 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17024 (calc-db): Rename from `calc-dblevel'.
17025 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17026 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17027 (calc-np): Rename from `calc-nplevel'.
17028 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17029 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17030 (calc-lu-plus): Rename from `calc-logunits-add'.
17031 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17032 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17033 (calc-lu-minus): Rename from `calc-logunits-sub'.
17034 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17035 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17036 (calc-lu-times): Rename from `calc-logunits-mul'.
17037 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17038 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17039 (calc-lu-divide): Rename from `calc-logunits-div'.
17040 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17041 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17042
17043 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17044 functions being autoloaded.
17045
17046 * calc/calc.el (calc-lu-power-reference): Rename from
17047 `calc-logunits-power-reference'.
17048 (calc-lu-field-reference): Rename from
17049 `calc-logunits-field-reference'.
17050
7a71b18d
GM
17051 * calc/calc-help.el (calc-l-prefix-help):
17052 Mention musical note functions.
d71990a1 17053
40c2934b
SM
170542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17055
17056 * minibuffer.el (completion-all-sorted-completions):
17057 Use :completion-cycle-penalty text property if present.
17058
b0911414
KM
170592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17060
17061 * allout.el (allout-yank-processing): Adjust for new rebulleting
17062 regime so bullet being yanked is used without prompting the user
17063 for a choice.
17064
8a05b668
JB
170652011-03-16 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * startup.el (command-line): Warn the user that _emacs is deprecated.
17068
5ba5fb81
JB
170692011-03-16 Juanma Barranquero <lekktu@gmail.com>
17070
17071 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17072 (delphi-verbose, delphi-comment-face, delphi-string-face)
17073 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17074 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17075 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17076 (delphi-new-comment-line, delphi-font-lock-defaults)
17077 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17078 Fix typos in docstrings.
17079
2dab465b
KM
170802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17081
5ba5fb81 17082 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17083 Invert the roles of character and string values for INSTEAD, so a
17084 string is used for the more common case of a defaulting prompt.
17085
0adf5618
SM
170862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * progmodes/ruby-mode.el (ruby-backward-sexp):
17089 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17090 * play/gamegrid.el (gamegrid-make-face):
17091 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17092 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17093 * notifications.el (notifications-notify):
17094 * net/xesam.el (xesam-search-engines):
17095 * net/quickurl.el (quickurl-list-insert):
17096 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17097
d72700e5
CY
170982011-03-15 Chong Yidong <cyd@stupidchicken.com>
17099
17100 * startup.el (command-line): Update package subdirectory regexp.
17101
49c5410a
SM
171022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17103
c6eee9aa
SM
17104 * allout.el (allout-abbreviate-flattened-numbering)
17105 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17106
49c5410a
SM
17107 * subr.el (read-char-choice): Only show the cursor after the prompt,
17108 not after the answer.
17109
047b2bb9
KR
171102011-03-15 Kevin Ryde <user42@zip.com.au>
17111
17112 * help-fns.el (variable-at-point): Skip leading quotes, if any
17113 (bug#8253).
17114
0a57d256
SM
171152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17116
17117 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17118 warning message.
17119
77c992bc
MA
171202011-03-14 Michael Albinus <michael.albinus@gmx.de>
17121
17122 * shell.el (shell): When called interactively, offer to change the
17123 shell file name on remote hosts.
17124
eebc475d
TZ
171252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17126
17127 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17128 integration for LDAP parameters. The host, base, user or binddn,
17129 and secret tokens can be specified in a netrc file, for instance.
17130 This is optional because an `auth-source' parameter must be
17131 specified in the search attributes.
17132
9d05d1ba
JB
171332011-03-13 Juanma Barranquero <lekktu@gmail.com>
17134
17135 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17136
09d9db2c
GM
171372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17138
17139 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17140 into declaration. Remove redundant and harmful binding.
17141
171422011-03-12 Eli Zaretskii <eliz@gnu.org>
17143
17144 * files.el (file-ownership-preserved-p): Pass `integer' as an
17145 explicit 2nd argument to `file-attributes'. If the file's owner
17146 is the Administrators group on Windows, and the current user is
17147 Administrator, consider that a match.
17148
17149 * server.el (server-ensure-safe-dir): Consider server directory
17150 safe on MS-Windows if its owner is the Administrators group while
17151 the current Emacs user is Administrator. Use `=' to compare
17152 numerical UIDs, since they could be integers or floats.
17153
219bd536
JB
171542011-03-12 Juanma Barranquero <lekktu@gmail.com>
17155
17156 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17157
f3afd36b
MA
171582011-03-12 Michael Albinus <michael.albinus@gmx.de>
17159
17160 Sync with Tramp 2.2.1.
17161
17162 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17163
17164 * net/trampver.el: Update release number.
17165
3aaaa6f1
SM
171662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17167
94642599
SM
17168 * progmodes/compile.el (compilation--previous-directory): Fix up
17169 various nil/dead-marker mismatches (bug#8014).
17170 (compilation-directory-properties, compilation-error-properties):
17171 Don't call it at a position past the one we're about to change.
17172
3aaaa6f1
SM
17173 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17174 Disable obsolescence warnings in the file that declares it.
17175
14239447
KM
171762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17177
099c39a4
JB
17178 * allout-widgets.el (allout-widgets-tally):
17179 Initialize allout-widgets-tally as a hash table rather than nil to
17180 prevent mode-line redisplay warnings. Also, clarify the module
17181 description and fix a comment typo.
14239447 17182
135e287c
JB
171832011-03-11 Juanma Barranquero <lekktu@gmail.com>
17184
17185 * help-fns.el (describe-variable): Don't complete keywords.
17186 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17187
ffbf300e
CY
171882011-03-10 Chong Yidong <cyd@stupidchicken.com>
17189
ba08b241
CY
17190 * emacs-lisp/package.el (package-version-join): Impose a standard
17191 string representation for pre/alpha/beta version lists.
17192 (package-unpack-single): Standardize the directory name by passing
17193 it through package-version-join.
17194 (package-strip-rcs-id): Accept any version string that does not
17195 signal an error in version-to-list.
ffbf300e 17196
f346fd6b
MA
171972011-03-10 Michael Albinus <michael.albinus@gmx.de>
17198
17199 * simple.el (delete-trailing-whitespace): Return nil for the
17200 benefit of `write-file-functions'.
17201
ccb55d27
GM
172022011-03-10 Glenn Morris <rgm@gnu.org>
17203
5ceaac0c
GM
17204 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17205
02da65ff
GM
17206 * vc/vc-git.el (vc-git-program): New option.
17207 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17208 (vc-git--call): Use it.
17209
b2f603cc
GM
17210 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17211
5772caab
GM
17212 * cus-edit.el (Custom-newline): If no button at point, look
17213 for a subgroup button at start-of-line. (Bug#2298)
17214
ccb55d27
GM
17215 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17216
ec6ecaed
JD
172172011-03-10 Julien Danjou <julien@danjou.info>
17218
17219 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17220 `cursor-type' is nil.
17221
9d5aa01d
JB
172222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17223
17224 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17225
b6a5875b
KM
172262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17227
7a71b18d 17228 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17229 preserves the existing header prefix, rebulleting it if necessary,
17230 rather than replacing it. This is necessary for proper operation
17231 of cooperative addons like allout-widgets.
1154d12e
JB
17232 (allout-make-topic-prefix, allout-rebullet-heading):
17233 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17234 value as alternate bullet to be used, instead of prompting the user
17235 for a bullet character.
b6a5875b 17236
ee545c35
MA
172372011-03-09 Michael Albinus <michael.albinus@gmx.de>
17238
d86d2721
SM
17239 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17240 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17241 `tramp-default-port'.
17242
c47971d7
DD
172432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17244
17245 * net/rcirc.el (rcirc-handler-001): Remove useless
17246 with-rcirc-process-buffer.
17247 (rcirc-check-auth-status): Swap arguments to string-match.
17248
13522cb4
GM
172492011-03-09 Glenn Morris <rgm@gnu.org>
17250
0be6f4f1
GM
17251 * shell.el (shell-mode):
17252 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17253
13522cb4
GM
17254 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17255 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17256
515de2e3
CY
172572011-03-08 Chong Yidong <cyd@stupidchicken.com>
17258
17259 * emacs-lisp/package.el (package-refresh-contents)
17260 (package-menu-execute): Use condition-case-no-debug.
17261
b511b994
MA
172622011-03-08 Michael Albinus <michael.albinus@gmx.de>
17263
17264 * simple.el (shell-command-to-string): Use `process-file'.
17265
17266 * emacs-lisp/package.el (package-tar-file-info): Handle also
17267 remote files.
17268
d86d2721
SM
17269 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17270 Use `equal' for upload base check.
b511b994 17271
25bbfb31
AM
172722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17273
17274 * textmodes/texinfo.el (texinfo-environments):
17275 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17276
be996521
GM
172772011-03-08 Glenn Morris <rgm@gnu.org>
17278
e9c8529f
GM
17279 * cus-start.el (cursor-in-non-selected-windows):
17280 Fix :set quoting oddness. (Bug#8192)
17281
be996521
GM
17282 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17283 in some setf expressions. (Bug#2159)
17284
2bb5649e
CY
172852011-03-08 Chong Yidong <cyd@stupidchicken.com>
17286
17287 * custom.el (custom-available-themes): Return themes in
17288 alphabetical order.
17289
33383987 17290See ChangeLog.15 for earlier changes.
e3d51b27
MR
17291
17292;; Local Variables:
17293;; coding: utf-8
e3d51b27
MR
17294;; End:
17295
acaf905b 17296 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17297
17298 This file is part of GNU Emacs.
17299
17300 GNU Emacs is free software: you can redistribute it and/or modify
17301 it under the terms of the GNU General Public License as published by
17302 the Free Software Foundation, either version 3 of the License, or
17303 (at your option) any later version.
17304
17305 GNU Emacs is distributed in the hope that it will be useful,
17306 but WITHOUT ANY WARRANTY; without even the implied warranty of
17307 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17308 GNU General Public License for more details.
17309
17310 You should have received a copy of the GNU General Public License
17311 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.