Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dab7711b
CY
12012-08-09 Chong Yidong <cyd@gnu.org>
2
73e2bbc5
CY
3 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4
3e861c8a
CY
5 * descr-text.el (describe-char): Don't insert extra newlines
6 (Bug#10127).
7
a9f5a649
CY
8 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10
dab7711b
CY
11 * align.el (align-region): Delete temporary markers (Bug#10047).
12 Plus some code cleanups.
13
e0cc4efa
FEG
142012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
15
16 * progmodes/python.el (python-pdbtrack-tracked-buffer)
17 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
18 (python-shell-internal-last-output): Use make-local-variable
19 instead of make-variable-buffer-local.
20
489af14f
FEG
212012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
22
23 * progmodes/python.el: Enhancements to forward-sexp.
24 (python-nav-forward-sexp): Rename from
25 python-nav-forward-sexp-function.
26 (python-nav--forward-sexp, python-nav--backward-sexp): New
27 functions.
28
0fc50303
JB
292012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
30
31 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
32 modes and simplification modes.
33
5d65606a
SM
342012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * delsel.el (delete-selection-pre-hook): Don't propagate the
37 file-supersession signals (bug#12161).
38
4250fdf5
SM
392012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
42 (cl-map-extents): Add compatibility aliases (bug#12135).
43
d9f9b465
MA
442012-08-08 Michael Albinus <michael.albinus@gmx.de>
45
46 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
47 tests by `ignore-error'.
48 (tramp-find-shell): Open also a new shell, when cache is already
49 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
50
ce0fcefa
JL
512012-08-08 Juri Linkov <juri@jurta.org>
52
53 * bookmark.el: Add `defaults' property to the bookmark record.
54 (bookmark-current-buffer): Doc fix.
55 (bookmark-make-record): Add `defaults' property with default values
56 to the bookmark record.
57 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
58 with `bookmark-insert-current-bookmark'.
59 (bookmark-set): Get `defaults' property from the bookmark record
60 and use it in `read-from-minibuffer'.
61 (bookmark-insert-current-bookmark): Remove function.
62
63 * info.el (Info-bookmark-make-record): Add `defaults' property
64 with values of canonical Info node name, the current Info file
65 name and the current Info node name. (Bug#12107)
66
53fa8652
JL
672012-08-08 Juri Linkov <juri@jurta.org>
68
69 * files.el (basic-save-buffer): Use `buffer-name' as the default
70 of `read-file-name' when buffer is not visiting a file (bug#12128).
71
242c0a95
JL
722012-08-08 Juri Linkov <juri@jurta.org>
73
74 * info.el (Info-isearch-search): Doc fix.
75 (Info-search): Change search-failed message from "initial node" to
76 "end of node" (bug#12078).
77 (Info-isearch-search): Change `isearch-string-state' to
78 `isearch--state-string'.
79
32ac3a6b
GM
802012-08-08 Glenn Morris <rgm@gnu.org>
81
82 * language/persian.el: Remove file.
f8c1afd5 83 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
84 * loadup.el: Remove language/persian.
85
2c2d9c9c
OF
862012-08-08 Óscar Fuentes <ofv@wanadoo.es>
87
88 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
89
2d79ec42
FEG
902012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
91
92 * progmodes/python.el Fixed defsubst warning.
93 (python-syntax-context) Rename from python-info-ppss-context.
94 (python-syntax-context-type): Rename from
95 python-info-ppss-context-type.
96 (python-syntax-comment-or-string-p): Rename from
97 python-info-ppss-comment-or-string-p.
98
2bd255dd
JB
992012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
100
101 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
102
c395097f
AS
1032012-08-07 Andreas Schwab <schwab@linux-m68k.org>
104
6125983e
AS
105 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
106 a defcustom that is quoted with backquote.
107
4250fdf5
SM
108 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
109 Fix handling of interactive spec when the body uses return.
651eaf36
AS
110 (math-do-arg-check, math-define-function-body): Use backquote forms.
111 * calc/calc-ext.el (math-defcache): Likewise.
112 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
113 * allout.el (allout-new-exposure): Likewise.
114 * calc/calcalg2.el (math-tracing-integral): Likewise.
115 * info.el (Info-last-menu-item): Likewise.
116 * emulation/vip.el (vip-loop): Likewise.
117 * textmodes/artist.el (artist-funcall): Likewise.
118 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
119 Construct menu-item directly.
120
4250fdf5
SM
121 * progmodes/autoconf.el (font-lock-syntactic-keywords):
122 Don't declare.
c395097f 123
5fb50dd3
CY
1242012-08-07 Chong Yidong <cyd@gnu.org>
125
126 * simple.el (deactivate-mark): Preserve text properties when
127 saving the primary selection (Bug#8384).
128
54eea618
KR
1292012-08-07 Kevin Ryde <user42@zip.com.au>
130
131 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
132 (woman-parse-numeric-value): On a bad .IP line, issue a warning
133 and continue processing (Bug#12110).
134
638eaeb9
SM
1352012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
138 syntax-propertize-function (bug#10095).
139
ea376861
SM
1402012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
141
f91b35be
SM
142 * help-fns.el (help-fns--key-bindings, help-fns--signature)
143 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
144 describe-function-1.
145 (describe-function-1): Use them. Move compiler macro after sig.
146 (help-fns--compiler-macro): Use function-get. Assume we're already in
147 standard-output. Adjust layout to new call order.
148
ea376861
SM
149 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
150 re-binding a symbol that has a symbol-macro (bug#12119).
151
d5be7bd0
MB
1522012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
153
154 * language/persian.el: New file. (Bug#11812)
155 * loadup.el: Add language/persian.el.
156
90749b53
CY
1572012-08-06 Chong Yidong <cyd@gnu.org>
158
159 * window.el (window--maybe-raise-frame): New function.
160 (window--display-buffer): Split off from here.
161 (display-buffer-reuse-window, display-buffer-pop-up-frame)
162 (display-buffer-pop-up-window, display-buffer-use-some-window):
163 Obey an inhibit-switch-frame action alist entry.
164 (display-buffer): Update doc.
165
166 * replace.el (occur-after-change-function): Avoid losing focus by
167 using the inhibit-switch-frame display parameter (Bug#12139).
168
ba7b0154
FEG
1692012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
170
171 Make internal shell process buffer names start with space.
172 * progmodes/python.el (python-shell-make-comint): Add optional
173 argument INTERNAL.
174 (run-python-internal): Use it.
175 (python-shell-internal-get-or-create-process): Check for new
176 internal buffer names.
177
5eaeacb5
GM
1782012-08-06 Glenn Morris <rgm@gnu.org>
179
e296d94b 180 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
181 Do less getting and setting of environment variables.
182
b7ccbdc2
CY
1832012-08-05 Chong Yidong <cyd@gnu.org>
184
777fe95e
CY
185 * proced.el (proced): Add substitution string to docstring to
186 trigger autoloading of the proced library on C-h f (Bug#1768).
187
4250fdf5
SM
188 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
189 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
190
191 * imenu.el (imenu-generic-expression): Move documentation here
192 from imenu--generic-function.
193 (imenu--generic-function): Refer to imenu-generic-expression.
194
9e3b7800 1952012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
196
197 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
198 indentation declaration.
199 (viper-loop): Add indentation declaration (Bug#7025).
200
e5d9c0d1
CY
2012012-08-05 Chong Yidong <cyd@gnu.org>
202
f0422feb
CY
203 * help-fns.el (describe-variable): Add hyperlink for
204 directory-local variables files. Improve buffer-local and
205 permanent-local reporting; suggested by MON KEY (Bug#6644).
206
207 * help-mode.el (help-dir-local-var-def): New button type.
208
e5d9c0d1
CY
209 * files.el (kill-buffer-hook): Provide a defvar.
210
a4f2deaa
GM
2112012-08-05 Glenn Morris <rgm@gnu.org>
212
213 * eshell/esh-ext.el (eshell/addpath):
214 Also update eshell-path-env. (Bug#12013)
215
a9dd5754
CY
2162012-08-05 Chong Yidong <cyd@gnu.org>
217
a4f2deaa 218 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 219
d014c740
CY
220 * fringe.el (fringe-styles): Add docstring.
221 (fringe--check-mode): New function.
222 (set-fringe-mode, set-fringe-style): Use it.
223 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
224
a9dd5754
CY
225 * files.el (set-auto-mode): Fix invalid setq call.
226
7c2dc8bd
SM
2272012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * isearch.el: Misc simplification; use defstruct.
230 (isearch-mode-map): Dense maps now work like sparse ones.
231 (isearch--state): New defstruct.
232 (isearch-string-state, isearch-message-state, isearch-point-state)
233 (isearch-success-state, isearch-forward-state)
234 (isearch-other-end-state, isearch-word-state, isearch-error-state)
235 (isearch-wrapped-state, isearch-barrier-state)
236 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
237 replaced by defstruct's accessors.
238 (isearch--set-state): Rename from isearch-top-state and change
239 calling convention.
240 (isearch-push-state): Use new isearch--get-state.
241 (isearch-toggle-word): Disable regexp when enabling word.
242 (isearch-message-prefix): Remove unused arg _c-q-hack.
243 (isearch-message-suffix): Remove unused arg _ellipsis.
244
7fcc0070
AS
2452012-08-04 Andreas Schwab <schwab@linux-m68k.org>
246
247 * simple.el (list-processes--refresh): For a server use :host or
248 :local as the address.
97ad0769 249 (list-processes): Doc fix.
7fcc0070 250
00340faf
MN
2512012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
252
253 * lisp/mpc.el: Support password in host argument.
254 (mpc--proc-connect): Parse and use new password element.
255 Set mpc-proc variable instead of returning process.
256 (mpc-proc): Adjust accordingly.
257
6dad7178
EZ
2582012-08-03 Eli Zaretskii <eliz@gnu.org>
259
18949c2f
EZ
260 * whitespace.el (whitespace-display-mappings): Use Unicode
261 codepoints, instead of emacs-mule codepoints. See
262 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
263 for the details.
264
6dad7178
EZ
265 * files.el (file-truename): Don't skip symlink-chasing part on
266 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
267 Windows into the loop that recursively chases symlinks.
268 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
269 MS-DOS.
270
385b0198
CY
2712012-08-03 Chong Yidong <cyd@gnu.org>
272
6200f3c4
CY
273 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
274
385b0198
CY
275 * sort.el (sort-regexp-fields): Doc fix.
276
b9e74744
TH
2772012-08-03 Tassilo Horn <tsdh@gnu.org>
278
279 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
280 labels regex position point at the expected place.
281
41013cb4
MK
2822012-08-03 MON KEY <monkey@sandpframing.com>
283
284 * net/imap.el (imap-interactive-login, imap-authenticate)
285 (imap-mailbox-lsub, imap-mailbox-list)
286 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
287 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
288 (imap-parse-response): Doc fix.
289
0ffee616
JT
2902012-08-03 João Távora <joaotavora@gmail.com>
291
292 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
293 if sexp scanning does not move point (Bug#5734).
294
cfcc9cc8
TH
2952012-08-02 Tassilo Horn <tsdh@gnu.org>
296
297 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
298 Add listings, minted, and ctable packages.
299 (reftex-label-alist-builtin): Move listings, minted, and ctable
300 entries before LaTeX.
a01bbb84 301 (reftex-label-alist): Docfix.
cfcc9cc8 302
66ec2442
BG
3032012-08-02 Bastien Guerry <bzg@gnu.org>
304
305 * replace.el (occur): Fix docstring (bug#12122).
306
837b365b
GM
3072012-08-02 Glenn Morris <rgm@gnu.org>
308
309 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
310
e098de97
PE
3112012-08-02 Paul Eggert <eggert@cs.ucla.edu>
312
313 Obsolete alias inactivate-current-input-method-function (Bug#10150).
314 * international/mule-cmds.el: Create
315 inactivate-current-input-method-function as an obsolete alias for
316 deactivate-current-input-method-function. See Katsumi Yamaoka in
317 <http://bugs.gnu.org/10150#46>.
318
a0f95636
JB
3192012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
320
321 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
322 of nested `if's.
323
0d26d7c4
GM
3242012-08-01 Glenn Morris <rgm@gnu.org>
325
326 * progmodes/autoconf.el (autoconf-definition-regexp):
327 Add AH_TEMPLATE, adjust submatch numbering.
328 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
329 (autoconf-current-defun-function): Update for above change.
330 (autoconf-current-defun-function): First skip to end of current word.
331
b686ba06
RS
3322012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
333
334 * calendar/cal-html.el (cal-html-insert-agenda-days):
335 Fix typo. (Bug#12018)
336
0d49da68
FEG
3372012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
338
339 Shell processes: enhancements to startup and CEDET compatibility.
340 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
341 (python-shell-make-comint): accept-process-output at startup.
342 (run-python-internal): Set inferior-python-mode-hook to nil.
343 (python-shell-internal-get-or-create-process): call sit-for.
344 (python-preoutput-result): Add obsolete alias.
345 (python-shell-internal-send-string): Use it.
346 (python-shell-send-setup-code): Remove call to
347 accept-process-output.
348
f1a71c6e
AS
3492012-07-31 Andreas Schwab <schwab@linux-m68k.org>
350
351 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
352 (Bug#12108)
353
d2605269
JB
3542012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
355
356 * calc-mode.el (calc-basic-simplification-mode): Rename from
357 `calc-limited-simplification-mode'.
358 (calc-alg-simplification-mode): New function.
d66060f8 359 (calc-set-simplify-mode): Adjust message.
f1a71c6e 360
d2605269
JB
361 * calc.el (calc-set-mode-line): Adjust mode line display for
362 basic simplification mode.
363
364 * calc-help.el (calc-m-prefix-help): Update help message.
365
366 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
367 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
368
a3827a43
BG
3692012-07-31 Bastien Guerry <bzg@gnu.org>
370
371 * man.el (man): Fix comment. (bug#12101)
372
502e3f89
MR
3732012-07-31 Martin Rudalics <rudalics@gmx.at>
374
375 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
376 Don't return a non-nil value when no suitable buffer was found.
377
d7714961
FEG
3782012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
379
380 * progmodes/python.el (run-python-internal): Disable font lock for
381 internal shells.
382
1f45e27e
SM
3832012-07-30 Stefan Merten <smerten@oekonux.de>
384
385 * rst.el: Silence `checkdoc-ispell'.
386 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
387 (rst-official-version, rst-official-cvs-rev)
388 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
389 (rst-mode-map): New key binding.
390
0aee6912
PE
3912012-07-30 Paul Eggert <eggert@cs.ucla.edu>
392
393 Update .PHONY listings in makefiles.
394 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
395 autoloads, update-subdirs, updates, bzr-update, update-authors,
396 compile-onefile, compile-calc, backup-compiled-files,
397 compile-after-backup, compile-one-process, mh-autoloads,
398 bootstrap-clean, distclean, maintainer-clean.
399
9052f9f0
JB
4002012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
401
1823ac5a
JB
402 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
403 (calc-set-mode-line): Don't display "AlgSimp ".
404
405 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
406 (calc-lim-simplify-mode): New function.
407 (calc-set-simplify-mode): Default to 'alg.
408 (calc-default-simplify-mode): Make algebraic simplifications
409 the default.
410
411 * calc/calc-ext.el (calc-init-extensions): Remove binding for
412 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
413
8d7c7eed 414 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
415 indicate new simplification modes.
416
1823ac5a
JB
417 * calc/README: Mention new default simplification mode.
418
9052f9f0
JB
419 * calc/calc.el (math-normalize-error): New variable.
420 (math-normalize): Set `math-normalize-error' to t
421 when there's an error.
422
423 * calc/calc-alg.el (math-simplify): Don't simplify when
424 `math-normalize' returns an error.
425
20ba0cb4
EZ
4262012-07-29 Eli Zaretskii <eliz@gnu.org>
427
428 * international/mule-cmds.el (set-locale-environment): Revert last
429 change, since display-graphic-p returns nil when this function is
430 called during startup. Instead...
431
432 * term/w32console.el (terminal-init-w32console): ...setup the
433 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
434
a5dcc929
JL
4352012-07-29 Juri Linkov <juri@jurta.org>
436
437 * simple.el (goto-line): Don't display default line number in the
438 prompt because it should be displayed by `read-number' (bug#9952).
439 Add the current line number to the defaults of `goto-line' to
440 allow its easier modification by users with `M-n' (bug#9201).
441
442 * subr.el (read-number): Support multiple default values like in
443 other minibuffer reading functions. Replace `read' with
444 `string-to-number' for consistency with `number-to-string'.
445
72b255c7
PE
4462012-07-29 Paul Eggert <eggert@cs.ucla.edu>
447
448 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
449 * emulation/viper-init.el (viper-deactivate-input-method-action):
450 Rename from viper-inactivate-input-method-action.
451 (viper-deactivate-input-method):
452 Rename from viper-inactivate-input-method.
453 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
454 * international/mule-cmds.el (deactivate-input-method):
455 Rename from inactivate-input-method.
456 Also run input-method-deactivate-hook.
457 (deactivate-current-input-method-function):
458 Rename from inactivate-current-input-method-function.
459 (input-method-deactivate-hook): New hook.
460 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
461 (inactivate-input-method): Mark obsolete.
462
72b255c7
PE
463 * international/quail.el (quail-activate):
464 Also run quail-deactivate-hook.
465 (quail-deactivate): Rename from quail-inactivate.
466 * international/robin.el (robin-activate):
467 Also run robin-deactivate-hook.
468 (robin-deactivate): Rename from robin-inactivate.
469
2549c068
CY
4702012-07-29 Chong Yidong <cyd@gnu.org>
471
472 * simple.el (indicate-copied-region): New function.
473 (kill-ring-save): Split off from here.
474
475 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
476 (kill-rectangle): Set deactivate-mark to t on read-only error.
477
478 * register.el (copy-to-register, copy-rectangle-to-register):
479 Deactivate the mark, and use indicate-copied-region (Bug#10056).
480 (append-to-register, prepend-to-register): Call
481
17711ed9
JL
4822012-07-29 Juri Linkov <juri@jurta.org>
483
484 * simple.el (async-shell-command-buffer): New defcustom.
485 (shell-command): Use it. (Bug#4719)
486
01bd1b0d
EZ
4872012-07-28 Eli Zaretskii <eliz@gnu.org>
488
489 * international/mule-cmds.el (set-locale-environment): In a
490 console session on MS-Windows, set up keyboard and terminal
491 encoding from the OEM codepage, not the ANSI codepage.
492 (Bug#12055)
493
a55739d3
CY
4942012-07-28 Chong Yidong <cyd@gnu.org>
495
496 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
497 gdb-get-location.
498
0e1a094f 4992012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
500
501 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
502 the alist (bug#12029).
503
20329d73
EZ
5042012-07-28 Eli Zaretskii <eliz@gnu.org>
505
506 * makefile.w32-in (custom-deps, finder-data, updates, compile)
507 (compile-always, compile-first)
508 ($(lisp)/calendar/cal-loaddefs.el)
509 ($(lisp)/calendar/diary-loaddefs.el)
510 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
511 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
512 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
513 instead of on update-subdirs.
514 (bootstrap-clean): Delete $(lisp)/subdirs.el.
515
345a2258
CY
5162012-07-28 Chong Yidong <cyd@gnu.org>
517
1eee6341
CY
518 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
519 directory if vc-deduce-backend returns nil (Bug#7350).
520
345a2258
CY
521 * simple.el (delete-trailing-lines): New option.
522 (delete-trailing-whitespace): Obey it (Bug#11879).
523
049a0936
DE
5242012-07-28 David Engster <deng@randomsample.de>
525
526 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
527 Explanation of new 'symbol-qnames feature in doc-strings.
528 (xml-maybe-do-ns): Return expanded names as plain symbols if
529 'symbol-qnames was provided in XML-NS argument (Bug#11916).
530 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
531
aa81af71
FEG
5322012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
533
534 Consistent completion in inferior python with emacs -nw.
535 * progmodes/python.el (inferior-python-mode): replace "<tab>"
536 binding in inferior-python-mode-map with "\t".
537 (python-shell-completion-complete-at-point)
538 (python-completion-complete-at-point): Remove interactive spec.
539
e827b1eb
JB
5402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
541
542 * calc/calccomp.el (math-compose-expr): Undo previous change.
543
a90dfb95
FEG
5442012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
545
4250fdf5 546 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
547 run-python.
548 (python-shell-make-comint): Fix pop-to-buffer call.
549 (run-python): Autoload. New arg SHOW.
550 (python-shell-get-or-create-process): Do not pop python process
551 buffer.
552
32770973 5532012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
554
555 * notifications.el (notifications-on-action-signal)
556 (notifications-on-closed-signal): Use also the bus address for the map.
557 (notifications-notify, notifications-close-notification)
558 (notifications-get-capabilities): Add optional argument BUS.
559
86332df2
TH
5602012-07-27 Tassilo Horn <tsdh@gnu.org>
561
4250fdf5
SM
562 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
563 Add support for the lstlisting and minted environments, and for the
86332df2
TH
564 ctable macro.
565 * textmodes/reftex.el (reftex-compile-variables): Also recognize
566 labels written in keyvals syntax.
567
ca1302a4
JB
5682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
569
570 * calc/calccomp.el (math-compose-expr): Use parentheses when
571 there is a product in the denominator of a fraction.
572
f8b91036
EZ
5732012-07-26 Eli Zaretskii <eliz@gnu.org>
574
575 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
576 ($(lisp)/calendar/diary-loaddefs.el)
577 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
578 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
579 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
580 rewritten while the autoload files are built at the same time,
581 which needs to load subdirs.el.
582
c8e5a42c
MR
5832012-07-26 Martin Rudalics <rudalics@gmx.at>
584
585 * mouse.el (popup-menu): Fix doc-string and re-indent code.
586 (mouse-drag-line): Don't exit tracking when a switch-frame or
587 switch-window event occurs (Bug#12006).
588
670d85ea
SM
5892012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * mouse.el (popup-menu): Fix last change.
592
7abaf5cc
SM
5932012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 Autoload from Lisp with more care. Follow aliases when looking for
596 function properties.
597 * subr.el (autoloadp): New function.
598 (symbol-file): Use it.
599 (function-get): New function.
600 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
601 autoload-do-load.
602 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
603 (lisp-indent-function):
604 * emacs-lisp/gv.el (gv-get):
605 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
606 * emacs-lisp/byte-opt.el (byte-optimize-form):
607 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
608 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
609 Use function-get.
610 * emacs-lisp/cl.el: Don't propagate function properties any more.
611
612 * speedbar.el (speedbar-add-localized-speedbar-support):
613 * emacs-lisp/disass.el (disassemble-internal):
614 * desktop.el (desktop-load-file):
615 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
616 (describe-function-1):
617 * emacs-lisp/find-func.el (find-function-noselect):
618 * emacs-lisp/elp.el (elp-instrument-function):
619 * emacs-lisp/advice.el (ad-has-proper-definition):
620 * apropos.el (apropos-safe-documentation, apropos-macrop):
621 * emacs-lisp/debug.el (debug-on-entry):
622 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
623 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
624 * calc/calc.el (name): Use autoloadp & autoload-do-load.
625
b1364986
AA
6262012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
627
628 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
629 function, not an obsolete variable (Bug#12046).
630
67ada220
AS
6312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
632
633 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
634
f08088e3
CS
6352012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
636
637 * emacs-lisp/pp.el (pp-display-expression): Select old selected
638 window only if it is still live (Bug#12034).
639
8137e7b3
MR
6402012-07-25 Martin Rudalics <rudalics@gmx.at>
641
642 * subr.el (redirect-frame-focus): Add advertised calling
643 convention (Bug#12030).
644
09ae5da1
PE
6452012-07-25 Paul Eggert <eggert@cs.ucla.edu>
646
647 Prefer typical American spelling for "acknowledgment".
648 * vc/add-log.el (change-log-acknowledgment): Rename from
649 change-log-acknowledgement, with an alias for the old name.
650
3cc5a3a8
JB
6512012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
652
653 * calc-alg.el (math-simplify-divide): Don't cross multiply
654 in an equation when the lhs is a variable.
655
b7af7f62
JD
6562012-07-24 Julien Danjou <julien@danjou.info>
657
658 * net/netrc.el (netrc-find-service-number, netrc-store-data):
659 Remove, unused.
660
ec1b09b1
EZ
6612012-07-23 Eli Zaretskii <eliz@gnu.org>
662
663 * startup.el (command-line): Don't display an empty user name in
664 the error message about non-existent home directory, when
665 init-file-user was set to an empty string. See
666 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
667 for the details and context.
668
b525fd8a
VB
6692012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
670
671 * ses.el (ses-cell-formula-aset): New macro.
672 (ses-cell-references-aset): New macro.
673 (ses-cell-p): New function.
674 (ses-rename-cell): Do no longer rely on complex operations like
675 ses-cell-set-formula or ses-set-cell to change the cell and handle
676 the undo at the same time, but rather use lower level new macros
677 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
678 the undo directly. Refresh the mode line.
679
2c73e345
LL
6802012-07-21 Leo Liu <sdl.web@gmail.com>
681
670d85ea
SM
682 * progmodes/cc-cmds.el (c-defun-name):
683 Use match-string-no-properties instead for consistency.
2c73e345 684
542dfbde
LL
6852012-07-20 Leo Liu <sdl.web@gmail.com>
686
3646bcd6
LL
687 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
688 (Bug#7879)
689
542dfbde
LL
690 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
691
25721031
CY
6922012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
695 * progmodes/bug-reference.el, misearch.el: Provide themselves
696 (bug#11915).
697
698 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
699 of narrowed buffer (bug#11966).
700
316e68a7
VB
7012012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
702
703 * ses.el (ses-rename-cell): Set new name also in reference list of
704 cells of which the renamed cell depends.
705
bbf0e7d9
MY
7062012-07-20 Masatake YAMATO <yamato@redhat.com>
707
708 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
709 to check whether menu-bar is shown or not. If not shown,
710 show the menu-bar as a popup menu instead of using tmm.
711 * mouse.el (popup-menu): Accept `point' as `position' argument.
712
c28662a8
DG
7132012-07-20 Dmitry Gutov <dgutov@yandex.ru>
714
715 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
716 up inside string symbol literal (bug#11923).
717
87ab808f
EZ
7182012-07-20 Eli Zaretskii <eliz@gnu.org>
719
720 * startup.el (fancy-startup-text): Read the whole tutorial, not
721 just its first 256 bytes. Prevents gibberish in display of the
722 tutorial title.
723
89dea803
DA
7242012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
725
726 Drop idle buffer compaction due to an absence of the
727 proved efficiency.
728 * compact.el: Remove.
729
8a4e6db8
SS
7302012-07-19 Sam Steingold <sds@gnu.org>
731
732 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
733 vc-bzr-pull & vc-bzr-merge-branch.
734 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
735 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
736 for consistency with compilation-error-regexp-alist.
737 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
738 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
739 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
740 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
741
5db81e33
SM
7422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * emacs-lisp/chart.el: Use lexical-binding.
745 (chart-emacs-storage): Don't hardcode the list of entries.
746
5b835e1d
DA
7472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
748
749 Next round of tweaks caused by Fgarbage_collect changes.
750 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
751
9cd47b72
DA
7522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
753
754 Compact buffers when idle.
755 * compact.el: New file.
756
1d6fc0df
SM
7572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * subr.el (eventp): Presume that if it looks vaguely like an event,
760 it's an event (bug#10190).
761
1d29cc7d
FEG
7622012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
763
764 Enhancements to ppss related code (thanks Stefan).
765 * progmodes/python.el (python-indent-context)
766 (python-indent-calculate-indentation, python-indent-dedent-line)
767 (python-indent-electric-colon, python-nav-forward-block)
768 (python-mode-abbrev-table)
1d6fc0df 769 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
770 for ppss context.
771 (python-info-continuation-line-p): Cleanup.
772 (python-info-ppss-context): Do not catch 'quote.
773 (python-info-ppss-context-type)
774 (python-info-ppss-comment-or-string-p): Simplify.
775
d583cbe6
FEG
7762012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
777
778 * progmodes/python.el: Enhancements to eldoc support.
779 (python-info-current-symbol): New function.
780 (python-eldoc-at-point): Use python-info-current-symbol.
781 (python-info-current-defun): Fix cornercase on first defun scan.
782 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
783 and signal error when no inferior python process is available.
784
eceb6feb
DG
7852012-07-18 Dmitry Gutov <dgutov@yandex.ru>
786
787 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
788 assume it's always t.
789 (vc-git-registered): Remove caching, the function is only called
790 once.
791 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
792
4c8ff0fe
CY
7932012-07-18 Chong Yidong <cyd@gnu.org>
794
19fb7186
CY
795 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
796
9587c688
CY
797 * simple.el (count-words): Report on narrowing (Bug#9959).
798
0fe776a1
CY
799 * bindings.el: Bind M-= to count-words.
800
4c8ff0fe
CY
801 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
802
7f5331cc
MY
8032012-07-18 Masatake YAMATO <yamato@redhat.com>
804
805 * progmodes/sh-script.el (sh-imenu-generic-expression):
806 Capture a function with `function' keyword and without parentheses
807 like "function FOO" (bug#11856).
808
2dc2a609
TH
8092012-07-18 Tassilo Horn <tassilo@member.fsf.org>
810
811 * window.el (split-window-sensibly): Make WINDOW argument
812 optional.
813
439f7677
CY
8142012-07-18 Chong Yidong <cyd@gnu.org>
815
9aeb25a6
CY
816 * subr.el (keyboard-translate): Doc fix (Bug#7261).
817
439f7677
CY
818 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
819 and make C-x 8 RET exit isearch (Bug#11439).
820
821 * international/iso-transl.el: Move isearch-mode-map key
822 definitions to isearch.el.
823
12999ea8
SM
8242012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
827 (eieio-defclass): Use gv-define-setter when possible.
828
3ab6e069
DA
8292012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
830
831 Reflect recent changes in Fgarbage_collect.
832 * emacs-lisp/chart.el (chart-emacs-storage): Change to
833 reflect new format of data returned by Fgarbage_collect.
834
0a60bc10
FEG
8352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
836
837 New utility functions + python-info-ppss-context fix (Bug#11910).
838 * progmodes/python.el (python-info-beginning-of-block-statement-p)
839 (python-info-ppss-comment-or-string-p): New functions.
840 (python-info-ppss-context): Small fix for string check.
841
6dafa0d5
JL
8422012-07-17 Juri Linkov <juri@jurta.org>
843
844 * dired-aux.el (dired-do-async-shell-command): Doc fix.
845 (dired-do-async-shell-command): Don't add `*' at the end of the
846 command (Bug#11815).
847 (dired-do-shell-command): Doc fix.
848 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
849 Join the individual commands using either "&" or ";" as the
850 separator depending on the values of these trailing characters.
851 At the end re-add the trailing "&". (Bug#10598)
852
853 * simple.el (async-shell-command): Sync the interactive spec with
854 `shell-command'. Doc fix.
855 (shell-command): Doc fix.
856
b19dd9d1
JL
8572012-07-17 Juri Linkov <juri@jurta.org>
858
859 * descr-text.el (describe-char): Fix format args. (Bug#10129)
860
bcdc27d7 8612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 862
bcdc27d7 863 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
864 * progmodes/python.el (python-nav-beginning-of-statement):
865 Rename from python-nav-statement-start.
bcdc27d7
FEG
866 (python-nav-end-of-statement): Rename from
867 python-nav-statement-end.
868 (python-nav-beginning-of-block): Rename from
869 python-nav-block-start.
870 (python-nav-end-of-block): Rename from python-nav-block-end.
871
191da00e
FEG
8722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
873
7f5331cc
MY
874 * progmodes/python.el (python-shell-send-string-no-output):
875 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
876 future interactions (Bug#11868).
877
4dc7c8d5 8782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 879
88ecaf8f
SM
880 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
881
ef501ef0
SM
882 * emacs-lisp/elint.el (elint-find-args-in-code):
883 Use help-function-arglist, so as to handle lexical byte-code.
884
aa7aaf8f
SM
885 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
886 change (bug#11826).
887
45fd731c
SM
8882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
889
2143fa32
SM
890 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
891 Avoid spuriously marking the buffer as modified because of c-is-sws.
892
efc26dbe
SM
893 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
894 as not-a-comment (bug#11946).
895
f5695c9a
SM
896 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
897 for uninterned vars.
898
899 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
900 Use read-event since we don't really want to read chars but bytes.
901
45fd731c
SM
902 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
903 $$..$$ but also $..$ using regexps (bug#11953).
904 Use tex-verbatim for \url and \path.
905 (tex-font-lock-keywords): Define as defconst like the others.
906 (tex-common-initialization): Don't use font-lock-syntax-table any more.
907
ddfc8813
RK
9082012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
909
910 * international/mule-cmds.el (ucs-insert): Make it an obsolete
911 alias for insert-char.
912
758e556a
FEG
9132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
914
915 * progmodes/python.el: Simplified imenu implementation.
916 (python-nav-jump-to-defun): Remove command.
917 (python-mode-map): Use `imenu' instead.
918 (python-nav-list-defun-positions-cache)
919 (python-imenu-include-defun-type, python-imenu-make-tree)
920 (python-imenu-subtree-root-label, python-imenu-index-alist):
921 Remove vars.
922 (python-nav-list-defun-positions, python-nav-read-defun)
923 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
924 (python-imenu-make-tree, python-imenu-create-index):
925 Remove functions.
758e556a
FEG
926 (python-mode): Update to interact with imenu by setting
927 `imenu-extract-index-name-function' only.
928
032d23ab
FEG
9292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
930
931 * progmodes/python.el: Enhancements to navigation commands.
932 (python-nav-backward-sentence)
933 (python-nav-forward-sentence): Remove.
934 (python-nav-backward-statement, python-nav-forward-statement)
935 (python-nav-statement-start, python-nav-statement-end)
936 (python-nav-backward-block, python-nav-forward-block)
937 (python-nav-block-start, python-nav-block-end)
938 (python-nav-forward-sexp-function)
939 (python-info-current-line-comment-p)
940 (python-info-current-line-empty-p): New functions.
941 (python-indent-context): Use `python-nav-statement-start'.
942
01795a1b
MA
9432012-07-16 Michael Albinus <michael.albinus@gmx.de>
944
9328d9aa
MA
945 * eshell/em-ls.el (eshell/ls): Use `apply'.
946
947 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
948 multi-hops, instead of Tramp internals.
949
01795a1b
MA
950 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
951
952 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
953 when F1 and F2 are located on different hosts.
954
63408057
CY
9552012-07-14 Chong Yidong <cyd@gnu.org>
956
957 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
958 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
959 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
960 (xterm-mouse--read-event-sequence-1000)
961 (xterm-mouse--read-event-sequence-1006): New functions. For old
962 mouse protocol, handle M-mouse-X events correctly.
963 (xterm-mouse-event): New arg specifying mouse protocol.
964 (turn-on-xterm-mouse-tracking-on-terminal)
965 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
966 sequence to toggle extended coordinates on newer XTerms.
967 This appears to be harmless on terminals which do not support this.
63408057 968
cd276f6e
LL
9692012-07-14 Leo Liu <sdl.web@gmail.com>
970
28ca98ac
LL
971 Add fringe bitmap indicators for flymake. (Bug#11253)
972 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
973 (flymake-make-overlay): New arg BITMAP.
974 (flymake-error-bitmap, flymake-warning-bitmap)
975 (flymake-fringe-indicator-position): New user variables.
976
cd276f6e
LL
977 * fringe.el: New bitmap exclamation-mark.
978
04408072
JD
9792012-07-14 Jan Djärv <jan.h.d@swipnet.se>
980
981 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
982 also (Bug#7879).
983
b5cf7fc4
CY
9842012-07-14 Chong Yidong <cyd@gnu.org>
985
986 * electric.el (electric-pair-post-self-insert-function): Fix pair
987 insertion in empty-region case (Bug#11520).
988
be755c79
RT
9892012-07-14 Chong Yidong <cyd@gnu.org>
990
45fd731c
SM
991 * bindings.el: Consolidate ctl-x-r-map bindings.
992 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
993
994 * rect.el, register.el: Move bindings to bindings.el.
995
9962012-07-14 Reuben Thomas <rrt@sc3d.org>
997
998 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
999
7f5b3198
AS
10002012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1001
1002 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1003
97662200
JB
10042012-07-13 Juanma Barranquero <lekktu@gmail.com>
1005
80185fed
JB
1006 * bindings.el (top): Use `mapc' instead of `mapcar'.
1007
97662200
JB
1008 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1009
2bb1ae55
MA
10102012-07-13 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * progmodes/sql.el (sql-comint): Suppress the check for program on
1013 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1014 (Bug#11908)
1015
dea31bd3
CY
10162012-07-13 Chong Yidong <cyd@gnu.org>
1017
1018 * bindings.el: Assign a non-nil permanent-local property to
1019 per-buffer variables which lack a default value (Bug#11930).
1020
1021 * help-fns.el (describe-variable): In the "automatically becomes
1022 local" notice, take note of permanent-local variables.
1023
b68b3337
CY
10242012-07-13 Chong Yidong <cyd@gnu.org>
1025
1026 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1027 to allow printing the message when called from Lisp.
1028
1029 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1030 Remove toggle-read-only.
1031
1032 * bs.el (bs-toggle-readonly):
45fd731c
SM
1033 * buff-menu.el (Buffer-menu-toggle-read-only):
1034 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1035
1036 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1037 Remove with-no-warnings around toggle-read-only.
1038 (ffap-read-only, ffap-read-only-other-window)
1039 (ffap-read-only-other-frame): Callers changed.
1040
1041 * help-mode.el: Don't require view package.
1042 (help-mode-finish): Set buffer-read-only instead of calling
1043 toggle-read-only.
1044
1045 * bindings.el (mode-line-toggle-read-only):
1046 * dired.el (dired-toggle-read-only):
1047 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1048 with non-nil second arg.
1049
1050 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1051 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1052 directly.
1053
56bc1586
EZ
10542012-07-12 Eli Zaretskii <eliz@gnu.org>
1055
1056 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1057 not incf.
1058
a464a6c7
SM
10592012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 More CL cleanups and reduction of use of cl.el.
1062 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1063 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1064 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1065 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1066 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1067 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1068 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1069 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1070 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1071 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1072 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1073 * eshell/em-cmpl.el, eshell/em-banner.el:
1074 * calendar/parse-time.el: Use cl-lib.
1075 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1076 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1077 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1078 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1079 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1080 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1081 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1082 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1083 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1084 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1085 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1086 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1087 `lambda' rather than with `quote'.
1088 (eshell-do-opt): Adjust accordingly.
1089 (eshell-process-option): Simplify.
1090 * eshell/esh-var.el:
1091 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1092 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1093 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1094 to `pcase--dontcare'.
1095 * emacs-lisp/cl.el (labels): Mark obsolete.
1096 (cl--letf, letf): Move to cl-lib.
1097 (cl--letf*, letf*): Remove.
1098 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1099 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1100 (cl-progv): Rewrite.
1101 (cl--letf, cl-letf): Move from cl.el.
1102 (cl-letf*): New macro.
1103 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1104
7ad4afe1
MA
11052012-07-11 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1108
9af57756
CY
11092012-07-11 Chong Yidong <cyd@gnu.org>
1110
1111 * vc/log-edit.el (log-edit-vc-backend): New variable.
1112 (log-edit): Doc fix.
1113
1114 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1115 argument of log-edit to set up all local variables.
1116 (vc-start-logentry): New optional arg specifying VC backend.
1117
1118 * vc/vc.el (vc-checkin): Use it.
1119 (vc-deduce-fileset): Handle Log Edit buffers.
1120 (vc-diff): Make first argument optional too.
1121
1122 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1123
8477cc7a
MA
11242012-07-10 Michael Albinus <michael.albinus@gmx.de>
1125
1126 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1127 command, just in case. The function is not needed anymore.
1128 (eshell-external-command): Do not call `eshell-remote-command'.
1129
19faa8e8
SM
11302012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1131
f58e0fd5
SM
1132 Reduce use of (require 'cl).
1133 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1134 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1135 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1136 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1137 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1138 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1139 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1140 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1141 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1142 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1143 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1144 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1145 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1146 (byte-compile-unfold-bcf, byte-compile-check-variable):
1147 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1148 (byte-compile-nilconstp):
1149 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1150 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1151
2519d43a
SM
1152 * emacs-lisp/gv.el (cond): Make it a valid place.
1153 (if): Simplify slightly.
1154
19faa8e8
SM
1155 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1156 (pcase--self-quoting-p): New function.
1157 (pcase--u1): Use it.
1158
c4907a5e
GM
11592012-07-10 Glenn Morris <rgm@gnu.org>
1160
1161 * emacs-lisp/authors.el (authors-fixed-entries):
1162 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1163
c4444d16
PE
11642012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1165
1166 Rename configure.in to configure.ac (Bug#11603).
1167 * emacs-lisp/authors.el (authors-canonical-file-name):
1168 * progmodes/autoconf.el (autoconf-mode):
1169 Prefer configure.ac to configure.in.
1170
d75be97d
CY
11712012-07-08 Chong Yidong <cyd@gnu.org>
1172
01ac65bd
CY
1173 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1174 Implement the mouse-1-click-follows-link handling properly.
1175
1176 * info.el (Info-link-keymap): Use follow-link mechanism for
1177 header-line links (Bug#374).
1178
d75be97d
CY
1179 * simple.el (deactivate-mark): Do not set the primary selection
1180 if another program has acquired it (Bug#11772).
1181
87a92845 11822012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1183
1184 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1185 (woman-decode-region): Replace escaped-escapes without destroying
1186 bold or underline (Bug#11552).
87a92845 1187 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1188
621b9d6c
CY
11892012-07-07 Chong Yidong <cyd@gnu.org>
1190
1191 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1192 (interprogram-cut-function, interprogram-paste-function):
1193 Mention that we typically mean the clipboard.
621b9d6c 1194
133a11fc
GM
11952012-07-06 Glenn Morris <rgm@gnu.org>
1196
0d27a45e
GM
1197 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1198
133a11fc
GM
1199 * files.el (toggle-read-only): Restrict message to interactive use.
1200
07b151f1
MA
12012012-07-06 Michael Albinus <michael.albinus@gmx.de>
1202
1203 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1204
1205 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1206
211b896b
GM
12072012-07-06 Glenn Morris <rgm@gnu.org>
1208
50394322
GM
1209 * Makefile.in (compile-one-process): Rename from "recompile".
1210
211b896b
GM
1211 * Makefile.in (bzr-update): "compile" is the same as "recompile
1212 autoloads", but parallelizable, so use that instead.
1213
4737eec9
DG
12142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1215
1216 * window.el (quit-window): Always restore window height when
8137e7b3 1217 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1218
226c3633 12192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1220
1221 * simple.el (kill-whole-line): Doc tweak.
1222
226c3633 12232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1224
1225 * files.el (file-relative-name): Compare file names
1226 case-insensitively if on MS-Windows or MS-DOS, or if
1227 read-file-name-completion-ignore-case is non-nil. Don't use
1228 case-fold-search for this purpose. (Bug#11827)
1229
4dc7c8d5
SM
12302012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1231
1232 * calendar/cal-dst.el (calendar-current-time-zone):
1233 Return calendar-current-time-zone-cache if non-nil.
1234
12352012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 12362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1237
19faa8e8
SM
1238 * calendar/cal-dst.el (calendar-current-time-zone):
1239 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1240
60198fc9
GM
12412012-07-06 Glenn Morris <rgm@gnu.org>
1242
1243 * Makefile.in (cvs-update): Remove old alias.
1244
957b3189
MA
12452012-07-05 Michael Albinus <michael.albinus@gmx.de>
1246
1247 Sync with Tramp 2.2.6-pre.
1248
1249 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1250 compatible declaration.
1251
19faa8e8
SM
1252 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1253 Protect `list-load-path-shadows' call.
957b3189
MA
1254
1255 * net/tramp-compat.el (top): Require packages, which aren't
1256 autoloaded anymore for XEmacs. Protect call of
1257 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1258 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1259 it hurts at least for SXEmacs.
1260 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1261 standard-value for `temporary-file-directory'.
1262
1263 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1264 Redirect stderr to /dev/null.
1265 (tramp-sh-handle-write-region): uid and gid can be floats.
1266 Reported by Russell Sim <russell.sim@gmail.com>.
1267 (tramp-sh-handle-vc-registered): Hide errors.
1268 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1269 and `start-file-process'.
1270 (tramp-maybe-open-connection): Check also whether `non-essential'
1271 is bound.
1272
566df3fc
CY
12732012-07-04 Chong Yidong <cyd@gnu.org>
1274
1275 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1276 (xml-parse-tag): Likewise, and avoid changing entity tables.
1277 (xml-syntax-table): Define from scratch, making sure not to give
1278 x2000 and other Unicode spaces whitespace syntax, since those are
1279 not spaces in XML.
1280 (xml-parse-fragment): Delete unused function.
1281 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1282 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1283 (xml-entity-ref, xml-pe-reference-re)
1284 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1285 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1286 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1287 (xml-entity-value-re): Use syntax references in regexps where
1288 possible; no need to define inside a let-binding.
1289 (xml-parse-dtd): Use xml-pe-reference-re.
1290 (xml-entity-or-char-ref-re): New defconst.
1291 (xml-parse-string, xml-substitute-special): Use it.
1292
30eabd7a
SM
12932012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1294
0781098a
SM
1295 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1296 (find-file--read-only): New function.
1297 (find-file-read-only, find-file-read-only-other-window)
1298 (find-file-read-only-other-frame): Use it.
1299 (insert-file-contents-literally): Don't `fset'.
1300 (get-free-disk-space): Use locate-dominating-file.
1301
b5771c0d
SM
1302 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1303 function is already compiled.
1304
30eabd7a
SM
1305 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1306
b4886f6e
MA
13072012-07-03 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1310 files on the same host.
1311
b9d82339
AS
13122012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1313
1314 * help-fns.el (describe-function-1): Only call
1315 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1316
a76e6535
CY
13172012-07-03 Chong Yidong <cyd@gnu.org>
1318
1319 * xml.el: Protect parser against XML bombs.
1320 (xml-entity-expansion-limit): New variable.
1321 (xml-parse-string, xml-substitute-special): Use it.
1322 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1323
b544fef2
GM
13242012-07-03 Glenn Morris <rgm@gnu.org>
1325
1326 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1327 Allow linking to specific messages in debbugs reports (eg 123#5).
1328
a7aef6f5
CY
13292012-07-02 Chong Yidong <cyd@gnu.org>
1330
1331 * xml.el: Fix entity and character reference expansion, allowing
1332 them to expand into markup as per XML spec.
1333 (xml-default-ns): New variable.
1334 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1335 (xml-parse-region): Make first two arguments optional.
1336 Discard text properties.
1337 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1338 All callers changed.
a7aef6f5
CY
1339 (xml-parse-tag): Call xml-parse-tag-1. For backward
1340 compatibility, this function should not modify buffer contents.
1341 (xml-parse-tag-1): Fix opening-tag regexp.
1342 (xml-parse-string): Rewrite, handling entity and character
1343 references properly.
1344 (xml--entity-replacement-text): Signal an error if a parameter
1345 entity is undefined.
1346
3df31c9f
SM
13472012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1348
2b5208f1
SM
1349 * comint.el (comint-output-filter): Filter out repeated prompts.
1350
3df31c9f
SM
1351 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1352 and file-name-absolute-p.
1353 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1354 internal calls.
1355
e3ac1281
PE
13562012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1357
1358 Spelling fixes.
1359 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1360 Rename from byte-compile--refiy-function. All uses changed.
1361
fbf2e7ad
CY
13622012-07-01 Chong Yidong <cyd@gnu.org>
1363
1364 * xml.el (xml--parse-buffer): New function. Move most of
1365 xml-parse-region here.
1366 (xml-parse-region): Copy region into a temporary buffer, since
1367 parameter entity substitution requires changing buffer contents.
1368 Use xml--parse-buffer.
1369 (xml-parse-file): Use xml--parse-buffer.
1370 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1371 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1372
9bf0aa15
GM
13732012-06-30 Glenn Morris <rgm@gnu.org>
1374
bbce2853
GM
1375 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1376
9bf0aa15
GM
1377 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1378 Remove outdated and unnecessary dbus declarations.
1379
0d23c240
EZ
13802012-06-30 Eli Zaretskii <eliz@gnu.org>
1381
1382 * emacs-lisp/timer.el (timer-until): Subtract results of
1383 float-time, instead of taking float-time of the result of
1384 time-subtract, since float-time signals an error for negative time
1385 arguments.
1386
b3218de1
CY
13872012-06-30 Chong Yidong <cyd@gnu.org>
1388
1389 * xml.el (xml-*-re): Convert defvars into defconsts, and
1390 eval-and-compile them so eval-and-compile works on derivatives.
1391 (xml--entity-replacement-text): Use eval-and-comple.
1392
a40c87a0
MA
13932012-06-30 Michael Albinus <michael.albinus@gmx.de>
1394
1395 * vc/vc-git.el (vc-git-registered): Use cache property
1396 `git-registered'.
1397 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1398 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1399 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1400
ac87de97
DG
14012012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1404 removed (likely outside Emacs). (Bug#11757)
ac87de97 1405
ac10fe06
SM
14062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1407
3df31c9f 1408 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1409
7f3fbd5d
CY
14102012-06-30 Chong Yidong <cyd@gnu.org>
1411
1412 * xml.el: Implement XML parameter entities.
1413 (xml-parameter-entity-alist): New variable.
1414 (xml-parse-region, xml-parse-fragment): Preserve previous values
1415 of xml-entity-alist and xml-parameter-entity-alist, so that
1416 repeated calls on different documents do not change them.
1417 (xml-parse-tag): Fix doctype regexp.
1418 (xml--entity-replacement-text): New function.
1419 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1420 properly requires url retrieval which is unimplemented.
1421 (xml-escape-string): Doc fix.
1422
3cfbebba
SM
14232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1426
2af3565e
DA
14272012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1428
1429 * fringe.el (fringe-mode): Doc fix.
1430
929df0e7
MA
14312012-06-29 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1434 is non-nil.
1435 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1436 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1437
c8d3a25c 14382012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1439
c8d3a25c
GM
1440 * calendar/cal-dst.el (calendar-current-time-zone):
1441 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1442
c8d3a25c 14432012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1444
1445 * progmodes/which-func.el (which-func-format):
1446 Add mouse-face. (Bug#11698)
1447
c8d3a25c
GM
14482012-06-29 Leo Liu <sdl.web@gmail.com>
1449
1450 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1451
14522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * minibuffer.el (minibuffer-confirm-exit-commands):
1455 Add completion-at-point (bug#11725).
1456
14572012-06-29 Glenn Morris <rgm@gnu.org>
1458
1459 * progmodes/f90.el (f90-font-lock-keywords-2):
1460 Add some preprocessor elements. (Bug#10499)
1461
14622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1465 Use syntax-propertize (bug#11739).
1466
2badeec4
JB
14672012-06-28 Juanma Barranquero <lekktu@gmail.com>
1468
1469 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1470
ae4969c2
JD
14712012-06-28 Julien Danjou <julien@danjou.info>
1472
1473 * term.el (term-handle-colors-array): Use a set of new faces to
1474 color the terminal. Also uses :inverse-video property.
1475 (term-default-fg-color): Set to nil by default, deprecate in favor
1476 of `term-face'.
1477 (term-default-bg-color): Set to nil by default, deprecate in favor
1478 of `term-face'.
1479 (term-current-face): Use `term-face' by default.
1480 (term-bold-attribute): Variable deleted.
1481
1c9bd870
GM
14822012-06-28 Glenn Morris <rgm@gnu.org>
1483
1484 * simple.el (completion-list-mode-finish):
1485 Don't use toggle-read-only. (Since completion-list-mode has
1486 a special mode-class, it wasn't doing anything extra anyway.)
1487
c207708c
SM
14882012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 Make inlining of other-mode interpreted functions work (bug#11799).
1491 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1492 (byte-compile): Use it to fix compilation of lexical-binding closures.
1493 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1494 function, if needed.
1495
3fd56834
SM
14962012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1497
04901786
SM
1498 * help-mode.el (help-make-xrefs): Don't just withstand
1499 cyclic-variable-indirection but any error in documentation-property.
1500
1ec4b7b2
SM
1501 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1502 memory use.
1503 * bindings.el (bindings--define-key): New function.
1504 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1505 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1506 * bindings.el: Use it to purecopy define-key bindings.
1507
e309e2a5
SM
1508 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1509
d5c6faf9
SM
1510 * emacs-lisp/cl.el (flet): Mark obsolete.
1511 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1512 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1513 * progmodes/js.el (js-c-fill-paragraph):
1514 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1515 (ebrowse-switch-member-buffer-to-derived-class):
1516 * play/5x5.el (5x5-solver): Use cl-flet.
1517
6e9590e2
SM
1518 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1519 (cl--symbol-function): New macro.
1520 (cl--letf, cl--letf*): Use it.
1521
3fd56834
SM
1522 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1523 Strip "toggle-" if any.
1524
35ff222c
GM
15252012-06-27 Glenn Morris <rgm@gnu.org>
1526
1ba6038a
GM
1527 * info.el (Info-default-directory-list): Move here from paths.el.
1528 * paths.el: Remove file, which is now empty.
1529 * loadup.el: No longer load "paths".
1530
0ea0e51b
GM
1531 * custom.el (custom-initialize-delay): Doc fix.
1532
35ff222c
GM
1533 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1534 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1535 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1536 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1537 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1538 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1539 * eshell/eshell.el (eshell-defgroup): Remove alias.
1540
c89926a5
CY
15412012-06-27 Chong Yidong <cyd@gnu.org>
1542
1543 * help.el (help-enable-auto-load): New variable.
1544
1545 * help-fns.el (help-fns--autoloaded-p): New function.
1546 (describe-function-1): Refer to a function as "autoloaded" if it
1547 was autoloaded at any time in the past. Perform autoloading if
1548 help-enable-auto-load is non-nil.
1549
cc06e7e7
EZ
15502012-06-26 Eli Zaretskii <eliz@gnu.org>
1551
1552 * makefile.w32-in (compile, compile-always): Depend on
1553 update-subdirs, not on subdirs.el. Otherwise, several different
1554 sub-targets of 'bootstrap' running in parallel could
1555 simultaneously write to subdirs.el, producing a garbled file.
1556
d2c32364
SS
15572012-06-26 Sam Steingold <sds@gnu.org>
1558
1559 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1560 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1561 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1562 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1563 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1564 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1565 * textmodes/tex-mode.el: Use it.
1566 Did not touch cedet and org because they are maintained elsewhere.
1567
5cf983b2
MR
15682012-06-26 Martin Rudalics <rudalics@gmx.at>
1569
1570 * calendar/calendar.el (calendar-exit): Don't try to delete or
1571 iconify last frame. See:
1572 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1573
8c4f2952
JD
15742012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1575
1576 * server.el (server-process-filter): Remember dir in the
1577 process's `server-client-directory' properties.
1578
772b2e2c
CY
15792012-06-24 Chong Yidong <cyd@gnu.org>
1580
1581 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1582 non-tag text.
1583
711b11e1
JB
15842012-06-23 Juanma Barranquero <lekktu@gmail.com>
1585
1586 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1587
dc5d230c
SM
15882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * help-fns.el (describe-variable): Don't croak when doc is not found.
1591 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1592 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1593 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1594 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1595 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1596 ((lambda ..) ..).
1597 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1598
136e1c1d
CY
15992012-06-23 Chong Yidong <cyd@gnu.org>
1600
e8c1cabf
CY
1601 * info.el (Info-mouse-follow-link): Accept symbol values of
1602 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1603 (Info-fontify-node): Use Info-link-keymap for all navigation
1604 buttons, with link-args property to perform the desired action.
1605 (Info-link-keymap): Doc fix.
1606 (Info-next-link-keymap, Info-prev-link-keymap)
1607 (Info-up-link-keymap): Delete now-unused keymaps.
1608
0e9e6c6a
CY
16092012-06-23 Chong Yidong <cyd@gnu.org>
1610
05e89fea
CY
1611 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1612
0e9e6c6a
CY
1613 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1614 system abbrevs.
1615
1616 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1617
e33c6771
SM
16182012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1619
b68581e2
SM
1620 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1621 (bug#11719).
1622
e33c6771
SM
1623 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1624 the requote function doesn't work properly (bug#11714).
1625
7117e105
GM
16262012-06-23 Glenn Morris <rgm@gnu.org>
1627
1628 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1629
36cec983
SM
16302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 Further GV/CL cleanups.
1633 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1634 gv-expander.
1635 (gv--defun-declaration): New function.
1636 (defun-declarations-alist): Use it.
1637 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1638 (gv-place): Autoload.
1639 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1640 original definition of dotimes and dolist.
1641 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1642 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1643 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1644 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1645 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1646 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1647 to the function's definition.
1648 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1649 * window.el:
1650 * files.el:
1651 * faces.el:
1652 * env.el: Don't use CL.
1653
d35af63c
PE
16542012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1655
1656 Support higher-resolution time stamps (Bug#9000).
1657
1658 * calendar/time-date.el (with-decoded-time-value): New arg
1659 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1660 (encode-time-value): New optional arg PICO. New type 3.
1661 (time-to-seconds) [!float-time]: Support the new picoseconds
1662 component if it's used.
1663 (seconds-to-time, time-subtract, time-add):
1664 Support ps-resolution time stamps as well.
1665
1666 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1667 (timerp): Timer vectors now have length 9, not 8.
1668 (timer--time): Support new-style (4-part) time stamps.
1669 (timer-next-integral-multiple-of-time): Time stamps now have
1670 picosecond resolution, so take a bit more care about rounding.
1671 (timer-relative-time, timer-inc-time): New optional arg psecs.
1672 (timer-set-time-with-usecs): Set psecs to 0.
1673 (timer--activate): Check psecs component, too.
1674
1675 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1676
ac77b21a
SM
16772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1678
f143bfe3
SM
1679 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1680 Move the non-essential binding to the post/pre-command-hook where it is
1681 more obviously correct.
1682
ac77b21a
SM
1683 * subr.el (read-passwd): Don't use a history at all.
1684 * savehist.el (savehist-save): Remove password saved accidentally
1685 because of the above bug.
1686
76386c5a
BG
16872012-06-22 Bastien Guerry <bzg@gnu.org>
1688
1689 * files.el (toggle-read-only): Display a message telling whether
1690 the buffer is read-only or not (bug#11726).
1691
2ee3d7f0
SM
16922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/gv.el: New file.
1695 * subr.el (push, pop): Extend to generalized variables.
1696 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1697 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1698 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1699 gv-define-simple-setter, and gv-define-expander.
1700 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1701 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1702 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1703 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1704 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1705 gv-letplace.
1706 (cl-defstruct): Don't define setf-method any more.
1707 * emacs-lisp/cl.el (flet): Don't autoload.
1708 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1709 (define-setf-expander, defsetf, define-modify-macro)
1710 (cl-struct-setf-expander): Move from cl-lib.el.
1711 * emacs-lisp/syntax.el:
1712 * emacs-lisp/ewoc.el:
1713 * emacs-lisp/smie.el:
1714 * emacs-lisp/cconv.el:
1715 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1716 (timer--time): Use gv-define-simple-setter.
1717 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1718 to avoid coding-system problems in subr.el. Adjust all users.
1719 (macroexp--maxsize, macroexp-small-p): New functions.
1720 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1721 * scroll-bar.el (scroll-bar-mode):
1722 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1723 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1724 * winner.el (winner-configuration, winner-make-point-alist)
1725 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1726 * files.el (locate-file-completion-table): Avoid list*.
1727
c5695d1d
CY
17282012-06-22 Chong Yidong <cyd@gnu.org>
1729
1730 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1731 (dired-create-files): Doc fix (Bug#11329).
1732 (dired-do-copy): Doc fix (Bug#11334).
1733 (dired-mark-read-string): Doc fix (Bug#11553).
1734
2ee3d7f0
SM
1735 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1736 Doc fix (Bug#11326).
c5695d1d
CY
1737 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1738 (dired-dwim-target): Doc fix.
1739
1740 * wdired.el (wdired-mode): Doc fix.
1741
89b5595a
GM
17422012-06-22 Glenn Morris <rgm@gnu.org>
1743
575db3f1
GM
1744 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1745 (pcmpl-rpm-cache-stamp-file): New constant.
1746 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1747 (pcmpl-rpm-packages): Optionally cache list of packages.
1748
a4c8dd51
GM
1749 * pcmpl-rpm.el (pcmpl-rpm): New group.
1750 (pcmpl-rpm-query-options): New option.
1751 (pcmpl-rpm-packages): No need to inline it.
1752 Use pcmpl-rpm-query-options.
1753
89b5595a
GM
1754 * calendar/calendar.el (calendar-in-read-only-buffer):
1755 Avoid some needless mode changes.
1756
e76f0800
CY
17572012-06-21 Chong Yidong <cyd@gnu.org>
1758
1759 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1760 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1761 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1762
297a8f1d
CY
17632012-06-20 Chong Yidong <cyd@gnu.org>
1764
1765 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1766
d34c18b1
DR
17672012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1768
1769 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1770 (bug#11201).
1771
32f7f28e
CY
17722012-06-20 Chong Yidong <cyd@gnu.org>
1773
1774 * term.el (term-window-width): Handle the case of a missing right
1775 fringe (Bug#8837).
1776 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1777 (term-mode): Use define-derived-mode. Minor cleanups.
1778 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1779 (term-move-columns, term-insert-char, term-emulate-terminal)
1780 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1781
493c6688
MA
17822012-06-20 Michael Albinus <michael.albinus@gmx.de>
1783
d34c18b1
DR
1784 * net/ange-ftp.el (ange-ftp-get-passwd):
1785 Bind `enable-recursive-minibuffers'.
493c6688
MA
1786 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1787
3f06ecf4
DR
17882012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1789
1790 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1791
68f12411
GM
17922012-06-19 Glenn Morris <rgm@gnu.org>
1793
1794 * progmodes/python.el (python-mode): Derive from prog-mode.
1795
b3820318
KG
17962012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1797
1798 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1799 (edt-user-menu-bar-update-buffers): New functions.
1800 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1801
c6bf3022
CY
18022012-06-19 Chong Yidong <cyd@gnu.org>
1803
1804 * subr.el (with-selected-window): Preserve the selected window's
1805 terminal's top-frame (Bug#4702).
1806
1807 * window.el (save-selected-window): Likewise.
1808
25f09295
SM
18092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * progmodes/python.el (python-rx-constituents): Move backquote.
1812 (python-skeleton-define, python-define-auxiliary-skeleton):
1813 Use `declare'.
1814
6b11952a
MA
18152012-06-18 Michael Albinus <michael.albinus@gmx.de>
1816
1817 * minibuffer.el (read-file-name-default): Revert the patch from
1818 2012-06-17.
1819
ee4b1330
SM
18202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1823 (pcase--u1, pcase--q1): Don't use apply-partially.
1824
35647f79
GM
18252012-06-18 Glenn Morris <rgm@gnu.org>
1826
1827 * progmodes/python.el (python-proc, python-buffer)
1828 (python-send-receive, python-send-string): Fix obsolete versions.
1829
24b0cff0
MR
18302012-06-18 Martin Rudalics <rudalics@gmx.at>
1831
1832 * window.el (special-display-p): Completely remove stringp
1833 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1834
29855149
MA
18352012-06-17 Michael Albinus <michael.albinus@gmx.de>
1836
1837 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1838
1839 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1840
1841 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1842 * net/tramp-sh.el (tramp-maybe-open-connection):
1843 Throw if `non-essential' is non-nil.
1844
07463363
MR
18452012-06-17 Martin Rudalics <rudalics@gmx.at>
1846
1847 * window.el (special-display-p): Signal an error if BUFFER-NAME
1848 is not a string (Bug#11713).
1849
48d1354e
PE
18502012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1851
1852 * progmodes/python.el (python-info-beginning-of-backslash):
1853 Rename from python-info-beginning-of-backlash, as a spelling fix.
1854
eb4a8a9a
CY
18552012-06-17 Chong Yidong <cyd@gnu.org>
1856
1857 * term.el (term-emulate-terminal): If term-check-size is called,
1858 move point to the process mark without resetting point (Bug#4635).
1859
ddfbf826 18602012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1861
1862 * international/mule-cmds.el (mule-menu-keymap)
1863 (set-language-environment, set-locale-environment): Doc tweaks.
1864
9b0e3eba
AA
18652012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1866
1867 * cus-face.el (custom-face-attributes): Add wave-style underline
1868 attribute.
1869 * faces.el (set-face-attribute): Update docstring to describe
1870 wave-style underline attribute.
1871
771e3eae
CY
18722012-06-16 Chong Yidong <cyd@gnu.org>
1873
1874 * term/xterm.el (terminal-init-xterm): Discard input before
1875 querying background mode (Bug#10959).
1876
7ae2ea10
SM
18772012-06-16 Stefan Merten <smerten@oekonux.de>
1878
1879 * textmodes/rst.el: Added and corrected some comments.
1880 (rst-re-alist-def): Improve symbol syntax.
1881 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1882 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1883 (rst-official-version, rst-official-cvs-rev): Update version
1884 information.
7ae2ea10 1885
b6974efa
JB
18862012-06-15 Juanma Barranquero <lekktu@gmail.com>
1887
1888 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1889 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1890
8826d473
GM
18912012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1892
1893 * progmodes/python.el: New python.el merge.
1894 (python-guess-indent): Obsolete var.
1895 (python-indent-guess-indent-offset): New defcustom.
1896 (python-indent): Obsolete var.
1897 (python-indent-offset): New defcustom.
1898 (python-python-command, python-jython-command): Delete var.
1899 (python-shell-interpreter): New defcustom.
1900 (python-pdbtrack-do-tracking-p): Delete var.
1901 (python-pdbtrack-activate): New defcustom.
1902 (python-use-skeletons): Obsolete var.
1903 (python-skeleton-autoinsert): New defcustom.
1904 (inferior-python-filter-regexp, python-continuation-offset)
1905 (python-honour-comment-indentation, python-indent-string-contents)
1906 (python-jython-packages, python-mode-hook)
1907 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1908 (python-shell-prompt-alist)
1909 (python-source-modes): Delete defcustoms.
1910 (python-check-buffer-name, python-eldoc-setup-code)
1911 (python-eldoc-string-code, python-ffap-setup-code)
1912 (python-ffap-string-code, python-fill-comment-function)
1913 (python-fill-decorator-function, python-fill-paren-function)
1914 (python-fill-string-function, python-imenu-include-defun-type)
1915 (python-imenu-make-tree, python-imenu-subtree-root-label)
1916 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1917 (python-shell-compilation-regexp-alist)
1918 (python-shell-completion-module-string-code)
1919 (python-shell-completion-pdb-string-code)
1920 (python-shell-completion-setup-code)
1921 (python-shell-completion-string-code)
1922 (python-shell-enable-font-lock, python-shell-exec-path)
1923 (python-shell-extra-pythonpaths)
1924 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1925 (python-shell-process-environment)
1926 (python-shell-prompt-block-regexp)
1927 (python-shell-prompt-output-regexp)
1928 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1929 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1930 (python-shell-virtualenv-path): New defcustoms.
1931 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1932 (inferior-python-mode-syntax-table, python--prompt-regexp)
1933 (python-buffer, python-command python-python-command)
1934 (python-default-template, python-imports, python-indent-index)
1935 (python-indent-list, python-indent-list-length)
1936 (python-mode-running, python-pdbtrack-is-tracking-p)
1937 (python-preoutput-continuation, python-preoutput-leftover)
1938 (python-preoutput-result, python-preoutput-skip-next-prompt)
1939 (python-prev-dir/file, python-recursing)
1940 (python-saved-check-command, python-version-checked)
1941 (python-which-func-length-limit)
1942 (view-return-to-alist): Delete vars.
1943 (python-check-custom-command, python-dotty-syntax-table)
1944 (python-imenu-index-alist, python-indent-current-level)
1945 (python-indent-dedenters, python-indent-levels)
1946 (python-nav-beginning-of-defun-regexp)
1947 (python-nav-list-defun-positions-cache)
1948 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1949 (python-shell-internal-buffer)
1950 (python-skeleton-available): New vars.
1951 (def-python-skeleton): Delete macro.
1952 (python-skeleton-define): New macro.
1953 (python-define-auxiliary-skeleton, python-rx): New macros.
1954 (python-insert-class): Delete command.
1955 (python-skeleton-class): New command.
1956 (python-insert-def): Delete command.
1957 (python-skeleton-def): New command.
1958 (python-insert-for): Delete command.
1959 (python-skeleton-for): New command.
1960 (python-insert-if): Delete command.
1961 (python-skeleton-if): New command.
1962 (python-insert-try/except, python-insert-try/finally): Delete commands.
1963 (python-skeleton-try): New command.
1964 (python-insert-while): Delete command.
1965 (python-skeleton-while): New command.
1966 (python-backspace): Delete command.
1967 (python-indent-dedent-line-backspace): New command.
1968 (python-electric-colon): Delete command.
1969 (python-indent-electric-colon): New command.
1970 (python-guess-indent): Delete command.
1971 (python-indent-guess-indent-offset): New command.
1972 (python-shift-left): Delete command.
1973 (python-indent-shift-left): New command.
1974 (python-shift-right): Delete command.
1975 (python-indent-shift-right): New command.
1976 (python-find-function): Delete command.
1977 (python-nav-jump-to-defun): New command.
1978 (python-next-statement): Delete command.
1979 (python-nav-forward-sentence): New command.
1980 (python-previous-statement): Delete command.
1981 (python-nav-backward-sentence): New command.
1982 (python-fill-paragraph): Delete command.
1983 (python-fill-paragraph-function): New command.
1984 (python-send-buffer): Delete command.
1985 (python-shell-send-buffer): New command.
1986 (python-send-defun): Delete command.
1987 (python-shell-send-defun): New command.
1988 (python-send-region, python-send-region-and-go): Delete commands.
1989 (python-shell-send-region)
1990 (python-shell-switch-to-shell): New commands.
1991 (python-send-string): Delete command.
1992 (python-shell-send-string): New command.
1993 (python-switch-to-python): Delete command.
1994 (python-shell-switch-to-shell): New command.
1995 (python-describe-symbol): Delete command.
1996 (python-eldoc-at-point): New command.
1997 (python--set-prompt-regexp, python-args-to-list)
1998 (python-after-info-look, python-check-version)
1999 (python-check-comint-prompt, python-find-imports)
2000 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2001 (python-unload-function, python-expand-template)
2002 (python-maybe-jython, python-preoutput-filter)
2003 (python-pdbtrack-get-source-buffer)
2004 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2005 (python-pdbtrack-toggle-stack-tracking)
2006 (python-pdbtrack-track-stack-file, python-initial-text)
2007 (python-first-word, python-comment-line-p, python-send-command)
2008 (python-setup-brm, python-sentinel, python-set-proc)
2009 (python-skip-out, python-input-filter, python-outdent-p)
2010 (python-outline-level, python-backslash-continuation-line-p)
2011 (python-end-of-block, python-end-of-statement, python-mark-block)
2012 (python-beginning-of-block, python-beginning-of-statement)
2013 (python-blank-line-p, python-beginning-of-string)
2014 (python-open-block-statement-p): Delete functions.
2015 (python-indent-line, python-indent-line-1): Delete functions.
2016 (python-indent-line): New function.
2017 (python-indentation-levels): Delete function.
2018 (python-indent-calculate-levels): New function.
2019 (python-proc): Delete function.
2020 (python-shell-get-process): New function.
2021 (python-send-receive): Delete function.
2022 (python-shell-send-string-no-output): New function.
2023 (python-module-path): Delete function.
2024 (python-ffap-module-path): New function.
2025 (python-completion-at-point)
2026 (python-symbol-completions): Delete functions.
2027 (python-completion-complete-at-point): New function.
2028 (python-load-file): Delete function.
2029 (python-shell-send-file): New function.
2030 (python-calculate-indentation): Delete function.
2031 (python-indent-calculate-indentation): New function.
2032 (python-skip-comments/blanks): Delete function.
2033 (python-util-forward-comment): New function.
2034 (python-continuation-line-p): Delete function.
2035 (python-info-continuation-line-p): New function.
2036 (python-which-func, python-current-defun): Delete function.
2037 (python-info-current-defun): New function.
2038 (python-beginning-of-defun): Delete function.
2039 (python-nav-beginning-of-defun): New function.
2040 (python-close-block-statement-p)
2041 (python-block-end-p): Delete function.
2042 (python-info-closing-block): New function.
2043 (python-comint-output-filter-function)
2044 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2045 (python-fill-comment, python-fill-decorator, python-fill-paren)
2046 (python-fill-string, python-imenu-make-element-tree)
2047 (python-imenu-make-tree, python-imenu-tree-assoc)
2048 (python-indent-context, python-indent-dedent-line)
2049 (python-indent-line-function)
2050 (python-indent-post-self-insert-function)
2051 (python-indent-toggle-levels)
2052 (python-info-assignment-continuation-line-p)
2053 (python-info-beginning-of-backlash)
2054 (python-info-block-continuation-line-p)
2055 (python-info-closing-block-message)
2056 (python-info-line-ends-backslash-p)
2057 (python-info-looking-at-beginning-of-defun)
2058 (python-info-ppss-context, python-info-ppss-context-type)
2059 (python-nav-list-defun-positions, python-nav-read-defun)
2060 (python-nav-sentence-end, python-nav-sentence-start)
2061 (python-pdbtrack-comint-output-filter-function)
2062 (python-pdbtrack-set-tracked-buffer)
2063 (python-shell-calculate-exec-path)
2064 (python-shell-calculate-process-environment)
2065 (python-shell-completion--do-completion-at-point)
2066 (python-shell-completion--get-completions)
2067 (python-shell-completion-complete-at-point)
2068 (python-shell-completion-complete-or-indent)
2069 (python-shell-get-or-create-process)
2070 (python-shell-get-process-name)
2071 (python-shell-internal-get-or-create-process)
2072 (python-shell-internal-get-process-name)
2073 (python-shell-internal-send-string, python-shell-make-comint)
2074 (python-shell-parse-command, python-shell-send-setup-code)
2075 (python-skeleton-add-menu-items)
2076 (python-util-clone-local-variables, python-util-position)
2077 (run-python-internal, python-indentation-levels)
2078 (python-nav-beginning-of-defun)
2079 (python-completion-complete-at-point): New functions.
2080 (run-python): Change arguments. New API requirements.
2081
4302f5ba
SM
20822012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2083
f38ea36d
SM
2084 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2085 (bug#11649).
2086
2087 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2088 (macroexp--expand-all): Use it.
2089
4302f5ba
SM
2090 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2091 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2092 Use `cl-function' instead.
2093
33377562
JB
20942012-06-14 Juanma Barranquero <lekktu@gmail.com>
2095
2096 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2097 Suggested by Stefan Monnier while discussing bug#11657.
2098
54c5ba1a
SS
20992012-06-14 Sam Steingold <sds@gnu.org>
2100
2101 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2102
f9f1b1fe
AS
21032012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2104
2105 * play/doctor.el (doctor-doc): Remove parameter and use
2106 doctor-sent instead of sent.
2107 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2108
a81068ba
SM
21092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2110
5a315f9c
SM
2111 * files.el: Require cl-lib.
2112 (file-name-non-special): Replace case -> cl-case.
2113
2114 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2115
a81068ba
SM
2116 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2117 mapping from #' to function*.
2118
8cca9703
CY
21192012-06-13 Chong Yidong <cyd@gnu.org>
2120
2121 * mouse.el (mouse-drag-track): Do not set the mark if the user
2122 releases the mouse without selecting anything (Bug#11588).
2123
a12ac9d7
SM
21242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2125
ccf1dc18
SM
2126 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2127 as well (bug#11646).
2128
ef62b23d
SM
2129 * loadup.el: Count byte-code functions as well.
2130
c4c8444a
SM
2131 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2132 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2133
a12ac9d7
SM
2134 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2135 (bug#11649). Add cl-defun and cl-defmacro.
2136
87e6e64f
DA
21372012-06-13 Drew Adams <drew.adams@oracle.com>
2138
2139 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2140 Fix last change.
2141
682cefaf
MA
21422012-06-13 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2145 Otherwise, it blocks in batch mode.
2146
773e1f08
JB
21472012-06-13 Juanma Barranquero <lekktu@gmail.com>
2148
2149 * help-mode.el (bookmark-make-record-default): Declare.
2150
60057926
CY
21512012-06-13 Chong Yidong <cyd@gnu.org>
2152
2153 * emacs-lisp/package.el (list-packages): Compute a list of
2154 packages that are newly-available since the last list-packages
2155 invocation.
2156 (package-menu--new-package-list): New var.
2157 (package-menu--generate, package-menu--print-info)
2158 (package-menu--status-predicate, package-menu-mark-install):
2159 Handle new status label "new".
2160
ad4d226c
SM
21612012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2164 conversion to backquotes.
2165
f1a4e679
CY
21662012-06-12 Chong Yidong <cyd@gnu.org>
2167
2168 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2169 Rename from gud-inhibit-global-bindings.
2170
2171 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2172
2173 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2174 hook from nxml-glyph-set-hook.
2175
2176 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2177 declaration.
2178
2179 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2180
2181 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2182 Convert to defcustom.
2183
0c9e42b5
DA
21842012-06-12 Drew Adams <drew.adams@oracle.com>
2185
2186 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2187 New functions.
2188 (help-mode): Use them.
2189
09e06855
GM
21902012-06-11 Glenn Morris <rgm@gnu.org>
2191
2192 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2193 Use preprocessor face for directives.
2194 (fortran-directive-re): Doc fix.
2195
71adb94b
SM
21962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2eb87922
SM
2198 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2199 conversion to backquotes (bug#11652).
2200
71adb94b
SM
2201 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2202 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2203 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2204 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2205 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2206 (cl-ninth, cl-tenth): Mark them as inlinable.
2207 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2208 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2209 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2210 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2211 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2212 (cl-list*, cl-adjoin): Don't put an autoload manually.
2213 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2214 (cl--compiler-macro-list*): Add autoload cookie.
2215 (cl--compiler-macro-cXXr): New function.
2eb87922 2216
71adb94b
SM
2217 * help-fns.el (help-fns--compiler-macro): New function extracted from
2218 describe-function-1; follow aliases and use `compiler-macro' property.
2219 (describe-function-1): Use it.
2220
a6674402
CY
22212012-06-11 Chong Yidong <cyd@gnu.org>
2222
2223 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2224 is uninstalled, if imagemagick is installed.
2225
bb3faf5b
SM
22262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * emacs-lisp/cl-lib.el: Use lexical-binding.
2229 (cl-map-extents, cl-maclisp-member): Remove.
2230 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2231 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2232 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2233 * emacs-lisp/cl-extra.el: Use lexical-binding.
2234 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2235 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2236 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2237 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2238 * emacs-lisp/cl-seq.el: Use lexical-binding.
2239 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2240 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2241 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2242 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2243 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2244 CL's internals.
2245
2fe4b125
MA
22462012-06-11 Michael Albinus <michael.albinus@gmx.de>
2247
2248 Sync with Tramp 2.2.6-pre.
2249
2250 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2251 `print-length' and `print-level' to nil, in order to avoid
2252 truncation. Reported by Christopher Schmidt
2253 <christopher@ristopher.com>.
2254
2255 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2256
2257 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2258 New defmacro.
2259 (tramp-compat-copy-directory): Add optional argument
2260 COPY-CONTENTS. It is not handled yet.
2261
2262 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2263 (tramp-ftp-file-name-p): Simplify.
2264
2265 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2266 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2267 connection vector.
2268
2269 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2270 (tramp-methods): Do not use `tramp-password-end-of-line'.
2271 (tramp-completion-function-alist-putty): Handle UNIX case.
2272 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2273 (tramp-do-file-attributes-with-stat)
2274 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2275 gid as real numbers. They could run out of integer range on cygwin.
2276 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2277 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2278 (tramp-open-connection-setup-interactive-shell):
2279 Use `tramp-cleanup'. Move check for busyboxes ...
2280 (tramp-find-shell): ... here. Simplify implementation.
2281 Set "remote-shell" property also for alternative shells.
2282 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2283 If failing, a regular file would be written otherwise.
2284 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2285 (tramp-find-inline-encoding): Cache the coding commands in the
2286 process cache. Apply test command on the remote side, if defined.
2287 (tramp-find-inline-compress): Cache the compress commands in the
2288 process cache.
2289 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2290 when requested. Handle hops.
2291 (tramp-current-connection): New defvar.
87e6e64f
DA
2292 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2293 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2294 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2295 (tramp-get-inline-compress, tramp-get-inline-coding):
2296 Read connection properties from the process cache.
2fe4b125
MA
2297
2298 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2299 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2300 New defconsts.
2fe4b125
MA
2301 (tramp-smb-prompt): Extend for powershell prompt.
2302 (tramp-smb-file-name-handler-alist): Add handlers for
2303 `process-file', `shell-command' and `start-file-process'.
2304 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2305 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2306 (tramp-smb-file-name-p): Simplify.
2307 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2308 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2309 (tramp-smb-shell-quote-argument): New defuns.
2310 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2311 Implement using "tar". By this, time-stamps are preserved.
2312 (tramp-smb-handle-copy-file): Handle also the case of directories.
2313 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2314 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2315 Use `tramp-get-connection-buffer').
2fe4b125
MA
2316 (tramp-smb-handle-rename-file): Use "rename", when source and
2317 target are on the same share.
87e6e64f
DA
2318 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2319 Use `tramp-smb-server-version'.
2fe4b125
MA
2320 (tramp-smb-wait-for-output): Remove prompt.
2321
2322 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2323 (tramp-methods, tramp-rsh-end-of-line):
2324 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2325 (tramp-save-ad-hoc-proxies): New defcustom.
2326 (tramp-completion-function-alist): Adapt docstring.
2327 (tramp-default-password-end-of-line): Remove defcustom.
2328 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2329 (tramp-user-regexp, tramp-file-name-regexp-unified)
2330 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2331 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2332 (tramp-remote-file-name-spec-regexp): New defconst.
2333 (tramp-file-name-structure): Extend structure for hops.
2334 (tramp-get-method-parameter): Move up.
2335 (tramp-file-name-p, tramp-dissect-file-name)
2336 (with-parsed-tramp-file-name): Handle hops.
2337 (tramp-file-name-hop): New defun.
2338 (tramp-make-tramp-file-name): New optional arg HOP.
2339 (tramp-message-show-progress-reporter-message): New defvar.
2340 (tramp-with-progress-reporter): Use it. We cannot use
2341 `tramp-message-show-message' here, because this suppresses also
2342 error buffers.
2343 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2344 `tramp-message-show-message' is nil.
2345 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2346 (tramp-cleanup): New defun.
2347 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2348 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2349 an error unchanged.
2350 (tramp-completion-handle-file-name-all-completions): Handle hops.
2351 Fix an error when called from ido.
2352 (tramp-completion-dissect-file-name): Use better local variable
2353 name. Add hop to the vector.
2354 (tramp-handle-insert-file-contents): Use progress-reporter for the
2355 whole scenario.
2356 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2357 to `t'.
2358 (tramp-check-for-regexp): Simplify search.
2359 (tramp-enter-password): Remove it. Move implementation ...
2360 (tramp-action-password): ... here.
2361 (tramp-mode-string-to-int, tramp-local-host-p)
2362 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2363 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2364 Set tramp-autoload cookie.
2fe4b125
MA
2365
2366 * net/trampver.el: Update release number.
2367
23682012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2369 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2372 (tramp-parse-group, tramp-parse-file)
2373 (tramp-parse-shostkeys-sknownhosts): New defuns.
2374 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2375 (tramp-parse-shosts-group, tramp-parse-sconfig)
2376 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2377 (tramp-parse-sknownhosts, tramp-parse-hosts)
2378 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2379 Use them.
2380 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2381 (tramp-parse-putty-group): Don't narrow.
2382 (tramp-parse-putty): Make a loop.
2383 (tramp-file-name-handler): Catch the `suppress' signal.
2384
72834e10
CY
23852012-06-11 Chong Yidong <cyd@gnu.org>
2386
2387 * image.el (imagemagick-register-types): Put the ImageMagick entry
2388 at the end of image-type-file-name-regexps.
2389
a4712e11
JB
23902012-06-11 Johan Bockgård <bojohan@gnu.org>
2391
2392 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2393 (pcase, pcase-let*, pcase-dolist): Use them.
2394
82ad98e3
SM
23952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/pcase.el (pcase--let*): New function.
2398 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2399 (pcase--expand): Use macroexp-let².
2400
f80efb86
SM
24012012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2404 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2405 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2406 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2407 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2408 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2409
31ca4639 24102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2411
31ca4639
CY
2412 * mail/rmail.el (rmail-yank-current-message): Leave point at
2413 correct position. (Bug#11660)
94f0aa34 2414
31ca4639 24152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2416
31ca4639 2417 * allout-widgets.el: Fix code header.
9e1b8ec4 2418
31ca4639 24192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2420
f80efb86
SM
2421 * cus-edit.el (customize-changed-options-previous-release):
2422 Bump to 24.1.
31ca4639 2423
642b6d30
AS
24242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2425
2426 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2427
4f5d2ba1
CY
24282012-06-09 Chong Yidong <cyd@gnu.org>
2429
2430 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2431
e75852fd
MR
24322012-06-09 Martin Rudalics <rudalics@gmx.at>
2433
2434 * window.el (special-display-popup-frame): Don't use
2435 window--display-buffer (Bug#11651).
2436
1e48e282
EZ
24372012-06-09 Eli Zaretskii <eliz@gnu.org>
2438
8a26b487
EZ
2439 Fix parallel builds: make sure loaddefs.el is not being written
2440 while Lisp files are compiled.
2441 (compile): Don't depend on 'mh-autoloads'.
2442 (compile-CMD, compile-SH): Depend on 'autoloads'.
2443 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2444
1e48e282
EZ
2445 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2446
6175e34b
CY
24472012-06-09 Chong Yidong <cyd@gnu.org>
2448
2449 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2450 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2451 Doc fixes (Bug#11225).
2452
d9857e53
SM
24532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2456 a function if there's a clear indication that it has a compiler-macro.
2457 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2458 (macro-declarations-alist): Add arglist to declaration functions.
2459 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2460 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2461 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2462 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2463 Also add autoload to find the compiler macro.
2464 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2465 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2466 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2467 (cl--compiler-macro-get): New functions, replacing calls to
2468 cl-define-compiler-macro.
2469 (cl-typep) [compiler-macro]: Use macroexp-let².
2470
f81298f8 24712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2472
2473 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2474 string properly, fixes Bug#11473.
2475
4b56d0fe
CY
24762012-06-08 Chong Yidong <cyd@gnu.org>
2477
2478 * faces.el (set-face-attribute): Doc fix.
2479 (modify-face): Don't use :bold and :italic.
2480 (error, warning, success): Tweak definitions.
2481
2482 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2483 (custom-modified, custom-set, custom-changed, custom-themed)
2484 (custom-saved, custom-button, custom-button-mouse)
2485 (custom-button-pressed, custom-state, custom-comment-tag)
2486 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2487 (custom-group-subtitle): Use new-style face specs.
2488 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2489 (custom-set-face, custom-changed-face, custom-saved-face)
2490 (custom-button-face, custom-button-pressed-face)
2491 (custom-documentation-face, custom-state-face)
2492 (custom-comment-face, custom-comment-tag-face)
2493 (custom-variable-tag-face, custom-variable-button-face)
2494 (custom-face-tag-face, custom-group-tag-face-1)
2495 (custom-group-tag-face): Remove obsolete face alias.
2496
2497 * epa.el (epa-validity-high, epa-validity-medium)
2498 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2499 (epa-field-name, epa-field-body):
2500 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2501 (font-lock-keyword-face, font-lock-builtin-face)
2502 (font-lock-function-name-face, font-lock-variable-name-face)
2503 (font-lock-type-face, font-lock-constant-face):
2504 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2505 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2506 * speedbar.el (speedbar-button-face, speedbar-file-face)
2507 (speedbar-directory-face, speedbar-tag-face)
2508 (speedbar-selected-face, speedbar-highlight-face)
2509 (speedbar-separator-face):
2510 * whitespace.el (whitespace-newline, whitespace-space)
2511 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2512 (whitespace-line, whitespace-space-before-tab)
2513 (whitespace-space-after-tab, whitespace-indentation)
2514 (whitespace-empty):
2515 * emulation/cua-base.el (cua-global-mark):
2516 * eshell/em-prompt.el (eshell-prompt):
2517 * net/newst-plainview.el (newsticker-new-item-face)
2518 (newsticker-old-item-face, newsticker-immortal-item-face)
2519 (newsticker-obsolete-item-face, newsticker-date-face)
2520 (newsticker-statistics-face, newsticker-default-face):
2521 * net/newst-reader.el (newsticker-feed-face)
2522 (newsticker-extra-face, newsticker-enclosure-face):
2523 * net/newst-treeview.el (newsticker-treeview-face)
2524 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2525 (newsticker-treeview-immortal-face)
2526 (newsticker-treeview-obsolete-face)
2527 (newsticker-treeview-selection-face):
2528 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2529 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2530 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2531 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2532 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2533 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2534 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2535 (mpuz-text):
2536 * progmodes/vera-mode.el (vera-font-lock-number)
2537 (vera-font-lock-function, vera-font-lock-interface):
2538 * textmodes/table.el (table-cell): Use new-style face specs, and
2539 don't use the old :bold and :italic attributes.
2540
2541 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2542 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2543 (ebrowse-member-class, ebrowse-progress): Likewise.
2544 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2545 (ebrowse-file-name-face, ebrowse-default-face)
2546 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2547 (ebrowse-progress-face): Remove obsolete faces.
2548
2549 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2550 Inherit from error and warning faces respectively.
2551
2552 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2553 Likewise.
f80efb86
SM
2554 (flyspell-incorrect-face, flyspell-duplicate-face):
2555 Remove obsolete aliases.
4b56d0fe 2556
03310646
MA
25572012-06-08 Michael Albinus <michael.albinus@gmx.de>
2558
2559 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2560 Avoid infloop.
2561
513749ee
SM
25622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * startup.el (argv, argi): Make lexically scoped.
2565 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2566 * emacs-lisp/cl-macs.el: Use lexical-binding.
2567 Rename cl-bind-* to cl--bind-*.
2568 * files.el: Don't require `cl' since it doesn't use it.
2569 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2570
595ef4ad
JB
25712012-06-08 Juanma Barranquero <lekktu@gmail.com>
2572
2573 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2574 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2575 instead of calling external sort utility.
2576 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2577
e9f66fcb
EZ
25782012-06-08 Eli Zaretskii <eliz@gnu.org>
2579
2580 * descr-text.el (describe-char): Mention how to insert the
2581 character, if the current input method doesn't support it.
2582 See the discussion in this thread for the details:
2583 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2584
3d10db47
SS
25852012-06-08 Sam Steingold <sds@gnu.org>
2586
2587 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2588 XF86Back to previous-buffer.
2589 (minibuffer-local-map): Bind them to next-history-element and
2590 previous-history-element respectively.
2591 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2592 help-go-back respectively.
2593 * info.el (Info-mode-map): Bind them to Info-history-forward and
2594 Info-history-back respectively.
2595 These are the keys next to Up on the ThinkPad keyboard.
2596
de7e2b36
SM
25972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2600 * emacs-lisp/cl-macs.el: Provide itself.
2601 (cl--labels-convert-cache): New var.
2602 (cl--labels-convert): New function.
2603 (cl-flet, cl-labels): New implementation with new semantics, relying on
2604 lexical-binding.
2605 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2606 (cl-closure-vars, cl--function-convert-cache)
2607 (cl--function-convert): Move from cl-macs.el.
2608 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2609 rename by removing the "cl-" prefix.
2610 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2611
6fa6c4ae
SM
26122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2615 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2616 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2617 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2618 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2619 (cl-hash-table-count): Add old compatibility aliases.
2620
2621 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2622 Use macroexpand-all-environment instead.
2623 (cl--old-macroexpand): New var.
2624 (cl--sm-macroexpand): New function.
2625 (cl-symbol-macrolet): Use it during macro expansion.
2626 (cl--function-convert-cache): New var.
2627 (cl--function-convert): New function, extracted from
2628 cl-macroexpand-all.
2629 (cl-lexical-let): Use it.
2630
2631 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2632 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2633 (cl-member): Remove old alias.
2634
2635 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2636 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2637 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2638 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2639 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2640 (cl-macroexpand-cmacs): Remove var.
2641 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2642 Use macroexpand-all instead.
2643
4dd1c416
SM
26442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2647 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2648 (macroexp-copyable-p): New functions and macros.
2649 * emacs-lisp/edebug.el (edebug-unwrap):
2650 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2651 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2652 (pcase--let*): Remove.
2653 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2654 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2655 macroexp-const-p instead.
2656 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2657
2658 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2659 instead of "cl-" for internal definitions. Use macroexp-const-p.
2660 (cl-old-bc-file-form): Remove var.
2661 (cl-const-exprs-p): Remove fun.
2662 (cl-labels, cl-macrolet): Use backquote.
2663 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2664 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2665 (cl-define-setf-expander): Rename from cl-define-setf-method.
2666 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2667
2668 * international/mule-cmds.el: Don't require CL.
2669 (view-hello-file): Don't use `letf'.
2670
ed8bd4d7
SM
26712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2672
7287f2f3
SM
2673 * tmm.el (tmm-prompt): Use string-prefix-p.
2674 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2675 (tmm-add-prompt): Use minibuffer-completion-help.
2676 (tmm-delete-map): Remove.
2677
ed8bd4d7
SM
2678 * subr.el (kbd): Make it its own function.
2679
7b4cdbf4
SM
26802012-06-07 Stefan Merten <smerten@oekonux.de>
2681
2682 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2683 Silence compiler warnings. Fix versions.
ed8bd4d7 2684 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2685 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2686 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2687 (rst-package-emacs-version-alist): Correct Emacs version to
2688 represent major merge with upstream.
ed8bd4d7 2689 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2690
2b48d721
GM
26912012-06-06 Glenn Morris <rgm@gnu.org>
2692
2693 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2694 Only print environment variables if set.
2695
fa779ab0
SM
26962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2699 (macroexp--cons): Rename from maybe-cons.
2700 (macroexp--accumulate): Rename from macroexp-accumulate.
2701 (macroexp--all-forms): Rename from macroexpand-all-forms.
2702 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2703 (macroexp--expand-all): Rename from macroexpand-all-1.
2704
628299e0
SS
27052012-06-06 Sam Steingold <sds@gnu.org>
2706
2707 * calendar/calendar.el (calendar-in-read-only-buffer):
2708 Call `special-mode' to enable the standard read-only keybindings.
2709
b7bb5838
SM
27102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2713 with "loading" messages (bug#11635).
2714
dfb308ba
MA
27152012-06-06 Michael Albinus <michael.albinus@gmx.de>
2716
2717 * files.el (enable-remote-dir-locals): New option.
2718 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2719
0372ee92
MA
2720 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2721 Ensure, that the temp directory is local.
2722
2723 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2724 `temporary-file-directory'.
2725
eed0bb91
MA
2726 * progmodes/python.el (python-send-region): Ensure, that the
2727 temporary file is created also in the remote case.
2728
7a58f64d
GM
27292012-06-06 Glenn Morris <rgm@gnu.org>
2730
f7dd4e98
GM
2731 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2732 (vc-rcs-update-changelog): Use it.
2733
090bd7cb 2734 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2735
7a58f64d
GM
2736 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2737 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2738 (vc-sccs-diff): Replace use of the external vcdiff script.
2739
daed4003
GM
27402012-06-05 Glenn Morris <rgm@gnu.org>
2741
2742 * ledit.el: Move to obsolete/.
2743
48c455c7
SS
27442012-06-05 Sam Steingold <sds@gnu.org>
2745
ed9265fc 2746 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2747 patch (Bug#11140).
2748
57a7d507
SM
27492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2750
090bd7cb 2751 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2752
53aacf21
SM
2753 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2754 compiler-macro expansion.
2755
57a7d507
SM
2756 Add native compiler-macro support.
2757 * emacs-lisp/macroexp.el (macroexpand-all-1):
2758 Support compiler-macros directly. Properly follow aliases and apply
2759 the compiler macros more thoroughly.
2760 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2761 macroexpand now properly follows aliases.
2762 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2763 (cl-compiler-macroexpand): Use new prop.
2764 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2765
2766 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2767
51a5f9d8
MR
27682012-06-05 Martin Rudalics <rudalics@gmx.at>
2769
2770 * window.el (get-lru-window, get-mru-window, get-largest-window):
2771 New argument NOT-SELECTED to avoid picking the selected window.
2772 (window--display-buffer-1, window--display-buffer-2): Replace by
2773 new function window--display-buffer
2774 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2775 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2776 Use window--display-buffer.
51a5f9d8
MR
2777 (display-buffer-use-some-window): Remove temporary dedication
2778 hack by calling get-lru-window and get-largest-window with
2779 NOT-SELECTED argument non-nil. Call window--display-buffer.
2780
08f9f738
GM
27812012-06-05 Glenn Morris <rgm@gnu.org>
2782
2783 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2784 Replace external vcdiff script.
2785
e364a2b7
SM
27862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2789
041df390
CY
27902012-06-04 Chong Yidong <cyd@gnu.org>
2791
e364a2b7
SM
2792 * image.el (imagemagick-types-inhibit): Revert last change.
2793 Add INFO and M.
47b36b94 2794 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2795
7c1898a7
SM
27962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * emacs-lisp/cl-lib.el: Rename from cl.el.
2799 * emacs-lisp/cl.el: New compatibility file.
2800 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2801 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2802 to obey the "cl-" prefix.
2803 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2804
0c3461de
GM
28052012-06-03 Glenn Morris <rgm@gnu.org>
2806
1e266c88
GM
2807 * emacs-lisp/authors.el (authors-aliases): Addition.
2808
0c3461de
GM
2809 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2810 Fix :version.
2811
d8a52e15
SM
28122012-06-03 Stefan Merten <smerten@oekonux.de>
2813
2814 * textmodes/rst.el: Add comments.
2815 (rst-transition, rst-adornment): New faces.
2816 (rst-adornment-faces-alist): Make default safe to reevaluate.
2817 Fixes
2818 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2819 Improve customization tags.
2820 (rst-define-level-faces): Clarify meaning.
2821
5205d6f6
CY
28222012-06-03 Chong Yidong <cyd@gnu.org>
2823
2824 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2825 (compilation-mode-line-run, compilation-mode-line-exit):
2826 New faces.
5205d6f6
CY
2827 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2828
757ee657
JD
28292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2830
7c1898a7
SM
2831 * progmodes/which-func.el (which-func-update-ediff-windows):
2832 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2833
5f2c76c6
CY
28342012-06-03 Chong Yidong <cyd@gnu.org>
2835
2836 * bindings.el: Remove explicit help text from format-mode-line.
2837 It is now supplied by mode-line-default-help-echo.
2838 (mode-line-front-space, mode-line-end-spaces)
2839 (mode-line-misc-info): New variables.
2840 (mode-line-modes, mode-line-position): Move the default value to
2841 the variable definition.
2842 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2843 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2844 (mode-line-modified-help-echo): New functions.
2845 (mode-line-mule-info, mode-line-modified): Use them.
2846 (mode-line-eol-desc, propertized-buffer-identification):
2847 Consistency fixes for help text.
cbe46e5f
CY
2848 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2849 set-buffer-file-coding-system (Bug#289).
2850 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2851
f2d6a3df
SM
28522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * simple.el (execute-extended-command): Set real-this-command
2855 (bug#11506).
2856
37269466
CY
28572012-06-02 Chong Yidong <cyd@gnu.org>
2858
2859 Remove incorrect uses of "modeline" in comments, docstrings, and
2860 function/variable names (Bug#10329).
2861
2862 * cus-edit.el (mode-line):
2863 * dframe.el (dframe-mouse-hscroll):
2864 * emacs-lisp/re-builder.el:
2865 * emacs-lisp/easy-mmode.el (define-minor-mode):
2866 * frame.el (set-frame-name):
2867 * help.el (lookup-minor-mode-from-indicator):
2868 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2869 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2870 (c-toggle-hungry-state):
2871 * progmodes/antlr-mode.el (antlr-language-alist):
2872 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2873 * progmodes/vhdl-mode.el (vhdl-mode):
2874 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2875 * term/ns-win.el (ns-face-at-pos):
2876 * term/sup-mouse.el (sup-mouse-report):
2877 * textmodes/flyspell.el (flyspell-mode-line-string):
2878 * textmodes/ispell.el (ispell-highlight-face):
2879 * textmodes/reftex-global.el:
2880 * vc/vc-arch.el (vc-arch-mode-line-string):
2881 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2882 * vc/vc-git.el (vc-git-mode-line-string):
2883 * vc/vc-hooks.el (vc-display-status)
2884 (vc-default-mode-line-string):
2885 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2886
2887 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2888
2889 * dired.el (dired-sort-set-mode-line): Rename from
2890 dired-sort-set-modeline. All callers changed.
2891
2892 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2893 eshell-status-in-modeline.
2894
2895 * foldout.el (foldout-mode-line-string): Rename from
2896 foldout-modeline-string. All callers changed.
2897 (foldout-update-mode-line): Rename from foldout-update-modeline.
2898
2899 * subr.el (redraw-modeline): Make into obsolete alias.
2900
2901 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2902 timeclock-modeline-display. Make old name an alias.
2903 (timeclock-update-mode-line): Likewise. All callers changed.
2904 (timeclock-mode-line-display): No need to check before using
2905 add-hook.
2906 (timeclock-relative, timeclock-day-over-hook)
2907 (timeclock-use-elapsed, timeclock-mode-string)
2908 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2909
2910 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2911 crisp-mode-modeline-string.
2912
2913 * play/solitaire.el (solitaire-build-mode-line): Rename from
2914 solitaire-build-modeline. All callers changed.
2915
2916 * play/zone.el (zone-hiding-mode-line): Rename from
2917 zone-hiding-modeline. All callers changed.
2918 (zone): Remove unusued `modeline-hidden-level' property.
2919
2920 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2921 xscheme-modeline-initialize. All callers changed.
2922
2923 * strokes.el (strokes-lighter): Rename from
2924 strokes-modeline-string.
2925
2926 * textmodes/sgml-mode.el (html-face-tag-alist)
2927 (html-tag-face-alist): Use mode-line face instead of obsolete
2928 alias modeline.
2929
42152ee4
SM
29302012-06-02 Stefan Merten <smerten@oekonux.de>
2931
2932 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2933 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2934
95f520b5
CY
29352012-06-02 Chong Yidong <cyd@gnu.org>
2936
2937 * image.el (imagemagick-enabled-types): Rename from
2938 imagemagick-types-enable. Add many more types.
2939 (imagemagick-types-inhibit): Change default to nil.
2940 (imagemagick-filter-types): Caller changed.
2941
4a5f187a
SM
29422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2943
03fef3e6
SM
2944 * emacs-lisp/cl-macs.el: Use backquotes.
2945 (cl-transform-function-property): Use eval-and-compile rather than
2946 abusing `require'.
2947 (defstruct): Use declare-function instead of with-no-warnings.
2948
4a5f187a
SM
2949 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2950 (byte-compile-output-docform): Re-add the print-circle bindings.
2951 (byte-compile-fix-header): Use #$ just because it's shorter.
2952 (byte-compile-output-file-form): Remove defun/defmacro.
2953
bd56924f
MR
29542012-06-01 Martin Rudalics <rudalics@gmx.at>
2955
2956 * simple.el (choose-completion): Remove now obsolete binding for
2957 owindow.
2958
046e38ce
MA
29592012-06-01 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2962 in order to avoid "Stack overflow in regexp matcher".
2963
32d72c2f
GM
29642012-05-31 Glenn Morris <rgm@gnu.org>
2965
2966 * image.el: For clarity, call imagemagick-register-types at
2967 top-level, rather than relying on a custom :initialize.
2968 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2969 (imagemagick-filter-types): New function. (Bug#7406)
2970 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2971 If disabling support, remove elements altogether rather
2972 than using an impossible regexp.
2973 (imagemagick-types-inhibit): Give it the default init function.
2974
dd41169b
SM
29752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2976
4a5f187a
SM
2977 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2978 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2979
efc00ab1 29802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2981
2982 * desktop.el (desktop-read): Clear previous and next buffers for
2983 all windows and bury *Messages* buffer (bug#11556).
2984
500fcedc
SM
29852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 Add `declare' for `defun'. Align `defmacro's with it.
2988 * emacs-lisp/easy-mmode.el (define-minor-mode)
2989 (define-globalized-minor-mode): Don't autoload the var definitions.
2990 * emacs-lisp/byte-run.el: Use lexical-binding.
2991 (defun-declarations-alist, macro-declarations-alist): New vars.
2992 (defmacro, defun): Use them.
2993 (make-obsolete, define-obsolete-function-alias)
2994 (make-obsolete-variable, define-obsolete-variable-alias):
2995 Use `declare'.
2996 (macro-declaration-function): Mark obsolete.
2997 * emacs-lisp/autoload.el: Use lexical-binding.
2998 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2999
6e8a1786
AM
30002012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3001
3002 * textmodes/ispell.el (ispell-with-no-warnings):
3003 Define as a macro.
500fcedc
SM
3004 (ispell-kill-ispell, ispell-change-dictionary):
3005 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3006 `interactive-p'.
3007
61b108cc
SM
30082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3011 (macro-declaration-function): Move var from C code.
3012 (macro-declaration-function): Define function with defalias.
3013 * emacs-lisp/macroexp.el (macroexpand-all-1):
3014 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3015 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3016 defun/defmacro any more.
3017 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3018 Provide fallback for unknown arglist.
3019 (byte-compile-arglist-warn): Change calling convention.
3020 (byte-compile-output-file-form): Move print-vars binding.
3021 (byte-compile-output-docform): Simplify accordingly.
3022 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3023 (byte-compile-defmacro-declaration): Remove.
3024 (byte-compile-file-form-defmumble): Generalize to defalias.
3025 (byte-compile-output-as-comment): Return byte-positions.
3026 Simplify callers accordingly.
3027 (byte-compile-lambda): Use `assert'.
3028 (byte-compile-defun, byte-compile-defmacro): Remove.
3029 (byte-compile-file-form-defalias):
3030 Use byte-compile-file-form-defmumble.
3031 (byte-compile-defalias-warn): Remove.
3032
6d3f7c2f
SM
30332012-05-29 Stefan Merten <smerten@oekonux.de>
3034
3035 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3036 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3037
3038 (rst-mode-abbrev-table): Merge definition.
3039 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3040 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3041
6dbaa1c7
UJ
30422012-05-29 Ulf Jasper <ulf.jasper@web.de>
3043
3044 * calendar/icalendar.el
3045 (icalendar-export-region): Export UID properly.
3046
d209e2fb 30472012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3048 * calendar/icalendar.el (icalendar-import-format):
3049 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3050 (icalendar-import-format-uid): New.
3051 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3052 Export UID.
3053
6876a58d
SM
30542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3057 different alternative patterns.
3058 (pcase-codegen): Be more careful to preserve identity.
3059 (pcase--u1): Don't forget to mark vars as used.
3060
3061 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3062 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3063 (byte-compile-from-buffer): ...rather than here.
3064
3065 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3066 functions from byte-compile-function-environment.
3067
46b7967e
TN
30682012-05-29 Troels Nielsen <bn.troels@gmail.com>
3069
3070 * window.el (window-deletable-p): Avoid deleting the root window
3071 of a frame with an active minibuffer.
3072
69d565e2
MR
30732012-05-29 Martin Rudalics <rudalics@gmx.at>
3074
3075 * simple.el (choose-completion): Use quit-window (Bug#11567).
3076
a149fa51
CY
30772012-05-29 Chong Yidong <cyd@gnu.org>
3078
3079 * whitespace.el (whitespace-cleanup): Fix usage of
3080 whitespace-empty-at-bob-regexp (Bug#11492).
3081
2b311310
AH
30822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3083
3084 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3085 revert (Bug#11488).
3086
b9cb2387
JL
30872012-05-29 Juri Linkov <juri@jurta.org>
3088
3089 * isearch.el (isearch-mode-map): Bind `M-s _' to
3090 `isearch-toggle-symbol'. Bind `M-s c' to
3091 `isearch-toggle-case-fold'.
3092 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3093 (isearch-forward): Add `M-s _' to the docstring.
3094 (isearch-forward-symbol, isearch-toggle-case-fold)
3095 (isearch-symbol-regexp): New functions. (Bug#11381)
3096
d5e61c1c
JL
30972012-05-29 Juri Linkov <juri@jurta.org>
3098
3099 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3100 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3101 a function, call it to get the regexp.
3102 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3103 property `isearch-message-prefix' instead of the string "word ".
3104 (isearch-search-fun-default): For the case of `isearch-word',
3105 return a lambda that calls re-search-forward/re-search-backward
3106 with a regexp returned by `word-search-regexp' or by the function
3107 in `isearch-word'.
3108
8cbd80f7
JL
31092012-05-29 Juri Linkov <juri@jurta.org>
3110
3111 * isearch.el (isearch-search-fun-default): New function.
3112 (isearch-search-fun): Move default part to the new function
3113 `isearch-search-fun-default'.
3114 (isearch-search-fun-function): Set the default value to
3115 `isearch-search-fun-default'. (Bug#11381)
3116
3117 * comint.el (comint-history-isearch-end):
3118 Use `isearch-search-fun-default'.
3119 (comint-history-isearch-search): Use `isearch-search-fun-default'
3120 and remove spacial case for `isearch-word'.
3121 (comint-history-isearch-wrap): Remove spacial case for
3122 `isearch-word'.
3123
3124 * hexl.el (hexl-isearch-search-function):
3125 Use `isearch-search-fun-default'.
3126
3127 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3128 Use `word-search-regexp' for `isearch-word'.
3129
3130 * misearch.el (multi-isearch-search-fun):
3131 Use `isearch-search-fun-default'.
3132
3133 * simple.el (minibuffer-history-isearch-search):
3134 Use `isearch-search-fun-default' and remove spacial case for
3135 `isearch-word'.
3136 (minibuffer-history-isearch-wrap): Remove spacial case for
3137 `isearch-word'.
3138
3139 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3140 Remove spacial case for `isearch-word'.
3141 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3142
85c8c5b6
AM
31432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3144
3145 Decrease XEmacs incompatibilities.
3146 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3147 Use `string-match'.
3148 (flyspell-delete-region-overlays): Use alternative definition for
3149 XEmacs.
3150 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3151 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3152 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3153 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3154 `define-obsolete-face-alias' under XEmacs, but old method.
3155
3156 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3157 `with-no-warnings' definition or Emacs alias.
3158 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3159 (ispell-word): Do not use `region-p' if XEmacs.
3160
8cab9efc
AM
31612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3162
3163 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3164 Check for `ispell-dictionary-base-alist' instead of full
3165 `ispell-dictionary-alist'.
3166 (ispell-init-process): Show spellchecker when starting new Ispell
3167 process.
3168
fda91268
RZ
31692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3172 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3173
694ea8e3
JB
31742012-05-27 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * version.el (motif-version-string, gtk-version-string)
3177 (ns-version-string): Declare.
3178
e4d4f539
JL
31792012-05-27 Juri Linkov <juri@jurta.org>
3180
3181 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3182 after the `eval-defun-1' specialcaseing
3183 like in `edebug-eval-defun' (bug#10181).
3184
3185 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3186 like in `eval-defun-1'.
3187
33017faf 31882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3189
fda91268
RZ
3190 * mail/sendmail.el (mail-yank-region):
3191 Recognize rmail-yank-current-message in addition to insert-buffer.
3192 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3193 a *mail* buffer created through rmail-start-mail with sendmail as
3194 mail-user-agent.
3195
33017faf
GM
31962012-05-27 Chong Yidong <cyd@gnu.org>
3197
3198 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3199 Default to 256 (Bug#11267).
3200
3201 * help.el (describe-mode): Doc fix.
3202
04188bb9
GM
32032012-05-26 Glenn Morris <rgm@gnu.org>
3204
38264cc9
GM
3205 * w32-fns.el (w32-init-info): Remove.
3206 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3207
eb7afdad
GM
3208 * info.el (info-initialize): For self-contained NS builds, put the
3209 included info/ directory at the front. (Bug#2791)
3210
04188bb9
GM
3211 * paths.el (Info-default-directory-list): Make it a defcustom,
3212 mainly so that we can use custom-initialize-delay.
3213
a179e3f7
SM
32142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3215
43416392
SM
3216 * subr.el (buffer-has-markers-at): Mark obsolete.
3217
a179e3f7 3218 * subr.el (lambda): Use declare.
43416392 3219
a179e3f7
SM
3220 * emacs-lisp/lisp-mode.el (lambda):
3221 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3222
34a008d9
AH
32232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3224
3225 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3226
0a3b289f
GM
32272012-05-26 Glenn Morris <rgm@gnu.org>
3228
3229 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3230
758c81e8
GM
32312012-05-25 Glenn Morris <rgm@gnu.org>
3232
f9f334f0
GM
3233 * paths.el: Remove no-byte-compile.
3234 * loadup.el: No need to load paths.el uncompiled.
3235
87eb79c2
GM
3236 * image.el (imagemagick-types-inhibit): Doc fix.
3237
758c81e8
GM
3238 * version.el: Remove no-byte-compile and associated formatting.
3239 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3240 is ancient code from when there was an "inc-vers.el".
3241
e7e85dc0
SM
32422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * progmodes/gdb-mi.el: Minor style changes.
3245 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3246 Turn into minor modes.
3247 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3248 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3249 (gdb-shell): Remove unneeded let-binding.
3250 (gdb-get-many-fields): Eliminate O(n²) behavior.
3251
f31237a4
EZ
32522012-05-25 Eli Zaretskii <eliz@gnu.org>
3253
3254 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3255 platforms that don't link in fontset.c.
3256
bc1b21bb
JL
32572012-05-25 Juri Linkov <juri@jurta.org>
3258
3259 Use the same diff color scheme as in modern VCSes (bug#10181).
3260
3261 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3262 to avoid confusion with `diff-added' that now uses green colors.
3263 (diff-removed): Use shades of red.
3264 (diff-added): Use shades of green.
3265 (diff-changed): Leave just the yellow color.
3266 (diff-use-changed-face): New variable.
3267 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3268 how to highlight context diff changes.
3269 (diff-refine-change): Use shades of yellow.
3270 (diff-refine-removed): New face that uses shades of red.
3271 (diff-refine-added): New face that uses shades of green.
3272 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3273 `diff-refine-removed' in the call to `smerge-refine-subst'
3274 depending on the value of `diff-use-changed-face'.
3275
3276 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3277 (smerge-other): Use shades of green.
3278 (smerge-base): Use shades of yellow.
3279 (smerge-refined-change): Empty face.
3280 (smerge-refined-removed): New face that uses shades of red.
3281 (smerge-refined-added): New face that uses shades of green.
3282 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3283 args `props-r' and `props-a', and use them. Doc fix.
3284 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3285 on its value use different faces `smerge-refined-change',
3286 `smerge-refined-removed', `smerge-refined-added' in the call to
3287 `smerge-refine-subst'.
3288
3289 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3290 Add face condition `min-colors 88' with shades of red.
3291 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3292 `min-colors 88' with shades of green.
3293 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3294 `min-colors 88' with shades of yellow.
3295
6df9112c
GM
32962012-05-24 Glenn Morris <rgm@gnu.org>
3297
ead5edc0
GM
3298 * paths.el (prune-directory-list, remote-shell-program): Move to...
3299 * files.el (prune-directory-list, remote-shell-program): ...here.
3300 For the latter, delay initialization, prefer ssh, just search PATH.
3301
f18b81e6
GM
3302 * paths.el (term-file-prefix): Move to faces.el (the only user).
3303 * faces.el (term-file-prefix): Move here, make it a defcustom.
3304
ee2f89a6
GM
3305 * paths.el (news-directory, news-path, news-inews-program):
3306 Move to gnus/nnspool.el.
61a583ca 3307
f8815e4c
GM
3308 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3309
c8f3b42c
GM
3310 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3311 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3312 Make the latter a defcustom, with a delayed initialization.
3313
6df9112c
GM
3314 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3315 These were deleted from Gnus itself late 2010.
3316
5dadff36
JB
33172012-05-22 Juanma Barranquero <lekktu@gmail.com>
3318
9e1701c6
JB
3319 * progmodes/which-func.el (which-func-ff-hook):
3320 Check against user-error, not error.
3321
bd7239f5 3322 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3323 cl-specs.el, which no longer exists.
3324
3290526d
GM
33252012-05-22 Glenn Morris <rgm@gnu.org>
3326
3327 * info.el (info-emacs-bug): New command.
3328 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3329 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3330
ff0c3cfb
GM
33312012-05-21 Glenn Morris <rgm@gnu.org>
3332
3333 * makefile.w32-in (update-subdirs-SH):
3334 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3335
5814f126
SM
33362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3337
a52c0aa0
SM
3338 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3339
5814f126
SM
3340 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3341 Simplify Maven regexp, and make sure the file can't start with a space
3342 (bug#11517).
3343
b847032c
GM
33442012-05-21 Glenn Morris <rgm@gnu.org>
3345
3346 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3347 Scrap superfluous subshells.
3348
3858bfe7
SM
33492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3352 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3353
d14b0029
JB
33542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3355
3356 * calc/calc.el (calc-ensure-consistent-units): New variable.
3357
a52c0aa0
SM
3358 * calc/calc-units.el (math-consistent-units-p)
3359 (math-check-unit-consistency): New functions.
3360 (calc-quick-units, calc-convert-units):
3361 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3362 is non-nil.
d14b0029
JB
3363 (calc-extract-units): Fix typo.
3364
60c4db3a
SM
33652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3366
77f3b62e
SM
3367 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3368
60c4db3a
SM
3369 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3370 (flyspell-default-deplacement-commands): Don't spell check after
3371 repeated window/frame switches (e.g. triggered by mouse-movement).
3372 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3373 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3374 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3375 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3376 Remove unused vars.
3377 (flyspell-get-casechars, flyspell-get-not-casechars):
3378 Simplify; Don't bother removing a ] just to add it back.
3379 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3380
d209e2fb 33812012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3382
3383 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3384 New functions.
bd7239f5 3385 (math-function-table): Add support for more C functions.
b1a10716 3386
3f1b25b5
AM
33872012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3388
090bd7cb
JB
3389 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3390 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3391 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3392
b581bb5c
SM
33932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3396 their respective macro declarations.
3397 * skeleton.el (define-skeleton):
3398 * progmodes/compile.el (define-compilation-mode):
3399 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3400 (define-ibuffer-filter):
3401 * emacs-lisp/generic.el (define-generic-mode):
3402 * emacs-lisp/easy-mmode.el (define-minor-mode)
3403 (define-globalized-minor-mode):
3404 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3405 * emacs-lisp/byte-run.el (defsubst):
3406 * custom.el (deftheme): Add doc-string metadata.
3407
70b8ef8f
SM
34082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3411
b1198e17
SM
34122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3413
9abdc45d
SM
3414 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3415
b1198e17
SM
3416 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3417 * emacs-lisp/cl-macs.el: Idem.
3418 * emacs-lisp/cl-specs.el: Remove.
3419
4735906a
SM
34202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 Minor renaming of internal CL functions and variables.
3423 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3424 (cl--position): Rename from cl-position.
3425 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3426 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3427 (cl--random-state): Rename from *random-state*.
3428
ac348012
SM
34292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3432 parens around the arg list (bug#11499).
3433
a0a79cde
JL
34342012-05-17 Juri Linkov <juri@jurta.org>
3435
3436 * isearch.el (word-search-regexp, word-search-backward)
3437 (word-search-forward, word-search-backward-lax)
3438 (word-search-forward-lax): Move functions from search.c
3439 (bug#10145, bug#11381).
3440
65034a51
AM
34412012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3442
090bd7cb
JB
3443 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3444 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3445 Delay for otherchars as for normal word components.
65034a51 3446
1a72a195
SM
34472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * minibuffer.el (completion--sifn-requote): Fix last change.
3450 (minibuffer-local-must-match-filename-map):
3451 Move define-obsolete-variable-alias before its var.
3452
fdb058c2
SM
34532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3454
c41045e6
SM
3455 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3456
036dfb8b
SM
3457 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3458 behavior.
3459 (completion--string-equal-p): New function.
3460 (completion--twq-all): Use it to get better assertion failure data.
3461
2473256d
SM
3462 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3463 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3464 (shell--requote-argument): New functions.
3465 (shell-completion-vars): Use them.
3466 (shell--parse-pcomplete-arguments): Rename from
3467 shell-parse-pcomplete-arguments.
3468 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3469 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3470 Obey comint-file-name-quote-list.
3471
fdb058c2
SM
3472 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3473 (smie-indent-keyword): Use it.
3474
51fa99f1
SM
34752012-05-14 Stefan Merten <smerten@oekonux.de>
3476
3477 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3478
e18afed7 34792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3480
3481 * net/rlogin.el (rlogin-mode-map): Fix last change.
3482
e18afed7 34832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3484
3485 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3486 the following \r\n using a single `process-send-string', since the
3487 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3488 with two `process-send-string's (Bug#11444).
8633b1f4 3489
e18afed7 34902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3491
fdb058c2
SM
3492 * shell.el (shell-parse-pcomplete-arguments):
3493 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3494
2d21d7f6
WJ
34952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3496
e18afed7 3497 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3498 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3499 (image-transform-width, image-transform-fit-width): New functions.
3500 (image-transform-properties): Use them.
3501 (image-transform-check-size): New function.
3502 (image-toggle-display-image): Use it (for testing).
3503 (image-transform-set-rotation): Reduce angle mod 360.
3504 Delete obsolete comment.
3505
7102e6d0
WJ
35062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3507
3508 * image-mode.el: Fix scaling (bug#11399).
3509 (image-transform-resize): Doc fix.
3510 (image-transform-properties): Default scale is 1 and height should
3511 be an integer.
3512
06bc5e6e
SM
35132012-05-13 Johan Bockgård <bojohan@gnu.org>
3514
3515 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3516 than hard-coding `car', to fix misbehavior when moving forward.
3517
0ae03b6a
CY
35182012-05-13 Chong Yidong <cyd@gnu.org>
3519
3520 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3521 (tabulated-list-entries, tabulated-list-padding)
3522 (tabulated-list-sort-key): Make permanent-local.
3523
3524 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3525 (electric-buffer-list): Put electric buffer menu
3526 command descriptions in this docstring, instead of the docstring
3527 of electric-buffer-menu-mode. Code cleanups.
3528 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3529 Electric-buffer-menu-mode.
3530 (electric-buffer-update-highlight): Minor code cleanup.
3531
205a7391
MA
35322012-05-13 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3535 (Bug#11447)
3536
e5bd0a28
SM
35372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 Move define-obsolete-variable-alias before the var's definition.
3540 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3541 * tooltip.el (tooltip-hook):
3542 * textmodes/reftex-toc.el (reftex-toc-map):
3543 * textmodes/reftex-sel.el (reftex-select-label-map)
3544 (reftex-select-bib-map):
3545 * textmodes/reftex-index.el (reftex-index-map)
3546 (reftex-index-phrases-map):
3547 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3548 * progmodes/meta-mode.el (meta-mode-map):
3549 * novice.el (disabled-command-hook):
3550 * loadhist.el (unload-hook-features-list):
3551 * frame.el (blink-cursor):
3552 * files.el (find-file-not-found-hooks, write-file-hooks)
3553 (write-contents-hooks):
3554 * emulation/tpu-edt.el (GOLD-map):
3555 * emacs-lock.el (emacs-lock-from-exiting):
3556 * emacs-lisp/generic.el (generic-font-lock-defaults):
3557 * emacs-lisp/chart.el (chart-map):
3558 * dos-fns.el (register-name-alist):
3559 * dired-x.el (dired-omit-files-p):
3560 * desktop.el (desktop-enable):
3561 * cus-edit.el (custom-mode-hook):
3562 * buff-menu.el (buffer-menu-mode-hook):
3563 * bookmark.el (bookmark-read-annotation-text-func)
3564 (bookmark-exit-hooks):
3565 * allout.el (allout-mode-deactivate-hook)
3566 (allout-exposure-change-hook, allout-structure-added-hook)
3567 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3568 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3569 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3570 comes before the corresponding variable's definition.
3571
ac59c2f6
CY
35722012-05-12 Chong Yidong <cyd@gnu.org>
3573
3574 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3575 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3576 (Buffer-menu-mode-map): Bind it.
3577 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3578
dee6c9a3
SM
35792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3580
2171cea5
SM
3581 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3582 (prolog-upper-case-string, prolog-lower-case-string)
3583 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3584 (prolog-use-smie, prolog-smie-grammar): New vars.
3585 (prolog-smie-forward-token, prolog-smie-backward-token)
3586 (prolog-smie-rules): New funs.
3587 (prolog-comment-indent): Remove.
3588 (prolog-mode-variables): Use default comment indentation instead.
3589 Setup SMIE.
3590 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3591 (prolog-mode): Don't call them any more.
3592 (prolog-electric-colon, prolog-electric-dash)
3593 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3594
aa0382bd
SM
3595 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3596
dbacb4bd
SM
3597 * minibuffer.el (completion--twq-all): Again, allow case differences.
3598
13bdd94c
SM
3599 * term.el: Move keymap initialization code to be more idiomatic.
3600 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3601 (term-terminal-menu): Move initialization into declaration.
3602 (term-escape-char): Let the user set it in her .emacs.
3603
ff46c759
SM
3604 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3605 Provide SMIE-based indentation (not enabled by default yet).
3606 (sh-mode-map): Don't bind electric keys.
3607 Use electric-pair-mode instead of skeleton-pair.
3608 (sh-assignment-regexp): Fit within 80 columns.
3609 (sh-indent-supported): Specify actual shell name instead of boolean.
3610 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3611 (sh-maybe-here-document): Use it. Make obsolete.
3612 (sh-electric-here-document-mode) New minor mode.
3613 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3614 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3615 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3616 (sh-smie-rc-grammar, sh-use-smie): New vars.
3617 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3618 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3619 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3620 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3621 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3622 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3623 (sh-set-shell): Use smie-setup if requested.
3624
dee6c9a3
SM
3625 * term.el (term-set-escape-char): Properly set term-escape-char.
3626 See http://stackoverflow.com/questions/10524656.
3627
9f9aa044
CY
36282012-05-10 Chong Yidong <cyd@gnu.org>
3629
3630 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3631 Use url-generic-parse-url, and handle host names and Windows
3632 filenames properly.
3633 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3634 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3635 URL schemes to work on.
3636 (ffap--toggle-read-only): New function.
3637 (ffap-read-only, ffap-read-only-other-window)
3638 (ffap-read-only-other-frame): Use it.
3639 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3640 necessary for ffap-url-unwrap-remote.
3641
836d29b3
DA
36422012-05-10 Dave Abrahams <dave@boostpro.com>
3643
3644 * cus-start.el (create-lockfiles): Add it.
3645
00fd78ed
CY
36462012-05-09 Chong Yidong <cyd@gnu.org>
3647
3648 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3649 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3650
666b903b 36512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3652
3653 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3654
666b903b 36552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3656
3657 * ansi-color.el (ansi-color-process-output): Check for validity of
3658 comint-last-output-start before using it. This avoids a bad
3659 interaction with gdb-mi's input/output buffer.
3660
666b903b 36612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3662
3663 * files.el (dir-locals-read-from-file):
3664 Mention dir-locals in any error message.
3665
666b903b 36662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3667
3668 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3669 package (Bug#11410).
3670
f677562b
CY
3671 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3672 variables into description.
3673
666b903b 36742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3675
3676 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3677 shell-delimiter-argument-list (bug#11348).
3678 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3679
b499d8d0
JB
36802012-05-09 Juanma Barranquero <lekktu@gmail.com>
3681
8f6b6da8
JB
3682 * textmodes/rst.el: Silence byte-compiler warnings.
3683 (rst-re-alist, rst-reset-section-caches): Move around.
3684 (rst-re): Use `characterp', not `char-valid-p'.
3685 (font-lock-beg, font-lock-end): Declare.
3686
4824146a
JB
3687 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3688 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3689
b499d8d0
JB
3690 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3691
ad89bb83
GM
36922012-05-08 Glenn Morris <rgm@gnu.org>
3693
3694 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3695
8bba5a75
SM
36962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3697
49ed9c8e
SM
3698 * vc/log-edit.el: Add GNU coding standards highlighting.
3699 (log-edit-font-lock-gnu-style)
3700 (log-edit-font-lock-gnu-keywords): New vars.
3701 (log-edit-font-lock-keywords): New fun.
3702 (log-edit-mode): Don't fold case in font-lock.
3703 (log-edit-font-lock-keywords): Do not assume case-folding.
3704
07d00b56
SM
3705 * imenu.el: Misc cleanup. Make docstrings out of comments.
3706 Use lexical-binding.
3707 (imenu--index-alist, imenu--last-menubar-index-alist)
3708 (imenu-menubar-modified-tick): Use defvar-local.
3709 (imenu--split-menu): Remove unused var.
3710 (imenu--cleanup-seen): Declare as global.
3711 (imenu--cleanup): Use dolist.
3712
8bba5a75
SM
3713 * subr.el (defvar-local): Add debug spec and doc-string position.
3714
5075bdb5
GM
37152012-05-08 Glenn Morris <rgm@gnu.org>
3716
090bd7cb 3717 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3718 * language/english.el, language/georgian.el, language/greek.el:
3719 * language/japanese.el, language/khmer.el, language/korean.el:
3720 * language/lao.el, language/misc-lang.el, language/romanian.el:
3721 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3722 * language/thai.el, language/utf-8-lang.el:
3723 Remove no-byte-compile setting.
3724
5075bdb5
GM
3725 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3726
06f679a7
AH
37272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3728
3729 * progmodes/make-mode.el (makefile-browse):
3730 Remove unnecessary interactive. (Bug#11324)
3731
03794570
GM
37322012-05-07 Glenn Morris <rgm@gnu.org>
3733
af8630f4
GM
3734 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3735
03794570
GM
3736 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3737
f0809a9d
SM
37382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3739
28be5ce7
SM
3740 * loadup.el: Preload newcomment.el.
3741 * newcomment.el: Move autoload-only code to toplevel.
3742
f0809a9d
SM
3743 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3744 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3745 Handle new :right-align column property.
3746 (tabulated-list-print-col): Idem, plus use `display' text-property to
3747 try and preserve alignment for variable pitch fonts.
3748
1241b724
CY
37492012-05-07 Chong Yidong <cyd@gnu.org>
3750
3751 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3752 (tabulated-list-use-header-line): New var.
3753 (tabulated-list-init-header): Use it.
3754 (tabulated-list-print-fake-header): New function.
3755 (tabulated-list-print): Use it.
3756 (tabulated-list-sort-button-map): Add non-header-line commands.
3757 (tabulated-list-init-header): Add column name property to basic
3758 labels as well.
3759 (tabulated-list-col-sort): Handle non-header-line button case.
3760 (tabulated-list--sort-by-column-name): Fix a corner case.
3761
f0809a9d
SM
3762 * buff-menu.el (list-buffers--refresh):
3763 Handle Buffer-menu-use-header-line.
1241b724 3764
e5f9458f
CY
37652012-05-06 Chong Yidong <cyd@gnu.org>
3766
3767 * buff-menu.el: Convert to Tabulated List mode.
3768 (Buffer-menu-buffer+size-width): Make obsolete.
3769 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3770 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3771 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3772 documentation into docstring of buffer-menu.
3773 (Buffer-menu-toggle-files-only): Add an informative message.
3774 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3775 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3776 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3777 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3778 (Buffer-menu-execute, Buffer-menu-select)
3779 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3780 (Buffer-menu-bury): Use Tabulated List machinery.
3781 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3782 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3783 Delete.
e5f9458f
CY
3784 (list-buffers--refresh): New function.
3785 (list-buffers-noselect): Use it.
3786 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3787 (Buffer-menu--pretty-file-name): New helper functions.
3788
3789 * loadup.el: Preload tabulated-list.
3790
3791 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3792 tabulated-list-sort-column.
3793 (tabulated-list-init-header): Add the initial aligning space even
3794 if tabulated-list-padding is zero.
3795
e129292c
CS
37962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3797
3798 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3799 whose cdr is not a cons cell correctly (bug#11038).
3800
6632d361
CY
38012012-05-06 Chong Yidong <cyd@gnu.org>
3802
e129292c
CS
3803 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3804 Accept additional plist in column descriptors.
6632d361
CY
3805 (tabulated-list-init-header): Obey it.
3806 (tabulated-list-get-entry): New function.
3807 (tabulated-list-put-tag): Use it. Use string-width instead of
3808 length.
3809 (tabulated-list--column-number): New function.
3810 (tabulated-list-print): Use it.
e129292c
CS
3811 (tabulated-list-print-col): New function.
3812 Set `tabulated-list-column-name' property on each column's text.
6632d361 3813 (tabulated-list-print-entry): Use it.
e129292c
CS
3814 (tabulated-list-delete-entry, tabulated-list-set-col):
3815 New functions.
6632d361
CY
3816 (tabulated-list-sort-column): New command (Bug#11337).
3817
3cc99f68
CY
3818 * buff-menu.el (list-buffers): Move C-x C-b binding from
3819 buff-menu.el to bindings.el.
3820
3821 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3822 :advertised-binding feature.
3823
52b61776
TN
38242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3825
3826 * progmodes/compile.el (compilation-internal-error-properties):
3827 Calculate start position correctly when end-col is set but
3828 end-line is not (Bug#11382).
3829
ebfe2597
WJ
38302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3831
3832 * man.el (Man-unindent): Use text-property-default-nonsticky to
3833 prevent untabify from inheriting face properties (Bug#11408).
3834
6d3f7c2f
SM
38352012-05-05 Stefan Merten <smerten@oekonux.de>
3836
3837 * textmodes/rst.el: Major merge with upstream development up to
3838 Docutils SVN r7399 / rst.el V1.2.1.
3839
3840 Clarify maintainership and authors.
3841
3842 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3843 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3844 (rst-official-version, rst-official-cvs-rev, rst-version)
3845 (rst-package-emacs-version-alist): New functions and variables
3846 for version information.
3847
3848 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3849 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3850 (rst-mode-syntax-table, rst-mode): New and corrected functions
3851 and variables representing reStructuredText features.
3852
3853 (rst-re): New function for reStructuredText regexes. Use in
3854 many places.
3855
3856 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3857 (rst-mode-map): Rebind keys.
3858
3859 (rst-mode-lazy, rst-font-lock-keywords)
3860 (rst-font-lock-extend-region)
3861 (rst-font-lock-extend-region-internal)
3862 (rst-font-lock-extend-region-extend)
3863 (rst-font-lock-find-unindented-line-limit)
3864 (rst-font-lock-find-unindented-line-match)
3865 (rst-adornment-level, rst-font-lock-adornment-level)
3866 (rst-font-lock-adornment-match)
3867 (rst-font-lock-handle-adornment-pre-match-form)
3868 (rst-font-lock-handle-adornment-matcher): Major revision of
3869 font-locking. Integrate with other code. Use `jit-lock-mode'.
3870
3871 (rst-preferred-adornments, rst-adjust-hook)
3872 (rst-new-adornment-down, rst-preferred-bullets)
3873 (rst-preferred-bullets, rst-indent, rst-indent-width)
3874 (rst-indent-field, rst-indent-literal-normal)
3875 (rst-indent-literal-minimized, rst-indent-comment): Change,
3876 extend and improve customization.
3877
3878 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3879 (rst-normalize-cursor-position, rst-get-decoration)
3880 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3881 (rst-rstrip, rst-toc-insert-find-delete-contents)
3882 (rst-shift-fill-region, rst-compute-bullet-tabs)
3883 (rst-debug-print-tabs, rst-debug-mark-found)
3884 (rst-shift-region-guts, rst-shift-region-right)
3885 (rst-shift-region-left, rst-use-char-classes)
3886 (rst-font-lock-keywords-function)
3887 (rst-font-lock-indentation-point)
3888 (rst-font-lock-find-unindented-line-begin)
3889 (rst-font-lock-find-unindented-line-end)
3890 (rst-font-lock-find-unindented-line)
3891 (rst-font-lock-adornment-point, rst-font-lock-level)
3892 (rst-adornment-level-alist): Remove functions and variables.
3893
3894 (rst-compare-adornments, rst-get-adornment-match)
3895 (rst-suggest-new-adornment, rst-get-adornments-around)
3896 (rst-adornment-complete-p, rst-get-next-adornment)
3897 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3898 (rst-straighten-adornments): Standardize function names to
3899 use "adornment" instead of "decoration". Correct callers.
3900 Similar standardizing in many places.
3901
3902 (rst-update-section, rst-adjust, rst-promote-region)
3903 (rst-enumerate-region, rst-bullet-list-region)
3904 (rst-repeat-last-character): Correct use of `interactive'.
3905
3906 (rst-classify-adornment, rst-find-all-adornments)
3907 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3908 (rst-find-leftmost-column, rst-repeat-last-character):
3909 Refactor functions.
3910
3911 (rst-find-title-line, rst-reset-section-caches)
3912 (rst-get-adornments-around, rst-adjust-adornment-work)
3913 (rst-arabic-to-roman, rst-roman-to-arabic)
3914 (rst-insert-list-pos, rst-insert-list-new-item)
3915 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3916 New functions.
3917
3918 (rst-all-sections, rst-section-hierarchy)
3919 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3920 New variables.
3921
3922 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3923 configuration instead of only buffer. Change where necessary.
3924
3925 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3926 (rst-shift-region, rst-adaptive-fill): New functions for
3927 indentation and filling.
3928
3929 (rst-comment-line-break, rst-comment-indent)
3930 (rst-comment-insert-comment, rst-comment-region)
3931 (rst-uncomment-region): New functions for handling comments.
3932
3933 (rst-compile): Quote shell arguments.
3934
3935 (rst-compile-pdf-preview, rst-compile-slides-preview):
3936 Delete temporary files after use.
3937
a43f98b3
GM
39382012-05-05 Glenn Morris <rgm@gnu.org>
3939
48176e8b
GM
3940 * calendar/cal-html.el: Optionally include holidays in the output.
3941 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3942 (cal-html-holidays): New option.
3943 (cal-html-css-default): Add holiday entry.
3944 (holiday-in-range): Autoload it.
3945 (cal-html-htmlify-entry): Add optional class argument.
3946 (cal-html-htmlify-list): Add optional holidays argument.
3947 (cal-html-insert-agenda-days): Include holidays in the output.
3948 (cal-html-one-month): Maybe include holidays.
3949
a43f98b3
GM
3950 * calendar/holidays.el (holiday-in-range):
3951 Move here from cal-tex-list-holidays.
3952 * calendar/cal-tex.el (cal-tex-list-holidays):
3953 Make it an obsolete alias for holiday-in-range. Update all callers.
3954
fef9d149 39552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3956
3957 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3958 Nextstep.
3959
248da2f4
RW
39602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3961
3962 * files.el (file-auto-mode-skip): New var.
3963 (set-auto-mode-1): Use it.
3964
f95e9344
SM
39652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3966
df96ab1e
SM
3967 * repeat.el: Use lexical-binding.
3968 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3969 (repeat-undo-count): Remove.
3970 (repeat):
3971 * progmodes/octave-mod.el (octave-abbrev-start):
3972 * progmodes/f90.el (f90-abbrev-start):
3973 * face-remap.el (text-scale-adjust):
3974 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3975
5342bb06
SM
3976 * emacs-lisp/pcase.el (pcase--let*): New function.
3977 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3978 a bit more.
3979 (pcase--split-pred): Be more clever about ruling out overlap between
3980 a predicate and some constant pattern.
3981 (pcase--q1): Use `null' instead of (eq foo nil).
3982
f95e9344
SM
3983 * subr.el (setq-local, defvar-local): New macros.
3984 (kbd): Redefine as an alias.
3985 (with-selected-window): Leave unrelated frames alone.
3986 (set-temporary-overlay-map): New function.
3987
71873e2b
SM
39882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * subr.el (user-error): New function.
3991 * window.el (switch-to-buffer):
3992 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3993 (smerge-match-conflict):
3994 * simple.el (previous-matching-history-element)
3995 (next-matching-history-element, goto-history-element, undo-more)
3996 (undo-start):
3997 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3998 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3999 (next-file, tags-loop-scan, list-tags, complete-tag):
4000 * progmodes/compile.el (compilation-loop):
4001 * mouse.el (mouse-minibuffer-check):
4002 * man.el (Man-bgproc-sentinel, Man-goto-page):
4003 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4004 (Info-history-forward, Info-follow-reference, Info-menu)
4005 (Info-extract-menu-item, Info-extract-menu-counting)
4006 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4007 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4008 (Info-next-reference, Info-prev-reference, Info-index)
4009 (Info-index-next, Info-follow-nearest-node)
4010 (Info-copy-current-node-name):
4011 * imenu.el (imenu--make-index-alist)
4012 (imenu-default-create-index-function, imenu-add-to-menubar):
4013 * files.el (basic-save-buffer, recover-file):
4014 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4015 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4016 (checkdoc-message-text, checkdoc-defun):
4017 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4018 * cus-edit.el (customize-changed-options, customize-rogue)
4019 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4020 (custom-variable-mark-to-reset-standard)
4021 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4022 (custom-file):
4023 * completion.el (check-completion-length):
4024 * comint.el (comint-search-arg)
4025 (comint-previous-matching-input-string-position)
4026 (comint-previous-matching-input)
4027 (comint-replace-by-expanded-history-before-point, comint-send-input)
4028 (comint-copy-old-input, comint-backward-matching-input)
4029 (comint-goto-process-mark, comint-set-process-mark):
4030 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4031 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4032
8a61ee22
SM
40332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4034
66408d1e
SM
4035 * dabbrev.el (dabbrev--ignore-case-p): New function.
4036 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4037 Use it.
4038
8a61ee22
SM
4039 * files.el (automount-dir-prefix): Mark as obsolete.
4040
3c74813a
GM
40412012-05-04 Glenn Morris <rgm@gnu.org>
4042
4043 * patcomp.el, play/bruce.el: Move to obsolete/.
4044
0bfcf5c5
PE
40452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4046
4047 Fix minor Y10k bugs.
4048 * arc-mode.el (archive-unixdate):
4049 * autoinsert.el (auto-insert-alist):
4050 * calc/calc-forms.el (math-this-year):
4051 * emacs-lisp/copyright.el (copyright-current-year)
4052 (copyright-update-year, copyright):
4053 * tar-mode.el (tar-clip-time-string):
4054 * time.el (display-time-update):
4055 Don't assume years have 4 digits.
4056
78f3273a
CY
40572012-05-04 Chong Yidong <cyd@gnu.org>
4058
4059 * dos-w32.el (file-name-buffer-file-type-alist)
4060 (direct-print-region-use-command-dot-com):
4061 * ffap.el (ffap-menu-regexp):
4062 * find-file.el (ff-special-constructs):
4063 * follow.el (follow-debug):
4064 * forms.el (forms--debug):
4065 * iswitchb.el (iswitchb-all-frames):
4066 * ido.el (ido-all-frames):
4067 * emacs-lisp/timer.el (timer-max-repeats):
4068 * mail/feedmail.el (feedmail-mail-send-hook)
4069 (feedmail-mail-send-hook-queued):
4070 * mail/footnote.el (footnote-signature-separator):
4071 * mail/mailabbrev.el (mail-alias-separator-string)
4072 (mail-abbrev-mode-regexp):
4073 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4074 * progmodes/idlwave.el (idlwave-libinfo-file)
4075 (idlwave-default-completion-case-is-down)
4076 (idlwave-library-routines): Convert defvars to defcustoms.
4077
4078 * mail/rmail.el (rmail-decode-mime-charset):
4079 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4080 (idlwave-shell-fix-inserted-breaks)
4081 (idlwave-shell-activate-alt-keybindings)
4082 (idlwave-shell-use-breakpoint-glyph):
4083 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4084
f7ae6719
SM
40852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4086
4087 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4088
47086495
WS
40892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4090
4091 * progmodes/verilog-mode.el (font-lock-keywords):
4092 Fix mis-highligting auto. Reported by Craig Barner.
4093 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4094 defines from global name space. Reported by Dan Dever.
4095 (verilog-auto-reset, verilog-auto-reset-widths)
4096 (verilog-auto-tieoff): Support using unbased numbers for
4097 AUTORESET and AUTOTIEOFF.
4098 (verilog-submit-bug-report): Update variable list.
4099 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4100 parenthesis from not matching. Reported by Michael Rytting.
4101 (verilog-auto-template-lint): Fix hash error when linting modules
4102 with no used templates.
4103 (verilog-warn, verilog-warn-error)
4104 (verilog-warn-fatal): When non-interactive report multiple
4105 warnings before exiting. Suggested by Brad Dobbie.
4106 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4107 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4108 to report unused template errors. Reported by Brad Dobbie.
4109 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4110 nets, bug438. Reported by Vns Blore.
4111 (verilog-auto-inout-module, verilog-auto-reg)
4112 (verilog-read-decls, verilog-read-sub-decls-sig)
4113 (verilog-signals-edit-wire-reg, verilog-signals-with):
4114 Fix passing of Verilog data types in ANSI input/output ports
4115 such as "output logic" into the AUTOs. Special case "wire" and
4116 "reg" for backwards compatibility presuming Verilog 2001.
4117 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4118 (verilog-preprocess): Fix replication of preprocess output.
4119 Reported by Brad Dobbie.
4120 (verilog-auto-inst-interfaced-ports):
4121 Create verilog-auto-inst-interfaced-ports, bug429.
4122 Reported by Julian Gorfajn.
4123 (verilog-after-save-font-hook)
4124 (verilog-before-save-font-hook): New variable.
4125 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4126 (verilog-save-font-mods): Wrap disabling fontification, reported
4127 by David Rogoff.
4128 (verilog-do-indent, verilog-pretty-declarations-auto)
4129 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4130 Reported by Pierre-David Pfister.
4131 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4132 of class declarations, bug292. Reported by Kevin Heilman.
4133 (verilog-read-decls): Fix 'parameter type' not appearing in
4134 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4135 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4136 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4137 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4138 Reported by David Kravitz.
4139
41402012-05-03 Michael McNamara <mac@mail.brushroad.com>
4141
4142 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4143 assignment with tests in ifs and for loops.
4144 (verilog-extended-complete-re, verilog-complete-reg): Change so
4145 that DPI inport functions don't look like fuction declarations.
4146 (verilog-pretty-expr): Don't line up assignment
4147 operations to the test and increment in if and for loops
4148 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4149 that DPI inport functions don't look like fuction declarations.
47086495 4150
2e51d4b5
KH
41512012-05-03 Kenichi Handa <handa@m17n.org>
4152
4153 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4154 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4155 (Bug#11282).
4156
2bd785a2
SM
41572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * emacs-lisp/bytecomp.el
4160 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4161 since cconv.el might have introduced :fun-body, internal-make-closure,
4162 and friends for bytecomp to handle (bug#11391).
4163 * custom.el (defcustom): Avoid ((λ ..) ..).
4164
99d27583
SM
41652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4168
55a71479
JB
41692012-05-02 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * notifications.el (dbus-debug):
4172 * term/linux.el (gpm-mouse-enable):
4173 * term/screen.el (xterm-register-default-colors): Declare.
4174
7b97c764
CY
41752012-05-02 Chong Yidong <cyd@gnu.org>
4176
2bc356d7
CY
4177 * cus-start.el (gc-cons-percentage, exec-suffixes)
4178 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4179 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4180 (make-cursor-line-fully-visible, void-text-area-pointer)
4181 (font-list-limit): Add customization data.
4182
7b97c764
CY
4183 * allout.el (allout-exposure-change-functions)
4184 (allout-structure-added-functions)
4185 (allout-structure-deleted-functions)
4186 (allout-structure-shifted-functions): Rename abnormal hooks from
4187 *-hook, and convert to defcustoms.
5d3385a0
JB
4188 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4189 Convert to defcustoms.
7b97c764
CY
4190 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4191
4192 * allout-widgets.el: Hook callers changed.
4193
90207a15 41942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4195
4196 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4197 the yanked message in preference to the default value of
4198 buffer-file-coding-system.
4199
90207a15 42002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4201
5d3385a0
JB
4202 * window.el (display-buffer--action-function-custom-type):
4203 Fix entry.
d9558cad 4204
90207a15 42052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4206
4207 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4208
d80ac57b
GM
42092012-05-01 Glenn Morris <rgm@gnu.org>
4210
976f7668
GM
4211 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4212
beb83b5a
GM
4213 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4214
d80ac57b
GM
4215 * cus-edit.el (custom-variable-documentation): Simplify with format.
4216
b593d6a9 42172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4218 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4219
4220 * simple.el (suggest-key-bindings, execute-extended-command):
4221 Move from keyboard.c.
4222
782fbf2a
CY
42232012-05-01 Chong Yidong <cyd@gnu.org>
4224
4225 * follow.el: Eliminate advice.
4226 (set-process-filter, process-filter, sit-for): Advice deleted.
4227 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4228 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4229 Vars deleted.
782fbf2a
CY
4230 (follow-auto): Use a :set function.
4231 (follow-mode): Rewritten. Don't advise process filters.
4232 (follow-switch-to-current-buffer-all, follow-scroll-up)
4233 (follow-scroll-down): Assume follow-mode is bound.
4234 (follow-comint-scroll-to-bottom)
4235 (follow-align-compilation-windows): New functions.
4236 (follow--window-sorter): New function.
4237 (follow-all-followers): Use it to explicitly sort windows by their
4238 positions; don't make assumptions about next-window order.
4239 (follow-windows-start-end, follow-delete-other-windows-and-split)
4240 (follow-calc-win-start): Doc fix.
4241 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4242 vertical-motion unnecessarily.
4243 (follow-adjust-window): New function.
4244 (follow-post-command-hook): Use it.
4245 (follow-call-set-process-filter, follow-call-process-filter)
4246 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4247 (follow-stop-intercept-process-output, follow-generic-filter):
4248 Functions deleted.
4249 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4250 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4251 New functions, replacing advice on scroll-bar-* commands.
87233a14 4252 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4253
4254 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4255 (comint-postoutput-scroll-to-bottom): Use it.
4256 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4257
290af740
GM
42582012-05-01 Glenn Morris <rgm@gnu.org>
4259
4260 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4261 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4262 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4263 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4264 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4265 Remove no-byte-compile setting.
4266
6eac8dc9
SM
42672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4270 all-completions code to not return a number in the last cdr.
4271
9cc7819c
LL
42722012-04-30 Leo Liu <sdl.web@gmail.com>
4273
4274 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4275 read-only error.
4276
c93b886f
CY
42772012-04-29 Chong Yidong <cyd@gnu.org>
4278
4279 * follow.el (follow-calc-win-end): Rewrite to handle partial
4280 screen lines correctly (Bug#8390).
4281 (follow-avoid-tail-recenter): Minor cleanup.
4282
8b6c19f4
SM
42832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 Avoid the obsolete `assoc' package.
4286 * speedbar.el (speedbar-refresh): Avoid adelete.
4287 (speedbar-file-lists): Simplify and avoid aput.
4288 * man.el (Man--sections, Man--refpages): New vars, replacing
4289 Man-sections-alist and Man-refpages-alist.
4290 (Man-build-section-alist, Man-build-references-alist):
4291 Use them; avoid aput.
4292 (Man--last-section, Man--last-refpage): New vars.
4293 (Man-follow-manual-reference): Use them.
4294 Use the `default' arg of completing-read.
4295 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4296
c5bb7569
CY
42972012-04-27 Chong Yidong <cyd@gnu.org>
4298
d1d2e2e8
CY
4299 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4300
15cd8efd
CY
4301 * startup.el (x-apply-session-resources): New function.
4302
4303 * term/ns-win.el (ns-initialize-window-system):
4304 * term/w32-win.el (w32-initialize-window-system):
4305 * term/x-win.el (x-initialize-window-system): Use it to properly
4306 set menu-bar-mode and other vars from X resources, even if the
4307 initial frame is not a window-system frame (Bug#2299).
4308
c5bb7569
CY
4309 * subr.el (read-key): Avoid running filter function when setting
4310 up temporary tool bar entries (Bug#9922).
4311
a8e7d6d7 43122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4313
4314 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4315 (Bug#11344)
4316
a8e7d6d7 43172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4318
4319 * select.el (xselect--encode-string): New function, split from
4320 xselect-convert-to-string.
4321 (xselect-convert-to-string): Use it.
4322 (xselect-convert-to-filename, xselect-convert-to-os)
4323 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4324 returned strings are properly encoded (Bug#11315).
4325
a8e7d6d7 43262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4327
4328 * simple.el (delete-active-region): Move to killing custom group.
4329
a8e7d6d7 43302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4331
4332 * progmodes/which-func.el (which-func-current): Quote %
4333 characters for mode-line processing.
4334
578c1d4b 43352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4336
4337 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4338 reaching eob (Bug#11286).
4339
a8e7d6d7 43402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4341
4342 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4343 (gdb): Make it buffer-local and init to zero.
4344 (gdb-control-commands-regexp): New variable.
4345 (gdb-send): Don't wrap in "-interpreter-exec console" if
4346 gdb-control-level is positive. Increment gdb-control-level
4347 whenever the command matches gdb-control-commands-regexp, and
4348 decrement it each time the command is "end". (Bug#11279)
4349
a8e7d6d7 43502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4351
4352 * window.el (adjust-window-trailing-edge, enlarge-window)
4353 (shrink-window, window-resize):
4354 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4355 windows (Bug#11276).
4356
b3608390
CY
43572012-04-27 Chong Yidong <cyd@gnu.org>
4358
4359 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4360 fix "missing prefix" warning. All callers changed.
b3608390 4361
797e6e88
SM
43622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * emacs-lisp/assoc.el: Move to obsolete/.
4365
e95a67dc
SM
43662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4367
657c21e4 4368 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4369
4370 * term/ns-win.el (ns-define-service):
4371 * progmodes/pascal.el (pascal-goto-defun):
4372 * progmodes/js.el (js--read-tab):
4373 * progmodes/etags.el (tags-lazy-completion-table):
4374 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4375 * emacs-lisp/ewoc.el (ewoc--wrap):
4376 * emacs-lisp/assoc.el (aput, adelete, amake):
4377 * doc-view.el (doc-view-convert-current-doc):
4378 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4379
cb3e7ae0
CY
43802012-04-26 Chong Yidong <cyd@gnu.org>
4381
dce04f7f
CY
4382 * image.el (image-type-from-buffer): Only return supported image
4383 type (Bug#9045).
4384
cb3e7ae0
CY
4385 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4386 value, for symmetry with diff-end-of-hunk.
4387 (diff-split-hunk, diff-find-source-location)
4388 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4389 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4390 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4391 compute the relevant hunk or file properly (Bug#6005).
4392 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4393
0d42eb3e
SM
43942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * vc/vc-mtn.el:
4397 * vc/vc-hg.el:
4398 * vc/vc-git.el:
4399 * vc/vc-dir.el:
4400 * vc/vc-cvs.el:
4401 * vc/vc-bzr.el:
4402 * vc/vc-arch.el:
4403 * vc/vc.el: Replace lexical-let by lexical-binding.
4404 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4405 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4406 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4407
f08ae1c9
CY
44082012-04-26 Chong Yidong <cyd@gnu.org>
4409
8b71081d
CY
4410 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4411 (diff-mode-shared-map): Bind it to / and [remap undo].
4412
f08ae1c9
CY
4413 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4414 (ediff-window-setup-function): Use it as the default, to set up
4415 windows based on whether the current frame is graphical (Bug#2138).
4416 (ediff-choose-window-setup-function-automatically): Make obsolete.
4417
4418 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4419
ef24141c
SM
44202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4421
cc356a5d
SM
4422 * ffap.el: Remove old code for obsolete package.
4423 (ffap-complete-as-file-p): Remove.
4424
b4ff4f1f
SM
4425 Use completion-table-with-quoting for comint and pcomplete.
4426 * comint.el (comint--unquote&requote-argument)
4427 (comint--unquote-argument, comint--requote-argument): New functions.
4428 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4429 (comint-quote-filename): Use regexp-opt-charset.
4430 (comint--common-suffix, comint--common-quoted-suffix)
4431 (comint--table-subvert): Remove.
4432 (comint-unquote-function, comint-requote-function): New vars.
4433 (comint--complete-file-name-data): Use them with
4434 completion-table-with-quoting.
4435 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4436 * pcomplete.el (pcomplete-arg-quote-list)
4437 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4438 (pcomplete-unquote-argument-function): Default to non-nil.
4439 (pcomplete-unquote-argument): Simplify.
4440 (pcomplete--common-quoted-suffix): Remove.
4441 (pcomplete-requote-argument-function): New var.
4442 (pcomplete--common-suffix): New function.
4443 (pcomplete-completions-at-point): Use completion-table-with-quoting
4444 and completion-table-subvert.
4445
79c4eeb4
SM
4446 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4447 (minibuffer--double-dollars): Preserve properties.
4448 (completion--sifn-requote): New function.
4449 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4450
ef24141c
SM
4451 * minibuffer.el: Add support for completion of quoted/escaped data.
4452 (completion-table-with-quoting, completion-table-subvert): New funs.
4453 (completion--twq-try, completion--twq-all): New functions.
4454 (completion--nth-completion): New function.
4455 (completion-try-completion, completion-all-completions): Use it.
4456
784e7d6e
LL
44572012-04-25 Leo Liu <sdl.web@gmail.com>
4458
dd2ac746
SM
4459 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4460 Use compilation-message if available to find real filename.
784e7d6e 4461
07875ee7
CY
44622012-04-25 Chong Yidong <cyd@gnu.org>
4463
4464 * vc/diff-mode.el (diff-setup-whitespace): New function.
4465 (diff-mode): Use it.
4466
4467 * vc/diff.el (diff-sentinel):
4468 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4469 Whitespace mode variables based on diff style (Bug#8612).
4470
5055880d
LL
44712012-04-25 Leo Liu <sdl.web@gmail.com>
4472
daf75653
LL
4473 * progmodes/python.el (python-send-region): Add suffix .py to the
4474 temp file.
4475
5055880d
LL
4476 * files.el (auto-mode-alist): Use javascript-mode instead.
4477
db9b177b
AH
44782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4479
ef24141c 4480 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4481
090bd7cb 4482 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4483 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4484 references, see Bug#9.
ef24141c 4485 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4486 when receiving a fault reply.
ef24141c 4487 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4488
090bd7cb 4489 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4490 (soap-inspect-simple-type): New function.
db9b177b 4491
090bd7cb 4492 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4493 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4494 (soap-decode-basic-type, soap-encode-basic-type):
4495 support unsignedInt and double basic types.
db9b177b 4496 (soap-resolve-references-for-simple-type)
ef24141c
SM
4497 (soap-parse-simple-type, soap-encode-simple-type): New function.
4498 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4499
090bd7cb 4500 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4501 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4502 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4503 the local name of "soapenc:Array".
4504 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4505 decoding integer, byte and anyURI xsd types.
4506
1fc6097b
CY
45072012-04-25 Chong Yidong <cyd@gnu.org>
4508
4509 * cus-edit.el (custom-buffer-create-internal): Update header text.
4510
afc6df87
EZ
45112012-04-25 Eli Zaretskii <eliz@gnu.org>
4512
4513 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4514 settings on 'system-type', not on 'window-system'. On MS-Windows,
4515 set interactive-mode on in GDB.
4516
dfbd787f
SM
45172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4520 (ruby-syntax-propertize-regexp): Remove.
4521 (ruby-syntax-propertize-function): Split regexp into chunks.
4522 Match following code directly.
4523
85222d44
DG
45242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4525
51a8ea2a
DG
4526 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4527 (ruby-syntax-propertize-regexp): New function.
4528 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4529 by a special keyword.
4530
85222d44
DG
4531 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4532 (ruby-syntax-general-delimiters-goto-beg)
4533 (ruby-syntax-propertize-general-delimiters): New functions.
4534 (ruby-syntax-propertize-function): Use them to handle GDL.
4535 (ruby-font-lock-keywords): Move old handling of GDL...
4536 (ruby-font-lock-syntactic-keywords): .. to here.
4537 (ruby-calculate-indent): Adjust indentation for GDL.
4538
b613912b
MA
45392012-04-24 Michael Albinus <michael.albinus@gmx.de>
4540
b5380639
MA
4541 * notifications.el (top): Remove unneeded declarations.
4542 (notifications-specification-version): Change to "1.2".
e43042fe 4543 (notifications-interface, notifications-notify-method)
b613912b
MA
4544 (notifications-close-notification-method): Fix docstring.
4545 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4546 (notifications-notify): Add :action-items, :resident and
4547 :transient hints. Change "image_data" to "image-data" and
4548 "image_path" to "image-path".
b613912b
MA
4549 (notifications-get-capabilities): New defun.
4550
257440aa
LL
45512012-04-24 Leo Liu <sdl.web@gmail.com>
4552
4553 * progmodes/python.el: Move hideshow setup to the end.
4554
b1bac16e
MR
45552012-04-24 Martin Rudalics <rudalics@gmx.at>
4556
4557 * window.el (handle-select-window): Clear echo area since this is
4558 no more done by read_char (Bug#11304).
4559
d81bd059
SM
45602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4563 and `/ M' to filter-derived-mode.
4564 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4565 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4566 (ibuffer-mark-by-mode): Use default rather than initial-input.
4567 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4568
c4cf6d91
IA
45692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4570
4571 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4572 (ibuffer-filter-by-derived-mode): New filter.
4573 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4574
7511ded8
CY
45752012-04-23 Andreas Politz <politza@fh-trier.de>
4576
4577 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4578
775c916b
CY
45792012-04-23 Chong Yidong <cyd@gnu.org>
4580
4581 * cus-edit.el (customize-apropos, customize-apropos-options):
4582 Disable matching of non-option variables (Bug#11176).
4583 (customize-option, customize-option-other-window)
4584 (customize-changed-options): Doc fix.
4585 (customize-apropos-options, customize-apropos-faces)
4586 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4587
4588 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4589 Fix word list splitting (Bug#11132).
46c71e23
CY
4590 (apropos-symbol, apropos-keybinding, apropos-label)
4591 (apropos-property, apropos-function-button)
4592 (apropos-variable-button, apropos-misc-button): New faces.
4593 (apropos-symbol-face, apropos-keybinding-face)
4594 (apropos-label-face, apropos-property-face, apropos-match-face):
4595 Variables removed (Bug#8396).
4596 (apropos-library-button, apropos-format-plist, apropos-print)
4597 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4598
2df41f9c
MA
45992012-04-23 Michael Albinus <michael.albinus@gmx.de>
4600
4601 * net/xesam.el (xesam-mode-map): Use let-bound map in
4602 initialization. (Bug#11292)
4603
da00640a
AM
46042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4605
4606 Preserve ispell session localwords when switching back to
4607 original buffer.
4608
090bd7cb
JB
4609 * textmodes/ispell.el (ispell-buffer-session-localwords):
4610 New buffer-local variable to hold buffer session localwords.
ed9265fc 4611 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4612 localwords.
4613 (ispell-command-loop, ispell-change-dictionary)
4614 (ispell-buffer-local-words): Preserve session localwords when
4615 needed.
4616
090bd7cb
JB
4617 * textmodes/flyspell.el (flyspell-process-localwords)
4618 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4619
f621ccf5
AM
46202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4621
090bd7cb
JB
4622 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4623 using obsolete `translation-table-for-input'.
ef24141c
SM
4624 (ispell-word, ispell-process-line, ispell-complete-word):
4625 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4626
c2d1019e
CY
46272012-04-22 Chong Yidong <cyd@gnu.org>
4628
4629 * cus-edit.el (custom-variable-menu)
4630 (custom-variable-reset-saved, custom-face-menu)
4631 (custom-face-reset-saved): If there is no saved value, make the
4632 "reset-saved" operation bring back the default (Bug#9509).
4633 (custom-face-state): Properly detect themed faces.
4634
eeddc531
CY
4635 * faces.el (face-spec-set): Stop supporting deprecated form of
4636 third arg.
4637
dcbf5805
MA
46382012-04-22 Michael Albinus <michael.albinus@gmx.de>
4639
4640 Move functions from C to Lisp. Make non-blocking method calls
4641 the default. Implement further D-Bus standard interfaces.
4642
ef24141c
SM
4643 * net/dbus.el (dbus-message-internal): Declare function.
4644 Remove unneeded function declarations.
dcbf5805
MA
4645 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4646 (dbus-message-type-method-return, dbus-message-type-error)
4647 (dbus-message-type-signal): Declare variables. Remove local
4648 definitions.
4649 (dbus-interface-dbus, dbus-interface-peer)
4650 (dbus-interface-introspectable, dbus-interface-properties)
4651 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4652 Adapt docstring.
4653 (dbus-interface-objectmanager): New defconst.
4654 (dbus-call-method, dbus-call-method-asynchronously)
4655 (dbus-send-signal, dbus-method-return-internal)
4656 (dbus-method-error-internal, dbus-register-service)
4657 (dbus-register-signal, dbus-register-method): New defuns, moved
4658 from dbusbind.c
4659 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4660 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4661 New defuns.
dcbf5805
MA
4662 (dbus-call-method-non-blocking): Make it an obsolete function.
4663 (dbus-unregister-object, dbus-unregister-service)
4664 (dbus-handle-event, dbus-register-property)
4665 (dbus-property-handler): Obey the new structure of
4666 `bus-registered-objects'.
4667 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4668 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4669 Use `dbus-call-method'.
4670
cf20dee0
CY
46712012-04-22 Chong Yidong <cyd@gnu.org>
4672
4673 * cus-edit.el (custom-commands, custom-reset-menu)
4674 (Custom-reset-standard): Tweak labels.
4675 (custom-reset-button-menu): Change default to t.
4676 (custom-buffer-create-internal): For the custom-reset-button-menu
4677 case, put the revert button first.
4678 (custom-group-subtitle): New face.
4679 (custom-group-value-create): Align docstring to a specific column.
4680
4681 * wid-edit.el (widget-documentation-link-add): Don't handle
4682 indentation in this function.
4683 (widget-documentation-string-indent-to): New function.
4684 (widget-documentation-string-value-create): Use it.
4685
4686 * autorevert.el (auto-revert):
4687 * epg-config.el (epg):
4688 * ibuffer.el (ibuffer):
4689 * mpc.el (mpc):
4690 * ses.el (ses):
4691 * eshell/eshell.el (eshell):
4692 * net/ange-ftp.el (ange-ftp):
4693 * progmodes/ebnf2ps.el (postscript):
4694 * progmodes/flymake.el (flymake):
4695 * progmodes/prolog.el (prolog):
4696 * progmodes/verilog-mode.el (verilog-mode):
4697 * progmodes/which-func.el (which-func):
4698 * term/xterm.el (xterm):
4699 * textmodes/picture.el (picture):
4700 * textmodes/tildify.el (tildify):
4701 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4702 customization buffers.
4703
583e23bd
AM
47042012-04-22 Alan Mackenzie <acm@muc.de>
4705
4706 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4707 Adding a ) can hide the resulting (..) from searches. Fix it.
4708 Bound the backward search to the position of the existing (.
4709
7dd51bf1
JB
47102012-04-21 Juanma Barranquero <lekktu@gmail.com>
4711
4712 * progmodes/verilog-mode.el (verilog-mode): Check whether
4713 which-func-modes is t before adding verilog-mode.
4714 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4715
d64a438f
LL
47162012-04-21 Leo Liu <sdl.web@gmail.com>
4717
7dd51bf1 4718 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4719
081e8d65
MV
47202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4721
4722 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4723 filling of the last column of a table (Bug#5635).
4724 (woman-find-next-control-line): New arg, specifying an additional
4725 regexp component for the control line.
4726 (woman2-roff-buffer): Use it.
4727 (woman-break-table): New function.
4728 (woman2-TS): Use it.
4729
47302012-04-21 Chong Yidong <cyd@gnu.org>
4731
4732 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4733 (woman-horizontal-escapes, woman-negative-vertical-space)
4734 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4735 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4736
ed571ccb
SM
47372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * minibuffer.el (completion-file-name-table): Complete user names.
4740
39773899
LL
47412012-04-20 Leo Liu <sdl.web@gmail.com>
4742
4743 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4744 and pcase-let*.
4745
de6ff46d
CY
47462012-04-20 Chong Yidong <cyd@gnu.org>
4747
4748 * server.el (server-execute): Respect initial-buffer-choice if it
4749 is a string and there are no files to open (Bug#2825).
4750 (server-create-window-system-frame, server-create-tty-frame):
4751 Don't switch buffers here.
2d0e8e61
CY
4752 (server-process-filter): Only try to open a window system frame if
4753 compiled with graphical support (Bug#8314).
de6ff46d 4754
54071013
DN
47552012-04-20 Dan Nicolaescu <dann@gnu.org>
4756
4757 * battery.el (battery-echo-area-format): Display remaining time
4758 for sysfs backend too (Bug#11269).
4759 (battery-linux-sysfs): Fix conditional for the charge.
4760
f30d612a
CY
47612012-04-20 Chong Yidong <cyd@gnu.org>
4762
c07a4c0b 4763 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4764 (gdb-inferior-io--init-proc): New function.
4765 (gdb-init-1): Use it.
4766 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4767 responsible for allocating a new pty and hooking it to gdb when
4768 the old pty gets an EIO due to process exit.
4769 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4770 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4771 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4772
2116e93c
EZ
47732012-04-20 Eli Zaretskii <eliz@gnu.org>
4774
4775 * window.el (window-min-size, window-sizable, window-min-delta)
4776 (window-max-delta, window--resizable, window-resizable)
4777 (window-total-size, window-full-height-p, window-full-width-p)
4778 (window-in-direction, window--resize-mini-window, window-resize)
4779 (window--resize-child-windows-normal)
4780 (window--resize-child-windows, window--resize-siblings)
4781 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4782 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4783
c07a4c0b 47842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4785
ef24141c
SM
4786 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4787 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4788 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4789 pty process (Bug#11273).
4790 (gdb-update): New arg to suppress talking to the gdb process.
4791 (gdb-done-or-error): Use it.
4792 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4793 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4794 sentinel not being called.
4795
4796 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4797
d02766ab
CY
4798 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4799
c07a4c0b 48002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4801
4802 * net/network-stream.el (open-network-stream): Doc fix.
4803
c07a4c0b 48042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4805
4806 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4807
c07a4c0b 48082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4809
4810 Ensure searching for keywords is case sensitive.
4811
4812 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4813 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4814 (c-defun-name, c-mark-function, c-cpp-define-name)
4815 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4816 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4817
ef24141c
SM
4818 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4819 Bind case-fold-search to nil.
f0f6bc35 4820
c07a4c0b 48212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4822
4823 * mail/sendmail.el (mail-bury): Call return action with the right
4824 Rmail buffer (Bug#11242).
4825
9a864fa2
CY
4826 * server.el (server-process-filter): Handle corner case where both
4827 tty and nowait options are present (Bug#11102).
4828
539aa513
EZ
48292012-04-20 Eli Zaretskii <eliz@gnu.org>
4830
4831 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4832 (top level): Put into the executable the ident-style '$Id:' tag on
4833 windows-nt as well.
539aa513 4834
cfc7d5da
SM
48352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * electric.el (electric-indent-post-self-insert-function): Check that
4838 electric-indent-mode is enabled in current buffer.
4839
5b01685c
JB
48402012-04-19 Juanma Barranquero <lekktu@gmail.com>
4841
4842 * imenu.el (imenu-progress-message): Restore; it is "used" in
4843 erc/erc-imenu.el and net/snmp-mode.el.
4844
4d6769e1
JB
48452012-04-19 Juanma Barranquero <lekktu@gmail.com>
4846
4847 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4848 (mouse-avoidance-nudge-mouse): Remove unused binding.
4849
4850 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4851
4852 * descr-text.el (describe-char):
4853 * progmodes/python.el (python-describe-symbol):
4854 Don't call `toggle-read-only', set `buffer-read-only'.
4855
4856 * imenu.el (imenu-default-goto-function): Mark unused args.
4857 (imenu-progress-message): Remove obsolete macro; all callers changed.
4858
4859 * subr.el (keymap-canonicalize): Remove unused binding.
4860 (read-passwd): Mark unused arg.
4861
4862 * tutorial.el (tutorial--display-changes): Remove unused binding.
4863 (tutorial--save-tutorial-to): Remove unused variable.
4864
4865 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4866 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4867 (package-generate-autoloads, package-menu--generate)
4868 (package-menu--find-upgrades): Remove unused bindings.
4869
4870 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4871 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4872 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4873 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4874 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4875 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4876 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4877 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4878 (cua-delete-char-rectangle): Mark unused args.
4879 (cua-align-rectangle): Remove unused binding.
4880
4881 * mail/rmail.el (compilation--message->loc)
4882 (epa--find-coding-system-for-mime-charset): Declare.
4883
4884 * net/dbus.el (dbus-register-service): Declare.
4885 (dbus-name-owner-changed-handler): Remove unused binding.
4886
4887 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4888 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4889 (nxml-scan-backward-within): Mark unused arg.
4890 (nxml-dynamic-markup-word): Remove unused binding.
4891
4892 * mouse.el (mouse-menu-major-mode-map):
4893 * emacs-lisp/authors.el (authors-scan-change-log)
4894 (authors-add-to-author-list):
4895 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4896 * emacs-lisp/smie.el (smie-auto-fill):
4897 * mail/sendmail.el (mail-bury):
4898 * mail/unrmail.el (unrmail):
4899 * net/tls.el (open-tls-stream):
4900 * textmodes/picture.el (picture-mouse-set-point):
4901 Remove unused bindings.
4902
8c8fc5df
MA
49032012-04-19 Michael Albinus <michael.albinus@gmx.de>
4904
4905 * net/tramp.el (tramp-action-password): Let-bind
4906 `enable-recursive-minibuffers' to t.
4907
a77b0ac9
SS
49082012-04-18 Sam Steingold <sds@gnu.org>
4909
4910 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4911 instead of 'string to accommodate values like [f11].
4912 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4913 * progmodes/gdb-mi.el: Likewise.
4914
12a106a9
LL
49152012-04-18 Leo Liu <sdl.web@gmail.com>
4916
4917 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4918 current buffer.
4919 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4920 LOCAL is nil.
4921
bc6494ef
CY
49222012-04-18 Chong Yidong <cyd@gnu.org>
4923
4924 * simple.el (line-move): Use forward-line if in batch mode
4925 (Bug#11053).
4926
c09c46b2
CS
49272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4928
4929 * files.el (after-find-file): Do not try to add a final newline if
4930 the buffer is read-only (Bug#11156).
4931
5f6530ea
RS
49322012-04-17 Richard Stallman <rms@gnu.org>
4933
4934 * mail/rmail.el (rmail-start-mail):
4935 Pass (rmail-mail-return...) for the return-action.
4936 Pass (rmail-yank-current-message...) for the yank-action.
4937 (rmail-yank-current-message): New function.
4938 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4939 (rmail-reply): Likewise.
4940 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4941
4942 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4943 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4944 buffer, not newbuf.
4945
197b6f3c
JB
49462012-04-17 Juanma Barranquero <lekktu@gmail.com>
4947
4948 * server.el (server-ensure-safe-dir): Simplify.
4949
2311d8e5 49502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4951
2311d8e5
GM
4952 * emacs-lisp/smie.el: Provide smarter auto-filling.
4953 (smie-auto-fill): New function.
4954 (smie-setup): Use it.
98fb480e 4955
2311d8e5
GM
4956 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4957
49582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4959
4960 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4961 (comment-indent): Use it.
4962
2311d8e5 49632012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4964
4965 * ses.el: The overall change is to add cell renaming, that is
4966 setting fancy names for cell symbols other than name matching
4967 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4968 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4969 (ses-create-cell-variable): New defun.
2311d8e5 4970 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4971 (ses-relocate-formula): Relocate formulas only for cells the
4972 symbols of which are not renamed, i.e. symbols whose names do not
4973 match regexp "\\`[A-Z]+[0-9]+\\'".
4974 (ses-relocate-all): Relocate values only for cells the symbols of
4975 which are not renamed.
4976 (ses-load): Create cells variables as the (ses-cell ...) are read,
4977 in order to check row col consistency with cell symbol name only
4978 for cells that are not renamed.
4979 (ses-replace-name-in-formula): New defun.
4980 (ses-rename-cell): New defun.
4bdf2ad2 4981
fc72b15c
PO
49822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4983
4984 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4985 New option (bug#11118).
4986 (perl-calculate-indent): Respect it.
4987
12e10e61
GM
49882012-04-17 Glenn Morris <rgm@gnu.org>
4989
4990 * dired-aux.el (dired-mark-read-string): Doc fix.
4991
30009afd
DA
49922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4993
4994 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4995 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4996
41f03f4d
GM
49972012-04-17 Glenn Morris <rgm@gnu.org>
4998
4999 * mouse.el (mouse-drag-track):
5000 * speedbar.el (speedbar-frame-mode):
5001 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5002
f45f90f3
LL
50032012-04-16 Leo Liu <sdl.web@gmail.com>
5004
5005 * progmodes/python.el: Trivial cleanup.
5006
94ee8db5
GM
50072012-04-16 Glenn Morris <rgm@gnu.org>
5008
121b8917
GM
5009 * vc/vc.el (vc-string-prefix-p):
5010 * vc/pcvs-util.el (cvs-string-prefix-p):
5011 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5012 * mpc.el (mpc-string-prefix-p):
5013 Make all of these into obsolete aliases for string-prefix-p.
5014 Update callers.
5015 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5016
1197ecfa
GM
5017 * textmodes/two-column.el: Move custom options to the start.
5018 (frame-width): Remove compat definition.
5019 (2C-associate-buffer, 2C-dissociate):
5020 Use with-current-buffer rather than save-excursion.
5021 (2C-dissociate): Force a mode-line update.
5022 (2C-autoscroll): Use ignore-errors.
5023
099e7202
GM
5024 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5025 Autoload trivia.
5026
bf350d6a
GM
5027 * emacs-lisp/cl-extra.el (*random-state*):
5028 Remove unnecessary declaration.
5029
0e829eab
GM
5030 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5031
e3ad7552
GM
5032 * play/cookie1.el (cookie-snarf):
5033 Give an explicit error if input file cannot be read.
5034
68892d27
GM
5035 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5036
20f0c46d
GM
5037 * progmodes/perl-mode.el (c-macro-expand):
5038 Remove unnecessary autoload (it is in loaddefs.el).
5039
5a0978ce
GM
5040 * textmodes/picture.el (picture-desired-column)
5041 (picture-update-desired-column): Convert comments to doc-strings.
5042 (picture-substitute): Remove function.
5043 (picture-mode-map): Initialize in the defvar.
5044
6b955486
GM
5045 * woman.el: Remove eval-after-load for tar-mode.
5046 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5047 (woman-tar-extract-file): Autoload it.
5048
94ee8db5
GM
5049 * frame.el (automatic-hscrolling): Make this alias obsolete.
5050
177eca34
AM
50512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5052
090bd7cb 5053 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5054 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5055 (ispell-dictionary-base-alist): Revert to original XEmacs
5056 friendly version for default. [:alpha:] will be added in
090bd7cb 5057 `ispell-set-spellchecker-params' if needed.
177eca34 5058
c505aaeb
CY
50592012-04-16 Chong Yidong <cyd@gnu.org>
5060
b19dd9d1 5061 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5062 (imagemagick-register-types): Use it.
5063 (imagemagick-types-inhibit): Add :set function. Allow new value
5064 of t to inhibit all types.
5065
5066 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5067 so we can preload it.
5068
5069 * loadup.el (fboundp): Preload regexp-opt, needed by
5070 imagemagick-register-types.
5071
60efac0f
CY
50722012-04-15 Chong Yidong <cyd@gnu.org>
5073
5074 * frame.el (scrolling): Remove nearly unused customization group.
5075
5076 * scroll-all.el (scroll-all-mode): Move to windows group.
5077
5dd1713e
CY
50782012-04-15 Chong Yidong <cyd@gnu.org>
5079
5080 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5081
e6fd457e
CY
50822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5085 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5086
e153c136
GM
50872012-04-15 Glenn Morris <rgm@gnu.org>
5088
5089 * simple.el (process-file-side-effects): Doc fix.
5090
e6fd457e 50912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5092
5093 * international/mule-cmds.el (set-language-environment): Doc fix.
5094
3603c3b1
JB
50952012-04-14 Juanma Barranquero <lekktu@gmail.com>
5096
5097 * server.el (server-auth-key, server-generate-key): Doc fixes.
5098 (server-get-auth-key): Doc fix. Use `string-match-p'.
5099 (server-start): Reflow docstring.
5100
e6de100c
LI
51012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5102
5103 * server.el (server-generate-key): `called-interactively-p'
5104 requires a parameter.
5105
29734c21
MN
51062012-04-14 Michal Nazarewicz <mina86@mina86.com>
5107
5108 * server.el (server-auth-key): New variable.
75f1671a 5109 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5110 (server-start): Use the new variable and functions to allow
5111 setting a permanent server key (bug#9423).
5112
d65c9521
LL
51132012-04-14 Leo Liu <sdl.web@gmail.com>
5114
5115 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5116
5ae255c7
PE
51172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5118
5119 Spelling fixes.
5120 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5121 Emacs uses American spelling.
5122
d5e6342e
JB
51232012-04-14 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5126 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5127 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5128 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5129
ab036cd7
SM
51302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * progmodes/which-func.el (which-func-modes): Change default.
5133
35dc09a1 51342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5135
5136 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5137 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5138
35dc09a1 51392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5140
5141 * custom.el (custom-theme-set-variables): Doc fix.
5142
35dc09a1 51432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5144
5145 * international/mule.el (set-auto-coding-for-load): Doc fix.
5146
35dc09a1 51472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5148
35dc09a1
GM
5149 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5150 imenu work again for Objective C Mode. Correct the *-index values,
5151 these having been disturbed by a previous change in 2011-08.
57f845ee 5152
0de3da9f
AM
5153 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5154 Correct two search limits.
5155
35dc09a1 51562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5157
5158 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5159
35dc09a1 51602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5161
5162 * international/characters.el: Fix sorting.
5163
35dc09a1 51642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5165
5166 * international/characters.el: Add more missing Latin case pairs.
5167
35dc09a1 51682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5169
5170 * files.el (dir-locals-set-class-variables): Doc fix.
5171
35dc09a1 51722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5173
3f1b5bf8
EZ
5174 * international/characters.el: Add set-case-syntax-pair call for
5175 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5176 counterpart. (Bug#11209)
5177
9f847f41
EZ
5178 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5179
35dc09a1 51802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5181
5182 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5183
35dc09a1 51842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5185
35dc09a1
GM
5186 * textmodes/ispell.el (ispell-dictionary-base-alist):
5187 Add data for Hebrew.
e2627d21 5188
35dc09a1 51892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5190
35dc09a1
GM
5191 * net/rcirc.el (rcirc-cmd-quit):
5192 Revert 2012-03-18 change (Bug#11192).
5c14e333 5193
35dc09a1 51942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5195
5196 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5197
35dc09a1 51982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5199
4517fe3a
SM
5200 * minibuffer.el (completion-in-region-mode-map):
5201 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5202
b472a594
VD
52032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5204
5205 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5206
09b95ce3
MY
52072012-04-13 Masatake YAMATO <yamato@redhat.com>
5208
5209 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5210 to allow `C-M-f' and `C-M-b' to move to the nearest path
5211 separator (bug#9511).
5212
4b63a9ca
LI
52132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5214
5215 * avoid.el: Require cl when compiling. And also move the
5216 `provide' to the end.
5217
7b55b8bf
TV
52182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5219
5220 * avoid.el (mouse-avoidance-banish-position): New variable.
5221 (mouse-avoidance-banish-destination): Use it (bug#10165).
5222
adedaa1f
LL
52232012-04-13 Leo Liu <sdl.web@gmail.com>
5224
5225 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5226
70e74021
KB
52272012-04-13 Ken Brown <kbrown@cornell.edu>
5228
5229 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5230 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5231 (browse-url-filename-alist): For the same reason, don't modify
5232 file:// URLs on Cygwin.
5233
e75e89ba
SM
52342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5237 the region on shift if the binding is already shifted (bug#11221).
5238
82f289a4
GM
52392012-04-12 Glenn Morris <rgm@gnu.org>
5240
5241 * mail/mailpost.el: Move to obsolete/.
5242
d333dc4c
DA
52432012-04-12 Drew Adams <drew.adams@oracle.com>
5244
5245 * imenu.el (imenu--generic-function): Ignore invisible definitions
5246 (bug#10123).
5247
0d15b5ba
VD
52482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5249
5250 * hexl.el (hexl-bits): New variable.
5251 (hexl-options): Mention the variable in the doc string.
75f1671a 5252 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5253 (hexl-mode): Mention the new variable.
75f1671a
JB
5254 (hexl-mode, hexl-current-address, hexl-current-address):
5255 Use the displen.
0d15b5ba
VD
5256 (hexl-ascii-start-column): New function.
5257 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5258 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5259
64a440db
AM
52602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5261
5262 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5263 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5264 the encoding, as expected by hunspell.
5265
6decb6c2
SM
52662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * battery.el (battery--linux-sysfs-regexp): New const.
5269 (battery-status-function): Use it. Remove yeeloong special case.
5270 (battery-yeeloong-sysfs): Remove.
5271 (battery-echo-area-format): Remove yeeloong special case.
5272
088be6fb
SM
52732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5274
6622e416
SM
5275 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5276 Reported by Noah Friedman.
5277
088be6fb
SM
5278 * subr.el (read-passwd): Use read-string.
5279
b49f886e
LMI
52802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5281
5282 * vcursor.el (vcursor-move): Increase the priority of the overlay
5283 (bug#9663).
5284
a63067fc
DD
52852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5286
5287 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5288 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5289
ac3cf14a
WS
52902012-04-11 William Stevenson <yhvh2000@gmail.com>
5291
5292 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5293 define-minor-mode (bug#10760).
5294
c4fc691b 52952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5296
4d6769e1 5297 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5298 that directories matching `grep-find-ignored-files' won't be
5299 pruned (bug#10351).
5300
af23e2e5
CY
53012012-04-11 Chong Yidong <cyd@gnu.org>
5302
5303 * startup.el (command-line): Remove support for long-obsolete
5304 variable font-lock-face-attributes.
5305
ab7ce8c1
GM
53062012-04-11 Glenn Morris <rgm@gnu.org>
5307
5308 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5309
de8c03dc
SM
53102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * window.el (window--state-get-1): Obey window-point-insertion-type.
5313
050cc68b
LB
53142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5315
5316 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5317 to previous function when point is on the first character of a
75f1671a 5318 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5319
a38c310c
GM
53202012-04-11 Glenn Morris <rgm@gnu.org>
5321
effed0c2
GM
5322 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5323 not just file-errors.
5324
a38c310c
GM
5325 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5326 (vc-bzr-sha1): Use internal sha1.
5327
0221e323
SM
53282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5331
43956923
SG
53322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5333
5334 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5335 that start in the middle of the line (bug#10496).
5336
6a8c9eaf
DN
53372012-04-10 Dan Nicolaescu <dann@gnu.org>
5338
5339 * battery.el (battery-linux-proc-acpi): Only one battery is
5340 discharged at a time, but that seems to confuse battery.el when
5341 computing `rate-type' for the battery not being discharged
5342 (bug#10332).
5343
1930bf5d
SM
53442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5345
2a718f6f
SM
5346 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5347
599430d0
SM
5348 * international/quail.el: Use dolist and simplify.
5349 (quail-define-package, quail-update-keyboard-layout)
5350 (quail-define-rules): Use dolist.
5351 (quail-insert-kbd-layout, quail-get-translation): CSE.
5352
a2754b6c
SM
5353 * tmm.el: Use dolist, remove left over hook.
5354 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5355 Use dolist.
5356 (calendar-load-hook): Don't mess with it.
5357
1930bf5d
SM
5358 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5359 Use derived-mode-p. Run the diff asynchronously.
5360
9f67961c
LMI
53612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5362
5363 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5364
2a8ce227
JB
53652012-04-10 Juanma Barranquero <lekktu@gmail.com>
5366
5367 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5368 (list-dynamic-libraries--loaded): New function.
5369 (list-dynamic-libraries--refresh): Use it.
5370
8f33b5f8
NW
53712012-04-10 Nathan Weizenbaum <nweiz@google.com>
5372
1930bf5d
SM
5373 * progmodes/python.el (python-fill-paragraph):
5374 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5375 disabled (bug#7018).
5376
b12f0439
L
53772012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5378
1930bf5d 5379 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5380 DOS/MS Windows for the Baltic languages. There are still plenty
5381 of texts written in this encoding/codepage (bug#6519).
b12f0439 5382
57c3bd01
GM
53832012-04-10 Glenn Morris <rgm@gnu.org>
5384
5385 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5386 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5387
6c3eab30
FA
53882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5389
1930bf5d 5390 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5391 next-line "n" and previous-line "p" in order to make recentf more
5392 consistent with ibuffer, dired or org-mode (bug#9387).
5393
24d78a88
LMI
53942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5395
bc72b5d9
LMI
5396 * image.el (put-image): Return the overlay created instead of the
5397 optional input string (bug#7834). Note that this may break code
5398 that is (for some reason or other) depending on `put-image'
5399 returning the string.
5400
bd2dba5a
LMI
5401 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5402
74beb59f
LMI
5403 * simple.el (zap-to-char): Allow zapping using input methods
5404 (bug#1580).
5405
24d78a88
LMI
5406 * textmodes/fill.el (fill-region): Leave point and mark where they
5407 were before filling (bug#5399).
5408
263f20cd
GM
54092012-04-09 Glenn Morris <rgm@gnu.org>
5410
5411 * version.el (emacs-bzr-get-version):
5412 Handle lightweight checkouts of local branches.
5413
58d1f797
AS
54142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5415
263f20cd 5416 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5417
b4d3bc10
CY
54182012-04-09 Chong Yidong <cyd@gnu.org>
5419
5420 * custom.el (custom-variable-p): Return nil for non-symbol
5421 arguments instead of signaling an error.
5422 (user-variable-p): Obsolete alias for custom-variable-p.
5423
5424 * apropos.el (apropos-variable):
5425 * files-x.el (read-file-local-variable):
5426 * simple.el (set-variable):
5427 * woman.el (woman-mini-help):
5428 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5429
fd06db5d
GM
54302012-04-09 Glenn Morris <rgm@gnu.org>
5431
e5fcdb5e
GM
5432 * startup.el (normal-top-level): Don't look for leim-list.el
5433 in places where it will not be found. (Bug#910)
5434
fd06db5d
GM
5435 * international/mule-cmds.el (set-default-coding-systems):
5436 * files.el (normal-mode):
5437 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5438 This function was removed with ucs-tables.el in 2008.
5439
b39bb7e1
EZ
54402012-04-08 Eli Zaretskii <eliz@gnu.org>
5441
5442 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5443 ispell-encoding8-command to "-i", without a trailing space.
5444 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5445 separate command-line arguments, to specify the encoding, since
5446 that's how hunspell expects it.
5447
5c5b8e23
GM
54482012-04-08 Glenn Morris <rgm@gnu.org>
5449
5450 * loadup.el: Load bindings before cus-start.
5451 This reduces somewhat the number of "rogue" settings in emacs -Q.
5452
a1ed8b05
GM
54532012-04-07 Glenn Morris <rgm@gnu.org>
5454
5455 * version.el (emacs-bzr-get-version): New function.
dfae128a 5456 (emacs-bzr-version): New variable.
a1ed8b05
GM
5457 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5458 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5459
b142f158
EZ
54602012-04-07 Eli Zaretskii <eliz@gnu.org>
5461
dfae128a
GM
5462 * international/uni-bidi.el, international/uni-category.el:
5463 * international/uni-combining.el, international/uni-decimal.el:
5464 * international/uni-decomposition.el, international/uni-digit.el:
5465 * international/uni-lowercase.el, international/uni-mirrored.el:
5466 * international/uni-name.el, international/uni-numeric.el:
5467 * international/uni-titlecase.el, international/uni-uppercase.el:
5468 Update for Unicode 6.1.
b142f158 5469
9078ead6
EZ
54702012-04-07 Eli Zaretskii <eliz@gnu.org>
5471
5472 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5473
f23d2c7d
LMI
54742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5475
5476 * window.el (shrink-window): Mention the `window-min-height'
5477 variable in the doc string.
5478
0a0a3573
BG
54792012-04-05 Bastien Guerry <bzg@altern.org>
5480
5481 * color.el (color-lighten-name): Fix typo.
5482
e5248ac9
SM
54832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * server.el (server--on-display-p): New function.
5486 (server--on-display-p): Use it.
5487
b4243e22
GV
54882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5489
5490 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5491 (bug#11145).
5492
305d9f44
SM
54932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * comint.el (comint--common-quoted-suffix): Check string boundary
5496 before comparing (bug#11158).
5497 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5498
3d439cd1
CY
54992012-04-04 Chong Yidong <cyd@gnu.org>
5500
321cc491
CY
5501 * minibuffer.el (completion-extra-properties): Doc fix.
5502
3d439cd1
CY
5503 * subr.el (delayed-warnings-hook): Doc fix.
5504
2d562c0f
DU
55052012-04-04 Daiki Ueno <ueno@unixuser.org>
5506
5507 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5508 selection (Bug#11159).
5509 (epa-insert-keys): Inform that the default public key will be
5510 exported if no key is selected.
5511
4443f204
RS
55122012-04-04 Richard Stallman <rms@gnu.org>
5513
5514 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5515
529c06b6
CY
55162012-04-03 Chong Yidong <cyd@gnu.org>
5517
5518 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5519 mail-insert-file, not its obsolete alias mail-attach-file.
5520
66b907dc
MA
55212012-04-03 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * notifications.el (notifications-notify): Fix docstring.
5524
c0ea195d
GM
55252012-04-02 Glenn Morris <rgm@gnu.org>
5526
5527 * emacs-lisp/authors.el (authors-aliases): Another addition.
5528
5ca64e00
MA
55292012-04-02 Michael Albinus <michael.albinus@gmx.de>
5530
5531 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5532 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5533 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5534
42ee526b
CY
55352012-04-01 Chong Yidong <cyd@gnu.org>
5536
5537 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5538 Handle root directory properly.
5539 (copy-directory): Caller changed.
5540
5541 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5542 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5543
0b021094
GM
55442012-03-31 Glenn Morris <rgm@gnu.org>
5545
40f86458
GM
5546 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5547
7019c177
GM
5548 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5549
a1daddd6
GM
5550 * calendar/calendar.el (calendar-window-list)
5551 (calendar-hide-window): Restore. (Bug#11140)
5552 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5553
0b021094
GM
5554 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5555
40311efc
TV
55562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5557
5558 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5559 Check if file is a symlink (Bug#10489).
5560
5561 * files.el (copy-directory): Likewise.
5562
5319014e
CY
55632012-03-30 Chong Yidong <cyd@gnu.org>
5564
5565 * image.el (imagemagick-types-inhibit)
5566 (imagemagick-register-types): Doc fix.
5567
935d1290
AM
55682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5569
090bd7cb 5570 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5571 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5572 and treats ~word as ordinary words in pipe mode.
935d1290 5573
61c6e8fd
GM
55742012-03-30 Glenn Morris <rgm@gnu.org>
5575
5576 * tutorial.el (help-with-tutorial): Ensure local variables don't
5577 happen to make the buffer read-only. (Bug#11127)
5578
81fdff00
SM
55792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5582 (perl-calculate-indent): Return `noindent' in strings.
5583
6e7a6ec0
SS
55842012-03-28 Sam Steingold <sds@gnu.org>
5585
5586 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5587 instead of the broken adhockery which does not prevent calendar
5588 buffers from being displayed at random after exit.
5589 (calendar-window-list, calendar-hide-window): Remove the broken
5590 adhockery.
5591
fee88ca0
GM
55922012-03-28 Glenn Morris <rgm@gnu.org>
5593
5594 * replace.el (query-replace-map): Doc fix.
5595
38de3354
AS
55962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5597
5598 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5599 contents. (Bug#11109)
5600
b973155e
SM
56012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5604 (bug#11077).
5605 (avl-tree--check, avl-tree--check-node): New funs.
5606
dcb6e7b3
MR
56072012-03-27 Martin Rudalics <rudalics@gmx.at>
5608
5609 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5610 (switch-to-prev-buffer, switch-to-next-buffer):
5611 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5612 showing a buffer already is done on the same frame.
5613
b4fa35fa
GM
56142012-03-27 Glenn Morris <rgm@gnu.org>
5615
5616 * startup.el (mail-host-address): Doc fix.
5617
f9210e18
SM
56182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5621 than 197 variables.
5622
c0bf7753
AF
56232012-03-26 Ami Fischman <ami@fischman.org>
5624
5625 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5626
33da7b16
GM
56272012-03-26 Glenn Morris <rgm@gnu.org>
5628
02243d9d
GM
5629 * files.el (save-buffers-kill-emacs): Doc fix.
5630
33da7b16
GM
5631 * startup.el (normal-top-level, command-line, command-line-1):
5632 Give them doc strings.
5633
e5a69fd0
EZ
56342012-03-25 Eli Zaretskii <eliz@gnu.org>
5635
5636 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5637 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5638
9a69676a
CY
56392012-03-25 Chong Yidong <cyd@gnu.org>
5640
4125cb8b
CY
5641 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5642 theme if it was previously enabled before (Bug#11031).
5643
dd470960
CY
5644 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5645 spec with custom-face-get-current-spec if its :shown-value is not
5646 determined yet (Bug#9337).
4125cb8b 5647 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5648
9a69676a
CY
5649 * button.el (button-at): Minor addition to docstring.
5650
6e7e90fa
SL
56512012-03-24 Simon Leinen <simon.leinen@gmail.com>
5652
5653 * vc/vc.el (vc-merge): Fix a prompt.
5654
f06e2758
CY
56552012-03-24 Chong Yidong <cyd@gnu.org>
5656
5657 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5658 point (Bug#9623).
5659
6e7e90fa
SL
5660 * button.el (button-at): Minor addition to docstring.
5661
b9d0879b
SM
56622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * newcomment.el (comment-choose-indent): No space after BOL.
5665
e71cebb3
SS
56662012-03-22 Sam Steingold <sds@gnu.org>
5667
5668 * window.el (switch-to-prev-buffer): Revert last patch because the
5669 bug turned out to be an advertised feature (Elisp manual 28.14).
5670
335aff35
GM
56712012-03-22 Glenn Morris <rgm@gnu.org>
5672
5673 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5674 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5675
c676576a
LMI
56762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5677
5678 * net/network-stream.el (network-stream-open-starttls): Make error
5679 message under Windows be less misleading.
5680
126f3d39
LW
56812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5682
5683 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5684 understands (bug#9942).
5685
64fee311
CY
56862012-03-22 Chong Yidong <cyd@gnu.org>
5687
5688 * simple.el (end-of-visible-line): Handle return value of
5689 next-single-property-change properly (Bug#9371).
5690
a640d29a
KH
56912012-03-22 Kenichi Handa <handa@m17n.org>
5692
5693 * international/quail.el (quail-insert-kbd-layout): Fix previous
5694 change. To avoid unwanted bidi reordering, use
5695 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5696
39675016
DG
56972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5700 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5701 (ruby-beginning-of-indent): Be more careful with the difference
5702 between word-boundary and symbol boundary.
5703 (ruby-mode-syntax-table): Make : a symbol constituent.
5704
0a6934fc 57052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5706
3d008e4f
SM
5707 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5708
0a6934fc
SM
57092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5710
af67c9d7
SM
5711 * progmodes/etags.el (tags-completion-at-point-function):
5712 Improve last fix.
5713
1acad97c
SM
5714 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5715
e298b5da
SS
57162012-03-21 Sam Steingold <sds@gnu.org>
5717
5718 * progmodes/etags.el (tags-completion-at-point-function):
5719 Avoid the error when point is inside the pattern.
5720
91d82a70
JY
57212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5722
5723 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5724 line (Bug#10855).
5725
69188b79
CY
57262012-03-21 Drew Adams <drew.adams@oracle.com>
5727
5728 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5729
99fc91fe
AK
57302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5731
5732 * ido.el (ido-set-current-directory, ido-read-internal)
5733 (ido-choose-completion-string, ido-completion-help): Handle nil
5734 value of ido-completion-buffer (Bug#11008).
5735
087bbb4c
SS
57362012-03-21 Sam Steingold <sds@gnu.org>
5737
5738 * window.el (switch-to-prev-buffer): Do not switch to a visible
5739 window previous buffer, just like with the frame previous buffers.
5740
fb5b8aca
CY
57412012-03-21 Chong Yidong <cyd@gnu.org>
5742
5743 * faces.el (make-face, make-empty-face, copy-face):
5744 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5745 Doc fixes.
5746
dc9924b8
SM
57472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5750 (widget-complete): Remove broken use of it.
5751
f0bcceb9
CY
57522012-03-20 Chong Yidong <cyd@gnu.org>
5753
dc9924b8
SM
5754 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5755 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5756 characters.
5757
ee52ebf3
TH
57582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5759
5760 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5761 to draw rectangles, not squares. (Regression introduced by revno
5762 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5763
4c5779ab
CY
57642012-03-18 Chong Yidong <cyd@gnu.org>
5765
5766 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5767 it is not yet defined (for temacs).
5768
15360934
LL
57692012-03-18 Leo Liu <sdl.web@gmail.com>
5770
dc9924b8 5771 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5772
d9a8eb66
EZ
57732012-03-17 Eli Zaretskii <eliz@gnu.org>
5774
5775 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5776 (ispell-choices-win-default-height, ispell-silently-savep)
5777 (ispell-dictionary-alist, ispell-encoding8-command)
5778 (ispell-check-version, ispell-aspell-find-dictionary)
5779 (ispell-valid-dictionary-list, ispell-words-keyword)
5780 (ispell-get-word, ispell-internal-change-dictionary)
5781 (ispell-region, ispell-skip-region-list)
5782 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5783 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5784 (ispell-message-text-end, ispell-message)
5785 (ispell-buffer-local-parsing): Doc fix.
5786
f02ff80d
J
57872012-03-13 Jambunathan K <kjambunathan@gmail.com>
5788
5789 * htmlfontify.el: Add support for code block fontification for ODT
5790 export (Bug #9914).
5791 (hfy-optimisations): Define new option
5792 `body-text-only'
5793 (hfy-fontify-buffer): Honor above setting.
5794 (hfy-begin-span, hfy-end-span): New routines factored out form
5795 `hfy-fontify-buffer'.
5796 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5797 that permit insertion of custom tags.
5798 (hfy-fontify-buffer): Use above handlers.
5799 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5800 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5801 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5802 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5803 bind a special variable `hfy-user-sheet-assoc'.
5804 (htmlfontify-string): New defun.
5805 (hfy-compile-face-map): Make sure that the last char in the
5806 buffer is correctly fontified.
5807 (hfy-face-resolve-face): Whitespace only change.
5808
9ac7a13f
EZ
58092012-03-17 Eli Zaretskii <eliz@gnu.org>
5810
5811 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5812 message more clear.
5813
e2b5bdd7
LL
58142012-03-16 Leo Liu <sdl.web@gmail.com>
5815
5816 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5817
2e492df3
AM
58182012-03-16 Alan Mackenzie <acm@muc.de>
5819
5820 Further optimise the handling of large macros.
5821
5822 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5823 limit to a call of `c-literal-limits'.
5824 (c-determine-+ve-limit): New function.
dc9924b8
SM
5825 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5826 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5827 In CASE 5B, restrict a search limit to 500.
5828 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5829
5830 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5831 Restrict macro bounds to +-500 from after-change's BEG END.
5832
50e94f0c
LL
58332012-03-16 Leo Liu <sdl.web@gmail.com>
5834
5835 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5836
6f09f6ed
AH
58372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5838
5839 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5840 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5841
c7e73d51
GM
58422012-03-16 Glenn Morris <rgm@gnu.org>
5843
da986230
GM
5844 * view.el (view-buffer, view-buffer-other-window)
5845 (view-buffer-other-frame): Doc fixes re special mode-class.
5846
0835f01e
GM
5847 * subr.el (eval-after-load): If named feature is provided not from
5848 a file, run after-load forms. (Bug#10946)
5849
c7e73d51
GM
5850 * calendar/calendar.el (calendar-insert-at-column):
5851 Handle non-unit-width characters a bit better. (Bug#10978)
5852
3f2eafd1
CY
58532012-03-15 Chong Yidong <cyd@gnu.org>
5854
5855 * emacs-lisp/ring.el (ring-extend): New function.
5856 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5857
5858 * comint.el (comint-read-input-ring)
5859 (comint-add-to-input-history): Grow comint-input-ring lazily.
5860
103af3fe
SM
58612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5862
663b1677
SM
5863 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5864 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5865
103af3fe
SM
5866 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5867 (imenu-add-to-menubar): Don't add a redundant index.
5868 (imenu-update-menubar): Handle a dynamically composed keymap.
5869
899cb7cb
KY
58702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5871
5872 * mail/sendmail.el (mail-encode-header):
5873 Bind rfc2047-encode-encoded-words to nil.
5874
3809f91d
GM
58752012-03-13 Glenn Morris <rgm@gnu.org>
5876
5877 * calendar/calendar.el (calendar-string-spread):
5878 Handle non-unit-width characters a bit better. (Bug#10978)
5879
9e345a01
LL
58802012-03-13 Leo Liu <sdl.web@gmail.com>
5881
5882 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5883 directory and file as argument (Bug#10822).
5884
4a07df36
KS
58852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5886
5887 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5888 For dynamically generated code, follow $PC.
5889 (gdb-disassembly-handler-custom): Handle no function name case.
5890
4aaa9356
TL
58912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5892
5893 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5894 * emulation/ws-mode.el (ws-query-replace):
5895 * sort.el (sort-regexp-fields):
5896 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5897
225979da
SM
58982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * dabbrev.el: Fix cycle completion order (bug#10963).
5901 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5902 (dabbrev-completion): Don't use an obarray; provide
5903 a cycle-sort-function.
5904
e2f1fdab
LL
59052012-03-12 Leo Liu <sdl.web@gmail.com>
5906
dc9924b8 5907 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5908 (kill-do-not-save-duplicates): Doc fix.
5909
b19490ed
SM
59102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * dabbrev.el: Fix cycle completion (bug#10963).
5913 Use lexical binding and wrap to 80 columns.
5914 (dabbrev-completion): Delay computing the list of completions.
5915
4b05d722
KH
59162012-03-12 Kenichi Handa <handa@m17n.org>
5917
5918 * international/quail.el (quail-insert-kbd-layout): Surround each
5919 row by LRO and PDF instead of inserting many LRMs. Pad the left
5920 and right of each non-spacing marks. Insert invisible space
5921 between lower and upper characters to prevent composition.
5922
dbbc2e69
SM
59232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * minibuffer.el (minibuffer-complete): Don't get confused when the
5926 function is run twice via different commands (bug#10958).
5927 (complete-with-action): Fix docstring.
5928
292112ed
CY
59292012-03-12 Chong Yidong <cyd@gnu.org>
5930
5d1ac394
CY
5931 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5932 (nxml-completion-at-point-function): New function.
5933 (nxml-mode): Use it.
5934 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5935
292112ed
CY
5936 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5937 Load generated autoloads file before byte compiling (Bug#10970).
5938 (package--make-autoloads-and-compile): New helper fun.
5939
4098f8f7
CS
59402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5941
5942 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5943
8f754691
MA
59442012-03-11 Michael Albinus <michael.albinus@gmx.de>
5945
5946 * autorevert.el (auto-revert-handler): Ensure, that
5947 file-readable-p is applied only for local files or in
5948 auto-revert-tail-mode.
5949
e29ab36b
AS
59502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5951
dbbc2e69
SM
5952 * server.el (server-eval-at): Handle non-tcp connections.
5953 Decode result string.
ad0bf5b6 5954
e29ab36b
AS
5955 * server.el (server-msg-size): New constant.
5956 (server-reply-print): New function.
5957 (server-eval-and-print): Use it.
5958 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5959 Handle -print-nonl.
5960
de5939ba
CS
59612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5962
5963 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5964 (Bug#10987).
5965
0c93eabf
CY
59662012-03-11 Chong Yidong <cyd@gnu.org>
5967
397a688f
CY
5968 * simple.el (goto-line): Doc fix (Bug#9938).
5969
2cc775f9
CY
5970 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5971
0c93eabf
CY
5972 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5973 when finished (Bug#10963).
5974
c491fa41
MR
59752012-03-11 Martin Rudalics <rudalics@gmx.at>
5976
5977 * window.el (split-window-below): Fix bug in case where
5978 split-window-keep-point is nil (Bug#10971).
5979
300e8fa5
JL
59802012-03-11 Juri Linkov <juri@jurta.org>
5981
5982 * replace.el (replace-highlight): Set isearch-word to nil
5983 unconditionally. (Bug#10887)
5984
dbf6c5a1
EZ
59852012-03-10 Eli Zaretskii <eliz@gnu.org>
5986
5987 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5988 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5989 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5990 (mairix-widget-create-query): Add usage information about mairix
5991 search forms: negating words, searching for substrings, etc.
5992
b9e501de
JP
59932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5994
5995 * international/fontset.el (font-encoding-alist): Add an entry for
5996 ksx1001 (Bug#5667).
5997
92795c91
RS
59982012-03-10 Richard Stallman <rms@gnu.org>
5999
1694e6c1
RS
6000 * mail/sendmail.el (mail-encode-header):
6001 Set rfc2047-encode-encoded-words.
6002
607e8555
RS
6003 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6004
de3bc99a
RS
6005 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6006 view buffer means not swapped.
6007 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6008 (rmail-write-region-annotate): Error if real text has disappeared.
6009
92795c91
RS
6010 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6011
699bd04e
CY
60122012-03-10 Chong Yidong <cyd@gnu.org>
6013
6014 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6015 * emulation/cua-base.el (cua--init-keymaps):
6016 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6017
570a1714
MR
60182012-03-10 Martin Rudalics <rudalics@gmx.at>
6019
dbbc2e69
SM
6020 * speedbar.el (speedbar-unhighlight-one-tag-line):
6021 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6022
82dcf4e4
CY
60232012-03-10 Chong Yidong <cyd@gnu.org>
6024
7a2c7ca7
CY
6025 * minibuffer.el (completion-in-region, completion-help-at-point):
6026 Give the completion field overlay a high priority (Bug#6830).
6027
82dcf4e4
CY
6028 * dired.el (dired-goto-file): Recognize absolute file name
6029 listings (Bug#7126).
6030 (dired-goto-file-1): New helper function.
6031 (dired-toggle-read-only): Inhibit warnings.
6032
052e28ac
MA
60332012-03-09 Michael Albinus <michael.albinus@gmx.de>
6034
75f1671a 6035 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6036 there are no properties.
6037
95d5e396
LL
60382012-03-09 Leo Liu <sdl.web@gmail.com>
6039
6040 * savehist.el (savehist-printable): Stricter check for string
6041 value (Bug#10937).
6042
3f018d6d
EZ
60432012-03-09 Eli Zaretskii <eliz@gnu.org>
6044
dbbc2e69
SM
6045 * mail/smtpmail.el (smtpmail-send-it):
6046 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6047 valid mbox format.
6048
f7fd3d79
GM
60492012-03-09 Glenn Morris <rgm@gnu.org>
6050
6051 * files.el (dir-locals-find-file):
6052 Don't check result is regular, readable.
6053 (dir-locals-read-from-file): Demote errors.
6054
6ff6e72f
EZ
60552012-03-08 Eli Zaretskii <eliz@gnu.org>
6056
dbbc2e69
SM
6057 * international/quail.el (quail-insert-kbd-layout):
6058 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6059 layout cell, to prevent their reordering by bidi display engine.
6060 For details, see the discussion in
6061 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6062
9cec7834
AM
60632012-03-08 Alan Mackenzie <acm@muc.de>
6064
6065 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6066 the starting position; make it extend the marked region when
6067 invoked repeatedly - all under appropriate circumstances.
6068 Fixes bugs #5525, #10906.
6069
9a40b8d4
GM
60702012-03-08 Glenn Morris <rgm@gnu.org>
6071
6072 * files.el (locate-dominating-file, dir-locals-find-file):
6073 Undo 2012-03-06 change.
6074
7a08ed35
EZ
60752012-03-07 Eli Zaretskii <eliz@gnu.org>
6076
dbbc2e69
SM
6077 * international/quail.el (quail-help):
6078 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6079 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6080 for the reason.
6081
5aca4f71 60822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6083
6084 Avoid superfluous registering of signals. (Bug#10807)
6085
6086 * notifications.el (notifications-on-action-object)
6087 (notifications-on-close-object): New defvars.
6088 (notifications-on-action-signal, notifications-on-closed-signal):
6089 Unregister the signal if not needed any longer.
6090 (notifications-notify): Register `notifications-action-signal' or
6091 `notifications-closed-signal', if :on-action or :on-close has been
6092 passed as argument.
6093
78e8b10a
CY
60942012-03-07 Chong Yidong <cyd@gnu.org>
6095
6096 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6097 non-X platforms.
6098
69481eb8
GM
60992012-03-06 Glenn Morris <rgm@gnu.org>
6100
6101 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6102 (x-disown-selection-internal, x-get-selection-internal):
6103 Doc fix (add arglist signatures). (Bug#10783)
6104
133b8e11
KS
61052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6106
6107 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6108 Handle breakpoints with no "type".
6109
99a83064
GM
61102012-03-06 Glenn Morris <rgm@gnu.org>
6111
6112 * files.el (locate-dominating-file): Add optional predicate argument.
6113 (dir-locals-find-file): Make use of above change.
6114
17798e78
TTN
61152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6116
6117 * info.el (Info-insert-dir): Also try "dir.gz".
6118
eb182446
GM
61192012-03-06 Glenn Morris <rgm@gnu.org>
6120
8f2114ee
GM
6121 * files.el (dir-locals-find-file):
6122 Ignore non-readable or non-regular files. (Bug#10928)
6123
eb182446
GM
6124 * files.el (locate-dominating-file): Doc fix.
6125
24679323
AS
61262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6127
6128 * calendar/calendar.el (calendar-set-mode-line):
6129 `getenv' returns a string. (Bug#10951)
6130
01d972a9
LL
61312012-03-05 Leo Liu <sdl.web@gmail.com>
6132
109aa8a9
LL
6133 * simple.el (backward-delete-char-untabify): Constrain point to
6134 field (Bug#10939).
6135
01d972a9
LL
6136 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6137
10607bea
CY
61382012-03-05 Chong Yidong <cyd@gnu.org>
6139
6140 * simple.el (count-words): If called from Lisp, return the word
6141 count, for symmetry with `count-lines'. Arglist changed.
6142 (count-words--message): Args changed. Consolidate counting code
6143 from count-words and count-words-region.
6144 (count-words-region): Caller changed.
6145 (count-lines-region): Make it an obsolete alias.
6146
5dd11cfe
TH
61472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6148
6149 * saveplace.el (save-place-to-alist)
6150 (save-place-ignore-files-regexp): Allow value nil to disable this
6151 feature.
6152
c349f4e6
CY
61532012-03-04 Chong Yidong <cyd@gnu.org>
6154
6155 * faces.el (face-spec-reset-face): For the default face, reset the
6156 attributes to default values (Bug#10748).
6157
e627be4c
LMI
61582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6159
6160 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6161 previous patch: Check `message-send-mail-function', and not the
6162 default function (bug#10897).
6163
ebeabff4
MA
61642012-03-04 Michael Albinus <michael.albinus@gmx.de>
6165
a41a6cf4
MA
6166 * notifications.el (notifications-on-action-signal)
6167 (notifications-on-closed-signal): Check for unique service name of
6168 incoming event. Fix error in removing entry.
ebeabff4 6169 (top): Register for signals with wildcard service name.
a41a6cf4 6170 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6171
c1ca42b4
CY
61722012-03-04 Chong Yidong <cyd@gnu.org>
6173
dc9924b8 6174 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6175
ea16568d
GM
61762012-03-04 Glenn Morris <rgm@gnu.org>
6177
6178 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6179 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6180 (expand-abbrev, define-abbrev-table): Doc fixes.
6181
fbae4637
LMI
61822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6183
6184 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6185 `message-default-send-mail-function' and not `send-mail-function'
6186 when doing the prompting for `sendmail-query-once' before sending
6187 in Message buffers (bug#10897).
6188
a1e7225c
LMI
6189 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6190 This is inconsistent with all the other stream functions, which leave
6191 the setting up to the higher levels (if so wanted) (bug#10931).
6192
56d093a9
AM
61932012-03-02 Alan Mackenzie <acm@muc.de>
6194
6195 Depessimize the handling of very large macros.
6196
6197 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6198 (c-macro-cache-syntactic): New variables to implement a one
6199 element macro cache.
6200 (c-invalidate-macro-cache): New function.
6201 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6202 Adapt to use the new cache.
6203 (c-state-safe-place): Use better the cache of safe positions.
6204 (c-state-semi-nonlit-pos-cache)
6205 (c-state-semi-nonlit-pos-cache-limit):
6206 New variables for...
6207 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6208 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6209 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6210 Use c-state-semi-safe-place.
56d093a9 6211
dbbc2e69
SM
6212 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6213 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6214
817e5c3d
MA
62152012-03-02 Michael Albinus <michael.albinus@gmx.de>
6216
dbbc2e69
SM
6217 * jka-compr.el (jka-compr-call-process):
6218 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6219 not remote.
6220
a032a702
MA
62212012-03-01 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6224 access of FILE2, if FILE1 does not exist.
6225
99a54f21
MA
6226 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6227 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6228
6229 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6230 Add "PAGER=" to `process-environment'.
6231
f6561e1f
MM
62322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6233
6234 * progmodes/sql.el: Bug fix
6235 (sql-get-login-ext): Save login values in globals.
6236 (sql-get-login): Use new version of `sql-get-login-ext'.
6237 (sql-interactive-mode): Set global `sql-connection' to nil.
6238 (sql-connect): Set global values for connection.
6239 (sql-product-interactive): Save global values as buffer local.
6240
2d44d9cc
LL
62412012-02-29 Leo Liu <sdl.web@gmail.com>
6242
6243 * abbrev.el (define-abbrevs): Reset sys to nil.
6244
96b49301 62452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6246
bf7f9bc5
JB
6247 * files.el (file-equal-p): Rename from `files-equal-p'.
6248 Return nil when one or both files don't exist.
96b49301 6249 (file-subdir-of-p): Now only top directory must exists,
6250 return nil if it doesn't.
bf7f9bc5
JB
6251 (copy-directory): No need to test with `file-subdir-of-p' after
6252 creating dir.
6253 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6254 to `file-equal-p'.
96b49301 6255
44e97401
GM
62562012-02-28 Glenn Morris <rgm@gnu.org>
6257
6258 * shell.el (shell-mode):
6259 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6260 * play/landmark.el (landmark-font-lock-face-O):
6261 * play/handwrite.el (handwrite):
6262 * play/gomoku.el (gomoku-O):
6263 * net/browse-url.el (browse-url-browser-display):
6264 * international/mule.el (define-charset):
6265 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6266 * filesets.el (filesets-find-file-delay):
6267 * eshell/em-xtra.el (eshell-xtra):
6268 * eshell/em-unix.el (eshell-grep):
6269 * emulation/viper.el (viper-mode):
6270 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6271 * emacs-lisp/easymenu.el (easy-menu-define):
6272 * calendar/timeclock.el (timeclock-use-display-time):
6273 * bs.el (bs-mode):
6274 * bookmark.el (bookmark-save-flag):
6275 Doc fix (standardize possessive apostrophe usage).
6276
c98c6276
CY
62772012-02-27 Chong Yidong <cyd@gnu.org>
6278
bf7f9bc5
JB
6279 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6280 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6281
c98c6276
CY
6282 * font-lock.el (font-lock-specified-p): Rename from
6283 font-lock-spec-present. Callers changed.
6284
9c62cd04 62852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6286
bf7f9bc5
JB
6287 * emacs-lisp/package.el (package-compute-transaction):
6288 Handle holding a package version to t in package-load-list.
8ac9e529 6289
530739c9
MA
62902012-02-26 Michael Albinus <michael.albinus@gmx.de>
6291
6292 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6293 (tramp-get-inode, tramp-get-device): Use cached values.
6294
487915d7
AM
62952012-02-26 Alan Mackenzie <acm@muc.de>
6296
6297 Check there is a font-lock specification before doing initial
6298 fontification.
6299
6300 * font-core.el (font-lock-mode): Move the conditional from
6301 :after-hook to font-lock-initial-fontify.
6302 (font-lock-default-function): Move the check for a specification
6303 to font-lock-spec-present.
6304
dc9924b8 6305 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6306 (font-lock-spec-present): New function.
6307
4fd96557
JB
63082012-02-26 Jim Blandy <jimb@red-bean.com>
6309
6310 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6311 (gdb-send): Apply it to the operand of the '-interpreter-exec
6312 console' command, so that we can pass arguments with (say) quotes
6313 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6314
9a4888c0
CY
63152012-02-26 Chong Yidong <cyd@gnu.org>
6316
07498861
CY
6317 * help-fns.el (describe-function-1): Clarify description of
6318 remapping (Bug#10844).
6319
9a4888c0
CY
6320 * files.el (files-equal-p): Doc fix.
6321 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6322 and quit the loop once a mismatch is found.
6323
ea8fb88d
JB
63242012-02-25 Juanma Barranquero <lekktu@gmail.com>
6325
6326 * bs.el (bs--show-with-configuration): Don't throw an error
6327 if the window cannot be split; otherwise, subsequent calls to
6328 bs-show fail, restoring a stale window config. (Bug#10882)
6329
525795c1
JD
63302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6331
6332 * term/ns-win.el (global-map): Bind ns-drag-file to
6333 ns-find-file (Bug#5855, Bug#10050).
6334
f008086f
AS
63352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6336
6337 * calendar/parse-time.el (parse-time-string): Allow extractor to
6338 return nil.
6339
a3fcfa99
MA
63402012-02-25 Michael Albinus <michael.albinus@gmx.de>
6341
91027d08
JB
6342 * net/tramp.el (tramp-file-name-for-operation):
6343 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6344
6345 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6346 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6347 Add COPY-CONTENTS argument.
a3fcfa99 6348
67b0de11
CY
63492012-02-25 Chong Yidong <cyd@gnu.org>
6350
6351 Add custom groups for VC backends, for consistency with vc-bzr.
6352
6353 * vc/vc-arch.el (vc-arch):
6354 * vc/vc-cvs.el (vc-cvs):
6355 * vc/vc-git.el (vc-git):
6356 * vc/vc-hg.el (vc-hg):
6357 * vc/vc-mtn.el (vc-mtn):
6358 * vc/vc-rcs.el (vc-rcs):
6359 * vc/vc-sccs.el (vc-sccs):
6360 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6361 All relevant defcustoms reassigned.
6362
3c9dfce6
CY
63632012-02-25 Chong Yidong <cyd@gnu.org>
6364
1339bf43
CY
6365 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6366
3c9dfce6
CY
6367 * term/x-win.el (x-initialize-window-system): Reduce default for
6368 x-selection-timeout to 5 seconds (Bug#8869).
6369
25b2e303 63702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6371
ec70a47d
GM
6372 * files.el (files-equal-p, file-subdir-of-p): New functions.
6373 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6374 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6375 * dired-aux.el (dired-copy-file-recursive): Same.
6376 (dired-create-files): Modify destination when source is equal to
6377 dest when copying files.
53a46cd0 6378 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6379
914260cd
MA
63802012-02-24 Michael Albinus <michael.albinus@gmx.de>
6381
6382 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6383 (Bug#10874)
6384
2cb228f7
AM
63852012-02-23 Alan Mackenzie <acm@muc.de>
6386
6387 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6388 parameter "after-hook:" to allow the expansion to run code after
6389 the execution of the mode hooks.
6390
6391 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6392 from font-lock-mode-internal.
2cb228f7 6393
91027d08 6394 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6395 :after-hook.
6396
8f0fde21
SM
63972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6398
3e88618b
SM
6399 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6400 (completion--cache-all-sorted-completions): New function.
6401 (completion-all-sorted-completions): Use it.
6402 (completion--do-completion, minibuffer-force-complete):
6403 Use it to re-instate the flush hook.
6404
8f0fde21
SM
6405 * icomplete.el (icomplete-completions): Replace last fix with a better
6406 one (bug#10850).
6407
8e911f6f
DG
64082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6409
6410 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6411 when it might call us back infinitely (bug#10797).
6412
49fe4321
GM
64132012-02-23 Glenn Morris <rgm@gnu.org>
6414
6415 * minibuffer.el (completion-category-overrides): Doc fix.
6416
b291b572
SM
64172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6418
6419 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6420 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6421
31a9ef2e
GM
64222012-02-23 Glenn Morris <rgm@gnu.org>
6423
5e6e6794 6424 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6425 (authors-obsolete-files-regexps, authors-ignored-files)
6426 (authors-ambiguous-files, authors-renamed-files-alist):
6427 Add more entries.
6428
0bd1e074
JL
64292012-02-23 Juri Linkov <juri@jurta.org>
6430
6431 * isearch.el (isearch-occur): Sync interactive spec with occur's
6432 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6433
b617673c
JL
6434 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6435
19e9789e
JL
64362012-02-22 Juri Linkov <juri@jurta.org>
6437
6438 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6439 (ucs-insert): Doc fix. Check for hex digits in the string.
6440 Don't display `nil' in the error message. (Bug#10857)
6441
f41ce09d
AM
64422012-02-22 Alan Mackenzie <acm@muc.de>
6443
7a71b18d 6444 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6445
ac2eceee
GM
64462012-02-22 Glenn Morris <rgm@gnu.org>
6447
6448 * ffap.el (ffap-c-path):
6449 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6450
abd1f678
CY
64512012-02-22 Chong Yidong <cyd@gnu.org>
6452
6453 * custom.el (load-theme): Doc fix.
6454
f25aef2e
GM
64552012-02-22 Glenn Morris <rgm@gnu.org>
6456
6457 * dired-x.el (dired-guess-shell-alist-default):
6458 Remove escape sequences from nroff output. (Bug#172)
6459
5f8dc2ca
GM
64602012-02-21 Glenn Morris <rgm@gnu.org>
6461
6ff86ec4
GM
6462 * vc/emerge.el (emerge-defvar-local):
6463 Set `permanent-local' property rather than unused `preserved'.
6464
be3223a3 6465 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6466 (picture-mode-map): Use it. (Bug#10860)
6467 (picture-mode): Doc fix.
6468
3fe58f4f
JB
64692012-02-21 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * newcomment.el (uncomment-region-default): Remove unused binding.
6472
f9a998c3
GM
64732012-02-21 Glenn Morris <rgm@gnu.org>
6474
6475 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6476 (picture-self-insert, picture-tab-chars): Doc fix.
6477 (picture-mode-map): Fix C-a, C-e.
6478
c6029348
GM
64792012-02-20 Glenn Morris <rgm@gnu.org>
6480
6481 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6482
ab1ce9d7
LL
64832012-02-20 Leo Liu <sdl.web@gmail.com>
6484
6485 * icomplete.el (icomplete-completions): Check FROM arg before
6486 passing to substring (Bug#10850).
6487
0fd40f89
CY
64882012-02-19 Chong Yidong <cyd@gnu.org>
6489
6490 * comint.el: Require ansi-color.
6491 (comint-output-filter-functions): Add ansi-color-process-output.
6492
6493 * ansi-color.el: Don't set comint-output-filter-functions; it is
6494 now in the initial value defined in comint.el.
6495 (ansi-color-apply-face-function): New variable.
6496 (ansi-color-apply-on-region): Use it.
6497 (ansi-color-apply-overlay-face): New function.
6498
6499 * shell.el (shell): No need to require ansi-color.
6500 (shell-mode): Use ansi-color-apply-face-function to highlight
6501 color escapes using font-lock-face property (Bug#10835).
6502
20af2394
CY
65032012-02-19 Chong Yidong <cyd@gnu.org>
6504
6505 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6506 mode-line formats (Bug#10839).
6507
e23a3fbe
GM
65082012-02-18 Glenn Morris <rgm@gnu.org>
6509
b474519e
GM
6510 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6511
6512 * mail/undigest.el (unforward-rmail-message): Doc fix.
6513
e23a3fbe
GM
6514 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6515
57939ff4
EZ
65162012-02-18 Eli Zaretskii <eliz@gnu.org>
6517
6518 * international/characters.el (script-list): Sync with the latest
6519 Unicode Character Database.
6520
0c23686e
AS
65212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6522
6523 * international/titdic-cnv.el: Remove duplicate coding tag.
6524 * language/cham.el: Likewise.
6525 * language/tai-viet.el: Likewise.
6526
6818b449
GM
65272012-02-18 Glenn Morris <rgm@gnu.org>
6528
6529 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6530 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6531 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6532 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6533 * calendar/holidays.el (holiday-bahai-holidays)
6534 (calendar-holidays, list-holidays):
6535 Use utf-8 Bahá'í in doc-strings, menus, etc.
6536
0311a3fc
TH
65372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6538
6539 * saveplace.el (save-place-ignore-files-regexp): New variable
6540 allowing for excluding files from saving their location of point.
6541 The default value matches the temporary commit message editing
6542 files from Git, SVN, Bazaar, and Mercurial.
6543 (save-place-to-alist): Use it.
6544
d209e2fb 65452012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6546 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6547
6548 * newcomment.el (uncomment-region-default): Don't leave extra space
6549 when an arg is provided (bug#8150).
6550
ee0ce425
TZ
65512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6552
eb864a71 6553 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6554
95ddf442
GM
65552012-02-17 Glenn Morris <rgm@gnu.org>
6556
6557 * net/socks.el: Require network-stream. (Bug#10599)
6558
48dd1e39 65592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6560
6561 * international/charprop.el:
6562 * international/uni-name.el:
6563 * international/uni-old-name.el:
6564 * international/uni-comment.el: Regenerate.
6565
d68cd087
GM
65662012-02-16 Glenn Morris <rgm@gnu.org>
6567
6568 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6569 Interactively in calendar buffer, give an error if not on a date.
6570
13932042
GM
65712012-02-15 Glenn Morris <rgm@gnu.org>
6572
6573 * shell.el (shell-delimiter-argument-list):
6574 Revert 2011-02-17 change. (Bug#8027)
6575
c3a70e2b
CY
65762012-02-15 Chong Yidong <cyd@gnu.org>
6577
60236b0d
CY
6578 * minibuffer.el (completion-at-point-functions): Doc fix.
6579
c3a70e2b
CY
6580 * custom.el (defcustom): Doc fix; note use of defvar.
6581
9f26dc24
GM
65822012-02-15 Glenn Morris <rgm@gnu.org>
6583
6584 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6585 Doc fixes.
6586
6546b134
GM
65872012-02-14 Glenn Morris <rgm@gnu.org>
6588
6589 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6590
d29b2b4c
LI
65912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6592
6593 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6594 way the ports list is computed.
835bdcba
LI
6595 (smtpmail-query-smtp-server): Prompt the user for a port number if
6596 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6597
08dcdbc9
TZ
65982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6599
6600 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6601
2605051a
GM
66022012-02-13 Glenn Morris <rgm@gnu.org>
6603
6604 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6605
7ee99f32
TZ
66062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6607
6608 * net/gnutls.el (gnutls-trustfiles): New variable.
6609 (gnutls-negotiate): Use it.
6610
5f0af64f
LI
66112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6612
6613 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6614 does its stuff if Gnus is running.
6615
c14fcc95
AM
66162012-02-13 Alan Mackenzie <acm@muc.de>
6617
6618 Fix a loop in c-set-fl-decl-start.
6619
7a71b18d 6620 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6621 c-backward-syntactic-ws actually moves backwards.
6622
142b4d90
LL
66232012-02-13 Leo Liu <sdl.web@gmail.com>
6624
6625 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6626 beginning so that all \C-o chars are removed.
6627
fa9958a6
TZ
66282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6629
dc9924b8 6630 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6631
0bc5886a
AM
66322012-02-12 Alan Mackenzie <acm@muc.de>
6633
6634 Fix infinite loop with long macros.
4d6769e1 6635 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6636
d4bd55e7
CY
66372012-02-12 Chong Yidong <cyd@gnu.org>
6638
6639 * window.el (display-buffer): Doc fix (Bug#10785).
6640
66f3fe22
GM
66412012-02-12 Glenn Morris <rgm@gnu.org>
6642
bd7da63e
GM
6643 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6644 (x-disown-selection-internal, x-get-selection-internal):
6645 Sync docs with the xselect.c versions.
6646
66f3fe22
GM
6647 * allout-widgets.el: Add missing license notice.
6648
3e0d2fa7
GM
66492012-02-11 Glenn Morris <rgm@gnu.org>
6650
cfecdf09
GM
6651 * select.el (x-get-selection-internal, x-own-selection-internal)
6652 (x-disown-selection-internal):
6653 * x-dnd.el (x-get-selection-internal): Update declarations.
6654
6d216d7f
GM
6655 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6656
2bed3f04
GM
6657 * window.el (window-sides-slots):
6658 * tool-bar.el (tool-bar-position):
6659 * term/xterm.el (xterm-extra-capabilities):
6660 * ses.el (ses-self-reference-early-detection):
6661 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6662 (verilog-auto-wire-type)
6663 (verilog-auto-delete-trailing-whitespace)
6664 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6665 (verilog-auto-tieoff-declaration):
6666 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6667 (sql-oracle-statement-starters, sql-oracle-scan-on):
6668 * progmodes/prolog.el (prolog-align-comments-flag)
6669 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6670 (prolog-left-indent-regexp, prolog-paren-indent-p)
6671 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6672 (prolog-types, prolog-mode-specificators)
6673 (prolog-determinism-specificators, prolog-directives)
6674 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6675 (prolog-electric-dot-flag)
6676 (prolog-electric-dot-full-predicate-template)
6677 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6678 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6679 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6680 (prolog-program-switches, prolog-prompt-regexp)
6681 (prolog-debug-on-string, prolog-debug-off-string)
6682 (prolog-trace-on-string, prolog-trace-off-string)
6683 (prolog-zip-on-string, prolog-zip-off-string)
6684 (prolog-use-standard-consult-compile-method-flag)
6685 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6686 (prolog-imenu-max-lines, prolog-info-predicate-index)
6687 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6688 (prolog-char-quote-workaround):
6689 * progmodes/cc-vars.el (c-defun-tactic):
6690 * net/tramp.el (tramp-encoding-command-interactive)
6691 (tramp-local-end-of-line):
6692 * net/soap-client.el (soap-client):
6693 * net/netrc.el (netrc-file):
6694 * net/gnutls.el (gnutls):
6695 * minibuffer.el (completion-category-overrides)
6696 (completion-cycle-threshold)
6697 (completion-pcm-complete-word-inserts-delimiters):
6698 * man.el (Man-name-local-regexp):
6699 * mail/feedmail.el (feedmail-display-full-frame):
6700 * international/characters.el (glyphless-char-display-control):
6701 * eshell/em-ls.el (eshell-ls-date-format):
6702 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6703 (lisp-lambda-list-keyword-parameter-indentation)
6704 (lisp-lambda-list-keyword-parameter-alignment):
6705 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6706 * dired-x.el (dired-omit-verbose):
6707 * cus-theme.el (custom-theme-allow-multiple-selections):
6708 * calc/calc.el (calc-highlight-selections-with-faces)
6709 (calc-lu-field-reference, calc-lu-power-reference)
6710 (calc-note-threshold):
6711 * battery.el (battery-mode-line-limit):
6712 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6713 (archive-7z-update):
6714 * allout.el (allout-prefixed-keybindings)
6715 (allout-unprefixed-keybindings)
6716 (allout-inhibit-auto-fill-on-headline)
6717 (allout-flattened-numbering-abbreviation):
6718 * allout-widgets.el (allout-widgets-auto-activation)
6719 (allout-widgets-icons-dark-subdir)
6720 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6721 (allout-widgets-theme-dark-background)
6722 (allout-widgets-theme-light-background)
6723 (allout-widgets-item-image-properties-emacs)
6724 (allout-widgets-item-image-properties-xemacs)
6725 (allout-widgets-run-unit-tests-on-load)
6726 (allout-widgets-time-decoration-activity)
6727 (allout-widgets-hook-error-post-time)
6728 (allout-widgets-track-decoration):
6729 Add missing :version tags to new defcustoms and defgroups.
6730
5fec1b8e
GM
6731 * progmodes/sql.el (sql-ansi-statement-starters)
6732 (sql-oracle-statement-starters): Add custom type.
6733
3e0d2fa7
GM
6734 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6735 (prolog-system-version): Give it a type.
6736
90b671e2
EZ
67372012-02-11 Eli Zaretskii <eliz@gnu.org>
6738
6739 * term/pc-win.el (x-select-text, x-selection-owner-p)
6740 (x-own-selection-internal, x-disown-selection-internal)
6741 (x-get-selection-internal): Sync doc strings and argument lists
6742 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6743
5eac0c02
LL
67442012-02-11 Leo Liu <sdl.web@gmail.com>
6745
6746 * progmodes/python.el (python-end-of-statement): Fix infinite
6747 loop. (Bug#10788)
6748
f82cb659
GM
67492012-02-10 Glenn Morris <rgm@gnu.org>
6750
6751 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6752 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6753
cc26d239
LI
67542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6755
6756 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6757 about SMTP before checking the From header.
6758
91027d08 6759 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6760 into own function for reuse by emacsbug.el.
6761
1be3ca5a
LL
67622012-02-10 Leo Liu <sdl.web@gmail.com>
6763
6764 * subr.el (condition-case-unless-debug): Rename from
6765 condition-case-no-debug. All callers changed.
6766 (with-demoted-errors): Fix caller.
6767
6768 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6769 * nxml/rng-valid.el (rng-do-some-validation):
6770 * emacs-lisp/package.el (package-refresh-contents)
6771 (package-menu-execute):
6772 * desktop.el (desktop-create-buffer):
91027d08 6773 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6774
b011fbfe
GM
67752012-02-10 Glenn Morris <rgm@gnu.org>
6776
b2096d72
GM
6777 * textmodes/bibtex.el:
6778 Add missing :version tags for new/changed defcustoms.
6779
b011fbfe
GM
6780 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6781
4c7e65bf
LI
67822012-02-09 Lars Ingebrigtsen <larsi@rusty>
6783
6784 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6785 (smtpmail-via-smtp): Use it, or fall back on the From address.
6786 (smtpmail-send-it): Ditto.
6787
f3934f6f
SM
67882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6791 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6792 (byte-compile-tmp-var): New const.
6793 (byte-compile-defvar): Use it to minimize .elc size.
6794 Just use `defvar' rather than simulate it (bug#10761).
6795
a075a2c5
GM
67962012-02-09 Glenn Morris <rgm@gnu.org>
6797
cf3aa21b
GM
6798 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6799
354998cd
GM
6800 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6801 Add :version tags.
6802
dc9924b8
SM
6803 * progmodes/compile.el (compilation-error-screen-columns)
6804 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6805
dab3703d
GM
6806 * vc/log-view.el (log-view-toggle-entry-display):
6807 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6808
3f88cd72
GM
6809 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6810 (report-emacs-bug-can-use-xdg-email):
6811 (report-emacs-bug-insert-to-mailer): Doc fixes.
6812 (report-emacs-bug): Message fix.
6813
d95b247d
GM
6814 * net/browse-url.el (browse-url-can-use-xdg-open)
6815 (browse-url-xdg-open): Doc fixes.
6816
a075a2c5
GM
6817 * electric.el (electric-indent-mode, electric-pair-mode)
6818 (electric-layout-rules, electric-layout-mode): Doc fixes.
6819 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6820
ffb6157e
MR
68212012-02-08 Martin Rudalics <rudalics@gmx.at>
6822
6823 * server.el (server-unselect-display): Don't inadvertently kill
6824 the current buffer. (Bug#10729)
6825
e1ac4066
GM
68262012-02-08 Glenn Morris <rgm@gnu.org>
6827
34e8a2da
GM
6828 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6829 (sql-list-table): Doc fixes.
6830
b4ac6e8c
GM
6831 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6832 Comment out (does nothing).
6833
e1ac4066
GM
6834 * completion.el (dynamic-completion-mode):
6835 * dirtrack.el (dirtrack-debug-mode):
6836 * electric.el (electric-layout-mode):
6837 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6838 * face-remap.el (text-scale-mode, buffer-face-mode):
6839 * iimage.el (iimage-mode):
6840 * image-mode.el (image-transform-mode):
6841 * minibuffer.el (completion-in-region-mode):
6842 * scroll-lock.el (scroll-lock-mode):
6843 * simple.el (next-error-follow-minor-mode):
6844 * tar-mode.el (tar-subfile-mode):
6845 * tooltip.el (tooltip-mode):
6846 * vcursor.el (vcursor-use-vcursor-map):
6847 * wid-browse.el (widget-minor-mode):
6848 * emulation/tpu-edt.el (tpu-edt-mode):
6849 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6850 * international/iso-ascii.el (iso-ascii-mode):
6851 * language/thai-util.el (thai-word-mode):
6852 * mail/supercite.el (sc-minor-mode):
6853 * net/goto-addr.el (goto-address-mode):
6854 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6855 * progmodes/cwarn.el (cwarn-mode):
6856 * progmodes/flymake.el (flymake-mode):
6857 * progmodes/glasses.el (glasses-mode):
6858 * progmodes/hideshow.el (hs-minor-mode):
6859 * progmodes/pascal.el (pascal-outline-mode):
6860 * textmodes/enriched.el (enriched-mode):
6861 * vc/smerge-mode.el (smerge-mode):
6862 Doc fixes (minor mode argument).
6863
5e0d957f
EZ
68642012-02-07 Eli Zaretskii <eliz@gnu.org>
6865
6866 * ls-lisp.el (ls-lisp-sanitize): New function.
6867 (ls-lisp-insert-directory): Use it to fix or remove any elements
6868 in file-alist with missing attributes. (Bug#4673)
6869
98d7371e
AM
68702012-02-07 Alan Mackenzie <acm@muc.de>
6871
6872 Fix spurious recognition of c-in-knr-argdecl.
6873
6874 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6875 putative K&R region.
6876
667ced3a
AM
68772012-02-07 Alan Mackenzie <acm@muc.de>
6878
eb864a71
LM
6879 * progmodes/cc-engine.el (c-forward-objc-directive):
6880 Prevent looping in "#pragma mark @implementation".
667ced3a 6881
5b77774d
MA
68822012-02-07 Michael Albinus <michael.albinus@gmx.de>
6883
6884 * notifications.el (notifications-on-closed-signal): Make `reason'
6885 optional. (Bug#10744)
6886
af008560
GM
68872012-02-07 Glenn Morris <rgm@gnu.org>
6888
60d47423
GM
6889 * emacs-lisp/easy-mmode.el (define-minor-mode):
6890 Doc fixes for the macro and the mode it defines.
6891
dd605cc4
GM
6892 * image.el (imagemagick-types-inhibit): Doc fix.
6893
af008560
GM
6894 * cus-start.el (imagemagick-render-type): Add it.
6895
5cc59a37
LI
68962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6897
4d6769e1
JB
6898 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6899 Set the default at load time, too, so that `font-lock-fontify-buffer'
6900 can be called without setting up the entire mode first. This fixes
6901 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6902
9a6dd747
CY
69032012-02-06 Chong Yidong <cyd@gnu.org>
6904
2d16b285
CY
6905 * simple.el (list-processes--refresh): Delete exited processes
6906 (Bug#8094).
6907
171e9b6e
CY
6908 * comint.el (comint-next-prompt): next-single-char-property-change
6909 and prev-single-char-property-change never return nil (Bug#8657).
6910
9a6dd747
CY
6911 * custom.el (defcustom): Doc fix (Bug#9711).
6912
aa4589a7
CY
69132012-02-05 Chong Yidong <cyd@gnu.org>
6914
5c2a252f
CY
6915 * cus-edit.el (custom-variable-reset-backup): Quote the value
6916 before storing it in the customized-value property (Bug#6712).
4aab9006 6917 (custom-display): Add a customization type tag.
983b9602 6918 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6919
aa4589a7
CY
6920 * wid-edit.el (widget-field-value-get): New optional arg to
6921 suppress trailing whitespace truncation.
6922 (character): Use it (Bug#2689).
6923
1ff980ae
AS
69242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6925
6926 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6927 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6928
03988c98
CY
69292012-02-05 Chong Yidong <cyd@gnu.org>
6930
eeb6cc88
CY
6931 * cus-edit.el (custom-variable-value-create): For mismatched
6932 types, show the current value (Bug#7600).
6933
03988c98
CY
6934 * custom.el (defcustom): Doc fix.
6935
f8cdeef0
GM
69362012-02-05 Glenn Morris <rgm@gnu.org>
6937
6938 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6939
0696d255
JB
69402012-02-05 Juanma Barranquero <lekktu@gmail.com>
6941
6942 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6943 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6944 (pp-last-sexp): Use `looking-at-p'.
6945
34c99998
GM
69462012-02-04 Glenn Morris <rgm@gnu.org>
6947
8f05da42
GM
6948 * files.el (revert-buffer):
6949 Doc fix (mention revert-buffer-in-progress-p).
6950
f160676e
GM
6951 * emacs-lisp/ert-x.el (ert-simulate-command):
6952 Check deferred-action-list (which is obsolete) is bound.
6953
c7291ad9
GM
6954 * subr.el (with-wrapper-hook): Doc fixes.
6955
34c99998
GM
6956 * simple.el (filter-buffer-substring-functions)
6957 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6958
6283a7d3
LL
69592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6960
6961 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6962 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6963
e96e3013
LL
69642012-02-04 Leo Liu <sdl.web@gmail.com>
6965
6966 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6967
8ded50f2
GM
69682012-02-04 Glenn Morris <rgm@gnu.org>
6969
82ff1d13
GM
6970 * image.el (image-extension-data): Add obsolete alias.
6971
987a0a16
GM
6972 * isearch.el (isearch-update): Doc fix.
6973
ea32ef46
GM
6974 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6975
8ded50f2
GM
6976 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6977
eea14f31
GM
69782012-02-03 Glenn Morris <rgm@gnu.org>
6979
6980 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6981 (image-animate-timeout): Doc fix.
6982
6983 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6984
12f381b7
GM
69852012-02-02 Glenn Morris <rgm@gnu.org>
6986
953cebf5
GM
6987 * server.el (server-auth-dir): Doc fix.
6988 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6989
12f381b7
GM
6990 * subr.el (run-mode-hooks): Doc fix.
6991
953a8c3b
JL
69922012-02-02 Juri Linkov <juri@jurta.org>
6993
6994 * image-mode.el (image-toggle-display-image): Remove tautological
6995 `major-mode' from the `derived-mode-p' test.
6996
c5d3843c
KH
69972012-02-02 Kenichi Handa <handa@m17n.org>
6998
9f6e692e 6999 * composite.el (compose-region): Cancel previous change.
c5d3843c 7000
159462d4 70012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7002
7003 * composite.el (compose-region, compose-string): Signal error for
7004 a null string component (Bug#6988).
7005
9f562668
CY
70062012-02-01 Chong Yidong <cyd@gnu.org>
7007
e2cef717
CY
7008 * view.el (view-buffer-other-window, view-buffer-other-frame):
7009 Handle special modes like view-buffer (Bug#10650).
7010 (view-buffer): Simplify.
7011
9f562668
CY
7012 * frame.el (set-frame-font): Tweak meaning of third argument.
7013
9f6e692e
JB
7014 * dynamic-setting.el (font-setting-change-default-font):
7015 Use set-frame-font (Bug#9982).
9f562668 7016
781acb9f
GM
70172012-02-01 Glenn Morris <rgm@gnu.org>
7018
6035be52
GM
7019 * progmodes/compile.el (compilation-internal-error-properties):
7020 Respect compilation-first-column in the "*compilation*" buffer.
7021
781acb9f
GM
7022 * emacs-lisp/easy-mmode.el (define-minor-mode):
7023 Relax :variable's test for a named function.
7024
abbceb00
AM
70252012-01-31 Alan Mackenzie <acm@muc.de>
7026
7027 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7028 off by one error.
7029
fce3fdeb
CY
70302012-01-31 Chong Yidong <cyd@gnu.org>
7031
7032 * frame.el (set-frame-font): New arg ALL-FRAMES.
7033
7034 * menu-bar.el (menu-set-font): Use set-frame-font.
7035
7036 * faces.el (face-spec-reset-face): Don't apply unspecified
7037 attribute values to the default face.
7038
47893581
JB
70392012-01-31 Juanma Barranquero <lekktu@gmail.com>
7040
7041 * progmodes/cwarn.el (cwarn): Remove dead link.
7042 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7043 Remove * from defcustom docstrings.
7044 (turn-on-cwarn-mode): Make obsolete.
7045 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7046 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7047
e58e988a
GM
70482012-01-31 Glenn Morris <rgm@gnu.org>
7049
60dc2671 7050 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7051 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7052 Allow named functions to be used as the cdr of :variable.
e58e988a 7053
7a3f511d
GM
70542012-01-30 Glenn Morris <rgm@gnu.org>
7055
7056 * emacs-lisp/authors.el (authors-fixed-entries):
7057 Remove reference to deleted file rnewspost.el.
7058
cb882333
JB
70592012-01-29 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * window.el (window-with-parameter): Remove unused variable `windows'.
7062 (window--side-check): Remove unused variable `code'.
7063 (window--resize-siblings): Remove unused variable `first'.
7064 (adjust-window-trailing-edge): Remove unused variable `failed'.
7065 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7066 Use `let', not `let*'.
7067 (balance-windows-2): Remove unused variable `found'.
7068 (window--state-put-2): Remove unused variable `splits'.
7069 (window-state-put): Remove unused variable `selected'.
7070 (same-window-p): Use `string-match-p'.
7071 (display-buffer-assq-regexp): Remove unused variable `value'.
7072 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7073 Mark argument ALIST as ignored.
7074 (pop-to-buffer): Remove unused variable `old-window'.
7075
907201af
EZ
70762012-01-29 Eli Zaretskii <eliz@gnu.org>
7077
7078 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7079 and .lzma compressed files.
7080
ea162670
CY
70812012-01-29 Chong Yidong <cyd@gnu.org>
7082
5b95ee8a
CY
7083 * frame.el (window-system-default-frame-alist): Doc fix.
7084
ea162670
CY
7085 * dynamic-setting.el (font-setting-change-default-font): Don't
7086 change the default face if SET-FONT argument is non-nil (Bug#9982).
7087
d6e6f4b1
SB
70882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7089
7090 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7091
0f29fa41 70922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7093
7094 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7095 breakpoints in files outside current directory (Bug#6098).
7096
db174434
CY
70972012-01-29 Chong Yidong <cyd@gnu.org>
7098
6b25e4e2
SE
7099 * progmodes/python.el: Require ansi-color at top-level.
7100
6df6ae42
JB
7101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7102 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7103 (lisp-mode-abbrev-table): Add doc.
7104 (lisp-mode-variables): Don't set local-abbrev-table.
7105 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7106
e70ee681
RW
71072012-01-28 Roland Winkler <winkler@gnu.org>
7108
7109 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7110
ace88aa2
RW
71112012-01-28 Roland Winkler <winkler@gnu.org>
7112
7113 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7114 (bibtex-set-dialect): Use it. Either set global values of
7115 dialect-dependent variables or bind these variables buffer-locally
7116 (Bug#10254).
7117 (bibtex-mode): Call bibtex-set-dialect via
7118 hack-local-variables-hook.
eb864a71
LM
7119 (bibtex-dialect): Update docstring.
7120 Add safe-local-variable predicate.
ace88aa2
RW
7121 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7122 bibtex-set-dialect.
7123 (bibtex-mode-map): Define menu for each dialect.
7124 (bibtex-entry): Fix docstring.
7125
93376c5b
CY
71262012-01-28 Chong Yidong <cyd@gnu.org>
7127
7128 * eshell/esh-arg.el (eshell-quote-argument): New function.
7129
7130 * eshell/esh-ext.el (eshell-invoke-batch-file):
7131 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7132 first arg to eshell-parse-command (Bug#10523).
7133
4372494f
DA
71342012-01-28 Drew Adams <drew.adams@oracle.com>
7135
7136 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7137 `default-directory' is non-nil.
7138
4d4ec1f8
EZ
71392012-01-28 Eli Zaretskii <eliz@gnu.org>
7140
7141 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7142 line that displays system-configuration-options. (Bug#9924)
7143
7c188927
DA
71442012-01-28 Drew Adams <drew.adams@oracle.com>
7145
7146 * descr-text.el (describe-char): Show information about POS, in
7147 addition to information about the character at POS. Improve and
7148 update the doc string. Change "code point" to "code point in
7149 charset", to avoid confusion with the character's Unicode code
7150 point shown above that. (Bug#10129)
7151
e0da685a
EZ
71522012-01-28 Eli Zaretskii <eliz@gnu.org>
7153
7154 * descr-text.el (describe-char): Show the raw character, not only
7155 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7156 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7157 for the reasons.
7158
70550acf
PH
71592012-01-28 Phil Hagelberg <phil@hagelb.org>
7160
eb864a71
LM
7161 * emacs-lisp/package.el (package-install):
7162 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7163
0ce8e868
CY
71642012-01-28 Chong Yidong <cyd@gnu.org>
7165
cb882333
JB
7166 * emacs-lisp/package.el (package-maybe-load-descriptor):
7167 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7168 (package-maybe-load-descriptor): Use it.
7169 (package-download-transaction): Fully load required packages
7170 inside the loop, so that `require' calls work (Bug#10593).
7171 (package-install): No need to call package-initialize now.
7172
2e7f3bea
CY
71732012-01-28 Chong Yidong <cyd@gnu.org>
7174
6e9bad14
CY
7175 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7176
f823b8ca
CY
7177 * tooltip.el (tooltip-mode): Doc fix.
7178 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7179
2680c309
CY
7180 * frame.el (set-cursor-color): Doc fix (Bug#352).
7181
d7a9e63b
CY
7182 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7183 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7184
2e7f3bea
CY
7185 * cus-edit.el (custom-buffer-create-internal): Fix search button
7186 action (Bug#10542).
2ae01800 7187 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7188
fc4f7a23
EW
71892012-01-27 Eduard Wiebe <usenet@pusto.de>
7190
7191 * dired.el (dired-mark-files-regexp):
7192 Include any subdirectory components. (Bug#10445)
7193
7dd37071
ML
71942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7195
7196 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7197 Handle [host]:port syntax. (Bug#10533)
7198
a268160b
AH
71992012-01-27 Alex Harsanyi <harsanyi@mac.com>
7200
7201 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7202
e43273ef
GM
72032012-01-26 Glenn Morris <rgm@gnu.org>
7204
7205 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7206 * term.el (term-raw-escape-map): Use Control-X-prefix.
7207 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7208
1edf595d
MR
72092012-01-25 Martin Rudalics <rudalics@gmx.at>
7210
7211 * window.el (window-state-get, window--state-get-1): Don't deal
7212 with fixed-sizeness of windows. Simplify code.
7213
fa8eafef
JC
72142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7215
6df6ae42
JB
7216 * window.el (window--state-get-1, window--state-put-2):
7217 Don't save and restore the mark.
fa8eafef 7218
0b21c100
CY
72192012-01-25 Chong Yidong <cyd@gnu.org>
7220
7221 * custom.el (custom-variable-p): Doc fix.
7222
5ae1a6c8
GM
72232012-01-25 Glenn Morris <rgm@gnu.org>
7224
40047858
GM
7225 * dired.el (dired-goto-file): Handle some of the more common
7226 characters that `ls -b' escapes. (Bug#10596)
7227
5ddce96c
GM
7228 * progmodes/compile.el (compilation-next-error-function):
7229 Respect compilation-first-column in the "*compilation*" buffer.
7230 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7231
5ae1a6c8
GM
7232 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7233
b559f1a9
GM
72342012-01-24 Glenn Morris <rgm@gnu.org>
7235
7236 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7237
6725d21a
JD
72382012-01-24 Julien Danjou <julien@danjou.info>
7239
7240 * color.el (color-rgb-to-hsl): Fix value computing.
7241 (color-hue-to-rgb): New function.
7242 (color-hsl-to-rgb): New function.
7243 (color-clamp, color-saturate-hsl, color-saturate-name)
7244 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7245 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7246
70df4bbe
GM
72472012-01-24 Glenn Morris <rgm@gnu.org>
7248
7249 * vc/vc-rcs.el (vc-rcs-create-tag):
7250 * vc/vc-sccs.el (vc-sccs-create-tag):
7251 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7252
802a2ae2
ML
72532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7254
7255 * eshell/esh-util.el (eshell-read-hosts-file):
7256 Skip comment lines. (Bug#10549)
7257
d7128bb1
ML
7258 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7259
d1a5c3b4
JB
72602012-01-23 Juanma Barranquero <lekktu@gmail.com>
7261
2724d9c7
JB
7262 * subr.el (display-delayed-warnings): Doc fix.
7263 (collapse-delayed-warnings): New function to collapse identical
7264 adjacent warnings.
7265 (delayed-warnings-hook): Add it.
d1a5c3b4 7266
a5509865
MA
72672012-01-22 Michael Albinus <michael.albinus@gmx.de>
7268
7269 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7270
a5509865
MA
7271 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7272 (tramp-default-user-alist): Don't add "pscp".
7273 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7274 property "login-as", if set. (Bug#10530)
7275
cc6d5805
MA
72762012-01-21 Michael Albinus <michael.albinus@gmx.de>
7277
7278 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7279 "plink1" and "psftp". (Bug#10530)
7280
72812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7282
7283 * international/mule-cmds.el (prefer-coding-system): Show a
7284 warning message if the default value of file-name-coding-system
7285 was not changed.
7286
f0960428
JC
72872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7288
cb882333
JB
7289 * windmove.el (windmove-reference-loc):
7290 Fix windmove-reference-loc miscalculation.
f0960428 7291
dd6f2a63
JB
72922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7293
7294 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7295 default unit.
7296
7b447e9b
GM
72972012-01-21 Glenn Morris <rgm@gnu.org>
7298
117a9ea1
GM
7299 * international/mule.el (auto-coding-alist): Add .tbz.
7300
7b447e9b
GM
7301 * files.el (local-enable-local-variables): Doc fix.
7302 (inhibit-local-variables-regexps): Rename from
7303 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7304 Doc fix. Add some extensions from auto-coding-alist.
7305 (inhibit-local-variables-suffixes):
7306 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7307 (inhibit-local-variables-p):
7308 New function, extracted from set-auto-mode-1.
7309 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7310 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7311 (hack-local-variables): Doc fix. Make the mode-only case
7312 respect enable-local-variables and friends.
7313 Respect inhibit-local-variables-regexps for file-locals, but
7314 not for directory-locals.
7315 (set-visited-file-name):
7316 Take account of inhibit-local-variables-regexps.
7317 Whether it applies may change as the file name is changed.
7318 * jka-cmpr-hook.el (jka-compr-install):
7319 * jka-compr.el (jka-compr-uninstall):
7320 Update for inhibit-first-line-modes-suffixes name change.
7321
dd6e3cdd
MR
73222012-01-20 Martin Rudalics <rudalics@gmx.at>
7323
7324 * help-macro.el (make-help-screen): Temporarily restore original
7325 binding for minor-mode-map-alist (Bug#10454).
7326
0d0deb38
JD
73272012-01-19 Julien Danjou <julien@danjou.info>
7328
7329 * color.el (color-name-to-rgb): Use the white color to find the max
7330 color component value and return correctly computed values.
7331 (color-name-to-rgb): Add missing float conversion for max value.
7332
34a02f46
MR
73332012-01-19 Martin Rudalics <rudalics@gmx.at>
7334
7335 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7336 special state value for window-persistent-parameters.
7337 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7338 (window--state-put-2): Reset all window parameters to nil before
7339 assigning values of persistent parameters.
7340
606c44c4
AM
73412012-01-18 Alan Mackenzie <acm@muc.de>
7342
7343 Eliminate sluggishness and hangs in fontification of "semicolon
7344 deserts".
7345
cb882333
JB
7346 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7347 Change value 10000 -> 3000.
606c44c4
AM
7348 (c-state-safe-place): Reformulate so it doesn't stack up an
7349 infinite number of wrong entries in c-state-nonlit-pos-cache.
7350 (c-determine-limit-get-base, c-determine-limit): New functions to
7351 determine backward search limits disregarding literals.
7352 (c-find-decl-spots): Amend commenting.
7353 (c-cheap-inside-bracelist-p): New function which detects "={".
7354
7355 * progmodes/cc-fonts.el
7356 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7357 backward search.
7358 (c-font-lock-declarations): Fix an occurrence of point being
7359 undefined. Check additionally for point being in a bracelist or
7360 near a macro invocation without a semicolon so as to avoid a
7361 fruitless time consuming search for a declarator. Give a more
7362 precise search limit for declarators using the new
7363 c-determine-limit.
7364
f3860cea
GM
73652012-01-18 Glenn Morris <rgm@gnu.org>
7366
7367 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7368 (set-auto-mode): Doc fixes.
7369
1db03b16
GM
73702012-01-17 Glenn Morris <rgm@gnu.org>
7371
0e6038be
GM
7372 * isearch.el (search-nonincremental-instead): Fix doc typo.
7373
1db03b16
GM
7374 * dired.el (dired-insert-directory): Handle newlines in directory name.
7375 (dired-build-subdir-alist): Unescape newlines in directory name.
7376
4cb0aa75
MA
73772012-01-17 Michael Albinus <michael.albinus@gmx.de>
7378
7379 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7380 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7381 (tramp-action-terminal): Use it. (Bug#10530)
7382
1d00653d
SM
73832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7386
6a6ee00d
MR
73872012-01-16 Martin Rudalics <rudalics@gmx.at>
7388
7389 * window.el (window-state-ignored-parameters): Remove variable.
7390 (window--state-get-1): Rename argument MARKERS to IGNORE.
7391 Handle persistent window parameters. Make copy of clone-of
7392 parameter only if requested. (Bug#10348)
7393 (window--state-put-2): Install a window parameter only if it has
7394 a non-nil value or an existing parameter shall be overwritten.
7395
97912def
MA
73962012-01-15 Michael Albinus <michael.albinus@gmx.de>
7397
7398 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7399
688070a5
EZ
74002012-01-14 Eli Zaretskii <eliz@gnu.org>
7401
7402 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7403 don't pass the (nil) value of `upnode' to string-match.
7404
301afadc
CY
74052012-01-14 Chong Yidong <cyd@gnu.org>
7406
7407 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7408 Fix values recognized by the cursorBlink resource.
301afadc 7409
9e5788aa
PE
74102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7411
7412 * epg.el (epg--make-temp-file): Avoid permission race condition
7413 when running on old Emacs versions (bug#10403).
7414
3cdb7f5a
GM
74152012-01-14 Glenn Morris <rgm@gnu.org>
7416
7417 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7418
8c82b1b4
AM
74192012-01-13 Alan Mackenzie <acm@muc.de>
7420
7421 Fix filling for when filladapt mode is enabled.
7422
7423 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7424 c-mask-paragraph, pass in `fill-paragraph' rather than
7425 `fill-region-as-paragraph'. (This is a reversion of a previous
7426 change.)
eb864a71
LM
7427 * progmodes/cc-mode.el (c-basic-common-init):
7428 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7429
e517eda4
GM
74302012-01-13 Glenn Morris <rgm@gnu.org>
7431
1498536e
GM
7432 * dired.el (dired-switches-escape-p): New function.
7433 (dired-insert-directory): Use dired-switches-escape-p.
7434 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7435
e517eda4
GM
7436 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7437
328f984d
GM
74382012-01-12 Glenn Morris <rgm@gnu.org>
7439
7440 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7441 changes in adaptive-fill-regexp. (Bug#10276)
7442
2cc769a8
AM
74432012-01-11 Alan Mackenzie <acm@muc.de>
7444
7445 Fix Emacs bug #10463 - put `widen's around the critical spots.
7446
1d00653d 7447 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7448 widen around each invocation of c-state-pp-to-literal. Remove an
7449 unused let variable.
7450
e52c37fa
GM
74512012-01-11 Glenn Morris <rgm@gnu.org>
7452
7453 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7454 Doc fix.
e52c37fa 7455
96f8741e
CY
74562012-01-10 Chong Yidong <cyd@gnu.org>
7457
1d00653d
SM
7458 * net/network-stream.el (network-stream-open-starttls):
7459 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7460 response to the capability command.
7461
b09a806e
GM
74622012-01-10 Glenn Morris <rgm@gnu.org>
7463
7464 * mail/unrmail.el (unrmail): Tweak previous change.
7465
7655cb66
CY
74662012-01-09 Chong Yidong <cyd@gnu.org>
7467
7468 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7469
9d5a8f0b
AM
74702012-01-08 Alan Mackenzie <acm@muc.de>
7471
7472 Optimise font locking in long enum definitions.
7473
7474 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7475 arm to a cond form to handle enums.
7476 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7477 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7478
9a0115ab 74792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7480
7481 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7482 (Bug#10401)
6bb72cbd 7483
f186bb95
LMI
74842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485
29232a68
LMI
7486 * faces.el (set-face-attribute): Clarify the meaning of the nil
7487 frame (bug#10294).
7488
4e5d086d
LMI
7489 * subr.el (with-selected-frame): Mention that the selected frame
7490 is restored (bug#9980).
7491
8e66aebe
LMI
7492 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7493 (bug#9759).
7494
cd394be1 7495 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7496 (password-read): Don't autoload unused function.
7497
adf4e762
JB
74982012-01-07 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * progmodes/which-func.el (which-func-mode): Turn into a
7501 non-interactive function and mark as obsolete (bug#10428).
7502
89bd9ccd
CY
75032012-01-06 Chong Yidong <cyd@gnu.org>
7504
7505 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7506 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7507 functions, along with 1 and -1.
7508
4afee9d5
EZ
75092012-01-06 Eli Zaretskii <eliz@gnu.org>
7510
7511 * time.el (display-time-load-average)
7512 (display-time-default-load-average): Doc fixes. See the thread
7513 starting at
7514 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7515 for the details.
7516
536aea70
GM
75172012-01-06 Glenn Morris <rgm@gnu.org>
7518
665ae865
GM
7519 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7520 has no messages. (Bug#10377)
7521
c869783d
GM
7522 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7523 than Info-edit. (Bug#10385)
7524
2bb4227e
GM
7525 * time.el (display-time-load-average, display-time-next-load-average):
7526 Doc fixes.
7527
7d5944b9
GM
7528 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7529 local setting of buffer-read-only to the input buffer. (Bug#10419)
7530
536aea70
GM
7531 * calendar/calendar.el (calendar-mode):
7532 Locally set scroll-margin to 0. (Bug#10379)
7533
7dccca16
UM
75342012-01-06 Ulrich Mueller <ulm@gentoo.org>
7535
7536 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7537
afbb7930
GM
75382012-01-05 Glenn Morris <rgm@gnu.org>
7539
7540 * eshell/em-unix.el (diff-no-select): Autoload it.
7541 (eshell/diff): Use diff-no-select. (Bug#10420)
7542
04482335
CY
75432012-01-05 Chong Yidong <cyd@gnu.org>
7544
7baca3bc
CY
7545 * shell.el (shell-dynamic-complete-functions): Revert last change.
7546 (shell-command-completion-function): New function.
7547 (shell-completion-vars): Use it to implement
7548 shell-completion-execonly (Bug#10417).
7549
04482335
CY
7550 * custom.el (enable-theme): Don't set custom-safe-themes.
7551
1d00653d
SM
7552 * cus-theme.el (custom-theme-merge-theme):
7553 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7554
bb5aa5d6
MM
75552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7556
7557 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7558 first prompt in `sql-interacive-mode'.
7559 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7560 keywords.
6df6ae42 7561 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7562 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7563 context of original buffer. Invoke `sql-login-hook'.
7564
a7183d7c
EZ
75652012-01-04 Eli Zaretskii <eliz@gnu.org>
7566
7567 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7568 letters in cite-prefix.
7569
a1eacd1e
LMI
75702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571
7572 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7573
787cdb34
CY
75742012-01-03 Chong Yidong <cyd@gnu.org>
7575
1d00653d
SM
7576 * shell.el (shell-dynamic-complete-functions):
7577 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7578 comint-filename-completion first (Bug#10417).
7579
30710442
RS
75802012-01-02 Richard Stallman <rms@gnu.org>
7581
7582 * battery.el (battery-status-function):
7583 Detect when to use battery-yeeloong-sysfs.
7584 (battery-echo-area-format): Add string for Yeeloong.
7585 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7586 (battery-yeeloong-sysfs): New function.
7587
f75bfc33
CY
75882012-01-02 Chong Yidong <cyd@gnu.org>
7589
7590 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7591 (dirtrack): Merge code for handling relative filenames in prompt
7592 from shell-dir-cookie-watcher.
7593 (dirtrack-debug-message): New arg to avoid excess format calls.
7594
7595 * shell.el (shell-dir-cookie-re): Variable deleted.
7596 (shell-dir-cookie-watcher): Function deleted.
7597 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7598 with dirtrack-mode.
7599
651e947e
EZ
76002012-01-01 Eli Zaretskii <eliz@gnu.org>
7601
1d00653d
SM
7602 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7603 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7604 libgnutls-26.dll.
7605
94d4c7dc
AS
76062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7609
8d43f3cd
EZ
76102011-12-31 Eli Zaretskii <eliz@gnu.org>
7611
7612 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7613 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7614
98c8795a
MA
76152011-12-29 Michael Albinus <michael.albinus@gmx.de>
7616
7617 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7618 also for alternative shells.
7619 (tramp-open-connection-setup-interactive-shell): Check, whether
7620 the shell is a busybox.
7621 (tramp-send-command): Don't suppress multiple prompts for
7622 busyboxes, it hurts.
7623
51281b32
CY
76242011-12-28 Chong Yidong <cyd@gnu.org>
7625
7626 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7627 (gdb-get-source-file): Move mode line update to
7628 gdb-get-source-file (Bug#10087).
7629
2170cb53
CY
76302011-12-25 Chong Yidong <cyd@gnu.org>
7631
7632 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7633 gud-gdb-marker-filter without taking it as an argument.
7634 (gud-gdb-run-command-fetch-lines): Caller changed.
7635 (gud-gdb-completion-function): New variable.
7636 (gud-gdb-completion-at-point): Use it.
7637 (gud-gdb-completions-1): Split from gud-gdb-completions.
7638
7639 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7640 function as separate arguments.
7641 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7642 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7643 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7644 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7645 (gdb-stopped, def-gdb-auto-update-trigger)
7646 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7647 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7648 Callers changed.
2170cb53
CY
7649 (gud-gdbmi-completions): New function.
7650 (gdb): Use it for generating the completion table.
7651
be8b11bb
AM
76522011-12-24 Alan Mackenzie <acm@muc.de>
7653
7654 Introduce a mechanism to widen the region used in context font
1d00653d 7655 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7656
1d00653d
SM
7657 * progmodes/cc-langs.el (c-before-font-lock-functions):
7658 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7659 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7660 functions to be run just before context (etc.) font locking.
7661
7662 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7663 New, functionality extracted from
be8b11bb 7664 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7665 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7666 (c-after-change): Set c-in-after-change-fontification.
7667 (c-set-fl-decl-start): Rejig its interface, so it can be called
7668 from both after-change and context fontifying.
b81d40f0
JB
7669 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7670 New functions.
7671 (c-standard-font-lock-fontify-region-function): New variable.
7672 (c-font-lock-fontify-region): New function.
be8b11bb 7673
341cf6ac
JL
76742011-12-24 Juri Linkov <juri@jurta.org>
7675
7676 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7677 (Bug#10348)
7678
bffcee0a
MA
76792011-12-23 Michael Albinus <michael.albinus@gmx.de>
7680
7681 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7682 existence of source file. (Bug#10325)
7683
cb5e207c
AM
76842011-12-23 Alan Mackenzie <acm@muc.de>
7685
7686 Fix unstable fontification inside templates.
7687
b81d40f0
JB
7688 * progmodes/cc-langs.el (c-before-font-lock-functions):
7689 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7690 additionally has c-set-fl-decl-start. The other languages (apart
7691 from AWK) have that as a single entry.
7692
b81d40f0
JB
7693 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7694 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7695 c-set-fl-decl-start.
7696
b81d40f0
JB
7697 * progmodes/cc-mode.el (c-common-init, c-after-change):
7698 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7699 (c-set-fl-decl-start): New function, extracted from
7700 c-font-lock-enclosing-decls and enhanced.
7701
60ff536c
JB
77022011-12-23 Juanma Barranquero <lekktu@gmail.com>
7703
7704 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7705
1c4757d6
JL
77062011-12-22 Juri Linkov <juri@jurta.org>
7707
7708 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7709
d031f2c7
CY
77102011-12-22 Chong Yidong <cyd@gnu.org>
7711
7712 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7713
bace743a
DA
77142011-12-21 Drew Adams <drew.adams@oracle.com>
7715
7716 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7717
728a1f2b
JC
77182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7719
7720 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7721
0d373f73
TZ
77222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7723
fec0aaa4
TZ
7724 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7725 highlighting and support. Fix up comments for capitalization.
7726 (cfengine-mode-debug): New var.
7727 (cfengine3-mode): Change the modeline indicator to "CFE3".
7728 (cfengine3-font-lock-keywords): Improve defun highlighting.
7729 (cfengine2-actions): Rename from `cfengine-actions'.
7730 (cfengine2-font-lock-keywords): Rename from
7731 `cfengine-font-lock-keywords'.
7732 (cfengine2-imenu-expression): Rename from
7733 `cfengine-imenu-expression'.
7734 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7735 (cfengine2-beginning-of-defun): Rename from
7736 `cfengine-beginning-of-defun'.
7737 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7738 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7739 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7740 modeline indicator to "CFE2".
7741 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7742 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7743
bc86f573
CY
77442011-12-21 Chong Yidong <cyd@gnu.org>
7745
7746 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7747 filename argument.
7748
d45ba96b
MR
77492011-12-20 Martin Rudalics <rudalics@gmx.at>
7750
7751 * window.el (window-normalize-buffer-to-display): Remove.
7752 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7753
a6198c90
CY
77542011-12-19 Chong Yidong <cyd@gnu.org>
7755
7756 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7757 Don't signal an error in a predicate function; return non-nil.
7758 (vc-dir-mark-file): Move the error here.
7759 (vc-dir-mark-unmark): If acting on the region, keep going if one
7760 of the entries cannot be marked/unmarked.
7761 (vc-dir-mark-all-files): If current entry is a directory, mark
7762 only child files, as documented.
7763
34c5fb55
VB
77642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7765
7766 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7767 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7768 addition.
7769
c803b2b7
JD
77702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7771
7772 * term/ns-win.el (ns-get-selection-internal)
7773 (ns-store-selection-internal): Declare.
1154d12e
JB
7774 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7775 Declare as obsolete.
7776 (ns-get-pasteboard, ns-paste-secondary):
7777 Use ns-get-selection-internal.
7778 (ns-set-pasteboard, ns-copy-including-secondary):
7779 Use ns-store-selection-internal.
c803b2b7 7780
9cff91f8 77812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7782
7783 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7784 (vc-deduce-fileset): Doc fix.
99a289d9 7785
f16c898a
AS
77862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7787
7788 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7789
763237c4
SS
77902011-12-13 Sam Steingold <sds@gnu.org>
7791
7792 * man.el (Man-getpage-in-background): When running under a
7793 window-system, ignore $MANWIDTH and $COLUMNS.
7794
5fc1c122
KH
77952011-12-15 Kenichi Handa <handa@m17n.org>
7796
7797 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7798 (setup-ethiopic-environment-internal): Comment out key-binding for
7799 ethio-toggle-punctuation.
7800
13d49cbb
AM
78012011-12-13 Alan Mackenzie <acm@muc.de>
7802
898169a2
AM
7803 Add the switch statement to AWK Mode.
7804
7a71b18d 7805 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7806 "default" to the keywords regexp.
7807
7a71b18d 7808 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7809 expression as the rest.
1d00653d
SM
7810 (c-nonlabel-token-key): Allow string literals for AWK.
7811 Refactor for the other modes.
898169a2 7812
13d49cbb 7813 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7814 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7815 routines. Limit backward searching in c-font-lock-enclosing.decl.
7816
7817 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7818 pp-state and literal type in addition to the limits.
1d00653d 7819 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7820 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7821 (c-slow-in-literal, c-fast-in-literal): Remove.
7822 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7823
7824 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7825 being in a literal. Add a limit for backward searching.
7826
7827 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7828 c-slow-in-literal.
7829
15e0efc7
SM
78302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7833
454592a6
MR
78342011-12-13 Martin Rudalics <rudalics@gmx.at>
7835
7836 * window.el (delete-other-windows): Use correct frame in call to
7837 window-with-parameter.
7838
87393f26
DP
78392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7840
7841 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7842 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7843 (makefile-gmake-statements, makefile-makepp-statements):
7844 Use it and add new makepp keywords.
7845 (makefile-makepp-font-lock-keywords): Add new patterns.
7846 (makefile-match-function-end): Match new [...] and [[...]].
7847
11636b22
JB
78482011-12-11 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * ses.el (ses-call-printer-return, ses-cell-property-get)
7851 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7852 (ses-create-cell-variable, ses-reset-header-string)
7853 (ses-cell-set-formula, ses-repair-cell-reference-all)
7854 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7855 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7856 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7857 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7858 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7859 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7860 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7861 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7862 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7863 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7864 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7865 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7866
cf018193
VB
78672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7868
7869 * ses.el: The overall change is to add cell renaming, that is
7870 setting fancy names for cell symbols other than name matching
7871 "\\`[A-Z]+[0-9]+\\'" regexp .
7872 (ses-create-cell-variable): New defun.
7873 (ses-relocate-formula): Relocate formulas only for cells the
7874 symbols of which are not renamed, i.e. symbols whose names do not
7875 match regexp "\\`[A-Z]+[0-9]+\\'".
7876 (ses-relocate-all): Relocate values only for cells the symbols of
7877 which are not renamed.
7878 (ses-load): Create cells variables as the (ses-cell ...) are read,
7879 in order to check row col consistency with cell symbol name only
7880 for cells that are not renamed.
7881 (ses-replace-name-in-formula): New defun.
7882 (ses-rename-cell): New defun.
7883
ee957461
CY
78842011-12-11 Chong Yidong <cyd@gnu.org>
7885
7886 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7887 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7888
9a9e9ef0
MR
78892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7890
7891 * window.el (other-window): Fix docstring.
7892
92a8eba5
EZ
78932011-12-10 Eli Zaretskii <eliz@gnu.org>
7894
7895 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7896 `from' or `to' address before taking its substring.
7897 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7898 encoded name is chopped in the middle of the encoded string, and
7899 thus displayed encoded.
7900
e152e577
JB
79012011-12-10 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7904
e5d84bfe
EZ
79052011-12-10 Eli Zaretskii <eliz@gnu.org>
7906
7907 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7908 to use texinfo-update-node and commands that call it if the
7909 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7910 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7911 (texinfo-all-menus-update, texinfo-master-menu)
7912 (texinfo-update-node, texinfo-every-node-update)
7913 (texinfo-multiple-files-update): Doc fix. Warn against updating
7914 all the @node lines.
7915 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7916 argument is numeric. Explain better in the doc string what the
7917 function really does.
7918 (texinfo-insert-master-menu-list): Improve the error message
7919 displayed if there's no menu in the Top node.
7920 (Bug#2975) See also this thread:
e5d84bfe
EZ
7921 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7922
1d84e9bb
MG
79232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7924
7925 * speedbar.el (speedbar-supported-extension-expressions):
7926 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7927
382c953b
JB
79282011-12-09 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * printing.el (pr-mode-alist):
7931 * simple.el (filter-buffer-substring-functions)
7932 (completion-list-insert-choice-function):
7933 * window.el (window-with-parameter, window-atom-root)
7934 (window-sides-slots, window-size-fixed, window-min-delta)
7935 (window-max-delta, window--resize-mini-window)
7936 (window--resize-child-windows-normal, window-tree)
7937 (delete-other-windows, quit-window, split-window)
7938 (display-buffer-record-window, special-display-buffer-names)
7939 (special-display-regexps, special-display-popup-frame)
7940 (same-window-p, split-window-sensibly)
7941 (display-buffer-overriding-action, display-buffer-alist)
7942 (display-buffer-base-action, display-buffer, switch-to-buffer)
7943 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7944 (fit-window-to-buffer, recenter-positions)
7945 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7946 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7947 and remove unneeded backslashes in docstrings.
7948
39c9faef
SM
79492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7950
98449af8
SM
7951 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7952
39c9faef
SM
7953 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7954 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7955 end in ".mk".
7956 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7957 when reading the makefile (bug#10116).
7958
86ed9fdc
SM
79592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7962 (bug#10116).
7963
5580f89d
GM
79642011-12-06 Glenn Morris <rgm@gnu.org>
7965
7966 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7967
28d3917c
CY
79682011-12-06 Chong Yidong <cyd@gnu.org>
7969
7970 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7971
a98edce9
JB
79722011-12-06 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * textmodes/table.el (table-shorten-cell): Fix typo.
7975
e65adfac
CG
79762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7977
7978 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7979
71cc0b74
EZ
79802011-12-05 Eli Zaretskii <eliz@gnu.org>
7981
7982 * descr-text.el (describe-char): Fix display of strong
7983 right-to-left characters and directional embeddings and overrides.
7984
7985 * simple.el (what-cursor-position): Fix display of codepoints of
7986 strong right-to-left characters.
7987
315bc30d
CY
79882011-12-05 Chong Yidong <cyd@gnu.org>
7989
7990 * faces.el (read-color): Doc fix.
7991
58a70b94
GM
79922011-12-05 Glenn Morris <rgm@gnu.org>
7993
7994 * align.el (align--set-marker): Add doc-string.
7995 Don't try to move something that is not a marker. (Bug#10216)
7996
5158face
GM
79972011-12-04 Glenn Morris <rgm@gnu.org>
7998
7999 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8000 overly zealous deletion of trailing whitespace.
8001
520fca41
JB
80022011-12-04 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * server.el (server-delete-client): On Windows, do not try to delete
8005 the only terminal.
8006 (server-process-filter): On Windows, treat requests for a tty frame as
8007 if they were for a GUI frame if the running server is in GUI mode.
8008
5e605a2e
GM
80092011-12-03 Glenn Morris <rgm@gnu.org>
8010
8011 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8012
5c3fe83f
SM
80132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8014
6f5e57e7
SM
8015 * electric.el: Streamline electric-indent's hook.
8016 (electric-indent-chars): Revert to simple list.
8017 (electric-indent-functions): New var.
8018 (electric-indent-post-self-insert-function): Use it.
8019
5c3fe83f
SM
8020 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8021 there's no inferior buffer (bug#10196).
8022 (prolog-consult-compile): Don't use toggle-read-only.
8023
6bdac736
MA
80242011-12-02 Michael Albinus <michael.albinus@gmx.de>
8025
8026 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8027 interrupt. (Bug#10187)
8028
6131ba7f
SM
80292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8030
99c79fee
SM
8031 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8032 (bug#9160).
8033
6131ba7f
SM
8034 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8035 (bug#10191).
8036
cb0a02ea
JL
80372011-12-02 Juri Linkov <juri@jurta.org>
8038
8039 * info.el (Info-search): Display "end of manual" when Isearch
8040 reaches the end of single-file Info manual. (Bug#9918)
8041
66e0570c
EZ
80422011-12-02 Eli Zaretskii <eliz@gnu.org>
8043
8044 * isearch.el (isearch-message-prefix): Run the input method part
8045 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8046
02b16839
JL
80472011-12-02 Juri Linkov <juri@jurta.org>
8048
8049 * isearch.el (isearch-occur): Use `word-search-regexp' for
8050 `isearch-word'.
8051 (isearch-search-and-update): Add condition for `isearch-word' and
8052 call `word-search-regexp'. (Bug#10145)
8053
0b950688
GM
80542011-12-01 Glenn Morris <rgm@gnu.org>
8055
8056 * eshell/em-hist.el (eshell-hist-initialize):
8057 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8058 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8059
9505c3c7
SM
80602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8063
1bbe96b2 80642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8065
a1beca85
SM
8066 * progmodes/verilog-mode.el (verilog-pretty-expr):
8067 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8068 verilog, such as += *= and the like.
8069 (verilog-assignment-operator-re): Regular expression to find the
8070 assigment operator in a verilog assignment.
8071 (verilog-assignment-operation-re): Regular expression to find an
8072 assignment statement for pretty-expr.
8073 (verilog-in-attribute-p): Query returns true if point is in an
8074 attribute context; used to skip these for expression line up from
8075 pretty-expr.
8076 (verilog-in-parameter-p): Query returns true if point is in an
8077 parameter definition context; used to skip these for expression
8078 line up from pretty-expr.
8079 (verilog-in-parenthesis-p): Query returns true if point is in a
8080 parenthetical expression, specifically ( ) but not [ ] or { };
8081 used by pretty-expr.
8082 (verilog-just-one-space): If there is no space, don't add one.
8083 (verilog-get-lineup-indent-2): Specifically skip just attribute
8084 contexts for expression lineup, rather than skipping all
8085 parenthetical expressions.
8086 (verilog-calculate-indent): Fix comment, and fix indent.
8087 (verilog-do-indent): Indent declarations in lists (suggested by
8088 Joachim Lechner).
8089 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8090 skeleton items.
8091 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8092 by Alain Mellan).
8093
1bbe96b2 80942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8095
8096 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8097 parameters with embedded comments. Reported by Ray Stevens.
8098 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8099 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8100 Reported by Tim Holt.
8101 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8102 instantiated by upper module causing wrong expansion until AUTOed a
8103 second time. Reported by K C Buckenmaier.
8104 (verilog-diff-auto): Fix showing .* as a difference when
8105 `verilog-auto-star-save' off. Reported by Dan Dever.
8106 (verilog-auto-reset, verilog-read-always-signals)
8107 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8108 temporary signals in reset list if
8109 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8110 style to each signal's assignment type, bug381.
8111 Reported by Thomas Esposito.
6288f0ca
WS
8112 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8113 (verilog-uvm-statement-re): Support UVM indentation and
8114 highlighting, with old OVM keywords only.
a1beca85 8115 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8116 Support AUTOTIEOFF creating non-wire data types.
8117 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8118 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8119 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8120 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8121 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8122 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8123 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8124 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8125 non-numeric vector width. Reported by Alex Reed.
8126 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8127 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8128 (verilog-auto-delete-trailing-whitespace):
8129 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8130 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8131 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8132 Fix verilog-scan-cache corruption when running user AUTO expansion
8133 hooks that call indentation routines.
8134 (verilog-simplify-range-expression): Fix typo ignoring lower case
8135 identifiers.
8136 (verilog-delete-auto): Fix delete-autos to also remove user created
8137 automatics, as long as they start with AUTO.
8138 (verilog-batch-diff-auto, verilog-diff-auto)
8139 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8140 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8141 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8142 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8143 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8144 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8145 is disabled and its cache will get corrupt, causing AUTOS not to
8146 expand. Instead use only -quick functions.
8147 (verilog-scan-region): Fix scanning over escaped quotes.
8148 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8149 (verilog-re-search-backward-quick)
8150 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8151 related functions now ignore strings, to fix misparsing of strings
8152 with magic comments embedded in them.
a1beca85
SM
8153 (verilog-read-auto-template):
8154 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8155 Reported by Brad Dobbie.
8156 (verilog-read-auto-template):
8157 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8158 Reported by Brad Dobbie.
6288f0ca
WS
8159 (verilog-auto-inst, verilog-auto-inst-param)
8160 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8161 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8162 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8163 debugging templates without merge conflicts, bug357.
8164 Reported by Brad Dobbie.
8165 (verilog-read-auto-template):
8166 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8167 Reported by Brad Dobbie.
8168 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8169 abbrevs so user won't be asked to save.
8170 (verilog-read-auto-lisp-present): Fix to start at beginning of
8171 buffer in case called outside of verilog-auto.
8172 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8173 to "X-2". Reported by Matthew Myers.
8174 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8175 all inputs from module templates. Reported by Leith Johnson.
8176 (verilog-module-inside-filename-p): Fix locating programs as with
8177 modules.
8178 (verilog-auto-inst-port): Fix vl-width expressions when using
8179 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8180 (verilog-decls-get-regs, verilog-decls-get-signals,
8181 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8182 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8183 verilog-read-decls): Combine reg and wire structures into one var
8184 structure to represent SystemVerilog concepts.
8185 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8186 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8187 (verilog-auto-wire-type, verilog-insert-definition):
8188 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8189 SystemVerilog "logic" keyword instead of "wire"/"reg".
8190 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8191 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8192 ifdef or generate if so there's not a driver conflict).
8193 Reported by Matthew Myers.
8194 (verilog-auto-declare-nettype, verilog-insert-definition):
8195 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8196 `default_nettype none. Reported by Julian Gorfajn.
8197 (verilog-read-always-signals-recurse, verilog-read-decls)
8198 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8199 malformed end statement, bug325. Reported by Joshua Wise and
8200 Andrew Drake.
8201 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8202 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8203 when expanding .* in interfaces, bug320.
8204 Reported by Pierre-David Pfister.
6288f0ca 8205 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8206 name and open parenthesis, bug317.
8207 Reported by Pierre-David Pfister.
6288f0ca
WS
8208 (verilog-simplify-range-expression): Fix simplification of
8209 multiplications inside AUTOWIRE connections, bug303.
8210 (verilog-auto-inst-port): Support parameter expansion in
8211 multidimensional arrays.
8212 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8213 after "assert property". Reported by Julian Gorfajn.
8214 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8215 with multiplication, bug303.
8216 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8217 Reported by Jan Frode Lonnum.
8218
1bbe96b2
GM
82192011-11-30 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8222 (hfy-shell-file-name, hfy-shell):
8223 * international/fontset.el (x-decompose-font-name): Fix typos.
8224
82252011-11-29 Ken Brown <kbrown@cornell.edu>
8226
8227 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8228 (gdb-version): Remove defvar.
8229 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8230 (gdb-gud-context-command, gdb-non-stop-handler)
8231 (gdb-current-context-command, gdb-stopped): Use it.
8232 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8233 (gdb-non-stop-handler): Don't enable pretty-printing here.
8234 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8235 non-stop mode. Use the following.
8236 (gdb-check-target-async): New defun.
8237 (gud-watch, gdb-stopped): Fix whitespace.
8238 (gdb-get-source-file): Don't try to display the source file if
8239 `gdb-main-file' is nil.
8240
82412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * align.el: Try to generate fewer markers (bug#10047).
8244 (align--set-marker): New macro.
8245 (align-region): Use it.
8246
c935221f
SM
82472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8250
e70b5064
CY
82512011-11-29 Chong Yidong <cyd@gnu.org>
8252
8253 * indent.el (indent-for-tab-command, indent-according-to-mode):
8254 Doc fix.
8255 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8256
f3af92b7
MA
82572011-11-29 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8260 aware of remote file names. (Bug#10124)
8261
ed472be9
CY
82622011-11-29 Chong Yidong <cyd@gnu.org>
8263
8264 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8265
24510c22
SM
82662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * files.el (find-file): Don't use force-same-window (bug#10144).
8269 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8270 use pop-to-buffer if the selected window can't be used.
8271 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8272
c60c3703
EZ
82732011-11-28 Eli Zaretskii <eliz@gnu.org>
8274
8275 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8276 special-mode-map.
8277
e95def75
CY
82782011-11-28 Chong Yidong <cyd@gnu.org>
8279
8280 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8281
c3f1c606
NR
82822011-11-27 Nick Roberts <nickrob@snap.net.nz>
8283
8284 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8285 gdb-get-source-file-list on gdb-create-source-file-list.
8286
00db469c
EZ
82872011-11-26 Eli Zaretskii <eliz@gnu.org>
8288
8289 * whitespace.el (whitespace-newline): Use a different foreground
8290 color for 16-color light-background displays.
8291
4ad3bc2a
CY
82922011-11-24 Chong Yidong <cyd@gnu.org>
8293
8294 * window.el (display-buffer--special-action): Doc fix.
8295
e9fce1ac
JB
82962011-11-25 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8299 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8300 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8301 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8302 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8303 (avl-tree-stack-first):
8304 * emacs-lisp/cconv.el (cconv--analyse-use):
8305 * net/gnutls.el (gnutls-negotiate): Fix typos.
8306
cb825e5d
GM
83072011-11-24 Glenn Morris <rgm@gnu.org>
8308
3adbe224
GM
8309 * lpr.el (lpr-windows-system, lpr-lp-system):
8310 * mail/binhex.el (binhex-begin-line):
8311 * progmodes/grep.el (grep-history, grep-find-history):
8312 * textmodes/flyspell.el:
8313 * vc/pcvs-defs.el (cvs-global-menu):
8314 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8315 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8316 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8317
321decc8
GM
8318 * net/tls.el: Fix case of "GnuTLS".
8319
420b63ad
GM
8320 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8321
cb825e5d
GM
8322 * version.el (emacs-build-system): Give it a doc-string.
8323
a0649f08
JL
83242011-11-24 Juri Linkov <juri@jurta.org>
8325
8326 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8327
c0bc0fd4
GM
83282011-11-24 Glenn Morris <rgm@gnu.org>
8329
8330 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8331 if called on a non-mime message just toggle the headers. (Bug#8006)
8332
20db1522
JB
83332011-11-24 Juanma Barranquero <lekktu@gmail.com>
8334
8335 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8336 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8337 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8338 (allout-rebullet-heading, allout-open-sibtopic)
8339 (allout-toggle-current-subtree-encryption)
8340 (allout-toggle-subtree-encryption, allout-encrypt-string)
8341 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8342 (allout-distinctive-bullets-string, allout-auto-activation):
8343 * window.el (window-normalize-buffer-to-display):
8344 * progmodes/verilog-mode.el (verilog-batch-indent):
8345 * textmodes/bibtex.el (bibtex-field-braces-opt)
8346 (bibtex-field-strings-opt):
8347 * vc/cvs-status.el (cvs-tree-merge):
8348 Fix typos.
8349
7262a87c
MA
83502011-11-23 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8353 `non-essential' to t, in order to avoid remote connections.
8354
283430a1
EZ
83552011-11-23 Eli Zaretskii <eliz@gnu.org>
8356
a1beca85
SM
8357 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8358 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8359 case-insensitively.
8360
d2992a38
ML
83612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8362
8363 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8364
50419064
GM
83652011-11-23 Glenn Morris <rgm@gnu.org>
8366
da94eca1
GM
8367 * paths.el (rmail-file-name): Reformat the doc-string so that it
8368 is picked up.
8369
9aac4de2
GM
8370 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8371 (rmail-auto-file): Ignore case in the "special" field names,
8372 as mail-fetch-field does for all others.
8373
8038d2d2
GM
8374 * mail/rmail.el (rmail-forward):
8375 * mail/rmailkwd.el (rmail-set-label):
8376 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8377 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8378
f3fe222a
GM
8379 * mail/rmail.el (rmail-current-message): Doc fix.
8380
50419064
GM
8381 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8382
28109f49
SM
83832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8386
394c65f1
GM
83872011-11-22 Glenn Morris <rgm@gnu.org>
8388
8389 * mail/rmailmm.el (test-rmail-mime-handler)
8390 (test-rmail-mime-bulk-handler)
8391 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8392
f2a0aa3a
JL
83932011-11-21 Juri Linkov <juri@jurta.org>
8394
1154d12e
JB
8395 * calc/calc.el (calc-read-key-sequence):
8396 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8397
9c34a344
LMI
83982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
8400 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8401 Tell the caller that the next line needs recomputation, even
8402 though it doesn't start a sexp (bug#10094).
8403
f04a3be9
SM
84042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8407
7978747f
SM
84082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8409
f04a3be9
SM
8410 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8411 Use force-same-window.
7978747f 8412
fe7a3057
JB
84132011-11-20 Juanma Barranquero <lekktu@gmail.com>
8414
8415 * descr-text.el (describe-char-unicode-data):
8416 * json.el (json-string-escape):
8417 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8418 (Footnote-unicode, Footnote-style-p):
8419 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8420
24901d61
CY
84212011-11-20 Chong Yidong <cyd@gnu.org>
8422
8423 * window.el (replace-buffer-in-windows): Restore interactive spec.
8424
bac7ff22
SM
84252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8426
24f3d7b9
SM
8427 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8428
bac7ff22
SM
8429 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8430 (byte-compile-global-not-obsolete-vars): New var.
8431 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8432 Use it.
8433 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8434
cd1181db
JB
84352011-11-20 Juanma Barranquero <lekktu@gmail.com>
8436
8437 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8438 * progmodes/pascal.el (electric-pascal-equal):
8439 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8440 * xml.el (xml-substitute-special): Fix typos.
8441
7fb18e9e
GM
84422011-11-20 Glenn Morris <rgm@gnu.org>
8443
8444 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8445 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8446 Doc fixes.
8447 (rmail-decode-mime-charset): Mark as obsolete.
8448
8449 * mail/rmailsum.el (rmail-message-regexp-p-1):
8450 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8451 Before using mime functions, check they are set. (Bug#10077)
8452
d5a6b3ba
JL
84532011-11-19 Juri Linkov <juri@jurta.org>
8454
8455 * info.el (Info-finder-find-node): Use `package--builtins' instead
8456 of `package-alist'. Use node names formed by the pattern "Keyword "
8457 and the keyword name.
8458
e981b61f
AS
84592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8460
1d00653d 8461 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8462
3ffbc301
JL
84632011-11-19 Juri Linkov <juri@jurta.org>
8464
8465 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8466 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8467 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8468 `old-history', `old-history-forward'. Add let-binding
8469 `window-selected'. Remove calls to `kill-buffer',
8470 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8471 before calling `Info-find-node', so `Info-find-node-2' will reread
8472 the Info file. Restore window positions only when `window-selected'
8473 is non-nil.
8474
30c62133
JL
84752011-11-19 Juri Linkov <juri@jurta.org>
8476
8477 * isearch.el (isearch-lazy-highlight-new-loop):
8478 Remove condition `(not isearch-error)'. (Bug#9918)
8479
8480 * misearch.el (multi-isearch-search-fun): Add condition
8481 `(not bound)' to ignore lazy-highlighting search.
8482 Add the search-failed message "end of multi" when the end of
8483 multi-sequence is reached. Uncapitalize the search-failed
8484 message "Repeat for next buffer".
8485
8486 * info.el (Info-search): Add the search-failed message
8487 "end of the manual" when the end of the manual is reached
8488 in Isearch mode.
8489
645ca9cf
JL
84902011-11-19 Juri Linkov <juri@jurta.org>
8491
8492 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8493 Use non-destructive `remove' instead of `delete' because
8494 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8495 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8496
df754f66
JL
84972011-11-19 Juri Linkov <juri@jurta.org>
8498
8499 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8500 to nil instead of binding `search-ring' and `regexp-search-ring'.
8501 (Bug#9185)
8502
0e23d96a
EZ
85032011-11-19 Eli Zaretskii <eliz@gnu.org>
8504
8505 * simple.el (line-move): Force movement by logical lines for any
8506 hscrolled window, not only when auto-hscroll-mode is on.
8507 (line-move-visual): Update doc string to that effect. (Bug#10076)
8508
8a6ccb66
AS
85092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8510
8511 * language/european.el (macintosh): Define as alias for mac-roman.
8512
49ae5b39
EZ
85132011-11-19 Eli Zaretskii <eliz@gnu.org>
8514
8515 * mail/rmailmm.el (rmail-mime-display-header)
8516 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8517 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8518 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8519 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8520 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8521 of a raw aref.
8522 (rmail-mime-entity-segment): To get past the tagline, move forward
8523 2 more lines, to account for the 2 empty lines that precede and
8524 follow the line with the buttons.
8525 (rmail-mime-update-tagline): Move one more line, to get past the
8526 empty line that follows the buttons in the tagline. (Bug#9520)
8527
c56cad4a
MR
85282011-11-19 Martin Rudalics <rudalics@gmx.at>
8529
8530 * window.el (window-max-delta-1, window-min-delta-1)
8531 (window-min-size-1, window-state-get-1, window-state-put-1)
8532 (window-state-put-2): Use "window--" prefix.
8533
cbe71af3
SM
85342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8535
2ad52c60
SM
8536 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8537 (smie-warning-count): New var.
8538 (smie-set-prec2tab): Use it.
8539 (smie-bnf->prec2): Improve warnings. Add docstring.
8540 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8541 (smie-bnf--set-class): New function.
8542 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8543 corner case.
8544
6944dbc1
SM
8545 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8546 (compilation-error-properties, compilation-move-to-column):
8547 Handle compilation-first-column while in the target buffer.
8548
c400c4d7
SM
8549 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8550 Don't hardcode point-min==1.
8551
6dbe3e96
SM
8552 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8553 (eshell-rewrite-for-command): Remove workaround.
8554 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8555 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8556 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8557
cbe71af3
SM
8558 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8559
a8e1496d
GM
85602011-11-17 Glenn Morris <rgm@gnu.org>
8561
8562 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8563 Ignore buffer-local generated-autoload-file if it is the same
8564 as the global value. (Bug#10049)
8565
df85d315
JB
85662011-11-17 Juanma Barranquero <lekktu@gmail.com>
8567
8568 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8569 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8570 (reftex-toc-previous-heading, reftex-toc-max-level)
8571 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8572 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8573 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8574 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8575 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8576 (reftex-toc-rename-label, reftex-toc-visit-location)
8577 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8578 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8579 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8580 leaving "*toc*" only for references to the buffer.
8581
a0c2d0ae
MR
85822011-11-17 Martin Rudalics <rudalics@gmx.at>
8583
8584 * window.el (window-resize, delete-window, split-window):
8585 Replace window-splits by window-combination-resize.
1d00653d 8586 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8587
35c0bac8
GM
85882011-11-17 Glenn Morris <rgm@gnu.org>
8589
8590 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8591 Make bash entry derive from sh entry, not shell entry.
8592
d0c8fc8a
MA
85932011-11-16 Michael Albinus <michael.albinus@gmx.de>
8594
7262a87c
MA
8595 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8596 local file name.
8597
7877f373
JB
85982011-11-16 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * menu-bar.el (menu-bar-file-menu):
8601 * printing.el (pr-ps-utility):
8602 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8603 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8604 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8605 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8606 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8607 (icalendar--convert-cyclic-to-ical)
8608 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8609 (icalendar--convert-ical-to-diary)
8610 (icalendar--convert-recurring-to-diary)
8611 (icalendar--convert-non-recurring-all-day-to-diary)
8612 (icalendar-import-format-sample):
8613 * progmodes/idlw-shell.el (idlwave-shell-mode):
8614 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8615 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8616 (vhdl-ps-print-init): Fix typos.
8617
10649b82
KM
86182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8619
9d0cfcd6
GM
8620 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8621 FSF and collapse date sequence, obscure author/maintainer email address
8622 better, remove extra version line, track relocation of author's webpage.
10649b82 8623
9d0cfcd6
GM
8624 * progmodes/python.el (python-pdbtrack-input-prompt)
8625 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8626 regular python pdb prompts. Adjustments shamelessly taken exactly as
8627 suggested in EmacsWiki page (tiny change):
8628 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8629
58179cce
JB
86302011-11-16 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * expand.el (expand-pos, expand-index, expand-point):
8633 Remove redundant info from docstring.
8634 (expand-add-abbrevs): Doc fix.
8635 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8636 (expand-sample-perl-mode-expand-list): Fix typos.
8637
8638 * net/dbus.el (dbus-event-member-name):
8639 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8640 * term/pc-win.el (msdos-create-frame-with-faces):
8641 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8642
b6f67890
MR
86432011-11-16 Martin Rudalics <rudalics@gmx.at>
8644
8645 * window.el (split-window, window-state-get-1)
8646 (window-state-put-1, window-state-put-2): Rename occurrences of
8647 window-nest to window-combination-limit.
1d00653d 8648 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8649
ce7ddba0
CY
86502011-11-16 Chong Yidong <cyd@gnu.org>
8651
8652 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8653 regexp (Bug#10033).
8654
3ae704f4
SM
86552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8658 `completing-read' will remove *Completions* and will preserve
8659 current-buffer for us.
8660 (tmm-add-prompt): Users of *Completions* will always (re)set its
8661 major mode.
8662 (tmm-old-comp-map): Remove.
8663
6ad1cdde
GM
86642011-11-16 Glenn Morris <rgm@gnu.org>
8665
8666 * mail/rmailedit.el: Require rmailmm when compiling.
8667 (rmail-old-mime-state): New declaration.
8668 (rmail-edit-current-message): If editing a mime message,
8669 edit the "raw" message from the mbox buffer.
8670 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8671
d20faa20
GM
86722011-11-15 Glenn Morris <rgm@gnu.org>
8673
8674 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8675 which wasn't being used. Add optional arg to force given state.
8676 (rmail-mime): Add optional arg to force given state.
8677
c7015153
JB
86782011-11-15 Juanma Barranquero <lekktu@gmail.com>
8679
8680 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8681 * frame.el (display-mm-dimensions-alist):
8682 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8683 (outline-move-subtree-down):
8684 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8685 (newsticker--treeview-do-get-node):
8686 * net/quickurl.el (quickurl-list-buffer-name):
8687 * progmodes/dcl-mode.el (dcl-mode):
8688 * progmodes/gdb-mi.el (gdb-mapcar*):
8689 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8690
45261b50
GM
86912011-11-15 Glenn Morris <rgm@gnu.org>
8692
8693 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8694 in a boolean sense, so just make it a boolean, and fix the doc.
8695 (rmail-show-mime-function, rmail-mime-feature)
8696 (rmail-require-mime-maybe): Doc fixes.
8697 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8698
8699 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8700
0d26e0b6
JB
87012011-11-15 Juanma Barranquero <lekktu@gmail.com>
8702
8703 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8704 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8705 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8706 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8707
447f30f6
GM
87082011-11-15 Glenn Morris <rgm@gnu.org>
8709
672b871d
GM
8710 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8711 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8712 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8713 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8714 (rmail-mime, rmail-show-mime): Doc fixes.
8715
f6aa5bb1
GM
8716 * term/ns-win.el (mode-line-frame-identification):
8717 Leave it alone. (Bug#10051)
8718
947cd66b
GM
8719 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8720
447f30f6
GM
8721 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8722 Handle empty buffers. (Bug#9978)
8723
0b381c7e
JB
87242011-11-14 Juanma Barranquero <lekktu@gmail.com>
8725
8726 * international/mule.el (define-charset):
8727 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8728 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8729 * progmodes/verilog-mode.el (verilog-backward-token):
8730 * textmodes/ispell.el (lookup-words):
8731 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8732
71e027ac
GM
87332011-11-14 Glenn Morris <rgm@gnu.org>
8734
56632ce4
GM
8735 * progmodes/executable.el
8736 (executable-make-buffer-file-executable-if-script-p):
8737 Handle file-modes returning nil.
8738
40500957
GM
8739 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8740 message - not necessary, and causes problems. (Bug#9831)
8741
071c2340
GM
8742 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8743
d3cfca60
GM
8744 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8745
71e027ac
GM
8746 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8747 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8748 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8749
89d61221
MR
87502011-11-12 Martin Rudalics <rudalics@gmx.at>
8751
8752 * window.el (window-resize, delete-window): Use window-splits
8753 variable instead of function.
8754 (window-state-get-1, window-state-put-2, window-state-put):
8755 Don't deal with windows' splits status.
8756
98282f6f
GM
87572011-11-12 Glenn Morris <rgm@gnu.org>
8758
8759 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8760 (apropos-documentation): Doc fixes.
8761
40a8bdf6
JB
87622011-11-11 Juanma Barranquero <lekktu@gmail.com>
8763
8764 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8765 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8766
65bd19ff
SM
87672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * electric.el (electric-indent-post-self-insert-function): Make it
8770 possible for a char to only indent in some circumstances.
8771 (electric-indent-mode): Simplify.
8772
54f9154c
MR
87732011-11-11 Martin Rudalics <rudalics@gmx.at>
8774
8775 * window.el (windows-with-parameter): Remove unused function.
8776 (windows-at-side): Rename to window-at-side-list.
8777 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8778 (window-side-check, window-size-ignore, window-size-fixed-1)
8779 (window-in-direction-2): Prefix with "window--".
8780 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8781
68cbc58b
GM
87822011-11-11 Glenn Morris <rgm@gnu.org>
8783
8784 * subr.el (eval-after-load): If FILE is already loaded,
8785 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8786
b2621720
GM
87872011-11-10 Glenn Morris <rgm@gnu.org>
8788
9a4de110
GM
8789 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8790 Call svn via vc-svn-command rather than vc-do-command.
8791 (vc-svn-command): Add --non-interactive. (Bug#9993)
8792 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8793
b2621720
GM
8794 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8795 Add toggle-read-only. (Bug#7292)
8796 * files.el (toggle-read-only): Mention that it should only
8797 be used interactively. (Bug#10006)
8798
1dce7193
SM
87992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8800
d9ac1a1e
SM
8801 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8802 Adjust regexp for OCaml warnings.
8803
0c325082
SM
8804 * electric.el (electric-pair-post-self-insert-function): Let user
8805 turn it off buffer-locally (bug#9932).
8806
90132c14
SM
8807 * progmodes/python.el (python-beginning-of-statement):
8808 Rewrite (bug#2703).
8809
1dce7193
SM
8810 * progmodes/compile.el: Better handle TABs (bug#9749).
8811 (compilation-internal-error-properties)
8812 (compilation-next-error-function): Obey the target buffer's
8813 compilation-error-screen-columns.
8814
c4e7c63a
JB
88152011-11-09 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * progmodes/meta-mode.el: Remove obsolete comments.
8818 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8819 Fix typos in docstrings.
8820
2cffd681
MR
88212011-11-09 Martin Rudalics <rudalics@gmx.at>
8822
8823 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8824 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8825 (window--resizable): New function. Make all callers of
8826 window-resizable call window--resizable instead.
8827 (window-resizable): Rewrite in terms of window--resizable.
8828
0edcba87
GM
88292011-11-08 Glenn Morris <rgm@gnu.org>
8830
8831 * progmodes/delphi.el (delphi-mode-syntax-table):
8832 Let define-derived-mode define a proper syntax table. (Bug#9994)
8833
4b0d61e3
SM
88342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * window.el: Stay away from defsubst.
8837 (window-list-no-nils): Remove.
8838 (window-state-get-1, window-state-get): Use backquote instead.
8839
cd394be1 88402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8841
4b0d61e3 8842 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8843 Fix incorrect use of default argument in `completing-read'.
8844
e1c2c6f2
MR
88452011-11-08 Martin Rudalics <rudalics@gmx.at>
8846
8847 * window.el (display-buffer-function, special-display-function):
8848 Mention display-buffer-record-window but do not mention
8849 help-setup parameter in doc-strings.
b3f4a882 8850 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8851
105216ed
CY
88522011-11-08 Chong Yidong <cyd@gnu.org>
8853
8854 * window.el (window-total-height, window-total-width): Doc fix.
8855 (window-body-size): Move from C.
8856 (window-body-height, window-body-width): Move to C.
8857
0a9f9ab5
SM
88582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * window.el: Make special-display like display-buffer-alist (bug#9532).
8861 (display-buffer--special-action): New function, morphed
8862 from display-buffer--special.
8863 (display-buffer): Use it to handle special-display-buffers at higher
8864 priority (just after display-buffer-alist).
8865 (display-buffer-fallback-action, display-buffer--other-frame-action)
8866 (pop-to-buffer-same-window): Remove display-buffer--special.
8867
a769dd15
GM
88682011-11-07 Glenn Morris <rgm@gnu.org>
8869
8870 * calendar/cal-menu.el (cal-menu-set-date-title):
8871 Do nothing if not in a calendar. (Bug#9976)
8872
05a61ee3
SM
88732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * files.el (find-file): Always use selected-window.
8876
be7f5545
MR
88772011-11-07 Martin Rudalics <rudalics@gmx.at>
8878
8879 * window.el (window-combinations): Make WINDOW argument
8880 mandatory. Rewrite doc-string.
8881 (walk-window-subtree, window-atom-check, window-min-delta)
8882 (window-max-delta, window--resize-this-window)
8883 (window--resize-root-window-vertically, window-tree)
8884 (balance-windows, window-state-put): Rewrite doc-strings as to
8885 not mention the term "subwindow".
8886 (window--resize-subwindows-skip-p): Rename to
8887 window--resize-child-windows-skip-p.
8888 (window--resize-subwindows-normal): Rename to
8889 window--resize-child-windows-normal.
8890 (window--resize-subwindows): Rename to
8891 window--resize-child-windows.
8892 (window-or-subwindow-p): Rename to window--in-subtree-p.
8893
3c6702ef
ML
88942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8895
8896 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8897 Ensure that mbox format messages end in two newlines (Bug#9974).
8898
49745b39
CY
88992011-11-06 Chong Yidong <cyd@gnu.org>
8900
8901 * window.el (window-combination-p): Function deleted; its
8902 side-effect is not used in any existing code.
8903 (window-combinations, window-combined-p): Call window-*-child
8904 directly.
8905
24300f5f
CY
89062011-11-05 Chong Yidong <cyd@gnu.org>
8907
8908 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8909 (window-size-ignore, window-state-get): Callers changed.
8910 (window-normalize-window): Rename from window-normalize-any-window.
8911 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8912 (window-normalize-live-window): Delete.
447f16b8
CY
8913 (window-combination-p, window-combined-p, window-combinations)
8914 (walk-window-subtree, window-atom-root, window-min-size)
8915 (window-sizable, window-sizable-p, window-size-fixed-p)
8916 (window-min-delta, window-max-delta, window-resizable)
8917 (window-resizable-p, window-full-height-p, window-full-width-p)
8918 (window-current-scroll-bars, window-point-1, set-window-point-1)
8919 (window-at-side-p, window-in-direction, window-resize)
8920 (adjust-window-trailing-edge, maximize-window, minimize-window)
8921 (window-deletable-p, delete-window, delete-other-windows)
8922 (record-window-buffer, unrecord-window-buffer)
8923 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8924 (quit-window, split-window, window-state-put)
8925 (set-window-text-height, fit-window-to-buffer)
8926 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8927
89bd5ee1
EZ
89282011-11-04 Eli Zaretskii <eliz@gnu.org>
8929
53479029
EZ
8930 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8931 rfc2047-decode-string.
8932 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8933 warnings.
8934
89bd5ee1
EZ
8935 * window.el (window-body-height, window-body-width): Mention in
8936 the doc string that the return values are in frame's canonical
8937 units. (Bug#9949)
8938
bd17fdee
AM
89392011-11-03 Alan Mackenzie <acm@muc.de>
8940
8941 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8942 change in cc-engine.el.
8943
acc825c5
SM
89442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8947
1885e5b8
MR
89482011-11-02 Martin Rudalics <rudalics@gmx.at>
8949
8950 * window.el (quit-window): Call unrecord-window-buffer after
8951 showing another buffer in the window. (Bug#9937)
acc825c5 8952 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8953
ebe06da9
JB
89542011-11-02 Juanma Barranquero <lekktu@gmail.com>
8955
8956 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8957 Accept status with more than 9 shelves. (Bug#9935)
8958 Reported by Colin D Bennett <colin@gibibit.com>.
8959
4ee88440
MR
89602011-11-01 Martin Rudalics <rudalics@gmx.at>
8961
8962 * help.el (with-help-window): Don't reference
8963 temp-buffer-show-specifiers in doc-string.
8964
08e1d82c
AS
89652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8966
8967 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8968 menu-item.
8969
84bd6e9e
VJL
89702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8971
8972 * whitespace.el: New version 13.2.2.
8973 (whitespace-newline-mode): Disable properly. Reported by Sarah
8974 <EmacsWiki>.
8975
dba0634a
UJ
89762011-10-30 Ulf Jasper <ulf.jasper@web.de>
8977
8978 * net/newst-treeview.el: Remove "Time-stamp".
8979 (newsticker--group-manage-orphan-feeds): Do not call
8980 newsticker--treeview-tree-update.
db22a3c2
JB
8981 (newsticker-treeview-update, newsticker-treeview):
8982 Call newsticker--treeview-tree-update if necessary.
dba0634a 8983
3d8daefe
MR
89842011-10-30 Martin Rudalics <rudalics@gmx.at>
8985
8986 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8987 (window-iso-combinations): Remove "iso-" infix.
8988 Suggested by Chong Yidong.
3d8daefe
MR
8989 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8990 (window-max-delta-1, window-resize, window--resize-siblings)
8991 (window--resize-this-window, adjust-window-trailing-edge)
8992 (split-window, balance-windows-1)
8993 (shrink-window-if-larger-than-buffer):
8994 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8995 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8996
1bc4c3ae
SM
89972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9000 in place (bug#9907).
9001 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9002 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9003 (eshell-structure-basic-command, eshell-rewrite-while-command)
9004 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9005 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9006 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9007 (eshell-do-pipelines-synchronously, eshell-eval-command):
9008 Use backquotes and prefer setq to set.
9009 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9010 (eshell-macrop): Use functionp.
c1e2f5fa 9011 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9012
30b65d9c
CY
90132011-10-30 Chong Yidong <cyd@gnu.org>
9014
9015 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9016 instead of set-mark (Bug#9810).
9017
2d197ffb
CY
90182011-10-30 Chong Yidong <cyd@gnu.org>
9019
9020 * window.el (split-window-below, split-window-right): Rename from
9021 split-window-above-each-other and split-window-side-by-side
9022 respectively. All callers changed.
9023 (split-window-sensibly, split-window-sensibly): Use them.
9024 (split-window-keep-point): Doc fix.
9025
9026 * isearch.el: Add isearch-scroll property to split-window-below
9027 and split-window-right.
9028
9029 * follow.el (follow-mode):
9030 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9031 * progmodes/ada-xref.el (ada-gdb-application):
9032 * emulation/vip.el (vip-buffer-in-two-windows):
9033 * image-dired.el (image-dired-dired-with-window-configuration):
9034 * dired-x.el (dired-do-find-marked-files):
9035 * dired.el (dired-pop-to-buffer):
9036 * bs.el (bs--show-with-configuration):
9037 * vc/emerge.el (emerge-setup-windows):
9038 * textmodes/two-column.el (2C-two-columns):
9039 * textmodes/reftex-toc.el (reftex-toc):
9040 * progmodes/gdb-mi.el (gdb-setup-windows):
9041 * progmodes/fortran.el (fortran-window-create):
9042 * net/newst-treeview.el (newsticker--treeview-window-init):
9043 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9044 * emulation/tpu-edt.el (tpu-gold-map):
9045 * emulation/crisp.el (crisp-mode-map):
9046 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9047
38bb2ca8
CY
90482011-10-29 Chong Yidong <cyd@gnu.org>
9049
aa4de341
CY
9050 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9051
e1eb5385
CY
9052 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9053
5d2ece3c
CY
9054 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9055 forged Ispell output (Bug#7904).
9056
38bb2ca8
CY
9057 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9058
d0af9f77
SM
90592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * doc-view.el: Avoid ugly errors about not finding nil.
9062 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9063 (doc-view-dvipdf-program, doc-view-unoconv-program)
9064 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9065 Avoid nil or absolute file name as default value.
9066 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9067
52bedd34
AM
90682011-10-28 Alan Mackenzie <acm@muc.de>
9069
db22a3c2 9070 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9071
7e43cfa5
AM
90722011-10-28 Alan Mackenzie <acm@muc.de>
9073
9074 Amend the handling of c-beginning/end-of-defun in nested declaration
9075 scopes.
9076
52bedd34
AM
9077 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9078 cc-langs.el. Change it to a defcustom.
7e43cfa5 9079
52bedd34
AM
9080 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9081 cc-vars.el.
7e43cfa5 9082
d0af9f77
SM
9083 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9084 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9085
52bedd34 9086 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9087 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9088 (c-widen-to-enclosing-decl-scope): New function.
9089 (c-while-widening-to-decl-block): New macro.
9090 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9091 outward for defun boundaries, and correspondingly change symbol
9092 `respect-enclosure' to `go-outward'.
9093 (c-declaration-limits): Change algorithm to report only the "innermost"
9094 defun's boundaries.
9095
1a2ce9ee
DD
90962011-10-28 Deniz Dogan <deniz@dogan.se>
9097
9098 * net/rcirc.el (rcirc-mode): Use hard newlines.
9099
bc97a826
AM
91002011-10-28 Alan Mackenzie <acm@muc.de>
9101
9102 Amend to indent and fontify macros "which include their own semicolon"
9103 correctly, using the "virtual semicolon" mechanism.
9104
52bedd34 9105 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9106
d0af9f77 9107 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9108 Recode to scan one line at a time rather than having \n and \r
58179cce 9109 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9110 (c-forward-label): Amend for virtual semicolons.
58179cce 9111 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9112
52bedd34
AM
9113 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9114 of the new C macros.
bc97a826 9115
52bedd34 9116 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9117 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9118 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9119 (c-opt-cpp-macro-define): Make into a full language variable.
9120 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9121 AWK Mode (including \n, \r) removed, no longer needed.
9122
d0af9f77
SM
9123 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9124 Invoke c-make-macro-with-semi-re.
bc97a826 9125
52bedd34
AM
9126 * progmodes/cc-vars.el (c-macro-with-semi-re):
9127 (c-macro-names-with-semicolon): New variables.
58179cce 9128 (c-make-macro-with-semi-re): New function.
bc97a826 9129
7a6c0941
SM
91302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * vc/log-edit.el: Fill empty field rather than adding new one.
9133 (log-edit-add-field): New function.
9134 (log-edit-insert-changelog): Use it.
9135
b0c4cdcf
ML
91362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9137
9138 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9139
ee1f1da9
SM
91402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9143 (gdb--check-interpreter): New function.
9144 (gdb): Use it.
9145
51bc5f8b
GM
91462011-10-27 Glenn Morris <rgm@gnu.org>
9147
416a2c45
GM
9148 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9149 (least-positive-float, least-negative-float)
9150 (least-positive-normalized-float, least-negative-normalized-float)
9151 (float-epsilon, float-negative-epsilon):
9152 Remove unnecessary declarations.
9153
9154 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9155 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9156 (least-positive-float, least-negative-float)
9157 (least-positive-normalized-float, least-negative-normalized-float)
9158 (float-epsilon, float-negative-epsilon): Add doc-strings,
9159 based on those in cl.texi.
9160
51bc5f8b
GM
9161 * files.el (set-visited-file-name): If the major-mode changed,
9162 reload the local variables. (Bug#9796)
9163
15de15c6
CY
91642011-10-27 Chong Yidong <cyd@gnu.org>
9165
9166 * subr.el (change-major-mode-after-body-hook): New hook.
9167 (run-mode-hooks): Run it.
9168
ee1f1da9
SM
9169 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9170 Use change-major-mode-before-body-hook.
15de15c6
CY
9171
9172 * simple.el (fundamental-mode):
9173 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9174 change introducing fundamental-mode-hook.
9175
5430d399
JB
91762011-10-26 Juanma Barranquero <lekktu@gmail.com>
9177
acc825c5 9178 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9179
ad74a69e
MA
91802011-10-26 Michael Albinus <michael.albinus@gmx.de>
9181
9182 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9183 tramp.el explicitly. (Bug#7583)
ad74a69e 9184
71d4c2a5
SM
91852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * progmodes/octave-mod.el:
9188 * progmodes/octave-inf.el: Update maintainer.
9189
b1f6fa26
CY
91902011-10-26 Chong Yidong <cyd@gnu.org>
9191
9192 * subr.el (with-wrapper-hook): Rewrite doc.
9193
3f04efd6
MA
91942011-10-25 Michael Albinus <michael.albinus@gmx.de>
9195
9196 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9197 filenames "/method:foo:". (Bug#9793)
3f04efd6 9198
410488d3
SM
91992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9202 (bug#9865).
9203
c1ebb47e
GM
92042011-10-24 Glenn Morris <rgm@gnu.org>
9205
9206 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9207
7f5c46c7
MA
92082011-10-24 Michael Albinus <michael.albinus@gmx.de>
9209
9210 * notifications.el: Add the requirement of a running D-Bus session
9211 bus to the Commentary.
9212
db2440b6
JL
92132011-10-24 Juri Linkov <juri@jurta.org>
9214
9215 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9216 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9217 (Bug#9364)
9218
feecf435
JL
92192011-10-24 Juri Linkov <juri@jurta.org>
9220
9221 * info.el (Info-following-node-name-re): Add newline to the list
9222 of allowed characters for leading space. (Bug#9824)
9223
a3839de2
SM
92242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9225
acc825c5
SM
9226 * progmodes/octave-inf.el (inferior-octave-mode-map):
9227 Fix C-c C-h binding.
a3839de2
SM
9228 * progmodes/octave-mod.el (octave-help): Remove.
9229
09388e76
MA
92302011-10-23 Michael Albinus <michael.albinus@gmx.de>
9231
9232 Sync with Tramp 2.2.3.
9233
9234 * net/tramp-cache.el (top): Pacify byte-compiler using
9235 `init-file-user' and `site-run-file'.
9236
9237 * net/trampver.el: Update release number.
9238
86c60681
CY
92392011-10-23 Chong Yidong <cyd@gnu.org>
9240
9241 * files.el (toggle-read-only): Remove obsolete comment about
9242 version control.
9243
9244 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9245 for toggle-read-only. Note that this hasn't called vc-next-action
9246 since 2008-05-02, though it wasn't documented at the time.
9247
a3839de2
SM
9248 * vc/ediff-init.el (ediff-toggle-read-only-function):
9249 Use toggle-read-only.
86c60681 9250
cd5495ff
AM
92512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9252
9253 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9254 of c-parse-state.
9255
00b77525 9256 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9257 correct faulty logical expression.
cd5495ff
AM
9258 (c-parse-state-state, c-record-parse-state-state):
9259 (c-replay-parse-state-state): New defvar/defuns.
9260 (c-debug-parse-state): Use new functions.
9261
42ee24ed
MR
92622011-10-22 Martin Rudalics <rudalics@gmx.at>
9263
9264 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9265 last fix. Use window-in-direction correctly.
42ee24ed 9266
a7dee7e7
CY
92672011-10-21 Chong Yidong <cyd@gnu.org>
9268
9269 * progmodes/idlwave.el (idlwave-mode):
9270 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9271 require-final-newline; that's done in prog-mode.
9272 Suggested by Stefan Monnier.
a7dee7e7 9273
e07b9a6d
MR
92742011-10-21 Martin Rudalics <rudalics@gmx.at>
9275
9276 * mouse.el (mouse-drag-window-above)
9277 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9278 (mouse-drag-mode-line-1, mouse-drag-header-line)
9279 (mouse-drag-vertical-line-rightward-window): Remove.
9280 (mouse-drag-line): New function.
9281 (mouse-drag-mode-line, mouse-drag-header-line)
9282 (mouse-drag-vertical-line): Call mouse-drag-line.
9283 * window.el (window-at-side-p, windows-at-side): New functions.
9284
7e1361d9
UM
92852011-10-21 Ulrich Mueller <ulm@gentoo.org>
9286
9287 * tar-mode.el (tar-grind-file-mode):
9288 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9289
30fcaf3a
CY
92902011-10-21 Chong Yidong <cyd@gnu.org>
9291
9292 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9293 * progmodes/vera-mode.el (vera-mode):
9294 Use mode-require-final-newline.
30fcaf3a 9295
516eddb0
GM
92962011-10-20 Glenn Morris <rgm@gnu.org>
9297
db22a3c2 9298 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9299
10d5f513
CS
93002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9301
9302 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9303
ac6c8639
CY
93042011-10-20 Chong Yidong <cyd@gnu.org>
9305
9306 * emulation/cua-base.el (cua-mode):
9307 * mail/footnote.el (footnote-mode):
9308 * mail/mailabbrev.el (mail-abbrevs-mode):
9309 * net/xesam.el (xesam-minor-mode):
9310 * progmodes/bug-reference.el (bug-reference-mode):
9311 * progmodes/cap-words.el (capitalized-words-mode):
9312 * progmodes/compile.el (compilation-minor-mode)
9313 (compilation-shell-minor-mode):
9314 * progmodes/gud.el (gud-tooltip-mode):
9315 * progmodes/hideif.el (hide-ifdef-mode):
9316 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9317 * progmodes/subword.el (subword-mode):
9318 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9319 * progmodes/which-func.el (which-function-mode):
9320 * term/tvi970.el (tvi970-set-keypad-mode):
9321 * term/vt100.el (vt100-wide-mode):
9322 * textmodes/flyspell.el (flyspell-mode):
9323 * textmodes/ispell.el (ispell-minor-mode):
9324 * textmodes/nroff-mode.el (nroff-electric-mode):
9325 * textmodes/paragraphs.el (use-hard-newlines):
9326 * textmodes/refill.el (refill-mode):
9327 * textmodes/reftex.el (reftex-mode):
9328 * textmodes/rst.el (rst-minor-mode):
9329 * textmodes/sgml-mode.el (html-autoview-mode)
9330 (sgml-electric-tag-pair-mode):
9331 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9332 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9333 * emulation/crisp.el (crisp-mode):
9334 * emacs-lisp/eldoc.el (eldoc-mode):
9335 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9336 minor mode behavior.
9337
aa42ab43
JL
93382011-10-19 Juri Linkov <juri@jurta.org>
9339
9340 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9341 the list of hard-coded chars with escape-glyph face.
9342
89400f1d
SM
93432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9346
305c07f6
MA
93472011-10-19 Michael Albinus <michael.albinus@gmx.de>
9348
9349 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9350 running process.
9351
13754b54
GM
93522011-10-19 Glenn Morris <rgm@gnu.org>
9353
9354 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9355 Ignore ignored files. (Bug#9726)
9356
06e21633
CY
93572011-10-19 Chong Yidong <cyd@gnu.org>
9358
9359 Doc fix for minor modes, stating that an omitted argument enables
9360 the mode unconditionally when called from Lisp.
9361
9362 * abbrev.el (abbrev-mode):
9363 * allout.el (allout-mode):
9364 * autoinsert.el (auto-insert-mode):
9365 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9366 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9367 (global-auto-revert-mode):
9368 * battery.el (display-battery-mode):
9369 * composite.el (global-auto-composition-mode)
9370 (auto-composition-mode):
9371 * delsel.el (delete-selection-mode):
9372 * desktop.el (desktop-save-mode):
9373 * dired-x.el (dired-omit-mode):
9374 * dirtrack.el (dirtrack-mode):
9375 * doc-view.el (doc-view-minor-mode):
9376 * double.el (double-mode):
9377 * electric.el (electric-indent-mode, electric-pair-mode):
9378 * emacs-lock.el (emacs-lock-mode):
9379 * epa-hook.el (auto-encryption-mode):
9380 * follow.el (follow-mode):
9381 * font-core.el (font-lock-mode):
9382 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9383 * help.el (temp-buffer-resize-mode):
9384 * hilit-chg.el (highlight-changes-mode)
9385 (highlight-changes-visible-mode):
9386 * hi-lock.el (hi-lock-mode):
9387 * hl-line.el (hl-line-mode, global-hl-line-mode):
9388 * icomplete.el (icomplete-mode):
9389 * ido.el (ido-everywhere):
9390 * image-file.el (auto-image-file-mode):
9391 * image-mode.el (image-minor-mode):
9392 * iswitchb.el (iswitchb-mode):
9393 * jka-cmpr-hook.el (auto-compression-mode):
9394 * linum.el (linum-mode):
9395 * longlines.el (longlines-mode):
9396 * master.el (master-mode):
9397 * mb-depth.el (minibuffer-depth-indicate-mode):
9398 * menu-bar.el (menu-bar-mode):
9399 * minibuf-eldef.el (minibuffer-electric-default-mode):
9400 * mouse-sel.el (mouse-sel-mode):
9401 * msb.el (msb-mode):
9402 * mwheel.el (mouse-wheel-mode):
9403 * outline.el (outline-minor-mode):
9404 * paren.el (show-paren-mode):
9405 * recentf.el (recentf-mode):
9406 * reveal.el (reveal-mode, global-reveal-mode):
9407 * rfn-eshadow.el (file-name-shadow-mode):
9408 * ruler-mode.el (ruler-mode):
9409 * savehist.el (savehist-mode):
9410 * scroll-all.el (scroll-all-mode):
9411 * scroll-bar.el (scroll-bar-mode):
9412 * server.el (server-mode):
9413 * shell.el (shell-dirtrack-mode):
9414 * simple.el (auto-fill-mode, transient-mark-mode)
9415 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9416 (line-number-mode, column-number-mode, size-indication-mode)
9417 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9418 * strokes.el (strokes-mode):
9419 * time.el (display-time-mode):
9420 * t-mouse.el (gpm-mouse-mode):
9421 * tool-bar.el (tool-bar-mode):
9422 * tooltip.el (tooltip-mode):
9423 * type-break.el (type-break-mode-line-message-mode)
9424 (type-break-query-mode):
9425 * view.el (view-mode):
9426 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9427 (global-whitespace-mode, global-whitespace-newline-mode):
9428 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9429
a3839de2
SM
9430 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9431 Fix autogenerated docstring.
06e21633 9432
5214e501
JL
94332011-10-19 Juri Linkov <juri@jurta.org>
9434
9435 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9436 by checking environment variables "DESKTOP_SESSION" and
9437 "XDG_CURRENT_DESKTOP". (Bug#9779)
9438
195f8db9
JL
94392011-10-19 Juri Linkov <juri@jurta.org>
9440
9441 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9442 (browse-url-chromium-program, browse-url-chromium-arguments):
9443 New defcustoms.
9444 (browse-url-default-browser): Check for `browse-url-chromium' and
9445 call `browse-url-chromium-program'.
9446 (browse-url-chromium): New command. (Bug#9779)
9447
343a34ff
JB
94482011-10-18 Juanma Barranquero <lekktu@gmail.com>
9449
9450 * facemenu.el (list-colors-duplicates): On Windows, detect more
9451 duplicates by assuming that only colors matching "^System" are
9452 special "system colors". (Bug#9722)
9453
6978a151
SM
94542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9457 to distinguish the author from the committer.
9458
6a80b297
MA
94592011-10-18 Michael Albinus <michael.albinus@gmx.de>
9460
9461 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9462
b31a5677
JK
94632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9464
9465 * international/mule.el (sgml-html-meta-auto-coding-function):
9466 Add support for detecting encoding in HTML5 specified only as
9467 <meta charset="UTF-8">. Implementation just makes http-equiv and
9468 content-type parts from HTML4 encoding string optional. (Bug#9716)
9469
80c6d77f
GM
94702011-10-18 Glenn Morris <rgm@gnu.org>
9471
9472 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9473
08b0fee8
CY
94742011-10-18 Chong Yidong <cyd@gnu.org>
9475
9476 * faces.el (cursor): Doc fix.
9477
67e729a5
CY
94782011-10-17 Chong Yidong <cyd@gnu.org>
9479
9480 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9481
343a34ff 94822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9483
9484 * dirtrack.el (dirtrack): Support shell buffers with path
9485 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9486
0bc06380
TZ
94872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9488
9489 * json.el: Bump version to 1.3 and note change in History.
9490 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9491
8b79f3e0
SM
94922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9493
5a7c536b
SM
9494 * comint.el (comint-insert-input, comint-send-input)
9495 (comint-get-old-input-default, comint-backward-matching-input)
9496 (comint-next-prompt): Use nil instead of `input' for field property of
9497 past user input (bug#114).
9498
96a8a0df
SM
9499 * minibuffer.el (completion--replace): Inherit surrounding properties
9500 (bug#114).
9501 (minibuffer-complete-and-exit): Use it.
9502
8b79f3e0
SM
9503 * comint.el (comint--table-subvert): Quote the all-completions output
9504 (bug#9160).
9505
b8f7ff0d
MR
95062011-10-17 Martin Rudalics <rudalics@gmx.at>
9507
8b79f3e0 9508 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9509
b8f7ff0d 9510 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9511 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9512 entries and separate them from frame entries.
9513
c235b555
GM
95142011-10-15 Glenn Morris <rgm@gnu.org>
9515
9516 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9517 Doc fixes.
9518
6bbfa6e1
CY
95192011-10-15 Chong Yidong <cyd@stupidchicken.com>
9520
8b79f3e0
SM
9521 * net/network-stream.el (network-stream-open-starttls):
9522 Improve detection of failure due to lack of TLS support.
ec5c990d 9523
6bbfa6e1
CY
9524 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9525 putting the input text in front and in bold.
9526
98488977
SM
95272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9528
3d1337be
SM
9529 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9530
ee0b45e4
SM
9531 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9532 empty buffer.
9533
98488977
SM
9534 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9535 unread-command-events rather than pushing yet-another event.
9536
186f4720
EZ
95372011-10-14 Eli Zaretskii <eliz@gnu.org>
9538
9539 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9540 the explanation of the possible choices. Make the options passed
9541 to completing-read shorter.
9542
8b7a997c
AM
95432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9544
9545 * textmodes/flyspell.el (flyspell-large-region): Make sure
9546 extended character mode is used if defined (Bug#1339).
9547
12587bbb
EZ
95482011-10-13 Eli Zaretskii <eliz@gnu.org>
9549
9550 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9551 character info for LRE, LRO, RLE, and RLO characters by appending
9552 an invisible PDF.
12587bbb 9553
bad41229
SM
95542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9557 even in case of error; add debug spec; simplify data flow.
9558 (with-timeout-handler): Remove.
9559
28dbc92f
MA
95602011-10-12 Michael Albinus <michael.albinus@gmx.de>
9561
9562 Fix Bug#6019, Bug#9315.
9563
9564 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9565 complete `buffer-file-name', the local file name part could look
9566 remotely (for example on VMS).
9567
9568 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9569 `tramp-run-real-handler'.
9570 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9571 already quoted by '"'.
9572
9573 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9574 Let `file-name-handler-alist' be nil, the local file name part
9575 could look remotely (for example on VMS).
9576
e1b0b23a
SM
95772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9580 from here...
9581 (flyspell-post-command-hook): ...to here.
9582
a120bde9
SM
95832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9586 if not needed.
9587 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9588 using completion. Protect against "slow" callers.
9589 Remove the "message hack".
9590
7ce7717b
JL
95912011-10-11 Juri Linkov <juri@jurta.org>
9592
9593 * isearch.el (isearch-lazy-highlight-word): New variable.
9594 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9595 Use it. (Bug#9727)
9596
c02ee9d6
GM
95972011-10-11 Glenn Morris <rgm@gnu.org>
9598
9599 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9600 like f90-previous-statement does.
9601
93e616fd 96022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9603
1f190e73 9604 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9605 only in interactive use, to avoid error.
9606
af7b6078
SM
96072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * minibuffer.el (completion-file-name-table): Fix last change,
9610 i.e. ignore normal errors but not the other ones.
9611
0563dae9
MR
96122011-10-10 Martin Rudalics <rudalics@gmx.at>
9613
9614 * window.el (special-display-buffer-names)
9615 (special-display-regexps): Remove some remnants of earlier
9616 changes from doc-strings.
366ca7f3
MR
9617 (quit-windows-on): New function.
9618
9619 * vc/vc.el (vc-revert, vc-rollback):
9620 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9621 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9622 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9623
49677495
MR
96242011-10-09 Martin Rudalics <rudalics@gmx.at>
9625
9626 * window.el (frame-auto-hide-function): Add version tag.
9627 (Bug#9699)
9628
56f2d1e1
MA
96292011-10-09 Michael Albinus <michael.albinus@gmx.de>
9630
9631 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9632 condition.
9633
112a6592
LL
96342011-10-09 Leo Liu <sdl.web@gmail.com>
9635
9636 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9637 (Bug#9701)
9638
0812589b
GM
96392011-10-08 Glenn Morris <rgm@gnu.org>
9640
9641 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9642 before the first code statement zero indent. (Bug#9690)
9643
b2b0776e
CY
96442011-10-08 Chong Yidong <cyd@stupidchicken.com>
9645
9646 * simple.el (count-words-region): Always count in the region.
9647 Report the number of lines and characters too.
9648 (count-words): New command, which counts in the buffer if the
9649 region is inactive, as count-words-region used to.
9650 (count-words--message): New function. Handle plurals.
9651 (count-lines-region): Make it an alias for count-words-region.
9652
9653 * bindings.el (esc-map): Replace count-lines-region with
9654 count-words-region.
9655
c557cd6b
MR
96562011-10-08 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (window--delete): Delete dedicated frame
9659 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9660 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9661
61a57ef4 96622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9663
3a7d293b 9664 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9665
c3833279
CY
96662011-10-07 Chong Yidong <cyd@stupidchicken.com>
9667
9668 * bindings.el ([M-left],[M-right]): Bind to left-word and
9669 right-word respectively.
9670
21ce8245
GM
96712011-10-07 Glenn Morris <rgm@gnu.org>
9672
9673 * cus-start.el (debug-on-quit): Fix custom type.
9674
6d823bb2
LMI
96752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9676
0181e193
LMI
9677 * subr.el (define-key-after): Clarify that the function is not
9678 useful for non-menu keymaps.
9679
6d823bb2
LMI
9680 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9681
8e3459ce 96822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9683
21ce8245 9684 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9685 in current minibuffer (Fix bug with recursive minibuffers).
9686
a1c2d21e
CY
96872011-10-06 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * progmodes/gdb-mi.el (gdb): Doc fix.
9690
5a4cf282
MR
96912011-10-05 Martin Rudalics <rudalics@gmx.at>
9692
9693 * window.el (frame-auto-hide-function): New option replacing
9694 frame-auto-delete. Suggested by Stefan Monnier.
9695 (window--delete): Call frame-auto-hide-function instead of
9696 investigating frame-auto-delete.
c96111ea
MR
9697 (window-point-1, set-window-point-1): New functions.
9698 (window-in-direction, record-window-buffer, window-state-get-1)
9699 (display-buffer-record-window): Use window-point-1 instead of
9700 window-point.
9701 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9702
9854542e
SM
97032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9705 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9706
8943cfb0
GM
97072011-10-05 Glenn Morris <rgm@gnu.org>
9708
9709 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9710 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9711
647ab967
LL
97122011-10-05 Leo Liu <sdl.web@gmail.com>
9713
9714 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9715 works with buffer object.
9716
3ddfbced
SM
97172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * mpc.el (mpc-tool-bar-map): Add labels.
9720
bdfa5dd2
GM
97212011-10-04 Glenn Morris <rgm@gnu.org>
9722
9723 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9724
0e2070b5
MR
97252011-10-04 Martin Rudalics <rudalics@gmx.at>
9726
9727 * window.el (window--delete): New function.
9728 (frame-auto-delete): Resuscitate option.
9729 (bury-buffer, replace-buffer-in-windows)
9730 (quit-window): Rewrite using window--delete.
9731 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9732 Pass display-buffer-mark-dedicated to window--display-buffer-2
9733 (Bug#9639).
9734
3dc61a09
SM
97352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9736
915a9b64
SM
9737 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9738 returns a list (bug#9554). Add remote file name completion.
9739 * comint.el (comint--table-subvert): Curry and get quote&unquote
9740 functions as arguments.
9741 (comint--complete-file-name-data): Adjust call accordingly.
9742 * pcomplete.el (pcomplete--table-subvert): Remove.
9743 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9744
3dc61a09
SM
9745 * minibuffer.el (completion-table-case-fold): Use currying.
9746 (completion--styles-type, completion--cycling-threshold-type):
9747 New constants.
9748 (completion-styles, completion-category-overrides)
9749 (completion-cycle-threshold): Use them.
9750 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9751 completion-table-case-fold.
9752
8ea0a993
SB
97532011-10-03 Stephen Berman <stephen.berman@gmx.net>
9754
9755 * minibuffer.el (completion-category-overrides): Fix type of styles
9756 and add more user friendly tags (bug#9660).
9757
8c24b7f6
SM
97582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9759
9760 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9761 (mule-input-method-string): New widget.
9762 (default-input-method, language-info-custom-alist): Use it.
9763
428fe61a
SM
97642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9765
32c1fffd
SM
9766 * pcomplete.el: Require comint.
9767 (pcomplete--common-suffix): Remove.
9768 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9769 (pcomplete--table-subvert): Sync with comint--table-subvert.
9770 (pcomplete--entries): Use comint-completion-file-name-table.
9771 * comint.el (comint-unquote-filename): Simplify.
9772 (comint-completion-file-name-table): New function (bug#9616).
9773 (comint--complete-file-name-data): Use it.
9774
428fe61a
SM
9775 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9776 (pcmpl-gnu-tar-buffer): Remove.
9777 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9778 around. Make sure pcomplete-suffix-list is only changed temporarily.
9779 Don't look inside the tar's file if it's too large.
428fe61a 9780
04c52e2f
CY
97812011-10-01 Chong Yidong <cyd@stupidchicken.com>
9782
ce3cefcc
CY
9783 * cus-edit.el (custom-mode-map):
9784 * epa.el (epa-key-list-mode-map):
9785 * man.el (Man-mode-map):
9786 * startup.el (splash-screen-keymap):
9787 * simple.el (special-mode-map): Use scroll-up-command and
9788 scroll-down-command.
9789
9790 * progmodes/idlw-help.el (idlwave-help-mode-map):
9791 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9792 * net/newst-plainview.el (newsticker-mode-map):
9793 * emulation/ws-mode.el (wordstar-mode-map):
9794 * emulation/vi.el (vi-com-map):
9795 * calc/calc-graph.el (calc-graph-show-dumb):
9796 * term/sun.el (terminal-init-sun):
9797 * term/ns-win.el (global-map):
9798 * progmodes/grep.el (grep-mode-map):
9799 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9800 * mail/rmail.el (rmail-mode-map):
9801 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9802
04c52e2f
CY
9803 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9804 custom-safe-themes as special.
9805
79adf8c8
JD
98062011-10-01 Julien Danjou <julien@danjou.info>
9807
9808 * notifications.el (notifications-notify): Fix docstring.
9809
63bd50d3
PS
98102011-10-01 Per Starbäck <per@starback.se>
9811
9812 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9813
199e4c7e
MR
98142011-09-30 Martin Rudalics <rudalics@gmx.at>
9815
9816 * startup.el (command-line-1): Fix last fix by inserting
9817 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9818 (Bug#9605) and (Bug#9636)
199e4c7e 9819
fe5f08dd
EZ
98202011-09-29 Eli Zaretskii <eliz@gnu.org>
9821
9822 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9823 window is hscrolled, move by logical lines. (Bug#9607)
9824 (line-move-visual): Update the doc string to the above effect.
9825
b5516bbd
MR
98262011-09-29 Martin Rudalics <rudalics@gmx.at>
9827
ccee00c0
MR
9828 * window.el (display-buffer-record-window): When WINDOW is the
9829 selected window use `point' instead of `window-point'. (Bug#9626)
9830
b5516bbd
MR
9831 * startup.el (command-line-1): Use insert-before-markers when
9832 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9833
b5516bbd
MR
9834 * help.el (help-window): Remove variable.
9835
52aa0014
GM
98362011-09-29 Glenn Morris <rgm@gnu.org>
9837
9838 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9839
df9a7357
JB
98402011-09-29 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * descr-text.el (describe-char-categories): Accept category
9843 descriptions more than one line long.
9844
a8406c20
SM
98452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9846
88d9610c
SM
9847 * simple.el (delete-trailing-whitespace): Fix last change.
9848
a5daf810
SM
9849 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9850 Don't confuse "y => 3" as the beginning of a `y' operation.
9851
a8406c20
SM
9852 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9853 object has more than 4 slots (bug#9613).
9854
a239d4e9
JB
98552011-09-28 Juanma Barranquero <lekktu@gmail.com>
9856
9857 * subr.el (with-output-to-temp-buffer):
9858 * net/quickurl.el (quickurl, quickurl-browse-url):
9859 Fix typos in docstrings.
9860
693fbdb6
EZ
98612011-09-27 Eli Zaretskii <eliz@gnu.org>
9862
9863 * minibuffer.el (completion-styles)
9864 (completion-category-overrides): Cross reference each other in doc
9865 strings.
9866
8b457e28
GM
98672011-09-27 Glenn Morris <rgm@gnu.org>
9868
9869 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9870 to split-string. (Bug#9606)
9871
85a16208
LMI
98722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9873
9874 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9875 (bug#9615).
9876
502f9ebd
CY
98772011-09-27 Chong Yidong <cyd@stupidchicken.com>
9878
9879 * emacs-lisp/package.el (list-packages): Fix echo area message.
9880
7690bdea
LL
98812011-09-27 Leo Liu <sdl.web@gmail.com>
9882
9883 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9884
e2ee6f30
MA
98852011-09-25 Michael Albinus <michael.albinus@gmx.de>
9886
9887 * net/dbus.el (dbus-unregister-object): Don't release services for
9888 registered signals. (Bug#9581)
9889
f3f98342
TZ
98902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9891
9892 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9893 function that picks between cfengine 2 and 3 support
9894 automatically. Update docs accordingly.
9895
dd7aa8dd
KH
98962011-09-22 Kenichi Handa <handa@m17n.org>
9897
9898 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9899 ZERO.
9900 (indian-itrans-v5-table-for-tamil): New variable.
9901 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9902
3f2b07f8
KM
99032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9904
9905 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9906 that's true if the current command involved collapsing of text.
9907 It's reset to false at the beginning of the next command.
9908 (allout-post-command-business): Move the cursor to the beginning
9909 of entry if the cursor is hidden and collapsing activity just
9910 happened.
9911
371d6a61
CY
99122011-09-24 Chong Yidong <cyd@stupidchicken.com>
9913
9914 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9915 tracking (Bug#9541).
9916
2ac2721a
UJ
99172011-09-24 Ulf Jasper <ulf.jasper@web.de>
9918
9919 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9920 (newsticker-show-news): Automatically load html rendering package
9921 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9922 because w3m-fill-column is let-bound" and the error "Symbol's value
9923 as variable is void: w3m-fill-column".
2ac2721a 9924
fac7ae53
MA
99252011-09-24 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9928 Release services only if they are defined. (Bug#9581)
9929
e08b633b
RS
99302011-09-23 Richard Stallman <rms@gnu.org>
9931
e488d29c
RS
9932 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9933 distinguish start of paragraph from start of its text.
9934
19c38752
RS
9935 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9936
e08b633b
RS
9937 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9938 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9939 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9940
0a39f27e
AS
99412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9942
9943 * international/mule-diag.el (mule-diag): Insert a newline after
9944 each fontset description.
9945
db4e950d
SM
99462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * simple.el (delete-trailing-whitespace):
9949 Document last change; simplify.
9950
eca3f3ea
PW
99512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9952
d68e189a
PW
9953 * simple.el (delete-trailing-whitespace): Also delete
9954 extra newlines at the end of the buffer.
9955
eca3f3ea
PW
9956 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9957 (picture-newline): Use forward-line so as to ignore fields.
9958
01c157cc
SM
99592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * subr.el (with-wrapper-hook): Fix edebug spec.
9962
022de23e
LMI
99632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964
9965 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9966 (bug#4538).
9967
91683089
MA
99682011-09-23 Michael Albinus <michael.albinus@gmx.de>
9969
eca3f3ea
PW
9970 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9971 Fix nasty bug using wrong cached values.
91683089 9972
5bdd6fa4
AM
99732011-09-23 Alan Mackenzie <acm@muc.de>
9974
9975 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9976
97adfb97
CY
99772011-09-23 Chong Yidong <cyd@stupidchicken.com>
9978
9979 * window.el (pop-to-buffer): Ensure right window is selected if we
9980 chose another frame.
9981
d4ef2b50
EZ
99822011-09-22 Eli Zaretskii <eliz@gnu.org>
9983
9984 * simple.el (what-cursor-position): Use get-char-property-change
9985 and next-single-char-property-change, to be able to show display
9986 properties that come from overlays as well as text properties.
9987
72258fe5
CY
99882011-09-22 Chong Yidong <cyd@stupidchicken.com>
9989
9990 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9991
9992 * cmuscheme.el (run-scheme, switch-to-scheme):
9993 * cus-edit.el (customize-group, custom-buffer-create)
9994 (customize-browse):
9995 * info.el (info):
9996 * shell.el (shell):
9997 * mail/sendmail.el (mail):
9998 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9999
8f098516
RS
100002011-09-22 Richard Stallman <rms@gnu.org>
10001
10002 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10003 move back only to line beg, don't move back over blank lines.
10004
e74f1bb6
MA
100052011-09-22 Michael Albinus <michael.albinus@gmx.de>
10006
10007 * files.el (copy-directory): Set directory attributes only in case
10008 they could be retrieved from the source directory. (Bug#9565)
10009
bfeef8b6
DK
100102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10011
10012 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10013 (hs-find-block-beginning, hs-hide-level-recursive):
10014 Ignore strings as well as comments. (Bug#9502)
10015
7e423bb8
AS
100162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10017
10018 * progmodes/sql.el (sql-comint-postgres):
10019 Convert port number to a string. (Bug#9566)
10020
b4d72fcf
MR
100212011-09-22 Martin Rudalics <rudalics@gmx.at>
10022
10023 * window.el (quit-window): Undedicate window when switching to
10024 previous buffer. Reported by Thierry Volpiatto
10025 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10026 (special-display-popup-frame): When popping up a new frame reset
10027 its previous buffers to nil. Simplify code.
b4d72fcf 10028
a7b88dc6
MA
100292011-09-21 Michael Albinus <michael.albinus@gmx.de>
10030
10031 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10032 and process filter, as done also in `shell-command'.
10033
cf4eacfd
MR
100342011-09-21 Martin Rudalics <rudalics@gmx.at>
10035
eca3f3ea 10036 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10037 Call set-window-start with NOFORCE argument t.
10038 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10039 (quit-window): Reword doc-string. Handle new format of
10040 quit-restore parameter. Don't delete window if it has a
10041 previous buffer we can show instead of the present one.
10042 (display-buffer-record-window): Rewrite using a new format for
10043 the quit-restore window parameter
10044 (special-display-popup-frame, display-buffer-same-window)
10045 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10046 (display-buffer-pop-up-window, display-buffer-use-some-window):
10047 Adapt symbol passed to display-buffer-record-window.
10048 * help.el (help-window-setup): Handle new format of quit-restore
10049 parameter.
10050
8d28cb95
SM
100512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10052
94ab793f
SM
10053 * faces.el (face-list): Fix docstring (bug#9564).
10054
8d28cb95
SM
10055 * window.el (display-buffer--action-function-custom-type):
10056 Don't include internal functions in the Custom interface.
10057
3820edeb
JL
100582011-09-20 Juri Linkov <juri@jurta.org>
10059
10060 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10061 (Info-forward-node, Info-backward-node, Info-next-preorder)
10062 (Info-last-preorder): Use it. (Bug#9528)
10063
5147931d
JL
100642011-09-20 Juri Linkov <juri@jurta.org>
10065
10066 * info.el (Info-last-preorder): Visit last menu item only when
10067 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10068
cf499a1a
JD
100692011-09-20 Julien Danjou <julien@danjou.info>
10070
10071 * password-cache.el (password-cache-remove): Remove entries even if the
10072 value is nil, so that password with a nil value (negative caching) is
10073 possible to invalidate.
10074
f84e2fe2
LM
100752011-09-20 Lawrence Mitchell <wence@gmx.li>
10076
10077 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10078 all whitespace around breakpoint. (Bug#9553)
10079 (f90-find-breakpoint): Only break at whitespace inside a comment.
10080
78054a46
SM
100812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * minibuffer.el (completion-file-name-table): Keep track of errors.
10084 (completion-table-with-predicate): Handle the case where pred1 is nil.
10085 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10086
345083b2
SM
100872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10088
e24e27be
SM
10089 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10090 (debugger-return-value): Signal an error if the debugging context does
10091 not await any return value.
10092
345083b2
SM
10093 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10094 * image-mode.el (image-toggle-display-text)
10095 (image-toggle-display-image): Stay away from evil `intangible'.
10096
08d355e3
LL
100972011-09-19 Leo Liu <sdl.web@gmail.com>
10098
10099 * replace.el (occur-revert-arguments): Make it permanent-local.
10100 (occur-mode): Don't call font-lock-defontify.
10101
f01da43f
CY
101022011-09-19 Chong Yidong <cyd@stupidchicken.com>
10103
10104 * net/ldap.el (ldap-search-internal): Don't push empty search
10105 result (Bug#9508).
10106
b6072fa6
SM
101072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10110
443d6696
MA
101112011-09-19 Michael Albinus <michael.albinus@gmx.de>
10112
10113 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10114 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10115
7cc6e154
JL
101162011-09-18 Juri Linkov <juri@jurta.org>
10117
10118 * buff-menu.el (Buffer-menu-mode-map):
10119 * dired.el (dired-mode-map):
10120 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10121 (lisp-interaction-mode-map):
10122 * emacs-lisp/package.el (package-menu-mode-map):
10123 * epa.el (epa-key-list-mode-map):
10124 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10125 (menu-bar-options-menu):
10126 * outline.el (outline-mode-menu-bar-map):
10127 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10128 * vc/vc-dir.el (vc-dir-menu-map):
10129 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10130 Capitalize non-function content words in menu item strings.
10131
10132 * dired.el (dired-mode-map): Add menu item for
10133 `image-dired-dired-toggle-marked-thumbs'.
10134
80302a81
JL
101352011-09-18 Juri Linkov <juri@jurta.org>
10136
10137 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10138 to `isearch-case-fold-search' and restore its original value
10139 after the `isearch-mode' call.
10140
46c5cf66
JL
101412011-09-18 Juri Linkov <juri@jurta.org>
10142
10143 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10144 because `zgrep' returns 1 for successful matches (bug#9226).
10145
d18b513b
JL
101462011-09-18 Juri Linkov <juri@jurta.org>
10147
10148 * info.el (Info-extract-menu-node-name): Check the second match
10149 for empty string (second test-case of bug#9528).
10150 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10151 intermediate nodes to the history (first test-case of bug#9528).
10152
72753f87
JL
101532011-09-18 Juri Linkov <juri@jurta.org>
10154
10155 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10156 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10157
c9384295
JL
101582011-09-18 Juri Linkov <juri@jurta.org>
10159
1154d12e
JB
10160 * info.el (Info-file-supports-index-cookies):
10161 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10162 outputs one more line for long file names (bug#4142).
c9384295 10163
d473dce8
CY
101642011-09-18 Chong Yidong <cyd@stupidchicken.com>
10165
10166 * newcomment.el (comment-normalize-vars): If prompting for
10167 comment-start, set comment-start-skip too (Bug#8424).
10168
2176854d
JB
101692011-09-18 Johan Bockgård <bojohan@gnu.org>
10170
10171 * icomplete.el: Fix previous fix of Bug#5849.
10172 (icomplete-mode): Don't set completion-show-inline-help.
10173 (icomplete-minibuffer-setup): Set completion-show-inline-help
10174 locally during icompletion.
10175
3aace4e4
CY
101762011-09-18 Chong Yidong <cyd@stupidchicken.com>
10177
c940224f
CY
10178 * woman.el (woman2-process-escapes): Don't delete unrecognized
10179 escapes (Bug#7843).
10180
3aace4e4
CY
10181 * files.el (inhibit-first-line-modes-regexps): Add image files.
10182 (hack-local-variables-prop-line): Return nil for malformed
10183 prop-lines (Bug#9044).
10184
710dec63
MA
101852011-09-18 Michael Albinus <michael.albinus@gmx.de>
10186
10187 * net/tramp.el (top): Don't require 'shell.
10188 (tramp-methods): Fix docstring.
10189 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10190 Return complete remote file name. Handle "smb" case.
10191 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10192 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10193
10194 * net/tramp-compat.el (top): Require 'shell.
10195
10196 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10197 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10198 `tramp-current-host'.
10199 (tramp-get-remote-tmpdir): Remove.
10200
10201 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10202 `tramp-tmpdir' entries.
10203 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10204 (tramp-smb-handle-file-attributes): Ignore errors.
10205 (tramp-smb-wait-for-output): Check also for process end.
10206
5d5ac8ec
LMI
102072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208
10209 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10210 when sending QUIT (bug#9312).
10211
8c0f49f0
CY
102122011-09-17 Chong Yidong <cyd@stupidchicken.com>
10213
10214 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10215 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10216 occur-mode-display-occurrence.
10217 (occur-edit-mode): Add usage message.
10218 (occur-cease-edit): New command.
10219 (occur-after-change-function): Use text properties to find the
10220 position of the prefix text.
10221 (occur-engine): Set stickiness of prefix text properties.
10222
8f1383f7
GM
102232011-09-17 Glenn Morris <rgm@gnu.org>
10224
10225 * progmodes/etags.el (complete-tag):
10226 Fix call to completion-in-region. (Bug#9526)
10227
744ba0e3
JL
102282011-09-17 Juri Linkov <juri@jurta.org>
10229
10230 * textmodes/ispell.el (ispell-word): Add to the error message
10231 the word, ispell program name and current dictionary (bug#9121).
10232 (ispell-tex-arg-end): Capitalize "error" in the error message.
10233
d9bbf400
AS
102342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10237 check. (Bug#4251)
10238
8da11505
JL
102392011-09-17 Juri Linkov <juri@jurta.org>
10240
10241 * window.el (window-safe-min-height, window-safe-min-width):
10242 Fix typos (followup to bug#9522).
10243
a91adc7e
SJ
102442011-09-17 Sven Joachim <svenjoac@gmx.de>
10245
10246 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10247
064f328a
EZ
102482011-09-16 Eli Zaretskii <eliz@gnu.org>
10249
10250 * simple.el (line-move): If goal-column is set, move by logical
10251 lines, not by display lines. (Bug#971)
10252 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10253 to reflect the above change.
10254
e69df516
SM
102552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * image.el (imagemagick-register-types): Use regexp-opt.
10258
cbb0f9ab
CY
102592011-09-15 Chong Yidong <cyd@stupidchicken.com>
10260
10261 * window.el (display-buffer-base-action): Rename from
10262 display-buffer-default-action. Make default value empty.
10263 (display-buffer-overriding-action): Convert to defvar.
10264 (display-buffer-fallback-action): New var.
10265
25322144
CY
102662011-09-15 Chong Yidong <cyd@stupidchicken.com>
10267
10268 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10269 declaration.
10270 (package--add-to-archive-contents): If there is a duplicate entry
10271 with an older version, remove it.
10272 (package-menu-mark-delete, package-menu-mark-install)
10273 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10274 (package-menu-mark-obsolete-for-deletion):
10275 Use package-menu-get-status instead of a regexp search.
25322144
CY
10276 (package-menu-get-status): Use tabulated-list-entry.
10277 (package-menu-mark-upgrades): New command.
d770725a 10278 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10279 (package-menu-execute): Do installation before deletion.
10280 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10281 instead of checking major-mode.
10282 (package-menu--find-upgrades): New function.
10283
7520339c
LMI
102842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10285
10286 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10287 passwords in the log buffer.
65a046c4
LMI
10288 (smtpmail-process-filter): Update the process marker so that the
10289 "broken by peer" status message is inserted in the right place.
7520339c 10290
d3c30954
SM
102912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10292
3fe48822
SM
10293 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10294 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10295 bibtex-completion-at-point-function.
10296 (bibtex-completion-at-point-function): Use them.
10297
1b8b3954
SM
10298 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10299
d3c30954
SM
10300 * mpc.el (mpc-constraints-tag-lookup): New function.
10301 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10302 also to browser "album|playlist".
10303
72779976
JL
103042011-09-14 Juri Linkov <juri@jurta.org>
10305
10306 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10307 (isearch-edit-string): Use length of `isearch-string' when
10308 `isearch-fail-pos' returns nil.
10309 (isearch-message): Remove duplicate code and call
10310 `isearch-fail-pos' with arg `t'.
10311
a0bf2bcd
CY
103122011-09-14 Chong Yidong <cyd@stupidchicken.com>
10313
17bb0a2d
CY
10314 * replace.el (occur-mode-goto-occurrence): Don't force using other
10315 window (Bug#9499).
10316
a0bf2bcd
CY
10317 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10318
f678e0b6
MR
103192011-09-14 Martin Rudalics <rudalics@gmx.at>
10320
10321 * window.el (display-buffer-window): Remove.
10322 (display-buffer-record-window): Use help-setup window parameter
10323 instead of variable display-buffer-window.
10324 (display-buffer-function, special-display-buffer-names)
10325 (special-display-function): Mention help-setup parameter instead
10326 of display-buffer-window in doc-string.
d3c30954
SM
10327 * help.el (help-window-setup): New argument help-window.
10328 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10329 Reword some messages.
10330 (with-help-window): Pass window used for displaying the buffer
10331 to help-window-setup. Don't set display-buffer-window.
10332
8e39b2e8
GM
103332011-09-13 Glenn Morris <rgm@gnu.org>
10334
10335 * emacs-lisp/debug.el (debugger-make-xrefs):
10336 Preserve point. (Bug#9462)
10337
85e9c04b
CY
103382011-09-13 Chong Yidong <cyd@stupidchicken.com>
10339
10340 * window.el (window-deletable-p): Use next-frame.
10341
1b36ed6a
MR
103422011-09-13 Martin Rudalics <rudalics@gmx.at>
10343
10344 * window.el (window-auto-delete): Remove.
10345 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10346 dedication and previous buffers.
1b36ed6a
MR
10347 (switch-to-prev-buffer): Don't delete window.
10348 (delete-windows-on): Delete a window's frame if and only if the
10349 window is dedicated.
10350 (replace-buffer-in-windows): Delete buffer's window or frame if
10351 and only if window is dedicated.
10352 (quit-window): Handle quit-restore as before last change.
4d61f28d 10353 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10354
ef8ef9fb
CY
103552011-09-13 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * window.el (window-deletable-p): Never delete the last frame on a
10358 given terminal.
10359
b2cba41e
GM
103602011-09-13 Glenn Morris <rgm@gnu.org>
10361
10362 * help.el (describe-key-briefly): Copy previous standard-output change.
10363
51553db6 103642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10365
10366 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10367
b7556719
GM
103682011-09-13 Glenn Morris <rgm@gnu.org>
10369
10370 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10371 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10372
64b51947
CY
103732011-09-12 Chong Yidong <cyd@stupidchicken.com>
10374
10375 * dired-aux.el (dired-mark-read-string): Don't return default
10376 value on empty input (Bug#9361).
10377 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10378 Omit initial minibuffer contents.
10379 (dired-do-chmod): Signal an error on empty input.
10380 (dired-mark-read-string): Don't return default on empty input.
10381
10382 * files.el (file-modes-symbolic-to-number): Doc fix.
10383
393a301e
SM
103842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * international/mule-cmds.el (ucs-completions): Remove.
10387 (read-char-by-name): Use complete-with-action instead; add metadata.
10388
fa5660f9
CY
103892011-09-11 Chong Yidong <cyd@stupidchicken.com>
10390
10391 * window.el (display-buffer--action-function-custom-type)
10392 (display-buffer--action-custom-type): New vars.
10393 (display-buffer-alist, display-buffer-default-action)
10394 (display-buffer-overriding-action): Add defcustom types.
10395
4a592f66
CY
10396 * frame.el (delete-other-frames): Doc fix (Bug#276).
10397
73d56dbd
LMI
103982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10399
10400 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10401
37ac18a3
CY
104022011-09-11 Chong Yidong <cyd@stupidchicken.com>
10403
10404 Change modes that used same-window-* vars to use switch-to-buffer.
10405
10406 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10407 Use switch-to-buffer.
10408
10409 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10410 (customize-browse, custom-buffer-create-other-window):
10411 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10412
10413 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10414 (Info-prev, Info-up, Info-speedbar-goto-node)
10415 (info-display-manual): Use switch-to-buffer.
10416 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10417
10418 * mail/sendmail.el (mail): Use switch-to-buffer.
10419 (mail-recover): Use switch-to-buffer-other-window.
10420
10421 * cmuscheme.el (run-scheme, switch-to-scheme):
10422 * ielm.el (ielm):
10423 * shell.el (shell):
10424 * net/rlogin.el (rlogin):
10425 * net/telnet.el (telnet, rsh):
10426 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10427
10195bd6
AS
104282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10429
10430 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10431
b322f63a
LMI
104322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10433
39d7fed6
LMI
10434 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10435 so don't mention it (bug#9301).
ba5a81f1 10436 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10437
ee0e9f11
LMI
10438 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10439 match `x', `w32' and `ns', like the manual says (bug#9029).
10440
0b1c89c1 10441 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10442 (process-kill-buffer-query-function): Mention the buffer name in
10443 the query.
0b1c89c1 10444
77549ea8
LMI
10445 * image-mode.el (image-next-line): The line parameter is mandatory
10446 (bug#9258).
10447
803ef892
LMI
10448 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10449 which can be useful (bug#9301).
10450
12980837
LMI
10451 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10452
91054f8f
LMI
10453 * subr.el (match-string): Mention that the current buffer should
10454 be the same as the search was done in (bug#9282).
10455
b322f63a
LMI
10456 * facemenu.el: Disable the remove-* commands if the mark isn't
10457 active (bug#9162).
10458
3199b96f
CY
104592011-09-10 Chong Yidong <cyd@stupidchicken.com>
10460
10461 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10462 of display-buffer.
10463 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10464
10465 * replace.el (occur-mode-goto-occurrence)
10466 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10467 and display-buffer.
10468
10469 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10470 display-buffer.
10471
10472 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10473 special-display and same-window variables.
10474 (mail-other-window): Use switch-to-buffer-other-window.
10475 (mail-other-frame): USe switch-to-buffer-other-frame.
10476
393a301e
SM
10477 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10478 Use display-buffer-other-frame.
3199b96f
CY
10479 (gdb-display-gdb-buffer): Use pop-to-buffer.
10480
10481 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10482
10483 * progmodes/python.el: Don't set same-window-buffer-names.
10484
10485 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10486
10487 * window.el (display-buffer-alist): Add *Python*.
10488
8319e0bf
CY
104892011-09-10 Chong Yidong <cyd@stupidchicken.com>
10490
10491 * window.el (display-buffer-alist): Add entry for buffers
10492 previously handled same-window-*.
10493 (display-buffer-alist, display-buffer-default-action)
10494 (display-buffer-overriding-action): Mark as risky.
10495 (display-buffer-alist): Document action function changes.
10496 (display-buffer--same-window-action)
10497 (display-buffer--other-frame-action): New variables.
10498 (switch-to-buffer, display-buffer-other-frame): Use them.
10499 (display-buffer): Rename reuse-frame entry to reusable-frames.
10500 (display-buffer-reuse-selected-window): Function deleted.
10501 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10502 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10503 (display-buffer-special): New function.
10504 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10505 display-buffer-reuse-or-pop-window. Split off special-display
10506 part into display-buffer-special.
10507 (display-buffer-use-some-window): Don't perform any special
10508 pop-up-frames handling.
10509 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10510 (display-buffer--maybe-same-window): Rename from
0d3ff375 10511 display-buffer-maybe-same-window.
8319e0bf 10512
919a69aa
CY
10513 * info.el: Don't set same-window-regexps.
10514 (info-setup): New function.
10515 (info-other-window, info): Call it.
10516
10517 * cus-edit.el: Don't set same-window-regexps.
10518 (customize-group): New argument.
10519 (customize-group-other-window): Use it.
10520 (customize-face, customize-face-other-window): Likewise.
10521 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10522
8319e0bf
CY
10523 * net/rlogin.el:
10524 * net/telnet.el:
10525 * progmodes/gud.el: Don't set same-window-regexps.
10526
10527 * cmuscheme.el:
10528 * ielm.el:
10529 * shell.el:
10530 * mail/sendmail.el:
10531 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10532
25173000
JL
105332011-09-10 Juri Linkov <juri@jurta.org>
10534
10535 * isearch.el (isearch-edit-string): Remove obsolete mention of
10536 `C-w' (`isearch-yank-word-or-char') from docstring.
10537 (isearch-query-replace): Fix typo in docstring (bug#9466).
10538
056e44ef
JL
105392011-09-10 Juri Linkov <juri@jurta.org>
10540
10541 * paren.el (show-paren-function): Don't show escaped parens.
10542 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10543
c3760c17
EZ
105442011-09-10 Eli Zaretskii <eliz@gnu.org>
10545
10546 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10547 (mm-default-file-encoding): Remove autoload forms, they are
10548 replaced with autoload cookies in mml.el and mm-encode.el.
10549 (mail-add-attachment): New command.
10550 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10551 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10552 the doc string.
10553 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10554
fece895e
RT
105552011-09-10 Reuben Thomas <rrt@sc3d.org>
10556
e69df516
SM
10557 * simple.el (count-words-region): Use buffer if there's no region
10558 (bug#9429).
fece895e 10559
5e68ce4a
JL
105602011-09-09 Juri Linkov <juri@jurta.org>
10561
10562 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10563 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10564 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10565
0a6b9622
AM
105662011-09-09 Alan Mackenzie <acm@muc.de>
10567
10568 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10569 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10570
14a29deb
EZ
105712011-09-09 Eli Zaretskii <eliz@gnu.org>
10572
10573 Fix for Savannah bug#9392.
10574 * simple.el (mail-encode-mml): New defvar.
10575
10576 * mail/rmail.el (mail-encode-mml): Add a defvar.
10577 (rmail-enable-mime-composing): Default to t.
10578 (rmail-forward): Use MIME method of forwarding only if both
10579 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10580 Set mail-encode-mml non-nil if the MIME method was used.
10581
10582 * mail/sendmail.el (mml-to-mime): Add autoload form.
10583 (mail-encode-mml): Add a defvar.
10584 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10585 to nil.
10586 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10587 message through mml-to-mime, and reset mail-encode-mml to nil.
10588
28c45130
GM
105892011-09-09 Glenn Morris <rgm@gnu.org>
10590
10591 * woman.el (woman-if-body): When processing an .el block,
10592 do not delete the next .el block as well. (Bug#9447)
69f4b618 10593 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10594
9b1c252e
MR
105952011-09-08 Martin Rudalics <rudalics@gmx.at>
10596
10597 * window.el (window-deletable-p): Make sure window is live before
10598 invoking window-prev-buffers.
10599
567457e3
LL
106002011-09-08 Leo Liu <sdl.web@gmail.com>
10601
10602 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10603
97f05794
JL
106042011-09-08 Juri Linkov <juri@jurta.org>
10605
10606 * progmodes/compile.el (compilation-environment): Make it
10607 a defcustom (bug#8340).
10608
8b0874b5
MR
106092011-09-08 Martin Rudalics <rudalics@gmx.at>
10610
10611 * window.el (frame-auto-delete): Rename to window-auto-delete.
10612 Make it control auto-deletion of windows and/or frames.
10613 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10614 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10615 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10616 Rewrite handling of case when window/frame can be deleted.
10617 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10618 argument t. (Bug#9456)
8b0874b5 10619
4feb6e73
CY
106202011-09-07 Chong Yidong <cyd@stupidchicken.com>
10621
10622 * help-mode.el (help-mode): Restore autoload.
10623
91ab9c13
JL
106242011-09-07 Juri Linkov <juri@jurta.org>
10625
10626 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10627 `compilation-environment'. Set buffer-local
10628 `compilation-environment' to `thisenv' later after (funcall mode).
10629 (Bug#8340)
10630
10631 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10632 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10633 instead of replacing its value. (Bug#8340)
10634
0527e251
JL
106352011-09-07 Juri Linkov <juri@jurta.org>
10636
10637 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10638 based on text properties put by `grep-filter' instead of matching
10639 escape sequences.
10640 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10641 to the value of `grep-error-screen-columns' (bug#9438).
10642
249f792c
JL
106432011-09-07 Juri Linkov <juri@jurta.org>
10644
10645 * simple.el (next-error-highlight, next-error-highlight-no-select):
10646 Doc fix (bug#9432).
10647
ff7271b9
OT
106482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10649
10650 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10651 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10652
183fc730
LL
106532011-09-07 Leo Liu <sdl.web@gmail.com>
10654
10655 * net/rcirc.el (rcirc-mode): Conditionally initialize
10656 rcirc-input-ring.
10657
77694924
SM
106582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10659
10660 * emacs-lisp/find-func.el (find-function-C-source): Only set
10661 find-function-C-source-directory after checking that we found a source
10662 file there (bug#9440).
10663
d809b8eb
AM
106642011-09-06 Alan Mackenzie <acm@muc.de>
10665
10666 * isearch.el (isearch-other-meta-char): Wherever a key list is
10667 unread, "unread" the prefix arg, too. This fixes bug #8901.
10668
453de99f
OG
106692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10670
10671 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10672
90439906
JL
106732011-09-05 Juri Linkov <juri@jurta.org>
10674
10675 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10676
f62bd846
JL
106772011-09-05 Juri Linkov <juri@jurta.org>
10678
10679 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10680 keeping point where processing of grep matches begins, and
10681 continue to delete remaining escape sequences from the same point.
10682 (grep-filter): Make leading zero optional in "0?1;31m" because
10683 git-grep emits "\033[1;31m" escape sequences unlike expected
10684 "\033[01;31m" as GNU Grep does (bug#9408).
10685 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10686
045820ec
JL
106872011-09-05 Juri Linkov <juri@jurta.org>
10688
10689 * subr.el (y-or-n-p): Capitalize "yes".
10690
f5e29b9b
MA
106912011-09-04 Michael Albinus <michael.albinus@gmx.de>
10692
10693 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10694 `tramp-cache-unload-hook' where appropriate.
10695 (tramp-methods): Rename `tramp-remote-sh' to
10696 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10697 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10698
10699 * net/tramp-sh.el (top): Don't require 'shell.
10700 (tramp-methods): Add `tramp-remote-shell' and
10701 `tramp-remote-shell-args' entries.
10702 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10703 (tramp-sh-handle-shell-command): Remove.
10704 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10705 Use `tramp-remote-shell'.
10706
2784c434
CY
107072011-09-03 Chong Yidong <cyd@stupidchicken.com>
10708
393a301e 10709 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10710 (sendmail-query-once): Save directly to send-mail-function.
10711 Update message-send-mail-function too.
10712
10713 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10714
464cdf56
CS
107152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10716
10717 * progmodes/python.el (python-mode-map): Use correct function to
10718 start python interpreter from menu-bar (as reported by Geert
10719 Kloosterman).
10720 (inferior-python-mode-map): Fix typo.
393a301e 10721 (python-shell-map): Remove.
464cdf56 10722
d37e5c87
DD
107232011-09-03 Deniz Dogan <deniz@dogan.se>
10724
10725 * net/rcirc.el (rcirc-print): Simplify code for
10726 rcirc-scroll-show-maximum-output. There is no need to walk
10727 through all windows to find the right one.
10728
f3ada0ee
CS
107292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10730
10731 * help.el (help-return-method): Doc fix.
10732
1f3c99ca
MR
107332011-09-03 Martin Rudalics <rudalics@gmx.at>
10734
10735 * window.el (window-deletable-p): Don't return a non-nil value
10736 when there's a buffer that was shown in the window before.
10737 (Bug#9419)
393a301e
SM
10738 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10739 Set window's previous buffers to nil.
1f3c99ca 10740
a3cf097f
EZ
107412011-09-03 Eli Zaretskii <eliz@gnu.org>
10742
10743 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10744 newline before and after the tag line, so it doesn't interfere
10745 with determining the paragraph direction of bidirectional text.
10746
3d03de90
LL
107472011-09-03 Leo Liu <sdl.web@gmail.com>
10748
10749 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10750
c3313451
CY
107512011-09-02 Chong Yidong <cyd@stupidchicken.com>
10752
393a301e 10753 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10754 (pop-to-buffer): Change interactive spec. Pass second argument
10755 directly to display-buffer.
10756 (display-buffer): Fix interactive spec. Use functionp to
10757 distinguish between a function and a list of functions.
10758
10759 * abbrev.el (edit-abbrevs):
10760 * arc-mode.el (archive-extract):
10761 * autoinsert.el (auto-insert):
10762 * bookmark.el (bookmark-bmenu-list):
10763 * files.el (find-file):
10764 * view.el (view-buffer):
10765 * progmodes/compile.el (compilation-goto-locus):
10766 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10767
89894cd8
CY
107682011-09-02 Chong Yidong <cyd@stupidchicken.com>
10769
10770 * window.el (display-buffer-alist): Doc fix.
10771 (display-buffer): Add docstring. Don't treat
10772 display-buffer-default specially.
10773 (display-buffer-reuse-selected-window)
10774 (display-buffer-same-window, display-buffer-maybe-same-window)
10775 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10776 (display-buffer-pop-up-window)
10777 (display-buffer-reuse-or-pop-window)
10778 (display-buffer-use-some-window): New functions.
10779 (display-buffer-default-action): Use them.
393a301e 10780 (display-buffer-default): Delete.
89894cd8
CY
10781 (pop-to-buffer-1): Fix choice of actions.
10782
ae0bc9fb
SM
107832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * minibuffer.el (completion--insert-strings): Don't get confused by
10786 completion entries that end with an LF char.
10787
e9d90883
EZ
107882011-09-01 Eli Zaretskii <eliz@gnu.org>
10789
10790 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10791
437014c8
CY
107922011-09-01 Chong Yidong <cyd@stupidchicken.com>
10793
10794 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10795 (display-buffer-same-window, display-buffer-other-window):
10796 New functions.
437014c8
CY
10797 (pop-to-buffer-1): New function. Use the above.
10798 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10799 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10800
10801 * view.el (view-buffer-other-window, view-buffer-other-frame):
10802 Just use pop-to-buffer.
10803
a5e063d5
TV
108042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10805
10806 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10807
793d32bb
WH
108082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10809
10810 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10811
d65e4c15
RS
108122011-08-31 Richard Stallman <rms@gnu.org>
10813
10814 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10815 of the separation of rmail-view-buffer from rmail-buffer.
10816 If you say no to "replace original", the decrypt is in the
10817 view buffer. If you say yes, the decrypt goes into the
10818 rmail buffer also.
10819
f818cd2a
MR
108202011-08-31 Martin Rudalics <rudalics@gmx.at>
10821
10822 * window.el (display-buffer-window): Rewrite doc-string.
10823 (display-buffer-record-window): New function.
10824 (display-buffer-macro-specifiers)
10825 (display-buffer-even-window-sizes, display-buffer-set-height)
10826 (display-buffer-set-width, display-buffer-in-window)
10827 (display-buffer-reuse-window, display-buffer-split-specifiers)
10828 (display-buffer-side-specifiers, display-buffer-split-window-1)
10829 (display-buffer-split-window, display-buffer-split-atom-window)
10830 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10831 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10832 (display-buffer-other-window-means-other-frame)
10833 (display-buffer-normalize-special)
10834 (display-buffer-normalize-default)
10835 (display-buffer-normalize-argument)
10836 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10837 (display-buffer-normalize-specifiers, display-buffer-frame)
10838 (display-buffer-same-window, display-buffer-same-frame)
10839 (display-buffer-other-window)
10840 (display-buffer-same-frame-other-window)
10841 (display-buffer-other-frame, pop-to-buffer-same-window)
10842 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10843 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10844 (switch-to-buffer-same-frame)
10845 (switch-to-buffer-other-window-same-frame)
10846 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10847 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10848 (display-buffer-alist-set): Remove.
10849 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10850 (special-display-regexps, special-display-function):
10851 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10852 parameter.
10853 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10854 (special-display-frame-alist, special-display-popup-frame)
10855 (same-window-buffer-names, same-window-regexps, same-window-p)
10856 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10857 (split-window-preferred-function, split-height-threshold)
10858 (split-width-threshold, window-splittable-p)
10859 (split-window-sensibly, window--try-to-split-window)
10860 (window--frame-usable-p, even-window-heights)
10861 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10862 (window--display-buffer-2, display-buffer-other-frame):
10863 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10864 (display-buffer-default, display-buffer-assq-regexp): New functions.
10865 (display-buffer-alist): Rewrite doc-string.
10866 (display-buffer-default-action)
10867 (display-buffer-overriding-action): New variables.
10868 (display-buffer, switch-to-buffer): Rewrite.
10869 (pop-to-buffer): Restore Emacs 23 behavior but use
10870 window-normalize-buffer-to-display.
10871 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10872 Restore Emacs 23 behavior but use
10873 window-normalize-buffer-to-switch-to.
10874 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10875 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10876 Rewrite using Emacs 23 options.
f818cd2a 10877
5bc3b51d
MA
108782011-08-31 Michael Albinus <michael.albinus@gmx.de>
10879
10880 * net/tramp.el (tramp-root-regexp): Remove.
10881 (tramp-completion-file-name-regexp-unified)
10882 (tramp-completion-file-name-regexp-separate)
10883 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10884 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10885 (tramp-drop-volume-letter): Simplify definition.
10886 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10887
b1a4f8e1
SM
108882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10889
10890 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10891 (bug#9356).
10892
5664fa7b
RT
108932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10894
b1a4f8e1 10895 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10896
9a45d6c3
JL
108972011-08-29 Juri Linkov <juri@jurta.org>
10898
10899 * isearch.el (isearch-done): Don't display message "Mark saved"
10900 when arg `edit' is non-nil to prevent its flicker in the echo area.
10901
fb87e0fb
CY
109022011-08-28 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10905 obsolete packages for deletion.
10906
09ac1c2a
CS
109072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10908
10909 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10910 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10911 view-mode from help-mode.
10912 (help-xref-override-view-map): Remove.
10913 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10914 view-mode is not used anymore.
10915
7a1ff57f
CY
109162011-08-28 Chong Yidong <cyd@stupidchicken.com>
10917
10918 * server.el (server-port): Doc fix.
10919
b9696605
CY
10920 * cus-theme.el (custom-theme-choose-mode): Inherit from
10921 special-mode (Bug#9124).
10922 (custom-theme-choose-mode-map): Add special-mode to parent.
10923
ef8cdf8c
AM
109242011-08-28 Alan Mackenzie <acm@muc.de>
10925
10926 * progmodes/cc-fonts.el
10927 (c-make-font-lock-BO-decl-search-function): New function.
10928 (c-basic-matchers-after - "Fontify the clauses after various
10929 keywords"): Extract the three keyword lists for the 3 erroneous
10930 constructs from the list of four, and use the new function above
10931 in place of an old one.
10932
27de4e20
DD
109332011-08-28 Deniz Dogan <deniz@dogan.se>
10934
10935 * net/rcirc.el (rcirc-insert-prev-input)
10936 (rcirc-insert-next-input): Remove unused argument.
10937
356a3681
SM
109382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10941
3fc9b218
AM
109422011-08-27 Alan Mackenzie <acm@muc.de>
10943
10944 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10945 handle function pointer parameters properly.
10946
538a061c
MR
109472011-08-27 Martin Rudalics <rudalics@gmx.at>
10948
10949 * window.el (display-buffer-reuse-window): Fix case where
10950 selected window was reused with non-nil OTHER-WINDOW argument.
10951 (Bug#9381)
10952
35b1c40c
DD
109532011-08-27 Deniz Dogan <deniz@dogan.se>
10954
10955 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10956 oftc's NickServ messages.
10957
2f6a3e79
GM
109582011-08-27 Glenn Morris <rgm@gnu.org>
10959
10960 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10961
7254299e
CY
109622011-08-26 Chong Yidong <cyd@stupidchicken.com>
10963
10964 * emacs-lisp/package.el (package-install): Call package-initialize
10965 if called interactively.
10966
f8ccf167
LL
109672011-08-26 Leo Liu <sdl.web@gmail.com>
10968
10969 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10970
3e8cd5ce
JL
109712011-08-25 Juri Linkov <juri@jurta.org>
10972
10973 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10974 `search-whitespace-regexp' (bug#9364).
10975
93eb7113
JL
109762011-08-25 Juri Linkov <juri@jurta.org>
10977
10978 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10979 `regexp-search-ring' to their global values to protect from
10980 updating by `read-from-minibuffer' (bug#9185).
10981
f65d1611
JL
109822011-08-25 Juri Linkov <juri@jurta.org>
10983
10984 * textmodes/ispell.el (ispell-command-loop): Add newline
10985 at the end of the "Use option `i'..." line.
10986
f1cf7a31
JL
109872011-08-25 Juri Linkov <juri@jurta.org>
10988
10989 * battery.el (display-battery-mode): If `battery-status-function'
10990 or `battery-mode-line-format' is nil, display the message and set
10991 `display-battery-mode' to nil (bug#9363).
10992
0c95fcf7
EZ
109932011-08-25 Eli Zaretskii <eliz@gnu.org>
10994
10995 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10996 bidi-string-mark-left-to-right; they are unnecessary now.
10997
a2ebe600
DD
109982011-08-25 Deniz Dogan <deniz@dogan.se>
10999
11000 * net/quickurl.el: Documentation typo fixes.
11001
e4ed06f1
CY
110022011-08-25 Chong Yidong <cyd@stupidchicken.com>
11003
11004 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11005
e5f1c99e
GM
110062011-08-25 Glenn Morris <rgm@gnu.org>
11007
b2948976
GM
11008 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11009
e5f1c99e
GM
11010 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11011 (smtpmail-via-smtp): Handle nil response from smtp.
11012
f22f4808
JL
110132011-08-24 Juri Linkov <juri@jurta.org>
11014
11015 * proced.el (proced-marked): Inherit from `error' instead of
11016 `font-lock-warning-face'.
11017
11018 * ibuffer.el (ibuffer-marked-face): Change default face from
11019 `font-lock-warning-face' to `warning'.
11020 (ibuffer-deletion-face): Change default face from
11021 `font-lock-type-face' to `error'.
11022
11023 * battery.el (battery-update): Use the face `error' instead of
11024 `font-lock-warning-face' (bug#6117).
11025
6a93965e
JL
110262011-08-24 Juri Linkov <juri@jurta.org>
11027
11028 * faces.el (success): Change face color from "Green3" to
11029 "ForestGreen" on light background (bug#9353).
11030
1ed43b09
CY
110312011-08-24 Chong Yidong <cyd@stupidchicken.com>
11032
5664fa7b
RT
11033 * window.el (quit-window): Rename from quit-restore-window.
11034 Use same arglist as old quit-window.
1ed43b09
CY
11035 (frame-auto-delete): Doc fix.
11036
11037 * view.el (view-mode-exit): Use quit-window.
11038
11dcdbb2
JL
110392011-08-24 Juri Linkov <juri@jurta.org>
11040
11041 * isearch.el (isearch-ring-adjust1): Start visiting previous
11042 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11043 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11044 for empty search string (when the last search string is reused
11045 automatically) to adjust the isearch ring to the last element and
11046 prepare the correct index for further M-p commands (bug#9185).
11047
de62b4df
KH
110482011-08-24 Kenichi Handa <handa@m17n.org>
11049
11050 * international/ucs-normalize.el: If decomposition property of
11051 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11052 nil.
11053 (nfd, nfkd): Likewise.
11054
963b492b
SM
110552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11058 from process filters aren't reliably transmitted to the surrounding
11059 accept-process-output.
11060 (mpc-proc-check): New function.
11061 (mpc-proc-sync): Use it (bug#8293)
11062
93b6b5e1
SM
110632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11066 Add compatibility functions (bug#9313).
11067
bca633fb
EZ
110682011-08-23 Eli Zaretskii <eliz@gnu.org>
11069
b177498a
EZ
11070 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11071
6df6ae42 11072 * international/uni-bidi.el: Regenerate.
bca633fb 11073
0902a04e
KH
110742011-08-23 Kenichi Handa <handa@m17n.org>
11075
11076 * international/charprop.el:
11077 * international/uni-bidi.el:
11078 * international/uni-category.el:
11079 * international/uni-combining.el:
11080 * international/uni-comment.el:
11081 * international/uni-decimal.el:
11082 * international/uni-decomposition.el:
11083 * international/uni-digit.el:
11084 * international/uni-lowercase.el:
11085 * international/uni-mirrored.el:
11086 * international/uni-name.el:
11087 * international/uni-numeric.el:
11088 * international/uni-old-name.el:
11089 * international/uni-titlecase.el:
11090 * international/uni-uppercase.el: Regenerate.
11091
3bbf23bc
MR
110922011-08-23 Martin Rudalics <rudalics@gmx.at>
11093
11094 * help.el (help-window-setup): Fix message displayed when other
11095 window is reused. (Bug#9341)
11096
b3fd59bd
SM
110972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11098
1802e444
SM
11099 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11100 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11101
b3fd59bd
SM
11102 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11103 Mark obsolete.
11104 * shell.el (shell-parse-pcomplete-arguments): New function.
11105 (shell-completion-vars): Use it instead (bug#9160).
11106
4eb61348
SM
111072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11108
867cab74
SM
11109 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11110 strings and comments (bug#9333).
11111
4eb61348
SM
11112 * emacs-lisp/debug.el (debug-arglist): New function.
11113 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11114 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11115
262a1439
JL
111162011-08-22 Juri Linkov <juri@jurta.org>
11117
56ee679c
JL
11118 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11119 Revert regexp that highlights output switches to its old
11120 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11121
262a1439
JL
11122 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11123 to check for empty output (bug#9226).
11124
f13f86fb
CY
111252011-08-22 Chong Yidong <cyd@stupidchicken.com>
11126
11127 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11128 symbol-constituent as the default, as that stops font-lock from
11129 working properly (Bug#8843).
11130
c65c9622
LMI
111312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11132
11133 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11134 `coding-system-for-*' around the process open call to avoid
11135 auth-source side effects.
e7f2c178 11136 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11137 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11138 probe hangs.
c65c9622 11139
23a8a5ab
CY
111402011-08-21 Chong Yidong <cyd@stupidchicken.com>
11141
ff98b2dd
CY
11142 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11143
23a8a5ab
CY
11144 * emacs-lisp/find-func.el (find-function-noselect): New arg
11145 lisp-only.
11146
11147 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11148 signal an error for built-in functions (Bug#6664).
11149
f5e3c598
LMI
111502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11151
11152 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11153 (smtpmail-try-auth-methods): Use it.
11154
a3f2468a
CY
111552011-08-21 Chong Yidong <cyd@stupidchicken.com>
11156
2c34e8da
CY
11157 * font-lock.el (font-lock-fontify-region)
11158 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11159 (font-lock-default-unfontify-buffer)
11160 (font-lock-default-fontify-region)
11161 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11162
b3fd59bd
SM
11163 * progmodes/compile.el (compilation-error-properties):
11164 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11165 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11166 `ant' regexp.
ee31aabc 11167
a3f2468a
CY
11168 * net/browse-url.el (browse-url-firefox): Don't call
11169 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11170
8e999f70
GM
111712011-08-20 Glenn Morris <rgm@gnu.org>
11172
c21a496a
GM
11173 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11174
59ee0542
GM
11175 * tutorial.el (tutorial--default-keys): Update some default bindings.
11176
8e999f70
GM
11177 * files.el (hack-local-variables): Fully ignore case for "mode:".
11178
e3715033
AM
111792011-08-20 Alan Mackenzie <acm@muc.de>
11180
11181 Resolve invalid use of a regexp in regexp-opt.
11182
4d61f28d
JB
11183 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11184 detection for a java annotation.
e3715033 11185
4d61f28d 11186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11187 detection for a java annotation.
11188
4d61f28d
JB
11189 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11190 handling for java.
e3715033
AM
11191 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11192
04ed2e9c
CY
111932011-08-20 Chong Yidong <cyd@stupidchicken.com>
11194
11195 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11196 (Bug#9274).
11197
826cee64
AM
111982011-08-20 Alan Mackenzie <acm@muc.de>
11199
58179cce 11200 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11201 such a construct. Mainly for when jit-lock etc. starts a chunk
11202 here.
11203
58179cce 11204 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11205 variable.
58179cce 11206 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11207 c-make-font-lock-search-function.
11208 (c-make-font-lock-search-function): Use the above function.
11209 (c-make-font-lock-context-search-function): New function.
11210 (c-cpp-matchers): Enhance the preprocessor expression case with
11211 the above function
11212 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11213 which takes an expression.
11214
11215 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11216
13009bd8
MR
112172011-08-20 Martin Rudalics <rudalics@gmx.at>
11218
11219 * window.el (display-buffer-reuse-window)
11220 (display-buffer-pop-up-window): Don't reuse or split a side
11221 window.
11222
9234ff7f
GM
112232011-08-19 Glenn Morris <rgm@gnu.org>
11224
11225 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11226 Downcase "Mode:". (Bug#9331)
9234ff7f 11227
f635daa1
CY
112282011-08-18 Chong Yidong <cyd@stupidchicken.com>
11229
11230 * international/characters.el: Add L and R categories.
11231
11232 * subr.el (bidi-string-mark-left-to-right): Rename from
11233 string-mark-left-to-right. Use category search.
11234
11235 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11236
bc987f8b
JL
112372011-08-18 Juri Linkov <juri@jurta.org>
11238
11239 * faces.el (error, warning, success): New faces with definitions
11240 copied from old default values of `font-lock-warning-face',
11241 `compilation-warning', `compilation-info' (bug#6117).
11242
11243 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11244
11245 * progmodes/compile.el (compilation-error): Inherit from `error'.
11246 (compilation-warning): Inherit from `warning'.
11247 (compilation-info): Inherit from `success'.
11248
11249 * dired.el (dired-marked): Inherit from `warning'.
11250 (dired-flagged): Inherit from `error'.
11251
57173b96
LMI
112522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11253
3e79eb87
LMI
11254 * mail/smtpmail.el (auth-source): Require to avoid problems with
11255 binding variables (bug#9298). Also clean up some unused
11256 autoloads.
11257
b3fd59bd
SM
11258 * net/network-stream.el (network-stream-open-starttls):
11259 Support using starttls.el without using gnutls-cli.
57173b96 11260
02b404de
JL
112612011-08-17 Juri Linkov <juri@jurta.org>
11262
11263 * progmodes/grep.el (rgrep): Handle the case when
11264 `grep-find-command' is a cons cell (bug#9278).
11265
8c9177f2
MR
112662011-08-17 Martin Rudalics <rudalics@gmx.at>
11267
11268 * window.el (display-buffer-pop-up-frame): Run frame creation
11269 function with BUFFER current (as special-display-popup-frame
11270 does). Reported by Drew Adams.
11271
3644a0ab
DU
112722011-08-17 Daiki Ueno <ueno@unixuser.org>
11273
11274 * epa-mail.el: Simplify GnuPG group expansion using
11275 epg-expand-group.
11276 (epa-mail-group-alist, epa-mail-group-modtime)
11277 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11278 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11279 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11280 Remove.
11281
5e617bc2 112822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11283
11284 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11285
9c4aeabf
AM
112862011-08-16 Alan Mackenzie <acm@muc.de>
11287
11288 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11289 Correct, to avoid the inside of macros.
11290
3a99bf64
RS
112912011-08-16 Richard Stallman <rms@gnu.org>
11292
04963aa8
RS
11293 * epa-mail.el: Handle GnuPG group definitions.
11294 (epa-mail-group-alist, epa-mail-group-modtime)
11295 (epa-mail-gnupg-conf-file): New variables.
11296 (epa-mail-parse-groups, epa-mail-sync-groups)
11297 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11298 (epa-mail-expand-recipients): New functions.
11299 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11300
177549d0
RS
11301 * mail/rmail.el (rmail-epa-decrypt): New command.
11302
fe38beef
RS
11303 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11304 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11305 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11306 (epa-decrypt-armor-in-region): Make error message clearer.
11307
934eacb9
SM
113082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11311 and "a2b" to "ab" for `prefix'.
11312
d024fb4e
CY
113132011-08-14 Chong Yidong <cyd@stupidchicken.com>
11314
11315 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11316 filter groups.
de148fee
CY
11317 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11318 Fourquet (Bug#8804).
d024fb4e 11319
62f1ca49
JB
113202011-08-12 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * startup.el (argi): Declare as global variable (bug#9275).
11323
9ccaaa4b
CY
113242011-08-12 Chong Yidong <cyd@stupidchicken.com>
11325
11326 * subr.el (string-mark-left-to-right): Search the entire string
11327 for RTL script, not just the terminating character. Doc fix.
11328
a3dae87a
SM
113292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11330
6cd18349
SM
11331 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11332 New function.
11333 (js--regexp-literal, js-syntax-propertize-function): Remove.
11334 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11335 (js-mode-map): Don't rebind electric keys.
11336 (js-insert-and-indent): Remove.
11337 (js-mode): Setup electric-layout and electric-indent instead.
11338
a3dae87a
SM
11339 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11340
9d5cb631
DU
113412011-08-12 Daiki Ueno <ueno@unixuser.org>
11342
11343 * epa.el (epa-progress-callback-function): Fix the logic of
11344 displaying progress.
11345 * epa-file.el (epa-file-insert-file-contents): Make progress
11346 display more user-friendly.
11347 (epa-file-write-region): Ditto.
11348
3e26a4a2
CY
113492011-08-10 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * subr.el (string-mark-left-to-right): New function.
11352
11353 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11354 Use string-mark-left-to-right.
11355 (list-buffers-noselect): Caller changed.
11356
a3dae87a
SM
11357 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11358 Use string-mark-left-to-right.
3e26a4a2
CY
11359 (tabulated-list-print): Recenter after moving point.
11360
ac8cf6e6
JL
113612011-08-10 Juri Linkov <juri@jurta.org>
11362
11363 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11364 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11365 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11366
8d96c9a4
CY
113672011-08-09 Chong Yidong <cyd@stupidchicken.com>
11368
11369 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11370 (Bug#7554).
11371
7be1c708 113722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11373
11374 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11375 character. (Bug#6594)
11376
37e11a63
CY
113772011-08-08 Chong Yidong <cyd@stupidchicken.com>
11378
839dde57
CY
11379 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11380 (image-dired--with-db-file): New macro.
11381 (image-dired-write-tags, image-dired-remove-tag)
11382 (image-dired-create-gallery-lists, image-dired-write-comments)
11383 (image-dired-get-comment, image-dired-mark-tagged-files)
11384 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11385 (image-dired-gallery-generate): Use insert-file-contents.
11386
37e11a63
CY
11387 * time.el (display-time-world-list, display-time-world-display):
11388 * time-stamp.el (time-stamp-string):
11389 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11390 set-time-zone-rule (Bug#7337).
11391
0b4946c4
DU
113922011-08-08 Daiki Ueno <ueno@unixuser.org>
11393
11394 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11395 (epg-error-to-string, epg-errors-to-string): New function.
11396 (epg-wait-for-completion): Reverse errors list.
11397 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11398 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11399 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11400 (epg-sign-keys, epg-generate-key-from-file)
11401 (epg-generate-key-from-string): Format errors by using
11402 epg-errors-to-string (bug#9255).
11403 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11404
75bfc667
JL
114052011-08-07 Juri Linkov <juri@jurta.org>
11406
11407 * faces.el (list-faces-display): Remove extra angle bracket
11408 from `help-mode-map'.
11409
11410 * info.el (Info-history-toc-nodes): Doc fix.
11411
11412 * longlines.el (longlines-mode): Doc fix.
11413
673e08bb
SM
114142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11415
4640dd88
SM
11416 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11417 of statements and in a few more cases (bug#9183).
11418
673e08bb
SM
11419 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11420 New functions.
11421 (cl-transform-lambda): Use them (bug#9239).
11422
89b3f019
MR
114232011-08-05 Martin Rudalics <rudalics@gmx.at>
11424
11425 * window.el (display-buffer-same-window)
11426 (display-buffer-same-frame, display-buffer-other-window)
11427 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11428 (pop-to-buffer-other-window)
11429 (pop-to-buffer-same-frame-other-window)
11430 (pop-to-buffer-other-frame): Make them defuns.
11431 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11432
640c8776
SM
114332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * subr.el (make-composed-keymap): Move from C. Change calling
11436 convention, and improve docstring to bring attention to a subtle point.
11437 * minibuffer.el (completing-read-default): Adjust accordingly.
11438
63648a95
MA
114392011-08-03 Michael Albinus <michael.albinus@gmx.de>
11440
11441 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11442 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11443
11444 * net/trampver.el: Update release number.
11445
b796c9b7
SM
114462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11449 "in" (bug#9190).
11450
2239d7d5
LMI
114512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11452
e07dd7c3
LMI
11453 * mail/sendmail.el (sendmail-query-once): Restore the current
11454 buffer after querying (bug#9074).
11455
0e6a2bd7
LMI
11456 * dired.el (dired-flagged): Use different faces for marked and
11457 flagged files (bug#6117).
11458
ce887515
LMI
11459 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11460 (bug#4433).
11461
92f2affc
LMI
11462 * ido.el (ido-mode): Switch off the message if called
11463 non-interactively.
11464
57d5aff0
LMI
11465 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11466 before 587, since it appears that that's more likely to work for
11467 more people.
11468
98cd6c18 11469 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11470 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11471 exist.
11472
b96dec83
LMI
11473 * info.el: Remove the `Info-beginning-of-buffer' function
11474 (bug#8325).
11475
b796c9b7
SM
11476 * net/network-stream.el (network-stream-open-starttls):
11477 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11478
d90e2ea0
MR
114792011-08-01 Martin Rudalics <rudalics@gmx.at>
11480
11481 * window.el (display-buffer-in-window): Don't set dedicated status
11482 of window here (Bug#9215).
11483 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11484 (display-buffer-pop-up-side-window)
b796c9b7 11485 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11486
cca09170
SM
114872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11490 before binding generated-autoload-file.
11491
027b979c
DD
114922011-08-01 Deniz Dogan <deniz@dogan.se>
11493
11494 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11495
3c7ee4f3
MA
114962011-07-30 Michael Albinus <michael.albinus@gmx.de>
11497
11498 Sync with Tramp 2.2.2.
11499
11500 * net/trampver.el: Update release number.
11501
2cc8e51a
JL
115022011-07-30 Juri Linkov <juri@jurta.org>
11503
11504 * dired-aux.el (dired-touch-initial): Remove function.
11505 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11506 current time, and `default' to the last modification time of the
11507 current marked file (bug#6887).
11508
a514d856
JM
115092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11510
11511 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11512 numeric argument to read-number (bug#9163).
a514d856 11513
8a7eddd7
MA
115142011-07-27 Michael Albinus <michael.albinus@gmx.de>
11515
11516 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11517 connection process, it could be nil.
11518
1ddd96f5
LL
115192011-07-27 Leo Liu <sdl.web@gmail.com>
11520
11521 Simplify url handling in rcirc-mode.
11522
11523 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11524 (rcirc-browse-url-at-mouse): Remove.
11525 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11526
b248a85d
AM
115272011-07-26 Alan Mackenzie <acm@muc.de>
11528
11529 Fontify bitfield declarations properly.
11530
11531 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11532 (c-symbol-chars): Now exported as a lang variable.
11533 (c-not-primitive-type-keywords): New lang variable.
11534
11535 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11536 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11537 parsed as a bitfield declaration.
b248a85d 11538
b796c9b7
SM
11539 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11540 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11541 (c-punctuation-in): New function.
11542 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11543 declarations properly.
11544
68575ab0
UJ
115452011-07-26 Ulf Jasper <ulf.jasper@web.de>
11546
11547 * calendar/icalendar.el (icalendar--all-events): Take care of
11548 multiple vcalendars in a single file.
b796c9b7 11549 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11550
0f0a88b9
DD
115512011-07-25 Deniz Dogan <deniz@dogan.se>
11552
11553 * image.el (insert-image): Clarifying docstring.
11554
0b3f36df
MA
115552011-07-24 Michael Albinus <michael.albinus@gmx.de>
11556
11557 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11558 `tramp-send-command-and-check' if there is no error.
11559 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11560
a9901f61
AM
115612011-07-22 Alan Mackenzie <acm@muc.de>
11562
11563 Prevent cc-langs.elc being loaded at run time.
11564
11565 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11566 cc-langs.
11567
4d61f28d 11568 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11569 "(require 'cc-langs)". Quote a form so it will evaluate at
11570 (cc-mode's) compilation time.
11571
11d074b2
MA
115722011-07-22 Michael Albinus <michael.albinus@gmx.de>
11573
11574 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11575 loading. (Bug#9114)
11576
938b94c8
MR
115772011-07-21 Martin Rudalics <rudalics@gmx.at>
11578
11579 * window.el (display-buffer-pop-up-window)
11580 (display-buffer-pop-up-side-window)
11581 (display-buffer-in-side-window): Call display-buffer-set-height
11582 and display-buffer-set-width after setting the new window's
b796c9b7 11583 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11584
bfa4f190
SS
115852011-07-20 Sam Steingold <sds@gnu.org>
11586
11587 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11588 (etags-tags-included-tables): Call `convert-standard-filename' on
11589 the file names contained in TAGS so that windows Emacs can handle
11590 TAGS files created by cygwin ctags.
11591
8ca42262
LMI
115922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11593
11594 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11595 which apparently didn't work.
11596
5db2afd2 115972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11598
5db2afd2
RW
11599 * proced.el (proced-send-signal): For *Marked Processes* buffer
11600 put point at beginning of buffer.
11601
92e15d10
SB
116022011-07-19 Stephen Berman <stephen.berman@gmx.net>
11603
11604 * proced.el (proced-format): Make header lines align with the text
11605 (bug#1779).
11606
1bfd59e5
LMI
116072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11608
11609 * view.el (view-buffer): Allow running in `special' modes if we're
11610 visiting a file (bug#8615).
11611
f5aae37c
MR
116122011-07-19 Martin Rudalics <rudalics@gmx.at>
11613
11614 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11615 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11616 New functions.
f5aae37c
MR
11617 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11618 more accurately.
11619
bf2c1571
AM
116202011-07-18 Alan Mackenzie <acm@muc.de>
11621
11622 Fontify declarators properly when, e.g., a jit-lock chunk begins
11623 inside a declaration.
11624
11625 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11626
b796c9b7
SM
11627 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11628 New function.
bf2c1571
AM
11629 (c-complex-decl-matchers): Insert reference to
11630 c-font-lock-enclosing-decls.
11631
11632 * progmodes/cc-engine.el (c-backward-single-comment):
11633 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11634 to nil around calls to (forward-comment -1).
11635
4e190b80
LMI
116362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637
12dc863d
LMI
11638 * image.el (put-image): Doc typo fix.
11639
a762e966
LMI
11640 * progmodes/etags.el (tags-search): Doc typo fix.
11641
4e190b80
LMI
11642 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11643 password if we get errors 550 to 554.
11644
f019fb21
LMI
116452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
b796c9b7 11647 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11648
81746738
LMI
11649 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11650 indentation character (bug#6380).
11651
3ee3a1b5
LMI
11652 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11653
c82f64de
LMI
11654 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11655 to clarify what the problem is (bug#4291).
11656
f019fb21
LMI
11657 * simple.el (current-kill): Clarify what
11658 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11659 (auto-fill-mode): Document `auto-fill-function' in relation to
11660 `auto-fill-mode' (bug#2470).
f019fb21 11661
0794775d
LM
116622011-07-16 Lawrence Mitchell <wence@gmx.li>
11663
11664 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11665 method if slot is read-only (bug#9035).
11666
be39b8cc
MR
116672011-07-16 Martin Rudalics <rudalics@gmx.at>
11668
b796c9b7 11669 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11670 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11671 selected before, see discussion of (Bug#8615), (Bug#6954).
11672 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11673
6ccf7859
GM
116742011-07-15 Glenn Morris <rgm@gnu.org>
11675
11676 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11677 Respect help-form.
6ccf7859 11678
87e86684
LM
116792011-07-09 Lawrence Mitchell <wence@gmx.li>
11680
11681 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11682 (gnutls-negotiate): Use it.
11683
d6066239
LMI
116842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11685
b796c9b7
SM
11686 * net/gnutls.el (gnutls-negotiate):
11687 Upcase `gnutls-algorithm-priority'.
d6066239 11688
bd23ebc0
GM
116892011-07-15 Glenn Morris <rgm@gnu.org>
11690
c65bca65
GM
11691 * jka-compr.el (jka-compr-verbose): Move from here...
11692 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11693 Add missing :version tag.
11694 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11695
478615cc
LMI
116962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11697
7b41decb
LMI
11698 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11699 (gnutls-negotiate): Use it.
11700
dbc44fcd
LMI
11701 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11702
06789f97
LMI
11703 * info.el (Info-beginning-of-buffer): New command.
11704 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11705 announcing `b' as the key (bug#8325).
ab896c37 11706 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11707
c39da690
LMI
11708 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11709
3aa5f34b
LMI
11710 * international/mule-cmds.el
11711 (describe-specified-language-support): Make the error message
11712 clearer (bug#8905).
11713
4bf0979f
LMI
11714 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11715
478615cc
LMI
11716 * isearch.el (isearch-barrier): Add a doc string, since it's
11717 mentioned in a function doc string (bug#8678).
11718
75c68aa1
MR
117192011-07-15 Martin Rudalics <rudalics@gmx.at>
11720
11721 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11722 buffer argument (Bug#9083) and self-identifying label argument.
11723
a7c33da2
GM
117242011-07-15 Glenn Morris <rgm@gnu.org>
11725
11726 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11727
2f5c6024
LMI
117282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11729
11730 * man.el (Man-fontify-manpage): Fix message when formatting the
11731 man page (bug#7929).
11732
0bb23927 117332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11734
11735 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11736 argument LRM; if non-nil, append an invisible LRM character to the
11737 buffer name.
11738 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11739 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11740 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11741 paragraph direction.
cce4b0a7 11742
621ef9ab
LMI
117432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11744
d1583c48
LMI
11745 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11746 the man page name (bug#7929).
11747
6a57fb5f
LMI
11748 * image.el (put-image): Mention the `put-image' overlay property
11749 (bug#7834).
11750
d7956b14
LMI
11751 * scroll-bar.el (set-scroll-bar-mode): Mention that
11752 `scroll-bar-mode' lists the values (bug#7772).
11753
5b2d4a66
LMI
11754 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11755 command (bug#7729).
11756
7509a874
LMI
11757 * rect.el (apply-on-rectangle): Return the point after the last
11758 operation.
11759 (string-rectangle): Go to the point after the last operation
11760 (bug#7522).
11761
4fe74b19
LMI
11762 * printing.el (pr-toggle-region): Clarify the documentation
11763 slightly (bug#7493).
11764
b796c9b7
SM
11765 * time.el (display-time-update):
11766 Allow `display-time-mail-function' to return nil (bug#7158).
11767 Fix suggested by Detlev Zundel.
ab283561 11768
fc233c9d
LMI
11769 * vc/diff.el (diff): Clarify the order the file names are read
11770 (bug#7111).
11771
43f5740b
LMI
11772 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11773 the doc string (bug#7015).
11774
f2182a76
LMI
11775 * font-lock.el (font-lock-maximum-decoration): Mention what
11776 numeric levels mean (bug#6935).
11777
621ef9ab
LMI
11778 * startup.el (initial-buffer-choice): Don't mention the `none'
11779 selection, which is against policy.
11780
adc47434
MR
117812011-07-14 Martin Rudalics <rudalics@gmx.at>
11782
b796c9b7
SM
11783 * window.el (display-buffer-normalize-special):
11784 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11785
7e5bfb8f
EZ
117862011-07-14 Eli Zaretskii <eliz@gnu.org>
11787
11788 * subr.el (version<, version<=, version=): Mention "-CVS" and
11789 "-12345" alpha version numbers.
11790
27fa387a
CY
117912011-07-14 Chong Yidong <cyd@stupidchicken.com>
11792
11793 * bindings.el: Add advertised binding for set-mark-command
11794 (Bug#5772).
11795
8bdfa064
CY
117962011-07-14 Chong Yidong <cyd@stupidchicken.com>
11797
11798 * bindings.el (mode-line-other-buffer):
11799 * bookmark.el (bookmark-bmenu-2-window):
11800 * bs.el (bs-cycle-next, bs-cycle-previous):
11801 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11802 switch-to-buffer.
11803
11804 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11805 Delete.
8bdfa064 11806
5eba16a3
JB
118072011-07-14 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * follow.el (follow-debug-message, follow-redisplay):
11810 * jka-cmpr-hook.el (with-auto-compression-mode):
11811 Fix typos in docstrings.
11812
15853710
LMI
118132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11814
a28e4607
LMI
11815 * subr.el (with-silent-modifications): Clarify somewhat what the
11816 macro inhibits (bug#6525).
11817
15853710
LMI
11818 * simple.el (eval-expression): Note what it does if called
11819 interactively (bug#6495).
11820
bee0fcef
CY
118212011-07-13 Chong Yidong <cyd@stupidchicken.com>
11822
b796c9b7
SM
11823 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11824 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11825
11826 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11827 Remove switch-to-buffer.
11828
58274504
LMI
118292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830
bd2fcc8d
LMI
11831 * files.el (make-directory): Clarify that an error will be raised
11832 if there's an error (bug#6397).
11833
0f04b32c
LMI
11834 * startup.el (initial-buffer-choice): Add `none' as a choice
11835 (bug#6234).
11836
465c5fc8
LMI
11837 * subr.el (add-hook): Clarify section about buffer-local hooks
11838 (bug#6218).
11839
58274504
LMI
11840 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11841
bead9a43
JB
118422011-07-13 Juanma Barranquero <lekktu@gmail.com>
11843
11844 * tabify.el (untabify): Preserve the current column so that point
11845 doesn't move (bug#6032).
11846
3af98a7b
LMI
118472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
b796c9b7
SM
11849 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11850 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11851
6240145a
GM
118522011-07-13 Glenn Morris <rgm@gnu.org>
11853
11854 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11855 (dired-insert-directory): Give a message the first time
11856 if ls is found not to support --dired.
11857
1d8c2ccc
LMI
118582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11859
11860 * simple.el (toggle-truncate-lines): Clarify what is toggled
11861 (bug#5580). Text by Drew Adams.
11862
5fc4038e
CY
118632011-07-13 Chong Yidong <cyd@stupidchicken.com>
11864
11865 * simple.el (blink-matching-open): Make the error message from the
11866 last change less verbose.
11867
bf6012e5
DN
118682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11869
11870 * font-lock.el (font-lock-comment-face): Use the high contrast
11871 "yellow" color for font-lock-comment-face on low color terminals
11872 using a dark background color (bug#4221).
11873
343c3b5a
LMI
118742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11875
7e9505c5
LMI
11876 * dired.el (dired-insert-set-properties): Make the doc string
11877 reflect what it does now (bug#5325).
11878
c26fdcf5
LMI
11879 * simple.el (blink-matching-open): Say that we were unable to find
11880 the match within the limit, if we're limited (bug#5122).
11881
bb388cc5
LMI
11882 * international/mule-cmds.el (prefer-coding-system): Add an
11883 example (bug#4869).
11884
343c3b5a
LMI
11885 * progmodes/etags.el (tags-search): Document `file-list-form'
11886 (bug#4731).
11887
2a517d45
LM
118882011-07-13 Lawrence Mitchell <wence@gmx.li>
11889
11890 * net/browse-url.el (browse-url-default-browser)
11891 (browse-url-browser-function): Make the default browser choice a
11892 bit more logical (bug#4300). Also clean up the doc string.
11893
b6c78ef2
JB
118942011-07-13 Juanma Barranquero <lekktu@gmail.com>
11895
11896 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11897 binary endings (bug#4440).
11898
1c4dd947
LMI
118992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11900
a2014063
LMI
11901 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11902 which can be pretty annoying (bug#8971).
11903
9c9c2d88
LMI
11904 * jka-compr.el (jka-compr-verbose): New variable, and use
11905 throughout (bug#8971).
11906
1c4dd947
LMI
11907 * info.el (Info-find-file): Fall back on the installation
11908 directory if we can't find the info node anywhere else.
11909
a1c9f41b
SO
119102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11911
11912 * vc/vc.el (vc-revert-file):
11913 Don't set file time-stamp in the past. (Bug#5181)
11914
536f3d36
LMI
119152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11916
7152b011
LMI
11917 * files.el (after-find-file): Give a better error message when
11918 trying to find a symlink that points to a file that doesn't exist
11919 (bug#4398).
11920
536f3d36
LMI
11921 * progmodes/cc-vars.el: Remove (probably) misleading comment
11922 (bug#4396).
11923
460c0fba
JB
119242011-07-12 Johan Bockgård <bojohan@gnu.org>
11925
11926 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11927
7a6bda45
CY
119282011-07-12 Chong Yidong <cyd@stupidchicken.com>
11929
11930 * mouse-sel.el: Hack restoring functionality, while keeping
11931 compatibility with 2010-07-03 changes to mouse selection.
11932 (mouse-sel-primary-overlay): New var.
11933 (mouse-sel-selection-alist): Use it.
11934 (mouse-sel-mode): Doc fix; remove points that are default features
11935 of mouse.el.
11936
c79598ef
JB
119372011-07-12 Johan Bockgård <bojohan@gnu.org>
11938
11939 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11940 Fix previous fix (bug#2490).
11941
ff8be6ef
RW
119422011-07-12 Roland Winkler <winkler@gnu.org>
11943
b796c9b7
SM
11944 * textmodes/bibtex.el (bibtex-initialize):
11945 Use pop-to-buffer-same-window.
ff8be6ef
RW
11946 (bibtex-search-entries): Fix interactive call.
11947
296ba3ee
LMI
119482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11949
f5242a02 11950 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11951 Fontise bytecomp Error lines more correctly (bug#2490).
11952 Fix suggested by Johan Bockgård.
f5242a02 11953
296ba3ee
LMI
11954 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11955
11956 * dired-x.el (dired-guess-default): Use `delete-dups'.
11957
f69fd0d2
CY
119582011-07-12 Chong Yidong <cyd@stupidchicken.com>
11959
11960 * dired.el (dired-mark-prompt):
11961 * dired-aux.el (dired-read-shell-command): Doc fix.
11962
eab5dc07
LMI
119632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
b796c9b7
SM
11965 * mail/sendmail.el (sendmail-query-once):
11966 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11967 emacs -Q.
11968
11969 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11970
eab5dc07
LMI
11971 * cus-edit.el (custom-file): Take an optional no-error variable.
11972 (customize-save-variable): Set the variable, and give a warning if
11973 running under "emacs -q".
11974
a1e65d42
JB
119752011-07-11 Juanma Barranquero <lekktu@gmail.com>
11976
11977 * loadhist.el (unload-feature-special-hooks):
11978 Add `auto-coding-functions', `fill-nobreak-predicate' and
11979 `find-directory-functions' (bug#5327).
11980
1d52da10
LMI
119812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982
be958f1d
LMI
11983 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11984
5bedb26c
LMI
11985 * cus-edit.el (custom-guess-name-alist): -alist variables should
11986 use the `alist' type (bug#3120). Suggested by Drew Adams.
11987
1d52da10
LMI
11988 * printing.el: Add documentation to all the `pr-toggle-' commands.
11989
cd394be1 119902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11991
11992 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11993 backends where it makes sense (bug#2623).
11994
dcc88d8a
LMI
119952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
c3de9feb
LMI
11997 * dired-x.el (dired-guess-default): Remove duplicate shell command
11998 entries (bug#2028).
8a93078b 11999 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12000 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12001
dcc88d8a
LMI
12002 * subr.el (remove-duplicates): New conveniency function.
12003
505e3645
LMI
120042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12005
12006 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12007 (bug#1526).
12008
120092011-07-10 Martin Rudalics <rudalics@gmx.at>
12010
12011 * window.el (display-buffer-normalize-default): Don't invert
12012 meaning of even-window-heights. Reported by Eli Zaretskii
12013 <eliz@gnu.org>.
12014
455e4fa1
BR
120152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12016
12017 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12018
8e0bc3e9
CY
120192011-07-10 Chong Yidong <cyd@stupidchicken.com>
12020
12021 * window.el (display-buffer): Fix arguments to
12022 display-buffer-reuse-window in last change.
12023
fa7c3228
CY
12024 * faces.el (link): Use a less saturated blue on light backgrounds.
12025
12026 * startup.el (fancy-startup-text, fancy-about-text)
12027 (fancy-startup-tail): Use font-lock faces, for background safety.
12028
c0a7f300
BN
120292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12030
b796c9b7
SM
12031 * emulation/viper-cmd.el (viper-change-state-to-vi):
12032 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12033
4dc2a129
MR
120342011-07-09 Martin Rudalics <rudalics@gmx.at>
12035
12036 * window.el (display-buffer-default-specifiers): Remove.
12037 (display-buffer-macro-specifiers): Remove default specifiers.
12038 (display-buffer-alist): Default to nil.
b796c9b7 12039 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12040 (display-buffer-pop-up-window): Allow splitting internal
12041 windows. Check whether a live window was created.
12042 (display-buffer-other-window-means-other-frame)
12043 (display-buffer-normalize-arguments): Rename to
12044 display-buffer-normalize-argument and rewrite. Set the
12045 other-window specifier.
12046 (display-buffer-normalize-special): New function.
12047 (display-buffer-normalize-options): Rename to
12048 display-buffer-normalize-default and rewrite.
12049 (display-buffer-normalize-options-inhibit): Remove.
12050 (display-buffer-normalize-specifiers): Rewrite.
12051 (display-buffer): Process other-window specifier and call
12052 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12053 more faithfully.
b796c9b7 12054 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12055 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12056 (display-buffer-in-window, display-buffer-alist-set):
12057 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12058 <tassilo@member.fsf.org>.
12059
2d43b8c9
LL
120602011-07-09 Leo Liu <sdl.web@gmail.com>
12061
12062 * register.el (insert-register): Restore accidental change on
12063 2011-06-26. (Bug#9028)
12064
7f9b7c53
GM
120652011-07-09 Glenn Morris <rgm@gnu.org>
12066
12067 * subr.el (remq): Handle the empty list. (Bug#9024)
12068
f042cfd8
AS
120692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12070
12071 * mail/sendmail.el (send-mail-function): No longer delay custom
12072 initialization.
12073 * custom.el (custom-initialize-delay): Doc fix.
12074
856b2f11
SM
120752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12078
afae1d68
MA
120792011-07-08 Michael Albinus <michael.albinus@gmx.de>
12080
12081 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12082 human-friendly prompt.
12083
0757af94
SM
120842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12087 provided by a particular plugin.
12088
d760b731
LMI
120892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12090
12091 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12092 save customizations (with "emacs -Q"), just set the variable
12093 instead of erroring out.
12094
12095 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12096
cd79ce90
JL
120972011-07-08 Juri Linkov <juri@jurta.org>
12098
12099 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12100 (archive-zip-update-case): Use 7z if found by `executable-find'.
12101 The order of searching the available programs is the same as in
12102 `archive-zip-extract' (bug#8968).
12103
14cc04aa
CY
121042011-07-07 Chong Yidong <cyd@stupidchicken.com>
12105
12106 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12107 (menu-bar-options-menu): Tweak descriptions.
12108
0a1848ec
LMI
121092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110
12111 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12112 menu items into verb phrases (bug#1421). Also refill to fit under
12113 80 columns.
12114
f5bd0689
CY
121152011-07-07 Chong Yidong <cyd@stupidchicken.com>
12116
538e85c6
CY
12117 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12118 (Info-read-node-name): Doc fix (Bug#1084).
12119
f5bd0689
CY
12120 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12121 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12122 (end-of-sexp, beginning-of-sexp)
12123 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12124 (forward-symbol, forward-same-syntax, word-at-point)
12125 (sentence-at-point): Doc fix (Bug#1144).
12126
56ec5115
LMI
121272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12128
f3f8e37f
LMI
12129 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12130 should cover it (bug#1281).
12131
0757af94 12132 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12133
e9fce1ac 12134 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12135 negotiation fails, then possibly try again with a non-encrypted
12136 connection (bug#9017).
12137
56ec5115
LMI
12138 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12139 be used.
12140
c2f9aec8
RS
121412011-07-07 Richard Stallman <rms@gnu.org>
12142
12143 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12144 property, and handle its changed format.
12145 Look for the correct line number.
12146 Use file's line contents (but not past first =) to find
12147 correct line in message.
12148
ef7b981d 121492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12150
12151 * international/characters.el (build-unicode-category-table):
12152 Delete it.
0757af94 12153 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12154
0757af94 12155 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12156 to src/chartab.c.
12157 (get-char-code-property): Call unicode-property-table-internal to
12158 load a file. Call get-unicode-property-internal where necessary.
12159 (put-char-code-property): Call unicode-property-table-internal to
12160 load a file. Call put-unicode-property-internal where necessary.
12161 put-unicode-property-internal where necessary.
0757af94
SM
12162 (char-code-property-description):
12163 Call unicode-property-table-internal to load a file.
c805dec0
KH
12164
12165 * international/charprop.el:
12166 * international/uni-bidi.el:
12167 * international/uni-category.el:
12168 * international/uni-combining.el:
12169 * international/uni-comment.el:
12170 * international/uni-decimal.el:
12171 * international/uni-decomposition.el:
12172 * international/uni-digit.el:
12173 * international/uni-lowercase.el:
12174 * international/uni-mirrored.el:
12175 * international/uni-name.el:
12176 * international/uni-numeric.el:
12177 * international/uni-old-name.el:
12178 * international/uni-titlecase.el:
12179 * international/uni-uppercase.el: Regenerate.
12180
12181 * loadup.el: Load international/charprop.el before
12182 international/characters.
12183
e14b388a
CY
121842011-07-07 Chong Yidong <cyd@stupidchicken.com>
12185
12186 * window.el (next-buffer, previous-buffer): Signal an error if
12187 called from a minibuffer window.
12188
12189 * bindings.el: Revert 2011-07-04 change.
12190
354cf0ba
RS
121912011-07-06 Richard Stallman <rms@gnu.org>
12192
12193 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12194 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12195 Treat markers like ints.
12196 (rmail-mime-entity): Doc fix.
12197
a48868a7
LMI
121982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12199
4906cd3d
LMI
12200 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12201 defcustom again for backwards compatibility.
12202
e0457abe
LMI
12203 * simple.el (shell-command-on-region): Fill.
12204
d67f7e1f
LMI
12205 * dired-aux.el (dired-kill-line): Add a doc string.
12206
fe204702
LMI
12207 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12208 to "\\sw\\|\\s_" (bug#358).
12209
a48868a7
LMI
12210 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12211 (dired-unmark-backward): Ditto.
12212 (dired-flag-backup-files): Ditto.
12213
12214 * dired-x.el (dired-mark-sexp): Ditto.
12215
aa8a705c
RS
122162011-07-06 Richard Stallman <rms@gnu.org>
12217
12218 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12219 (rmail-mime-entity): New arg TRUNCATED.
12220 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12221 New functions.
12222 (rmail-mime-save): Warn if entity is truncated.
12223 (rmail-mime-toggle-hidden): Likewise, for showing.
12224 (rmail-mime-process-multipart): Record when an entity is truncated.
12225
a9a936b9
RS
12226 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12227 if ENTITY is a string.
12228
1f2b92cb
LMI
122292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12230
f4f73198 12231 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12232 of faces when `M-C-x'-ing their definitions (bug#8378).
12233 Also clean up the code slightly.
f4f73198 12234
12b16734 12235 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12236 because that makes the colors go away.
12b16734 12237
f0691d22
LMI
12238 * mail/sendmail.el (send-mail-function): Change the default to
12239 `sendmail-query-once'.
9e87df06 12240 (sendmail-query-once): Add an autoload cookie.
f0691d22 12241
1f2b92cb
LMI
12242 * net/network-stream.el (network-stream-open-starttls): Try using
12243 a plain connection even if the server offered STARTTLS, and we
12244 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12245 capability. This should make smtpmail.el work in slightly more
12246 configurations.
12247
1cdd2a1b
MA
122482011-07-06 Michael Albinus <michael.albinus@gmx.de>
12249
12250 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12251 New defun.
12252 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12253
fbcc67e2
MM
122542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12255
12256 * progmodes/sql.el: Version 3.0
0757af94 12257 (sql-product-alist): Add product :completion-object,
fbcc67e2 12258 :completion-column, and :statement attributes.
0757af94 12259 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12260 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12261 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12262 ansi keywords.
12263 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12264 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12265 (sql-oracle-show-reserved-words): New function for development.
12266 (sql-product-font-lock): Simplify for source code buffers.
12267 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12268 New functions.
12269 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12270 (sql-mode-map): Add statement movement functions.
12271 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12272 New variable.
fbcc67e2
MM
12273 (sql-statement-regexp, sql-beginning-of-statement)
12274 (sql-end-of-statement, sql-signum): New functions.
0757af94 12275 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12276 (sql-show-sqli-buffer): Bug fix.
12277 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12278 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12279 with sql-interactive-mode.
12280 (sql-save-connection): Save buffer local settings.
0757af94 12281 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12282 (sql-product-interactive): Bug fix.
12283 (sql-preoutput-hold): New variable.
12284 (sql-interactive-remove-continuation-prompt): Bug fixes.
12285 (sql-debug-redirect): New variable.
12286 (sql-str-literal): New function.
12287 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12288 Redesign.
fbcc67e2
MM
12289 (sql-oracle-save-settings, sql-oracle-restore-settings)
12290 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12291 (sql-completion-object, sql-completion-column)
12292 (sql-completion-sqlbuf): New variables.
12293 (sql-build-completions-1, sql-build-completions)
12294 (sql-try-completion): New functions.
12295 (sql-read-table-name): Use them.
12296 (sql-contains-names): New buffer local variable.
12297 (sql-list-all, sql-list-table): Use it.
12298 (sql-oracle-completion-types): New variable.
12299 (sql-oracle-completion-object, sql-sqlite-completion-object)
12300 (sql-postgres-completion-object): New functions.
12301
d4eaeab1
GM
123022011-07-06 Glenn Morris <rgm@gnu.org>
12303
12304 * window.el (pop-to-buffer): Doc fix.
12305
322b7dab 123062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12307
12308 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12309
322b7dab 123102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12311
322b7dab 12312 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12313
322b7dab 12314 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12315
605dd5bf
CY
123162011-07-05 Chong Yidong <cyd@stupidchicken.com>
12317
12318 * button.el (button): Inherit from link face. Suggested by Dan
12319 Nicolaescu.
12320
7dbfa719
SM
123212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12322
3db614b0
SM
12323 * progmodes/gdb-mi.el: Fit in 80 columns.
12324 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12325 switch-to-buffer.
12326
7dbfa719
SM
12327 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12328 if imenu is simply not configured (bug#8941).
12329
919d884a
KM
123302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12331
12332 * allout.el (allout-post-undo-hook): New allout outline-change
12333 event hook to signal undo activity.
12334 (allout-post-command-business): Run allout-post-undo-hook if an
12335 undo just occurred.
7dbfa719
SM
12336 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12337 * allout-widgets.el (allout-widgets-after-undo-function):
12338 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12339 in the vicinity of an undo.
12340 (allout-widgets-mode): Include allout-widgets-after-undo-function
12341 on the new allout-post-undo-hook.
12342
450a0f09
SM
123432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12344
12345 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12346 Let define-derived-mode define it.
12347 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12348 cycles of abbrev-table inheritance (bug#8998).
12349
2de69e00
RW
123502011-07-05 Roland Winkler <winkler@gnu.org>
12351
12352 * textmodes/bibtex.el: Add support for biblatex.
12353 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12354 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12355 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12356 (bibtex-entry-alist, bibtex-field-alist): New variables.
12357 (bibtex-entry-field-alist): Obsolete alias for
12358 bibtex-BibTeX-entry-alist.
12359 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12360 (bibtex-set-dialect): New command.
12361 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12362 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12363 Bind via bibtex-set-dialect.
2de69e00
RW
12364 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12365 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12366 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12367 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12368 Define via bibtex-set-dialect.
450a0f09
SM
12369 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12370 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12371 (bibtex-vec-push, bibtex-vec-incr): New functions.
12372 (bibtex-format-entry, bibtex-field-list)
12373 (bibtex-print-help-message, bibtex-validate)
12374 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12375
2dcdbdd9
SM
123762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * progmodes/compile.el (compilation-goto-locus):
12379 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12380 * bs.el (bs-cycle-next, bs-cycle-previous):
12381 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12382 * bindings.el (mode-line-other-buffer):
12383 * autoinsert.el (auto-insert):
12384 * arc-mode.el (archive-extract):
12385 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12386
b27640fe
JB
123872011-07-05 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12390 Fix check of `emacs-lock-unlockable-modes'.
12391 Coerce true values of `emacs-lock--try-unlocking' to t.
12392
53bbe3ad
JB
123932011-07-05 Juanma Barranquero <lekktu@gmail.com>
12394
12395 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12396 * emacs-lock.el: New file.
12397
1d3cdbc7
JD
123982011-07-05 Julien Danjou <julien@danjou.info>
12399
12400 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12401 than `boundp' to check if face is set.
12402
9173deec
JB
124032011-07-05 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * register.el (registerv-make):
12406 * window.el (window-min-height): Fix typos in docstrings.
12407
869795d6
JD
124082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12409
9173deec 12410 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12411 Update doc string.
12412
b768cdcd
JB
124132011-07-04 Juanma Barranquero <lekktu@gmail.com>
12414
12415 * server.el (server-execute): Catch quit and call
12416 `server-return-error' to pass the error back to emacsclient and
12417 close the connection (bug#8942).
12418
13aa217b
KM
124192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12420
12421 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12422 insecure exception for current topic. Also note that auto-saves
12423 are handled differently.
12424
5d3385a0 12425 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12426 State variables for tracking auto-save inhibition situation.
12427
12428 (allout-write-contents-hook-handler): Rename from
12429 'allout-write-file-hook-handler', and describe how it depends on
12430 write-contents-functions sensitivity to non-nil value to prevent
12431 file write.
12432
12433 (allout-auto-save-hook-handler): Remove. auto-save does not check
12434 this in individual buffers, only in the starting buffer, so this
12435 is not the right way for us to inhibit auto-save in a buffer
12436 according to its condition.
12437
12438 (allout-mode): Use new allout-write-contents-hook-handler, and
12439 only with write-contents-functions. Remove auto-save provisions -
12440 they're implemented elsewhere.
12441
12442 (allout-before-change-handler): If undo is in progress, note that
12443 for attention of allout-post-command-business.
12444
12445 (allout-post-command-business): If the command we're following was
12446 an undo, check for change in the status of encrypted items and
12447 adjust auto-save inhibitions accordingly.
12448
12449 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12450 according to whether there are or aren't any plain-text topics
12451 pending encryption.
12452
2dcdbdd9 12453 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12454 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12455 if there are plain-text topics pending encryption.
13aa217b
KM
12456
12457 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12458 buffer-saved-size and some allout state to not inhibit auto-saves
12459 if there are no longer any plain-text topics pending encryption.
12460
0757af94
SM
12461 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12462 No longer provide for exemption of the current topic.
13aa217b 12463
ac89b32c
JL
124642011-07-04 Juri Linkov <juri@jurta.org>
12465
12466 Add 7z operations to delete and save changed members (bug#8968).
12467 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12468 New defcustoms.
12469 (archive-7z-write-file-member): New function.
12470 (archive-7z-summarize): Fix the number of dashes in the
12471 listing output.
12472
8fa39615
SM
124732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12476 (bug#8958).
12477
2f11b3f1
CY
124782011-07-04 Chong Yidong <cyd@stupidchicken.com>
12479
d66fef2b
CY
12480 * bindings.el: Ignore next-buffer and previous-buffer in
12481 minibuffer-local-map.
12482
2f11b3f1
CY
12483 * font-lock.el (font-lock-builtin-face): Change light background
12484 color to dark slate blue (Bug#6693).
12485
f932a347
WD
124862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12487
12488 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12489
c8af70e1
SM
124902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12494 Add switch-to-buffer.
12495
f158badc
LMI
124962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12497
12498 * isearch.el (isearch-search-fun-function): Clarify further the
12499 meaning of the function returned.
12500
6d95bd46
MA
125012011-07-04 Michael Albinus <michael.albinus@gmx.de>
12502
12503 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12504
12505 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12506 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12507 Use it.
12508 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12509 `tramp-default-remote-path' does not exist.
12510 (tramp-send-command-and-read): New optional argument NOERROR.
12511 (tramp-open-connection-setup-interactive-shell)
12512 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12513 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12514 (tramp-process-sentinel): Flush also process' connection property.
12515 (tramp-sh-handle-start-file-process): Do not set process
12516 sentinel. It is done now ...
12517 (tramp-maybe-open-connection): ... here. (Bug#8929)
12518
909e6b67
MK
125192011-07-04 MON KEY <monkey@sandpframing.com>
12520
12521 * play/animate.el (animate-string): Doc fixes and allow changing
12522 the buffer name (bug#5417).
12523
125242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12525
c8af70e1 12526 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12527
f34755dc
PE
125282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12529
396cec72
PE
12530 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12531 This is simpler and helps future-proof the code.
12532 (timer-until): Use time-subtract and float-time.
08235028 12533 (timer--time-less-p): Use time-less-p.
f34755dc 12534
56e6cc31
JB
125352011-07-04 Juanma Barranquero <lekktu@gmail.com>
12536
3abb79e5
JB
12537 * type-break.el (timep): Use the value of `float-time' to avoid a
12538 byte-compiler warning.
12539
56e6cc31
JB
12540 * server.el (server-eval-and-print): Return any result, even nil.
12541
7b9430b4
PE
125422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12543
12544 * type-break.el: Accept time formats that the builtins accept.
12545 (timep, type-break-time-difference): Accept any format that
12546 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12547 This is simpler and helps future-proof the code.
12548 (type-break-time-difference): Round rather than ignoring
12549 subseconds components.
12550
3034e9e7
LMI
125512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
12553 * info.el (Info-apropos-matches): Make non-interactive, since it
12554 doesn't seem to do anything useful as a command (bug#8829).
12555
1485f4c0
CY
125562011-07-03 Chong Yidong <cyd@stupidchicken.com>
12557
12558 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12559 Move from faces.el.
1485f4c0
CY
12560 (frame-default-terminal-background): New function.
12561
12562 * custom.el (custom-push-theme): Don't record faces in `changed'
12563 theme; this doesn't work correctly for per-frame face settings.
12564 (disable-theme): Use face-set-after-frame-default to reset faces.
12565 (custom--frame-color-default): New function.
12566
9fa3dd45
LMI
125672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568
c8af70e1 12569 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12570 (bug#8769).
12571
6cbbc20c
KR
125722011-03-29 Kevin Ryde <user42@zip.com.au>
12573
12574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12575 `perl-Test2' extend to match possible "fail #N" rep count
12576 (bug#8377).
12577
c7f98048
LMI
125782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12579
65676592
LMI
12580 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12581 `smtpmail-via-smtp' now returns the error instead of nil.
12582
c7f98048
LMI
12583 * isearch.el (isearch-search-fun-function): Clarify the doc string
12584 (bug#8101).
12585
56e6cc31 125862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12587
12588 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12589 unnecessary spaces (bug#8987).
12590
2b216704
LMI
125912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592
12593 * net/network-stream.el (open-network-stream): Use the
12594 :end-of-capability command thoughout.
12595
125962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12597
12598 * net/network-stream.el (open-network-stream): Add the
12599 :end-of-capability command parameter, used by pop3.el.
12600
36adf6ce
LMI
126012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12602
1ca0da0e
LMI
12603 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12604
fc00f69c
LMI
12605 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12606 for list)" (bug#6475).
12607
28fd8759 12608 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12609 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12610 an error (bug#6297).
12611
0dd8b6da
LMI
12612 * man.el (Man-reference-regexp): Allow matching possible
12613 word-wrapped references (bug#6289).
12614
ce1438d6
LMI
12615 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12616 for consistency with the other vc buffers (bug#6197).
12617 (vc-checkin): Ditto.
12618
12619 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12620
36adf6ce
LMI
12621 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12622
e83cc1f7
LMI
126232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12624
8a20ca4c
LMI
12625 * custom.el (defcustom): Clarify that :set is only used in the
12626 Customize user interface (bug#6089).
12627
83319045
LMI
12628 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12629 associated with a file, refuse to run instead of erroring out
12630 (bug#6084).
12631
a8392169
LMI
12632 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12633 the doc string, since it appears that using `fill-column' always
12634 controls the width (bug#7845).
12635
e83cc1f7
LMI
12636 * simple.el (shell-command-on-region): Say where the error output
12637 went if `shell-command-default-error-buffer' is set (bug#6857).
12638
e47ca23b
KM
126392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12640
12641 * allout.el (allout-yank-processing): Adjust cursor position for
12642 backwards-deleted space.
12643
12644 (allout-rebullet-heading): Register changes with
12645 allout-exposure-changed-hook, so the modified topic is properly
12646 decorated.
12647
5cf56143
LMI
126482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
08549772
LMI
12650 * minibuffer.el (completion-in-region): Document PREDICATE
12651 (bug#7136).
12652
48e96771
LMI
12653 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12654 of keyword/argument pairs (bug#6904).
12655
c8af70e1
SM
12656 * replace.el (multi-occur):
12657 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12658
e17d05e2
LMI
126592011-07-02 Drew Adams <drew.adams@oracle.com>
12660
12661 * dired.el (dired-mark-if): Make the message about whether it's
12662 marking or unmarking clearer (bug#8523).
12663
063b0e45
LMI
126642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12665
12666 * disp-table.el (display-table-print-array): New function.
12667 (describe-display-table): Use it to print the vectors more pretty
12668 (Bug#8859).
12669
28545e04
MR
126702011-07-02 Martin Rudalics <rudalics@gmx.at>
12671
12672 * window.el (window-state-get-1): Don't assign clone numbers.
12673 Add clone-of item to list of window parameters.
12674 (window-state-put-2): Don't process clone numbers.
12675 (display-buffer-alist): Fix doc-string.
12676
3349e122
SM
126772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * subr.el (remq): Don't allocate if it's not needed.
12680 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12681 (keymap--merge-bindings): New functions.
12682 (keymap-canonicalize): Use them to refine the canonicalization.
12683 * minibuffer.el (minibuffer-local-completion-map)
12684 (minibuffer-local-must-match-map): Move initialization from C.
12685 (minibuffer-local-filename-completion-map): Move initialization from C;
12686 don't inherit from anything here.
12687 (minibuffer-local-filename-must-match-map): Make obsolete.
12688 (completing-read-default): Use make-composed-keymap to combine
12689 minibuffer-local-filename-completion-map with either
12690 minibuffer-local-must-match-map or
12691 minibuffer-local-filename-completion-map.
12692
d224ac83
GM
126932011-07-01 Glenn Morris <rgm@gnu.org>
12694
3de63bf8
GM
12695 * type-break.el (type-break-time-sum): Use dolist.
12696
d224ac83
GM
12697 * textmodes/flyspell.el (flyspell-word-search-backward):
12698 Replace CL function.
12699
1a1e3f32
SM
127002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12701
fe3f64d5
SM
12702 * mouse.el (mouse--strip-first-event): New function.
12703 (function-key-map): Use it to map fringe clicks to normal clicks
12704 by default.
12705
eb604e34
SM
12706 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12707 (vc-bzr-revision-completion-table): Add support for annotate and date.
12708
1a1e3f32
SM
12709 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12710 inherit from parent.
12711
5bd35902
LMI
127122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12713
ace6c69c 12714 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12715 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12716
191e2bed
LMI
12717 * dired.el (dired-mode): Fix up the doc string as suggested by
12718 Drew Adams (bug#8817).
12719
5bd35902
LMI
12720 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12721 cookie, since the manual says that it should be possible to add
12722 this function to `find-file-hook' (bug#8709).
12723
eee8207a
TZ
127242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12725
12726 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12727 here. Noted Ted Zlatanov as the maintainer.
12728 (cfengine-common-settings, cfengine-common-syntax): New functions
12729 to set up common things between `cfengine-mode' and
12730 `cfengine3-mode'.
12731 (cfengine3-mode): New mode.
12732 (cfengine3-defuns cfengine3-defuns-regex
12733 (cfengine3-class-selector-regex cfengine3-category-regex)
12734 (cfengine3-vartypes cfengine3-font-lock-keywords)
12735 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12736 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12737
36b148cf
MA
127382011-07-01 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12741
12742 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12743
0bf4ba9a
MR
127442011-07-01 Martin Rudalics <rudalics@gmx.at>
12745
12746 * window.el (same-window-buffer-names, same-window-regexps)
12747 (same-window-p, special-display-frame-alist)
12748 (special-display-popup-frame, special-display-function)
12749 (special-display-buffer-names, special-display-regexps)
12750 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12751 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12752 (split-window-preferred-function, split-height-threshold)
12753 (split-width-threshold, even-window-heights)
12754 (display-buffer-mark-dedicated, window-splittable-p)
12755 (split-window-sensibly, window-safely-shrinkable-p):
12756 Un-obsolete.
12757 (display-buffer): Don't spread args with function specifier
12758 because special-display-popup-frame won't like it.
12759
35837f51
PE
127602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12761
d0672f86
PE
12762 Time-stamp simplifications and fixes.
12763 These improve accuracy slightly, and future-proof the code
12764 against some potential changes to current-time format.
12765
b9444d97
PE
12766 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12767 by using time-since and float-time.
12768
0ef923dc
PE
12769 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12770 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12771 + NNN microseconds".
12772
2f81380d
PE
12773 * type-break.el (type-break-time-sum): Rewrite using time-add.
12774
845b5c3e
PE
12775 * play/hanoi.el (hanoi-current-time-float): Remove.
12776 All uses replaced by float-time.
12777
ee6f1be0
PE
12778 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12779 This yields a more-accurate answer.
12780 (rng-time-to-float): Remove; no longer needed.
12781
fe955043
PE
12782 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12783
5777162a
PE
12784 * calendar/timeclock.el (timeclock-seconds-to-time):
12785 Defalias to seconds-to-time, since they're the same thing.
12786
3103f8b6 12787 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12788 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12789 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12790
0e61a35f
SM
127912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * window.el (bury-buffer): Don't iconify the only frame.
12794 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12795 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12796
ddd63a1e
CY
127972011-07-01 Chong Yidong <cyd@stupidchicken.com>
12798
0e61a35f
SM
12799 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12800 Add mouse-yank-primary.
ddd63a1e 12801
055f4923
TZ
128022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12803
12804 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12805
6a2fb145
SM
128062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12809 (find-library-name): Use it to find relative load names when provided
12810 absolute file name (bug#8803).
12811
fd4983f2
LMI
128122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12813
887d14ad
LMI
12814 * textmodes/flyspell.el (flyspell-word): Consider words that
12815 differ only in case as potential doublons (bug#5687).
12816
c53dc7fc
LMI
12817 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12818 Remove two rather uninteresting debugging-like messages to make
12819 debbugs.el more silent.
12820
fd4983f2
LMI
12821 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12822 a password-like phrase.
12823
7a71b18d 128242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12825
12826 * progmodes/cc-guess.el: New file.
12827
6a2fb145 12828 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12829
12830 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12831 derived from `c-basic-common-init'.
12832
12833 * progmodes/cc-mode.el (top-level): Require cc-guess.
12834 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12835
1fa280a3
LM
128362011-06-30 Lawrence Mitchell <wence@gmx.li>
12837
12838 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12839
e6597158
AM
128402011-06-30 Alan Mackenzie <acm@muc.de>
12841
1fa280a3
LM
12842 * progmodes/cc-engine.el (c-guess-continued-construct):
12843 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12844 lock is disabled. Name this case as "CASE G".
12845
68ba37fb
KM
128462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12847
12848 * allout.el (allout-yank-processing): Fix injection of extra space
12849 between bullet and non-whitespace character in first topic when
12850 pasting, ensuring that the actual spacing in the pasted topic
12851 following the bullet char is preserved. This extra space was
12852 causing pasted encrypted topics to get a decrypted status even
12853 when the content was actually still encrypted. Now the decryption
12854 status from before the paste is preserved.
12855
12856 (allout-flag-region): Set all allout overlays so they evaporate
12857 when reduced to zero length (evanescent), to prevent overlay
12858 leakage.
12859
887a0b34
GM
128602011-06-30 Glenn Morris <rgm@gnu.org>
12861
94b9acce
GM
12862 * w32-fns.el (w32-charset-info-alist): Declare.
12863
1d9b46d4
GM
12864 * find-dired.el (find-grep-options): Simplify.
12865
cc232200
GM
12866 * term/ns-win.el (ns-set-resource): Declare.
12867
28e77c46
GM
12868 * ses.el (row, col): Declare dynamic variables honestly.
12869
887a0b34
GM
12870 * textmodes/reftex-parse.el (index-tags): Declare.
12871
658d8eb8
CY
128722011-06-30 Chong Yidong <cyd@stupidchicken.com>
12873
12874 * cus-edit.el (customize-push-and-save): New function.
12875
12876 * files.el (hack-local-variables-confirm): Use it.
12877
1fa280a3
LM
12878 * custom.el (load-theme): New arg NO-CONFIRM.
12879 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12880 (custom-enabled-themes): Doc fix.
12881
12882 * cus-theme.el (customize-create-theme)
12883 (custom-theme-merge-theme): Callers to load-theme changed.
12884
bb617717
LMI
128852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12886
d61bdd5d
LMI
12887 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12888 short URLs have at least one dot in them (bug #7614).
12889
bb617717
LMI
12890 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12891 nil, because using a pty is apparently too slow (bug #895).
12892
2f31f37a
LMI
128932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12894
12895 * mail/sendmail.el (sendmail-query-once): New function.
12896 (sendmail-query-once-function): New variable.
12897
3076b24e
GM
128982011-06-29 Glenn Morris <rgm@gnu.org>
12899
faf2a174
GM
12900 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12901
3076b24e
GM
12902 * ses.el (top-level): Require cl when compiling.
12903 (ses-set-localvars): Fix error statement.
12904 Call it at compile time to silence a storm of warnings.
12905
5386012d
MR
129062011-06-29 Martin Rudalics <rudalics@gmx.at>
12907
12908 * window.el (normalize-live-buffer): Rename to
12909 window-normalize-buffer.
12910 (normalize-live-frame): Rename to window-normalize-frame.
12911 (normalize-any-window): Rename to window-normalize-any-window.
12912 (normalize-live-window): Rename to window-normalize-live-window.
12913 (make-window-atom): Rename to window-make-atom.
12914 (window-resize-reset): Rename to window--resize-reset.
12915 (window-resize-reset-1): Rename to window--resize-reset-1.
12916 (resize-mini-window): Rename to window--resize-mini-window.
12917 (resize-subwindows-skip-p): Rename to
12918 window--resize-subwindows-skip-p.
12919 (resize-subwindows-normal): Rename to
12920 window--resize-subwindows-normal.
12921 (resize-subwindows): Rename to window--resize-subwindows.
12922 (resize-other-windows): Rename to window--resize-siblings.
12923 (resize-this-window): Rename to window--resize-this-window.
12924 (resize-root-window): Rename to window--resize-root-window.
12925 (resize-root-window-vertically): Rename to
12926 window--resize-root-window-vertically.
12927 (normalize-buffer-to-display): Rename to
12928 window-normalize-buffer-to-display.
12929 (normalize-buffer-to-switch-to): Rename to
12930 window-normalize-buffer-to-switch-to.
12931 Correspondingly update all callers of the functions listed
12932 above.
12933 (display-buffer-alist, display-buffer-normalize-arguments)
12934 (display-buffer-normalize-options, display-buffer)
12935 (display-buffer-alist-set): Use "function" instead of
12936 "fun-with-args".
12937
1176868d
CY
129382011-06-28 Chong Yidong <cyd@stupidchicken.com>
12939
12940 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12941 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12942 debbugs.gnu.org. Mention acknowledgment email.
12943
20a7a65f
LMI
129442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12945
12946 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12947 buffer multibyteness, since it shouldn't matter.
12948
5f45cca5
MR
129492011-06-28 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (display-buffer-in-side-window): Handle dedicated
12952 windows as in display-buffer-reuse-window.
12953 (display-buffer-normalize-alist): Use value of override
12954 specifier.
12955 (display-buffer-normalize-specifiers): Use value of
12956 other-window-means-other-frame specifier.
12957 (display-buffer-alist): Rewrite some texts in widgets.
12958 (display-buffer): Spread arguments when calling function
12959 specified by fun-with-args.
12960
ad85fe1f
DD
129612011-06-28 Deniz Dogan <deniz@dogan.se>
12962
1fa280a3
LM
12963 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12964 Unnest `let'.
da68c4c8 12965
ad85fe1f
DD
12966 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12967 selectors (Bug#5732).
ec49bd31 12968 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12969
a08cc025
JA
129702011-06-27 Jari Aalto <jari.aalto@cante.net>
12971
12972 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12973 (eshell-ls-date-format): New defcustom.
12974 (eshell-ls-file): Use it.
12975
e2b551c5
SM
129762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12979
8982b231
KY
129802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12981
12982 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12983 (ange-ftp-make-tmp-name): New arg.
12984 (ange-ftp-file-local-copy): Use it.
12985
36c9fa27
J
129862011-06-27 Jambunathan K <kjambunathan@gmail.com>
12987
12988 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12989 no-conversion (Bug#8870).
12990
d68443dc
MR
129912011-06-27 Martin Rudalics <rudalics@gmx.at>
12992
12993 * window.el (window-right, window-left, window-child)
12994 (window-child-count, window-last-child)
12995 (window-iso-combination-p, walk-window-tree-1)
12996 (window-atom-check-1, window-tree-1, delete-window)
12997 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12998 new naming conventions - window-vchild, window-hchild,
12999 window-next and window-prev are now called window-top-child,
13000 window-left-child, window-next-sibling and window-prev-sibling
13001 respectively.
d615d6d2
MR
13002 (resize-window-reset): Rename to window-resize-reset.
13003 (resize-window-reset-1): Rename to window-resize-reset-1.
13004 (resize-window): Rename to window-resize.
13005 (window-min-height, window-min-width)
13006 (resize-mini-window, resize-this-window, resize-root-window)
13007 (resize-root-window-vertically, adjust-window-trailing-edge)
13008 (enlarge-window, shrink-window, maximize-window)
13009 (minimize-window, delete-window, quit-restore-window)
13010 (split-window, balance-windows, balance-windows-area-adjust)
13011 (balance-windows-area, window-state-put-2)
13012 (display-buffer-even-window-sizes, display-buffer-set-height)
13013 (display-buffer-set-width, set-window-text-height)
13014 (fit-window-to-buffer): Rename all "resize-window" prefixed
13015 calls to use the "window-resize" prefix convention.
13016 (display-buffer-alist): Fix symbol for label specifier.
13017 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13018 corresponding specifier.
13019 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13020
b6458526
VB
130212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13022
13023 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13024 convention.
13025 (ses-call-printer): Does not pass an empty string to formatter when the
13026 cell is empty to keep from barking printer Calc math-format-value.
13027
d31fd9ac
RS
130282011-06-27 Richard Stallman <rms@gnu.org>
13029
43d5bf84
RS
13030 * battery.el (battery-mode-line-limit): New variable.
13031 (battery-update): Handle it.
13032
d31fd9ac
RS
13033 * mail/rmailmm.el (rmail-mime-process-multipart):
13034 Handle truncated messages.
13035
819a6054
GM
130362011-06-27 Glenn Morris <rgm@gnu.org>
13037
13038 * progmodes/flymake.el (flymake-err-line-patterns):
13039 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13040
cedc73f2
VB
130412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13042
819a6054 13043 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13044 (ses--clean-!, ses--clean-_): New functions.
13045 (ses-range): Add configurability of readout order, and conversion
13046 to Calc vector.
13047
5e5d49b6
VB
13048 * ses.el (ses-repair-cell-reference-all): New function.
13049 (ses-cell-symbol): Set macro as safe, so that it can be used in
13050 formulas.
13051
56e6cc31 13052 * ses.el: Update cycle detection algorithm.
90ca8b49 13053 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13054 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13055 (ses-set-localvars): New function.
13056 (ses-make-cell): Add property-list as a cell element.
13057 (ses-cell-property-get-fun, ses-cell-property-get)
13058 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13059 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13060 New functions.
90ca8b49
VB
13061 (ses-cell-property-set, ses-cell-property-pop)
13062 (ses-cell-property-get-handle): New macro.
13063 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13064 New aliases, used for code readability.
13065 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13066 cycle detection.
13067 (ses-self-reference-early-detection): New defcustom.
fac916bf 13068 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13069 (ses-mode): Use ses-set-localvars.
13070 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13071 before lauching the update processing.
13072 (ses-initialize-Dijkstra-attempt): New function.
13073 (ses-recalculate-cell): Update for cycle detection based on
13074 Dijkstra algorithm.
13075
2bb63e81
VB
13076 * ses.el: Fix commenting and indenting convention.
13077
c9d29fb8
SM
130782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * bs.el (bs-cycle-next): Complete last change.
13081
d8e4b68b
JB
130822011-06-27 Drew Adams <drew.adams@oracle.com>
13083
13084 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13085
40098786
LMI
130862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13087
c9d29fb8
SM
13088 * net/network-stream.el (network-stream-open-starttls):
13089 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13090 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13091
40098786
LMI
13092 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13093 to binary to possibly avoid line encoding issues on Windows (among
13094 other things).
13095
468d09d4
LMI
130962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13097
13098 * net/network-stream.el (open-network-stream): Return an :error
13099 saying what the problem was, if possible.
13100
13101 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13102 server.
13103
13104 * net/network-stream.el (network-stream-open-starttls): If we
13105 wanted to use STARTTLS, and the server offered it, but we weren't
13106 able to because we had no STARTTLS support, then close the connection.
13107 (open-network-stream): Return an :error element, if present.
13108
16f07dd7
CY
131092011-06-26 Chong Yidong <cyd@stupidchicken.com>
13110
88821ca0
CY
13111 * hl-line.el (hl-line-sticky-flag): Doc fix.
13112 (global-hl-line-sticky-flag): New option (Bug#8323).
13113 (global-hl-line-highlight): Obey it.
13114
16f07dd7
CY
13115 * vc/vc.el (vc-revert-show-diff): Default to t.
13116
6b5ccddf
KM
131172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13118
c9d29fb8
SM
13119 * allout-widgets.el (allout-widgets-post-command-business):
13120 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13121 undecorated when an isearch is continued past, and isearch
13122 automatically collapses them. This leads to "widget leaks", where
13123 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13124 hidden widgets can slow down cursor travel, substantially.
13125 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13126 so we're doing without this nicety.
13127
13128 (allout-widgets-tally-string): Don't try to do a hash-table-count
13129 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13130 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13131 *Messages* when allout-widgets-maintain-tally is t.
13132
355f2e07
MR
131332011-06-26 Martin Rudalics <rudalics@gmx.at>
13134
13135 * window.el (display-buffer-normalize-argument): Rename to
13136 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13137 LABEL argument. Respect special-display-function when popping up
13138 a new frame. Fix code searching for a window showing the buffer
13139 on another frame.
c9d29fb8
SM
13140 (display-buffer-normalize-specifiers):
13141 Call display-buffer-normalize-arguments.
355f2e07
MR
13142 (display-buffer-in-window): Don't undedicate the window if its
13143 buffer remains the same.
13144 Reported by Drew Adams <drew.adams@oracle.com>.
13145 (display-buffer-alist): Add choice for same-window macro
13146 specfier.
13147 (display-buffer): Mention special meaning of LABEL argument in
13148 doc-string. Fix quoting. Don't pop up a new frame even as
13149 fallback.
13150
7ca8fc42
JB
131512011-06-26 Juanma Barranquero <lekktu@gmail.com>
13152
13153 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13154 avoid deleting the current window in some cases (bug#8911).
13155
bc312254
AS
131562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13157
13158 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13159 (Bug#8934)
13160
2db18f3f
LMI
131612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13162
c9d29fb8
SM
13163 * net/network-stream.el (network-stream-open-starttls):
13164 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13165 (network-stream-open-tls): Ditto.
13166
6302e0d3
LL
131672011-06-26 Leo Liu <sdl.web@gmail.com>
13168
13169 * register.el (registerv): New struct.
13170 (registerv-make): New function.
c9d29fb8
SM
13171 (jump-to-register, describe-register-1, insert-register):
13172 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13173 struct. (Bug#8415)
13174
5fdd4046
CY
131752011-06-26 Chong Yidong <cyd@stupidchicken.com>
13176
2afef60a
CY
13177 * vc/vc.el (vc-revert-show-diff): New defcustom.
13178 (vc-diff-internal): New arg specifying diff buffer.
13179 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13180 reuse an existing *vc-diff* buffer (Bug#8927).
13181
5fdd4046
CY
13182 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13183
e93db24a
GM
131842011-06-26 Glenn Morris <rgm@gnu.org>
13185
13186 * progmodes/f90.el (f90-critical-indent): New option.
13187 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13188 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13189 (f90-mode): Doc fix.
13190 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13191 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13192 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13193 (f90-match-end): Handle block, critical.
13194
eefff499
GM
131952011-06-25 Glenn Morris <rgm@gnu.org>
13196
f6ba4cc9
GM
13197 * calendar/diary-lib.el (diary-included-files): Doc fix.
13198 (diary-include-files): New function, extracted from
13199 diary-include-other-diary-files and diary-mark-included-diary-files.
13200 (diary-include-other-diary-files, diary-mark-included-diary-files):
13201 Just call diary-include-files.
13202 (diary-mark-entries): Reset diary-included-files on first call.
13203
16712304
GM
13204 * calendar/diary-lib.el (diary-mark-entries)
13205 (diary-mark-included-diary-files):
13206 Visit included diary-files in temp buffers.
13207
5d8e0d43
GM
13208 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13209 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13210 (f90-start-block-re, f90-imenu-generic-expression)
13211 (f90-looking-at-program-block-start, f90-no-block-limit):
13212 Add support for submodules.
13213
ccf7a5d5
GM
13214 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13215 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13216
11fdef7d 132172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13218
13219 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13220 buffer-file-type before setting its value, to avoid disastrous
eefff499 13221 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13222
74f53697
JB
132232011-06-25 Juanma Barranquero <lekktu@gmail.com>
13224
13225 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13226
13227 * ses.el (ses-unload-function):
13228 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13229
13230 * proced.el (proced-unload-function):
13231 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13232
18a4ce5e
AR
132332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13234
13235 * server.el (server-create-window-system-frame): Add parameters arg.
13236 (server-process-filter): Doc fix. Handle frame-parameters.
13237
519d22cc
JB
132382011-06-25 Juanma Barranquero <lekktu@gmail.com>
13239
13240 Fix bug#8730, bug#8781.
13241
13242 * loadhist.el (unload--set-major-mode): New function.
13243 (unload-feature): Use it.
13244
13245 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13246 (python-unload-function): New function.
13247
c206f5b0
SM
132482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13251
f9ad64f3
GS
132522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13253
13254 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13255 the candidates list.
13256
7d0da90e
JB
132572011-06-24 Juanma Barranquero <lekktu@gmail.com>
13258
13259 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13260
14b4e83d
RS
132612011-06-23 Richard Stallman <rms@gnu.org>
13262
13263 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13264 (rmail-variables): Set next-error-move-function.
13265 (rmail-what-message): Take argument POS.
13266 (rmail-next-error-move): New function.
13267
273d2baf
SM
132682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13271 messages for adjacent non-terminals.
13272
56c2cc9a
RS
132732011-06-23 Richard Stallman <rms@gnu.org>
13274
13275 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13276 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13277 (rmail-start-mail): Don't specify use of rmail-mail-return;
13278 that's done by mail-bury now.
13279 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13280
d59eb518
MA
132812011-06-23 Michael Albinus <michael.albinus@gmx.de>
13282
13283 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13284 SIZE is a number.
13285
02cfc6d6
MR
132862011-06-23 Martin Rudalics <rudalics@gmx.at>
13287
13288 * window.el (get-lru-window, get-mru-window)
13289 (get-largest-window): Never return a minibuffer window.
13290 (display-buffer-pop-up-window): Fix a bug that could lead to
13291 reusing the minibuffer window.
13292 (display-buffer): Pass original specifier argument to
13293 display-buffer-function instead of the normalized one.
13294 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13295
4e323265
LL
132962011-06-22 Leo Liu <sdl.web@gmail.com>
13297
13298 * minibuffer.el (completing-read-function)
13299 (completing-read-default): Move from minibuf.c
13300
7a70468f
RS
133012011-06-22 Richard Stallman <rms@gnu.org>
13302
50718fc2
RS
13303 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13304 to Rmail even if not started by a special Rmail command.
13305
7a70468f
RS
13306 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13307 Copy the buffer currently showing just one message.
13308
297dde5a
RW
133092011-06-22 Roland Winkler <winkler@gnu.org>
13310
13311 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13312 (bibtex-clean-entry): First delete the old key so that a
13313 customized algorithm for generating the new key does not get
13314 confused by the old key.
13315 (bibtex-url): Obey regexp of first step.
13316 (bibtex-search-entries): Do not use add-to-list with local
13317 list-var.
13318
97bb1093
LMI
133192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13320
13321 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13322 stored a user name, then query for the password first, instead of
13323 waiting for SMTP to give an error message and the trying again.
13324
1c0f1a19
JD
133252011-06-22 Lawrence Mitchell <wence@gmx.li>
13326
13327 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13328 BUFFER in call-process.
13329
396f7c9d
LMI
133302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13331
13332 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13333 QUIT twice.
ddb7ffee
LMI
13334 (smtpmail-try-auth-methods): Require user name and password from
13335 auth-source.
396f7c9d 13336
8998d1b3
MR
133372011-06-22 Martin Rudalics <rudalics@gmx.at>
13338
13339 * window.el (display-buffer-default-specifiers)
13340 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13341 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13342 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13343
13344 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13345 (special-display-frame-alist, special-display-popup-frame):
13346 Remove duplicate declarations. These are now in window.el.
13347
4ea31e07
LMI
133482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
c9d29fb8
SM
13350 * mail/smtpmail.el (smtpmail-via-smtp):
13351 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13352 server supports it. SMTP servers that support STARTTLS commonly
13353 require it.
13354
13355 * net/network-stream.el (network-stream-open-starttls): Support
13356 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13357 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13358
95f41d9a
LMI
13359 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13360 upgrades with `open-network-stream', and rely solely on
13361 auth-source for all credentials. Big changes throughout the file,
13362 but in particular:
c9d29fb8
SM
13363 (smtpmail-auth-credentials): Remove.
13364 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13365 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13366 MAIL FROM, too.
95f41d9a 13367
c9d29fb8
SM
13368 * net/network-stream.el (network-stream-open-starttls):
13369 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13370 STARTTLS.
13371 (auth-source): Require.
13372 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13373 (network-stream-certificate): Change cert-cert to cert and
13374 cert-key to key.
4ea31e07 13375
065ec2c7
MA
133762011-06-21 Michael Albinus <michael.albinus@gmx.de>
13377
13378 * net/tramp-cache.el (top): Don't load the persistency file when
13379 "emacs -Q" has been called.
13380
cd93b359
DR
133812011-06-21 Tim Harper <timcharper@gmail.com>
13382
d8e4b68b
JB
13383 * term/ns-win.el (ns-initialize-window-system):
13384 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13385 resource to NO as it is not yet supported by the NS port.
13386
ae9c0411
JB
133872011-06-21 Juanma Barranquero <lekktu@gmail.com>
13388
13389 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13390 (list-dynamic-libraries): ...not here.
13391
7f3f739f
LL
133922011-06-21 Leo Liu <sdl.web@gmail.com>
13393
13394 * subr.el (sha1): Implement sha1 using secure-hash.
13395
327c8fb1
MR
133962011-06-21 Martin Rudalics <rudalics@gmx.at>
13397
13398 * window.el (display-buffer-alist): In default value do not
13399 enforce searching a window on any but the selected frame.
13400 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13401 (display-buffer-select-window): Remove function.
13402 (display-buffer-in-window): When a window on another frame gets
13403 reused, do not select it any more but just raise its frame if
13404 necessary (Bug#8851) and (Bug#8856).
13405 (display-buffer-normalize-options): Handle pop-up-frames related
13406 options more faithfully.
13407 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13408 window if it is on another frame.
c9d29fb8
SM
13409 (display-buffer-alist, display-buffer-default-specifiers):
13410 Don't make new frame unsplittable by default.
9e9de014
MR
13411 (display-buffer-normalize-argument): Fix doc-string typo and use
13412 'same-frame-other-window instead of 'other-window when associating
13413 with display-buffer-macro-specifiers.
327c8fb1 13414
7cf3f556
VB
134152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13416
13417 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13418 New functions.
13419 (5x5-mode-map, 5x5-mode-menu): Bind them.
13420 (5x5-draw-grid): Tweak the solver's rendering.
13421
60a406cf
SM
134222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13423
13424 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13425 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13426
d8e4b68b 134272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13428
13429 * menu-bar.el: Use function variable instead of switch-to-buffer.
13430 (menu-bar-select-buffer-function): New variable.
60a406cf 13431 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13432
478d6f95
SM
134332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13434
13435 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13436 variable's status.
13437
ca530739
JD
134382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13439
13440 * x-dnd.el (x-dnd-version-from-flags)
13441 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13442 and long as number (Bug#8899).
13443 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13444
bcd70d97
SM
134452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13446
60a406cf 13447 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13448 (completion-try-completion, completion-all-completions): Compute the
13449 metadata argument if it's missing; make it optional (bug#8795).
13450
60a406cf 13451 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13452 (widget-complete): Use new :completion-function property.
13453 (widget-completions-at-point): New function.
13454 (default): Use :completion-function instead of :complete.
60a406cf
SM
13455 (widget-default-completions): Rename from widget-default-complete;
13456 Rewrite.
bcd70d97
SM
13457 (widget-string-complete, widget-file-complete, widget-color-complete):
13458 Remove functions.
13459 (file, symbol, function, variable, coding-system, color):
13460 * international/mule-cmds.el (default-input-method, charset)
13461 (language-info-custom-alist):
13462 * cus-edit.el (face): Use new property :completions.
13463
13464 * progmodes/pascal.el (pascal-completions-at-point): New function.
13465 (pascal-mode): Use it.
13466 (pascal-mode-map): Use completion-at-point.
13467 (pascal-toggle-completions): Make obsolete.
13468 (pascal-complete-word, pascal-show-completions):
13469 * progmodes/octave-mod.el (octave-complete-symbol):
13470 Redefine as obsolete alias.
13471 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13472 Signal absence of completion info for old Octave,
13473 (inferior-octave-complete): Redefine as obsolete alias.
13474 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13475 (meta-completions-at-point): Rename from meta-complete-symbol and
13476 adapt it for use on completion-at-point-functions.
13477 (meta-common-mode): Use it.
13478 (meta-looking-at-backward, meta-match-buffer): Remove.
13479 (meta-complete-symbol): Redefine as obsolete alias.
13480 (meta-common-mode-map): Use completion-at-point.
13481 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13482 (makefile-mode-map): Use completion-at-point.
13483 (makefile-completions-at-point): Rename from makefile-complete and
13484 adapt it for use on completion-at-point-functions.
13485 (makefile-mode): Use it.
13486 (makefile-complete): Redefine as obsolete alias.
13487
aebf69c8
DD
134882011-06-20 Deniz Dogan <deniz@dogan.se>
13489
13490 * net/rcirc.el: Delete trailing whitespaces once and for all.
13491
bfbbb27d
DC
134922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13493
13494 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13495
d264a46b
CY
134962011-06-19 Chong Yidong <cyd@stupidchicken.com>
13497
4ca009e5
CY
13498 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13499
d264a46b
CY
13500 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13501
fbf5b3ce
MR
135022011-06-19 Martin Rudalics <rudalics@gmx.at>
13503
13504 * window.el (display-buffer-other-window-means-other-frame):
13505 Call display-buffer-normalize-alist.
13506 (display-buffer-normalize-specifiers-1): Rename to
13507 display-buffer-normalize-argument. New argument other-frame.
13508 Rewrite.
13509 (display-buffer-normalize-specifiers-2): Rename to
13510 display-buffer-normalize-options.
13511 (display-buffer-normalize-alist-1): New function.
13512 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13513 display-buffer-normalize-alist.
13514 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13515 (display-buffer-normalize-options-inhibit): New variable.
13516 (display-buffer-normalize-specifiers): Rewrite calling
13517 display-buffer-normalize-alist,
13518 display-buffer-normalize-argument, and
13519 display-buffer-normalize-options. Don't call the latter if
13520 display-buffer-normalize-options-inhibit is non-nil.
13521 (frame-auto-delete): New option.
13522 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13523 (window-list-no-nils, window-state-ignored-parameters)
13524 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13525 (window-state-put-1, window-state-put-2, window-state-put):
13526 New functions.
9a028c23
MR
13527 (display-buffer-normalize-options): Move special-display-p group
13528 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13529
6d10d800
CY
135302011-06-18 Chong Yidong <cyd@stupidchicken.com>
13531
6420d28b
CY
13532 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13533 groups (Bug#8776).
13534 (rx-submatch-n): New function.
13535 (rx): Document it.
13536
ddb8b596
CY
13537 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13538 (Bug#8768).
13539
13540 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13541
77080289
CY
13542 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13543
61dfb316
CY
13544 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13545 anytime existing face settings are present (Bug#8889).
13546
6d10d800
CY
13547 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13548 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13549 Remove unused argument.
13550
be3fb2b8
MR
135512011-06-18 Martin Rudalics <rudalics@gmx.at>
13552
bcd70d97
SM
13553 * window.el (display-buffer-default-specifiers):
13554 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13555 pop-up-window-min-width, and another reuse-window specifier
13556 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13557 (display-buffer-normalize-specifiers-2):
13558 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13559 pop-up-windows is unset. Add a reuse-window specifier for the
13560 case popping up a new window fails.
13561 (special-display-popup-frame): Remove double quoting.
28dec25a 13562 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13563
1c6d8c76
SM
135642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13567 according to comint-completion-addsuffix.
13568
13569 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13570 (pcomplete-suffix-list): Mark as obsolete.
13571 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13572 pcomplete-seen in the closure.
13573 (pcomplete-comint-setup): Setup completion-at-point as well.
13574 (pcomplete--entries): New function.
13575 (pcomplete--env-regexp): New var.
13576 (pcomplete-entries): Rewrite to work with partial-completion and
13577 without relying on pcomplete-suffix-list.
13578 (pcomplete-pare-list): Remove, unused.
13579
25aef8b8
MR
135802011-06-17 Martin Rudalics <rudalics@gmx.at>
13581
13582 * window.el (display-buffer-alist): Set pop-up-window-min-height
13583 and pop-up-window-min-width in default value. Reported by
13584 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13585 other-window-means-other-frame.
13586 (display-buffer-macro-specifiers): Comment out entry for
13587 other-window specifier.
13588 (display-buffer-other-window-means-other-frame): New function.
13589 (display-buffer-normalize-specifiers-1): New arguments
13590 buffer-name and label. Treat other-window case specially.
13591 (display-buffer-normalize-specifiers-2): Treat other-window case
13592 specially.
13593 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13594 (display-buffer-normalize-specifiers):
13595 Call display-buffer-normalize-specifiers-3.
25aef8b8 13596
dbad4f69
MR
135972011-06-17 Martin Rudalics <rudalics@gmx.at>
13598
13599 * window.el (same-window-p): Fix two typos introduced when
13600 adding with-no-warnings.
d1067961
MR
13601 (display-buffer-normalize-specifiers-1): Don't check
13602 pop-up-frames for 'unset initialization.
13603 (display-buffer-normalize-specifiers-2): Major rewrite using
13604 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13605 (pop-up-frames, display-buffer-reuse-frames)
13606 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13607 Suggested by David Engster <deng@randomsample.de>.
13608 (even-window-heights): Initialize to 'unset.
13609 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13610 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13611 other window case.
dbad4f69 13612
9b9c9e3a
MR
136132011-06-16 Martin Rudalics <rudalics@gmx.at>
13614
bcd70d97
SM
13615 * window.el (display-buffer-normalize-specifiers-1):
13616 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13617 second argument of display-buffer (Bug#8865).
981d5c09
MR
13618 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13619 (switch-to-buffer-other-window-same-frame)
13620 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13621 Adams (Bug#8875).
9c2755e9
MR
13622 (display-buffer): Don't check noninteractive when calling
13623 display-buffer-pop-up-frame.
13624 (display-buffer-pop-up-frame): Never pop up a frame in
13625 noninteractive mode (Bug#8857).
67222e1d
MR
13626 (enlarge-window, shrink-window): Don't report an error when the
13627 window can't be resized as requested (Bug#8862).
9b9c9e3a 13628
2b75be67
SM
136292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13630
9ffdd3ba
SM
13631 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13632
cb581a67
SM
13633 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13634
2b75be67
SM
13635 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13636
8c0e3589
AM
136372011-06-15 Alan Mackenzie <acm@muc.de>
13638
cb581a67
SM
13639 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13640 for declarators, disable knr checking to speed up for normal files.
13641 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13642
b96e6cde
LMI
136432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13644
4bba86e6
LMI
13645 * net/network-stream.el (open-network-stream): Add the keyword
13646 :always-query-capabilities for the case where you want to force a
13647 `plain' network connection, but the protocol still requires the
13648 capabilitiy command (i.e., SMTP and EHLO).
13649
2b75be67 13650 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13651 consistency with other `-live-p' functions.
13652
efdcdbf8
SM
136532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * window.el (same-window-buffer-names, same-window-regexps)
13656 (special-display-frame-alist, special-display-popup-frame)
13657 (special-display-function, special-display-buffer-names)
13658 (special-display-regexps, pop-up-frame-alist)
13659 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13660 (pop-up-windows, split-window-preferred-function)
13661 (split-height-threshold, split-width-threshold, even-window-heights)
13662 (display-buffer-mark-dedicated): Don't encourage the use of
13663 display-buffer-alist from Elisp code.
13664
c5cde042
DN
136652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13666
13667 * progmodes/python.el (python-mode): Derive from prog-mode.
13668 * progmodes/ps-mode.el (ps-mode):
13669 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13670 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13671 * progmodes/ld-script.el (ld-script-mode): Likewise.
13672
baa1c9ab
MR
136732011-06-15 Martin Rudalics <rudalics@gmx.at>
13674
13675 * window.el (display-buffer-alist): Trim default value to avoid
13676 popping up a new frame (Bug#8857) or reusing an arbitrary window
13677 on another frame.
13678 (display-buffer): Do not fall back on popping up a new frame in
13679 batch mode (Bug#8857).
13680
c5dd5a51
CY
136812011-06-14 Chong Yidong <cyd@stupidchicken.com>
13682
13683 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13684 (custom-theme-summary): New function.
13685 (customize-themes): Use it.
13686
d647b7c4
GM
136872011-06-13 Glenn Morris <rgm@gnu.org>
13688
13689 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13690
9481c002
MR
136912011-06-13 Martin Rudalics <rudalics@gmx.at>
13692
357f93d2
MR
13693 * help.el (help-window): Remove variable.
13694 (help-window-point-marker, temp-buffer-max-height)
13695 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13696 (help-print-return-message): Don't set help-window.
13697 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13698 (help-window-setup-finish): Remove.
13699 (help-window-display-message, help-window-setup)
13700 (with-help-window): Major rewrite based on new
13701 display-buffer-window variable.
13702
13703 * help-mode.el (help-mode-finish): Remove help-window related
13704 code.
13705
13706 * view.el (view-exits-all-viewing-windows): Remove reference to
13707 view-return-to-alist in doc-string.
13708 (view-return-to-alist): Make obsolete.
13709 (view-buffer): Call pop-to-buffer-same-window and remove
13710 undo-window code.
13711 (view-buffer-other-window): Call pop-to-buffer-other-window and
13712 simplify code. Ignore second argument.
13713 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13714 simplify code. Ignore second argument.
13715 (view-return-to-alist-update): Make obsolete.
13716 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13717 Rewrite using quit-restore window parameters.
2b75be67
SM
13718 (view-mode-exit): Rename second argument to EXIT-ONLY.
13719 Rewrite using quit-restore-window.
357f93d2
MR
13720 (View-exit, View-exit-and-edit, View-leave, View-quit)
13721 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13722 appropriate arguments.
13723 (view-end-message): Use quit-restore window parameter.
13724
9481c002
MR
13725 * window.el (display-buffer-function): Rewrite doc-string.
13726 (display-buffer-window, display-buffer-alist): New variables.
13727 (display-buffer-split-specifiers)
13728 (display-buffer-side-specifiers)
13729 (display-buffer-macro-specifiers): New constants.
13730 (display-buffer-even-window-sizes, display-buffer-set-height)
13731 (display-buffer-set-width, display-buffer-select-window)
13732 (display-buffer-in-window, display-buffer-reuse-window)
13733 (display-buffer-split-window-1, display-buffer-split-window)
13734 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13735 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13736 (display-buffer-in-side-window, normalize-buffer-to-display)
13737 (display-buffer-normalize-specifiers-1)
13738 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13739 (display-buffer-normalize-specifiers, display-buffer-frame):
13740 New functions.
9481c002
MR
13741 (display-buffer): Major rewrite.
13742 (display-buffer-other-window, display-buffer-other-frame)
13743 (pop-to-buffer, switch-to-buffer-other-window)
13744 (switch-to-buffer-other-frame): Rewrite.
13745 (display-buffer-same-window, display-buffer-same-frame)
13746 (display-buffer-same-frame-other-window)
13747 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13748 (pop-to-buffer-other-window)
13749 (pop-to-buffer-same-frame-other-window)
13750 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13751 (switch-to-buffer-other-window-same-frame): New functions.
13752 (same-window-p, special-display-p): Rewrite disabling warnings.
13753 Make obsolete.
13754 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13755 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13756 Make obsolete
13757 (same-window-buffer-names, same-window-regexps)
13758 (special-display-frame-alist, special-display-popup-frame)
13759 (special-display-function, special-display-buffer-names)
13760 (special-display-regexps, pop-up-frame-alist)
13761 (pop-up-frame-function, split-window-preferred-function)
13762 (split-height-threshold, split-width-threshold)
13763 (even-window-heights): Make obsolete.
13764
9db51aca
GM
137652011-06-12 Glenn Morris <rgm@gnu.org>
13766
13767 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13768 Misc simplifications.
9db51aca 13769
39cffb44
MR
137702011-06-12 Martin Rudalics <rudalics@gmx.at>
13771
13772 * window.el (window-safely-shrinkable-p): Restore function which
13773 was inadvertently removed in change from 2011-06-11. Declare as
13774 obsolete.
13775
2b75be67
SM
13776 * calendar/calendar.el (calendar-generate-window):
13777 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13778 window-safely-shrinkable-p.
13779
a8955be7
GM
137802011-06-12 Glenn Morris <rgm@gnu.org>
13781
13782 * progmodes/fortran.el (fortran-mode-syntax-table):
13783 * progmodes/f90.el (f90-mode-syntax-table):
13784 Set % to punctuation. (Bug#8820)
13785 (f90-find-tag-default): Remove, no longer needed.
13786
f0d4059d
DC
137872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13788
13789 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13790
1100a63c
CY
137912011-06-11 Chong Yidong <cyd@stupidchicken.com>
13792
13793 * image.el (image-animated-p): Return animation delay in seconds.
13794 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13795 (image-animate-timeout): Remove DELAY argument. Don't assume
13796 every subimage has the same delay; get it from image-animated-p.
13797 (image-animate): Caller changed.
13798
def722bf
MA
137992011-06-11 Michael Albinus <michael.albinus@gmx.de>
13800
13801 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13802 to ignored backtrace functions.
13803
0a2bb1a9
GM
138042011-06-11 Glenn Morris <rgm@gnu.org>
13805
13806 * calendar/appt.el (appt-disp-window-function): Doc fix.
13807 (appt-check): Handle overlapping appointments. (Bug#8337)
13808
6198ccd0
MR
138092011-06-11 Martin Rudalics <rudalics@gmx.at>
13810
13811 * window.el (window-tree-1, window-tree): New functions, moving
13812 the latter to window.el.
13813 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13814 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13815 (bw-refresh-edges): Remove.
13816 (balance-windows-1, balance-windows-2): New functions.
13817 (balance-windows): Rewrite in terms of window tree functions,
13818 balance-windows-1 and balance-windows-2.
13819 (bw-adjust-window): Remove.
13820 (balance-windows-area-adjust): New function with functionality of
13821 bw-adjust-window but using resize-window.
2b75be67
SM
13822 (set-window-text-height): Rewrite doc-string.
13823 Use normalize-live-window and resize-window.
13824 (enlarge-window-horizontally, shrink-window-horizontally):
13825 Rename argument to DELTA.
6198ccd0
MR
13826 (window-buffer-height): New function.
13827 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13828 Rewrite using new window resize routines.
2b75be67
SM
13829 (kill-buffer-and-window, mouse-autoselect-window-select):
13830 Use ignore-errors instead of condition-case.
6198ccd0
MR
13831 (quit-window): Call delete-frame instead of delete-windows-on
13832 for the only buffer on frame.
13833
9397e56f
MR
138342011-06-10 Martin Rudalics <rudalics@gmx.at>
13835
13836 * loadup.el (top-level): Load window before files for the sake
13837 of replace-buffer-in-windows.
13838
13839 * files.el (read-buffer-to-switch)
13840 (switch-to-buffer-other-window)
2b75be67
SM
13841 (switch-to-buffer-other-frame, display-buffer-other-frame):
13842 Move to window.el.
9397e56f
MR
13843
13844 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13845 (previous-buffer): Move to window.el.
13846
13847 * bindings.el (unbury-buffer): Move to window.el.
13848
13849 * window.el (delete-other-windows-vertically): Move after
13850 definition of delete-other-windows.
13851 (other-window, delete-windows-on, replace-buffer-in-windows):
13852 Move here from window.c.
13853 (record-window-buffer, unrecord-window-buffer)
13854 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13855 (switch-to-next-buffer): New functions.
13856 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13857 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13858 (previous-buffer): Move here from simple.el.
13859 Call switch-to-prev-buffer.
9397e56f
MR
13860 (bury-buffer): Move here from buffer.c. Switch to previous
13861 buffer when window cannot be deleted.
13862 (unbury-buffer): Move here from bindings.el.
13863 (ctl-x-map): Move binding for other-window from window.c to
13864 here.
13865 (read-buffer-to-switch, switch-to-buffer-other-window)
13866 (switch-to-buffer-other-frame): Move here from files.el.
13867 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13868 (switch-to-buffer): Move here from buffer.c.
13869 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13870
562dd5e9
MR
138712011-06-10 Martin Rudalics <rudalics@gmx.at>
13872
13873 * window.el (window-min-height, window-min-width): Move here
13874 from window.c. Add defcustoms and rewrite doc-strings.
13875 (resize-mini-window, resize-window): New functions.
13876 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13877 Move here from window.c.
13878 (maximize-window, minimize-window): New functions.
13879 (delete-window, delete-other-windows, split-window): Move here
13880 from window.c.
13881 (window-split-min-size): New function.
13882 (split-window-keep-point): Mention split-window-above-each-other
13883 instead of split-window-vertically.
2b75be67 13884 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13885 Rename split-window-vertically to split-window-above-each-other
13886 and provide defalias for old definition.
13887 (split-window-side-by-side, split-window-horizontally):
13888 Rename split-window-horizontally to split-window-side-by-side
13889 and provide defalias for the old definition.
562dd5e9
MR
13890 (ctl-x-map): Move bindings for delete-window,
13891 delete-other-windows and enlarge-window here from window.c.
13892 Replace bindings for split-window-vertically and
13893 split-window-horizontally by bindings for
13894 split-window-above-each-other and split-window-side-by-side.
13895
13896 * cus-start.el (all): Remove entries for window-min-height and
13897 window-min-width. Add entries for window-splits and
13898 window-nest.
13899
f0da764a
GM
139002011-06-09 Glenn Morris <rgm@gnu.org>
13901
80675c21
GM
13902 * calendar/appt.el (appt-mode-line): New function.
13903 (appt-check, appt-disp-window): Use it.
13904
f0da764a
GM
13905 * files.el (hack-one-local-variable-eval-safep):
13906 Allow minor-modes with explicit +/-1 arguments.
13907
59f623b7
TZ
139082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13909
13910 * term/xterm.el (xterm): Add defgroup.
13911 (xterm-extra-capabilities): Add defcustom to supply known xterm
13912 capabilities, skip querying them, or query them (default).
13913 (terminal-init-xterm): Use it.
13914 (terminal-init-xterm-modify-other-keys): New function to set up
13915 modifyOtherKeys support to simplify `terminal-init-xterm'.
13916
9aab8e0d
MR
139172011-06-09 Martin Rudalics <rudalics@gmx.at>
13918
13919 * window.el (resize-window-reset, resize-window-reset-1)
13920 (resize-subwindows-skip-p, resize-subwindows-normal)
13921 (resize-subwindows, resize-other-windows, resize-this-window)
13922 (resize-root-window, resize-root-window-vertically)
13923 (window-deletable-p, window-or-subwindow-p)
13924 (frame-root-window-p): New functions.
13925
e8b08aee
GM
139262011-06-09 Glenn Morris <rgm@gnu.org>
13927
13928 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13929 (ange-ftp-get-files): Use it.
13930
254c37a5
AK
139312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13932
13933 * mail/sendmail.el (mail-recover-1, mail-recover):
13934 * files.el (recover-file, recover-session):
13935 Handle dired-listing-switches not being just a single short option.
13936
35d7dbd3
GM
139372011-06-09 Glenn Morris <rgm@gnu.org>
13938
13939 * calendar/appt.el (appt-display-message, appt-disp-window):
13940 Handle lists of appointments.
13941
387522b2
MR
139422011-06-08 Martin Rudalics <rudalics@gmx.at>
13943
2b75be67
SM
13944 * window.el (one-window-p): Move down in code.
13945 Rewrite doc-string.
13946 (window-current-scroll-bars): Rewrite doc-string.
13947 Normalize live window argument.
387522b2
MR
13948 (walk-windows, get-window-with-predicate, count-windows):
13949 Rewrite doc-string. Use window-list-1.
13950 (window-in-direction-2, window-in-direction, get-mru-window):
13951 New functions.
13952
d8e4b68b 139532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13954
13955 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13956 Doc fix (Bug#8713).
13957
139582011-06-08 Chong Yidong <cyd@stupidchicken.com>
13959
13960 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13961
139622011-06-08 Juanma Barranquero <lekktu@gmail.com>
13963
13964 * loadhist.el (unload-feature-special-hooks):
13965 Add `comint-output-filter-functions'.
13966
0de12c52
IK
139672011-06-08 Ivan Kanis <gnu@kanis.fr>
13968
13969 * calendar/appt.el (appt-check): Move some initializations into the let.
13970
f3d1777e
MR
139712011-06-08 Martin Rudalics <rudalics@gmx.at>
13972
13973 * window.el (window-height): Defalias to window-total-height.
13974 (window-width): Defalias to window-body-width.
13975
18af70d0
CY
139762011-06-07 Chong Yidong <cyd@stupidchicken.com>
13977
13978 * image-mode.el (image-toggle-animation): New command.
13979 (image-mode-map): Bind it to RET.
13980 (image-mode): Update message.
13981 (image-toggle-display-image): Avoid a spurious cache flush.
13982 (image-transform-rotation): Doc fix.
13983 (image-transform-properties): Return quickly in the normal case.
13984 (image-animate-loop): Rename from image-animate-max-time.
13985
2b75be67 13986 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13987 (create-animated-image): Remove unnecessary function.
13988 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13989 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13990 (image-animate-timer): Use car-safe.
13991 (image-animate-timeout): Rename argument.
13992
190b47e6
MR
139932011-06-07 Martin Rudalics <rudalics@gmx.at>
13994
13995 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13996 window.c. Rename first argument to ALL-FRAMES.
13997 Rephrase doc-strings.
13998 (get-buffer-window-list): Rewrite using window-list-1.
13999 Rephrase doc-string.
a1511caf
MR
14000 (window-safe-min-height, window-safe-min-width): New constants.
14001 (window-size-ignore, window-min-size, window-min-size-1)
14002 (window-sizable, window-sizable-p, window-size-fixed-1)
14003 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14004 (window-max-delta-1, window-max-delta, window-resizable)
14005 (window-resizable-p, window-total-height, window-total-width)
14006 (window-body-width): New functions.
14007 (window-full-height-p, window-full-width-p): Rewrite using
14008 window-total-size.
14009 (window-body-height): Rewrite using window-body-size.
190b47e6 14010
85cc1f11
MR
140112011-06-06 Martin Rudalics <rudalics@gmx.at>
14012
14013 * window.el (window-right, window-left, window-child)
14014 (window-child-count, window-last-child, window-any-p)
14015 (normalize-live-buffer, normalize-live-frame)
14016 (normalize-any-window, normalize-live-window)
14017 (window-iso-combination-p, window-iso-combined-p)
14018 (window-iso-combinations)
14019 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14020 (windows-with-parameter, window-with-parameter)
14021 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14022 (window-atom-check, window-side-check, window-check):
14023 New functions.
85cc1f11
MR
14024 (ignore-window-parameters, window-sides, window-sides-vertical)
14025 (window-sides-slots): New variables.
14026 (window-size-fixed): Move down in code. Minor doc-string fix.
14027
e7156492
AS
140282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14029
14030 * comint.el (comint-dynamic-complete-as-filename)
14031 (comint-dynamic-complete-filename): Correctly call
14032 completion-in-region.
14033
7e821d0d
DD
140342011-06-05 Deniz Dogan <deniz@dogan.se>
14035
14036 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14037 in last change.
14038
ac09b8a1
DD
140392011-06-05 Deniz Dogan <deniz@dogan.se>
14040
14041 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14042 (rcirc): Use it to prompt for encryption.
14043
34699b85
RW
140442011-06-05 Roland Winkler <winkler@gnu.org>
14045
14046 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14047 (bibtex-search-entries): New command bound to C-c C-a.
14048 (bibtex-display-entries): New function.
14049
004dedd3
RW
140502011-06-05 Roland Winkler <winkler@gnu.org>
14051
14052 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14053 (bibtex-insert-kill): After yanking insert newline if necessary.
14054 (bibtex-initialize): Call bibtex-string-files-init only once.
14055 (bibtex-mode): Do not call easy-menu-add.
14056 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14057 (bibtex-yank): Set arg properly if nil.
14058
022fe7ce
RW
140592011-06-05 Roland Winkler <winkler@gnu.org>
14060
2b75be67
SM
14061 * textmodes/bibtex.el (bibtex-search-entry-globally):
14062 New variable.
022fe7ce
RW
14063 (bibtex-search-entry): Use it.
14064
b7c3692a
RW
140652011-06-05 Roland Winkler <winkler@gnu.org>
14066
14067 * textmodes/bibtex.el (bibtex-entry-format): New option
14068 sort-fields.
14069 (bibtex-format-entry, bibtex-reformat): Honor this option.
14070 (bibtex-parse-entry): Return fields in proper order.
14071
8eda563d
JB
140722011-06-05 Juanma Barranquero <lekktu@gmail.com>
14073
14074 * doc-view.el (doc-view-remove-if): Move computation of result out
14075 of `dolist' to silence misleading lexical-binding warning.
14076
7dbe3dbc
CY
140772011-06-04 Chong Yidong <cyd@stupidchicken.com>
14078
14079 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14080 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14081
0c33dd17
MA
140822011-06-04 Michael Albinus <michael.albinus@gmx.de>
14083
14084 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14085 "SunOS 5.10".
14086
f8f91c2b
MA
140872011-06-04 Michael Albinus <michael.albinus@gmx.de>
14088
14089 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14090 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14091 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14092 (tramp-parse-putty):
14093 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14094 (tramp-completion-function-alist-ssh)
14095 (tramp-completion-function-alist-telnet)
14096 (tramp-completion-function-alist-su)
14097 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14098 cookie.
14099
14100 * net/tramp-ftp.el:
14101 * net/tramp-sh.el:
14102 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14103 load "tramp.el" `tramp-set-completion-function'.
14104
e17d9003
SM
141052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * shell.el: Require and use pcomplete.
14108 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14109 (shell-completion-vars): Set pcomplete-default-completion-function.
14110
6c4cab03
DD
141112011-06-04 Deniz Dogan <deniz@dogan.se>
14112
14113 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14114 `memq' (Bug#8799).
14115
ea9fafe0
SM
141162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14117
14118 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14119
b3e945d3
JB
141202011-06-02 Juanma Barranquero <lekktu@gmail.com>
14121
14122 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14123 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14124 * vc/log-view.el (log-view-beginning-of-defun):
14125 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14126 (smerge-refine-forward, smerge-refine-chopup-region):
14127 Silence warning for unused `dotimes' counter variables.
14128
7d520089
SM
141292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14130
14131 * net/tramp.el (tramp-with-progress-reporter): Rename from
14132 with-progress-reporter. Use `declare'.
14133 * net/tramp-smb.el:
14134 * net/tramp-sh.el:
14135 * net/tramp-gvfs.el: Update all uses.
14136
a1c2400f
JB
141372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14138
14139 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14140 buffer isn't killed before making it current.
14141
2403c841
SM
141422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14143
14144 Silence various byte-compiler warnings.
14145 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14146 `access-type' and new obsolescence format.
14147 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14148 new format.
14149 (byte-compile-check-variable): New `access-type' argument.
14150 Only warn if the access-type is obsolete.
14151 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14152 (byte-compile-variable-set): Adjust callers.
14153 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14154 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14155 setting it as obsolete.
14156 * simple.el (minibuffer-completing-symbol):
14157 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14158 access as obsolete.
14159 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14160 obsolete yet.
14161 * international/quail.el (quail-mouse-choose-completion): Remove unused
14162 code referring to obsolete var.
14163 (quail-choose-completion-string): Remove.
14164 * server.el (server-clients-with, server-kill-buffer-query-function)
14165 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14166 * proced.el (proced-send-signal):
14167 * emacs-lisp/lisp.el (lisp-complete-symbol):
14168 Replace completion-annotate-function with completion-extra-properties.
14169
2462470b
SM
141702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14171
fb5b2591
SM
14172 * simple.el (goto-line): Use read-number.
14173 (overriding-map-is-bound): Remove.
14174 (saved-overriding-map): Change default.
14175 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14176 Take the map as argument.
14177 (universal-argument, negative-argument, digit-argument): Use it.
14178 (restore-overriding-map): Adjust.
14179 (do-auto-fill): Use fill-forward-paragraph.
14180 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14181
fd6fa53f
SM
14182 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14183 (minibuffer-inactive-mode): New major mode.
14184 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14185 the *Messages* buffer" hack.
14186 (mouse-popup-menubar): Don't burp if the event is a normal key.
14187
2462470b
SM
14188 Miscellaneous tweaks.
14189 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14190 lexical scoping as in subr.el's dolist and dotimes.
14191 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14192 Silence compiler warning.
14193 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14194 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14195 * international/ccl.el (ccl-compile): Trivial simplification.
14196 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14197 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14198 `printflag' argument.
14199 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14200 Purecopy the whole obsolescence data.
14201
108bf785
LL
142022011-06-01 Leo Liu <sdl.web@gmail.com>
14203
14204 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14205 improve doc-string as suggested by Marco Pessotto
14206 <melmothx@gmail.com>.
14207 (rcirc-print): Fix last change.
14208
30a23501
SM
142092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * minibuffer.el (complete-with-action): Return nil for the metadata and
14212 boundaries of non-functional tables.
14213 (completion-table-dynamic): Return nil for the metadata.
14214 (completion-table-with-terminator): Add default case, using
14215 complete-with-action.
14216 (completion--metadata): New function.
14217 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14218 to try and avoid pathological performance problems.
14219 (completion--embedded-envvar-table): Return `category' metadata.
14220
bcd54f83
LMI
142212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14222
14223 * subr.el (process-alive-p): New tiny convenience function.
14224
e227544d
SM
142252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14228 content but also its previous major mode.
14229
e8296fdc
HE
142302011-05-31 Helmut Eller <eller.helmut@gmail.com>
14231
4d61f28d 14232 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14233 *Backtrace* buffer when we exit with C-M-c.
14234
620c53a6
SM
142352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14236
14237 * minibuffer.el: Add metadata method to completion tables.
14238 (completion-category-overrides): New defcustom.
14239 (completion-metadata, completion--field-metadata)
14240 (completion-metadata-get, completion--styles)
14241 (completion--cycle-threshold): New functions.
14242 (completion-try-completion, completion-all-completions):
14243 Add `metadata' argument to choose completion-styles.
14244 (completion--do-completion): Use metadata to choose cycling.
14245 (completion-all-sorted-completions): Use metadata for sorting.
14246 Remove :completion-cycle-penalty which is not needed any more.
14247 (completion--try-word-completion): Add `metadata' argument.
14248 (minibuffer-completion-help): Check metadata for annotation function
14249 and sorting.
14250 (completion-file-name-table): Return `category' metadata.
14251 (minibuffer-completing-file-name): Make obsolete.
14252 * simple.el (minibuffer-completing-symbol): Make obsolete.
14253 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14254 completion-try-completion.
14255
1257e755
SM
142562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14259
3767e706
LL
142602011-05-30 Leo Liu <sdl.web@gmail.com>
14261
14262 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14263 (rcirc-print): Decode all incoming messages (bug#8744).
14264 (rcirc-decode-coding-system): Allow value nil for automatic coding
14265 system detection.
3767e706 14266
d1a5d56a
GM
142672011-06-01 Glenn Morris <rgm@gnu.org>
14268
14269 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14270
e8cbec34
CY
142712011-05-29 Chong Yidong <cyd@stupidchicken.com>
14272
14273 * image.el (image-animate-max-time): Allow nil and t values.
14274 Default to nil.
14275 (create-animated-image): Doc fix.
14276 (image-animate-start): Remove second arg; just use
14277 image-animate-max-time.
14278 (image-animate-timeout): Doc fix. Args changed.
14279
14280 * image-mode.el (image-toggle-display-image): Ensure that the
14281 image spec passed to the animate timer is the same object as in
58179cce 14282 the buffer's display property (Bug#6981).
e8cbec34
CY
14283 (image-transform-properties): Doc fix.
14284
14285 * image.el (image-animate-max-time): Default to nil.
14286
159daf87
MR
142872011-05-29 Martin Rudalics <rudalics@gmx.at>
14288
14289 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14290 entire buffer list (Bug#8184).
14291
d66c4c7c
CY
142922011-05-29 Chong Yidong <cyd@stupidchicken.com>
14293
14294 * image.el (imagemagick-types-inhibit)
14295 (imagemagick-register-types): Doc fix.
14296
80aec780
DD
142972011-05-29 Deniz Dogan <deniz@dogan.se>
14298
14299 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14300 default.
14301
1dd3c2d9
CY
143022011-05-29 Chong Yidong <cyd@stupidchicken.com>
14303
14304 * select.el: Don't perform clipboard-manager saving in hooks;
14305 leave the hooks empty.
14306
60e56523
LL
143072011-05-28 Leo Liu <sdl.web@gmail.com>
14308
14309 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14310 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14311 (occur-edit-mode): New major mode (Bug#8463).
14312 (occur-after-change-function): New function.
14313 (occur-engine): Give Occur tags a read-only property.
14314
2b1e1a22
KR
143152011-05-28 Kevin Ryde <user42@zip.com.au>
14316
14317 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14318
5d344e88
CY
143192011-05-28 Chong Yidong <cyd@stupidchicken.com>
14320
8e6ca83d
CY
14321 * bindings.el (help-echo): Make the initial non-indicator dash
14322 empty on graphical terminals (Bug#7295).
14323
5d344e88
CY
14324 * files.el (auto-mode-alist): Move config rule after the
14325 in-stripping one (Bug#8547).
14326
bfbbace7
CY
14327 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14328
fbeba6e2
CY
14329 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14330 setting (Bug#8740).
14331
60ed8c72
AA
143322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14333
4ac619f0
AA
14334 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14335 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14336 (Bug#8539).
60ed8c72 14337
23db196e
CY
143382011-05-28 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14341
5012f24c
DK
143422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14343
14344 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14345 (hs-hide-block-at-point, hs-find-block-beginning)
14346 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14347 (Bug#8279).
14348
6a639b16
GM
143492011-05-28 Glenn Morris <rgm@gnu.org>
14350
14351 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14352
d43eaf2c
CY
143532011-05-28 Chong Yidong <cyd@stupidchicken.com>
14354
5199bde1
CY
14355 * help-fns.el (describe-function-1): If the function is a derived
14356 major mode, print the parent mode.
14357
d43eaf2c
CY
14358 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14359 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14360
423428a8
SM
143612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14362
0ff8e1ba 14363 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14364 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14365 * progmodes/etags.el (tags-completion-at-point-function):
14366 * info-look.el (info-lookup-completions-at-point): Mark as
14367 non-exclusive.
14368 (info-complete): Adjust accordingly.
14369
423428a8
SM
14370 * info-look.el: Convert to lexical-binding and completion-at-point.
14371 (info-lookup-completions-at-point): New function.
14372 (info-complete): Use it and completion-in-region.
14373
b74aa22b
DA
143742011-05-28 Drew Adams <drew.adams@oracle.com>
14375
14376 * isearch.el: Let M-e start with point at the first mismatched char.
14377 (isearch-fail-pos): New function.
14378 (isearch-edit-string): Use it.
14379
66e2e71d
DK
143802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14381
14382 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14383
b1890b0f 143842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14385
14386 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14387 traversal functions for avl-trees.
14388 (avl-tree--stack): New struct.
14389 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14390 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14391 (avl-tree--do-enter): Add optional `updatefun' arg.
14392 Change return value.
eb95d01d 14393 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14394 (avl-tree--do-delete): Add `test' and `nilflag' args.
14395 Change return value.
eb95d01d
TC
14396 (avl-tree-member): Add optional `nilflag'
14397 (avl-tree-member-p): New function.
14398 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14399 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14400 (avl-tree-stack-empty-p): New functions.
14401
3769ddcf
TC
14402 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14403 avl-tree--del-balance1 and make it work both ways.
14404 (avl-tree--del-balance2): Remove.
14405 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14406 make it work both ways.
14407 (avl-tree--enter-balance2): Remove.
14408 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14409 New macros.
14410 (avl-tree--mapc, avl-tree-map): Add direction argument.
14411
eb95d01d 144122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14413
14414 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14415
a9f737ee
CY
144162011-05-27 Chong Yidong <cyd@stupidchicken.com>
14417
14418 * select.el: Support clipboard managers with built-in function
14419 x-clipboard-manager-save, via delete-frame-functions and
14420 kill-emacs-hook.
14421 (xselect-convert-to-targets): Add MULTIPLE target to list.
14422 (xselect-convert-to-save-targets): New function.
14423
c92a1e54
KH
144242011-05-27 Kenichi Handa <handa@m17n.org>
14425
14426 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14427 let-binding rfc2047-encode-encoded-words to nil.
14428
e145f188
GM
144292011-05-27 Glenn Morris <rgm@gnu.org>
14430
5ec8a862
GM
14431 * mail/emacsbug.el: Don't require url-util.
14432
4b29d9fb
GM
14433 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14434
e145f188
GM
14435 * files.el (set-auto-mode):
14436 Also respect mode: entries at the end of the file. (Bug#8586)
14437
7d15102b
GM
144382011-05-26 Glenn Morris <rgm@gnu.org>
14439
98f593b8
GM
14440 * files.el (hack-local-variables-prop-line, hack-local-variables):
14441 Downcase mode names, as seems to be traditional.
27b48e63 14442 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14443
7d15102b
GM
14444 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14445 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14446
51d5b4ec
JD
144472011-05-25 Julien Danjou <julien@danjou.info>
14448
14449 * textmodes/rst.el (rst-define-level-faces): Do not define face
14450 symbol if it is already defined.
14451
91513f63
VB
144522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14453
14454 * play/5x5.el (5x5-new-game, 5x5-randomize):
14455 Reset 5x5-solver-output to nil when a new grid is cast.
14456 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14457 these debugging traces, as defmacro breaks the compiled code.
14458
4d90d6d0
DK
144592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14460
14461 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14462
e1b90ef6
LL
144632011-05-24 Leo Liu <sdl.web@gmail.com>
14464
14465 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14466 (vc-bzr-sha1): Adapt.
14467
d8e4b68b 14468 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14469
14470 * bindings.el: Provide sha1 feature.
14471
db0406bb 144722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14473
14474 * mail/sendmail.el: Require `rfc2047'.
14475 (mail-insert-from-field): Do not perform RFC2047 encoding.
14476 (mail-encode-header): New function.
14477 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14478 buffer to the return value of select-message-coding-system.
14479 Call mail-encode-header.
b8d747b9
KH
14480
14481 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14482
db0406bb 144832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14484
4d90d6d0
DK
14485 * mail/supercite.el (sc-default-cite-frame):
14486 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14487
eb8a5e9b
GM
144882011-05-24 Glenn Morris <rgm@gnu.org>
14489
f8630703
GM
14490 * progmodes/python.el (brm-menu): Declare.
14491
8831bbed
GM
14492 * emulation/viper.el (viper-set-hooks): Declare.
14493
eb8a5e9b
GM
14494 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14495 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14496 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14497 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14498 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14499 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14500
a2a25d24
SM
145012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 Add an :exit-function for completion-at-point.
14504
14505 * minibuffer.el (completion--done): New fun.
14506 (completion--do-completion): Use it. New arg `expect-exact'.
14507 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14508 since completion--do-completion does it for us now.
14509 (minibuffer-force-complete): Use completion--done and
14510 completion--replace. Handle sole-completion case with more care.
14511 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14512 (completion-extra-properties): New var.
14513 (completion-annotate-function): Make obsolete.
14514 (minibuffer-completion-help): Adjust accordingly.
14515 Use completion-list-insert-choice-function.
14516 (completion-at-point, completion-help-at-point):
14517 Bind completion-extra-properties.
14518 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14519 * simple.el (completion-list-insert-choice-function): New var.
14520 (completion-setup-function): Preserve it.
14521 (choose-completion): Pay attention to it, shuffle the code a bit.
14522 (choose-completion-string): New arg `insert-function'.
14523
14524 * textmodes/bibtex.el: Convert to lexical binding.
14525 (bibtex-mode-map): Use completion-at-point.
14526 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14527 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14528 (bibtex-complete): Define as obsolete alias.
14529 (bibtex-complete-internal): Remove.
14530 (bibtex-format-entry): Remove unused sub-group in regexp.
14531 * shell.el (shell--command-completion-data)
14532 (shell-environment-variable-completion):
14533 * pcomplete.el (pcomplete-completions-at-point):
14534 * comint.el (comint--complete-file-name-data): Use :exit-function
14535 instead of completion-table-with-terminator so it also works for
14536 choose-completion.
14537
e44e373d
SM
145382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14539
4f91a816
SM
14540 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14541
782fc819
SM
14542 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14543 (bug#8710).
14544
e44e373d
SM
14545 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14546
381987c3
KM
145472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14548
14549 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14550 customization variable and implement: If non-nil, auto-fill will
14551 be inhibited while on topic's header line.
14552
b776bc70
VB
145532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14554
14555 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14556 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14557 always have a solution in grid size = 5 cases.
14558 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14559 (5x5-solver-output, 5x5-log-buffer): New vars.
14560 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14561 Make these variables buffer local to achieve 5x5 multi-session-ness.
14562 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14563 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14564 (5x5-solve-suggest): New funs.
14565 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14566 randomize a grid so that we ensure that there is always a solution.
14567 (5x5-make-random-grid): Allow other movement than flipping.
14568
7de88b6e
KR
145692011-05-23 Kevin Ryde <user42@zip.com.au>
14570
14571 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14572 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14573 advice and passes PREDICATE.
14574
b1ef1257
SM
145752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14576
bbca48fe
SM
14577 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14578 byte-compile-lambda if it's actually a lambda.
14579
b1ef1257
SM
14580 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14581 Fix function quoting. Use backquote better.
14582
92a9cc65
YS
145832011-05-22 Yuanle Song <sylecn@gmail.com>
14584
14585 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14586 matching (Bug#8516).
14587
f0fb8059
JA
145882011-01-22 Jari Aalto <jari.aalto@cante.net>
14589
14590 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14591 different face (Bug#8178).
14592
d5b44c93
CY
145932011-05-22 Chong Yidong <cyd@stupidchicken.com>
14594
14595 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14596 defface (Bug#8144).
14597
79106a44
SM
145982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14599
9c848d8a
SM
14600 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14601 funcall as well (bug#8712). Warn when performing those conversions.
14602 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14603
79106a44
SM
14604 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14605
88dfa756
GM
146062011-05-22 Glenn Morris <rgm@gnu.org>
14607
14608 * files.el (hack-local-variables-prop-line): Small simplifications.
14609 (hack-local-variables, hack-local-variables-prop-line):
14610 If MODE-ONLY, return the mode, rather than just `t'.
14611
b7cf2c79
SM
146122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14613
14614 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14615
3f1a8558
GM
146162011-05-21 Glenn Morris <rgm@gnu.org>
14617
7e4ccca3
GM
14618 * files.el (hack-local-variables-prop-line, hack-local-variables):
14619 If only interested in the mode, don't bother doing the other stuff.
14620
637d46ca
GM
14621 * image-mode.el (image-after-revert-hook):
14622 Redraw all frames on which the image is visible. (Bug#8567)
14623
973d955b
GM
14624 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14625
3f1a8558
GM
14626 * wid-edit.el (widget-checklist-match-inline):
14627 Fix 2011-04-19 change. (Bug#8649)
14628
96479927
SM
146292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14630
1dcf791f
SM
14631 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14632 Also allow singlespace after single-letter capitals followed by a dot.
14633
96479927
SM
14634 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14635 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14636
35fd0881
N
146372011-05-20 Nix <nix@esperi.org.uk>
14638
14639 * files.el (basic-save-buffer-2):
14640 Fix handling of break-hardlink-on-save with non-existent files.
14641
82745640
DD
146422011-05-19 Deniz Dogan <deniz@dogan.se>
14643
14644 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14645 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14646
4a720484
GM
146472011-05-19 Glenn Morris <rgm@gnu.org>
14648
d1f21341
GM
14649 * progmodes/f90.el (f90-type-def-re):
14650 Handle "type, bind(c)". (Bug#8691)
14651
4a720484
GM
14652 * emacs-lisp/autoload.el (batch-update-autoloads):
14653 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14654
2fb0a219
MA
146552011-05-18 Michael Albinus <michael.albinus@gmx.de>
14656
14657 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14658 property for the correct connection in case of multihops.
14659
e565dd37
GM
146602011-05-18 Glenn Morris <rgm@gnu.org>
14661
c2571358 14662 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14663 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14664
e565dd37
GM
14665 Rationalize calendar handling of day and month abbrev-arrays.
14666 * calendar/calendar.el (calendar-customized-p): New function.
14667 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14668 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14669 Add :set function.
14670 (calendar-abbrev-length, calendar-day-abbrev-array)
14671 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14672 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14673 Elements may no longer be nil.
14674 (calendar-day-name, calendar-month-name):
14675 Update for changed nature of abbrev arrays.
14676 * calendar/diary-lib.el (diary-name-pattern):
14677 Update for changed nature of abbrev arrays.
14678 (diary-mark-entries-1): Update calendar-make-alist calls.
14679 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14680 * calendar/cal-html.el (cal-html-day-abbrev-array):
14681 Simply inherit from calendar-day-abbrev-array.
14682
1d99a745
SM
146832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14684
14685 * progmodes/grep.el (grep-mode): Disable default
14686 compilation-directory-matcher setting (bug#8684).
14687
7c1d9aa0
MA
146882011-05-17 Michael Albinus <michael.albinus@gmx.de>
14689
14690 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14691 instead of "head" and "tail". There were problems with SunOS 5.9,
14692 and it performs better.
14693
3952e9d8
GM
146942011-05-17 Glenn Morris <rgm@gnu.org>
14695
2dd12e7f
GM
14696 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14697
e4157b9c
GM
14698 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14699 Replace obsolete function.
14700
8e249bbd
GM
14701 * shell.el (pcomplete-parse-arguments-function): Declare.
14702
3952e9d8
GM
14703 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14704 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14705 (appt-check): Doc fixes.
14706 (appt-disp-window-function, appt-delete-window-function):
14707 Remove needless special case in custom :type.
14708 (appt-display-count): Default to 0, not nil.
14709 (appt-check): Reset appt-display-count to 0, not nil.
14710
c71a0d48 147112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14712
c71a0d48
GM
14713 * progmodes/python.el (python-font-lock-keywords):
14714 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14715
31d55be9
SM
147162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14719
3bfacb2f
KR
147202011-05-16 Kevin Ryde <user42@zip.com.au>
14721
14722 * info-look.el (makefile-automake-mode): New setups, looking in
14723 automake manual, then makefile-mode.
14724 (makefile-mode): Remove automake manual, have it just in
14725 makefile-automake-mode since there's various things different or
14726 not relevant to plain make.
14727 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14728 believe a hypothetical automake-mode would go to makefile-mode,
14729 not the other way around.
14730
c8e83751
CY
147312011-05-15 Chong Yidong <cyd@stupidchicken.com>
14732
5e9e35cd
CY
14733 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14734 hunk-end tags (Bug#8672).
14735
c8e83751
CY
14736 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14737 vc-annotate-show-diff-revision-at-line (Bug#8671).
14738
50b23e5a
GM
147392011-05-14 Glenn Morris <rgm@gnu.org>
14740
7210a739
GM
14741 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14742 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14743 (change-log-font-lock-keywords): Also handle multiple author lines
14744 with leading tabs. (Bug#8644)
7210a739 14745
4691905a
GM
14746 * calendar/appt.el (appt-check): Rename some local variables.
14747 Some simplification/reordering.
14748
50b23e5a
GM
14749 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14750 (feedmail-sendmail-f-doesnt-sell-me-out)
14751 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14752 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14753 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14754 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14755 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14756 (feedmail-binmail-gnulinuxish-template):
14757 Rename from feedmail-binmail-linuxish-template.
14758 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14759 Use insert-buffer-substring.
14760
215cda7c
BC
147612011-05-14 Bill Carpenter <bill@carpenter.org>
14762
14763 * mail/feedmail.el (feedmail-patch-level): Increase.
14764 (feedmail-debug): New custom group.
14765 (feedmail-confirm-outgoing-timeout)
14766 (feedmail-sendmail-f-doesnt-sell-me-out)
14767 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14768 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14769 (feedmail-sender-line, feedmail-from-line)
14770 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14771 (feedmail-spray-this-address)
215cda7c
BC
14772 (feedmail-spray-address-fiddle-plex-list)
14773 (feedmail-queue-use-send-time-for-date)
14774 (feedmail-queue-use-send-time-for-message-id)
14775 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14776 (feedmail-buffer-eating-function):
14777 Doc fixes.
14778 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14779 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14780 (feedmail-message-action-scroll-down): New functions.
14781 (feedmail-queue-directory, feedmail-queue-draft-directory):
14782 Use expand-file-name.
14783 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14784 Remove C-v help entry.
14785 (feedmail-queue-buffer-file-name): New variable.
14786 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14787 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14788 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14789 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14790 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14791 (feedmail-message-action-toggle-spray)
14792 (feedmail-run-the-queue-no-prompts)
14793 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14794 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14795 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14796 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14797 (feedmail-envelope-deducer, feedmail-fiddle-from)
14798 (feedmail-fiddle-sender, feedmail-default-date-generator)
14799 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14800 (feedmail-fiddle-spray-address)
14801 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14802 (feedmail-fiddle-list-of-fiddle-plexes)
14803 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14804 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14805 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14806 Change default. Doc fix.
14807 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14808 (feedmail-binmail-linuxish-template): New constant.
14809 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14810 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14811 (feedmail-send-it): Add debug call.
14812 Use feedmail-queue-buffer-file-name, and
14813 feedmail-send-it-immediately-wrapper.
14814 (feedmail-message-action-send): Add debug call.
14815 Use feedmail-send-it-immediately-wrapper.
14816 (feedmail-queue-express-to-queue): Add debug call.
14817 Run feedmail-queue-express-hook.
14818 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14819 (feedmail-message-action-help-blat):
14820 Rename from feedmail-queue-send-edit-prompt-help-first.
14821 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14822 Check line-endings. Handle errors better.
14823 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14824 Doc fix. Add debug call.
14825 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14826 Use feedmail-queue-send-edit-prompt-inner.
14827 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14828 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14829 from feedmail-queue-send-edit-prompt.
14830 (feedmail-queue-send-edit-prompt-help)
14831 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14832 (feedmail-tidy-up-slug): Add debug call.
14833 Respect feedmail-queue-slug-suspect-regexp.
14834 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14835 (feedmail-dump-message-to-queue): Add debug call.
14836 Expand queue-directory.
14837 (feedmail-dump-message-to-queue): Change message slightly.
14838 Use feedmail-say-chatter.
14839 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14840 (feedmail-send-it-immediately-wrapper): New function.
14841 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14842 Insert empty string rather than newline. Handle full-frame case.
14843 Use catch/throw. Use feedmail-say-chatter.
14844 (feedmail-fiddle-from): Try mail-host-address.
14845 (feedmail-default-message-id-generator): Doc fix.
14846 Bind system-time-locale. Handle missing end.
14847 (feedmail-fiddle-x-mailer): Add debug call.
14848 Handle feedmail-x-mailer-line being nil.
14849 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14850 Add debug call. Use buffer-substring-no-properties.
14851 (feedmail-say-debug, feedmail-say-chatter): New functions.
14852 (feedmail-find-eoh): Give an explicit error.
14853
42c7e61e
UJ
148542011-05-13 Ulf Jasper <ulf.jasper@web.de>
14855
c2571358 14856 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14857 family from helvetica to sans.
c2571358 14858 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14859 etc/images/newsticker.
14860
c2571358 14861 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14862 family from helvetica to sans.
14863
14864 * net/newst-plainview.el (newsticker-new-item-face)
14865 (newsticker-old-item-face, newsticker-immortal-item-face)
14866 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14867 (newsticker-statistics-face): Change default family from
42c7e61e 14868 helvetica to sans.
c2571358 14869 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14870 etc/images/newsticker.
14871
5d3385a0
JB
14872 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14873 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14874 auto-marking.
14875
8497a297
DV
148762011-05-13 Didier Verna <didier@xemacs.org>
14877
14878 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14879 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14880 TODO entries.
8497a297
DV
14881 (lisp-lambda-list-keyword-parameter-indentation)
14882 (lisp-lambda-list-keyword-parameter-alignment)
14883 (lisp-lambda-list-keyword-alignment): New customizable user options.
14884 (lisp-indent-defun-method): Improve docstring.
14885 (extended-loop-p): Fix comment.
14886 (lisp-indent-lambda-list-keywords-regexp): New variable.
14887 (lisp-indent-lambda-list): New function.
14888 (lisp-indent-259): Use it.
14889 (lisp-indent-defmethod): Support for more than one
14890 method qualifier and properly indent methods lambda-lists.
14891 (defgeneric): Provide a missing common-lisp-indent-function property.
14892
f278f87f
SM
148932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14896 bounds for the empty string (bug#8667).
14897
5233edd7
GM
148982011-05-13 Glenn Morris <rgm@gnu.org>
14899
5237a44f
GM
14900 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14901
8340026c 14902 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14903 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14904
5233edd7 14905 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14906 (appt-time-msg-list): Doc fix.
a5464014 14907 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14908
92d10796
AS
149092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14910
14911 * progmodes/ld-script.el (ld-script-keywords)
14912 (ld-script-builtins): Update keywords list.
14913
914a0ae1
SM
149142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14915
c89be45f
SM
14916 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14917
914a0ae1
SM
14918 * shell.el (shell-completion-vars): New function.
14919 (shell-mode):
14920 * simple.el (read-shell-command): Use it.
14921 (blink-matching-open): No need for " [...]" in minibuffer-message.
14922
98dc3df3
GM
149232011-05-12 Glenn Morris <rgm@gnu.org>
14924
14925 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14926 (appt-check): Simplify.
14927
d2fc7e3d 149282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14929
4d61f28d 14930 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14931 literal "/dev/null".
14932
d2fc7e3d 149332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14934
14935 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14936 Fix typo.
14937
d2fc7e3d 149382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14939
3f254caa
SM
14940 * progmodes/which-func.el (which-function):
14941 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14942 which might not be defined (Bug#8260).
14943
d45885f7
GM
149442011-05-12 Glenn Morris <rgm@gnu.org>
14945
14946 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14947 Let byte-compile-initial-macro-environment always take precedence.
14948
488086f4
SM
149492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14950
14951 * net/rcirc.el: Add support for SSL/TLS connections.
14952 (rcirc-server-alist): New field `encryption'.
14953 (rcirc): Check `encryption' settings.
14954 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14955 Merge make-local-variable into `set'.
14956 (rcirc--connection-open-p): New function.
14957 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14958 the process is not a network process (e.g. running gnutls-cli).
14959 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14960 Make rcirc-(en|de)code-coding-system local here.
14961 (rcirc-mode): Merge make-local-variable into `set'.
14962 (rcirc-parent-buffer): Make permanent buffer-local.
14963 (rcirc-multiline-minor-mode): Don't do it here.
14964 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14965 there's no server buffer.
14966
7d3b9d44
GM
149672011-05-11 Glenn Morris <rgm@gnu.org>
14968
f64049c6
GM
14969 * newcomment.el (comment-kill): Prefix "unused" local.
14970
93c9df73
GM
14971 * term/w32console.el (get-screen-color): Declare.
14972
7d3b9d44
GM
14973 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14974 Handle symbol elements of byte-compile-initial-macro-environment.
14975
9e2dd53f
LL
149762011-05-10 Leo Liu <sdl.web@gmail.com>
14977
488086f4
SM
14978 * bookmark.el (bookmark-bmenu-mode-map):
14979 Bind bookmark-bmenu-search to `/'.
8b340240 14980
9e2dd53f 14981 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14982 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14983 (Footnote-unicode): New function.
14984 (footnote-style-alist): Add unicode style to the list.
14985 (footnote-style): Doc fix.
9e2dd53f 14986
79b70037
GM
149872011-05-10 Jim Meyering <meyering@redhat.com>
14988
14989 Fix doubled-word typos.
14990 * international/quail.el (quail-insert-kbd-layout): and and -> and
14991 * kermit.el: and and -> and
14992 * net/ldap.el (ldap-search-internal): to to -> to
14993 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14994 * progmodes/js.el (js-mode): and and -> and
14995 * textmodes/artist.el (artist-move-to-xy): at at -> at
14996 (artist-draw-region-trim-line-endings): if if -> if
14997 And Safetyc -> Safety.
14998 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14999
b8f82dc1 150002011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15001 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15002
15003 * files.el (hack-one-local-variable-eval-safep):
15004 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15005
4f99f44b
GM
150062011-05-10 Glenn Morris <rgm@gnu.org>
15007
15008 * calendar/diary-lib.el (diary-list-entries-hook)
15009 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15010 (diary-nongregorian-marking-hook, diary-list-entries)
15011 (diary-include-other-diary-files, diary-mark-entries)
15012 (diary-mark-included-diary-files): Doc fixes.
15013
84f29e6b
JB
150142011-05-09 Juanma Barranquero <lekktu@gmail.com>
15015
15016 * misc.el: Require tabulated-list.el during compilation.
15017
9bedd73a
CY
150182011-05-09 Chong Yidong <cyd@stupidchicken.com>
15019
488086f4
SM
15020 * progmodes/compile.el (compilation-start):
15021 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15022 (compilation-filter-hook): Doc fix.
15023
797c735c
DD
150242011-05-09 Deniz Dogan <deniz@dogan.se>
15025
15026 * wdired.el: Remove outdated installation comment. Fix usage
15027 comment.
15028
5f4b1dfe
JB
150292011-05-09 Juanma Barranquero <lekktu@gmail.com>
15030
15031 * misc.el: Implement new command `list-dynamic-libraries'.
15032 (list-dynamic-libraries--loaded-only-p): New variable.
15033 (list-dynamic-libraries--refresh): New function.
15034 (list-dynamic-libraries): New command.
15035
4c44026c
CY
150362011-05-09 Chong Yidong <cyd@stupidchicken.com>
15037
488086f4
SM
15038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15039 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15040 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15041 higher priority to avoid clobbering by gnu.
15042
027f966d
CY
150432011-05-08 Chong Yidong <cyd@stupidchicken.com>
15044
15045 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15046 if the face has existing theme settings (Bug#8454).
15047
085f5d7d
CY
150482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15049
488086f4
SM
15050 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15051 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15052
2a86a00c
RS
15053 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15054 special file names `.' and `..' (Bug#8259).
15055
d9c54a06
CY
150562011-05-08 Chong Yidong <cyd@stupidchicken.com>
15057
488086f4
SM
15058 * progmodes/grep.el (grep-mode-font-lock-keywords):
15059 Remove buffer-changing entries.
d9c54a06
CY
15060 (grep-filter): New function.
15061 (grep-mode): Add it to compilation-filter-hook.
15062
15063 * progmodes/compile.el (compilation-filter-hook)
15064 (compilation-filter-start): New defvars.
15065 (compilation-filter): Call compilation-filter-hook prior to
15066 updating the process mark.
15067
c4662635
SM
150682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15069
15070 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15071
b0512a1d
EZ
150722011-05-07 Eli Zaretskii <eliz@gnu.org>
15073
605c9376
EZ
15074 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15075 mailclient-send-it even if window-system is nil. (Bug#8595)
15076
c4662635
SM
15077 * term/w32console.el (terminal-init-w32console):
15078 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15079 background-mode. (Bug#8597)
15080
d1dc2cc2
SM
150812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15084 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15085 New functions.
15086 (defgeneric, eieio--defmethod): Use them.
15087 (eieio-defgeneric): Remove.
15088 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15089
915d1300
GM
150902011-05-07 Glenn Morris <rgm@gnu.org>
15091
a3961c3e
GM
15092 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15093 Use let rather than let*.
15094 (timeclock-find-discrep): Remove unused local.
15095
314347b9
GM
15096 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15097
915d1300
GM
15098 * calendar/appt.el (appt-time-msg-list): Doc fix.
15099
275b59b0
NF
151002011-05-06 Noah Friedman <friedman@splode.com>
15101
15102 * apropos.el (apropos-print-doc): Only use
15103 emacs-lisp-docstring-fill-column when it is bound to an integer,
15104 per that variable's documentation.
15105
6c19f744
SM
151062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15109 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15110
60f884b2
GM
151112011-05-06 Glenn Morris <rgm@gnu.org>
15112
5006e634
GM
15113 * calendar/appt.el (appt-message-warning-time): Doc fix.
15114 (appt-warning-time-regexp): New option.
15115 (appt-make-list): Respect appt-message-warning-time.
15116
548d0a63
GM
15117 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15118 New options.
15119 (diary-add-to-list): Strip comments from the displayed string.
15120 (diary-mode): Set comment-start and comment-end.
15121
60f884b2
GM
15122 * vc/diff-mode.el (smerge-refine-subst): Declare.
15123 (diff-refine-hunk): Don't require smerge-mode when compiling.
15124
989681bb
JB
151252011-05-06 Juanma Barranquero <lekktu@gmail.com>
15126
15127 * simple.el (list-processes): Return nil as the docstring says.
15128
a6bc05e1
MA
151292011-05-05 Michael Albinus <michael.albinus@gmx.de>
15130
15131 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15132 to "".
15133 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15134 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15135 determining of binary transfer. (Bug#7383)
15136
23c22e9a
MA
151372011-05-05 Michael Albinus <michael.albinus@gmx.de>
15138
c4662635
SM
15139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15140 Fix port computation bug. (Bug#8618)
23c22e9a 15141
0bff894f
GM
151422011-05-05 Glenn Morris <rgm@gnu.org>
15143
b8296902
GM
15144 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15145
1f522ce8
GM
15146 * simple.el (shell-dynamic-complete-functions)
15147 (comint-dynamic-complete-functions): Declare.
15148
cf5bee67
GM
15149 * net/network-stream.el (gnutls-negotiate):
15150 * simple.el (tabulated-list-print): Fix declarations.
15151
15152 * progmodes/gud.el (syntax-symbol, syntax-point):
15153 Remove unnecessary and incorrect declarations.
15154
0bff894f
GM
15155 * emacs-lisp/check-declare.el (check-declare-scan):
15156 Handle byte-compile-initial-macro-environment in bytecomp.el
15157
9869b3ae
SM
151582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15159
15160 Fix earlier half-done eieio-defmethod change (bug#8338).
15161 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15162 Streamline and change calling convention.
15163 (defmethod): Adjust accordingly and simplify.
15164 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15165 new eieio--defmethod.
15166 (slot-boundp): Minor CSE simplification.
15167
9c1d5ac5
MZ
151682011-05-05 Milan Zamazal <pdm@zamazal.org>
15169
15170 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15171 (glasses-make-readable): Use glasses-separate-capital-groups.
15172
455c834e
JB
151732011-05-05 Juanma Barranquero <lekktu@gmail.com>
15174
15175 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15176 (warning-series): Doc fix.
15177 (display-warning): Don't try to create the buffer if we just found it.
15178
9ed7c8cb
CY
151792011-05-04 Chong Yidong <cyd@stupidchicken.com>
15180
15181 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15182 (autoload-find-generated-file): New function.
15183 (generate-file-autoloads): Bind generated-autoload-file to
15184 buffer-file-name.
9869b3ae
SM
15185 (update-file-autoloads, update-directory-autoloads):
15186 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15187 output file (Bug#7989).
15188 (batch-update-autoloads): Doc fix.
15189
0898ca10
JB
151902011-05-04 Juanma Barranquero <lekktu@gmail.com>
15191
15192 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15193
31dfb76c
GM
151942011-05-04 Glenn Morris <rgm@gnu.org>
15195
f330b642
GM
15196 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15197 function, so it follows changes in calendar-date-style.
15198 (diary-fancy-date-matcher): New function.
15199 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15200 (diary-fancy-font-lock-fontify-region-function):
15201 Use diary-fancy-date-pattern as a function.
15202
31dfb76c
GM
15203 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15204 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15205
48e79d6a
TZ
152062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15207
15208 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15209 instead of positional arguments. Allow :keylist and :crlfiles
15210 arguments.
15211 (open-gnutls-stream): Call it.
15212
15213 * net/network-stream.el (network-stream-open-starttls): Adjust to
15214 call `gnutls-negotiate' with :process and :hostname arguments.
15215
dd5a5ee0
SM
152162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15217
ef80fc09
SM
15218 * minibuffer.el (completion--message): New function.
15219 (completion--do-completion, minibuffer-complete)
15220 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15221 (completion--do-completion): Don't ignore completion-auto-help when in
15222 icomplete-mode.
15223
dd5a5ee0
SM
15224 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15225 internal encoding (e.g. tibetan zero is not whitespace).
15226 (global-whitespace-mode): Prefer save-current-buffer.
15227 (whitespace-trailing-regexp): Remove useless save-match-data.
15228 (whitespace-empty-at-bob-regexp): Minor simplification.
15229
b7d22a83
CY
152302011-05-03 Chong Yidong <cyd@stupidchicken.com>
15231
15232 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15233
5192af46
AM
152342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15235
15236 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15237 Use `concat' to create string for insertion.
5192af46 15238
5767d190
SM
152392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15240
15241 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15242 Avoid open-line which runs post-self-insert-hook.
15243 (bibtex-fill-entry): Remove unused `end' var.
15244
bf242939
AM
152452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15246
5767d190
SM
15247 * textmodes/ispell.el (ispell-add-per-file-word-list):
15248 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15249
25666126
LL
152502011-05-03 Leo Liu <sdl.web@gmail.com>
15251
15252 * isearch.el (isearch-yank-pop): New command.
5767d190 15253 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15254 (isearch-forward): Mention it.
15255
52d3c2d0
SM
152562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15257
1bcace58
SM
15258 * simple.el (minibuffer-complete-shell-command): Remove.
15259 (minibuffer-local-shell-command-map): Use completion-at-point.
15260 (read-shell-command): Setup completion vars here instead.
15261 (read-expression-map): Bind TAB to symbol completion.
15262
52d3c2d0
SM
15263 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15264 error directly rather via storing it into `results'.
15265
35813471
LL
152662011-05-02 Leo Liu <sdl.web@gmail.com>
15267
15268 * vc/diff.el: Fix description.
15269
e793a940
LMI
152702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
15272 * server.el (server-eval-at): New function.
15273
8de66e05
LMI
152742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15275
15276 * net/network-stream.el (open-network-stream): Take a :nowait
15277 parameter and pass it on to `make-network-process'.
15278 (network-stream-open-plain): Ditto.
15279
dcb79f20
AS
152802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15281
15282 * faces.el (face-spec-set-match-display): Don't match toolkit
15283 options on terminal frames.
15284
14a7fbd8
SM
152852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15286
7eabc1be
SM
15287 * progmodes/pascal.el: Use lexical binding.
15288 (pascal-mode-map): Remove author preferences.
15289
14a7fbd8
SM
15290 * pcomplete.el (pcomplete-std-complete): Don't abuse
15291 completion-at-point.
15292
50f84510
JB
152932011-04-28 Juanma Barranquero <lekktu@gmail.com>
15294
6e087a44
JB
15295 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15296 removing code that has been dead since 1991 or so.
15297
50f84510
JB
15298 * startup.el (command-line): When warning about "_emacs", use a
15299 delayed warning to allow the user to filter it out.
15300
0ba690bd
DD
153012011-04-28 Deniz Dogan <deniz@dogan.se>
15302
15303 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15304 user has not joined.
15305
08abfaad
SM
153062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15309 aren't any completions at point.
15310
638f053a
JB
153112011-04-28 Juanma Barranquero <lekktu@gmail.com>
15312
15313 * subr.el (display-delayed-warnings): New function.
15314 (delayed-warnings-hook): New variable.
15315
8fff8daa
SM
153162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15317
08abfaad
SM
15318 * minibuffer.el (completion-at-point, completion-help-at-point):
15319 Don't presume that a given completion-at-point-function will always
15320 use the same calling convention.
15321
8fff8daa
SM
15322 * pcomplete.el (pcomplete-completions-at-point):
15323 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15324 pcomplete-seen is non-nil.
15325 (pcomplete-comint-setup): Also recognize the new comint/shell
15326 completion functions.
15327 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15328 pcomplete-seen is non-nil.
15329
841a1577 153302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15331
841a1577 15332 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15333 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15334 the first character in the entry. This allows for code to add its
211ec907
UJ
15335 own uid to the entry.
15336 (icalendar--convert-float-to-ical): Add export of
15337 `diary-float'-entries save for those with the optional DAY
15338 argument.
15339
2a782793
DC
153402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15341
15342 * subr.el (shell-quote-argument): Use alternate escaping strategy
15343 when we spot a variable reference in a string.
15344
0438ce91
DC
153452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15346
15347 * cus-start.el (all): Define customization for debug-on-event.
15348
841a1577 153492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15350
15351 * subr.el (shell-quote-argument): Escape correctly under Windows.
15352
d090ed6c
SM
153532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15356
bfd31217
MA
153572011-04-25 Michael Albinus <michael.albinus@gmx.de>
15358
d090ed6c
SM
15359 * net/tramp.el (tramp-process-actions): Add POS argument.
15360 Delete region between POS and (pos).
bfd31217 15361
d090ed6c
SM
15362 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15363 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15364 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15365
15366 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15367 position in `tramp-process-actions' call.
15368
15369 * net/trampver.el: Update release number.
15370
e92f3bd3
SM
153712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15372
850256b5
SM
15373 * custom.el (defcustom): Obey lexical-binding.
15374
e92f3bd3
SM
15375 Fix octave-inf completion problems reported by Alexander Klimov.
15376 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15377 Inherit from octave-mode-syntax-table.
15378 (inferior-octave-mode): Set info-lookup-mode.
15379 (inferior-octave-completion-at-point): New function.
15380 (inferior-octave-complete): Use it and completion-in-region.
15381 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15382 comint-filename-completion.
15383 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15384 symbol elements which shouldn't be word elements.
15385 (octave-font-lock-keywords, octave-beginning-of-defun)
15386 (octave-function-header-regexp): Adjust regexps accordingly.
15387 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15388
cd22b309
JB
153892011-04-25 Juanma Barranquero <lekktu@gmail.com>
15390
15391 * net/gnutls.el (gnutls-errorp): Declare before first use.
15392
8b492194
TZ
153932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15394
15395 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15396 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15397 default trustfile exists before going to use it. Add missing
5a5fa834 15398 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15399 Reported by Claudio Bley <claudio.bley@gmail.com>.
15400 (open-gnutls-stream): Add usage example.
15401
15402 * net/network-stream.el (network-stream-open-starttls): Give host
15403 parameter to `gnutls-negotiate'.
15404 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15405 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15406
841a1577 154072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15408
cd22b309
JB
15409 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15410 Use correct match group (bug#8438).
05842630 15411
3ba7869c
CY
154122011-04-24 Chong Yidong <cyd@stupidchicken.com>
15413
512e3ae1
CY
15414 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15415 (package-menu--generate): New arg specifying packages to show.
15416 (package-menu-refresh, package-menu-execute, list-packages):
15417 Callers changed.
15418 (package-show-package-list): New function, replacing deleted
15419 package--list-packages (renamed because it is non-internal).
15420
15421 * finder.el (finder-list-matches): Use package-show-package-list
15422 instead of deleted package--list-packages.
15423
e92f3bd3
SM
15424 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15425 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15426 (vc-annotate-mode-map): Bind it to RET.
15427
7031be6d
UR
154282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15429
15430 * progmodes/etags.el (next-file): Don't use set-buffer to change
15431 buffers (Bug#8478).
15432
4ef177aa
CY
154332011-04-24 Chong Yidong <cyd@stupidchicken.com>
15434
c8d173eb
CY
15435 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15436
4ef177aa
CY
15437 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15438 (apropos-accumulator): Doc fix.
15439 (apropos-function, apropos-macro, apropos-command)
15440 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15441 (apropos-plist): Add face property.
15442 (apropos-symbols-internal): Fix indentation.
15443 (apropos-print): Simplify help, and recognize apropos-multi-type.
15444 (apropos-print-doc): Use button-type-get to extract the button's
15445 face property. Fill docstring (Bug#8352).
15446
4ffd0d6b 154472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15448
15449 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15450
c6c32125 15451 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15452 (mpuz-mode-map): Use mapc.
c6c32125
JB
15453 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15454 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15455 Fix typos in docstrings.
15456
58d468b4
JB
15457 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15458 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15459
6470c3c6
JB
15460 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15461
4ffd0d6b 154622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15463
15464 * minibuffer.el (completion--do-completion): Avoid the "Next char
15465 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15466
3ad8bad0
CY
15467 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15468 mouse-2 into unread-command-events, it is interpreted correctly.
15469
71d73c9c 15470 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15471 (image-toggle-display): Doc fix.
71d73c9c 15472
841a1577 154732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15474
4ffd0d6b
GM
15475 * textmodes/page.el (what-page): Use line-number-at-pos to
15476 calculate line number (Bug#6825).
6e1dbaa9 15477
c2fb1b60
JB
154782011-04-22 Juanma Barranquero <lekktu@gmail.com>
15479
15480 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15481 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15482 Pass argument NO-DEFAULT to `find-tag-interactive'.
15483
e02f48d7
JB
154842011-04-22 Juanma Barranquero <lekktu@gmail.com>
15485
15486 Lexical-binding cleanup.
15487
15488 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15489 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15490 * progmodes/ada-prj.el (ada-prj-initialize-values)
15491 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15492 (ada-prj-show-value):
15493 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15494 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15495 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15496 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15497 * progmodes/bug-reference.el (bug-reference-push-button):
15498 * progmodes/fortran.el (fortran-line-length):
15499 * progmodes/glasses.el (glasses-change):
15500 * progmodes/octave-mod.el (octave-fill-paragraph):
15501 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15502 (python-pdbtrack-grub-for-buffer, python-sentinel):
15503 * progmodes/sql.el (sql-save-connection):
15504 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15505 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15506 Mark unused parameters.
15507
15508 * progmodes/compile.el (compilation--flush-directory-cache)
15509 (compilation--flush-parse, compile-internal): Mark unused parameters.
15510 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15511 (compilation-next-error-function): Remove unused variable `timestamp'.
15512
15513 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15514 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15515
15516 * progmodes/dcl-mode.el (dcl-end-of-command):
15517 Remove unused variable `start'.
15518 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15519 (dcl-option-value-basic, dcl-option-value-offset)
15520 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15521 Mark unused parameters.
15522 (dcl-save-local-variable): Remove unused variable `val'.
15523 (mode): Declare.
15524
15525 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15526 Mark unused parameters.
15527 (delphi-ignore-changes): Move before first use.
15528 (delphi-charset-token-at): Remove unused variable `start'.
15529 (delphi-else-start): Remove unused variable `if-count'.
15530 (delphi-comment-block-start, delphi-comment-block-end):
15531 Remove unused variable `kind'.
15532 (delphi-indent-line): Remove unused variable `new-point'.
15533
15534 * progmodes/ebrowse.el (ebrowse-files-list)
15535 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15536 Mark unused parameters. Don't quote `lambda'.
15537 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15538 Don't quote `lambda'.
15539 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15540 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15541 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15542 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15543 Use `ignore-errors'.
15544 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15545 (ebrowse-view/find-file-and-search-pattern)
15546 (ebrowse-view/find-member-declaration/definition):
15547 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15548 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15549 Rename parameter PREFIX-ARG to PREFIX.
15550 (ebrowse-tags-read-name): Remove unused variables `start' and
15551 `member-info'.
15552 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15553 to `tags-file'.
15554
15555 * progmodes/etags.el (local-find-tag-hook): Declare.
15556 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15557 Mark unused parameters.
15558
15559 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15560 (executable-interpret): Mark unused parameter.
15561
15562 * progmodes/flymake.el (flymake-process-sentinel)
15563 (flymake-after-change-function)
15564 (flymake-create-temp-with-folder-structure)
15565 (flymake-get-include-dirs-dot): Mark unused parameters.
15566 (flymake-safe-delete-directory): Remove unused variable `err'.
15567
15568 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15569 (speedbar-timer-fn, speedbar-line-text)
15570 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15571 (speedbar-center-buffer-smartly): Declare functions.
15572 (gdb-find-watch-expression): Remove unused variable `array'.
15573 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15574 (gdb-starting): Mark unused parameters.
15575 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15576 (gdb-table-string): Remove unused variable `res'.
15577 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15578 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15579 (gdb-display-buffer): Remove unused variable `cur-size'.
15580
15581 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15582 allow lexical-binding compilation.
15583 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15584 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15585 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15586 Mark unused parameters.
15587 (gud-gdb-marker-filter): Remove unused variable `match'.
15588 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15589 lambda expressions and funcall them, instead of using `fset'.
15590
15591 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15592 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15593
15594 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15595 variable `header-beg'; use `let'.
15596
15597 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15598 `restart', `last-sexp' and `at-do'.
15599
15600 * progmodes/js.el (js--debug): Mark unused parameter.
15601 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15602 (js--splice-into-items): Remove unused variable `item'.
15603 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15604
15605 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15606 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15607 (makefile-complete): Remove unused variable `try'.
15608 (makefile-fill-paragraph, makefile-match-function-end):
15609 Mark unused parameters.
15610
15611 * progmodes/octave-inf.el (inferior-octave-complete):
15612 Remove unused variable `proc'.
15613 (inferior-octave-output-digest): Mark unused parameter.
15614
15615 * progmodes/perl-mode.el (perl-calculate-indent):
15616 Remove unused variable `err'.
15617
15618 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15619 (prolog-indent-line): Mark unused parameters.
15620 (prolog-indent-line): Remove unused variable `beg'.
15621
15622 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15623 (reporter-dont-compact-list): Declare.
15624
15625 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15626 Remove unused variable `char'.
15627 (sh-debug): Mark unused parameter.
15628 (sh-get-indent-info): Remove unused variable `start'.
15629 (sh-calculate-indent): Remove unused variable `var'.
15630
15631 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15632 (simula-electric-keyword): Remove unused variable `null'.
15633 (simula-search-backward, simula-search-forward): Remove unused
15634 variables `begin' and `end'.
15635
15636 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15637 Remove unused variable `pos'.
15638 (vera-electric-tab, vera-comment-uncomment-region):
15639 Mark unused parameters.
15640 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15641
7ede3b65
CY
156422011-04-22 Chong Yidong <cyd@stupidchicken.com>
15643
15644 * emacs-lisp/package.el (package--builtins, package-alist)
15645 (package-load-descriptor, package-built-in-p, package-activate)
15646 (define-package, package-installed-p)
15647 (package-compute-transaction, package-buffer-info)
15648 (package--push): Doc fix. Distinguish more clearly between
15649 version strings and version lists.
15650
121656e9
JB
156512011-04-21 Juanma Barranquero <lekktu@gmail.com>
15652
15653 Lexical-binding cleanup.
15654
15655 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15656 (5x5-make-mutate-best):
15657 * play/fortune.el (fortune-in-buffer):
15658 * play/gomoku.el (gomoku-init-display):
15659 * play/solitaire.el (solitaire, solitaire-do-check):
15660 * play/tetris.el (tetris-default-update-speed-function):
15661 Mark unused parameters.
15662
15663 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15664 (bubbles--shift): Remove unused variable `char-org'.
15665 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15666 (bubbles--show-images): Remove unused variable `char'.
15667
15668 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15669 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15670 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15671 (decipher-analyze-buffer): Use ?\s.
15672 (decipher-make-checkpoint): Remove unused variable `mapping'.
15673
15674 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15675
15676 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15677 Remove unused variable `result'; use `let'.
15678
15679 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15680 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15681 (gametree-children-shown-p, gametree-compute-reduced-score):
15682 Use `ignore-errors'.
15683
15684 * play/handwrite.el (ps-lpr-switches): Declare.
15685 (handwrite): Remove unused variables `pmin' and `lastp'.
15686
15687 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15688
15689 * play/landmark.el (landmark-init-display)
15690 (landmark-update-naught-weights): Mark unused parameters.
15691 (landmark-y): Remove unused variable `noise'. Simplify.
15692 (landmark-human-plays): Remove unused variable `score'.
15693
15694 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15695 (mpuz-try-proposal): Remove unused variable `game'.
15696
15697 * play/zone.el (life-patterns): Declare.
15698
80f499c7
JB
156992011-04-20 Juanma Barranquero <lekktu@gmail.com>
15700
15701 * vc/vc.el (ediff-vc-internal): Declare function.
15702
024ff170
SM
157032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15704
c0a193ea
SM
15705 * shell.el: Use lexical-binding and std completion UI.
15706 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15707 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15708 comint-preoutput-filter-functions rather than on
15709 comint-output-filter-functions.
15710 (shell-command-completion, shell--command-completion-data)
15711 (shell-filename-completion, shell-environment-variable-completion)
15712 (shell-c-a-p-replace-by-expanded-directory): New functions.
15713 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15714 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15715 (shell-dynamic-complete-environment-variable): Use them.
15716 (shell-dynamic-complete-as-environment-variable)
15717 (shell-dynamic-complete-as-command): Remove.
15718 (shell-match-partial-variable): Match past point.
15719 * comint.el: Clean up use of completion-at-point-functions.
15720 (comint-completion-at-point): New function.
15721 (comint-mode): Use it completion-at-point-functions.
15722 (comint-dynamic-complete): Make it obsolete.
15723 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15724 (comint-c-a-p-replace-by-expanded-history): New function.
15725 (comint-dynamic-complete-functions)
15726 (comint-replace-by-expanded-history): Use it.
15727 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15728 termination strings. Try harder to avoid second try-completion.
15729 (completion-in-region-mode-map): Disable bindings that don't work yet.
15730
2dbaa080
SM
15731 * comint.el: Use lexical-binding. Require CL.
15732 (comint-dynamic-complete-functions): Use comint-filename-completion.
15733 (comint-completion-addsuffix): Tweak custom type.
15734 (comint-filename-completion, comint--common-suffix)
15735 (comint--common-quoted-suffix, comint--table-subvert)
15736 (comint--complete-file-name-data): New functions.
15737 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15738 (comint-dynamic-list-filename-completions): Use them.
15739 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15740
2dbaa080
SM
15741 * minibuffer.el (completion-in-region-mode):
15742 Keep completion-in-region-mode--predicate global.
15743 (completion-in-region--postch):
15744 Assume completion-in-region-mode--predicate is not null.
15745
c79a6f38
SM
15746 * progmodes/flymake.el (flymake-start-syntax-check-process):
15747 Obey `dir'. Simplify.
15748
024ff170
SM
15749 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15750 we're in VC after all.
15751
1c6c854e
CS
157522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15753
15754 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15755 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15756 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15757
bed7f140
SM
157582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15759
332e62ab
SM
15760 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15761 add sanity check.
15762
bed7f140
SM
15763 * obsolete/erc-hecomplete.el: Make obsolete.
15764 * obsolete/: Standardize obsolescence info in the header.
15765
f195c582
GM
157662011-04-20 Glenn Morris <rgm@gnu.org>
15767
15768 * calendar/solar.el (solar-horizontal-coordinates):
15769 Use the longitude argument rather than `calendar-longitude'.
15770 (solar-date-next-longitude): Remove unused locals.
15771
cb79b8c0
VJL
157722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15773
15774 * whitespace.el: New version 13.2.1.
15775
157762011-04-20 felix <EmacsWiki> (tiny change)
15777
d8e4b68b 15778 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15779 switching between major modes on a file.
15780
602ea69d
SM
157812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15784 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15785 multi-line comments as well.
15786
06b60517
JB
157872011-04-19 Juanma Barranquero <lekktu@gmail.com>
15788
15789 Lexical-binding cleanup.
15790
15791 * arc-mode.el (archive-mode-revert):
15792 * cmuscheme.el (scheme-interactively-start-process):
15793 * custom.el (custom-initialize-delay):
15794 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15795 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15796 * emacs-lock.el (emacs-lock-clear-sentinel):
15797 * ezimage.el (defezimage):
15798 * follow.el (follow-avoid-tail-recenter):
15799 * fringe.el (set-fringe-mode-1):
15800 * generic-x.el (bat-generic-mode-compile):
15801 * help-mode.el (help-info-variable, help-do-xref)
15802 (help-mode-revert-buffer):
15803 * help.el (view-emacs-todo):
15804 * iswitchb.el (iswitchb-completion-help):
15805 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15806 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15807 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15808 * locate.el (locate-update):
15809 * longlines.el (longlines-encode-region)
15810 (longlines-after-change-function):
15811 * outline.el (outline-isearch-open-invisible):
15812 * ps-def.el (declare-function, charset-dimension, char-width)
15813 (encode-char):
15814 * ps-mule.el (ps-mule-plot-string):
15815 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15816 (recentf-edit-list-select, recentf-edit-list-validate)
15817 (recentf-open-files-action):
15818 * rect.el (delete-whitespace-rectangle-line)
15819 (rectangle-number-line-callback):
15820 * register.el (window-configuration-to-register)
15821 (frame-configuration-to-register):
15822 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15823 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15824 (xselect-convert-to-targets, xselect-convert-to-delete)
15825 (xselect-convert-to-filename, xselect-convert-to-charpos)
15826 (xselect-convert-to-lineno, xselect-convert-to-colno)
15827 (xselect-convert-to-os, xselect-convert-to-host)
15828 (xselect-convert-to-user, xselect-convert-to-class)
15829 (xselect-convert-to-name, xselect-convert-to-integer)
15830 (xselect-convert-to-atom, xselect-convert-to-identity):
15831 * subr.el (declare, ignore, process-kill-without-query)
15832 (text-clone-maintain):
15833 * terminal.el (te-get-char, te-tic-sentinel):
15834 * tool-bar.el (tool-bar-make-keymap):
15835 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15836 * type-break.el (type-break-mode, type-break-noninteractive-query):
15837 * view.el (View-back-to-mark):
15838 * wid-browse.el (widget-browse-action, widget-browse-widget)
15839 (widget-browse-widgets, widget-browse-sexp):
15840 * widget.el (define-widget-keywords):
15841 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15842 Mark unused parameters.
15843
15844 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15845 (align-areas): Remove unused variable `look'.
15846 (align-region): Remove unused variables `real-end' and `pos-list'.
15847
15848 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15849
15850 * bindings.el (mode-line-modified, mode-line-remote):
15851 Mark unused parameters.
15852 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15853
15854 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15855 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15856
15857 * comint.el (comint-history-isearch-pop-state)
15858 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15859 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15860 (comint-substitute-in-file-name): Doc fix.
15861
15862 * completion.el (cmpl-statistics-block): Mark unused parameter.
15863 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15864 (save-completions-to-file, load-completions-from-file):
15865 Remove unused local variable `e'.
15866
15867 * composite.el (compose-chars): Remove unused variable `len'.
15868 (lgstring-insert-glyph): Remove unused variable `g'.
15869 (compose-glyph-string): Remove unused variables `ascent',
15870 `descent', `lbearing' and `rbearing'.
15871 (compose-glyph-string-relative): Remove unused variables
15872 `lbearing', `rbearing' and `wadjust'.
15873 (compose-gstring-for-graphic): Remove unused variables `header',
15874 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15875 (compose-gstring-for-terminal): Remove unused variables `header'
15876 and `nchars'. Use `let', not `let*'.
15877
15878 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15879 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15880 (Custom-buffer-done, custom-buffer-create-internal)
15881 (custom-browse-visibility-action, custom-browse-group-tag-action)
15882 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15883 (widget-magic-mouse-down-action, custom-toggle-parent)
15884 (custom-add-parent-links, custom-toggle-hide-variable)
15885 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15886 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15887 (custom-face-menu-create, custom-variable-menu-create, get)
15888 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15889 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15890 (customize-apropos): Remove unused variable `tests'.
15891 (custom-group-value-create): Remove unused variable `hidden-p'.
15892 (sort-fold-case): Declare.
15893
15894 * cus-theme.el (custom-reset-standard-faces-list)
15895 (custom-reset-standard-variables-list): Declare.
15896 (customize-create-theme, custom-theme-revert, custom-theme-write)
15897 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15898 Mark unused parameters.
15899
15900 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15901
15902 * delim-col.el (delimit-columns-max): Move defvar before first use.
15903
15904 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15905 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15906
15907 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15908 (auto-insert): Declare.
15909 (desktop-restore-file-buffer): Rename desktop-* parameters;
15910 mark unused ones.
15911 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15912 (desktop-buffer): Rename desktop-* parameters.
15913
15914 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15915 (dframe-reposition-frame-xemacs, dframe-help-echo)
15916 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15917 Mark unused parameters.
15918
15919 * dired-aux.el (backup-extract-version-start, overwrite-query)
15920 (overwrite-backup-query, rename-regexp-query)
15921 (rename-non-directory-query): Declare.
15922 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15923 (dired-add-entry): Remove unused variable `orig-file-name'.
15924 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15925 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15926 `dired-copy-preserve-time' directly.
15927 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15928 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15929
15930 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15931 (dired-virtual-revert, dired-make-relative-symlink):
15932 Mark unused parameters.
15933 (manual-program): Declare.
15934 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15935 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15936 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15937
15938 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15939
15940 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15941
15942 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15943 Declare.
15944
15945 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15946
15947 * electric.el (Electric-command-loop): Rename parameter
15948 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15949
15950 * expand.el (expand-in-literal): Remove unused variable `here'.
15951
15952 * facemenu.el (facemenu-add-new-color):
15953 Remove unused variable `docstring'.
15954
15955 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15956 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15957 (face-attr-construct): Mark unused parameter. Doc fix.
15958 (read-color): Remove unused variable `hex-string'.
15959
15960 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15961 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15962 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15963 (display-buffer-other-frame): Remove unused variable `old-window'.
15964 (kill-buffer-hook): Declare.
15965 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15966 Mark unused parameters.
15967 (after-find-file): Pass 1 to `auto-save-mode', not t.
15968
15969 * files-x.el (auto-insert): Declare.
15970 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15971
15972 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15973 variable `buf'. Mark unused parameter.
06b60517
JB
15974 (find-lisp-insert-directory): Mark unused parameter.
15975
15976 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15977 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15978 (format-common-tail): Remove, unused.
15979 (format-deannotate-region): Remove unused variable `loc'.
15980 (format-annotate-region): Remove unused variable `p'.
15981 (format-annotate-single-property-change): Remove unused variables
15982 `default' and `tail'.
15983
15984 * forms.el (read-file-filter): Declare.
15985 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15986
15987 * frame.el (frame-creation-function-alist): Mark unused parameter.
15988 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15989
15990 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15991 Remove unused parameters.
15992 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15993 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15994
15995 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15996 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15997 (hfy-prepare-tag-map): Mark unused parameters.
15998 (htmlfontify-buffer): Use `called-interactively-p'.
15999
16000 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16001 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16002 (ibuffer-do-occur): Mark unused parameters.
16003 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16004 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16005
16006 * ibuffer.el: Don't quote `lambda'.
16007 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16008 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16009 Mark unused parameters.
16010
16011 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16012 (ido-completing-read): Mark unused parameters.
16013 (ido-copy-current-word): Mark unused parameters;
16014 remove unused variable `name'.
16015 (ido-sort-merged-list): Remove unused parameter `dirs'.
16016
16017 * ielm.el (ielm-input-sender): Mark unused parameter.
16018 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16019 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16020 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16021 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16022 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16023
16024 * image-dired.el (image-dired-display-thumbs): Remove unused
16025 variables `curr-file' and `count'.
16026 (image-dired-remove-tag): Remove unused variable `start'.
16027 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16028 variable `curr-file'
16029 (image-dired-rotate-original): Remove unused variable `temp-file'.
16030 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16031 Remove unused variable `file'.
16032 (image-dired-gallery-generate): Remove unused variable `curr'.
16033 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16034
16035 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16036
16037 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16038
16039 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16040
16041 * isearch.el (minibuffer-history-symbol): Declare.
16042 (isearch-edit-string): Remove unused variable `err'.
16043 (isearch-message-prefix, isearch-message-suffix):
16044 Mark unused parameters.
16045
16046 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16047
16048 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16049
16050 * makesum.el (double-column): Remove unused variable `cnt'.
16051
16052 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16053 (ido-ignore-item-temp-list): Declare.
16054
16055 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16056 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16057 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16058 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16059 `mouse-col-delta'.
16060
16061 * mouse-sel.el (mouse-extend-internal):
16062 Remove unused variable `orig-window-frame'.
16063
16064 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16065 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16066 Move declarations before first use.
16067 (pcomplete-opt): Mark unused parameters; doc fix.
16068
16069 * proced.el (proced-revert): Mark unused parameter.
16070 (proced-send-signal): Remove unused variable `err'.
16071
16072 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16073 Rename parameter PREFIX-ARG to ARG.
16074 (ps-basic-plot-string, ps-basic-plot-whitespace):
16075 Mark unused parameters.
16076
16077 * replace.el (replace-count): Define.
16078 (occur-revert-function): Mark unused parameters.
16079 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16080 (isearch-case-fold-search, isearch-string): Declare.
16081 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16082 bind `case-fold-search'. Remove unused variables `beg' and `end',
16083 and simplify.
16084 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16085 COUNT and bind `replace-count'.
16086 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16087 to COUNT.
16088
16089 * savehist.el (print-readably, print-string-length): Declare.
16090
16091 * shadowfile.el (shadow-expand-cluster-in-file-name):
16092 Remove unused variable `cluster'.
16093 (shadow-copy-file): Remove unused variable `i'.
16094 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16095 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16096 (shadow-define-literal-group, shadow-define-regexp-group)
16097 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16098
16099 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16100 (shell): Use `called-interactively-p'.
16101 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16102
16103 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16104 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16105 (delete-backward-char): Remove unused variable `ocol'.
16106 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16107 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16108 (event-apply-hyper-modifier, event-apply-shift-modifier)
16109 (event-apply-control-modifier, event-apply-meta-modifier):
16110 Mark unused parameters.
16111 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16112 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16113
16114 * speedbar.el (speedbar-ignored-directory-expressions)
16115 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16116 (speedbar-find-file, speedbar-dir-follow)
16117 (speedbar-directory-buttons-follow, speedbar-tag-find)
16118 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16119 (speedbar-buffers-line-directory, speedbar-buffer-click):
16120 Mark unused parameters.
16121 (speedbar-tag-file): Remove unused variable `mode'.
16122 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16123
16124 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16125
16126 * talk.el (talk): Remove unused variable `display'.
16127
16128 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16129 (tar-write-region-annotate): Mark unused parameter.
16130
16131 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16132 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16133 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16134 warning by another.
16135
16136 * time-stamp.el (time-stamp-string-preprocess):
16137 Remove unused variable `require-padding'.
16138
16139 * tree-widget.el (widget-glyph-enable): Declare.
16140 (tree-widget-action): Mark unused parameter.
16141
16142 * w32-fns.el (x-get-selection): Mark unused parameter.
16143 (autoload-make-program, generated-autoload-file): Declare.
16144
16145 * wdired.el (wdired-revert): Mark unused parameters.
16146 (wdired-xcase-word): Remove unused variable `err'.
16147
16148 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16149 (whitespace-help-scroll): Remove unused variable `data-help'.
16150
16151 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16152 (widget-image-insert, widget-after-change, default)
16153 (widget-default-format-handler, widget-default-notify)
16154 (widget-default-prompt-value, widget-info-link-action)
16155 (widget-url-link-action, widget-function-link-action)
16156 (widget-variable-link-action, widget-file-link-action)
16157 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16158 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16159 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16160 (widget-insert-button-action, widget-delete-button-action, visibility)
16161 (widget-documentation-link-action, widget-documentation-string-action)
16162 (widget-const-prompt-value, widget-regexp-match, symbol)
16163 (widget-coding-system-prompt-value)
16164 (widget-key-sequence-value-to-external, sexp)
16165 (widget-sexp-value-to-internal, character, vector, cons)
16166 (widget-choice-prompt-value, widget-boolean-prompt-value)
16167 (widget-color--choose-action): Mark unused parameters.
16168 (widget-item-match-inline, widget-choice-match-inline)
16169 (widget-checklist-match, widget-checklist-match-inline)
16170 (widget-group-match): Rename parameter VALUES to VALS.
16171 (widget-field-value-set): Remove unused variable `size'.
16172 (widget-color-action): Remove unused variables `value' and `start'.
16173
16174 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16175 variable `dir'. Doc fix.
06b60517
JB
16176 (windmove-find-other-window): Don't pass it.
16177
16178 * window.el (count-windows): Mark unused parameter.
16179 (bw-adjust-window): Remove unused variable `err'.
16180
16181 * woman.el (woman-file-name): Remove unused variable `default'.
16182 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16183 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16184 (global-font-lock-mode): Declare.
16185 (woman-decode-region): Mark unused parameter.
16186 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16187
16188 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16189 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16190 (x-dnd-handle-moz-url): Remove unused variable `title'.
16191 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16192
16193 * xml.el (xml-parse-tag, xml-parse-attlist):
16194 Remove unused variable `pos'.
16195
bc4f7f3d
GM
161962011-04-19 Glenn Morris <rgm@gnu.org>
16197
16198 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16199 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16200 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16201 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16202 * calendar/cal-html.el (cal-html-insert-minical):
16203 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16204 (calendar-mark-date-pattern):
16205 Prefix "unused" locals.
16206
16207 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16208 optional argument `style'.
16209
16210 * calendar/appt.el (appt-make-list):
16211 * calendar/cal-china.el (calendar-chinese-date-string):
16212 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16213 (diary-hebrew-yahrzeit):
16214 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16215 * calendar/calendar.el (calendar-generate-window):
16216 * calendar/time-date.el (time-to-days):
16217 Remove unused local variables.
16218
16a43933
CY
162192011-04-18 Chong Yidong <cyd@stupidchicken.com>
16220
16221 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16222 glyphless-char-display table.
16223 (tabulated-list-glyphless-char-display): New var.
16224
7eed1860
SS
162252011-04-18 Sam Steingold <sds@gnu.org>
16226
16227 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16228 to acknowledgments.
16229
4d2d1ccd
GM
162302011-04-17 Glenn Morris <rgm@gnu.org>
16231
16232 * calendar/diary-lib.el (diary-sexp-entry):
16233 * calendar/holidays.el (holiday-sexp):
16234 Set debug-on-error rather than the removed stack-trace-on-error.
16235
239da61d
GM
162362011-04-16 Glenn Morris <rgm@gnu.org>
16237
16238 * progmodes/f90.el: Use lexical-binding.
16239 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16240
8b05752a
SM
162412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16242
daca8ba5
SM
16243 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16244 (mail-mode): Setup mailalias completion here instead.
16245 * mail/mailalias.el: Use lexical-binding.
16246 (pattern, mailalias-done): Declare dynamic.
16247 (mail-completion-at-point-function): New function, from mail-complete.
16248 (mail-complete): Use it.
16249 (mail-completion-expand): New function.
16250 (mail-get-names): Use it.
16251 (mail-directory, mail-directory-process, mail-directory-stream):
16252 Don't use `pattern' for lexically bound arg.
16253
6f542485
SM
16254 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16255
037e7c3f
SM
16256 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16257 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16258 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16259
8b05752a
SM
16260 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16261 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16262 (byte-interactive-p): Define them again, for use when inlining
16263 old code.
16264
49093f60
JB
162652011-04-15 Juanma Barranquero <lekktu@gmail.com>
16266
16267 * loadup.el: Use `string-to-number', not `string-to-int'.
16268
b5b8e7de
SM
162692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16270
16271 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16272 gud-gdb-complete-command.
16273 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16274 (gud-gdb-completion-at-point): New function.
16275 (gud-gdb-completions): Remove.
16276
f42efeb5
MA
162772011-04-14 Michael Albinus <michael.albinus@gmx.de>
16278
49093f60
JB
16279 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16280 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16281 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16282 whether `executable-find' is bound.
f42efeb5
MA
16283
16284 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16285
e240cc21
SM
162862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * minibuffer.el (completion-in-region-mode-predicate)
16289 (completion-in-region-mode--predicate): New vars.
16290 (completion-in-region, completion-in-region--postch)
16291 (completion-in-region-mode): Use them.
16292 (completion--capf-wrapper): Also return the hook function.
16293 (completion-at-point, completion-help-at-point):
16294 Adjust and provide a predicate.
c2bd2ab0
SM
16295
16296 Preserve arg names for advice of subr and lexical functions (bug#8457).
16297 * help-fns.el (help-function-arglist): Consolidate the subr and
16298 new-byte-code cases. Add argument `preserve-names' to extract names
16299 from the docstring when needed.
16300 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16301 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16302 (ad-arglist): Use help-function-arglist's new arg.
16303 (ad-definition-type): Use cond.
16304
c183f693
JB
163052011-04-13 Juanma Barranquero <lekktu@gmail.com>
16306
06641a47
JB
16307 * autorevert.el (auto-revert-handler):
16308 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16309 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16310 Don't quote lambda.
16311
c183f693
JB
16312 * image-mode.el (image-transform-set-scale):
16313 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16314
1e3b6001
G
163152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16316
16317 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16318 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16319 Upgrades via gnutls-cli are too slow to be done opportunistically.
16320
2d6af8dd
JB
163212011-04-12 Juanma Barranquero <lekktu@gmail.com>
16322
16323 * dframe.el (dframe-current-frame): Remove spurious quote.
16324
c0749a51
GM
163252011-04-12 Glenn Morris <rgm@gnu.org>
16326
088d0d61
GM
16327 * calendar/cal-tex.el (cal-tex-end-document):
16328 Try to automatically use latin1 input if needed.
16329
c0749a51
GM
16330 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16331 Don't try to cons a mark onto an empty element.
16332
5c90fde0
LL
163332011-04-11 Leo Liu <sdl.web@gmail.com>
16334
16335 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16336 buffers.
16337 (ido-kill-buffer-at-head): Support killing virtual buffers.
16338
369e974d
CY
163392011-04-10 Chong Yidong <cyd@stupidchicken.com>
16340
16341 * minibuffer.el (completion-show-inline-help): New var.
16342 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16343 (minibuffer-force-complete, minibuffer-complete-word):
16344 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16345
16346 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16347 to avoid interference from inline help (Bug#5849).
16348
37f1c930
LL
163492011-04-10 Leo Liu <sdl.web@gmail.com>
16350
099c39a4
JB
16351 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16352 Fix typo.
37f1c930 16353
a32d4040
CY
163542011-04-09 Chong Yidong <cyd@stupidchicken.com>
16355
16356 * image-mode.el (image-toggle-display-image): Signal an error if
16357 not in Image mode.
16358 (image-transform-mode, image-transform-resize)
16359 (image-transform-set-rotation): Doc fix.
daca8ba5 16360 (image-transform-set-resize): Delete.
a32d4040
CY
16361 (image-transform-set-scale, image-transform-fit-to-height)
16362 (image-transform-fit-to-width): Handle image-toggle-display-image
16363 and image-transform-resize directly.
16364
099c39a4 163652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16366
16367 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16368 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16369 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16370 (doc-view-mode-map): Add bindings for the new functions.
16371
099c39a4 163722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16373
4d61f28d 16374 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16375 Fix typo in docstring.
16376
3726838a
EZ
163772011-04-08 Eli Zaretskii <eliz@gnu.org>
16378
04f33f1e
EZ
16379 * files.el (file-size-human-readable): Produce one digit after
16380 decimal, like "ls -lh" does.
16381
16382 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16383 the file size representation.
16384
3726838a
EZ
16385 * simple.el (list-processes): If async subprocesses are not
16386 available, error out with a clear error message.
16387
cbb59342
CY
163882011-04-08 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * help.el (help-form-show): New function, to be called from C.
16391 Put help-form output in a buffer named differently than *Help*.
16392
e3971c44
EZ
163932011-04-08 Eli Zaretskii <eliz@gnu.org>
16394
16395 * files.el (file-size-human-readable): New function.
16396
16397 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16398 computing the representation inline. Don't require `cl'.
16399
12544bbe
GM
164002011-04-08 Glenn Morris <rgm@gnu.org>
16401
a1de6c6a
GM
16402 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16403
3c4671f4
GM
16404 * net/browse-url.el (browse-url-firefox):
16405 Test system-type, not system-configuration.
16406
b605679c
GM
16407 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16408 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16409 Use log-edit-empty-buffer-p. (Bug#7598)
16410
56442f0c
GM
16411 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16412 (rlogin-mode-map): Initialize in the defvar.
16413 (rlogin): Use ignore-errors.
16414
12544bbe
GM
16415 * replace.el (occur-mode-map): Some fixes for menu items.
16416
eb237b0f
AH
164172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16418
16419 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16420
7d668f2c
CY
164212011-04-06 Chong Yidong <cyd@stupidchicken.com>
16422
e67a13ab
CY
16423 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16424 issuing unused warnings.
16425
16426 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16427 macro directly.
16428
7d668f2c
CY
16429 * simple.el: Lisp reimplement of list-processes. Based on an
16430 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16431 (process-menu-mode): New major mode.
16432 (list-processes--refresh, list-processes):
16433 (process-menu-visit-buffer): New functions.
16434
16435 * files.el (save-buffers-kill-emacs): Don't assume any return
16436 value of list-processes, which is undocumented anyway.
16437
a83ec3c9
CY
164382011-04-06 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * emacs-lisp/tabulated-list.el: New file.
16441
e91a96fe
CY
16442 * emacs-lisp/package.el: Use Tabulated List mode.
16443 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16444 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16445 table format using Tabulated List mode variables.
16446 (package--push): New macro, replacing package-list-maybe-add.
16447 (package-menu--generate): Use package--push. Renamed from
16448 package--generate-package-list.
16449 (package-menu-refresh, list-packages): Use it.
daca8ba5 16450 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16451 Return insertion data instead of inserting it directly.
099c39a4
JB
16452 (package-menu-describe-package, package-menu-execute):
16453 Use tabulated-list-get-id.
e91a96fe
CY
16454 (package-menu-mark-delete, package-menu-mark-install)
16455 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16456 (package-menu-mark-obsolete-for-deletion):
16457 Use tabulated-list-put-tag.
e91a96fe
CY
16458 (package--list-packages, package-menu-revert)
16459 (package-menu-get-package, package-menu-get-version)
16460 (package-menu-sort-by-column): Functions deleted.
16461 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16462 (package-menu--status-predicate, package-menu--version-predicate)
16463 (package-menu--name-predicate)
16464 (package-menu--description-predicate): Handle arguments in the
16465 Tabulated List format.
16466 (package-list-packages-no-fetch): Call list-packages.
16467
3e214b50
JB
164682011-04-06 Juanma Barranquero <lekktu@gmail.com>
16469
16470 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16471 (after-find-file): Don't bind it.
3e214b50
JB
16472 (revert-buffer-in-progress-p): New variable.
16473 (revert-buffer): Bind it.
16474 Pass nil for `after-find-file-from-revert-buffer'.
16475
16476 * saveplace.el (save-place-find-file-hook): Use new variable
16477 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16478
3f0f1700
GM
164792011-04-06 Glenn Morris <rgm@gnu.org>
16480
c0274801
GM
16481 * Makefile.in (AUTOGEN_VCS): New variable.
16482 (autoloads): Use $AUTOGEN_VCS.
16483
3f0f1700
GM
16484 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16485 * calendar/calendar.el (calendar-mode-map):
16486 Check for toolkit scroll bars. (Bug#8305)
16487
41ea9e48
CY
164882011-04-05 Chong Yidong <cyd@stupidchicken.com>
16489
16490 * minibuffer.el (completion-in-region--postch)
16491 (completion-in-region-mode): Remove unnecessary messages.
16492
6194c800
JB
164932011-04-05 Juanma Barranquero <lekktu@gmail.com>
16494
33256f14
JB
16495 * font-lock.el (font-lock-refresh-defaults):
16496 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16497 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16498
6194c800
JB
16499 * info.el (Info-directory-list, Info-read-node-name-2)
16500 (Info-split-parameter-string): Doc fixes.
16501 (Info-virtual-nodes): Reflow docstring.
16502 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16503 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16504 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16505 Fix typos in docstrings.
16506 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16507 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16508 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16509 (Info-restore-desktop-buffer): Mark unused parameters.
16510 (Info-directory-find-file, Info-directory-find-node)
16511 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16512 (Info-virtual-index-find-node, Info-apropos-find-file)
16513 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16514 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16515 (Info-virtual-index): Remove unused local variable `nodename'.
16516
b87a8200 165172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16518
b87a8200
DD
16519 * net/rcirc.el: Update my e-mail address.
16520 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16521
3b2ff876
CY
165222011-04-05 Chong Yidong <cyd@stupidchicken.com>
16523
16524 * startup.el (command-line): Save the cursor's theme-face
16525 directly, instead of using face-override-spec.
16526
16527 * custom.el (load-theme): Minor optimization in assigning faces.
16528
8d17e7ca
JB
165292011-04-04 Juanma Barranquero <lekktu@gmail.com>
16530
16531 * help-fns.el (describe-variable): Complete all variables having
16532 documentation, including keywords.
16533 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16534
2fbc1934
JB
165352011-04-04 Juanma Barranquero <lekktu@gmail.com>
16536
16537 Convert to lexical-binding.
16538
16539 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16540 (bs--get-marked-string, bs--get-modified-string)
16541 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16542 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16543 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16544
16545 * ehelp.el (electric-help-execute-extended)
16546 (electric-help-ctrl-x-prefix):
16547 * hexl.el (hexl-revert-buffer-function):
16548 * linum.el (linum-after-change, linum-after-scroll):
16549 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16550
16551 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16552
74f50695
DU
165532011-04-04 Daiki Ueno <ueno@unixuser.org>
16554
16555 * epa-dired.el:
16556 * epa-mail.el:
16557 * epa-hook.el:
16558 * epa-file.el:
16559 * epa.el:
16560 * epg.el: Use lexical binding.
16561
c11325f7
CY
165622011-04-03 Chong Yidong <cyd@stupidchicken.com>
16563
0d9e9a12
CY
16564 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16565
c11325f7 16566 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16567 dictionary case for flyspell-mark-duplications-exceptions.
16568 Use regexp matching for languages.
c11325f7
CY
16569 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16570 default dictionary (Bug#7926).
16571
da91b5f2
CY
165722011-04-02 Chong Yidong <cyd@stupidchicken.com>
16573
099c39a4
JB
16574 * emacs-lisp/package.el (package--with-work-buffer):
16575 Recognize https URLs.
da91b5f2 16576
099c39a4
JB
16577 * net/network-stream.el: Move from gnus/proto-stream.el.
16578 Change prefix to network-stream throughout.
da91b5f2
CY
16579 (open-protocol-stream): Merge into open-network-stream, leaving
16580 open-protocol-stream as an alias. Handle nil BUFFER args.
16581
16582 * subr.el (open-network-stream): Move to net/network-stream.el.
16583
afa8e9f6
GM
165842011-04-02 Glenn Morris <rgm@gnu.org>
16585
1d2e369d
GM
16586 * find-dired.el (find-exec-terminator): New option.
16587 (find-ls-option): Test for -ls support.
16588 (find-ls-subdir-switches): Test for -b in find-ls-option.
16589 (find-dired, find-grep-dired): Doc fixes.
16590 (find-dired): Use find-exec-terminator.
16591
8abb7da8 16592 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16593 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16594 (find-name-arg): Remove purecopy.
8abb7da8 16595
f3ca7378
GM
16596 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16597 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16598 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16599 accordingly. Don't add the null-device if not needed.
16600
afa8e9f6
GM
16601 * files.el (save-some-buffers): Doc fix.
16602
35eae264
EZ
166032011-04-02 Eli Zaretskii <eliz@gnu.org>
16604
16605 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16606
26b51db5
JB
166072011-04-01 Juanma Barranquero <lekktu@gmail.com>
16608
16609 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16610 Use `dolist' rather than `mapcar'.
16611
7200d79c
SM
166122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16613
03408648 16614 Add lexical binding.
7200d79c 16615
03408648
SM
16616 * subr.el (apply-partially): Use new closures rather than CL.
16617 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16618 (dolist, dotimes): Use slightly different expansion for lexical code.
16619 (functionp): Move to C.
16620 (letrec): New macro.
16621 (with-wrapper-hook): Use it and apply-partially instead of CL.
16622 (eval-after-load): Preserve lexical-binding.
16623 (save-window-excursion, with-output-to-temp-buffer): Turn them
16624 into macros.
7200d79c 16625
03408648
SM
16626 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16627
16628 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16629 than the arglist.
16630 (help-add-fundoc-usage): Don't add `Not documented'.
16631 (help-function-arglist): Handle closures, subroutines, and new
16632 byte-code-functions.
16633 (help-make-usage): Remove leading underscores.
16634 (describe-function-1): Handle closures.
16635 (describe-variable): Use special-variable-p for completion.
16636
16637 * files.el (lexical-binding): Declare safe.
f488fb65 16638
03408648
SM
16639 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16640 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16641 (pcase): Add `let' pattern.
16642 Change memoization so it actually works.
16643 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16644 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16645 <let>: New case.
f488fb65 16646
03408648
SM
16647 * emacs-lisp/macroexp.el: Use lexical binding.
16648 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16649 Don't convert ' to #' without checking that it's indeed quoting
16650 a lambda.
16651
16652 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16653 Use eval-sexp-add-defvars.
03408648
SM
16654 (eval-sexp-add-defvars): New fun.
16655
16656 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16657
16658 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16659 Don't autoload.
16660 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16661 than the internal `byte-compile-lambda'.
16662 (defmethod): Don't hide code under quotes.
16663 (eieio-defmethod): New `code' argument.
16664
16665 * emacs-lisp/eieio-comp.el: Remove.
16666
16667 * emacs-lisp/edebug.el (edebug-eval-defun)
16668 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16669 (edebug-toggle): Avoid `eval'.
16670
16671 * emacs-lisp/disass.el (disassemble-internal): Handle new
16672 `closure' objects.
16673 (disassemble-1): Handle new byte codes.
16674
16675 * emacs-lisp/cl.el (pushnew): Silence warning.
16676
16677 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16678 (cl-byte-compile-throw): Remove.
16679 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16680
16681 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16682 closures.
16683
16684 * emacs-lisp/cconv.el: New file.
16685
16686 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16687 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16688 (byte-compile-initial-macro-environment):
16689 Handle declare-function here.
16690 (byte-compile--lexical-environment): New var.
16691 (byte-stack-ref, byte-stack-set, byte-discardN)
16692 (byte-discardN-preserve-tos): New lap codes.
16693 (byte-interactive-p): Don't use any more.
16694 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16695 New macros.
16696 (byte-compile-lapcode): Use them and handle new lap codes.
16697 (byte-compile-obsolete): Remove.
16698 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16699 (byte-compile-arglist-warn): Check late def of inlinable funs.
16700 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16701 since they should have been expanded by now.
16702 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16703 (byte-compile-from-buffer): Remove unused second arg.
16704 (byte-compile-preprocess): New function.
16705 (byte-compile-toplevel-file-form): New function to distinguish
16706 file-form calls from outside from file-form calls from hunk-handlers.
16707 (byte-compile-file-form): Simplify.
16708 (byte-compile-file-form-defsubst): Remove.
16709 (byte-compile-file-form-defmumble): Simplify now that
16710 byte-compile-lambda always returns a byte-code-function.
16711 (byte-compile): Preprocess.
16712 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16713 Remove, not used any more.
16714 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16715 (byte-compile-make-args-desc): New funs.
16716 (byte-compile-lambda): Handle lexical functions. Always return
16717 a byte-code-function.
16718 (byte-compile-reserved-constants): New var, to make up room for
16719 closed-over variables.
16720 (byte-compile-constants-vector): Obey it.
16721 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16722 (byte-compile-macroexpand-declare-function): New function.
16723 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16724 byte-code-functions.
16725 (byte-compile-form): Check obsolescence here.
16726 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16727 (byte-compile-variable-ref): Remove.
16728 (byte-compile-dynamic-variable-op): New fun.
16729 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16730 (byte-compile-variable-set): New funs.
16731 (byte-compile-discard): Add 2 args.
16732 (byte-compile-stack-ref, byte-compile-stack-set)
16733 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16734 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16735 macroexpand-all instead.
16736 (byte-compile-quote-form): Remove.
16737 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16738 (byte-compile-bind, byte-compile-unbind): New funs.
16739 (byte-compile-let): Handle let* and lexical binding.
16740 (byte-compile-let*): Remove.
16741 (byte-compile-catch, byte-compile-unwind-protect)
16742 (byte-compile-track-mouse, byte-compile-condition-case):
16743 Handle a new :fun-body form, used for lexical scoping.
16744 (byte-compile-save-window-excursion)
16745 (byte-compile-with-output-to-temp-buffer): Remove.
16746 (byte-compile-defun): Simplify.
16747 (byte-compile-stack-adjustment): New fun.
16748 (byte-compile-out): Use it.
16749 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16750
16751 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16752 handler any more.
16753
16754 * emacs-lisp/byte-opt.el: Use lexical binding.
16755 (byte-inline-lapcode): Remove (to bytecomp).
16756 (byte-compile-inline-expand): Pay attention to inlining to/from
16757 lexically bound code.
16758 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16759 any more.
16760 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16761 any more and don't call compiler-macros.
16762 (byte-compile-splice-in-already-compiled-code): Remove.
16763 (byte-code): Don't inline any more.
16764 (disassemble-offset): Receive `bytes' as argument rather than via
16765 dynamic scoping.
16766 (byte-compile-tag-number): Declare before first use.
16767 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16768 `return' even if make-spliceable.
16769 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16770 obsolete interactive-p.
16771 (byte-optimize-lapcode): Optimize new lap-codes.
16772 Don't trip up on new form of `byte-constant' lap code.
16773
16774 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16775
16776 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16777
16778 * custom.el (custom-initialize-default, custom-declare-variable):
16779 Use `defvar'.
16780
16781 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16782 New variables.
16783 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16784 (COMPILE_FIRST): Add macroexp and cconv.
16785 * makefile.w32-in: Mirror changes in Makefile.in.
16786
16787 * vc/cvs-status.el:
16788 * vc/diff-mode.el:
16789 * vc/log-edit.el:
16790 * vc/log-view.el:
16791 * vc/smerge-mode.el:
16792 * textmodes/bibtex-style.el:
090bd7cb 16793 * textmodes/css-mode.el:
03408648
SM
16794 * startup.el:
16795 * uniquify.el:
da91b5f2
CY
16796 * minibuffer.el:
16797 * newcomment.el:
16798 * reveal.el:
16799 * server.el:
16800 * mpc.el:
16801 * emacs-lisp/smie.el:
16802 * doc-view.el:
16803 * dired.el:
03408648
SM
16804 * abbrev.el: Use lexical binding.
16805
0f0c1f27
EZ
168062011-04-01 Eli Zaretskii <eliz@gnu.org>
16807
16808 * info.el (info-display-manual): New function.
16809
c82b2579
SM
168102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16811
16812 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16813
221ddf68
TH
168142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16815
16816 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16817 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16818
cba6e77e
GM
168192011-03-31 Glenn Morris <rgm@gnu.org>
16820
e040639f
GM
16821 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16822
cba6e77e
GM
16823 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16824
6d0f1c9e
CS
168252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16826
16827 * progmodes/python.el (python-default-interpreter)
16828 (python-python-command-args, python-jython-command-args)
16829 (python-which-shell, python-which-args, python-which-bufname)
16830 (python-file-queue, python-comint-output-filter-function)
16831 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16832 variables and functions.
16833
3e2d70fd
SM
168342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16835
16836 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16837 (completion-in-region-mode): New minor mode.
16838 (completion-in-region): Use it.
16839 (completion-in-region--data, completion-in-region-mode-map): New vars.
16840 (completion-in-region--postch): New function.
16841 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16842 New vars.
16843 (completion--capf-wrapper): New function.
16844 (completion-at-point): Use it to track well-behavedness of
16845 hook functions.
16846 (completion-help-at-point): New command.
16847
f3e4086c
JM
168482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16849
16850 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16851 syntax class to search for whitespace on a single line
16852 (Message-ID: <4D938140.4030905@redhat.com>).
16853
eb7ffc14
LL
168542011-03-30 Leo Liu <sdl.web@gmail.com>
16855
16856 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16857 New commands.
16858 (edit-abbrevs-map): Bind them here.
16859 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16860
d806ab68
KM
168612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16862
16863 * allout.el (allout-hide-by-annotation, allout-flag-region):
16864 Reduce possibility of overlay leakage by making them volatile.
16865
16866 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16867 hash is not shared between buffers. Mode initialization is
16868 responsible for giving it a useful starting value.
16869 (allout-item-span): Reduce possibility of overlay leakage by
16870 making them volatile.
16871 (allout-widgets-count-buttons-in-region): Add diagnostic function
16872 for tracking down button overlay leaks.
16873
ea622834
LL
168742011-03-29 Leo Liu <sdl.web@gmail.com>
16875
16876 * ido.el (ido-read-internal): Use the default history var
16877 minibuffer-history if no HISTORY is specified.
16878
b62f8267
G
168792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16880
03408648
SM
16881 * net/imap.el (imap-shell-open, imap-process-connection-type):
16882 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16883 Kerberos, SSL, other subprocesses.
16884
947b6566
LL
168852011-03-28 Leo Liu <sdl.web@gmail.com>
16886
16887 * abbrev.el (abbrev-table-empty-p): New function.
16888 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16889 nonempty ones. (Bug#5937)
16890
5ffb62aa
JD
168912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16892
16893 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16894
7a097943
LL
168952011-03-27 Leo Liu <sdl.web@gmail.com>
16896
16897 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16898 for foreground and background colors.
16899 (ansi-color-make-color-map): Adapt.
16900
c5b40130
LL
169012011-03-25 Leo Liu <sdl.web@gmail.com>
16902
1f48f7d2
LL
16903 * midnight.el (midnight-time-float): Remove. Note it calculates
16904 the microsecond component incorrectly and seconds-to-time does the
16905 same job.
625897ec 16906 Remove redundant (require 'timer).
1f48f7d2 16907
c5b40130
LL
16908 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16909 (ido-completions): Remove unused arguments. (Bug#8329)
16910
d86d2721
SM
169112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16912
16913 * minibuffer.el (completion--flush-all-sorted-completions):
16914 Remove itself from hook.
16915 (completion-at-point): Let the functions perform the completion
16916 immediately and return nil or t.
16917 * comint.el (comint-dynamic-complete-functions): Now identical to
16918 completion-at-point-functions.
16919 (comint-dynamic-list-input-ring): Remove unused var `index'.
16920 (comint--match-partial-filename, comint--unquote&expand-filename):
16921 New funs, split from comint-match-partial-filename.
16922 (comint-dynamic-complete): Use completion-at-point.
16923 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16924
e8974c48
DA
169252011-03-24 Drew Adams <drew.adams@oracle.com>
16926
16927 * thingatpt.el: Support `defun'.
16928
def71b5e
LL
169292011-03-23 Leo Liu <sdl.web@gmail.com>
16930
cb5af48e
LL
16931 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16932
def71b5e
LL
16933 * help-mode.el (help-mode-finish): Tweak regexp.
16934
927c53e7
GM
169352011-03-23 Glenn Morris <rgm@gnu.org>
16936
18d05bed
GM
16937 * eshell/esh-opt.el (eshell-eval-using-options):
16938 Do not bind unused local variable `eshell-option-stub'.
16939
927c53e7
GM
16940 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16941
9d0da923
JB
169422011-03-22 Juanma Barranquero <lekktu@gmail.com>
16943
16944 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16945 keymap variable in `with-no-warnings' to avoid a warning when the
16946 keymap has been already `defconst'ed.
16947
4b978a67
LL
169482011-03-22 Leo Liu <sdl.web@gmail.com>
16949
16950 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16951 encode all chars in abbrevs; otherwise use emacs-mule or
16952 utf-8-emacs. (Bug#8308)
16953
5fd62452
JB
169542011-03-22 Juanma Barranquero <lekktu@gmail.com>
16955
0b1596c6
JB
16956 * simple.el (backward-delete-char-untabify):
16957 Avoid warning about using `delete-backward-char'.
16958
5fd62452
JB
16959 * image.el (image-type-file-name-regexps): Make it variable.
16960 `imagemagick-register-types' modifies it, and the user may want
16961 to add new extensions for known image types.
16962 (imagemagick-register-types): Throw error if not using ImageMagick.
16963
0b4e93f1
LL
169642011-03-22 Leo Liu <sdl.web@gmail.com>
16965
16966 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16967 located before rcirc-prompt-end-marker.
16968 (rcirc-complete): Error if point is not after rcirc prompt.
16969 Handle the case when table is nil.
9882e214 16970 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16971
fccee4ab
CY
169722011-03-22 Chong Yidong <cyd@stupidchicken.com>
16973
16974 * custom.el (custom--inhibit-theme-enable): Make it affect only
16975 custom-theme-set-variables and custom-theme-set-faces.
16976 (provide-theme): Ignore custom--inhibit-theme-enable.
16977 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16978 (custom-enabling-themes): Delete variable.
d86d2721
SM
16979 (enable-theme): Accept only loaded themes as arguments.
16980 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16981 (custom-enabled-themes): Forbid themes from setting this.
16982 Eliminate use of custom-enabling-themes.
16983 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16984
af896da6
LL
169852011-03-21 Leo Liu <sdl.web@gmail.com>
16986
16987 * ido.el (ido-read-internal): Add ido-selected to history instead
16988 of user input.
16989
78f64af0
SM
169902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16991
16992 * subr.el (deferred-action-list, deferred-action-function):
16993 Mark obsolete.
16994
b16ac1ec
LL
169952011-03-21 Leo Liu <sdl.web@gmail.com>
16996
810f7698
LL
16997 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16998 change on 2011-02-13 (bug#8309).
16999
b16ac1ec
LL
17000 * minibuffer.el (read-file-name-function): Change default value.
17001 (read-file-name--defaults): Rename from read-file-name-defaults.
17002 (read-file-name-default): Rename from read-file-name.
17003 (read-file-name): Call read-file-name-function.
17004
4e05e67e
GM
170052011-03-21 Glenn Morris <rgm@gnu.org>
17006
17007 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17008 Doc fixes.
17009
4359915b
CY
170102011-03-21 Chong Yidong <cyd@stupidchicken.com>
17011
17012 * cus-theme.el: Add missing provide statement.
17013 (customize-create-theme): Extract theme value correctly.
17014 (custom-theme-visit-theme): Autoload.
17015 (customize-create-theme): Prompt before inserting default faces.
17016
1fe275ee
JB
170172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17018
17019 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17020 units and musical notes.
17021
cd394be1 170222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17023
17024 * ido.el (ido-read-internal): Use completing-read-default.
17025 (ido-completing-read): Fix compatibility with completing-read.
17026
7d476bde
CO
170272011-03-20 Christian Ohler <ohler@gnu.org>
17028
17029 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17030 (ert-delete-all-tests): Use `called-interactively-p' rather than
17031 `interactive-p'.
17032 (ert--make-xrefs-region): Respect END.
17033
fe0fb33e
CY
170342011-03-19 Chong Yidong <cyd@stupidchicken.com>
17035
ff854b0b
CY
17036 * dired-aux.el (dired-create-directory): Signal an error if the
17037 directory already exists (Bug#8246).
17038
fe0fb33e
CY
17039 * facemenu.el (list-colors-display): Call list-faces-display
17040 inside with-help-window.
17041 (list-colors-print): Use display property to align the final
17042 column, instead of checking window-width.
17043
576bce32
EZ
170442011-03-19 Eli Zaretskii <eliz@gnu.org>
17045
4d61f28d 17046 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17047 windows-nt systems.
17048 (emerge-protect-metachars): Quote correctly for ms-dos and
17049 windows-nt systems.
17050
89c41d68 170512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17052
17053 * info.el (info-initialize): Replace all uses of `:' with
17054 path-separator for compatibility with non-Unix systems.
17055 Cache quoting of path-separator. (Bug#8258)
17056
b14e3e21 170572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17058
17059 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17060 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17061 (mouse-avoidance-mode): Fix typos in docstrings.
17062
4525ce3e
CY
170632011-03-19 Chong Yidong <cyd@stupidchicken.com>
17064
17065 * startup.el (package-subdirectory-regexp): Move from package.el.
17066 Omit \\` and \\', and let callers add them.
17067
17068 * emacs-lisp/package.el (package-strip-version)
17069 (package-load-all-descriptors): Add \\` and \\' to
17070 package-subdirectory-regexp before using it.
17071 (package-untar-buffer): New arg DIR; ensure that file untars only
17072 into this expected directory. Remove superfluous delete-region.
17073 (package-unpack): Caller changed.
17074 (package-tar-file-info): Use package-subdirectory-regexp.
17075
a904a09a 170762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17077
a904a09a
SM
17078 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17079 diff-mode-shared-map (bug#8284).
17080 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17081
170822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17083
17084 * calendar/time-date.el (format-seconds): Use assoc instead of
17085 assoc-string, since assoc-string doesn't exist in XEmacs.
17086
171fc304
JB
170872011-03-17 Juanma Barranquero <lekktu@gmail.com>
17088
17089 * custom.el (custom-known-themes): Reflow docstring.
17090 (custom-theme-load-path): Fix typo in docstring.
17091 (load-theme): Fix typo in error message.
17092 (custom-available-themes, custom-variable-theme-value):
17093 Use `let', not `let*'.
17094
d71990a1
JB
170952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17096
17097 * calc/README: Mention inclusion of musical notes.
17098
17099 * calc/calc-units.el (calc-lu-quant): Rename from
17100 `calc-logunits-quantity'.
17101 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17102 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17103 (calc-db): Rename from `calc-dblevel'.
17104 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17105 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17106 (calc-np): Rename from `calc-nplevel'.
17107 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17108 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17109 (calc-lu-plus): Rename from `calc-logunits-add'.
17110 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17111 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17112 (calc-lu-minus): Rename from `calc-logunits-sub'.
17113 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17114 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17115 (calc-lu-times): Rename from `calc-logunits-mul'.
17116 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17117 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17118 (calc-lu-divide): Rename from `calc-logunits-div'.
17119 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17120 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17121
17122 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17123 functions being autoloaded.
17124
17125 * calc/calc.el (calc-lu-power-reference): Rename from
17126 `calc-logunits-power-reference'.
17127 (calc-lu-field-reference): Rename from
17128 `calc-logunits-field-reference'.
17129
7a71b18d
GM
17130 * calc/calc-help.el (calc-l-prefix-help):
17131 Mention musical note functions.
d71990a1 17132
40c2934b
SM
171332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * minibuffer.el (completion-all-sorted-completions):
17136 Use :completion-cycle-penalty text property if present.
17137
b0911414
KM
171382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17139
17140 * allout.el (allout-yank-processing): Adjust for new rebulleting
17141 regime so bullet being yanked is used without prompting the user
17142 for a choice.
17143
8a05b668
JB
171442011-03-16 Juanma Barranquero <lekktu@gmail.com>
17145
17146 * startup.el (command-line): Warn the user that _emacs is deprecated.
17147
5ba5fb81
JB
171482011-03-16 Juanma Barranquero <lekktu@gmail.com>
17149
17150 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17151 (delphi-verbose, delphi-comment-face, delphi-string-face)
17152 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17153 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17154 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17155 (delphi-new-comment-line, delphi-font-lock-defaults)
17156 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17157 Fix typos in docstrings.
17158
2dab465b
KM
171592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17160
5ba5fb81 17161 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17162 Invert the roles of character and string values for INSTEAD, so a
17163 string is used for the more common case of a defaulting prompt.
17164
0adf5618
SM
171652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * progmodes/ruby-mode.el (ruby-backward-sexp):
17168 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17169 * play/gamegrid.el (gamegrid-make-face):
17170 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17171 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17172 * notifications.el (notifications-notify):
17173 * net/xesam.el (xesam-search-engines):
17174 * net/quickurl.el (quickurl-list-insert):
17175 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17176
d72700e5
CY
171772011-03-15 Chong Yidong <cyd@stupidchicken.com>
17178
17179 * startup.el (command-line): Update package subdirectory regexp.
17180
49c5410a
SM
171812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17182
c6eee9aa
SM
17183 * allout.el (allout-abbreviate-flattened-numbering)
17184 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17185
49c5410a
SM
17186 * subr.el (read-char-choice): Only show the cursor after the prompt,
17187 not after the answer.
17188
047b2bb9
KR
171892011-03-15 Kevin Ryde <user42@zip.com.au>
17190
17191 * help-fns.el (variable-at-point): Skip leading quotes, if any
17192 (bug#8253).
17193
0a57d256
SM
171942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17195
17196 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17197 warning message.
17198
77c992bc
MA
171992011-03-14 Michael Albinus <michael.albinus@gmx.de>
17200
17201 * shell.el (shell): When called interactively, offer to change the
17202 shell file name on remote hosts.
17203
eebc475d
TZ
172042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17205
17206 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17207 integration for LDAP parameters. The host, base, user or binddn,
17208 and secret tokens can be specified in a netrc file, for instance.
17209 This is optional because an `auth-source' parameter must be
17210 specified in the search attributes.
17211
9d05d1ba
JB
172122011-03-13 Juanma Barranquero <lekktu@gmail.com>
17213
17214 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17215
09d9db2c
GM
172162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17217
17218 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17219 into declaration. Remove redundant and harmful binding.
17220
172212011-03-12 Eli Zaretskii <eliz@gnu.org>
17222
17223 * files.el (file-ownership-preserved-p): Pass `integer' as an
17224 explicit 2nd argument to `file-attributes'. If the file's owner
17225 is the Administrators group on Windows, and the current user is
17226 Administrator, consider that a match.
17227
17228 * server.el (server-ensure-safe-dir): Consider server directory
17229 safe on MS-Windows if its owner is the Administrators group while
17230 the current Emacs user is Administrator. Use `=' to compare
17231 numerical UIDs, since they could be integers or floats.
17232
219bd536
JB
172332011-03-12 Juanma Barranquero <lekktu@gmail.com>
17234
17235 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17236
f3afd36b
MA
172372011-03-12 Michael Albinus <michael.albinus@gmx.de>
17238
17239 Sync with Tramp 2.2.1.
17240
17241 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17242
17243 * net/trampver.el: Update release number.
17244
3aaaa6f1
SM
172452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17246
94642599
SM
17247 * progmodes/compile.el (compilation--previous-directory): Fix up
17248 various nil/dead-marker mismatches (bug#8014).
17249 (compilation-directory-properties, compilation-error-properties):
17250 Don't call it at a position past the one we're about to change.
17251
3aaaa6f1
SM
17252 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17253 Disable obsolescence warnings in the file that declares it.
17254
14239447
KM
172552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17256
099c39a4
JB
17257 * allout-widgets.el (allout-widgets-tally):
17258 Initialize allout-widgets-tally as a hash table rather than nil to
17259 prevent mode-line redisplay warnings. Also, clarify the module
17260 description and fix a comment typo.
14239447 17261
135e287c
JB
172622011-03-11 Juanma Barranquero <lekktu@gmail.com>
17263
17264 * help-fns.el (describe-variable): Don't complete keywords.
17265 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17266
ffbf300e
CY
172672011-03-10 Chong Yidong <cyd@stupidchicken.com>
17268
ba08b241
CY
17269 * emacs-lisp/package.el (package-version-join): Impose a standard
17270 string representation for pre/alpha/beta version lists.
17271 (package-unpack-single): Standardize the directory name by passing
17272 it through package-version-join.
17273 (package-strip-rcs-id): Accept any version string that does not
17274 signal an error in version-to-list.
ffbf300e 17275
f346fd6b
MA
172762011-03-10 Michael Albinus <michael.albinus@gmx.de>
17277
17278 * simple.el (delete-trailing-whitespace): Return nil for the
17279 benefit of `write-file-functions'.
17280
ccb55d27
GM
172812011-03-10 Glenn Morris <rgm@gnu.org>
17282
5ceaac0c
GM
17283 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17284
02da65ff
GM
17285 * vc/vc-git.el (vc-git-program): New option.
17286 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17287 (vc-git--call): Use it.
17288
b2f603cc
GM
17289 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17290
5772caab
GM
17291 * cus-edit.el (Custom-newline): If no button at point, look
17292 for a subgroup button at start-of-line. (Bug#2298)
17293
ccb55d27
GM
17294 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17295
ec6ecaed
JD
172962011-03-10 Julien Danjou <julien@danjou.info>
17297
17298 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17299 `cursor-type' is nil.
17300
9d5aa01d
JB
173012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17302
17303 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17304
b6a5875b
KM
173052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17306
7a71b18d 17307 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17308 preserves the existing header prefix, rebulleting it if necessary,
17309 rather than replacing it. This is necessary for proper operation
17310 of cooperative addons like allout-widgets.
1154d12e
JB
17311 (allout-make-topic-prefix, allout-rebullet-heading):
17312 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17313 value as alternate bullet to be used, instead of prompting the user
17314 for a bullet character.
b6a5875b 17315
ee545c35
MA
173162011-03-09 Michael Albinus <michael.albinus@gmx.de>
17317
d86d2721
SM
17318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17319 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17320 `tramp-default-port'.
17321
c47971d7
DD
173222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17323
17324 * net/rcirc.el (rcirc-handler-001): Remove useless
17325 with-rcirc-process-buffer.
17326 (rcirc-check-auth-status): Swap arguments to string-match.
17327
13522cb4
GM
173282011-03-09 Glenn Morris <rgm@gnu.org>
17329
0be6f4f1
GM
17330 * shell.el (shell-mode):
17331 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17332
13522cb4
GM
17333 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17334 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17335
515de2e3
CY
173362011-03-08 Chong Yidong <cyd@stupidchicken.com>
17337
17338 * emacs-lisp/package.el (package-refresh-contents)
17339 (package-menu-execute): Use condition-case-no-debug.
17340
b511b994
MA
173412011-03-08 Michael Albinus <michael.albinus@gmx.de>
17342
17343 * simple.el (shell-command-to-string): Use `process-file'.
17344
17345 * emacs-lisp/package.el (package-tar-file-info): Handle also
17346 remote files.
17347
d86d2721
SM
17348 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17349 Use `equal' for upload base check.
b511b994 17350
25bbfb31
AM
173512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17352
17353 * textmodes/texinfo.el (texinfo-environments):
17354 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17355
be996521
GM
173562011-03-08 Glenn Morris <rgm@gnu.org>
17357
e9c8529f
GM
17358 * cus-start.el (cursor-in-non-selected-windows):
17359 Fix :set quoting oddness. (Bug#8192)
17360
be996521
GM
17361 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17362 in some setf expressions. (Bug#2159)
17363
2bb5649e
CY
173642011-03-08 Chong Yidong <cyd@stupidchicken.com>
17365
17366 * custom.el (custom-available-themes): Return themes in
17367 alphabetical order.
17368
33383987 17369See ChangeLog.15 for earlier changes.
e3d51b27
MR
17370
17371;; Local Variables:
17372;; coding: utf-8
e3d51b27
MR
17373;; End:
17374
acaf905b 17375 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17376
17377 This file is part of GNU Emacs.
17378
17379 GNU Emacs is free software: you can redistribute it and/or modify
17380 it under the terms of the GNU General Public License as published by
17381 the Free Software Foundation, either version 3 of the License, or
17382 (at your option) any later version.
17383
17384 GNU Emacs is distributed in the hope that it will be useful,
17385 but WITHOUT ANY WARRANTY; without even the implied warranty of
17386 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17387 GNU General Public License for more details.
17388
17389 You should have received a copy of the GNU General Public License
17390 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.