Separate read and write access to Lisp_Object slots of struct frame.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ba7b0154
FEG
12012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 Make internal shell process buffer names start with space.
4 * progmodes/python.el (python-shell-make-comint): Add optional
5 argument INTERNAL.
6 (run-python-internal): Use it.
7 (python-shell-internal-get-or-create-process): Check for new
8 internal buffer names.
9
5eaeacb5
GM
102012-08-06 Glenn Morris <rgm@gnu.org>
11
12 * eshell/esh-ext.el (eshell/addpath): Use dolist.
13 Do less getting and setting of environment variables.
14
b7ccbdc2
CY
152012-08-05 Chong Yidong <cyd@gnu.org>
16
777fe95e
CY
17 * proced.el (proced): Add substitution string to docstring to
18 trigger autoloading of the proced library on C-h f (Bug#1768).
19
b7ccbdc2
CY
20 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
21 show defvars which have no second argument (Bug#8638).
22
23 * imenu.el (imenu-generic-expression): Move documentation here
24 from imenu--generic-function.
25 (imenu--generic-function): Refer to imenu-generic-expression.
26
9e3b7800 272012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
28
29 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
30 indentation declaration.
31 (viper-loop): Add indentation declaration (Bug#7025).
32
e5d9c0d1
CY
332012-08-05 Chong Yidong <cyd@gnu.org>
34
f0422feb
CY
35 * help-fns.el (describe-variable): Add hyperlink for
36 directory-local variables files. Improve buffer-local and
37 permanent-local reporting; suggested by MON KEY (Bug#6644).
38
39 * help-mode.el (help-dir-local-var-def): New button type.
40
e5d9c0d1
CY
41 * files.el (kill-buffer-hook): Provide a defvar.
42
a4f2deaa
GM
432012-08-05 Glenn Morris <rgm@gnu.org>
44
45 * eshell/esh-ext.el (eshell/addpath):
46 Also update eshell-path-env. (Bug#12013)
47
a9dd5754
CY
482012-08-05 Chong Yidong <cyd@gnu.org>
49
a4f2deaa 50 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 51
d014c740
CY
52 * fringe.el (fringe-styles): Add docstring.
53 (fringe--check-mode): New function.
54 (set-fringe-mode, set-fringe-style): Use it.
55 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
56
a9dd5754
CY
57 * files.el (set-auto-mode): Fix invalid setq call.
58
7c2dc8bd
SM
592012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * isearch.el: Misc simplification; use defstruct.
62 (isearch-mode-map): Dense maps now work like sparse ones.
63 (isearch--state): New defstruct.
64 (isearch-string-state, isearch-message-state, isearch-point-state)
65 (isearch-success-state, isearch-forward-state)
66 (isearch-other-end-state, isearch-word-state, isearch-error-state)
67 (isearch-wrapped-state, isearch-barrier-state)
68 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
69 replaced by defstruct's accessors.
70 (isearch--set-state): Rename from isearch-top-state and change
71 calling convention.
72 (isearch-push-state): Use new isearch--get-state.
73 (isearch-toggle-word): Disable regexp when enabling word.
74 (isearch-message-prefix): Remove unused arg _c-q-hack.
75 (isearch-message-suffix): Remove unused arg _ellipsis.
76
7fcc0070
AS
772012-08-04 Andreas Schwab <schwab@linux-m68k.org>
78
79 * simple.el (list-processes--refresh): For a server use :host or
80 :local as the address.
97ad0769 81 (list-processes): Doc fix.
7fcc0070 82
00340faf
MN
832012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
84
85 * lisp/mpc.el: Support password in host argument.
86 (mpc--proc-connect): Parse and use new password element.
87 Set mpc-proc variable instead of returning process.
88 (mpc-proc): Adjust accordingly.
89
6dad7178
EZ
902012-08-03 Eli Zaretskii <eliz@gnu.org>
91
18949c2f
EZ
92 * whitespace.el (whitespace-display-mappings): Use Unicode
93 codepoints, instead of emacs-mule codepoints. See
94 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
95 for the details.
96
6dad7178
EZ
97 * files.el (file-truename): Don't skip symlink-chasing part on
98 windows-nt. Incorporate the resolution of 8+3 short aliases on
99 Windows into the loop that recursively chases symlinks. Compare
100 directory and its parent case-insensitively on MS-Windows and
101 MS-DOS.
102
385b0198
CY
1032012-08-03 Chong Yidong <cyd@gnu.org>
104
6200f3c4
CY
105 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
106
385b0198
CY
107 * sort.el (sort-regexp-fields): Doc fix.
108
b9e74744
TH
1092012-08-03 Tassilo Horn <tsdh@gnu.org>
110
111 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
112 labels regex position point at the expected place.
113
41013cb4
MK
1142012-08-03 MON KEY <monkey@sandpframing.com>
115
116 * net/imap.el (imap-interactive-login, imap-authenticate)
117 (imap-mailbox-lsub, imap-mailbox-list)
118 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
119 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
120 (imap-parse-response): Doc fix.
121
0ffee616
JT
1222012-08-03 João Távora <joaotavora@gmail.com>
123
124 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
125 if sexp scanning does not move point (Bug#5734).
126
cfcc9cc8
TH
1272012-08-02 Tassilo Horn <tsdh@gnu.org>
128
129 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
130 Add listings, minted, and ctable packages.
131 (reftex-label-alist-builtin): Move listings, minted, and ctable
132 entries before LaTeX.
a01bbb84 133 (reftex-label-alist): Docfix.
cfcc9cc8 134
66ec2442
BG
1352012-08-02 Bastien Guerry <bzg@gnu.org>
136
137 * replace.el (occur): Fix docstring (bug#12122).
138
837b365b
GM
1392012-08-02 Glenn Morris <rgm@gnu.org>
140
141 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
142
e098de97
PE
1432012-08-02 Paul Eggert <eggert@cs.ucla.edu>
144
145 Obsolete alias inactivate-current-input-method-function (Bug#10150).
146 * international/mule-cmds.el: Create
147 inactivate-current-input-method-function as an obsolete alias for
148 deactivate-current-input-method-function. See Katsumi Yamaoka in
149 <http://bugs.gnu.org/10150#46>.
150
a0f95636
JB
1512012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
152
153 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
154 of nested `if's.
155
0d26d7c4
GM
1562012-08-01 Glenn Morris <rgm@gnu.org>
157
158 * progmodes/autoconf.el (autoconf-definition-regexp):
159 Add AH_TEMPLATE, adjust submatch numbering.
160 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
161 (autoconf-current-defun-function): Update for above change.
162 (autoconf-current-defun-function): First skip to end of current word.
163
b686ba06
RS
1642012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
165
166 * calendar/cal-html.el (cal-html-insert-agenda-days):
167 Fix typo. (Bug#12018)
168
0d49da68
FEG
1692012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
170
171 Shell processes: enhancements to startup and CEDET compatibility.
172 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
173 (python-shell-make-comint): accept-process-output at startup.
174 (run-python-internal): Set inferior-python-mode-hook to nil.
175 (python-shell-internal-get-or-create-process): call sit-for.
176 (python-preoutput-result): Add obsolete alias.
177 (python-shell-internal-send-string): Use it.
178 (python-shell-send-setup-code): Remove call to
179 accept-process-output.
180
f1a71c6e
AS
1812012-07-31 Andreas Schwab <schwab@linux-m68k.org>
182
183 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
184 (Bug#12108)
185
d2605269
JB
1862012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
187
188 * calc-mode.el (calc-basic-simplification-mode): Rename from
189 `calc-limited-simplification-mode'.
190 (calc-alg-simplification-mode): New function.
d66060f8 191 (calc-set-simplify-mode): Adjust message.
f1a71c6e 192
d2605269
JB
193 * calc.el (calc-set-mode-line): Adjust mode line display for
194 basic simplification mode.
195
196 * calc-help.el (calc-m-prefix-help): Update help message.
197
198 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
199 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
200
a3827a43
BG
2012012-07-31 Bastien Guerry <bzg@gnu.org>
202
203 * man.el (man): Fix comment. (bug#12101)
204
502e3f89
MR
2052012-07-31 Martin Rudalics <rudalics@gmx.at>
206
207 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
208 Don't return a non-nil value when no suitable buffer was found.
209
d7714961
FEG
2102012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
211
212 * progmodes/python.el (run-python-internal): Disable font lock for
213 internal shells.
214
1f45e27e
SM
2152012-07-30 Stefan Merten <smerten@oekonux.de>
216
217 * rst.el: Silence `checkdoc-ispell'.
218 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
219 (rst-official-version, rst-official-cvs-rev)
220 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
221 (rst-mode-map): New key binding.
222
0aee6912
PE
2232012-07-30 Paul Eggert <eggert@cs.ucla.edu>
224
225 Update .PHONY listings in makefiles.
226 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
227 autoloads, update-subdirs, updates, bzr-update, update-authors,
228 compile-onefile, compile-calc, backup-compiled-files,
229 compile-after-backup, compile-one-process, mh-autoloads,
230 bootstrap-clean, distclean, maintainer-clean.
231
9052f9f0
JB
2322012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
233
1823ac5a
JB
234 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
235 (calc-set-mode-line): Don't display "AlgSimp ".
236
237 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
238 (calc-lim-simplify-mode): New function.
239 (calc-set-simplify-mode): Default to 'alg.
240 (calc-default-simplify-mode): Make algebraic simplifications
241 the default.
242
243 * calc/calc-ext.el (calc-init-extensions): Remove binding for
244 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
245
8d7c7eed 246 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
247 indicate new simplification modes.
248
1823ac5a
JB
249 * calc/README: Mention new default simplification mode.
250
9052f9f0
JB
251 * calc/calc.el (math-normalize-error): New variable.
252 (math-normalize): Set `math-normalize-error' to t
253 when there's an error.
254
255 * calc/calc-alg.el (math-simplify): Don't simplify when
256 `math-normalize' returns an error.
257
20ba0cb4
EZ
2582012-07-29 Eli Zaretskii <eliz@gnu.org>
259
260 * international/mule-cmds.el (set-locale-environment): Revert last
261 change, since display-graphic-p returns nil when this function is
262 called during startup. Instead...
263
264 * term/w32console.el (terminal-init-w32console): ...setup the
265 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
266
a5dcc929
JL
2672012-07-29 Juri Linkov <juri@jurta.org>
268
269 * simple.el (goto-line): Don't display default line number in the
270 prompt because it should be displayed by `read-number' (bug#9952).
271 Add the current line number to the defaults of `goto-line' to
272 allow its easier modification by users with `M-n' (bug#9201).
273
274 * subr.el (read-number): Support multiple default values like in
275 other minibuffer reading functions. Replace `read' with
276 `string-to-number' for consistency with `number-to-string'.
277
72b255c7
PE
2782012-07-29 Paul Eggert <eggert@cs.ucla.edu>
279
280 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
281 * emulation/viper-init.el (viper-deactivate-input-method-action):
282 Rename from viper-inactivate-input-method-action.
283 (viper-deactivate-input-method):
284 Rename from viper-inactivate-input-method.
285 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
286 * international/mule-cmds.el (deactivate-input-method):
287 Rename from inactivate-input-method.
288 Also run input-method-deactivate-hook.
289 (deactivate-current-input-method-function):
290 Rename from inactivate-current-input-method-function.
291 (input-method-deactivate-hook): New hook.
292 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
293 (inactivate-input-method): Mark obsolete.
294
72b255c7
PE
295 * international/quail.el (quail-activate):
296 Also run quail-deactivate-hook.
297 (quail-deactivate): Rename from quail-inactivate.
298 * international/robin.el (robin-activate):
299 Also run robin-deactivate-hook.
300 (robin-deactivate): Rename from robin-inactivate.
301
2549c068
CY
3022012-07-29 Chong Yidong <cyd@gnu.org>
303
304 * simple.el (indicate-copied-region): New function.
305 (kill-ring-save): Split off from here.
306
307 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
308 (kill-rectangle): Set deactivate-mark to t on read-only error.
309
310 * register.el (copy-to-register, copy-rectangle-to-register):
311 Deactivate the mark, and use indicate-copied-region (Bug#10056).
312 (append-to-register, prepend-to-register): Call
313
17711ed9
JL
3142012-07-29 Juri Linkov <juri@jurta.org>
315
316 * simple.el (async-shell-command-buffer): New defcustom.
317 (shell-command): Use it. (Bug#4719)
318
01bd1b0d
EZ
3192012-07-28 Eli Zaretskii <eliz@gnu.org>
320
321 * international/mule-cmds.el (set-locale-environment): In a
322 console session on MS-Windows, set up keyboard and terminal
323 encoding from the OEM codepage, not the ANSI codepage.
324 (Bug#12055)
325
a55739d3
CY
3262012-07-28 Chong Yidong <cyd@gnu.org>
327
328 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
329 gdb-get-location.
330
9a0f8f2e
LL
3312012-07-25 Leo Liu <sdl.web@gmail.com>
332
333 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
334 the alist (bug#12029).
335
20329d73
EZ
3362012-07-28 Eli Zaretskii <eliz@gnu.org>
337
338 * makefile.w32-in (custom-deps, finder-data, updates, compile)
339 (compile-always, compile-first)
340 ($(lisp)/calendar/cal-loaddefs.el)
341 ($(lisp)/calendar/diary-loaddefs.el)
342 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
343 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
344 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
345 instead of on update-subdirs.
346 (bootstrap-clean): Delete $(lisp)/subdirs.el.
347
345a2258
CY
3482012-07-28 Chong Yidong <cyd@gnu.org>
349
1eee6341
CY
350 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
351 directory if vc-deduce-backend returns nil (Bug#7350).
352
345a2258
CY
353 * simple.el (delete-trailing-lines): New option.
354 (delete-trailing-whitespace): Obey it (Bug#11879).
355
049a0936
DE
3562012-07-28 David Engster <deng@randomsample.de>
357
358 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
359 Explanation of new 'symbol-qnames feature in doc-strings.
360 (xml-maybe-do-ns): Return expanded names as plain symbols if
361 'symbol-qnames was provided in XML-NS argument (Bug#11916).
362 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
363
aa81af71
FEG
3642012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
365
366 Consistent completion in inferior python with emacs -nw.
367 * progmodes/python.el (inferior-python-mode): replace "<tab>"
368 binding in inferior-python-mode-map with "\t".
369 (python-shell-completion-complete-at-point)
370 (python-completion-complete-at-point): Remove interactive spec.
371
e827b1eb
JB
3722012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
373
374 * calc/calccomp.el (math-compose-expr): Undo previous change.
375
a90dfb95
FEG
3762012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
377
378 * progmodes/python.el (python-mode-map): Added keybinding for
379 run-python.
380 (python-shell-make-comint): Fix pop-to-buffer call.
381 (run-python): Autoload. New arg SHOW.
382 (python-shell-get-or-create-process): Do not pop python process
383 buffer.
384
32770973 3852012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
386
387 * notifications.el (notifications-on-action-signal)
388 (notifications-on-closed-signal): Use also the bus address for the map.
389 (notifications-notify, notifications-close-notification)
390 (notifications-get-capabilities): Add optional argument BUS.
391
86332df2
TH
3922012-07-27 Tassilo Horn <tsdh@gnu.org>
393
394 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
395 support for the lstlisting and minted environments, and for the
396 ctable macro.
397 * textmodes/reftex.el (reftex-compile-variables): Also recognize
398 labels written in keyvals syntax.
399
ca1302a4
JB
4002012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
401
402 * calc/calccomp.el (math-compose-expr): Use parentheses when
403 there is a product in the denominator of a fraction.
404
f8b91036
EZ
4052012-07-26 Eli Zaretskii <eliz@gnu.org>
406
407 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
408 ($(lisp)/calendar/diary-loaddefs.el)
409 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
410 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
411 failures in parallel bootstrap because subdirs.el is being
412 rewritten while the autoload files are built at the same time,
413 which needs to load subdirs.el.
414
c8e5a42c
MR
4152012-07-26 Martin Rudalics <rudalics@gmx.at>
416
417 * mouse.el (popup-menu): Fix doc-string and re-indent code.
418 (mouse-drag-line): Don't exit tracking when a switch-frame or
419 switch-window event occurs (Bug#12006).
420
670d85ea
SM
4212012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * mouse.el (popup-menu): Fix last change.
424
7abaf5cc
SM
4252012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 Autoload from Lisp with more care. Follow aliases when looking for
428 function properties.
429 * subr.el (autoloadp): New function.
430 (symbol-file): Use it.
431 (function-get): New function.
432 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
433 autoload-do-load.
434 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
435 (lisp-indent-function):
436 * emacs-lisp/gv.el (gv-get):
437 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
438 * emacs-lisp/byte-opt.el (byte-optimize-form):
439 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
440 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
441 Use function-get.
442 * emacs-lisp/cl.el: Don't propagate function properties any more.
443
444 * speedbar.el (speedbar-add-localized-speedbar-support):
445 * emacs-lisp/disass.el (disassemble-internal):
446 * desktop.el (desktop-load-file):
447 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
448 (describe-function-1):
449 * emacs-lisp/find-func.el (find-function-noselect):
450 * emacs-lisp/elp.el (elp-instrument-function):
451 * emacs-lisp/advice.el (ad-has-proper-definition):
452 * apropos.el (apropos-safe-documentation, apropos-macrop):
453 * emacs-lisp/debug.el (debug-on-entry):
454 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
455 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
456 * calc/calc.el (name): Use autoloadp & autoload-do-load.
457
b1364986
AA
4582012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
459
460 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
461 function, not an obsolete variable (Bug#12046).
462
67ada220
AS
4632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
464
465 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
466
f08088e3
CS
4672012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
468
469 * emacs-lisp/pp.el (pp-display-expression): Select old selected
470 window only if it is still live (Bug#12034).
471
8137e7b3
MR
4722012-07-25 Martin Rudalics <rudalics@gmx.at>
473
474 * subr.el (redirect-frame-focus): Add advertised calling
475 convention (Bug#12030).
476
09ae5da1
PE
4772012-07-25 Paul Eggert <eggert@cs.ucla.edu>
478
479 Prefer typical American spelling for "acknowledgment".
480 * vc/add-log.el (change-log-acknowledgment): Rename from
481 change-log-acknowledgement, with an alias for the old name.
482
3cc5a3a8
JB
4832012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
484
485 * calc-alg.el (math-simplify-divide): Don't cross multiply
486 in an equation when the lhs is a variable.
487
b7af7f62
JD
4882012-07-24 Julien Danjou <julien@danjou.info>
489
490 * net/netrc.el (netrc-find-service-number, netrc-store-data):
491 Remove, unused.
492
ec1b09b1
EZ
4932012-07-23 Eli Zaretskii <eliz@gnu.org>
494
495 * startup.el (command-line): Don't display an empty user name in
496 the error message about non-existent home directory, when
497 init-file-user was set to an empty string. See
498 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
499 for the details and context.
500
b525fd8a
VB
5012012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
502
503 * ses.el (ses-cell-formula-aset): New macro.
504 (ses-cell-references-aset): New macro.
505 (ses-cell-p): New function.
506 (ses-rename-cell): Do no longer rely on complex operations like
507 ses-cell-set-formula or ses-set-cell to change the cell and handle
508 the undo at the same time, but rather use lower level new macros
509 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
510 the undo directly. Refresh the mode line.
511
2c73e345
LL
5122012-07-21 Leo Liu <sdl.web@gmail.com>
513
670d85ea
SM
514 * progmodes/cc-cmds.el (c-defun-name):
515 Use match-string-no-properties instead for consistency.
2c73e345 516
542dfbde
LL
5172012-07-20 Leo Liu <sdl.web@gmail.com>
518
3646bcd6
LL
519 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
520 (Bug#7879)
521
542dfbde
LL
522 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
523
25721031
CY
5242012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
527 * progmodes/bug-reference.el, misearch.el: Provide themselves
528 (bug#11915).
529
530 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
531 of narrowed buffer (bug#11966).
532
316e68a7
VB
5332012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
534
535 * ses.el (ses-rename-cell): Set new name also in reference list of
536 cells of which the renamed cell depends.
537
bbf0e7d9
MY
5382012-07-20 Masatake YAMATO <yamato@redhat.com>
539
540 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
541 to check whether menu-bar is shown or not. If not shown,
542 show the menu-bar as a popup menu instead of using tmm.
543 * mouse.el (popup-menu): Accept `point' as `position' argument.
544
c28662a8
DG
5452012-07-20 Dmitry Gutov <dgutov@yandex.ru>
546
547 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
548 up inside string symbol literal (bug#11923).
549
87ab808f
EZ
5502012-07-20 Eli Zaretskii <eliz@gnu.org>
551
552 * startup.el (fancy-startup-text): Read the whole tutorial, not
553 just its first 256 bytes. Prevents gibberish in display of the
554 tutorial title.
555
89dea803
DA
5562012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
557
558 Drop idle buffer compaction due to an absence of the
559 proved efficiency.
560 * compact.el: Remove.
561
8a4e6db8
SS
5622012-07-19 Sam Steingold <sds@gnu.org>
563
564 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
565 vc-bzr-pull & vc-bzr-merge-branch.
566 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
567 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
568 for consistency with compilation-error-regexp-alist.
569 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
570 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
571 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
572 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
573
5db81e33
SM
5742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * emacs-lisp/chart.el: Use lexical-binding.
577 (chart-emacs-storage): Don't hardcode the list of entries.
578
5b835e1d
DA
5792012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
580
581 Next round of tweaks caused by Fgarbage_collect changes.
582 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
583
9cd47b72
DA
5842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
585
586 Compact buffers when idle.
587 * compact.el: New file.
588
1d6fc0df
SM
5892012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * subr.el (eventp): Presume that if it looks vaguely like an event,
592 it's an event (bug#10190).
593
1d29cc7d
FEG
5942012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
595
596 Enhancements to ppss related code (thanks Stefan).
597 * progmodes/python.el (python-indent-context)
598 (python-indent-calculate-indentation, python-indent-dedent-line)
599 (python-indent-electric-colon, python-nav-forward-block)
600 (python-mode-abbrev-table)
1d6fc0df 601 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
602 for ppss context.
603 (python-info-continuation-line-p): Cleanup.
604 (python-info-ppss-context): Do not catch 'quote.
605 (python-info-ppss-context-type)
606 (python-info-ppss-comment-or-string-p): Simplify.
607
d583cbe6
FEG
6082012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
609
610 * progmodes/python.el: Enhancements to eldoc support.
611 (python-info-current-symbol): New function.
612 (python-eldoc-at-point): Use python-info-current-symbol.
613 (python-info-current-defun): Fix cornercase on first defun scan.
614 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
615 and signal error when no inferior python process is available.
616
eceb6feb
DG
6172012-07-18 Dmitry Gutov <dgutov@yandex.ru>
618
619 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
620 assume it's always t.
621 (vc-git-registered): Remove caching, the function is only called
622 once.
623 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
624
4c8ff0fe
CY
6252012-07-18 Chong Yidong <cyd@gnu.org>
626
19fb7186
CY
627 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
628
9587c688
CY
629 * simple.el (count-words): Report on narrowing (Bug#9959).
630
0fe776a1
CY
631 * bindings.el: Bind M-= to count-words.
632
4c8ff0fe
CY
633 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
634
7f5331cc
MY
6352012-07-18 Masatake YAMATO <yamato@redhat.com>
636
637 * progmodes/sh-script.el (sh-imenu-generic-expression):
638 Capture a function with `function' keyword and without parentheses
639 like "function FOO" (bug#11856).
640
2dc2a609
TH
6412012-07-18 Tassilo Horn <tassilo@member.fsf.org>
642
643 * window.el (split-window-sensibly): Make WINDOW argument
644 optional.
645
439f7677
CY
6462012-07-18 Chong Yidong <cyd@gnu.org>
647
9aeb25a6
CY
648 * subr.el (keyboard-translate): Doc fix (Bug#7261).
649
439f7677
CY
650 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
651 and make C-x 8 RET exit isearch (Bug#11439).
652
653 * international/iso-transl.el: Move isearch-mode-map key
654 definitions to isearch.el.
655
12999ea8
SM
6562012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
659 (eieio-defclass): Use gv-define-setter when possible.
660
3ab6e069
DA
6612012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
662
663 Reflect recent changes in Fgarbage_collect.
664 * emacs-lisp/chart.el (chart-emacs-storage): Change to
665 reflect new format of data returned by Fgarbage_collect.
666
0a60bc10
FEG
6672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
668
669 New utility functions + python-info-ppss-context fix (Bug#11910).
670 * progmodes/python.el (python-info-beginning-of-block-statement-p)
671 (python-info-ppss-comment-or-string-p): New functions.
672 (python-info-ppss-context): Small fix for string check.
673
6dafa0d5
JL
6742012-07-17 Juri Linkov <juri@jurta.org>
675
676 * dired-aux.el (dired-do-async-shell-command): Doc fix.
677 (dired-do-async-shell-command): Don't add `*' at the end of the
678 command (Bug#11815).
679 (dired-do-shell-command): Doc fix.
680 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
681 Join the individual commands using either "&" or ";" as the
682 separator depending on the values of these trailing characters.
683 At the end re-add the trailing "&". (Bug#10598)
684
685 * simple.el (async-shell-command): Sync the interactive spec with
686 `shell-command'. Doc fix.
687 (shell-command): Doc fix.
688
b19dd9d1
JL
6892012-07-17 Juri Linkov <juri@jurta.org>
690
691 * descr-text.el (describe-char): Fix format args. (Bug#10129)
692
bcdc27d7 6932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 694
bcdc27d7 695 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
696 * progmodes/python.el (python-nav-beginning-of-statement):
697 Rename from python-nav-statement-start.
bcdc27d7
FEG
698 (python-nav-end-of-statement): Rename from
699 python-nav-statement-end.
700 (python-nav-beginning-of-block): Rename from
701 python-nav-block-start.
702 (python-nav-end-of-block): Rename from python-nav-block-end.
703
191da00e
FEG
7042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
705
7f5331cc
MY
706 * progmodes/python.el (python-shell-send-string-no-output):
707 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
708 future interactions (Bug#11868).
709
4dc7c8d5 7102012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 711
88ecaf8f
SM
712 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
713
ef501ef0
SM
714 * emacs-lisp/elint.el (elint-find-args-in-code):
715 Use help-function-arglist, so as to handle lexical byte-code.
716
aa7aaf8f
SM
717 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
718 change (bug#11826).
719
45fd731c
SM
7202012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
721
2143fa32
SM
722 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
723 Avoid spuriously marking the buffer as modified because of c-is-sws.
724
efc26dbe
SM
725 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
726 as not-a-comment (bug#11946).
727
f5695c9a
SM
728 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
729 for uninterned vars.
730
731 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
732 Use read-event since we don't really want to read chars but bytes.
733
45fd731c
SM
734 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
735 $$..$$ but also $..$ using regexps (bug#11953).
736 Use tex-verbatim for \url and \path.
737 (tex-font-lock-keywords): Define as defconst like the others.
738 (tex-common-initialization): Don't use font-lock-syntax-table any more.
739
ddfc8813
RK
7402012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
741
742 * international/mule-cmds.el (ucs-insert): Make it an obsolete
743 alias for insert-char.
744
758e556a
FEG
7452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
746
747 * progmodes/python.el: Simplified imenu implementation.
748 (python-nav-jump-to-defun): Remove command.
749 (python-mode-map): Use `imenu' instead.
750 (python-nav-list-defun-positions-cache)
751 (python-imenu-include-defun-type, python-imenu-make-tree)
752 (python-imenu-subtree-root-label, python-imenu-index-alist):
753 Remove vars.
754 (python-nav-list-defun-positions, python-nav-read-defun)
755 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
756 (python-imenu-make-tree, python-imenu-create-index):
757 Remove functions.
758e556a
FEG
758 (python-mode): Update to interact with imenu by setting
759 `imenu-extract-index-name-function' only.
760
032d23ab
FEG
7612012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
762
763 * progmodes/python.el: Enhancements to navigation commands.
764 (python-nav-backward-sentence)
765 (python-nav-forward-sentence): Remove.
766 (python-nav-backward-statement, python-nav-forward-statement)
767 (python-nav-statement-start, python-nav-statement-end)
768 (python-nav-backward-block, python-nav-forward-block)
769 (python-nav-block-start, python-nav-block-end)
770 (python-nav-forward-sexp-function)
771 (python-info-current-line-comment-p)
772 (python-info-current-line-empty-p): New functions.
773 (python-indent-context): Use `python-nav-statement-start'.
774
01795a1b
MA
7752012-07-16 Michael Albinus <michael.albinus@gmx.de>
776
9328d9aa
MA
777 * eshell/em-ls.el (eshell/ls): Use `apply'.
778
779 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
780 multi-hops, instead of Tramp internals.
781
01795a1b
MA
782 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
783
784 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
785 when F1 and F2 are located on different hosts.
786
63408057
CY
7872012-07-14 Chong Yidong <cyd@gnu.org>
788
789 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
790 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
791 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
792 (xterm-mouse--read-event-sequence-1000)
793 (xterm-mouse--read-event-sequence-1006): New functions. For old
794 mouse protocol, handle M-mouse-X events correctly.
795 (xterm-mouse-event): New arg specifying mouse protocol.
796 (turn-on-xterm-mouse-tracking-on-terminal)
797 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
798 sequence to toggle extended coordinates on newer XTerms.
799 This appears to be harmless on terminals which do not support this.
63408057 800
cd276f6e
LL
8012012-07-14 Leo Liu <sdl.web@gmail.com>
802
28ca98ac
LL
803 Add fringe bitmap indicators for flymake. (Bug#11253)
804 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
805 (flymake-make-overlay): New arg BITMAP.
806 (flymake-error-bitmap, flymake-warning-bitmap)
807 (flymake-fringe-indicator-position): New user variables.
808
cd276f6e
LL
809 * fringe.el: New bitmap exclamation-mark.
810
04408072
JD
8112012-07-14 Jan Djärv <jan.h.d@swipnet.se>
812
813 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
814 also (Bug#7879).
815
b5cf7fc4
CY
8162012-07-14 Chong Yidong <cyd@gnu.org>
817
818 * electric.el (electric-pair-post-self-insert-function): Fix pair
819 insertion in empty-region case (Bug#11520).
820
be755c79
RT
8212012-07-14 Chong Yidong <cyd@gnu.org>
822
45fd731c
SM
823 * bindings.el: Consolidate ctl-x-r-map bindings.
824 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
825
826 * rect.el, register.el: Move bindings to bindings.el.
827
8282012-07-14 Reuben Thomas <rrt@sc3d.org>
829
830 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
831
7f5b3198
AS
8322012-07-13 Andreas Schwab <schwab@linux-m68k.org>
833
834 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
835
97662200
JB
8362012-07-13 Juanma Barranquero <lekktu@gmail.com>
837
80185fed
JB
838 * bindings.el (top): Use `mapc' instead of `mapcar'.
839
97662200
JB
840 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
841
2bb1ae55
MA
8422012-07-13 Michael Albinus <michael.albinus@gmx.de>
843
844 * progmodes/sql.el (sql-comint): Suppress the check for program on
845 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
846 (Bug#11908)
847
dea31bd3
CY
8482012-07-13 Chong Yidong <cyd@gnu.org>
849
850 * bindings.el: Assign a non-nil permanent-local property to
851 per-buffer variables which lack a default value (Bug#11930).
852
853 * help-fns.el (describe-variable): In the "automatically becomes
854 local" notice, take note of permanent-local variables.
855
b68b3337
CY
8562012-07-13 Chong Yidong <cyd@gnu.org>
857
858 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
859 to allow printing the message when called from Lisp.
860
861 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
862 Remove toggle-read-only.
863
864 * bs.el (bs-toggle-readonly):
45fd731c
SM
865 * buff-menu.el (Buffer-menu-toggle-read-only):
866 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
867
868 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
869 Remove with-no-warnings around toggle-read-only.
870 (ffap-read-only, ffap-read-only-other-window)
871 (ffap-read-only-other-frame): Callers changed.
872
873 * help-mode.el: Don't require view package.
874 (help-mode-finish): Set buffer-read-only instead of calling
875 toggle-read-only.
876
877 * bindings.el (mode-line-toggle-read-only):
878 * dired.el (dired-toggle-read-only):
879 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
880 with non-nil second arg.
881
882 * emacs-lisp/eieio-custom.el (eieio-customize-object):
883 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
884 directly.
885
56bc1586
EZ
8862012-07-12 Eli Zaretskii <eliz@gnu.org>
887
888 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
889 not incf.
890
a464a6c7
SM
8912012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 More CL cleanups and reduction of use of cl.el.
894 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
895 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
896 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
897 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
898 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
899 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
900 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
901 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
902 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
903 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
904 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
905 * eshell/em-cmpl.el, eshell/em-banner.el:
906 * calendar/parse-time.el: Use cl-lib.
907 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
908 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
909 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
910 * term/ns-win.el, term.el, shell.el, ps-samp.el:
911 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
912 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
913 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
914 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
915 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
916 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
917 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
918 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
919 `lambda' rather than with `quote'.
920 (eshell-do-opt): Adjust accordingly.
921 (eshell-process-option): Simplify.
922 * eshell/esh-var.el:
923 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
924 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
925 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
926 to `pcase--dontcare'.
927 * emacs-lisp/cl.el (labels): Mark obsolete.
928 (cl--letf, letf): Move to cl-lib.
929 (cl--letf*, letf*): Remove.
930 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
931 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
932 (cl-progv): Rewrite.
933 (cl--letf, cl-letf): Move from cl.el.
934 (cl-letf*): New macro.
935 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
936
7ad4afe1
MA
9372012-07-11 Michael Albinus <michael.albinus@gmx.de>
938
939 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
940
9af57756
CY
9412012-07-11 Chong Yidong <cyd@gnu.org>
942
943 * vc/log-edit.el (log-edit-vc-backend): New variable.
944 (log-edit): Doc fix.
945
946 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
947 argument of log-edit to set up all local variables.
948 (vc-start-logentry): New optional arg specifying VC backend.
949
950 * vc/vc.el (vc-checkin): Use it.
951 (vc-deduce-fileset): Handle Log Edit buffers.
952 (vc-diff): Make first argument optional too.
953
954 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
955
8477cc7a
MA
9562012-07-10 Michael Albinus <michael.albinus@gmx.de>
957
958 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
959 command, just in case. The function is not needed anymore.
960 (eshell-external-command): Do not call `eshell-remote-command'.
961
19faa8e8
SM
9622012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
963
f58e0fd5
SM
964 Reduce use of (require 'cl).
965 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
966 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
967 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
968 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
969 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
970 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
971 * battery.el, avoid.el, abbrev.el: Use cl-lib.
972 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
973 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
974 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
975 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
976 * calculator.el, autorevert.el, apropos.el: Don't require CL.
977 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
978 (byte-compile-unfold-bcf, byte-compile-check-variable):
979 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
980 (byte-compile-nilconstp):
981 * emacs-lisp/autoload.el (make-autoload): Use pcase.
982 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
983
2519d43a
SM
984 * emacs-lisp/gv.el (cond): Make it a valid place.
985 (if): Simplify slightly.
986
19faa8e8
SM
987 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
988 (pcase--self-quoting-p): New function.
989 (pcase--u1): Use it.
990
c4907a5e
GM
9912012-07-10 Glenn Morris <rgm@gnu.org>
992
993 * emacs-lisp/authors.el (authors-fixed-entries):
994 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
995
c4444d16
PE
9962012-07-09 Paul Eggert <eggert@cs.ucla.edu>
997
998 Rename configure.in to configure.ac (Bug#11603).
999 * emacs-lisp/authors.el (authors-canonical-file-name):
1000 * progmodes/autoconf.el (autoconf-mode):
1001 Prefer configure.ac to configure.in.
1002
d75be97d
CY
10032012-07-08 Chong Yidong <cyd@gnu.org>
1004
01ac65bd
CY
1005 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1006 Implement the mouse-1-click-follows-link handling properly.
1007
1008 * info.el (Info-link-keymap): Use follow-link mechanism for
1009 header-line links (Bug#374).
1010
d75be97d
CY
1011 * simple.el (deactivate-mark): Do not set the primary selection
1012 if another program has acquired it (Bug#11772).
1013
87a92845 10142012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1015
1016 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1017 (woman-decode-region): Replace escaped-escapes without destroying
1018 bold or underline (Bug#11552).
87a92845 1019 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1020
621b9d6c
CY
10212012-07-07 Chong Yidong <cyd@gnu.org>
1022
1023 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1024 (interprogram-cut-function, interprogram-paste-function):
1025 Mention that we typically mean the clipboard.
621b9d6c 1026
133a11fc
GM
10272012-07-06 Glenn Morris <rgm@gnu.org>
1028
0d27a45e
GM
1029 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1030
133a11fc
GM
1031 * files.el (toggle-read-only): Restrict message to interactive use.
1032
07b151f1
MA
10332012-07-06 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1036
1037 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1038
211b896b
GM
10392012-07-06 Glenn Morris <rgm@gnu.org>
1040
50394322
GM
1041 * Makefile.in (compile-one-process): Rename from "recompile".
1042
211b896b
GM
1043 * Makefile.in (bzr-update): "compile" is the same as "recompile
1044 autoloads", but parallelizable, so use that instead.
1045
4737eec9
DG
10462012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1047
1048 * window.el (quit-window): Always restore window height when
8137e7b3 1049 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1050
226c3633 10512012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1052
1053 * simple.el (kill-whole-line): Doc tweak.
1054
226c3633 10552012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1056
1057 * files.el (file-relative-name): Compare file names
1058 case-insensitively if on MS-Windows or MS-DOS, or if
1059 read-file-name-completion-ignore-case is non-nil. Don't use
1060 case-fold-search for this purpose. (Bug#11827)
1061
4dc7c8d5
SM
10622012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1063
1064 * calendar/cal-dst.el (calendar-current-time-zone):
1065 Return calendar-current-time-zone-cache if non-nil.
1066
10672012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 10682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1069
19faa8e8
SM
1070 * calendar/cal-dst.el (calendar-current-time-zone):
1071 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1072
60198fc9
GM
10732012-07-06 Glenn Morris <rgm@gnu.org>
1074
1075 * Makefile.in (cvs-update): Remove old alias.
1076
957b3189
MA
10772012-07-05 Michael Albinus <michael.albinus@gmx.de>
1078
1079 Sync with Tramp 2.2.6-pre.
1080
1081 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1082 compatible declaration.
1083
19faa8e8
SM
1084 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1085 Protect `list-load-path-shadows' call.
957b3189
MA
1086
1087 * net/tramp-compat.el (top): Require packages, which aren't
1088 autoloaded anymore for XEmacs. Protect call of
1089 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1090 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1091 it hurts at least for SXEmacs.
1092 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1093 standard-value for `temporary-file-directory'.
1094
1095 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1096 Redirect stderr to /dev/null.
1097 (tramp-sh-handle-write-region): uid and gid can be floats.
1098 Reported by Russell Sim <russell.sim@gmail.com>.
1099 (tramp-sh-handle-vc-registered): Hide errors.
1100 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1101 and `start-file-process'.
1102 (tramp-maybe-open-connection): Check also whether `non-essential'
1103 is bound.
1104
566df3fc
CY
11052012-07-04 Chong Yidong <cyd@gnu.org>
1106
1107 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1108 (xml-parse-tag): Likewise, and avoid changing entity tables.
1109 (xml-syntax-table): Define from scratch, making sure not to give
1110 x2000 and other Unicode spaces whitespace syntax, since those are
1111 not spaces in XML.
1112 (xml-parse-fragment): Delete unused function.
1113 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1114 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1115 (xml-entity-ref, xml-pe-reference-re)
1116 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1117 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1118 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1119 (xml-entity-value-re): Use syntax references in regexps where
1120 possible; no need to define inside a let-binding.
1121 (xml-parse-dtd): Use xml-pe-reference-re.
1122 (xml-entity-or-char-ref-re): New defconst.
1123 (xml-parse-string, xml-substitute-special): Use it.
1124
30eabd7a
SM
11252012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1126
0781098a
SM
1127 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1128 (find-file--read-only): New function.
1129 (find-file-read-only, find-file-read-only-other-window)
1130 (find-file-read-only-other-frame): Use it.
1131 (insert-file-contents-literally): Don't `fset'.
1132 (get-free-disk-space): Use locate-dominating-file.
1133
b5771c0d
SM
1134 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1135 function is already compiled.
1136
30eabd7a
SM
1137 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1138
b4886f6e
MA
11392012-07-03 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1142 files on the same host.
1143
b9d82339
AS
11442012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1145
1146 * help-fns.el (describe-function-1): Only call
1147 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1148
a76e6535
CY
11492012-07-03 Chong Yidong <cyd@gnu.org>
1150
1151 * xml.el: Protect parser against XML bombs.
1152 (xml-entity-expansion-limit): New variable.
1153 (xml-parse-string, xml-substitute-special): Use it.
1154 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1155
b544fef2
GM
11562012-07-03 Glenn Morris <rgm@gnu.org>
1157
1158 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1159 Allow linking to specific messages in debbugs reports (eg 123#5).
1160
a7aef6f5
CY
11612012-07-02 Chong Yidong <cyd@gnu.org>
1162
1163 * xml.el: Fix entity and character reference expansion, allowing
1164 them to expand into markup as per XML spec.
1165 (xml-default-ns): New variable.
1166 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1167 (xml-parse-region): Make first two arguments optional.
1168 Discard text properties.
1169 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1170 All callers changed.
a7aef6f5
CY
1171 (xml-parse-tag): Call xml-parse-tag-1. For backward
1172 compatibility, this function should not modify buffer contents.
1173 (xml-parse-tag-1): Fix opening-tag regexp.
1174 (xml-parse-string): Rewrite, handling entity and character
1175 references properly.
1176 (xml--entity-replacement-text): Signal an error if a parameter
1177 entity is undefined.
1178
3df31c9f
SM
11792012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1180
2b5208f1
SM
1181 * comint.el (comint-output-filter): Filter out repeated prompts.
1182
3df31c9f
SM
1183 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1184 and file-name-absolute-p.
1185 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1186 internal calls.
1187
e3ac1281
PE
11882012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1189
1190 Spelling fixes.
1191 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1192 Rename from byte-compile--refiy-function. All uses changed.
1193
fbf2e7ad
CY
11942012-07-01 Chong Yidong <cyd@gnu.org>
1195
1196 * xml.el (xml--parse-buffer): New function. Move most of
1197 xml-parse-region here.
1198 (xml-parse-region): Copy region into a temporary buffer, since
1199 parameter entity substitution requires changing buffer contents.
1200 Use xml--parse-buffer.
1201 (xml-parse-file): Use xml--parse-buffer.
1202 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1203 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1204
9bf0aa15
GM
12052012-06-30 Glenn Morris <rgm@gnu.org>
1206
bbce2853
GM
1207 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1208
9bf0aa15
GM
1209 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1210 Remove outdated and unnecessary dbus declarations.
1211
0d23c240
EZ
12122012-06-30 Eli Zaretskii <eliz@gnu.org>
1213
1214 * emacs-lisp/timer.el (timer-until): Subtract results of
1215 float-time, instead of taking float-time of the result of
1216 time-subtract, since float-time signals an error for negative time
1217 arguments.
1218
b3218de1
CY
12192012-06-30 Chong Yidong <cyd@gnu.org>
1220
1221 * xml.el (xml-*-re): Convert defvars into defconsts, and
1222 eval-and-compile them so eval-and-compile works on derivatives.
1223 (xml--entity-replacement-text): Use eval-and-comple.
1224
a40c87a0
MA
12252012-06-30 Michael Albinus <michael.albinus@gmx.de>
1226
1227 * vc/vc-git.el (vc-git-registered): Use cache property
1228 `git-registered'.
1229 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1230 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1231 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1232
ac87de97
DG
12332012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1236 removed (likely outside Emacs). (Bug#11757)
ac87de97 1237
ac10fe06
SM
12382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1239
3df31c9f 1240 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1241
7f3fbd5d
CY
12422012-06-30 Chong Yidong <cyd@gnu.org>
1243
1244 * xml.el: Implement XML parameter entities.
1245 (xml-parameter-entity-alist): New variable.
1246 (xml-parse-region, xml-parse-fragment): Preserve previous values
1247 of xml-entity-alist and xml-parameter-entity-alist, so that
1248 repeated calls on different documents do not change them.
1249 (xml-parse-tag): Fix doctype regexp.
1250 (xml--entity-replacement-text): New function.
1251 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1252 properly requires url retrieval which is unimplemented.
1253 (xml-escape-string): Doc fix.
1254
3cfbebba
SM
12552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1258
2af3565e
DA
12592012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1260
1261 * fringe.el (fringe-mode): Doc fix.
1262
929df0e7
MA
12632012-06-29 Michael Albinus <michael.albinus@gmx.de>
1264
1265 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1266 is non-nil.
1267 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1268 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1269
c8d3a25c 12702012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1271
c8d3a25c
GM
1272 * calendar/cal-dst.el (calendar-current-time-zone):
1273 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1274
c8d3a25c 12752012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1276
1277 * progmodes/which-func.el (which-func-format):
1278 Add mouse-face. (Bug#11698)
1279
c8d3a25c
GM
12802012-06-29 Leo Liu <sdl.web@gmail.com>
1281
1282 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1283
12842012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * minibuffer.el (minibuffer-confirm-exit-commands):
1287 Add completion-at-point (bug#11725).
1288
12892012-06-29 Glenn Morris <rgm@gnu.org>
1290
1291 * progmodes/f90.el (f90-font-lock-keywords-2):
1292 Add some preprocessor elements. (Bug#10499)
1293
12942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1297 Use syntax-propertize (bug#11739).
1298
2badeec4
JB
12992012-06-28 Juanma Barranquero <lekktu@gmail.com>
1300
1301 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1302
ae4969c2
JD
13032012-06-28 Julien Danjou <julien@danjou.info>
1304
1305 * term.el (term-handle-colors-array): Use a set of new faces to
1306 color the terminal. Also uses :inverse-video property.
1307 (term-default-fg-color): Set to nil by default, deprecate in favor
1308 of `term-face'.
1309 (term-default-bg-color): Set to nil by default, deprecate in favor
1310 of `term-face'.
1311 (term-current-face): Use `term-face' by default.
1312 (term-bold-attribute): Variable deleted.
1313
1c9bd870
GM
13142012-06-28 Glenn Morris <rgm@gnu.org>
1315
1316 * simple.el (completion-list-mode-finish):
1317 Don't use toggle-read-only. (Since completion-list-mode has
1318 a special mode-class, it wasn't doing anything extra anyway.)
1319
c207708c
SM
13202012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 Make inlining of other-mode interpreted functions work (bug#11799).
1323 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1324 (byte-compile): Use it to fix compilation of lexical-binding closures.
1325 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1326 function, if needed.
1327
3fd56834
SM
13282012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1329
04901786
SM
1330 * help-mode.el (help-make-xrefs): Don't just withstand
1331 cyclic-variable-indirection but any error in documentation-property.
1332
1ec4b7b2
SM
1333 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1334 memory use.
1335 * bindings.el (bindings--define-key): New function.
1336 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1337 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1338 * bindings.el: Use it to purecopy define-key bindings.
1339
e309e2a5
SM
1340 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1341
d5c6faf9
SM
1342 * emacs-lisp/cl.el (flet): Mark obsolete.
1343 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1344 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1345 * progmodes/js.el (js-c-fill-paragraph):
1346 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1347 (ebrowse-switch-member-buffer-to-derived-class):
1348 * play/5x5.el (5x5-solver): Use cl-flet.
1349
6e9590e2
SM
1350 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1351 (cl--symbol-function): New macro.
1352 (cl--letf, cl--letf*): Use it.
1353
3fd56834
SM
1354 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1355 Strip "toggle-" if any.
1356
35ff222c
GM
13572012-06-27 Glenn Morris <rgm@gnu.org>
1358
1ba6038a
GM
1359 * info.el (Info-default-directory-list): Move here from paths.el.
1360 * paths.el: Remove file, which is now empty.
1361 * loadup.el: No longer load "paths".
1362
0ea0e51b
GM
1363 * custom.el (custom-initialize-delay): Doc fix.
1364
35ff222c
GM
1365 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1366 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1367 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1368 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1369 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1370 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1371 * eshell/eshell.el (eshell-defgroup): Remove alias.
1372
c89926a5
CY
13732012-06-27 Chong Yidong <cyd@gnu.org>
1374
1375 * help.el (help-enable-auto-load): New variable.
1376
1377 * help-fns.el (help-fns--autoloaded-p): New function.
1378 (describe-function-1): Refer to a function as "autoloaded" if it
1379 was autoloaded at any time in the past. Perform autoloading if
1380 help-enable-auto-load is non-nil.
1381
cc06e7e7
EZ
13822012-06-26 Eli Zaretskii <eliz@gnu.org>
1383
1384 * makefile.w32-in (compile, compile-always): Depend on
1385 update-subdirs, not on subdirs.el. Otherwise, several different
1386 sub-targets of 'bootstrap' running in parallel could
1387 simultaneously write to subdirs.el, producing a garbled file.
1388
d2c32364
SS
13892012-06-26 Sam Steingold <sds@gnu.org>
1390
1391 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1392 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1393 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1394 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1395 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1396 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1397 * textmodes/tex-mode.el: Use it.
1398 Did not touch cedet and org because they are maintained elsewhere.
1399
5cf983b2
MR
14002012-06-26 Martin Rudalics <rudalics@gmx.at>
1401
1402 * calendar/calendar.el (calendar-exit): Don't try to delete or
1403 iconify last frame. See:
1404 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1405
8c4f2952
JD
14062012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1407
1408 * server.el (server-process-filter): Remember dir in the
1409 process's `server-client-directory' properties.
1410
772b2e2c
CY
14112012-06-24 Chong Yidong <cyd@gnu.org>
1412
1413 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1414 non-tag text.
1415
711b11e1
JB
14162012-06-23 Juanma Barranquero <lekktu@gmail.com>
1417
1418 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1419
dc5d230c
SM
14202012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * help-fns.el (describe-variable): Don't croak when doc is not found.
1423 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1424 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1425 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1426 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1427 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1428 ((lambda ..) ..).
1429 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1430
136e1c1d
CY
14312012-06-23 Chong Yidong <cyd@gnu.org>
1432
e8c1cabf
CY
1433 * info.el (Info-mouse-follow-link): Accept symbol values of
1434 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1435 (Info-fontify-node): Use Info-link-keymap for all navigation
1436 buttons, with link-args property to perform the desired action.
1437 (Info-link-keymap): Doc fix.
1438 (Info-next-link-keymap, Info-prev-link-keymap)
1439 (Info-up-link-keymap): Delete now-unused keymaps.
1440
0e9e6c6a
CY
14412012-06-23 Chong Yidong <cyd@gnu.org>
1442
05e89fea
CY
1443 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1444
0e9e6c6a
CY
1445 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1446 system abbrevs.
1447
1448 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1449
e33c6771
SM
14502012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1451
b68581e2
SM
1452 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1453 (bug#11719).
1454
e33c6771
SM
1455 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1456 the requote function doesn't work properly (bug#11714).
1457
7117e105
GM
14582012-06-23 Glenn Morris <rgm@gnu.org>
1459
1460 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1461
36cec983
SM
14622012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 Further GV/CL cleanups.
1465 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1466 gv-expander.
1467 (gv--defun-declaration): New function.
1468 (defun-declarations-alist): Use it.
1469 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1470 (gv-place): Autoload.
1471 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1472 original definition of dotimes and dolist.
1473 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1474 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1475 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1476 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1477 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1478 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1479 to the function's definition.
1480 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1481 * window.el:
1482 * files.el:
1483 * faces.el:
1484 * env.el: Don't use CL.
1485
d35af63c
PE
14862012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1487
1488 Support higher-resolution time stamps (Bug#9000).
1489
1490 * calendar/time-date.el (with-decoded-time-value): New arg
1491 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1492 (encode-time-value): New optional arg PICO. New type 3.
1493 (time-to-seconds) [!float-time]: Support the new picoseconds
1494 component if it's used.
1495 (seconds-to-time, time-subtract, time-add):
1496 Support ps-resolution time stamps as well.
1497
1498 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1499 (timerp): Timer vectors now have length 9, not 8.
1500 (timer--time): Support new-style (4-part) time stamps.
1501 (timer-next-integral-multiple-of-time): Time stamps now have
1502 picosecond resolution, so take a bit more care about rounding.
1503 (timer-relative-time, timer-inc-time): New optional arg psecs.
1504 (timer-set-time-with-usecs): Set psecs to 0.
1505 (timer--activate): Check psecs component, too.
1506
1507 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1508
ac77b21a
SM
15092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1510
f143bfe3
SM
1511 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1512 Move the non-essential binding to the post/pre-command-hook where it is
1513 more obviously correct.
1514
ac77b21a
SM
1515 * subr.el (read-passwd): Don't use a history at all.
1516 * savehist.el (savehist-save): Remove password saved accidentally
1517 because of the above bug.
1518
76386c5a
BG
15192012-06-22 Bastien Guerry <bzg@gnu.org>
1520
1521 * files.el (toggle-read-only): Display a message telling whether
1522 the buffer is read-only or not (bug#11726).
1523
2ee3d7f0
SM
15242012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/gv.el: New file.
1527 * subr.el (push, pop): Extend to generalized variables.
1528 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1529 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1530 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1531 gv-define-simple-setter, and gv-define-expander.
1532 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1533 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1534 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1535 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1536 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1537 gv-letplace.
1538 (cl-defstruct): Don't define setf-method any more.
1539 * emacs-lisp/cl.el (flet): Don't autoload.
1540 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1541 (define-setf-expander, defsetf, define-modify-macro)
1542 (cl-struct-setf-expander): Move from cl-lib.el.
1543 * emacs-lisp/syntax.el:
1544 * emacs-lisp/ewoc.el:
1545 * emacs-lisp/smie.el:
1546 * emacs-lisp/cconv.el:
1547 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1548 (timer--time): Use gv-define-simple-setter.
1549 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1550 to avoid coding-system problems in subr.el. Adjust all users.
1551 (macroexp--maxsize, macroexp-small-p): New functions.
1552 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1553 * scroll-bar.el (scroll-bar-mode):
1554 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1555 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1556 * winner.el (winner-configuration, winner-make-point-alist)
1557 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1558 * files.el (locate-file-completion-table): Avoid list*.
1559
c5695d1d
CY
15602012-06-22 Chong Yidong <cyd@gnu.org>
1561
1562 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1563 (dired-create-files): Doc fix (Bug#11329).
1564 (dired-do-copy): Doc fix (Bug#11334).
1565 (dired-mark-read-string): Doc fix (Bug#11553).
1566
2ee3d7f0
SM
1567 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1568 Doc fix (Bug#11326).
c5695d1d
CY
1569 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1570 (dired-dwim-target): Doc fix.
1571
1572 * wdired.el (wdired-mode): Doc fix.
1573
89b5595a
GM
15742012-06-22 Glenn Morris <rgm@gnu.org>
1575
575db3f1
GM
1576 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1577 (pcmpl-rpm-cache-stamp-file): New constant.
1578 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1579 (pcmpl-rpm-packages): Optionally cache list of packages.
1580
a4c8dd51
GM
1581 * pcmpl-rpm.el (pcmpl-rpm): New group.
1582 (pcmpl-rpm-query-options): New option.
1583 (pcmpl-rpm-packages): No need to inline it.
1584 Use pcmpl-rpm-query-options.
1585
89b5595a
GM
1586 * calendar/calendar.el (calendar-in-read-only-buffer):
1587 Avoid some needless mode changes.
1588
e76f0800
CY
15892012-06-21 Chong Yidong <cyd@gnu.org>
1590
1591 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1592 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1593 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1594
297a8f1d
CY
15952012-06-20 Chong Yidong <cyd@gnu.org>
1596
1597 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1598
d34c18b1
DR
15992012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1600
1601 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1602 (bug#11201).
1603
32f7f28e
CY
16042012-06-20 Chong Yidong <cyd@gnu.org>
1605
1606 * term.el (term-window-width): Handle the case of a missing right
1607 fringe (Bug#8837).
1608 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1609 (term-mode): Use define-derived-mode. Minor cleanups.
1610 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1611 (term-move-columns, term-insert-char, term-emulate-terminal)
1612 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1613
493c6688
MA
16142012-06-20 Michael Albinus <michael.albinus@gmx.de>
1615
d34c18b1
DR
1616 * net/ange-ftp.el (ange-ftp-get-passwd):
1617 Bind `enable-recursive-minibuffers'.
493c6688
MA
1618 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1619
3f06ecf4
DR
16202012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1621
1622 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1623
68f12411
GM
16242012-06-19 Glenn Morris <rgm@gnu.org>
1625
1626 * progmodes/python.el (python-mode): Derive from prog-mode.
1627
b3820318
KG
16282012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1629
1630 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1631 (edt-user-menu-bar-update-buffers): New functions.
1632 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1633
c6bf3022
CY
16342012-06-19 Chong Yidong <cyd@gnu.org>
1635
1636 * subr.el (with-selected-window): Preserve the selected window's
1637 terminal's top-frame (Bug#4702).
1638
1639 * window.el (save-selected-window): Likewise.
1640
25f09295
SM
16412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1642
1643 * progmodes/python.el (python-rx-constituents): Move backquote.
1644 (python-skeleton-define, python-define-auxiliary-skeleton):
1645 Use `declare'.
1646
6b11952a
MA
16472012-06-18 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * minibuffer.el (read-file-name-default): Revert the patch from
1650 2012-06-17.
1651
ee4b1330
SM
16522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1655 (pcase--u1, pcase--q1): Don't use apply-partially.
1656
35647f79
GM
16572012-06-18 Glenn Morris <rgm@gnu.org>
1658
1659 * progmodes/python.el (python-proc, python-buffer)
1660 (python-send-receive, python-send-string): Fix obsolete versions.
1661
24b0cff0
MR
16622012-06-18 Martin Rudalics <rudalics@gmx.at>
1663
1664 * window.el (special-display-p): Completely remove stringp
1665 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1666
29855149
MA
16672012-06-17 Michael Albinus <michael.albinus@gmx.de>
1668
1669 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1670
1671 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1672
1673 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1674 * net/tramp-sh.el (tramp-maybe-open-connection):
1675 Throw if `non-essential' is non-nil.
1676
07463363
MR
16772012-06-17 Martin Rudalics <rudalics@gmx.at>
1678
1679 * window.el (special-display-p): Signal an error if BUFFER-NAME
1680 is not a string (Bug#11713).
1681
48d1354e
PE
16822012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1683
1684 * progmodes/python.el (python-info-beginning-of-backslash):
1685 Rename from python-info-beginning-of-backlash, as a spelling fix.
1686
eb4a8a9a
CY
16872012-06-17 Chong Yidong <cyd@gnu.org>
1688
1689 * term.el (term-emulate-terminal): If term-check-size is called,
1690 move point to the process mark without resetting point (Bug#4635).
1691
ddfbf826 16922012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1693
1694 * international/mule-cmds.el (mule-menu-keymap)
1695 (set-language-environment, set-locale-environment): Doc tweaks.
1696
9b0e3eba
AA
16972012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1698
1699 * cus-face.el (custom-face-attributes): Add wave-style underline
1700 attribute.
1701 * faces.el (set-face-attribute): Update docstring to describe
1702 wave-style underline attribute.
1703
771e3eae
CY
17042012-06-16 Chong Yidong <cyd@gnu.org>
1705
1706 * term/xterm.el (terminal-init-xterm): Discard input before
1707 querying background mode (Bug#10959).
1708
7ae2ea10
SM
17092012-06-16 Stefan Merten <smerten@oekonux.de>
1710
1711 * textmodes/rst.el: Added and corrected some comments.
1712 (rst-re-alist-def): Improve symbol syntax.
1713 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1714 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1715 (rst-official-version, rst-official-cvs-rev): Update version
1716 information.
7ae2ea10 1717
b6974efa
JB
17182012-06-15 Juanma Barranquero <lekktu@gmail.com>
1719
1720 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1721 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1722
8826d473
GM
17232012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1724
1725 * progmodes/python.el: New python.el merge.
1726 (python-guess-indent): Obsolete var.
1727 (python-indent-guess-indent-offset): New defcustom.
1728 (python-indent): Obsolete var.
1729 (python-indent-offset): New defcustom.
1730 (python-python-command, python-jython-command): Delete var.
1731 (python-shell-interpreter): New defcustom.
1732 (python-pdbtrack-do-tracking-p): Delete var.
1733 (python-pdbtrack-activate): New defcustom.
1734 (python-use-skeletons): Obsolete var.
1735 (python-skeleton-autoinsert): New defcustom.
1736 (inferior-python-filter-regexp, python-continuation-offset)
1737 (python-honour-comment-indentation, python-indent-string-contents)
1738 (python-jython-packages, python-mode-hook)
1739 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1740 (python-shell-prompt-alist)
1741 (python-source-modes): Delete defcustoms.
1742 (python-check-buffer-name, python-eldoc-setup-code)
1743 (python-eldoc-string-code, python-ffap-setup-code)
1744 (python-ffap-string-code, python-fill-comment-function)
1745 (python-fill-decorator-function, python-fill-paren-function)
1746 (python-fill-string-function, python-imenu-include-defun-type)
1747 (python-imenu-make-tree, python-imenu-subtree-root-label)
1748 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1749 (python-shell-compilation-regexp-alist)
1750 (python-shell-completion-module-string-code)
1751 (python-shell-completion-pdb-string-code)
1752 (python-shell-completion-setup-code)
1753 (python-shell-completion-string-code)
1754 (python-shell-enable-font-lock, python-shell-exec-path)
1755 (python-shell-extra-pythonpaths)
1756 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1757 (python-shell-process-environment)
1758 (python-shell-prompt-block-regexp)
1759 (python-shell-prompt-output-regexp)
1760 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1761 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1762 (python-shell-virtualenv-path): New defcustoms.
1763 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1764 (inferior-python-mode-syntax-table, python--prompt-regexp)
1765 (python-buffer, python-command python-python-command)
1766 (python-default-template, python-imports, python-indent-index)
1767 (python-indent-list, python-indent-list-length)
1768 (python-mode-running, python-pdbtrack-is-tracking-p)
1769 (python-preoutput-continuation, python-preoutput-leftover)
1770 (python-preoutput-result, python-preoutput-skip-next-prompt)
1771 (python-prev-dir/file, python-recursing)
1772 (python-saved-check-command, python-version-checked)
1773 (python-which-func-length-limit)
1774 (view-return-to-alist): Delete vars.
1775 (python-check-custom-command, python-dotty-syntax-table)
1776 (python-imenu-index-alist, python-indent-current-level)
1777 (python-indent-dedenters, python-indent-levels)
1778 (python-nav-beginning-of-defun-regexp)
1779 (python-nav-list-defun-positions-cache)
1780 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1781 (python-shell-internal-buffer)
1782 (python-skeleton-available): New vars.
1783 (def-python-skeleton): Delete macro.
1784 (python-skeleton-define): New macro.
1785 (python-define-auxiliary-skeleton, python-rx): New macros.
1786 (python-insert-class): Delete command.
1787 (python-skeleton-class): New command.
1788 (python-insert-def): Delete command.
1789 (python-skeleton-def): New command.
1790 (python-insert-for): Delete command.
1791 (python-skeleton-for): New command.
1792 (python-insert-if): Delete command.
1793 (python-skeleton-if): New command.
1794 (python-insert-try/except, python-insert-try/finally): Delete commands.
1795 (python-skeleton-try): New command.
1796 (python-insert-while): Delete command.
1797 (python-skeleton-while): New command.
1798 (python-backspace): Delete command.
1799 (python-indent-dedent-line-backspace): New command.
1800 (python-electric-colon): Delete command.
1801 (python-indent-electric-colon): New command.
1802 (python-guess-indent): Delete command.
1803 (python-indent-guess-indent-offset): New command.
1804 (python-shift-left): Delete command.
1805 (python-indent-shift-left): New command.
1806 (python-shift-right): Delete command.
1807 (python-indent-shift-right): New command.
1808 (python-find-function): Delete command.
1809 (python-nav-jump-to-defun): New command.
1810 (python-next-statement): Delete command.
1811 (python-nav-forward-sentence): New command.
1812 (python-previous-statement): Delete command.
1813 (python-nav-backward-sentence): New command.
1814 (python-fill-paragraph): Delete command.
1815 (python-fill-paragraph-function): New command.
1816 (python-send-buffer): Delete command.
1817 (python-shell-send-buffer): New command.
1818 (python-send-defun): Delete command.
1819 (python-shell-send-defun): New command.
1820 (python-send-region, python-send-region-and-go): Delete commands.
1821 (python-shell-send-region)
1822 (python-shell-switch-to-shell): New commands.
1823 (python-send-string): Delete command.
1824 (python-shell-send-string): New command.
1825 (python-switch-to-python): Delete command.
1826 (python-shell-switch-to-shell): New command.
1827 (python-describe-symbol): Delete command.
1828 (python-eldoc-at-point): New command.
1829 (python--set-prompt-regexp, python-args-to-list)
1830 (python-after-info-look, python-check-version)
1831 (python-check-comint-prompt, python-find-imports)
1832 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1833 (python-unload-function, python-expand-template)
1834 (python-maybe-jython, python-preoutput-filter)
1835 (python-pdbtrack-get-source-buffer)
1836 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1837 (python-pdbtrack-toggle-stack-tracking)
1838 (python-pdbtrack-track-stack-file, python-initial-text)
1839 (python-first-word, python-comment-line-p, python-send-command)
1840 (python-setup-brm, python-sentinel, python-set-proc)
1841 (python-skip-out, python-input-filter, python-outdent-p)
1842 (python-outline-level, python-backslash-continuation-line-p)
1843 (python-end-of-block, python-end-of-statement, python-mark-block)
1844 (python-beginning-of-block, python-beginning-of-statement)
1845 (python-blank-line-p, python-beginning-of-string)
1846 (python-open-block-statement-p): Delete functions.
1847 (python-indent-line, python-indent-line-1): Delete functions.
1848 (python-indent-line): New function.
1849 (python-indentation-levels): Delete function.
1850 (python-indent-calculate-levels): New function.
1851 (python-proc): Delete function.
1852 (python-shell-get-process): New function.
1853 (python-send-receive): Delete function.
1854 (python-shell-send-string-no-output): New function.
1855 (python-module-path): Delete function.
1856 (python-ffap-module-path): New function.
1857 (python-completion-at-point)
1858 (python-symbol-completions): Delete functions.
1859 (python-completion-complete-at-point): New function.
1860 (python-load-file): Delete function.
1861 (python-shell-send-file): New function.
1862 (python-calculate-indentation): Delete function.
1863 (python-indent-calculate-indentation): New function.
1864 (python-skip-comments/blanks): Delete function.
1865 (python-util-forward-comment): New function.
1866 (python-continuation-line-p): Delete function.
1867 (python-info-continuation-line-p): New function.
1868 (python-which-func, python-current-defun): Delete function.
1869 (python-info-current-defun): New function.
1870 (python-beginning-of-defun): Delete function.
1871 (python-nav-beginning-of-defun): New function.
1872 (python-close-block-statement-p)
1873 (python-block-end-p): Delete function.
1874 (python-info-closing-block): New function.
1875 (python-comint-output-filter-function)
1876 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1877 (python-fill-comment, python-fill-decorator, python-fill-paren)
1878 (python-fill-string, python-imenu-make-element-tree)
1879 (python-imenu-make-tree, python-imenu-tree-assoc)
1880 (python-indent-context, python-indent-dedent-line)
1881 (python-indent-line-function)
1882 (python-indent-post-self-insert-function)
1883 (python-indent-toggle-levels)
1884 (python-info-assignment-continuation-line-p)
1885 (python-info-beginning-of-backlash)
1886 (python-info-block-continuation-line-p)
1887 (python-info-closing-block-message)
1888 (python-info-line-ends-backslash-p)
1889 (python-info-looking-at-beginning-of-defun)
1890 (python-info-ppss-context, python-info-ppss-context-type)
1891 (python-nav-list-defun-positions, python-nav-read-defun)
1892 (python-nav-sentence-end, python-nav-sentence-start)
1893 (python-pdbtrack-comint-output-filter-function)
1894 (python-pdbtrack-set-tracked-buffer)
1895 (python-shell-calculate-exec-path)
1896 (python-shell-calculate-process-environment)
1897 (python-shell-completion--do-completion-at-point)
1898 (python-shell-completion--get-completions)
1899 (python-shell-completion-complete-at-point)
1900 (python-shell-completion-complete-or-indent)
1901 (python-shell-get-or-create-process)
1902 (python-shell-get-process-name)
1903 (python-shell-internal-get-or-create-process)
1904 (python-shell-internal-get-process-name)
1905 (python-shell-internal-send-string, python-shell-make-comint)
1906 (python-shell-parse-command, python-shell-send-setup-code)
1907 (python-skeleton-add-menu-items)
1908 (python-util-clone-local-variables, python-util-position)
1909 (run-python-internal, python-indentation-levels)
1910 (python-nav-beginning-of-defun)
1911 (python-completion-complete-at-point): New functions.
1912 (run-python): Change arguments. New API requirements.
1913
4302f5ba
SM
19142012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1915
f38ea36d
SM
1916 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1917 (bug#11649).
1918
1919 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1920 (macroexp--expand-all): Use it.
1921
4302f5ba
SM
1922 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1923 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1924 Use `cl-function' instead.
1925
33377562
JB
19262012-06-14 Juanma Barranquero <lekktu@gmail.com>
1927
1928 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1929 Suggested by Stefan Monnier while discussing bug#11657.
1930
54c5ba1a
SS
19312012-06-14 Sam Steingold <sds@gnu.org>
1932
1933 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1934
f9f1b1fe
AS
19352012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1936
1937 * play/doctor.el (doctor-doc): Remove parameter and use
1938 doctor-sent instead of sent.
1939 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1940
a81068ba
SM
19412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1942
5a315f9c
SM
1943 * files.el: Require cl-lib.
1944 (file-name-non-special): Replace case -> cl-case.
1945
1946 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1947
a81068ba
SM
1948 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1949 mapping from #' to function*.
1950
8cca9703
CY
19512012-06-13 Chong Yidong <cyd@gnu.org>
1952
1953 * mouse.el (mouse-drag-track): Do not set the mark if the user
1954 releases the mouse without selecting anything (Bug#11588).
1955
a12ac9d7
SM
19562012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1957
ccf1dc18
SM
1958 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1959 as well (bug#11646).
1960
ef62b23d
SM
1961 * loadup.el: Count byte-code functions as well.
1962
c4c8444a
SM
1963 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1964 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1965
a12ac9d7
SM
1966 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1967 (bug#11649). Add cl-defun and cl-defmacro.
1968
87e6e64f
DA
19692012-06-13 Drew Adams <drew.adams@oracle.com>
1970
1971 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1972 Fix last change.
1973
682cefaf
MA
19742012-06-13 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1977 Otherwise, it blocks in batch mode.
1978
773e1f08
JB
19792012-06-13 Juanma Barranquero <lekktu@gmail.com>
1980
1981 * help-mode.el (bookmark-make-record-default): Declare.
1982
60057926
CY
19832012-06-13 Chong Yidong <cyd@gnu.org>
1984
1985 * emacs-lisp/package.el (list-packages): Compute a list of
1986 packages that are newly-available since the last list-packages
1987 invocation.
1988 (package-menu--new-package-list): New var.
1989 (package-menu--generate, package-menu--print-info)
1990 (package-menu--status-predicate, package-menu-mark-install):
1991 Handle new status label "new".
1992
ad4d226c
SM
19932012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1996 conversion to backquotes.
1997
f1a4e679
CY
19982012-06-12 Chong Yidong <cyd@gnu.org>
1999
2000 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2001 Rename from gud-inhibit-global-bindings.
2002
2003 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2004
2005 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2006 hook from nxml-glyph-set-hook.
2007
2008 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2009 declaration.
2010
2011 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2012
2013 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2014 Convert to defcustom.
2015
0c9e42b5
DA
20162012-06-12 Drew Adams <drew.adams@oracle.com>
2017
2018 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2019 New functions.
2020 (help-mode): Use them.
2021
09e06855
GM
20222012-06-11 Glenn Morris <rgm@gnu.org>
2023
2024 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2025 Use preprocessor face for directives.
2026 (fortran-directive-re): Doc fix.
2027
71adb94b
SM
20282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2eb87922
SM
2030 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2031 conversion to backquotes (bug#11652).
2032
71adb94b
SM
2033 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2034 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2035 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2036 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2037 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2038 (cl-ninth, cl-tenth): Mark them as inlinable.
2039 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2040 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2041 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2042 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2043 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2044 (cl-list*, cl-adjoin): Don't put an autoload manually.
2045 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2046 (cl--compiler-macro-list*): Add autoload cookie.
2047 (cl--compiler-macro-cXXr): New function.
2eb87922 2048
71adb94b
SM
2049 * help-fns.el (help-fns--compiler-macro): New function extracted from
2050 describe-function-1; follow aliases and use `compiler-macro' property.
2051 (describe-function-1): Use it.
2052
a6674402
CY
20532012-06-11 Chong Yidong <cyd@gnu.org>
2054
2055 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2056 is uninstalled, if imagemagick is installed.
2057
bb3faf5b
SM
20582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/cl-lib.el: Use lexical-binding.
2061 (cl-map-extents, cl-maclisp-member): Remove.
2062 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2063 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2064 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2065 * emacs-lisp/cl-extra.el: Use lexical-binding.
2066 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2067 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2068 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2069 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2070 * emacs-lisp/cl-seq.el: Use lexical-binding.
2071 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2072 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2073 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2074 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2075 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2076 CL's internals.
2077
2fe4b125
MA
20782012-06-11 Michael Albinus <michael.albinus@gmx.de>
2079
2080 Sync with Tramp 2.2.6-pre.
2081
2082 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2083 `print-length' and `print-level' to nil, in order to avoid
2084 truncation. Reported by Christopher Schmidt
2085 <christopher@ristopher.com>.
2086
2087 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2088
2089 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2090 New defmacro.
2091 (tramp-compat-copy-directory): Add optional argument
2092 COPY-CONTENTS. It is not handled yet.
2093
2094 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2095 (tramp-ftp-file-name-p): Simplify.
2096
2097 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2098 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2099 connection vector.
2100
2101 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2102 (tramp-methods): Do not use `tramp-password-end-of-line'.
2103 (tramp-completion-function-alist-putty): Handle UNIX case.
2104 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2105 (tramp-do-file-attributes-with-stat)
2106 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2107 gid as real numbers. They could run out of integer range on cygwin.
2108 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2109 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2110 (tramp-open-connection-setup-interactive-shell):
2111 Use `tramp-cleanup'. Move check for busyboxes ...
2112 (tramp-find-shell): ... here. Simplify implementation.
2113 Set "remote-shell" property also for alternative shells.
2114 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2115 If failing, a regular file would be written otherwise.
2116 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2117 (tramp-find-inline-encoding): Cache the coding commands in the
2118 process cache. Apply test command on the remote side, if defined.
2119 (tramp-find-inline-compress): Cache the compress commands in the
2120 process cache.
2121 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2122 when requested. Handle hops.
2123 (tramp-current-connection): New defvar.
87e6e64f
DA
2124 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2125 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2126 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2127 (tramp-get-inline-compress, tramp-get-inline-coding):
2128 Read connection properties from the process cache.
2fe4b125
MA
2129
2130 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2131 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2132 New defconsts.
2fe4b125
MA
2133 (tramp-smb-prompt): Extend for powershell prompt.
2134 (tramp-smb-file-name-handler-alist): Add handlers for
2135 `process-file', `shell-command' and `start-file-process'.
2136 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2137 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2138 (tramp-smb-file-name-p): Simplify.
2139 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2140 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2141 (tramp-smb-shell-quote-argument): New defuns.
2142 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2143 Implement using "tar". By this, time-stamps are preserved.
2144 (tramp-smb-handle-copy-file): Handle also the case of directories.
2145 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2146 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2147 Use `tramp-get-connection-buffer').
2fe4b125
MA
2148 (tramp-smb-handle-rename-file): Use "rename", when source and
2149 target are on the same share.
87e6e64f
DA
2150 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2151 Use `tramp-smb-server-version'.
2fe4b125
MA
2152 (tramp-smb-wait-for-output): Remove prompt.
2153
2154 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2155 (tramp-methods, tramp-rsh-end-of-line):
2156 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2157 (tramp-save-ad-hoc-proxies): New defcustom.
2158 (tramp-completion-function-alist): Adapt docstring.
2159 (tramp-default-password-end-of-line): Remove defcustom.
2160 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2161 (tramp-user-regexp, tramp-file-name-regexp-unified)
2162 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2163 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2164 (tramp-remote-file-name-spec-regexp): New defconst.
2165 (tramp-file-name-structure): Extend structure for hops.
2166 (tramp-get-method-parameter): Move up.
2167 (tramp-file-name-p, tramp-dissect-file-name)
2168 (with-parsed-tramp-file-name): Handle hops.
2169 (tramp-file-name-hop): New defun.
2170 (tramp-make-tramp-file-name): New optional arg HOP.
2171 (tramp-message-show-progress-reporter-message): New defvar.
2172 (tramp-with-progress-reporter): Use it. We cannot use
2173 `tramp-message-show-message' here, because this suppresses also
2174 error buffers.
2175 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2176 `tramp-message-show-message' is nil.
2177 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2178 (tramp-cleanup): New defun.
2179 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2180 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2181 an error unchanged.
2182 (tramp-completion-handle-file-name-all-completions): Handle hops.
2183 Fix an error when called from ido.
2184 (tramp-completion-dissect-file-name): Use better local variable
2185 name. Add hop to the vector.
2186 (tramp-handle-insert-file-contents): Use progress-reporter for the
2187 whole scenario.
2188 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2189 to `t'.
2190 (tramp-check-for-regexp): Simplify search.
2191 (tramp-enter-password): Remove it. Move implementation ...
2192 (tramp-action-password): ... here.
2193 (tramp-mode-string-to-int, tramp-local-host-p)
2194 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2195 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2196 Set tramp-autoload cookie.
2fe4b125
MA
2197
2198 * net/trampver.el: Update release number.
2199
22002012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2201 Michael Albinus <michael.albinus@gmx.de>
2202
2203 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2204 (tramp-parse-group, tramp-parse-file)
2205 (tramp-parse-shostkeys-sknownhosts): New defuns.
2206 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2207 (tramp-parse-shosts-group, tramp-parse-sconfig)
2208 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2209 (tramp-parse-sknownhosts, tramp-parse-hosts)
2210 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2211 Use them.
2212 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2213 (tramp-parse-putty-group): Don't narrow.
2214 (tramp-parse-putty): Make a loop.
2215 (tramp-file-name-handler): Catch the `suppress' signal.
2216
72834e10
CY
22172012-06-11 Chong Yidong <cyd@gnu.org>
2218
2219 * image.el (imagemagick-register-types): Put the ImageMagick entry
2220 at the end of image-type-file-name-regexps.
2221
a4712e11
JB
22222012-06-11 Johan Bockgård <bojohan@gnu.org>
2223
2224 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2225 (pcase, pcase-let*, pcase-dolist): Use them.
2226
82ad98e3
SM
22272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * emacs-lisp/pcase.el (pcase--let*): New function.
2230 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2231 (pcase--expand): Use macroexp-let².
2232
f80efb86
SM
22332012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2236 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2237 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2238 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2239 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2240 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2241
31ca4639 22422012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2243
31ca4639
CY
2244 * mail/rmail.el (rmail-yank-current-message): Leave point at
2245 correct position. (Bug#11660)
94f0aa34 2246
31ca4639 22472012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2248
31ca4639 2249 * allout-widgets.el: Fix code header.
9e1b8ec4 2250
31ca4639 22512012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2252
f80efb86
SM
2253 * cus-edit.el (customize-changed-options-previous-release):
2254 Bump to 24.1.
31ca4639 2255
642b6d30
AS
22562012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2257
2258 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2259
4f5d2ba1
CY
22602012-06-09 Chong Yidong <cyd@gnu.org>
2261
2262 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2263
e75852fd
MR
22642012-06-09 Martin Rudalics <rudalics@gmx.at>
2265
2266 * window.el (special-display-popup-frame): Don't use
2267 window--display-buffer (Bug#11651).
2268
1e48e282
EZ
22692012-06-09 Eli Zaretskii <eliz@gnu.org>
2270
8a26b487
EZ
2271 Fix parallel builds: make sure loaddefs.el is not being written
2272 while Lisp files are compiled.
2273 (compile): Don't depend on 'mh-autoloads'.
2274 (compile-CMD, compile-SH): Depend on 'autoloads'.
2275 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2276
1e48e282
EZ
2277 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2278
6175e34b
CY
22792012-06-09 Chong Yidong <cyd@gnu.org>
2280
2281 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2282 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2283 Doc fixes (Bug#11225).
2284
d9857e53
SM
22852012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2288 a function if there's a clear indication that it has a compiler-macro.
2289 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2290 (macro-declarations-alist): Add arglist to declaration functions.
2291 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2292 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2293 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2294 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2295 Also add autoload to find the compiler macro.
2296 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2297 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2298 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2299 (cl--compiler-macro-get): New functions, replacing calls to
2300 cl-define-compiler-macro.
2301 (cl-typep) [compiler-macro]: Use macroexp-let².
2302
f81298f8 23032012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2304
2305 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2306 string properly, fixes Bug#11473.
2307
4b56d0fe
CY
23082012-06-08 Chong Yidong <cyd@gnu.org>
2309
2310 * faces.el (set-face-attribute): Doc fix.
2311 (modify-face): Don't use :bold and :italic.
2312 (error, warning, success): Tweak definitions.
2313
2314 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2315 (custom-modified, custom-set, custom-changed, custom-themed)
2316 (custom-saved, custom-button, custom-button-mouse)
2317 (custom-button-pressed, custom-state, custom-comment-tag)
2318 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2319 (custom-group-subtitle): Use new-style face specs.
2320 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2321 (custom-set-face, custom-changed-face, custom-saved-face)
2322 (custom-button-face, custom-button-pressed-face)
2323 (custom-documentation-face, custom-state-face)
2324 (custom-comment-face, custom-comment-tag-face)
2325 (custom-variable-tag-face, custom-variable-button-face)
2326 (custom-face-tag-face, custom-group-tag-face-1)
2327 (custom-group-tag-face): Remove obsolete face alias.
2328
2329 * epa.el (epa-validity-high, epa-validity-medium)
2330 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2331 (epa-field-name, epa-field-body):
2332 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2333 (font-lock-keyword-face, font-lock-builtin-face)
2334 (font-lock-function-name-face, font-lock-variable-name-face)
2335 (font-lock-type-face, font-lock-constant-face):
2336 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2337 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2338 * speedbar.el (speedbar-button-face, speedbar-file-face)
2339 (speedbar-directory-face, speedbar-tag-face)
2340 (speedbar-selected-face, speedbar-highlight-face)
2341 (speedbar-separator-face):
2342 * whitespace.el (whitespace-newline, whitespace-space)
2343 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2344 (whitespace-line, whitespace-space-before-tab)
2345 (whitespace-space-after-tab, whitespace-indentation)
2346 (whitespace-empty):
2347 * emulation/cua-base.el (cua-global-mark):
2348 * eshell/em-prompt.el (eshell-prompt):
2349 * net/newst-plainview.el (newsticker-new-item-face)
2350 (newsticker-old-item-face, newsticker-immortal-item-face)
2351 (newsticker-obsolete-item-face, newsticker-date-face)
2352 (newsticker-statistics-face, newsticker-default-face):
2353 * net/newst-reader.el (newsticker-feed-face)
2354 (newsticker-extra-face, newsticker-enclosure-face):
2355 * net/newst-treeview.el (newsticker-treeview-face)
2356 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2357 (newsticker-treeview-immortal-face)
2358 (newsticker-treeview-obsolete-face)
2359 (newsticker-treeview-selection-face):
2360 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2361 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2362 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2363 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2364 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2365 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2366 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2367 (mpuz-text):
2368 * progmodes/vera-mode.el (vera-font-lock-number)
2369 (vera-font-lock-function, vera-font-lock-interface):
2370 * textmodes/table.el (table-cell): Use new-style face specs, and
2371 don't use the old :bold and :italic attributes.
2372
2373 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2374 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2375 (ebrowse-member-class, ebrowse-progress): Likewise.
2376 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2377 (ebrowse-file-name-face, ebrowse-default-face)
2378 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2379 (ebrowse-progress-face): Remove obsolete faces.
2380
2381 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2382 Inherit from error and warning faces respectively.
2383
2384 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2385 Likewise.
f80efb86
SM
2386 (flyspell-incorrect-face, flyspell-duplicate-face):
2387 Remove obsolete aliases.
4b56d0fe 2388
03310646
MA
23892012-06-08 Michael Albinus <michael.albinus@gmx.de>
2390
2391 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2392 Avoid infloop.
2393
513749ee
SM
23942012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * startup.el (argv, argi): Make lexically scoped.
2397 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2398 * emacs-lisp/cl-macs.el: Use lexical-binding.
2399 Rename cl-bind-* to cl--bind-*.
2400 * files.el: Don't require `cl' since it doesn't use it.
2401 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2402
595ef4ad
JB
24032012-06-08 Juanma Barranquero <lekktu@gmail.com>
2404
2405 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2406 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2407 instead of calling external sort utility.
2408 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2409
e9f66fcb
EZ
24102012-06-08 Eli Zaretskii <eliz@gnu.org>
2411
2412 * descr-text.el (describe-char): Mention how to insert the
2413 character, if the current input method doesn't support it.
2414 See the discussion in this thread for the details:
2415 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2416
3d10db47
SS
24172012-06-08 Sam Steingold <sds@gnu.org>
2418
2419 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2420 XF86Back to previous-buffer.
2421 (minibuffer-local-map): Bind them to next-history-element and
2422 previous-history-element respectively.
2423 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2424 help-go-back respectively.
2425 * info.el (Info-mode-map): Bind them to Info-history-forward and
2426 Info-history-back respectively.
2427 These are the keys next to Up on the ThinkPad keyboard.
2428
de7e2b36
SM
24292012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2432 * emacs-lisp/cl-macs.el: Provide itself.
2433 (cl--labels-convert-cache): New var.
2434 (cl--labels-convert): New function.
2435 (cl-flet, cl-labels): New implementation with new semantics, relying on
2436 lexical-binding.
2437 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2438 (cl-closure-vars, cl--function-convert-cache)
2439 (cl--function-convert): Move from cl-macs.el.
2440 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2441 rename by removing the "cl-" prefix.
2442 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2443
6fa6c4ae
SM
24442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2447 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2448 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2449 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2450 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2451 (cl-hash-table-count): Add old compatibility aliases.
2452
2453 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2454 Use macroexpand-all-environment instead.
2455 (cl--old-macroexpand): New var.
2456 (cl--sm-macroexpand): New function.
2457 (cl-symbol-macrolet): Use it during macro expansion.
2458 (cl--function-convert-cache): New var.
2459 (cl--function-convert): New function, extracted from
2460 cl-macroexpand-all.
2461 (cl-lexical-let): Use it.
2462
2463 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2464 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2465 (cl-member): Remove old alias.
2466
2467 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2468 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2469 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2470 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2471 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2472 (cl-macroexpand-cmacs): Remove var.
2473 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2474 Use macroexpand-all instead.
2475
4dd1c416
SM
24762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2479 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2480 (macroexp-copyable-p): New functions and macros.
2481 * emacs-lisp/edebug.el (edebug-unwrap):
2482 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2483 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2484 (pcase--let*): Remove.
2485 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2486 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2487 macroexp-const-p instead.
2488 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2489
2490 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2491 instead of "cl-" for internal definitions. Use macroexp-const-p.
2492 (cl-old-bc-file-form): Remove var.
2493 (cl-const-exprs-p): Remove fun.
2494 (cl-labels, cl-macrolet): Use backquote.
2495 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2496 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2497 (cl-define-setf-expander): Rename from cl-define-setf-method.
2498 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2499
2500 * international/mule-cmds.el: Don't require CL.
2501 (view-hello-file): Don't use `letf'.
2502
ed8bd4d7
SM
25032012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2504
7287f2f3
SM
2505 * tmm.el (tmm-prompt): Use string-prefix-p.
2506 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2507 (tmm-add-prompt): Use minibuffer-completion-help.
2508 (tmm-delete-map): Remove.
2509
ed8bd4d7
SM
2510 * subr.el (kbd): Make it its own function.
2511
7b4cdbf4
SM
25122012-06-07 Stefan Merten <smerten@oekonux.de>
2513
2514 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2515 Silence compiler warnings. Fix versions.
ed8bd4d7 2516 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2517 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2518 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2519 (rst-package-emacs-version-alist): Correct Emacs version to
2520 represent major merge with upstream.
ed8bd4d7 2521 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2522
2b48d721
GM
25232012-06-06 Glenn Morris <rgm@gnu.org>
2524
2525 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2526 Only print environment variables if set.
2527
fa779ab0
SM
25282012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2531 (macroexp--cons): Rename from maybe-cons.
2532 (macroexp--accumulate): Rename from macroexp-accumulate.
2533 (macroexp--all-forms): Rename from macroexpand-all-forms.
2534 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2535 (macroexp--expand-all): Rename from macroexpand-all-1.
2536
628299e0
SS
25372012-06-06 Sam Steingold <sds@gnu.org>
2538
2539 * calendar/calendar.el (calendar-in-read-only-buffer):
2540 Call `special-mode' to enable the standard read-only keybindings.
2541
b7bb5838
SM
25422012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2545 with "loading" messages (bug#11635).
2546
dfb308ba
MA
25472012-06-06 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * files.el (enable-remote-dir-locals): New option.
2550 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2551
0372ee92
MA
2552 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2553 Ensure, that the temp directory is local.
2554
2555 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2556 `temporary-file-directory'.
2557
eed0bb91
MA
2558 * progmodes/python.el (python-send-region): Ensure, that the
2559 temporary file is created also in the remote case.
2560
7a58f64d
GM
25612012-06-06 Glenn Morris <rgm@gnu.org>
2562
f7dd4e98
GM
2563 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2564 (vc-rcs-update-changelog): Use it.
2565
090bd7cb 2566 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2567
7a58f64d
GM
2568 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2569 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2570 (vc-sccs-diff): Replace use of the external vcdiff script.
2571
daed4003
GM
25722012-06-05 Glenn Morris <rgm@gnu.org>
2573
2574 * ledit.el: Move to obsolete/.
2575
48c455c7
SS
25762012-06-05 Sam Steingold <sds@gnu.org>
2577
ed9265fc 2578 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2579 patch (Bug#11140).
2580
57a7d507
SM
25812012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2582
090bd7cb 2583 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2584
53aacf21
SM
2585 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2586 compiler-macro expansion.
2587
57a7d507
SM
2588 Add native compiler-macro support.
2589 * emacs-lisp/macroexp.el (macroexpand-all-1):
2590 Support compiler-macros directly. Properly follow aliases and apply
2591 the compiler macros more thoroughly.
2592 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2593 macroexpand now properly follows aliases.
2594 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2595 (cl-compiler-macroexpand): Use new prop.
2596 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2597
2598 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2599
51a5f9d8
MR
26002012-06-05 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (get-lru-window, get-mru-window, get-largest-window):
2603 New argument NOT-SELECTED to avoid picking the selected window.
2604 (window--display-buffer-1, window--display-buffer-2): Replace by
2605 new function window--display-buffer
2606 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2608 Use window--display-buffer.
51a5f9d8
MR
2609 (display-buffer-use-some-window): Remove temporary dedication
2610 hack by calling get-lru-window and get-largest-window with
2611 NOT-SELECTED argument non-nil. Call window--display-buffer.
2612
08f9f738
GM
26132012-06-05 Glenn Morris <rgm@gnu.org>
2614
2615 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2616 Replace external vcdiff script.
2617
e364a2b7
SM
26182012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2621
041df390
CY
26222012-06-04 Chong Yidong <cyd@gnu.org>
2623
e364a2b7
SM
2624 * image.el (imagemagick-types-inhibit): Revert last change.
2625 Add INFO and M.
47b36b94 2626 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2627
7c1898a7
SM
26282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * emacs-lisp/cl-lib.el: Rename from cl.el.
2631 * emacs-lisp/cl.el: New compatibility file.
2632 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2633 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2634 to obey the "cl-" prefix.
2635 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2636
0c3461de
GM
26372012-06-03 Glenn Morris <rgm@gnu.org>
2638
1e266c88
GM
2639 * emacs-lisp/authors.el (authors-aliases): Addition.
2640
0c3461de
GM
2641 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2642 Fix :version.
2643
d8a52e15
SM
26442012-06-03 Stefan Merten <smerten@oekonux.de>
2645
2646 * textmodes/rst.el: Add comments.
2647 (rst-transition, rst-adornment): New faces.
2648 (rst-adornment-faces-alist): Make default safe to reevaluate.
2649 Fixes
2650 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2651 Improve customization tags.
2652 (rst-define-level-faces): Clarify meaning.
2653
5205d6f6
CY
26542012-06-03 Chong Yidong <cyd@gnu.org>
2655
2656 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2657 (compilation-mode-line-run, compilation-mode-line-exit):
2658 New faces.
5205d6f6
CY
2659 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2660
757ee657
JD
26612012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2662
7c1898a7
SM
2663 * progmodes/which-func.el (which-func-update-ediff-windows):
2664 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2665
5f2c76c6
CY
26662012-06-03 Chong Yidong <cyd@gnu.org>
2667
2668 * bindings.el: Remove explicit help text from format-mode-line.
2669 It is now supplied by mode-line-default-help-echo.
2670 (mode-line-front-space, mode-line-end-spaces)
2671 (mode-line-misc-info): New variables.
2672 (mode-line-modes, mode-line-position): Move the default value to
2673 the variable definition.
2674 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2675 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2676 (mode-line-modified-help-echo): New functions.
2677 (mode-line-mule-info, mode-line-modified): Use them.
2678 (mode-line-eol-desc, propertized-buffer-identification):
2679 Consistency fixes for help text.
cbe46e5f
CY
2680 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2681 set-buffer-file-coding-system (Bug#289).
2682 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2683
f2d6a3df
SM
26842012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * simple.el (execute-extended-command): Set real-this-command
2687 (bug#11506).
2688
37269466
CY
26892012-06-02 Chong Yidong <cyd@gnu.org>
2690
2691 Remove incorrect uses of "modeline" in comments, docstrings, and
2692 function/variable names (Bug#10329).
2693
2694 * cus-edit.el (mode-line):
2695 * dframe.el (dframe-mouse-hscroll):
2696 * emacs-lisp/re-builder.el:
2697 * emacs-lisp/easy-mmode.el (define-minor-mode):
2698 * frame.el (set-frame-name):
2699 * help.el (lookup-minor-mode-from-indicator):
2700 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2701 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2702 (c-toggle-hungry-state):
2703 * progmodes/antlr-mode.el (antlr-language-alist):
2704 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2705 * progmodes/vhdl-mode.el (vhdl-mode):
2706 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2707 * term/ns-win.el (ns-face-at-pos):
2708 * term/sup-mouse.el (sup-mouse-report):
2709 * textmodes/flyspell.el (flyspell-mode-line-string):
2710 * textmodes/ispell.el (ispell-highlight-face):
2711 * textmodes/reftex-global.el:
2712 * vc/vc-arch.el (vc-arch-mode-line-string):
2713 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2714 * vc/vc-git.el (vc-git-mode-line-string):
2715 * vc/vc-hooks.el (vc-display-status)
2716 (vc-default-mode-line-string):
2717 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2718
2719 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2720
2721 * dired.el (dired-sort-set-mode-line): Rename from
2722 dired-sort-set-modeline. All callers changed.
2723
2724 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2725 eshell-status-in-modeline.
2726
2727 * foldout.el (foldout-mode-line-string): Rename from
2728 foldout-modeline-string. All callers changed.
2729 (foldout-update-mode-line): Rename from foldout-update-modeline.
2730
2731 * subr.el (redraw-modeline): Make into obsolete alias.
2732
2733 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2734 timeclock-modeline-display. Make old name an alias.
2735 (timeclock-update-mode-line): Likewise. All callers changed.
2736 (timeclock-mode-line-display): No need to check before using
2737 add-hook.
2738 (timeclock-relative, timeclock-day-over-hook)
2739 (timeclock-use-elapsed, timeclock-mode-string)
2740 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2741
2742 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2743 crisp-mode-modeline-string.
2744
2745 * play/solitaire.el (solitaire-build-mode-line): Rename from
2746 solitaire-build-modeline. All callers changed.
2747
2748 * play/zone.el (zone-hiding-mode-line): Rename from
2749 zone-hiding-modeline. All callers changed.
2750 (zone): Remove unusued `modeline-hidden-level' property.
2751
2752 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2753 xscheme-modeline-initialize. All callers changed.
2754
2755 * strokes.el (strokes-lighter): Rename from
2756 strokes-modeline-string.
2757
2758 * textmodes/sgml-mode.el (html-face-tag-alist)
2759 (html-tag-face-alist): Use mode-line face instead of obsolete
2760 alias modeline.
2761
42152ee4
SM
27622012-06-02 Stefan Merten <smerten@oekonux.de>
2763
2764 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2765 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2766
95f520b5
CY
27672012-06-02 Chong Yidong <cyd@gnu.org>
2768
2769 * image.el (imagemagick-enabled-types): Rename from
2770 imagemagick-types-enable. Add many more types.
2771 (imagemagick-types-inhibit): Change default to nil.
2772 (imagemagick-filter-types): Caller changed.
2773
4a5f187a
SM
27742012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2775
03fef3e6
SM
2776 * emacs-lisp/cl-macs.el: Use backquotes.
2777 (cl-transform-function-property): Use eval-and-compile rather than
2778 abusing `require'.
2779 (defstruct): Use declare-function instead of with-no-warnings.
2780
4a5f187a
SM
2781 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2782 (byte-compile-output-docform): Re-add the print-circle bindings.
2783 (byte-compile-fix-header): Use #$ just because it's shorter.
2784 (byte-compile-output-file-form): Remove defun/defmacro.
2785
bd56924f
MR
27862012-06-01 Martin Rudalics <rudalics@gmx.at>
2787
2788 * simple.el (choose-completion): Remove now obsolete binding for
2789 owindow.
2790
046e38ce
MA
27912012-06-01 Michael Albinus <michael.albinus@gmx.de>
2792
2793 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2794 in order to avoid "Stack overflow in regexp matcher".
2795
32d72c2f
GM
27962012-05-31 Glenn Morris <rgm@gnu.org>
2797
2798 * image.el: For clarity, call imagemagick-register-types at
2799 top-level, rather than relying on a custom :initialize.
2800 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2801 (imagemagick-filter-types): New function. (Bug#7406)
2802 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2803 If disabling support, remove elements altogether rather
2804 than using an impossible regexp.
2805 (imagemagick-types-inhibit): Give it the default init function.
2806
dd41169b
SM
28072012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2808
4a5f187a
SM
2809 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2810 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2811
efc00ab1 28122012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2813
2814 * desktop.el (desktop-read): Clear previous and next buffers for
2815 all windows and bury *Messages* buffer (bug#11556).
2816
500fcedc
SM
28172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 Add `declare' for `defun'. Align `defmacro's with it.
2820 * emacs-lisp/easy-mmode.el (define-minor-mode)
2821 (define-globalized-minor-mode): Don't autoload the var definitions.
2822 * emacs-lisp/byte-run.el: Use lexical-binding.
2823 (defun-declarations-alist, macro-declarations-alist): New vars.
2824 (defmacro, defun): Use them.
2825 (make-obsolete, define-obsolete-function-alias)
2826 (make-obsolete-variable, define-obsolete-variable-alias):
2827 Use `declare'.
2828 (macro-declaration-function): Mark obsolete.
2829 * emacs-lisp/autoload.el: Use lexical-binding.
2830 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2831
6e8a1786
AM
28322012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2833
2834 * textmodes/ispell.el (ispell-with-no-warnings):
2835 Define as a macro.
500fcedc
SM
2836 (ispell-kill-ispell, ispell-change-dictionary):
2837 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2838 `interactive-p'.
2839
61b108cc
SM
28402012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2843 (macro-declaration-function): Move var from C code.
2844 (macro-declaration-function): Define function with defalias.
2845 * emacs-lisp/macroexp.el (macroexpand-all-1):
2846 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2847 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2848 defun/defmacro any more.
2849 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2850 Provide fallback for unknown arglist.
2851 (byte-compile-arglist-warn): Change calling convention.
2852 (byte-compile-output-file-form): Move print-vars binding.
2853 (byte-compile-output-docform): Simplify accordingly.
2854 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2855 (byte-compile-defmacro-declaration): Remove.
2856 (byte-compile-file-form-defmumble): Generalize to defalias.
2857 (byte-compile-output-as-comment): Return byte-positions.
2858 Simplify callers accordingly.
2859 (byte-compile-lambda): Use `assert'.
2860 (byte-compile-defun, byte-compile-defmacro): Remove.
2861 (byte-compile-file-form-defalias):
2862 Use byte-compile-file-form-defmumble.
2863 (byte-compile-defalias-warn): Remove.
2864
6d3f7c2f
SM
28652012-05-29 Stefan Merten <smerten@oekonux.de>
2866
2867 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2868 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2869
2870 (rst-mode-abbrev-table): Merge definition.
2871 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2872 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2873
6dbaa1c7
UJ
28742012-05-29 Ulf Jasper <ulf.jasper@web.de>
2875
2876 * calendar/icalendar.el
2877 (icalendar-export-region): Export UID properly.
2878
d209e2fb 28792012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2880 * calendar/icalendar.el (icalendar-import-format):
2881 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2882 (icalendar-import-format-uid): New.
2883 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2884 Export UID.
2885
6876a58d
SM
28862012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2889 different alternative patterns.
2890 (pcase-codegen): Be more careful to preserve identity.
2891 (pcase--u1): Don't forget to mark vars as used.
2892
2893 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2894 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2895 (byte-compile-from-buffer): ...rather than here.
2896
2897 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2898 functions from byte-compile-function-environment.
2899
46b7967e
TN
29002012-05-29 Troels Nielsen <bn.troels@gmail.com>
2901
2902 * window.el (window-deletable-p): Avoid deleting the root window
2903 of a frame with an active minibuffer.
2904
69d565e2
MR
29052012-05-29 Martin Rudalics <rudalics@gmx.at>
2906
2907 * simple.el (choose-completion): Use quit-window (Bug#11567).
2908
a149fa51
CY
29092012-05-29 Chong Yidong <cyd@gnu.org>
2910
2911 * whitespace.el (whitespace-cleanup): Fix usage of
2912 whitespace-empty-at-bob-regexp (Bug#11492).
2913
2b311310
AH
29142012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2915
2916 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2917 revert (Bug#11488).
2918
b9cb2387
JL
29192012-05-29 Juri Linkov <juri@jurta.org>
2920
2921 * isearch.el (isearch-mode-map): Bind `M-s _' to
2922 `isearch-toggle-symbol'. Bind `M-s c' to
2923 `isearch-toggle-case-fold'.
2924 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2925 (isearch-forward): Add `M-s _' to the docstring.
2926 (isearch-forward-symbol, isearch-toggle-case-fold)
2927 (isearch-symbol-regexp): New functions. (Bug#11381)
2928
d5e61c1c
JL
29292012-05-29 Juri Linkov <juri@jurta.org>
2930
2931 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2932 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2933 a function, call it to get the regexp.
2934 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2935 property `isearch-message-prefix' instead of the string "word ".
2936 (isearch-search-fun-default): For the case of `isearch-word',
2937 return a lambda that calls re-search-forward/re-search-backward
2938 with a regexp returned by `word-search-regexp' or by the function
2939 in `isearch-word'.
2940
8cbd80f7
JL
29412012-05-29 Juri Linkov <juri@jurta.org>
2942
2943 * isearch.el (isearch-search-fun-default): New function.
2944 (isearch-search-fun): Move default part to the new function
2945 `isearch-search-fun-default'.
2946 (isearch-search-fun-function): Set the default value to
2947 `isearch-search-fun-default'. (Bug#11381)
2948
2949 * comint.el (comint-history-isearch-end):
2950 Use `isearch-search-fun-default'.
2951 (comint-history-isearch-search): Use `isearch-search-fun-default'
2952 and remove spacial case for `isearch-word'.
2953 (comint-history-isearch-wrap): Remove spacial case for
2954 `isearch-word'.
2955
2956 * hexl.el (hexl-isearch-search-function):
2957 Use `isearch-search-fun-default'.
2958
2959 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2960 Use `word-search-regexp' for `isearch-word'.
2961
2962 * misearch.el (multi-isearch-search-fun):
2963 Use `isearch-search-fun-default'.
2964
2965 * simple.el (minibuffer-history-isearch-search):
2966 Use `isearch-search-fun-default' and remove spacial case for
2967 `isearch-word'.
2968 (minibuffer-history-isearch-wrap): Remove spacial case for
2969 `isearch-word'.
2970
2971 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2972 Remove spacial case for `isearch-word'.
2973 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2974
85c8c5b6
AM
29752012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2976
2977 Decrease XEmacs incompatibilities.
2978 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2979 Use `string-match'.
2980 (flyspell-delete-region-overlays): Use alternative definition for
2981 XEmacs.
2982 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2983 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2984 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2985 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2986 `define-obsolete-face-alias' under XEmacs, but old method.
2987
2988 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2989 `with-no-warnings' definition or Emacs alias.
2990 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2991 (ispell-word): Do not use `region-p' if XEmacs.
2992
8cab9efc
AM
29932012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2994
2995 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2996 Check for `ispell-dictionary-base-alist' instead of full
2997 `ispell-dictionary-alist'.
2998 (ispell-init-process): Show spellchecker when starting new Ispell
2999 process.
3000
fda91268
RZ
30012012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3004 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3005
694ea8e3
JB
30062012-05-27 Juanma Barranquero <lekktu@gmail.com>
3007
3008 * version.el (motif-version-string, gtk-version-string)
3009 (ns-version-string): Declare.
3010
e4d4f539
JL
30112012-05-27 Juri Linkov <juri@jurta.org>
3012
3013 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3014 after the `eval-defun-1' specialcaseing
3015 like in `edebug-eval-defun' (bug#10181).
3016
3017 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3018 like in `eval-defun-1'.
3019
33017faf 30202012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3021
fda91268
RZ
3022 * mail/sendmail.el (mail-yank-region):
3023 Recognize rmail-yank-current-message in addition to insert-buffer.
3024 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3025 a *mail* buffer created through rmail-start-mail with sendmail as
3026 mail-user-agent.
3027
33017faf
GM
30282012-05-27 Chong Yidong <cyd@gnu.org>
3029
3030 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3031 Default to 256 (Bug#11267).
3032
3033 * help.el (describe-mode): Doc fix.
3034
04188bb9
GM
30352012-05-26 Glenn Morris <rgm@gnu.org>
3036
38264cc9
GM
3037 * w32-fns.el (w32-init-info): Remove.
3038 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3039
eb7afdad
GM
3040 * info.el (info-initialize): For self-contained NS builds, put the
3041 included info/ directory at the front. (Bug#2791)
3042
04188bb9
GM
3043 * paths.el (Info-default-directory-list): Make it a defcustom,
3044 mainly so that we can use custom-initialize-delay.
3045
a179e3f7
SM
30462012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3047
43416392
SM
3048 * subr.el (buffer-has-markers-at): Mark obsolete.
3049
a179e3f7 3050 * subr.el (lambda): Use declare.
43416392 3051
a179e3f7
SM
3052 * emacs-lisp/lisp-mode.el (lambda):
3053 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3054
34a008d9
AH
30552012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3056
3057 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3058
0a3b289f
GM
30592012-05-26 Glenn Morris <rgm@gnu.org>
3060
3061 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3062
758c81e8
GM
30632012-05-25 Glenn Morris <rgm@gnu.org>
3064
f9f334f0
GM
3065 * paths.el: Remove no-byte-compile.
3066 * loadup.el: No need to load paths.el uncompiled.
3067
87eb79c2
GM
3068 * image.el (imagemagick-types-inhibit): Doc fix.
3069
758c81e8
GM
3070 * version.el: Remove no-byte-compile and associated formatting.
3071 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3072 is ancient code from when there was an "inc-vers.el".
3073
e7e85dc0
SM
30742012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * progmodes/gdb-mi.el: Minor style changes.
3077 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3078 Turn into minor modes.
3079 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3080 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3081 (gdb-shell): Remove unneeded let-binding.
3082 (gdb-get-many-fields): Eliminate O(n²) behavior.
3083
f31237a4
EZ
30842012-05-25 Eli Zaretskii <eliz@gnu.org>
3085
3086 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3087 platforms that don't link in fontset.c.
3088
bc1b21bb
JL
30892012-05-25 Juri Linkov <juri@jurta.org>
3090
3091 Use the same diff color scheme as in modern VCSes (bug#10181).
3092
3093 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3094 to avoid confusion with `diff-added' that now uses green colors.
3095 (diff-removed): Use shades of red.
3096 (diff-added): Use shades of green.
3097 (diff-changed): Leave just the yellow color.
3098 (diff-use-changed-face): New variable.
3099 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3100 how to highlight context diff changes.
3101 (diff-refine-change): Use shades of yellow.
3102 (diff-refine-removed): New face that uses shades of red.
3103 (diff-refine-added): New face that uses shades of green.
3104 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3105 `diff-refine-removed' in the call to `smerge-refine-subst'
3106 depending on the value of `diff-use-changed-face'.
3107
3108 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3109 (smerge-other): Use shades of green.
3110 (smerge-base): Use shades of yellow.
3111 (smerge-refined-change): Empty face.
3112 (smerge-refined-removed): New face that uses shades of red.
3113 (smerge-refined-added): New face that uses shades of green.
3114 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3115 args `props-r' and `props-a', and use them. Doc fix.
3116 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3117 on its value use different faces `smerge-refined-change',
3118 `smerge-refined-removed', `smerge-refined-added' in the call to
3119 `smerge-refine-subst'.
3120
3121 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3122 Add face condition `min-colors 88' with shades of red.
3123 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3124 `min-colors 88' with shades of green.
3125 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3126 `min-colors 88' with shades of yellow.
3127
6df9112c
GM
31282012-05-24 Glenn Morris <rgm@gnu.org>
3129
ead5edc0
GM
3130 * paths.el (prune-directory-list, remote-shell-program): Move to...
3131 * files.el (prune-directory-list, remote-shell-program): ...here.
3132 For the latter, delay initialization, prefer ssh, just search PATH.
3133
f18b81e6
GM
3134 * paths.el (term-file-prefix): Move to faces.el (the only user).
3135 * faces.el (term-file-prefix): Move here, make it a defcustom.
3136
ee2f89a6
GM
3137 * paths.el (news-directory, news-path, news-inews-program):
3138 Move to gnus/nnspool.el.
61a583ca 3139
f8815e4c
GM
3140 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3141
c8f3b42c
GM
3142 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3143 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3144 Make the latter a defcustom, with a delayed initialization.
3145
6df9112c
GM
3146 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3147 These were deleted from Gnus itself late 2010.
3148
5dadff36
JB
31492012-05-22 Juanma Barranquero <lekktu@gmail.com>
3150
9e1701c6
JB
3151 * progmodes/which-func.el (which-func-ff-hook):
3152 Check against user-error, not error.
3153
bd7239f5 3154 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3155 cl-specs.el, which no longer exists.
3156
3290526d
GM
31572012-05-22 Glenn Morris <rgm@gnu.org>
3158
3159 * info.el (info-emacs-bug): New command.
3160 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3161 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3162
ff0c3cfb
GM
31632012-05-21 Glenn Morris <rgm@gnu.org>
3164
3165 * makefile.w32-in (update-subdirs-SH):
3166 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3167
5814f126
SM
31682012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3169
a52c0aa0
SM
3170 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3171
5814f126
SM
3172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3173 Simplify Maven regexp, and make sure the file can't start with a space
3174 (bug#11517).
3175
b847032c
GM
31762012-05-21 Glenn Morris <rgm@gnu.org>
3177
3178 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3179 Scrap superfluous subshells.
3180
3858bfe7
SM
31812012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3184 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3185
d14b0029
JB
31862012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3187
3188 * calc/calc.el (calc-ensure-consistent-units): New variable.
3189
a52c0aa0
SM
3190 * calc/calc-units.el (math-consistent-units-p)
3191 (math-check-unit-consistency): New functions.
3192 (calc-quick-units, calc-convert-units):
3193 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3194 is non-nil.
d14b0029
JB
3195 (calc-extract-units): Fix typo.
3196
60c4db3a
SM
31972012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3198
77f3b62e
SM
3199 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3200
60c4db3a
SM
3201 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3202 (flyspell-default-deplacement-commands): Don't spell check after
3203 repeated window/frame switches (e.g. triggered by mouse-movement).
3204 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3205 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3206 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3207 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3208 Remove unused vars.
3209 (flyspell-get-casechars, flyspell-get-not-casechars):
3210 Simplify; Don't bother removing a ] just to add it back.
3211 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3212
d209e2fb 32132012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3214
3215 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3216 New functions.
bd7239f5 3217 (math-function-table): Add support for more C functions.
b1a10716 3218
3f1b25b5
AM
32192012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3220
090bd7cb
JB
3221 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3222 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3223 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3224
b581bb5c
SM
32252012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3228 their respective macro declarations.
3229 * skeleton.el (define-skeleton):
3230 * progmodes/compile.el (define-compilation-mode):
3231 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3232 (define-ibuffer-filter):
3233 * emacs-lisp/generic.el (define-generic-mode):
3234 * emacs-lisp/easy-mmode.el (define-minor-mode)
3235 (define-globalized-minor-mode):
3236 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3237 * emacs-lisp/byte-run.el (defsubst):
3238 * custom.el (deftheme): Add doc-string metadata.
3239
70b8ef8f
SM
32402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3243
b1198e17
SM
32442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3245
9abdc45d
SM
3246 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3247
b1198e17
SM
3248 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3249 * emacs-lisp/cl-macs.el: Idem.
3250 * emacs-lisp/cl-specs.el: Remove.
3251
4735906a
SM
32522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 Minor renaming of internal CL functions and variables.
3255 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3256 (cl--position): Rename from cl-position.
3257 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3258 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3259 (cl--random-state): Rename from *random-state*.
3260
ac348012
SM
32612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3264 parens around the arg list (bug#11499).
3265
a0a79cde
JL
32662012-05-17 Juri Linkov <juri@jurta.org>
3267
3268 * isearch.el (word-search-regexp, word-search-backward)
3269 (word-search-forward, word-search-backward-lax)
3270 (word-search-forward-lax): Move functions from search.c
3271 (bug#10145, bug#11381).
3272
65034a51
AM
32732012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3274
090bd7cb
JB
3275 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3276 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3277 Delay for otherchars as for normal word components.
65034a51 3278
1a72a195
SM
32792012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * minibuffer.el (completion--sifn-requote): Fix last change.
3282 (minibuffer-local-must-match-filename-map):
3283 Move define-obsolete-variable-alias before its var.
3284
fdb058c2
SM
32852012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3286
c41045e6
SM
3287 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3288
036dfb8b
SM
3289 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3290 behavior.
3291 (completion--string-equal-p): New function.
3292 (completion--twq-all): Use it to get better assertion failure data.
3293
2473256d
SM
3294 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3295 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3296 (shell--requote-argument): New functions.
3297 (shell-completion-vars): Use them.
3298 (shell--parse-pcomplete-arguments): Rename from
3299 shell-parse-pcomplete-arguments.
3300 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3301 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3302 Obey comint-file-name-quote-list.
3303
fdb058c2
SM
3304 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3305 (smie-indent-keyword): Use it.
3306
51fa99f1
SM
33072012-05-14 Stefan Merten <smerten@oekonux.de>
3308
3309 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3310
e18afed7 33112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3312
3313 * net/rlogin.el (rlogin-mode-map): Fix last change.
3314
e18afed7 33152012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3316
3317 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3318 the following \r\n using a single `process-send-string', since the
3319 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3320 with two `process-send-string's (Bug#11444).
8633b1f4 3321
e18afed7 33222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3323
fdb058c2
SM
3324 * shell.el (shell-parse-pcomplete-arguments):
3325 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3326
2d21d7f6
WJ
33272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3328
e18afed7 3329 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3330 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3331 (image-transform-width, image-transform-fit-width): New functions.
3332 (image-transform-properties): Use them.
3333 (image-transform-check-size): New function.
3334 (image-toggle-display-image): Use it (for testing).
3335 (image-transform-set-rotation): Reduce angle mod 360.
3336 Delete obsolete comment.
3337
7102e6d0
WJ
33382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3339
3340 * image-mode.el: Fix scaling (bug#11399).
3341 (image-transform-resize): Doc fix.
3342 (image-transform-properties): Default scale is 1 and height should
3343 be an integer.
3344
06bc5e6e
SM
33452012-05-13 Johan Bockgård <bojohan@gnu.org>
3346
3347 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3348 than hard-coding `car', to fix misbehavior when moving forward.
3349
0ae03b6a
CY
33502012-05-13 Chong Yidong <cyd@gnu.org>
3351
3352 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3353 (tabulated-list-entries, tabulated-list-padding)
3354 (tabulated-list-sort-key): Make permanent-local.
3355
3356 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3357 (electric-buffer-list): Put electric buffer menu
3358 command descriptions in this docstring, instead of the docstring
3359 of electric-buffer-menu-mode. Code cleanups.
3360 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3361 Electric-buffer-menu-mode.
3362 (electric-buffer-update-highlight): Minor code cleanup.
3363
205a7391
MA
33642012-05-13 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3367 (Bug#11447)
3368
e5bd0a28
SM
33692012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 Move define-obsolete-variable-alias before the var's definition.
3372 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3373 * tooltip.el (tooltip-hook):
3374 * textmodes/reftex-toc.el (reftex-toc-map):
3375 * textmodes/reftex-sel.el (reftex-select-label-map)
3376 (reftex-select-bib-map):
3377 * textmodes/reftex-index.el (reftex-index-map)
3378 (reftex-index-phrases-map):
3379 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3380 * progmodes/meta-mode.el (meta-mode-map):
3381 * novice.el (disabled-command-hook):
3382 * loadhist.el (unload-hook-features-list):
3383 * frame.el (blink-cursor):
3384 * files.el (find-file-not-found-hooks, write-file-hooks)
3385 (write-contents-hooks):
3386 * emulation/tpu-edt.el (GOLD-map):
3387 * emacs-lock.el (emacs-lock-from-exiting):
3388 * emacs-lisp/generic.el (generic-font-lock-defaults):
3389 * emacs-lisp/chart.el (chart-map):
3390 * dos-fns.el (register-name-alist):
3391 * dired-x.el (dired-omit-files-p):
3392 * desktop.el (desktop-enable):
3393 * cus-edit.el (custom-mode-hook):
3394 * buff-menu.el (buffer-menu-mode-hook):
3395 * bookmark.el (bookmark-read-annotation-text-func)
3396 (bookmark-exit-hooks):
3397 * allout.el (allout-mode-deactivate-hook)
3398 (allout-exposure-change-hook, allout-structure-added-hook)
3399 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3400 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3401 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3402 comes before the corresponding variable's definition.
3403
ac59c2f6
CY
34042012-05-12 Chong Yidong <cyd@gnu.org>
3405
3406 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3407 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3408 (Buffer-menu-mode-map): Bind it.
3409 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3410
dee6c9a3
SM
34112012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3412
2171cea5
SM
3413 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3414 (prolog-upper-case-string, prolog-lower-case-string)
3415 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3416 (prolog-use-smie, prolog-smie-grammar): New vars.
3417 (prolog-smie-forward-token, prolog-smie-backward-token)
3418 (prolog-smie-rules): New funs.
3419 (prolog-comment-indent): Remove.
3420 (prolog-mode-variables): Use default comment indentation instead.
3421 Setup SMIE.
3422 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3423 (prolog-mode): Don't call them any more.
3424 (prolog-electric-colon, prolog-electric-dash)
3425 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3426
aa0382bd
SM
3427 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3428
dbacb4bd
SM
3429 * minibuffer.el (completion--twq-all): Again, allow case differences.
3430
13bdd94c
SM
3431 * term.el: Move keymap initialization code to be more idiomatic.
3432 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3433 (term-terminal-menu): Move initialization into declaration.
3434 (term-escape-char): Let the user set it in her .emacs.
3435
ff46c759
SM
3436 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3437 Provide SMIE-based indentation (not enabled by default yet).
3438 (sh-mode-map): Don't bind electric keys.
3439 Use electric-pair-mode instead of skeleton-pair.
3440 (sh-assignment-regexp): Fit within 80 columns.
3441 (sh-indent-supported): Specify actual shell name instead of boolean.
3442 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3443 (sh-maybe-here-document): Use it. Make obsolete.
3444 (sh-electric-here-document-mode) New minor mode.
3445 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3446 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3447 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3448 (sh-smie-rc-grammar, sh-use-smie): New vars.
3449 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3450 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3451 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3452 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3453 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3454 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3455 (sh-set-shell): Use smie-setup if requested.
3456
dee6c9a3
SM
3457 * term.el (term-set-escape-char): Properly set term-escape-char.
3458 See http://stackoverflow.com/questions/10524656.
3459
9f9aa044
CY
34602012-05-10 Chong Yidong <cyd@gnu.org>
3461
3462 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3463 Use url-generic-parse-url, and handle host names and Windows
3464 filenames properly.
3465 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3466 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3467 URL schemes to work on.
3468 (ffap--toggle-read-only): New function.
3469 (ffap-read-only, ffap-read-only-other-window)
3470 (ffap-read-only-other-frame): Use it.
3471 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3472 necessary for ffap-url-unwrap-remote.
3473
836d29b3
DA
34742012-05-10 Dave Abrahams <dave@boostpro.com>
3475
3476 * cus-start.el (create-lockfiles): Add it.
3477
00fd78ed
CY
34782012-05-09 Chong Yidong <cyd@gnu.org>
3479
3480 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3481 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3482
666b903b 34832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3484
3485 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3486
666b903b 34872012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3488
3489 * ansi-color.el (ansi-color-process-output): Check for validity of
3490 comint-last-output-start before using it. This avoids a bad
3491 interaction with gdb-mi's input/output buffer.
3492
666b903b 34932012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3494
3495 * files.el (dir-locals-read-from-file):
3496 Mention dir-locals in any error message.
3497
666b903b 34982012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3499
3500 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3501 package (Bug#11410).
3502
f677562b
CY
3503 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3504 variables into description.
3505
666b903b 35062012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3507
3508 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3509 shell-delimiter-argument-list (bug#11348).
3510 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3511
b499d8d0
JB
35122012-05-09 Juanma Barranquero <lekktu@gmail.com>
3513
8f6b6da8
JB
3514 * textmodes/rst.el: Silence byte-compiler warnings.
3515 (rst-re-alist, rst-reset-section-caches): Move around.
3516 (rst-re): Use `characterp', not `char-valid-p'.
3517 (font-lock-beg, font-lock-end): Declare.
3518
4824146a
JB
3519 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3520 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3521
b499d8d0
JB
3522 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3523
ad89bb83
GM
35242012-05-08 Glenn Morris <rgm@gnu.org>
3525
3526 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3527
8bba5a75
SM
35282012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3529
49ed9c8e
SM
3530 * vc/log-edit.el: Add GNU coding standards highlighting.
3531 (log-edit-font-lock-gnu-style)
3532 (log-edit-font-lock-gnu-keywords): New vars.
3533 (log-edit-font-lock-keywords): New fun.
3534 (log-edit-mode): Don't fold case in font-lock.
3535 (log-edit-font-lock-keywords): Do not assume case-folding.
3536
07d00b56
SM
3537 * imenu.el: Misc cleanup. Make docstrings out of comments.
3538 Use lexical-binding.
3539 (imenu--index-alist, imenu--last-menubar-index-alist)
3540 (imenu-menubar-modified-tick): Use defvar-local.
3541 (imenu--split-menu): Remove unused var.
3542 (imenu--cleanup-seen): Declare as global.
3543 (imenu--cleanup): Use dolist.
3544
8bba5a75
SM
3545 * subr.el (defvar-local): Add debug spec and doc-string position.
3546
5075bdb5
GM
35472012-05-08 Glenn Morris <rgm@gnu.org>
3548
090bd7cb 3549 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3550 * language/english.el, language/georgian.el, language/greek.el:
3551 * language/japanese.el, language/khmer.el, language/korean.el:
3552 * language/lao.el, language/misc-lang.el, language/romanian.el:
3553 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3554 * language/thai.el, language/utf-8-lang.el:
3555 Remove no-byte-compile setting.
3556
5075bdb5
GM
3557 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3558
06f679a7
AH
35592012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3560
3561 * progmodes/make-mode.el (makefile-browse):
3562 Remove unnecessary interactive. (Bug#11324)
3563
03794570
GM
35642012-05-07 Glenn Morris <rgm@gnu.org>
3565
af8630f4
GM
3566 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3567
03794570
GM
3568 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3569
f0809a9d
SM
35702012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3571
28be5ce7
SM
3572 * loadup.el: Preload newcomment.el.
3573 * newcomment.el: Move autoload-only code to toplevel.
3574
f0809a9d
SM
3575 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3576 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3577 Handle new :right-align column property.
3578 (tabulated-list-print-col): Idem, plus use `display' text-property to
3579 try and preserve alignment for variable pitch fonts.
3580
1241b724
CY
35812012-05-07 Chong Yidong <cyd@gnu.org>
3582
3583 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3584 (tabulated-list-use-header-line): New var.
3585 (tabulated-list-init-header): Use it.
3586 (tabulated-list-print-fake-header): New function.
3587 (tabulated-list-print): Use it.
3588 (tabulated-list-sort-button-map): Add non-header-line commands.
3589 (tabulated-list-init-header): Add column name property to basic
3590 labels as well.
3591 (tabulated-list-col-sort): Handle non-header-line button case.
3592 (tabulated-list--sort-by-column-name): Fix a corner case.
3593
f0809a9d
SM
3594 * buff-menu.el (list-buffers--refresh):
3595 Handle Buffer-menu-use-header-line.
1241b724 3596
e5f9458f
CY
35972012-05-06 Chong Yidong <cyd@gnu.org>
3598
3599 * buff-menu.el: Convert to Tabulated List mode.
3600 (Buffer-menu-buffer+size-width): Make obsolete.
3601 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3602 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3603 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3604 documentation into docstring of buffer-menu.
3605 (Buffer-menu-toggle-files-only): Add an informative message.
3606 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3607 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3608 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3609 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3610 (Buffer-menu-execute, Buffer-menu-select)
3611 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3612 (Buffer-menu-bury): Use Tabulated List machinery.
3613 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3614 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3615 Delete.
e5f9458f
CY
3616 (list-buffers--refresh): New function.
3617 (list-buffers-noselect): Use it.
3618 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3619 (Buffer-menu--pretty-file-name): New helper functions.
3620
3621 * loadup.el: Preload tabulated-list.
3622
3623 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3624 tabulated-list-sort-column.
3625 (tabulated-list-init-header): Add the initial aligning space even
3626 if tabulated-list-padding is zero.
3627
e129292c
CS
36282012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3629
3630 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3631 whose cdr is not a cons cell correctly (bug#11038).
3632
6632d361
CY
36332012-05-06 Chong Yidong <cyd@gnu.org>
3634
e129292c
CS
3635 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3636 Accept additional plist in column descriptors.
6632d361
CY
3637 (tabulated-list-init-header): Obey it.
3638 (tabulated-list-get-entry): New function.
3639 (tabulated-list-put-tag): Use it. Use string-width instead of
3640 length.
3641 (tabulated-list--column-number): New function.
3642 (tabulated-list-print): Use it.
e129292c
CS
3643 (tabulated-list-print-col): New function.
3644 Set `tabulated-list-column-name' property on each column's text.
6632d361 3645 (tabulated-list-print-entry): Use it.
e129292c
CS
3646 (tabulated-list-delete-entry, tabulated-list-set-col):
3647 New functions.
6632d361
CY
3648 (tabulated-list-sort-column): New command (Bug#11337).
3649
3cc99f68
CY
3650 * buff-menu.el (list-buffers): Move C-x C-b binding from
3651 buff-menu.el to bindings.el.
3652
3653 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3654 :advertised-binding feature.
3655
52b61776
TN
36562012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3657
3658 * progmodes/compile.el (compilation-internal-error-properties):
3659 Calculate start position correctly when end-col is set but
3660 end-line is not (Bug#11382).
3661
ebfe2597
WJ
36622012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3663
3664 * man.el (Man-unindent): Use text-property-default-nonsticky to
3665 prevent untabify from inheriting face properties (Bug#11408).
3666
6d3f7c2f
SM
36672012-05-05 Stefan Merten <smerten@oekonux.de>
3668
3669 * textmodes/rst.el: Major merge with upstream development up to
3670 Docutils SVN r7399 / rst.el V1.2.1.
3671
3672 Clarify maintainership and authors.
3673
3674 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3675 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3676 (rst-official-version, rst-official-cvs-rev, rst-version)
3677 (rst-package-emacs-version-alist): New functions and variables
3678 for version information.
3679
3680 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3681 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3682 (rst-mode-syntax-table, rst-mode): New and corrected functions
3683 and variables representing reStructuredText features.
3684
3685 (rst-re): New function for reStructuredText regexes. Use in
3686 many places.
3687
3688 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3689 (rst-mode-map): Rebind keys.
3690
3691 (rst-mode-lazy, rst-font-lock-keywords)
3692 (rst-font-lock-extend-region)
3693 (rst-font-lock-extend-region-internal)
3694 (rst-font-lock-extend-region-extend)
3695 (rst-font-lock-find-unindented-line-limit)
3696 (rst-font-lock-find-unindented-line-match)
3697 (rst-adornment-level, rst-font-lock-adornment-level)
3698 (rst-font-lock-adornment-match)
3699 (rst-font-lock-handle-adornment-pre-match-form)
3700 (rst-font-lock-handle-adornment-matcher): Major revision of
3701 font-locking. Integrate with other code. Use `jit-lock-mode'.
3702
3703 (rst-preferred-adornments, rst-adjust-hook)
3704 (rst-new-adornment-down, rst-preferred-bullets)
3705 (rst-preferred-bullets, rst-indent, rst-indent-width)
3706 (rst-indent-field, rst-indent-literal-normal)
3707 (rst-indent-literal-minimized, rst-indent-comment): Change,
3708 extend and improve customization.
3709
3710 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3711 (rst-normalize-cursor-position, rst-get-decoration)
3712 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3713 (rst-rstrip, rst-toc-insert-find-delete-contents)
3714 (rst-shift-fill-region, rst-compute-bullet-tabs)
3715 (rst-debug-print-tabs, rst-debug-mark-found)
3716 (rst-shift-region-guts, rst-shift-region-right)
3717 (rst-shift-region-left, rst-use-char-classes)
3718 (rst-font-lock-keywords-function)
3719 (rst-font-lock-indentation-point)
3720 (rst-font-lock-find-unindented-line-begin)
3721 (rst-font-lock-find-unindented-line-end)
3722 (rst-font-lock-find-unindented-line)
3723 (rst-font-lock-adornment-point, rst-font-lock-level)
3724 (rst-adornment-level-alist): Remove functions and variables.
3725
3726 (rst-compare-adornments, rst-get-adornment-match)
3727 (rst-suggest-new-adornment, rst-get-adornments-around)
3728 (rst-adornment-complete-p, rst-get-next-adornment)
3729 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3730 (rst-straighten-adornments): Standardize function names to
3731 use "adornment" instead of "decoration". Correct callers.
3732 Similar standardizing in many places.
3733
3734 (rst-update-section, rst-adjust, rst-promote-region)
3735 (rst-enumerate-region, rst-bullet-list-region)
3736 (rst-repeat-last-character): Correct use of `interactive'.
3737
3738 (rst-classify-adornment, rst-find-all-adornments)
3739 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3740 (rst-find-leftmost-column, rst-repeat-last-character):
3741 Refactor functions.
3742
3743 (rst-find-title-line, rst-reset-section-caches)
3744 (rst-get-adornments-around, rst-adjust-adornment-work)
3745 (rst-arabic-to-roman, rst-roman-to-arabic)
3746 (rst-insert-list-pos, rst-insert-list-new-item)
3747 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3748 New functions.
3749
3750 (rst-all-sections, rst-section-hierarchy)
3751 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3752 New variables.
3753
3754 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3755 configuration instead of only buffer. Change where necessary.
3756
3757 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3758 (rst-shift-region, rst-adaptive-fill): New functions for
3759 indentation and filling.
3760
3761 (rst-comment-line-break, rst-comment-indent)
3762 (rst-comment-insert-comment, rst-comment-region)
3763 (rst-uncomment-region): New functions for handling comments.
3764
3765 (rst-compile): Quote shell arguments.
3766
3767 (rst-compile-pdf-preview, rst-compile-slides-preview):
3768 Delete temporary files after use.
3769
a43f98b3
GM
37702012-05-05 Glenn Morris <rgm@gnu.org>
3771
48176e8b
GM
3772 * calendar/cal-html.el: Optionally include holidays in the output.
3773 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3774 (cal-html-holidays): New option.
3775 (cal-html-css-default): Add holiday entry.
3776 (holiday-in-range): Autoload it.
3777 (cal-html-htmlify-entry): Add optional class argument.
3778 (cal-html-htmlify-list): Add optional holidays argument.
3779 (cal-html-insert-agenda-days): Include holidays in the output.
3780 (cal-html-one-month): Maybe include holidays.
3781
a43f98b3
GM
3782 * calendar/holidays.el (holiday-in-range):
3783 Move here from cal-tex-list-holidays.
3784 * calendar/cal-tex.el (cal-tex-list-holidays):
3785 Make it an obsolete alias for holiday-in-range. Update all callers.
3786
fef9d149 37872012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3788
3789 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3790 Nextstep.
3791
248da2f4
RW
37922012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3793
3794 * files.el (file-auto-mode-skip): New var.
3795 (set-auto-mode-1): Use it.
3796
f95e9344
SM
37972012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3798
df96ab1e
SM
3799 * repeat.el: Use lexical-binding.
3800 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3801 (repeat-undo-count): Remove.
3802 (repeat):
3803 * progmodes/octave-mod.el (octave-abbrev-start):
3804 * progmodes/f90.el (f90-abbrev-start):
3805 * face-remap.el (text-scale-adjust):
3806 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3807
5342bb06
SM
3808 * emacs-lisp/pcase.el (pcase--let*): New function.
3809 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3810 a bit more.
3811 (pcase--split-pred): Be more clever about ruling out overlap between
3812 a predicate and some constant pattern.
3813 (pcase--q1): Use `null' instead of (eq foo nil).
3814
f95e9344
SM
3815 * subr.el (setq-local, defvar-local): New macros.
3816 (kbd): Redefine as an alias.
3817 (with-selected-window): Leave unrelated frames alone.
3818 (set-temporary-overlay-map): New function.
3819
71873e2b
SM
38202012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * subr.el (user-error): New function.
3823 * window.el (switch-to-buffer):
3824 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3825 (smerge-match-conflict):
3826 * simple.el (previous-matching-history-element)
3827 (next-matching-history-element, goto-history-element, undo-more)
3828 (undo-start):
3829 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3830 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3831 (next-file, tags-loop-scan, list-tags, complete-tag):
3832 * progmodes/compile.el (compilation-loop):
3833 * mouse.el (mouse-minibuffer-check):
3834 * man.el (Man-bgproc-sentinel, Man-goto-page):
3835 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3836 (Info-history-forward, Info-follow-reference, Info-menu)
3837 (Info-extract-menu-item, Info-extract-menu-counting)
3838 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3839 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3840 (Info-next-reference, Info-prev-reference, Info-index)
3841 (Info-index-next, Info-follow-nearest-node)
3842 (Info-copy-current-node-name):
3843 * imenu.el (imenu--make-index-alist)
3844 (imenu-default-create-index-function, imenu-add-to-menubar):
3845 * files.el (basic-save-buffer, recover-file):
3846 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3847 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3848 (checkdoc-message-text, checkdoc-defun):
3849 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3850 * cus-edit.el (customize-changed-options, customize-rogue)
3851 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3852 (custom-variable-mark-to-reset-standard)
3853 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3854 (custom-file):
3855 * completion.el (check-completion-length):
3856 * comint.el (comint-search-arg)
3857 (comint-previous-matching-input-string-position)
3858 (comint-previous-matching-input)
3859 (comint-replace-by-expanded-history-before-point, comint-send-input)
3860 (comint-copy-old-input, comint-backward-matching-input)
3861 (comint-goto-process-mark, comint-set-process-mark):
3862 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3863 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3864
8a61ee22
SM
38652012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3866
66408d1e
SM
3867 * dabbrev.el (dabbrev--ignore-case-p): New function.
3868 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3869 Use it.
3870
8a61ee22
SM
3871 * files.el (automount-dir-prefix): Mark as obsolete.
3872
3c74813a
GM
38732012-05-04 Glenn Morris <rgm@gnu.org>
3874
3875 * patcomp.el, play/bruce.el: Move to obsolete/.
3876
0bfcf5c5
PE
38772012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3878
3879 Fix minor Y10k bugs.
3880 * arc-mode.el (archive-unixdate):
3881 * autoinsert.el (auto-insert-alist):
3882 * calc/calc-forms.el (math-this-year):
3883 * emacs-lisp/copyright.el (copyright-current-year)
3884 (copyright-update-year, copyright):
3885 * tar-mode.el (tar-clip-time-string):
3886 * time.el (display-time-update):
3887 Don't assume years have 4 digits.
3888
78f3273a
CY
38892012-05-04 Chong Yidong <cyd@gnu.org>
3890
3891 * dos-w32.el (file-name-buffer-file-type-alist)
3892 (direct-print-region-use-command-dot-com):
3893 * ffap.el (ffap-menu-regexp):
3894 * find-file.el (ff-special-constructs):
3895 * follow.el (follow-debug):
3896 * forms.el (forms--debug):
3897 * iswitchb.el (iswitchb-all-frames):
3898 * ido.el (ido-all-frames):
3899 * emacs-lisp/timer.el (timer-max-repeats):
3900 * mail/feedmail.el (feedmail-mail-send-hook)
3901 (feedmail-mail-send-hook-queued):
3902 * mail/footnote.el (footnote-signature-separator):
3903 * mail/mailabbrev.el (mail-alias-separator-string)
3904 (mail-abbrev-mode-regexp):
3905 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3906 * progmodes/idlwave.el (idlwave-libinfo-file)
3907 (idlwave-default-completion-case-is-down)
3908 (idlwave-library-routines): Convert defvars to defcustoms.
3909
3910 * mail/rmail.el (rmail-decode-mime-charset):
3911 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3912 (idlwave-shell-fix-inserted-breaks)
3913 (idlwave-shell-activate-alt-keybindings)
3914 (idlwave-shell-use-breakpoint-glyph):
3915 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3916
f7ae6719
SM
39172012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3920
47086495
WS
39212012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3922
3923 * progmodes/verilog-mode.el (font-lock-keywords):
3924 Fix mis-highligting auto. Reported by Craig Barner.
3925 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3926 defines from global name space. Reported by Dan Dever.
3927 (verilog-auto-reset, verilog-auto-reset-widths)
3928 (verilog-auto-tieoff): Support using unbased numbers for
3929 AUTORESET and AUTOTIEOFF.
3930 (verilog-submit-bug-report): Update variable list.
3931 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3932 parenthesis from not matching. Reported by Michael Rytting.
3933 (verilog-auto-template-lint): Fix hash error when linting modules
3934 with no used templates.
3935 (verilog-warn, verilog-warn-error)
3936 (verilog-warn-fatal): When non-interactive report multiple
3937 warnings before exiting. Suggested by Brad Dobbie.
3938 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3939 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3940 to report unused template errors. Reported by Brad Dobbie.
3941 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3942 nets, bug438. Reported by Vns Blore.
3943 (verilog-auto-inout-module, verilog-auto-reg)
3944 (verilog-read-decls, verilog-read-sub-decls-sig)
3945 (verilog-signals-edit-wire-reg, verilog-signals-with):
3946 Fix passing of Verilog data types in ANSI input/output ports
3947 such as "output logic" into the AUTOs. Special case "wire" and
3948 "reg" for backwards compatibility presuming Verilog 2001.
3949 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3950 (verilog-preprocess): Fix replication of preprocess output.
3951 Reported by Brad Dobbie.
3952 (verilog-auto-inst-interfaced-ports):
3953 Create verilog-auto-inst-interfaced-ports, bug429.
3954 Reported by Julian Gorfajn.
3955 (verilog-after-save-font-hook)
3956 (verilog-before-save-font-hook): New variable.
3957 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3958 (verilog-save-font-mods): Wrap disabling fontification, reported
3959 by David Rogoff.
3960 (verilog-do-indent, verilog-pretty-declarations-auto)
3961 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3962 Reported by Pierre-David Pfister.
3963 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3964 of class declarations, bug292. Reported by Kevin Heilman.
3965 (verilog-read-decls): Fix 'parameter type' not appearing in
3966 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3967 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3968 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3969 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3970 Reported by David Kravitz.
3971
39722012-05-03 Michael McNamara <mac@mail.brushroad.com>
3973
3974 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3975 assignment with tests in ifs and for loops.
3976 (verilog-extended-complete-re, verilog-complete-reg): Change so
3977 that DPI inport functions don't look like fuction declarations.
3978 (verilog-pretty-expr): Don't line up assignment
3979 operations to the test and increment in if and for loops
3980 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3981 that DPI inport functions don't look like fuction declarations.
47086495 3982
2e51d4b5
KH
39832012-05-03 Kenichi Handa <handa@m17n.org>
3984
3985 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3986 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3987 (Bug#11282).
3988
2bd785a2
SM
39892012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * emacs-lisp/bytecomp.el
3992 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3993 since cconv.el might have introduced :fun-body, internal-make-closure,
3994 and friends for bytecomp to handle (bug#11391).
3995 * custom.el (defcustom): Avoid ((λ ..) ..).
3996
99d27583
SM
39972012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4000
55a71479
JB
40012012-05-02 Juanma Barranquero <lekktu@gmail.com>
4002
4003 * notifications.el (dbus-debug):
4004 * term/linux.el (gpm-mouse-enable):
4005 * term/screen.el (xterm-register-default-colors): Declare.
4006
7b97c764
CY
40072012-05-02 Chong Yidong <cyd@gnu.org>
4008
2bc356d7
CY
4009 * cus-start.el (gc-cons-percentage, exec-suffixes)
4010 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4011 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4012 (make-cursor-line-fully-visible, void-text-area-pointer)
4013 (font-list-limit): Add customization data.
4014
7b97c764
CY
4015 * allout.el (allout-exposure-change-functions)
4016 (allout-structure-added-functions)
4017 (allout-structure-deleted-functions)
4018 (allout-structure-shifted-functions): Rename abnormal hooks from
4019 *-hook, and convert to defcustoms.
5d3385a0
JB
4020 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4021 Convert to defcustoms.
7b97c764
CY
4022 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4023
4024 * allout-widgets.el: Hook callers changed.
4025
90207a15 40262012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4027
4028 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4029 the yanked message in preference to the default value of
4030 buffer-file-coding-system.
4031
90207a15 40322012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4033
5d3385a0
JB
4034 * window.el (display-buffer--action-function-custom-type):
4035 Fix entry.
d9558cad 4036
90207a15 40372012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4038
4039 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4040
d80ac57b
GM
40412012-05-01 Glenn Morris <rgm@gnu.org>
4042
976f7668
GM
4043 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4044
beb83b5a
GM
4045 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4046
d80ac57b
GM
4047 * cus-edit.el (custom-variable-documentation): Simplify with format.
4048
b593d6a9 40492012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4050 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4051
4052 * simple.el (suggest-key-bindings, execute-extended-command):
4053 Move from keyboard.c.
4054
782fbf2a
CY
40552012-05-01 Chong Yidong <cyd@gnu.org>
4056
4057 * follow.el: Eliminate advice.
4058 (set-process-filter, process-filter, sit-for): Advice deleted.
4059 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4060 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4061 Vars deleted.
782fbf2a
CY
4062 (follow-auto): Use a :set function.
4063 (follow-mode): Rewritten. Don't advise process filters.
4064 (follow-switch-to-current-buffer-all, follow-scroll-up)
4065 (follow-scroll-down): Assume follow-mode is bound.
4066 (follow-comint-scroll-to-bottom)
4067 (follow-align-compilation-windows): New functions.
4068 (follow--window-sorter): New function.
4069 (follow-all-followers): Use it to explicitly sort windows by their
4070 positions; don't make assumptions about next-window order.
4071 (follow-windows-start-end, follow-delete-other-windows-and-split)
4072 (follow-calc-win-start): Doc fix.
4073 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4074 vertical-motion unnecessarily.
4075 (follow-adjust-window): New function.
4076 (follow-post-command-hook): Use it.
4077 (follow-call-set-process-filter, follow-call-process-filter)
4078 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4079 (follow-stop-intercept-process-output, follow-generic-filter):
4080 Functions deleted.
4081 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4082 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4083 New functions, replacing advice on scroll-bar-* commands.
87233a14 4084 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4085
4086 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4087 (comint-postoutput-scroll-to-bottom): Use it.
4088 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4089
290af740
GM
40902012-05-01 Glenn Morris <rgm@gnu.org>
4091
4092 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4093 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4094 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4095 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4096 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4097 Remove no-byte-compile setting.
4098
6eac8dc9
SM
40992012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4102 all-completions code to not return a number in the last cdr.
4103
9cc7819c
LL
41042012-04-30 Leo Liu <sdl.web@gmail.com>
4105
4106 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4107 read-only error.
4108
c93b886f
CY
41092012-04-29 Chong Yidong <cyd@gnu.org>
4110
4111 * follow.el (follow-calc-win-end): Rewrite to handle partial
4112 screen lines correctly (Bug#8390).
4113 (follow-avoid-tail-recenter): Minor cleanup.
4114
8b6c19f4
SM
41152012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 Avoid the obsolete `assoc' package.
4118 * speedbar.el (speedbar-refresh): Avoid adelete.
4119 (speedbar-file-lists): Simplify and avoid aput.
4120 * man.el (Man--sections, Man--refpages): New vars, replacing
4121 Man-sections-alist and Man-refpages-alist.
4122 (Man-build-section-alist, Man-build-references-alist):
4123 Use them; avoid aput.
4124 (Man--last-section, Man--last-refpage): New vars.
4125 (Man-follow-manual-reference): Use them.
4126 Use the `default' arg of completing-read.
4127 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4128
c5bb7569
CY
41292012-04-27 Chong Yidong <cyd@gnu.org>
4130
d1d2e2e8
CY
4131 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4132
15cd8efd
CY
4133 * startup.el (x-apply-session-resources): New function.
4134
4135 * term/ns-win.el (ns-initialize-window-system):
4136 * term/w32-win.el (w32-initialize-window-system):
4137 * term/x-win.el (x-initialize-window-system): Use it to properly
4138 set menu-bar-mode and other vars from X resources, even if the
4139 initial frame is not a window-system frame (Bug#2299).
4140
c5bb7569
CY
4141 * subr.el (read-key): Avoid running filter function when setting
4142 up temporary tool bar entries (Bug#9922).
4143
a8e7d6d7 41442012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4145
4146 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4147 (Bug#11344)
4148
a8e7d6d7 41492012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4150
4151 * select.el (xselect--encode-string): New function, split from
4152 xselect-convert-to-string.
4153 (xselect-convert-to-string): Use it.
4154 (xselect-convert-to-filename, xselect-convert-to-os)
4155 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4156 returned strings are properly encoded (Bug#11315).
4157
a8e7d6d7 41582012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4159
4160 * simple.el (delete-active-region): Move to killing custom group.
4161
a8e7d6d7 41622012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4163
4164 * progmodes/which-func.el (which-func-current): Quote %
4165 characters for mode-line processing.
4166
578c1d4b 41672012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4168
4169 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4170 reaching eob (Bug#11286).
4171
a8e7d6d7 41722012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4173
4174 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4175 (gdb): Make it buffer-local and init to zero.
4176 (gdb-control-commands-regexp): New variable.
4177 (gdb-send): Don't wrap in "-interpreter-exec console" if
4178 gdb-control-level is positive. Increment gdb-control-level
4179 whenever the command matches gdb-control-commands-regexp, and
4180 decrement it each time the command is "end". (Bug#11279)
4181
a8e7d6d7 41822012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4183
4184 * window.el (adjust-window-trailing-edge, enlarge-window)
4185 (shrink-window, window-resize):
4186 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4187 windows (Bug#11276).
4188
b3608390
CY
41892012-04-27 Chong Yidong <cyd@gnu.org>
4190
4191 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4192 fix "missing prefix" warning. All callers changed.
b3608390 4193
797e6e88
SM
41942012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * emacs-lisp/assoc.el: Move to obsolete/.
4197
e95a67dc
SM
41982012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4199
657c21e4 4200 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4201
4202 * term/ns-win.el (ns-define-service):
4203 * progmodes/pascal.el (pascal-goto-defun):
4204 * progmodes/js.el (js--read-tab):
4205 * progmodes/etags.el (tags-lazy-completion-table):
4206 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4207 * emacs-lisp/ewoc.el (ewoc--wrap):
4208 * emacs-lisp/assoc.el (aput, adelete, amake):
4209 * doc-view.el (doc-view-convert-current-doc):
4210 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4211
cb3e7ae0
CY
42122012-04-26 Chong Yidong <cyd@gnu.org>
4213
dce04f7f
CY
4214 * image.el (image-type-from-buffer): Only return supported image
4215 type (Bug#9045).
4216
cb3e7ae0
CY
4217 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4218 value, for symmetry with diff-end-of-hunk.
4219 (diff-split-hunk, diff-find-source-location)
4220 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4221 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4222 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4223 compute the relevant hunk or file properly (Bug#6005).
4224 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4225
0d42eb3e
SM
42262012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * vc/vc-mtn.el:
4229 * vc/vc-hg.el:
4230 * vc/vc-git.el:
4231 * vc/vc-dir.el:
4232 * vc/vc-cvs.el:
4233 * vc/vc-bzr.el:
4234 * vc/vc-arch.el:
4235 * vc/vc.el: Replace lexical-let by lexical-binding.
4236 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4237 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4238 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4239
f08ae1c9
CY
42402012-04-26 Chong Yidong <cyd@gnu.org>
4241
8b71081d
CY
4242 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4243 (diff-mode-shared-map): Bind it to / and [remap undo].
4244
f08ae1c9
CY
4245 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4246 (ediff-window-setup-function): Use it as the default, to set up
4247 windows based on whether the current frame is graphical (Bug#2138).
4248 (ediff-choose-window-setup-function-automatically): Make obsolete.
4249
4250 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4251
ef24141c
SM
42522012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4253
cc356a5d
SM
4254 * ffap.el: Remove old code for obsolete package.
4255 (ffap-complete-as-file-p): Remove.
4256
b4ff4f1f
SM
4257 Use completion-table-with-quoting for comint and pcomplete.
4258 * comint.el (comint--unquote&requote-argument)
4259 (comint--unquote-argument, comint--requote-argument): New functions.
4260 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4261 (comint-quote-filename): Use regexp-opt-charset.
4262 (comint--common-suffix, comint--common-quoted-suffix)
4263 (comint--table-subvert): Remove.
4264 (comint-unquote-function, comint-requote-function): New vars.
4265 (comint--complete-file-name-data): Use them with
4266 completion-table-with-quoting.
4267 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4268 * pcomplete.el (pcomplete-arg-quote-list)
4269 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4270 (pcomplete-unquote-argument-function): Default to non-nil.
4271 (pcomplete-unquote-argument): Simplify.
4272 (pcomplete--common-quoted-suffix): Remove.
4273 (pcomplete-requote-argument-function): New var.
4274 (pcomplete--common-suffix): New function.
4275 (pcomplete-completions-at-point): Use completion-table-with-quoting
4276 and completion-table-subvert.
4277
79c4eeb4
SM
4278 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4279 (minibuffer--double-dollars): Preserve properties.
4280 (completion--sifn-requote): New function.
4281 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4282
ef24141c
SM
4283 * minibuffer.el: Add support for completion of quoted/escaped data.
4284 (completion-table-with-quoting, completion-table-subvert): New funs.
4285 (completion--twq-try, completion--twq-all): New functions.
4286 (completion--nth-completion): New function.
4287 (completion-try-completion, completion-all-completions): Use it.
4288
784e7d6e
LL
42892012-04-25 Leo Liu <sdl.web@gmail.com>
4290
dd2ac746
SM
4291 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4292 Use compilation-message if available to find real filename.
784e7d6e 4293
07875ee7
CY
42942012-04-25 Chong Yidong <cyd@gnu.org>
4295
4296 * vc/diff-mode.el (diff-setup-whitespace): New function.
4297 (diff-mode): Use it.
4298
4299 * vc/diff.el (diff-sentinel):
4300 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4301 Whitespace mode variables based on diff style (Bug#8612).
4302
5055880d
LL
43032012-04-25 Leo Liu <sdl.web@gmail.com>
4304
daf75653
LL
4305 * progmodes/python.el (python-send-region): Add suffix .py to the
4306 temp file.
4307
5055880d
LL
4308 * files.el (auto-mode-alist): Use javascript-mode instead.
4309
db9b177b
AH
43102012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4311
ef24141c 4312 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4313
090bd7cb 4314 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4315 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4316 references, see Bug#9.
ef24141c 4317 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4318 when receiving a fault reply.
ef24141c 4319 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4320
090bd7cb 4321 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4322 (soap-inspect-simple-type): New function.
db9b177b 4323
090bd7cb 4324 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4325 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4326 (soap-decode-basic-type, soap-encode-basic-type):
4327 support unsignedInt and double basic types.
db9b177b 4328 (soap-resolve-references-for-simple-type)
ef24141c
SM
4329 (soap-parse-simple-type, soap-encode-simple-type): New function.
4330 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4331
090bd7cb 4332 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4333 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4334 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4335 the local name of "soapenc:Array".
4336 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4337 decoding integer, byte and anyURI xsd types.
4338
1fc6097b
CY
43392012-04-25 Chong Yidong <cyd@gnu.org>
4340
4341 * cus-edit.el (custom-buffer-create-internal): Update header text.
4342
afc6df87
EZ
43432012-04-25 Eli Zaretskii <eliz@gnu.org>
4344
4345 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4346 settings on 'system-type', not on 'window-system'. On MS-Windows,
4347 set interactive-mode on in GDB.
4348
dfbd787f
SM
43492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4352 (ruby-syntax-propertize-regexp): Remove.
4353 (ruby-syntax-propertize-function): Split regexp into chunks.
4354 Match following code directly.
4355
85222d44
DG
43562012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4357
51a8ea2a
DG
4358 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4359 (ruby-syntax-propertize-regexp): New function.
4360 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4361 by a special keyword.
4362
85222d44
DG
4363 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4364 (ruby-syntax-general-delimiters-goto-beg)
4365 (ruby-syntax-propertize-general-delimiters): New functions.
4366 (ruby-syntax-propertize-function): Use them to handle GDL.
4367 (ruby-font-lock-keywords): Move old handling of GDL...
4368 (ruby-font-lock-syntactic-keywords): .. to here.
4369 (ruby-calculate-indent): Adjust indentation for GDL.
4370
b613912b
MA
43712012-04-24 Michael Albinus <michael.albinus@gmx.de>
4372
b5380639
MA
4373 * notifications.el (top): Remove unneeded declarations.
4374 (notifications-specification-version): Change to "1.2".
e43042fe 4375 (notifications-interface, notifications-notify-method)
b613912b
MA
4376 (notifications-close-notification-method): Fix docstring.
4377 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4378 (notifications-notify): Add :action-items, :resident and
4379 :transient hints. Change "image_data" to "image-data" and
4380 "image_path" to "image-path".
b613912b
MA
4381 (notifications-get-capabilities): New defun.
4382
257440aa
LL
43832012-04-24 Leo Liu <sdl.web@gmail.com>
4384
4385 * progmodes/python.el: Move hideshow setup to the end.
4386
b1bac16e
MR
43872012-04-24 Martin Rudalics <rudalics@gmx.at>
4388
4389 * window.el (handle-select-window): Clear echo area since this is
4390 no more done by read_char (Bug#11304).
4391
d81bd059
SM
43922012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4395 and `/ M' to filter-derived-mode.
4396 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4397 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4398 (ibuffer-mark-by-mode): Use default rather than initial-input.
4399 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4400
c4cf6d91
IA
44012012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4402
4403 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4404 (ibuffer-filter-by-derived-mode): New filter.
4405 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4406
7511ded8
CY
44072012-04-23 Andreas Politz <politza@fh-trier.de>
4408
4409 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4410
775c916b
CY
44112012-04-23 Chong Yidong <cyd@gnu.org>
4412
4413 * cus-edit.el (customize-apropos, customize-apropos-options):
4414 Disable matching of non-option variables (Bug#11176).
4415 (customize-option, customize-option-other-window)
4416 (customize-changed-options): Doc fix.
4417 (customize-apropos-options, customize-apropos-faces)
4418 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4419
4420 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4421 Fix word list splitting (Bug#11132).
46c71e23
CY
4422 (apropos-symbol, apropos-keybinding, apropos-label)
4423 (apropos-property, apropos-function-button)
4424 (apropos-variable-button, apropos-misc-button): New faces.
4425 (apropos-symbol-face, apropos-keybinding-face)
4426 (apropos-label-face, apropos-property-face, apropos-match-face):
4427 Variables removed (Bug#8396).
4428 (apropos-library-button, apropos-format-plist, apropos-print)
4429 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4430
2df41f9c
MA
44312012-04-23 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * net/xesam.el (xesam-mode-map): Use let-bound map in
4434 initialization. (Bug#11292)
4435
da00640a
AM
44362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4437
4438 Preserve ispell session localwords when switching back to
4439 original buffer.
4440
090bd7cb
JB
4441 * textmodes/ispell.el (ispell-buffer-session-localwords):
4442 New buffer-local variable to hold buffer session localwords.
ed9265fc 4443 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4444 localwords.
4445 (ispell-command-loop, ispell-change-dictionary)
4446 (ispell-buffer-local-words): Preserve session localwords when
4447 needed.
4448
090bd7cb
JB
4449 * textmodes/flyspell.el (flyspell-process-localwords)
4450 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4451
f621ccf5
AM
44522012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4453
090bd7cb
JB
4454 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4455 using obsolete `translation-table-for-input'.
ef24141c
SM
4456 (ispell-word, ispell-process-line, ispell-complete-word):
4457 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4458
c2d1019e
CY
44592012-04-22 Chong Yidong <cyd@gnu.org>
4460
4461 * cus-edit.el (custom-variable-menu)
4462 (custom-variable-reset-saved, custom-face-menu)
4463 (custom-face-reset-saved): If there is no saved value, make the
4464 "reset-saved" operation bring back the default (Bug#9509).
4465 (custom-face-state): Properly detect themed faces.
4466
eeddc531
CY
4467 * faces.el (face-spec-set): Stop supporting deprecated form of
4468 third arg.
4469
dcbf5805
MA
44702012-04-22 Michael Albinus <michael.albinus@gmx.de>
4471
4472 Move functions from C to Lisp. Make non-blocking method calls
4473 the default. Implement further D-Bus standard interfaces.
4474
ef24141c
SM
4475 * net/dbus.el (dbus-message-internal): Declare function.
4476 Remove unneeded function declarations.
dcbf5805
MA
4477 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4478 (dbus-message-type-method-return, dbus-message-type-error)
4479 (dbus-message-type-signal): Declare variables. Remove local
4480 definitions.
4481 (dbus-interface-dbus, dbus-interface-peer)
4482 (dbus-interface-introspectable, dbus-interface-properties)
4483 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4484 Adapt docstring.
4485 (dbus-interface-objectmanager): New defconst.
4486 (dbus-call-method, dbus-call-method-asynchronously)
4487 (dbus-send-signal, dbus-method-return-internal)
4488 (dbus-method-error-internal, dbus-register-service)
4489 (dbus-register-signal, dbus-register-method): New defuns, moved
4490 from dbusbind.c
4491 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4492 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4493 New defuns.
dcbf5805
MA
4494 (dbus-call-method-non-blocking): Make it an obsolete function.
4495 (dbus-unregister-object, dbus-unregister-service)
4496 (dbus-handle-event, dbus-register-property)
4497 (dbus-property-handler): Obey the new structure of
4498 `bus-registered-objects'.
4499 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4500 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4501 Use `dbus-call-method'.
4502
cf20dee0
CY
45032012-04-22 Chong Yidong <cyd@gnu.org>
4504
4505 * cus-edit.el (custom-commands, custom-reset-menu)
4506 (Custom-reset-standard): Tweak labels.
4507 (custom-reset-button-menu): Change default to t.
4508 (custom-buffer-create-internal): For the custom-reset-button-menu
4509 case, put the revert button first.
4510 (custom-group-subtitle): New face.
4511 (custom-group-value-create): Align docstring to a specific column.
4512
4513 * wid-edit.el (widget-documentation-link-add): Don't handle
4514 indentation in this function.
4515 (widget-documentation-string-indent-to): New function.
4516 (widget-documentation-string-value-create): Use it.
4517
4518 * autorevert.el (auto-revert):
4519 * epg-config.el (epg):
4520 * ibuffer.el (ibuffer):
4521 * mpc.el (mpc):
4522 * ses.el (ses):
4523 * eshell/eshell.el (eshell):
4524 * net/ange-ftp.el (ange-ftp):
4525 * progmodes/ebnf2ps.el (postscript):
4526 * progmodes/flymake.el (flymake):
4527 * progmodes/prolog.el (prolog):
4528 * progmodes/verilog-mode.el (verilog-mode):
4529 * progmodes/which-func.el (which-func):
4530 * term/xterm.el (xterm):
4531 * textmodes/picture.el (picture):
4532 * textmodes/tildify.el (tildify):
4533 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4534 customization buffers.
4535
583e23bd
AM
45362012-04-22 Alan Mackenzie <acm@muc.de>
4537
4538 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4539 Adding a ) can hide the resulting (..) from searches. Fix it.
4540 Bound the backward search to the position of the existing (.
4541
7dd51bf1
JB
45422012-04-21 Juanma Barranquero <lekktu@gmail.com>
4543
4544 * progmodes/verilog-mode.el (verilog-mode): Check whether
4545 which-func-modes is t before adding verilog-mode.
4546 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4547
d64a438f
LL
45482012-04-21 Leo Liu <sdl.web@gmail.com>
4549
7dd51bf1 4550 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4551
081e8d65
MV
45522012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4553
4554 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4555 filling of the last column of a table (Bug#5635).
4556 (woman-find-next-control-line): New arg, specifying an additional
4557 regexp component for the control line.
4558 (woman2-roff-buffer): Use it.
4559 (woman-break-table): New function.
4560 (woman2-TS): Use it.
4561
45622012-04-21 Chong Yidong <cyd@gnu.org>
4563
4564 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4565 (woman-horizontal-escapes, woman-negative-vertical-space)
4566 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4567 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4568
ed571ccb
SM
45692012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * minibuffer.el (completion-file-name-table): Complete user names.
4572
39773899
LL
45732012-04-20 Leo Liu <sdl.web@gmail.com>
4574
4575 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4576 and pcase-let*.
4577
de6ff46d
CY
45782012-04-20 Chong Yidong <cyd@gnu.org>
4579
4580 * server.el (server-execute): Respect initial-buffer-choice if it
4581 is a string and there are no files to open (Bug#2825).
4582 (server-create-window-system-frame, server-create-tty-frame):
4583 Don't switch buffers here.
2d0e8e61
CY
4584 (server-process-filter): Only try to open a window system frame if
4585 compiled with graphical support (Bug#8314).
de6ff46d 4586
54071013
DN
45872012-04-20 Dan Nicolaescu <dann@gnu.org>
4588
4589 * battery.el (battery-echo-area-format): Display remaining time
4590 for sysfs backend too (Bug#11269).
4591 (battery-linux-sysfs): Fix conditional for the charge.
4592
f30d612a
CY
45932012-04-20 Chong Yidong <cyd@gnu.org>
4594
c07a4c0b 4595 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4596 (gdb-inferior-io--init-proc): New function.
4597 (gdb-init-1): Use it.
4598 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4599 responsible for allocating a new pty and hooking it to gdb when
4600 the old pty gets an EIO due to process exit.
4601 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4602 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4603 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4604
2116e93c
EZ
46052012-04-20 Eli Zaretskii <eliz@gnu.org>
4606
4607 * window.el (window-min-size, window-sizable, window-min-delta)
4608 (window-max-delta, window--resizable, window-resizable)
4609 (window-total-size, window-full-height-p, window-full-width-p)
4610 (window-in-direction, window--resize-mini-window, window-resize)
4611 (window--resize-child-windows-normal)
4612 (window--resize-child-windows, window--resize-siblings)
4613 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4614 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4615
c07a4c0b 46162012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4617
ef24141c
SM
4618 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4619 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4620 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4621 pty process (Bug#11273).
4622 (gdb-update): New arg to suppress talking to the gdb process.
4623 (gdb-done-or-error): Use it.
4624 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4625 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4626 sentinel not being called.
4627
4628 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4629
d02766ab
CY
4630 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4631
c07a4c0b 46322012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4633
4634 * net/network-stream.el (open-network-stream): Doc fix.
4635
c07a4c0b 46362012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4637
4638 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4639
c07a4c0b 46402012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4641
4642 Ensure searching for keywords is case sensitive.
4643
4644 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4645 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4646 (c-defun-name, c-mark-function, c-cpp-define-name)
4647 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4648 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4649
ef24141c
SM
4650 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4651 Bind case-fold-search to nil.
f0f6bc35 4652
c07a4c0b 46532012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4654
4655 * mail/sendmail.el (mail-bury): Call return action with the right
4656 Rmail buffer (Bug#11242).
4657
9a864fa2
CY
4658 * server.el (server-process-filter): Handle corner case where both
4659 tty and nowait options are present (Bug#11102).
4660
539aa513
EZ
46612012-04-20 Eli Zaretskii <eliz@gnu.org>
4662
4663 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4664 (top level): Put into the executable the ident-style '$Id:' tag on
4665 windows-nt as well.
539aa513 4666
cfc7d5da
SM
46672012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * electric.el (electric-indent-post-self-insert-function): Check that
4670 electric-indent-mode is enabled in current buffer.
4671
5b01685c
JB
46722012-04-19 Juanma Barranquero <lekktu@gmail.com>
4673
4674 * imenu.el (imenu-progress-message): Restore; it is "used" in
4675 erc/erc-imenu.el and net/snmp-mode.el.
4676
4d6769e1
JB
46772012-04-19 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4680 (mouse-avoidance-nudge-mouse): Remove unused binding.
4681
4682 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4683
4684 * descr-text.el (describe-char):
4685 * progmodes/python.el (python-describe-symbol):
4686 Don't call `toggle-read-only', set `buffer-read-only'.
4687
4688 * imenu.el (imenu-default-goto-function): Mark unused args.
4689 (imenu-progress-message): Remove obsolete macro; all callers changed.
4690
4691 * subr.el (keymap-canonicalize): Remove unused binding.
4692 (read-passwd): Mark unused arg.
4693
4694 * tutorial.el (tutorial--display-changes): Remove unused binding.
4695 (tutorial--save-tutorial-to): Remove unused variable.
4696
4697 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4698 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4699 (package-generate-autoloads, package-menu--generate)
4700 (package-menu--find-upgrades): Remove unused bindings.
4701
4702 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4703 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4704 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4705 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4706 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4707 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4708 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4709 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4710 (cua-delete-char-rectangle): Mark unused args.
4711 (cua-align-rectangle): Remove unused binding.
4712
4713 * mail/rmail.el (compilation--message->loc)
4714 (epa--find-coding-system-for-mime-charset): Declare.
4715
4716 * net/dbus.el (dbus-register-service): Declare.
4717 (dbus-name-owner-changed-handler): Remove unused binding.
4718
4719 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4720 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4721 (nxml-scan-backward-within): Mark unused arg.
4722 (nxml-dynamic-markup-word): Remove unused binding.
4723
4724 * mouse.el (mouse-menu-major-mode-map):
4725 * emacs-lisp/authors.el (authors-scan-change-log)
4726 (authors-add-to-author-list):
4727 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4728 * emacs-lisp/smie.el (smie-auto-fill):
4729 * mail/sendmail.el (mail-bury):
4730 * mail/unrmail.el (unrmail):
4731 * net/tls.el (open-tls-stream):
4732 * textmodes/picture.el (picture-mouse-set-point):
4733 Remove unused bindings.
4734
8c8fc5df
MA
47352012-04-19 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-action-password): Let-bind
4738 `enable-recursive-minibuffers' to t.
4739
a77b0ac9
SS
47402012-04-18 Sam Steingold <sds@gnu.org>
4741
4742 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4743 instead of 'string to accommodate values like [f11].
4744 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4745 * progmodes/gdb-mi.el: Likewise.
4746
12a106a9
LL
47472012-04-18 Leo Liu <sdl.web@gmail.com>
4748
4749 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4750 current buffer.
4751 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4752 LOCAL is nil.
4753
bc6494ef
CY
47542012-04-18 Chong Yidong <cyd@gnu.org>
4755
4756 * simple.el (line-move): Use forward-line if in batch mode
4757 (Bug#11053).
4758
c09c46b2
CS
47592012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4760
4761 * files.el (after-find-file): Do not try to add a final newline if
4762 the buffer is read-only (Bug#11156).
4763
5f6530ea
RS
47642012-04-17 Richard Stallman <rms@gnu.org>
4765
4766 * mail/rmail.el (rmail-start-mail):
4767 Pass (rmail-mail-return...) for the return-action.
4768 Pass (rmail-yank-current-message...) for the yank-action.
4769 (rmail-yank-current-message): New function.
4770 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4771 (rmail-reply): Likewise.
4772 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4773
4774 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4775 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4776 buffer, not newbuf.
4777
197b6f3c
JB
47782012-04-17 Juanma Barranquero <lekktu@gmail.com>
4779
4780 * server.el (server-ensure-safe-dir): Simplify.
4781
2311d8e5 47822012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4783
2311d8e5
GM
4784 * emacs-lisp/smie.el: Provide smarter auto-filling.
4785 (smie-auto-fill): New function.
4786 (smie-setup): Use it.
98fb480e 4787
2311d8e5
GM
4788 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4789
47902012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4791
4792 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4793 (comment-indent): Use it.
4794
2311d8e5 47952012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4796
4797 * ses.el: The overall change is to add cell renaming, that is
4798 setting fancy names for cell symbols other than name matching
4799 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4800 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4801 (ses-create-cell-variable): New defun.
2311d8e5 4802 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4803 (ses-relocate-formula): Relocate formulas only for cells the
4804 symbols of which are not renamed, i.e. symbols whose names do not
4805 match regexp "\\`[A-Z]+[0-9]+\\'".
4806 (ses-relocate-all): Relocate values only for cells the symbols of
4807 which are not renamed.
4808 (ses-load): Create cells variables as the (ses-cell ...) are read,
4809 in order to check row col consistency with cell symbol name only
4810 for cells that are not renamed.
4811 (ses-replace-name-in-formula): New defun.
4812 (ses-rename-cell): New defun.
4bdf2ad2 4813
fc72b15c
PO
48142012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4815
4816 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4817 New option (bug#11118).
4818 (perl-calculate-indent): Respect it.
4819
12e10e61
GM
48202012-04-17 Glenn Morris <rgm@gnu.org>
4821
4822 * dired-aux.el (dired-mark-read-string): Doc fix.
4823
30009afd
DA
48242012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4825
4826 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4827 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4828
41f03f4d
GM
48292012-04-17 Glenn Morris <rgm@gnu.org>
4830
4831 * mouse.el (mouse-drag-track):
4832 * speedbar.el (speedbar-frame-mode):
4833 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4834
f45f90f3
LL
48352012-04-16 Leo Liu <sdl.web@gmail.com>
4836
4837 * progmodes/python.el: Trivial cleanup.
4838
94ee8db5
GM
48392012-04-16 Glenn Morris <rgm@gnu.org>
4840
121b8917
GM
4841 * vc/vc.el (vc-string-prefix-p):
4842 * vc/pcvs-util.el (cvs-string-prefix-p):
4843 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4844 * mpc.el (mpc-string-prefix-p):
4845 Make all of these into obsolete aliases for string-prefix-p.
4846 Update callers.
4847 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4848
1197ecfa
GM
4849 * textmodes/two-column.el: Move custom options to the start.
4850 (frame-width): Remove compat definition.
4851 (2C-associate-buffer, 2C-dissociate):
4852 Use with-current-buffer rather than save-excursion.
4853 (2C-dissociate): Force a mode-line update.
4854 (2C-autoscroll): Use ignore-errors.
4855
099e7202
GM
4856 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4857 Autoload trivia.
4858
bf350d6a
GM
4859 * emacs-lisp/cl-extra.el (*random-state*):
4860 Remove unnecessary declaration.
4861
0e829eab
GM
4862 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4863
e3ad7552
GM
4864 * play/cookie1.el (cookie-snarf):
4865 Give an explicit error if input file cannot be read.
4866
68892d27
GM
4867 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4868
20f0c46d
GM
4869 * progmodes/perl-mode.el (c-macro-expand):
4870 Remove unnecessary autoload (it is in loaddefs.el).
4871
5a0978ce
GM
4872 * textmodes/picture.el (picture-desired-column)
4873 (picture-update-desired-column): Convert comments to doc-strings.
4874 (picture-substitute): Remove function.
4875 (picture-mode-map): Initialize in the defvar.
4876
6b955486
GM
4877 * woman.el: Remove eval-after-load for tar-mode.
4878 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4879 (woman-tar-extract-file): Autoload it.
4880
94ee8db5
GM
4881 * frame.el (automatic-hscrolling): Make this alias obsolete.
4882
177eca34
AM
48832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4884
090bd7cb 4885 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4886 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4887 (ispell-dictionary-base-alist): Revert to original XEmacs
4888 friendly version for default. [:alpha:] will be added in
090bd7cb 4889 `ispell-set-spellchecker-params' if needed.
177eca34 4890
c505aaeb
CY
48912012-04-16 Chong Yidong <cyd@gnu.org>
4892
b19dd9d1 4893 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4894 (imagemagick-register-types): Use it.
4895 (imagemagick-types-inhibit): Add :set function. Allow new value
4896 of t to inhibit all types.
4897
4898 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4899 so we can preload it.
4900
4901 * loadup.el (fboundp): Preload regexp-opt, needed by
4902 imagemagick-register-types.
4903
60efac0f
CY
49042012-04-15 Chong Yidong <cyd@gnu.org>
4905
4906 * frame.el (scrolling): Remove nearly unused customization group.
4907
4908 * scroll-all.el (scroll-all-mode): Move to windows group.
4909
5dd1713e
CY
49102012-04-15 Chong Yidong <cyd@gnu.org>
4911
4912 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4913
e6fd457e
CY
49142012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4917 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4918
e153c136
GM
49192012-04-15 Glenn Morris <rgm@gnu.org>
4920
4921 * simple.el (process-file-side-effects): Doc fix.
4922
e6fd457e 49232012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4924
4925 * international/mule-cmds.el (set-language-environment): Doc fix.
4926
3603c3b1
JB
49272012-04-14 Juanma Barranquero <lekktu@gmail.com>
4928
4929 * server.el (server-auth-key, server-generate-key): Doc fixes.
4930 (server-get-auth-key): Doc fix. Use `string-match-p'.
4931 (server-start): Reflow docstring.
4932
e6de100c
LI
49332012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4934
4935 * server.el (server-generate-key): `called-interactively-p'
4936 requires a parameter.
4937
29734c21
MN
49382012-04-14 Michal Nazarewicz <mina86@mina86.com>
4939
4940 * server.el (server-auth-key): New variable.
75f1671a 4941 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4942 (server-start): Use the new variable and functions to allow
4943 setting a permanent server key (bug#9423).
4944
d65c9521
LL
49452012-04-14 Leo Liu <sdl.web@gmail.com>
4946
4947 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4948
5ae255c7
PE
49492012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4950
4951 Spelling fixes.
4952 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4953 Emacs uses American spelling.
4954
d5e6342e
JB
49552012-04-14 Juanma Barranquero <lekktu@gmail.com>
4956
4957 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4958 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4959 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4960 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4961
ab036cd7
SM
49622012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * progmodes/which-func.el (which-func-modes): Change default.
4965
35dc09a1 49662012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4967
4968 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4969 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4970
35dc09a1 49712012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4972
4973 * custom.el (custom-theme-set-variables): Doc fix.
4974
35dc09a1 49752012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4976
4977 * international/mule.el (set-auto-coding-for-load): Doc fix.
4978
35dc09a1 49792012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4980
35dc09a1
GM
4981 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4982 imenu work again for Objective C Mode. Correct the *-index values,
4983 these having been disturbed by a previous change in 2011-08.
57f845ee 4984
0de3da9f
AM
4985 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4986 Correct two search limits.
4987
35dc09a1 49882012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4989
4990 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4991
35dc09a1 49922012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4993
4994 * international/characters.el: Fix sorting.
4995
35dc09a1 49962012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4997
4998 * international/characters.el: Add more missing Latin case pairs.
4999
35dc09a1 50002012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5001
5002 * files.el (dir-locals-set-class-variables): Doc fix.
5003
35dc09a1 50042012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5005
3f1b5bf8
EZ
5006 * international/characters.el: Add set-case-syntax-pair call for
5007 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5008 counterpart. (Bug#11209)
5009
9f847f41
EZ
5010 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5011
35dc09a1 50122012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5013
5014 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5015
35dc09a1 50162012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5017
35dc09a1
GM
5018 * textmodes/ispell.el (ispell-dictionary-base-alist):
5019 Add data for Hebrew.
e2627d21 5020
35dc09a1 50212012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5022
35dc09a1
GM
5023 * net/rcirc.el (rcirc-cmd-quit):
5024 Revert 2012-03-18 change (Bug#11192).
5c14e333 5025
35dc09a1 50262012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5027
5028 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5029
35dc09a1 50302012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5031
4517fe3a
SM
5032 * minibuffer.el (completion-in-region-mode-map):
5033 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5034
b472a594
VD
50352012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5036
5037 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5038
09b95ce3
MY
50392012-04-13 Masatake YAMATO <yamato@redhat.com>
5040
5041 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5042 to allow `C-M-f' and `C-M-b' to move to the nearest path
5043 separator (bug#9511).
5044
4b63a9ca
LI
50452012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5046
5047 * avoid.el: Require cl when compiling. And also move the
5048 `provide' to the end.
5049
7b55b8bf
TV
50502012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5051
5052 * avoid.el (mouse-avoidance-banish-position): New variable.
5053 (mouse-avoidance-banish-destination): Use it (bug#10165).
5054
adedaa1f
LL
50552012-04-13 Leo Liu <sdl.web@gmail.com>
5056
5057 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5058
70e74021
KB
50592012-04-13 Ken Brown <kbrown@cornell.edu>
5060
5061 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5062 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5063 (browse-url-filename-alist): For the same reason, don't modify
5064 file:// URLs on Cygwin.
5065
e75e89ba
SM
50662012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5069 the region on shift if the binding is already shifted (bug#11221).
5070
82f289a4
GM
50712012-04-12 Glenn Morris <rgm@gnu.org>
5072
5073 * mail/mailpost.el: Move to obsolete/.
5074
d333dc4c
DA
50752012-04-12 Drew Adams <drew.adams@oracle.com>
5076
5077 * imenu.el (imenu--generic-function): Ignore invisible definitions
5078 (bug#10123).
5079
0d15b5ba
VD
50802012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5081
5082 * hexl.el (hexl-bits): New variable.
5083 (hexl-options): Mention the variable in the doc string.
75f1671a 5084 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5085 (hexl-mode): Mention the new variable.
75f1671a
JB
5086 (hexl-mode, hexl-current-address, hexl-current-address):
5087 Use the displen.
0d15b5ba
VD
5088 (hexl-ascii-start-column): New function.
5089 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5090 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5091
64a440db
AM
50922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5093
5094 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5095 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5096 the encoding, as expected by hunspell.
5097
6decb6c2
SM
50982012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * battery.el (battery--linux-sysfs-regexp): New const.
5101 (battery-status-function): Use it. Remove yeeloong special case.
5102 (battery-yeeloong-sysfs): Remove.
5103 (battery-echo-area-format): Remove yeeloong special case.
5104
088be6fb
SM
51052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5106
6622e416
SM
5107 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5108 Reported by Noah Friedman.
5109
088be6fb
SM
5110 * subr.el (read-passwd): Use read-string.
5111
b49f886e
LMI
51122012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5113
5114 * vcursor.el (vcursor-move): Increase the priority of the overlay
5115 (bug#9663).
5116
a63067fc
DD
51172012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5118
5119 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5120 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5121
ac3cf14a
WS
51222012-04-11 William Stevenson <yhvh2000@gmail.com>
5123
5124 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5125 define-minor-mode (bug#10760).
5126
c4fc691b 51272012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5128
4d6769e1 5129 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5130 that directories matching `grep-find-ignored-files' won't be
5131 pruned (bug#10351).
5132
af23e2e5
CY
51332012-04-11 Chong Yidong <cyd@gnu.org>
5134
5135 * startup.el (command-line): Remove support for long-obsolete
5136 variable font-lock-face-attributes.
5137
ab7ce8c1
GM
51382012-04-11 Glenn Morris <rgm@gnu.org>
5139
5140 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5141
de8c03dc
SM
51422012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * window.el (window--state-get-1): Obey window-point-insertion-type.
5145
050cc68b
LB
51462012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5147
5148 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5149 to previous function when point is on the first character of a
75f1671a 5150 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5151
a38c310c
GM
51522012-04-11 Glenn Morris <rgm@gnu.org>
5153
effed0c2
GM
5154 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5155 not just file-errors.
5156
a38c310c
GM
5157 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5158 (vc-bzr-sha1): Use internal sha1.
5159
0221e323
SM
51602012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5163
43956923
SG
51642012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5165
5166 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5167 that start in the middle of the line (bug#10496).
5168
6a8c9eaf
DN
51692012-04-10 Dan Nicolaescu <dann@gnu.org>
5170
5171 * battery.el (battery-linux-proc-acpi): Only one battery is
5172 discharged at a time, but that seems to confuse battery.el when
5173 computing `rate-type' for the battery not being discharged
5174 (bug#10332).
5175
1930bf5d
SM
51762012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5177
2a718f6f
SM
5178 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5179
599430d0
SM
5180 * international/quail.el: Use dolist and simplify.
5181 (quail-define-package, quail-update-keyboard-layout)
5182 (quail-define-rules): Use dolist.
5183 (quail-insert-kbd-layout, quail-get-translation): CSE.
5184
a2754b6c
SM
5185 * tmm.el: Use dolist, remove left over hook.
5186 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5187 Use dolist.
5188 (calendar-load-hook): Don't mess with it.
5189
1930bf5d
SM
5190 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5191 Use derived-mode-p. Run the diff asynchronously.
5192
9f67961c
LMI
51932012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5194
5195 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5196
2a8ce227
JB
51972012-04-10 Juanma Barranquero <lekktu@gmail.com>
5198
5199 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5200 (list-dynamic-libraries--loaded): New function.
5201 (list-dynamic-libraries--refresh): Use it.
5202
8f33b5f8
NW
52032012-04-10 Nathan Weizenbaum <nweiz@google.com>
5204
1930bf5d
SM
5205 * progmodes/python.el (python-fill-paragraph):
5206 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5207 disabled (bug#7018).
5208
b12f0439
L
52092012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5210
1930bf5d 5211 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5212 DOS/MS Windows for the Baltic languages. There are still plenty
5213 of texts written in this encoding/codepage (bug#6519).
b12f0439 5214
57c3bd01
GM
52152012-04-10 Glenn Morris <rgm@gnu.org>
5216
5217 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5218 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5219
6c3eab30
FA
52202012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5221
1930bf5d 5222 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5223 next-line "n" and previous-line "p" in order to make recentf more
5224 consistent with ibuffer, dired or org-mode (bug#9387).
5225
24d78a88
LMI
52262012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5227
bc72b5d9
LMI
5228 * image.el (put-image): Return the overlay created instead of the
5229 optional input string (bug#7834). Note that this may break code
5230 that is (for some reason or other) depending on `put-image'
5231 returning the string.
5232
bd2dba5a
LMI
5233 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5234
74beb59f
LMI
5235 * simple.el (zap-to-char): Allow zapping using input methods
5236 (bug#1580).
5237
24d78a88
LMI
5238 * textmodes/fill.el (fill-region): Leave point and mark where they
5239 were before filling (bug#5399).
5240
263f20cd
GM
52412012-04-09 Glenn Morris <rgm@gnu.org>
5242
5243 * version.el (emacs-bzr-get-version):
5244 Handle lightweight checkouts of local branches.
5245
58d1f797
AS
52462012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5247
263f20cd 5248 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5249
b4d3bc10
CY
52502012-04-09 Chong Yidong <cyd@gnu.org>
5251
5252 * custom.el (custom-variable-p): Return nil for non-symbol
5253 arguments instead of signaling an error.
5254 (user-variable-p): Obsolete alias for custom-variable-p.
5255
5256 * apropos.el (apropos-variable):
5257 * files-x.el (read-file-local-variable):
5258 * simple.el (set-variable):
5259 * woman.el (woman-mini-help):
5260 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5261
fd06db5d
GM
52622012-04-09 Glenn Morris <rgm@gnu.org>
5263
e5fcdb5e
GM
5264 * startup.el (normal-top-level): Don't look for leim-list.el
5265 in places where it will not be found. (Bug#910)
5266
fd06db5d
GM
5267 * international/mule-cmds.el (set-default-coding-systems):
5268 * files.el (normal-mode):
5269 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5270 This function was removed with ucs-tables.el in 2008.
5271
b39bb7e1
EZ
52722012-04-08 Eli Zaretskii <eliz@gnu.org>
5273
5274 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5275 ispell-encoding8-command to "-i", without a trailing space.
5276 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5277 separate command-line arguments, to specify the encoding, since
5278 that's how hunspell expects it.
5279
5c5b8e23
GM
52802012-04-08 Glenn Morris <rgm@gnu.org>
5281
5282 * loadup.el: Load bindings before cus-start.
5283 This reduces somewhat the number of "rogue" settings in emacs -Q.
5284
a1ed8b05
GM
52852012-04-07 Glenn Morris <rgm@gnu.org>
5286
5287 * version.el (emacs-bzr-get-version): New function.
dfae128a 5288 (emacs-bzr-version): New variable.
a1ed8b05
GM
5289 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5290 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5291
b142f158
EZ
52922012-04-07 Eli Zaretskii <eliz@gnu.org>
5293
dfae128a
GM
5294 * international/uni-bidi.el, international/uni-category.el:
5295 * international/uni-combining.el, international/uni-decimal.el:
5296 * international/uni-decomposition.el, international/uni-digit.el:
5297 * international/uni-lowercase.el, international/uni-mirrored.el:
5298 * international/uni-name.el, international/uni-numeric.el:
5299 * international/uni-titlecase.el, international/uni-uppercase.el:
5300 Update for Unicode 6.1.
b142f158 5301
9078ead6
EZ
53022012-04-07 Eli Zaretskii <eliz@gnu.org>
5303
5304 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5305
f23d2c7d
LMI
53062012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5307
5308 * window.el (shrink-window): Mention the `window-min-height'
5309 variable in the doc string.
5310
0a0a3573
BG
53112012-04-05 Bastien Guerry <bzg@altern.org>
5312
5313 * color.el (color-lighten-name): Fix typo.
5314
e5248ac9
SM
53152012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * server.el (server--on-display-p): New function.
5318 (server--on-display-p): Use it.
5319
b4243e22
GV
53202012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5321
5322 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5323 (bug#11145).
5324
305d9f44
SM
53252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * comint.el (comint--common-quoted-suffix): Check string boundary
5328 before comparing (bug#11158).
5329 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5330
3d439cd1
CY
53312012-04-04 Chong Yidong <cyd@gnu.org>
5332
321cc491
CY
5333 * minibuffer.el (completion-extra-properties): Doc fix.
5334
3d439cd1
CY
5335 * subr.el (delayed-warnings-hook): Doc fix.
5336
2d562c0f
DU
53372012-04-04 Daiki Ueno <ueno@unixuser.org>
5338
5339 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5340 selection (Bug#11159).
5341 (epa-insert-keys): Inform that the default public key will be
5342 exported if no key is selected.
5343
4443f204
RS
53442012-04-04 Richard Stallman <rms@gnu.org>
5345
5346 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5347
529c06b6
CY
53482012-04-03 Chong Yidong <cyd@gnu.org>
5349
5350 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5351 mail-insert-file, not its obsolete alias mail-attach-file.
5352
66b907dc
MA
53532012-04-03 Michael Albinus <michael.albinus@gmx.de>
5354
5355 * notifications.el (notifications-notify): Fix docstring.
5356
c0ea195d
GM
53572012-04-02 Glenn Morris <rgm@gnu.org>
5358
5359 * emacs-lisp/authors.el (authors-aliases): Another addition.
5360
5ca64e00
MA
53612012-04-02 Michael Albinus <michael.albinus@gmx.de>
5362
5363 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5364 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5365 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5366
42ee526b
CY
53672012-04-01 Chong Yidong <cyd@gnu.org>
5368
5369 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5370 Handle root directory properly.
5371 (copy-directory): Caller changed.
5372
5373 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5374 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5375
0b021094
GM
53762012-03-31 Glenn Morris <rgm@gnu.org>
5377
40f86458
GM
5378 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5379
7019c177
GM
5380 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5381
a1daddd6
GM
5382 * calendar/calendar.el (calendar-window-list)
5383 (calendar-hide-window): Restore. (Bug#11140)
5384 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5385
0b021094
GM
5386 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5387
40311efc
TV
53882012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5389
5390 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5391 Check if file is a symlink (Bug#10489).
5392
5393 * files.el (copy-directory): Likewise.
5394
5319014e
CY
53952012-03-30 Chong Yidong <cyd@gnu.org>
5396
5397 * image.el (imagemagick-types-inhibit)
5398 (imagemagick-register-types): Doc fix.
5399
935d1290
AM
54002012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5401
090bd7cb 5402 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5403 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5404 and treats ~word as ordinary words in pipe mode.
935d1290 5405
61c6e8fd
GM
54062012-03-30 Glenn Morris <rgm@gnu.org>
5407
5408 * tutorial.el (help-with-tutorial): Ensure local variables don't
5409 happen to make the buffer read-only. (Bug#11127)
5410
81fdff00
SM
54112012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5414 (perl-calculate-indent): Return `noindent' in strings.
5415
6e7a6ec0
SS
54162012-03-28 Sam Steingold <sds@gnu.org>
5417
5418 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5419 instead of the broken adhockery which does not prevent calendar
5420 buffers from being displayed at random after exit.
5421 (calendar-window-list, calendar-hide-window): Remove the broken
5422 adhockery.
5423
fee88ca0
GM
54242012-03-28 Glenn Morris <rgm@gnu.org>
5425
5426 * replace.el (query-replace-map): Doc fix.
5427
38de3354
AS
54282012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5429
5430 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5431 contents. (Bug#11109)
5432
b973155e
SM
54332012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5436 (bug#11077).
5437 (avl-tree--check, avl-tree--check-node): New funs.
5438
dcb6e7b3
MR
54392012-03-27 Martin Rudalics <rudalics@gmx.at>
5440
5441 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5442 (switch-to-prev-buffer, switch-to-next-buffer):
5443 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5444 showing a buffer already is done on the same frame.
5445
b4fa35fa
GM
54462012-03-27 Glenn Morris <rgm@gnu.org>
5447
5448 * startup.el (mail-host-address): Doc fix.
5449
f9210e18
SM
54502012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5453 than 197 variables.
5454
c0bf7753
AF
54552012-03-26 Ami Fischman <ami@fischman.org>
5456
5457 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5458
33da7b16
GM
54592012-03-26 Glenn Morris <rgm@gnu.org>
5460
02243d9d
GM
5461 * files.el (save-buffers-kill-emacs): Doc fix.
5462
33da7b16
GM
5463 * startup.el (normal-top-level, command-line, command-line-1):
5464 Give them doc strings.
5465
e5a69fd0
EZ
54662012-03-25 Eli Zaretskii <eliz@gnu.org>
5467
5468 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5469 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5470
9a69676a
CY
54712012-03-25 Chong Yidong <cyd@gnu.org>
5472
4125cb8b
CY
5473 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5474 theme if it was previously enabled before (Bug#11031).
5475
dd470960
CY
5476 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5477 spec with custom-face-get-current-spec if its :shown-value is not
5478 determined yet (Bug#9337).
4125cb8b 5479 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5480
9a69676a
CY
5481 * button.el (button-at): Minor addition to docstring.
5482
6e7e90fa
SL
54832012-03-24 Simon Leinen <simon.leinen@gmail.com>
5484
5485 * vc/vc.el (vc-merge): Fix a prompt.
5486
f06e2758
CY
54872012-03-24 Chong Yidong <cyd@gnu.org>
5488
5489 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5490 point (Bug#9623).
5491
6e7e90fa
SL
5492 * button.el (button-at): Minor addition to docstring.
5493
b9d0879b
SM
54942012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * newcomment.el (comment-choose-indent): No space after BOL.
5497
e71cebb3
SS
54982012-03-22 Sam Steingold <sds@gnu.org>
5499
5500 * window.el (switch-to-prev-buffer): Revert last patch because the
5501 bug turned out to be an advertised feature (Elisp manual 28.14).
5502
335aff35
GM
55032012-03-22 Glenn Morris <rgm@gnu.org>
5504
5505 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5506 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5507
c676576a
LMI
55082012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5509
5510 * net/network-stream.el (network-stream-open-starttls): Make error
5511 message under Windows be less misleading.
5512
126f3d39
LW
55132012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5514
5515 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5516 understands (bug#9942).
5517
64fee311
CY
55182012-03-22 Chong Yidong <cyd@gnu.org>
5519
5520 * simple.el (end-of-visible-line): Handle return value of
5521 next-single-property-change properly (Bug#9371).
5522
a640d29a
KH
55232012-03-22 Kenichi Handa <handa@m17n.org>
5524
5525 * international/quail.el (quail-insert-kbd-layout): Fix previous
5526 change. To avoid unwanted bidi reordering, use
5527 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5528
39675016
DG
55292012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5532 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5533 (ruby-beginning-of-indent): Be more careful with the difference
5534 between word-boundary and symbol boundary.
5535 (ruby-mode-syntax-table): Make : a symbol constituent.
5536
0a6934fc 55372012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5538
3d008e4f
SM
5539 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5540
0a6934fc
SM
55412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5542
af67c9d7
SM
5543 * progmodes/etags.el (tags-completion-at-point-function):
5544 Improve last fix.
5545
1acad97c
SM
5546 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5547
e298b5da
SS
55482012-03-21 Sam Steingold <sds@gnu.org>
5549
5550 * progmodes/etags.el (tags-completion-at-point-function):
5551 Avoid the error when point is inside the pattern.
5552
91d82a70
JY
55532012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5554
5555 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5556 line (Bug#10855).
5557
69188b79
CY
55582012-03-21 Drew Adams <drew.adams@oracle.com>
5559
5560 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5561
99fc91fe
AK
55622012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5563
5564 * ido.el (ido-set-current-directory, ido-read-internal)
5565 (ido-choose-completion-string, ido-completion-help): Handle nil
5566 value of ido-completion-buffer (Bug#11008).
5567
087bbb4c
SS
55682012-03-21 Sam Steingold <sds@gnu.org>
5569
5570 * window.el (switch-to-prev-buffer): Do not switch to a visible
5571 window previous buffer, just like with the frame previous buffers.
5572
fb5b8aca
CY
55732012-03-21 Chong Yidong <cyd@gnu.org>
5574
5575 * faces.el (make-face, make-empty-face, copy-face):
5576 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5577 Doc fixes.
5578
dc9924b8
SM
55792012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5582 (widget-complete): Remove broken use of it.
5583
f0bcceb9
CY
55842012-03-20 Chong Yidong <cyd@gnu.org>
5585
dc9924b8
SM
5586 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5587 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5588 characters.
5589
ee52ebf3
TH
55902012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5591
5592 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5593 to draw rectangles, not squares. (Regression introduced by revno
5594 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5595
4c5779ab
CY
55962012-03-18 Chong Yidong <cyd@gnu.org>
5597
5598 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5599 it is not yet defined (for temacs).
5600
15360934
LL
56012012-03-18 Leo Liu <sdl.web@gmail.com>
5602
dc9924b8 5603 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5604
d9a8eb66
EZ
56052012-03-17 Eli Zaretskii <eliz@gnu.org>
5606
5607 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5608 (ispell-choices-win-default-height, ispell-silently-savep)
5609 (ispell-dictionary-alist, ispell-encoding8-command)
5610 (ispell-check-version, ispell-aspell-find-dictionary)
5611 (ispell-valid-dictionary-list, ispell-words-keyword)
5612 (ispell-get-word, ispell-internal-change-dictionary)
5613 (ispell-region, ispell-skip-region-list)
5614 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5615 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5616 (ispell-message-text-end, ispell-message)
5617 (ispell-buffer-local-parsing): Doc fix.
5618
f02ff80d
J
56192012-03-13 Jambunathan K <kjambunathan@gmail.com>
5620
5621 * htmlfontify.el: Add support for code block fontification for ODT
5622 export (Bug #9914).
5623 (hfy-optimisations): Define new option
5624 `body-text-only'
5625 (hfy-fontify-buffer): Honor above setting.
5626 (hfy-begin-span, hfy-end-span): New routines factored out form
5627 `hfy-fontify-buffer'.
5628 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5629 that permit insertion of custom tags.
5630 (hfy-fontify-buffer): Use above handlers.
5631 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5632 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5633 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5634 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5635 bind a special variable `hfy-user-sheet-assoc'.
5636 (htmlfontify-string): New defun.
5637 (hfy-compile-face-map): Make sure that the last char in the
5638 buffer is correctly fontified.
5639 (hfy-face-resolve-face): Whitespace only change.
5640
9ac7a13f
EZ
56412012-03-17 Eli Zaretskii <eliz@gnu.org>
5642
5643 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5644 message more clear.
5645
e2b5bdd7
LL
56462012-03-16 Leo Liu <sdl.web@gmail.com>
5647
5648 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5649
2e492df3
AM
56502012-03-16 Alan Mackenzie <acm@muc.de>
5651
5652 Further optimise the handling of large macros.
5653
5654 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5655 limit to a call of `c-literal-limits'.
5656 (c-determine-+ve-limit): New function.
dc9924b8
SM
5657 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5658 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5659 In CASE 5B, restrict a search limit to 500.
5660 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5661
5662 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5663 Restrict macro bounds to +-500 from after-change's BEG END.
5664
50e94f0c
LL
56652012-03-16 Leo Liu <sdl.web@gmail.com>
5666
5667 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5668
6f09f6ed
AH
56692012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5670
5671 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5672 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5673
c7e73d51
GM
56742012-03-16 Glenn Morris <rgm@gnu.org>
5675
da986230
GM
5676 * view.el (view-buffer, view-buffer-other-window)
5677 (view-buffer-other-frame): Doc fixes re special mode-class.
5678
0835f01e
GM
5679 * subr.el (eval-after-load): If named feature is provided not from
5680 a file, run after-load forms. (Bug#10946)
5681
c7e73d51
GM
5682 * calendar/calendar.el (calendar-insert-at-column):
5683 Handle non-unit-width characters a bit better. (Bug#10978)
5684
3f2eafd1
CY
56852012-03-15 Chong Yidong <cyd@gnu.org>
5686
5687 * emacs-lisp/ring.el (ring-extend): New function.
5688 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5689
5690 * comint.el (comint-read-input-ring)
5691 (comint-add-to-input-history): Grow comint-input-ring lazily.
5692
103af3fe
SM
56932012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5694
663b1677
SM
5695 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5696 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5697
103af3fe
SM
5698 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5699 (imenu-add-to-menubar): Don't add a redundant index.
5700 (imenu-update-menubar): Handle a dynamically composed keymap.
5701
899cb7cb
KY
57022012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5703
5704 * mail/sendmail.el (mail-encode-header):
5705 Bind rfc2047-encode-encoded-words to nil.
5706
3809f91d
GM
57072012-03-13 Glenn Morris <rgm@gnu.org>
5708
5709 * calendar/calendar.el (calendar-string-spread):
5710 Handle non-unit-width characters a bit better. (Bug#10978)
5711
9e345a01
LL
57122012-03-13 Leo Liu <sdl.web@gmail.com>
5713
5714 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5715 directory and file as argument (Bug#10822).
5716
4a07df36
KS
57172012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5718
5719 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5720 For dynamically generated code, follow $PC.
5721 (gdb-disassembly-handler-custom): Handle no function name case.
5722
4aaa9356
TL
57232012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5724
5725 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5726 * emulation/ws-mode.el (ws-query-replace):
5727 * sort.el (sort-regexp-fields):
5728 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5729
225979da
SM
57302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * dabbrev.el: Fix cycle completion order (bug#10963).
5733 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5734 (dabbrev-completion): Don't use an obarray; provide
5735 a cycle-sort-function.
5736
e2f1fdab
LL
57372012-03-12 Leo Liu <sdl.web@gmail.com>
5738
dc9924b8 5739 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5740 (kill-do-not-save-duplicates): Doc fix.
5741
b19490ed
SM
57422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * dabbrev.el: Fix cycle completion (bug#10963).
5745 Use lexical binding and wrap to 80 columns.
5746 (dabbrev-completion): Delay computing the list of completions.
5747
4b05d722
KH
57482012-03-12 Kenichi Handa <handa@m17n.org>
5749
5750 * international/quail.el (quail-insert-kbd-layout): Surround each
5751 row by LRO and PDF instead of inserting many LRMs. Pad the left
5752 and right of each non-spacing marks. Insert invisible space
5753 between lower and upper characters to prevent composition.
5754
dbbc2e69
SM
57552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * minibuffer.el (minibuffer-complete): Don't get confused when the
5758 function is run twice via different commands (bug#10958).
5759 (complete-with-action): Fix docstring.
5760
292112ed
CY
57612012-03-12 Chong Yidong <cyd@gnu.org>
5762
5d1ac394
CY
5763 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5764 (nxml-completion-at-point-function): New function.
5765 (nxml-mode): Use it.
5766 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5767
292112ed
CY
5768 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5769 Load generated autoloads file before byte compiling (Bug#10970).
5770 (package--make-autoloads-and-compile): New helper fun.
5771
4098f8f7
CS
57722012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5773
5774 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5775
8f754691
MA
57762012-03-11 Michael Albinus <michael.albinus@gmx.de>
5777
5778 * autorevert.el (auto-revert-handler): Ensure, that
5779 file-readable-p is applied only for local files or in
5780 auto-revert-tail-mode.
5781
e29ab36b
AS
57822012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5783
dbbc2e69
SM
5784 * server.el (server-eval-at): Handle non-tcp connections.
5785 Decode result string.
ad0bf5b6 5786
e29ab36b
AS
5787 * server.el (server-msg-size): New constant.
5788 (server-reply-print): New function.
5789 (server-eval-and-print): Use it.
5790 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5791 Handle -print-nonl.
5792
de5939ba
CS
57932012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5794
5795 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5796 (Bug#10987).
5797
0c93eabf
CY
57982012-03-11 Chong Yidong <cyd@gnu.org>
5799
397a688f
CY
5800 * simple.el (goto-line): Doc fix (Bug#9938).
5801
2cc775f9
CY
5802 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5803
0c93eabf
CY
5804 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5805 when finished (Bug#10963).
5806
c491fa41
MR
58072012-03-11 Martin Rudalics <rudalics@gmx.at>
5808
5809 * window.el (split-window-below): Fix bug in case where
5810 split-window-keep-point is nil (Bug#10971).
5811
300e8fa5
JL
58122012-03-11 Juri Linkov <juri@jurta.org>
5813
5814 * replace.el (replace-highlight): Set isearch-word to nil
5815 unconditionally. (Bug#10887)
5816
dbf6c5a1
EZ
58172012-03-10 Eli Zaretskii <eliz@gnu.org>
5818
5819 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5820 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5821 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5822 (mairix-widget-create-query): Add usage information about mairix
5823 search forms: negating words, searching for substrings, etc.
5824
b9e501de
JP
58252012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5826
5827 * international/fontset.el (font-encoding-alist): Add an entry for
5828 ksx1001 (Bug#5667).
5829
92795c91
RS
58302012-03-10 Richard Stallman <rms@gnu.org>
5831
1694e6c1
RS
5832 * mail/sendmail.el (mail-encode-header):
5833 Set rfc2047-encode-encoded-words.
5834
607e8555
RS
5835 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5836
de3bc99a
RS
5837 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5838 view buffer means not swapped.
5839 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5840 (rmail-write-region-annotate): Error if real text has disappeared.
5841
92795c91
RS
5842 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5843
699bd04e
CY
58442012-03-10 Chong Yidong <cyd@gnu.org>
5845
5846 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5847 * emulation/cua-base.el (cua--init-keymaps):
5848 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5849
570a1714
MR
58502012-03-10 Martin Rudalics <rudalics@gmx.at>
5851
dbbc2e69
SM
5852 * speedbar.el (speedbar-unhighlight-one-tag-line):
5853 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5854
82dcf4e4
CY
58552012-03-10 Chong Yidong <cyd@gnu.org>
5856
7a2c7ca7
CY
5857 * minibuffer.el (completion-in-region, completion-help-at-point):
5858 Give the completion field overlay a high priority (Bug#6830).
5859
82dcf4e4
CY
5860 * dired.el (dired-goto-file): Recognize absolute file name
5861 listings (Bug#7126).
5862 (dired-goto-file-1): New helper function.
5863 (dired-toggle-read-only): Inhibit warnings.
5864
052e28ac
MA
58652012-03-09 Michael Albinus <michael.albinus@gmx.de>
5866
75f1671a 5867 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5868 there are no properties.
5869
95d5e396
LL
58702012-03-09 Leo Liu <sdl.web@gmail.com>
5871
5872 * savehist.el (savehist-printable): Stricter check for string
5873 value (Bug#10937).
5874
3f018d6d
EZ
58752012-03-09 Eli Zaretskii <eliz@gnu.org>
5876
dbbc2e69
SM
5877 * mail/smtpmail.el (smtpmail-send-it):
5878 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5879 valid mbox format.
5880
f7fd3d79
GM
58812012-03-09 Glenn Morris <rgm@gnu.org>
5882
5883 * files.el (dir-locals-find-file):
5884 Don't check result is regular, readable.
5885 (dir-locals-read-from-file): Demote errors.
5886
6ff6e72f
EZ
58872012-03-08 Eli Zaretskii <eliz@gnu.org>
5888
dbbc2e69
SM
5889 * international/quail.el (quail-insert-kbd-layout):
5890 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5891 layout cell, to prevent their reordering by bidi display engine.
5892 For details, see the discussion in
5893 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5894
9cec7834
AM
58952012-03-08 Alan Mackenzie <acm@muc.de>
5896
5897 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5898 the starting position; make it extend the marked region when
5899 invoked repeatedly - all under appropriate circumstances.
5900 Fixes bugs #5525, #10906.
5901
9a40b8d4
GM
59022012-03-08 Glenn Morris <rgm@gnu.org>
5903
5904 * files.el (locate-dominating-file, dir-locals-find-file):
5905 Undo 2012-03-06 change.
5906
7a08ed35
EZ
59072012-03-07 Eli Zaretskii <eliz@gnu.org>
5908
dbbc2e69
SM
5909 * international/quail.el (quail-help):
5910 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5911 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5912 for the reason.
5913
5aca4f71 59142012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5915
5916 Avoid superfluous registering of signals. (Bug#10807)
5917
5918 * notifications.el (notifications-on-action-object)
5919 (notifications-on-close-object): New defvars.
5920 (notifications-on-action-signal, notifications-on-closed-signal):
5921 Unregister the signal if not needed any longer.
5922 (notifications-notify): Register `notifications-action-signal' or
5923 `notifications-closed-signal', if :on-action or :on-close has been
5924 passed as argument.
5925
78e8b10a
CY
59262012-03-07 Chong Yidong <cyd@gnu.org>
5927
5928 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5929 non-X platforms.
5930
69481eb8
GM
59312012-03-06 Glenn Morris <rgm@gnu.org>
5932
5933 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5934 (x-disown-selection-internal, x-get-selection-internal):
5935 Doc fix (add arglist signatures). (Bug#10783)
5936
133b8e11
KS
59372012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5938
5939 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5940 Handle breakpoints with no "type".
5941
99a83064
GM
59422012-03-06 Glenn Morris <rgm@gnu.org>
5943
5944 * files.el (locate-dominating-file): Add optional predicate argument.
5945 (dir-locals-find-file): Make use of above change.
5946
17798e78
TTN
59472012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5948
5949 * info.el (Info-insert-dir): Also try "dir.gz".
5950
eb182446
GM
59512012-03-06 Glenn Morris <rgm@gnu.org>
5952
8f2114ee
GM
5953 * files.el (dir-locals-find-file):
5954 Ignore non-readable or non-regular files. (Bug#10928)
5955
eb182446
GM
5956 * files.el (locate-dominating-file): Doc fix.
5957
24679323
AS
59582012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5959
5960 * calendar/calendar.el (calendar-set-mode-line):
5961 `getenv' returns a string. (Bug#10951)
5962
01d972a9
LL
59632012-03-05 Leo Liu <sdl.web@gmail.com>
5964
109aa8a9
LL
5965 * simple.el (backward-delete-char-untabify): Constrain point to
5966 field (Bug#10939).
5967
01d972a9
LL
5968 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5969
10607bea
CY
59702012-03-05 Chong Yidong <cyd@gnu.org>
5971
5972 * simple.el (count-words): If called from Lisp, return the word
5973 count, for symmetry with `count-lines'. Arglist changed.
5974 (count-words--message): Args changed. Consolidate counting code
5975 from count-words and count-words-region.
5976 (count-words-region): Caller changed.
5977 (count-lines-region): Make it an obsolete alias.
5978
5dd11cfe
TH
59792012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5980
5981 * saveplace.el (save-place-to-alist)
5982 (save-place-ignore-files-regexp): Allow value nil to disable this
5983 feature.
5984
c349f4e6
CY
59852012-03-04 Chong Yidong <cyd@gnu.org>
5986
5987 * faces.el (face-spec-reset-face): For the default face, reset the
5988 attributes to default values (Bug#10748).
5989
e627be4c
LMI
59902012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
5992 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5993 previous patch: Check `message-send-mail-function', and not the
5994 default function (bug#10897).
5995
ebeabff4
MA
59962012-03-04 Michael Albinus <michael.albinus@gmx.de>
5997
a41a6cf4
MA
5998 * notifications.el (notifications-on-action-signal)
5999 (notifications-on-closed-signal): Check for unique service name of
6000 incoming event. Fix error in removing entry.
ebeabff4 6001 (top): Register for signals with wildcard service name.
a41a6cf4 6002 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6003
c1ca42b4
CY
60042012-03-04 Chong Yidong <cyd@gnu.org>
6005
dc9924b8 6006 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6007
ea16568d
GM
60082012-03-04 Glenn Morris <rgm@gnu.org>
6009
6010 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6011 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6012 (expand-abbrev, define-abbrev-table): Doc fixes.
6013
fbae4637
LMI
60142012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
6016 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6017 `message-default-send-mail-function' and not `send-mail-function'
6018 when doing the prompting for `sendmail-query-once' before sending
6019 in Message buffers (bug#10897).
6020
a1e7225c
LMI
6021 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6022 This is inconsistent with all the other stream functions, which leave
6023 the setting up to the higher levels (if so wanted) (bug#10931).
6024
56d093a9
AM
60252012-03-02 Alan Mackenzie <acm@muc.de>
6026
6027 Depessimize the handling of very large macros.
6028
6029 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6030 (c-macro-cache-syntactic): New variables to implement a one
6031 element macro cache.
6032 (c-invalidate-macro-cache): New function.
6033 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6034 Adapt to use the new cache.
6035 (c-state-safe-place): Use better the cache of safe positions.
6036 (c-state-semi-nonlit-pos-cache)
6037 (c-state-semi-nonlit-pos-cache-limit):
6038 New variables for...
6039 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6040 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6041 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6042 Use c-state-semi-safe-place.
56d093a9 6043
dbbc2e69
SM
6044 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6045 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6046
817e5c3d
MA
60472012-03-02 Michael Albinus <michael.albinus@gmx.de>
6048
dbbc2e69
SM
6049 * jka-compr.el (jka-compr-call-process):
6050 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6051 not remote.
6052
a032a702
MA
60532012-03-01 Michael Albinus <michael.albinus@gmx.de>
6054
6055 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6056 access of FILE2, if FILE1 does not exist.
6057
99a54f21
MA
6058 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6059 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6060
6061 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6062 Add "PAGER=" to `process-environment'.
6063
f6561e1f
MM
60642012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6065
6066 * progmodes/sql.el: Bug fix
6067 (sql-get-login-ext): Save login values in globals.
6068 (sql-get-login): Use new version of `sql-get-login-ext'.
6069 (sql-interactive-mode): Set global `sql-connection' to nil.
6070 (sql-connect): Set global values for connection.
6071 (sql-product-interactive): Save global values as buffer local.
6072
2d44d9cc
LL
60732012-02-29 Leo Liu <sdl.web@gmail.com>
6074
6075 * abbrev.el (define-abbrevs): Reset sys to nil.
6076
96b49301 60772012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6078
bf7f9bc5
JB
6079 * files.el (file-equal-p): Rename from `files-equal-p'.
6080 Return nil when one or both files don't exist.
96b49301 6081 (file-subdir-of-p): Now only top directory must exists,
6082 return nil if it doesn't.
bf7f9bc5
JB
6083 (copy-directory): No need to test with `file-subdir-of-p' after
6084 creating dir.
6085 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6086 to `file-equal-p'.
96b49301 6087
44e97401
GM
60882012-02-28 Glenn Morris <rgm@gnu.org>
6089
6090 * shell.el (shell-mode):
6091 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6092 * play/landmark.el (landmark-font-lock-face-O):
6093 * play/handwrite.el (handwrite):
6094 * play/gomoku.el (gomoku-O):
6095 * net/browse-url.el (browse-url-browser-display):
6096 * international/mule.el (define-charset):
6097 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6098 * filesets.el (filesets-find-file-delay):
6099 * eshell/em-xtra.el (eshell-xtra):
6100 * eshell/em-unix.el (eshell-grep):
6101 * emulation/viper.el (viper-mode):
6102 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6103 * emacs-lisp/easymenu.el (easy-menu-define):
6104 * calendar/timeclock.el (timeclock-use-display-time):
6105 * bs.el (bs-mode):
6106 * bookmark.el (bookmark-save-flag):
6107 Doc fix (standardize possessive apostrophe usage).
6108
c98c6276
CY
61092012-02-27 Chong Yidong <cyd@gnu.org>
6110
bf7f9bc5
JB
6111 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6112 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6113
c98c6276
CY
6114 * font-lock.el (font-lock-specified-p): Rename from
6115 font-lock-spec-present. Callers changed.
6116
9c62cd04 61172012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6118
bf7f9bc5
JB
6119 * emacs-lisp/package.el (package-compute-transaction):
6120 Handle holding a package version to t in package-load-list.
8ac9e529 6121
530739c9
MA
61222012-02-26 Michael Albinus <michael.albinus@gmx.de>
6123
6124 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6125 (tramp-get-inode, tramp-get-device): Use cached values.
6126
487915d7
AM
61272012-02-26 Alan Mackenzie <acm@muc.de>
6128
6129 Check there is a font-lock specification before doing initial
6130 fontification.
6131
6132 * font-core.el (font-lock-mode): Move the conditional from
6133 :after-hook to font-lock-initial-fontify.
6134 (font-lock-default-function): Move the check for a specification
6135 to font-lock-spec-present.
6136
dc9924b8 6137 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6138 (font-lock-spec-present): New function.
6139
4fd96557
JB
61402012-02-26 Jim Blandy <jimb@red-bean.com>
6141
6142 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6143 (gdb-send): Apply it to the operand of the '-interpreter-exec
6144 console' command, so that we can pass arguments with (say) quotes
6145 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6146
9a4888c0
CY
61472012-02-26 Chong Yidong <cyd@gnu.org>
6148
07498861
CY
6149 * help-fns.el (describe-function-1): Clarify description of
6150 remapping (Bug#10844).
6151
9a4888c0
CY
6152 * files.el (files-equal-p): Doc fix.
6153 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6154 and quit the loop once a mismatch is found.
6155
ea8fb88d
JB
61562012-02-25 Juanma Barranquero <lekktu@gmail.com>
6157
6158 * bs.el (bs--show-with-configuration): Don't throw an error
6159 if the window cannot be split; otherwise, subsequent calls to
6160 bs-show fail, restoring a stale window config. (Bug#10882)
6161
525795c1
JD
61622012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6163
6164 * term/ns-win.el (global-map): Bind ns-drag-file to
6165 ns-find-file (Bug#5855, Bug#10050).
6166
f008086f
AS
61672012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6168
6169 * calendar/parse-time.el (parse-time-string): Allow extractor to
6170 return nil.
6171
a3fcfa99
MA
61722012-02-25 Michael Albinus <michael.albinus@gmx.de>
6173
91027d08
JB
6174 * net/tramp.el (tramp-file-name-for-operation):
6175 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6176
6177 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6178 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6179 Add COPY-CONTENTS argument.
a3fcfa99 6180
67b0de11
CY
61812012-02-25 Chong Yidong <cyd@gnu.org>
6182
6183 Add custom groups for VC backends, for consistency with vc-bzr.
6184
6185 * vc/vc-arch.el (vc-arch):
6186 * vc/vc-cvs.el (vc-cvs):
6187 * vc/vc-git.el (vc-git):
6188 * vc/vc-hg.el (vc-hg):
6189 * vc/vc-mtn.el (vc-mtn):
6190 * vc/vc-rcs.el (vc-rcs):
6191 * vc/vc-sccs.el (vc-sccs):
6192 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6193 All relevant defcustoms reassigned.
6194
3c9dfce6
CY
61952012-02-25 Chong Yidong <cyd@gnu.org>
6196
1339bf43
CY
6197 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6198
3c9dfce6
CY
6199 * term/x-win.el (x-initialize-window-system): Reduce default for
6200 x-selection-timeout to 5 seconds (Bug#8869).
6201
25b2e303 62022012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6203
ec70a47d
GM
6204 * files.el (files-equal-p, file-subdir-of-p): New functions.
6205 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6206 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6207 * dired-aux.el (dired-copy-file-recursive): Same.
6208 (dired-create-files): Modify destination when source is equal to
6209 dest when copying files.
53a46cd0 6210 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6211
914260cd
MA
62122012-02-24 Michael Albinus <michael.albinus@gmx.de>
6213
6214 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6215 (Bug#10874)
6216
2cb228f7
AM
62172012-02-23 Alan Mackenzie <acm@muc.de>
6218
6219 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6220 parameter "after-hook:" to allow the expansion to run code after
6221 the execution of the mode hooks.
6222
6223 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6224 from font-lock-mode-internal.
2cb228f7 6225
91027d08 6226 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6227 :after-hook.
6228
8f0fde21
SM
62292012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6230
3e88618b
SM
6231 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6232 (completion--cache-all-sorted-completions): New function.
6233 (completion-all-sorted-completions): Use it.
6234 (completion--do-completion, minibuffer-force-complete):
6235 Use it to re-instate the flush hook.
6236
8f0fde21
SM
6237 * icomplete.el (icomplete-completions): Replace last fix with a better
6238 one (bug#10850).
6239
8e911f6f
DG
62402012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6241
6242 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6243 when it might call us back infinitely (bug#10797).
6244
49fe4321
GM
62452012-02-23 Glenn Morris <rgm@gnu.org>
6246
6247 * minibuffer.el (completion-category-overrides): Doc fix.
6248
b291b572
SM
62492012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6252 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6253
31a9ef2e
GM
62542012-02-23 Glenn Morris <rgm@gnu.org>
6255
5e6e6794 6256 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6257 (authors-obsolete-files-regexps, authors-ignored-files)
6258 (authors-ambiguous-files, authors-renamed-files-alist):
6259 Add more entries.
6260
0bd1e074
JL
62612012-02-23 Juri Linkov <juri@jurta.org>
6262
6263 * isearch.el (isearch-occur): Sync interactive spec with occur's
6264 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6265
b617673c
JL
6266 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6267
19e9789e
JL
62682012-02-22 Juri Linkov <juri@jurta.org>
6269
6270 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6271 (ucs-insert): Doc fix. Check for hex digits in the string.
6272 Don't display `nil' in the error message. (Bug#10857)
6273
f41ce09d
AM
62742012-02-22 Alan Mackenzie <acm@muc.de>
6275
7a71b18d 6276 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6277
ac2eceee
GM
62782012-02-22 Glenn Morris <rgm@gnu.org>
6279
6280 * ffap.el (ffap-c-path):
6281 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6282
abd1f678
CY
62832012-02-22 Chong Yidong <cyd@gnu.org>
6284
6285 * custom.el (load-theme): Doc fix.
6286
f25aef2e
GM
62872012-02-22 Glenn Morris <rgm@gnu.org>
6288
6289 * dired-x.el (dired-guess-shell-alist-default):
6290 Remove escape sequences from nroff output. (Bug#172)
6291
5f8dc2ca
GM
62922012-02-21 Glenn Morris <rgm@gnu.org>
6293
6ff86ec4
GM
6294 * vc/emerge.el (emerge-defvar-local):
6295 Set `permanent-local' property rather than unused `preserved'.
6296
be3223a3 6297 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6298 (picture-mode-map): Use it. (Bug#10860)
6299 (picture-mode): Doc fix.
6300
3fe58f4f
JB
63012012-02-21 Juanma Barranquero <lekktu@gmail.com>
6302
6303 * newcomment.el (uncomment-region-default): Remove unused binding.
6304
f9a998c3
GM
63052012-02-21 Glenn Morris <rgm@gnu.org>
6306
6307 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6308 (picture-self-insert, picture-tab-chars): Doc fix.
6309 (picture-mode-map): Fix C-a, C-e.
6310
c6029348
GM
63112012-02-20 Glenn Morris <rgm@gnu.org>
6312
6313 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6314
ab1ce9d7
LL
63152012-02-20 Leo Liu <sdl.web@gmail.com>
6316
6317 * icomplete.el (icomplete-completions): Check FROM arg before
6318 passing to substring (Bug#10850).
6319
0fd40f89
CY
63202012-02-19 Chong Yidong <cyd@gnu.org>
6321
6322 * comint.el: Require ansi-color.
6323 (comint-output-filter-functions): Add ansi-color-process-output.
6324
6325 * ansi-color.el: Don't set comint-output-filter-functions; it is
6326 now in the initial value defined in comint.el.
6327 (ansi-color-apply-face-function): New variable.
6328 (ansi-color-apply-on-region): Use it.
6329 (ansi-color-apply-overlay-face): New function.
6330
6331 * shell.el (shell): No need to require ansi-color.
6332 (shell-mode): Use ansi-color-apply-face-function to highlight
6333 color escapes using font-lock-face property (Bug#10835).
6334
20af2394
CY
63352012-02-19 Chong Yidong <cyd@gnu.org>
6336
6337 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6338 mode-line formats (Bug#10839).
6339
e23a3fbe
GM
63402012-02-18 Glenn Morris <rgm@gnu.org>
6341
b474519e
GM
6342 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6343
6344 * mail/undigest.el (unforward-rmail-message): Doc fix.
6345
e23a3fbe
GM
6346 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6347
57939ff4
EZ
63482012-02-18 Eli Zaretskii <eliz@gnu.org>
6349
6350 * international/characters.el (script-list): Sync with the latest
6351 Unicode Character Database.
6352
0c23686e
AS
63532012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6354
6355 * international/titdic-cnv.el: Remove duplicate coding tag.
6356 * language/cham.el: Likewise.
6357 * language/tai-viet.el: Likewise.
6358
6818b449
GM
63592012-02-18 Glenn Morris <rgm@gnu.org>
6360
6361 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6362 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6363 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6364 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6365 * calendar/holidays.el (holiday-bahai-holidays)
6366 (calendar-holidays, list-holidays):
6367 Use utf-8 Bahá'í in doc-strings, menus, etc.
6368
0311a3fc
TH
63692012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6370
6371 * saveplace.el (save-place-ignore-files-regexp): New variable
6372 allowing for excluding files from saving their location of point.
6373 The default value matches the temporary commit message editing
6374 files from Git, SVN, Bazaar, and Mercurial.
6375 (save-place-to-alist): Use it.
6376
d209e2fb 63772012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6378 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6379
6380 * newcomment.el (uncomment-region-default): Don't leave extra space
6381 when an arg is provided (bug#8150).
6382
ee0ce425
TZ
63832012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6384
eb864a71 6385 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6386
95ddf442
GM
63872012-02-17 Glenn Morris <rgm@gnu.org>
6388
6389 * net/socks.el: Require network-stream. (Bug#10599)
6390
48dd1e39 63912012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6392
6393 * international/charprop.el:
6394 * international/uni-name.el:
6395 * international/uni-old-name.el:
6396 * international/uni-comment.el: Regenerate.
6397
d68cd087
GM
63982012-02-16 Glenn Morris <rgm@gnu.org>
6399
6400 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6401 Interactively in calendar buffer, give an error if not on a date.
6402
13932042
GM
64032012-02-15 Glenn Morris <rgm@gnu.org>
6404
6405 * shell.el (shell-delimiter-argument-list):
6406 Revert 2011-02-17 change. (Bug#8027)
6407
c3a70e2b
CY
64082012-02-15 Chong Yidong <cyd@gnu.org>
6409
60236b0d
CY
6410 * minibuffer.el (completion-at-point-functions): Doc fix.
6411
c3a70e2b
CY
6412 * custom.el (defcustom): Doc fix; note use of defvar.
6413
9f26dc24
GM
64142012-02-15 Glenn Morris <rgm@gnu.org>
6415
6416 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6417 Doc fixes.
6418
6546b134
GM
64192012-02-14 Glenn Morris <rgm@gnu.org>
6420
6421 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6422
d29b2b4c
LI
64232012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6424
6425 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6426 way the ports list is computed.
835bdcba
LI
6427 (smtpmail-query-smtp-server): Prompt the user for a port number if
6428 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6429
08dcdbc9
TZ
64302012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6431
6432 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6433
2605051a
GM
64342012-02-13 Glenn Morris <rgm@gnu.org>
6435
6436 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6437
7ee99f32
TZ
64382012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6439
6440 * net/gnutls.el (gnutls-trustfiles): New variable.
6441 (gnutls-negotiate): Use it.
6442
5f0af64f
LI
64432012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6444
6445 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6446 does its stuff if Gnus is running.
6447
c14fcc95
AM
64482012-02-13 Alan Mackenzie <acm@muc.de>
6449
6450 Fix a loop in c-set-fl-decl-start.
6451
7a71b18d 6452 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6453 c-backward-syntactic-ws actually moves backwards.
6454
142b4d90
LL
64552012-02-13 Leo Liu <sdl.web@gmail.com>
6456
6457 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6458 beginning so that all \C-o chars are removed.
6459
fa9958a6
TZ
64602012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6461
dc9924b8 6462 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6463
0bc5886a
AM
64642012-02-12 Alan Mackenzie <acm@muc.de>
6465
6466 Fix infinite loop with long macros.
4d6769e1 6467 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6468
d4bd55e7
CY
64692012-02-12 Chong Yidong <cyd@gnu.org>
6470
6471 * window.el (display-buffer): Doc fix (Bug#10785).
6472
66f3fe22
GM
64732012-02-12 Glenn Morris <rgm@gnu.org>
6474
bd7da63e
GM
6475 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6476 (x-disown-selection-internal, x-get-selection-internal):
6477 Sync docs with the xselect.c versions.
6478
66f3fe22
GM
6479 * allout-widgets.el: Add missing license notice.
6480
3e0d2fa7
GM
64812012-02-11 Glenn Morris <rgm@gnu.org>
6482
cfecdf09
GM
6483 * select.el (x-get-selection-internal, x-own-selection-internal)
6484 (x-disown-selection-internal):
6485 * x-dnd.el (x-get-selection-internal): Update declarations.
6486
6d216d7f
GM
6487 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6488
2bed3f04
GM
6489 * window.el (window-sides-slots):
6490 * tool-bar.el (tool-bar-position):
6491 * term/xterm.el (xterm-extra-capabilities):
6492 * ses.el (ses-self-reference-early-detection):
6493 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6494 (verilog-auto-wire-type)
6495 (verilog-auto-delete-trailing-whitespace)
6496 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6497 (verilog-auto-tieoff-declaration):
6498 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6499 (sql-oracle-statement-starters, sql-oracle-scan-on):
6500 * progmodes/prolog.el (prolog-align-comments-flag)
6501 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6502 (prolog-left-indent-regexp, prolog-paren-indent-p)
6503 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6504 (prolog-types, prolog-mode-specificators)
6505 (prolog-determinism-specificators, prolog-directives)
6506 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6507 (prolog-electric-dot-flag)
6508 (prolog-electric-dot-full-predicate-template)
6509 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6510 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6511 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6512 (prolog-program-switches, prolog-prompt-regexp)
6513 (prolog-debug-on-string, prolog-debug-off-string)
6514 (prolog-trace-on-string, prolog-trace-off-string)
6515 (prolog-zip-on-string, prolog-zip-off-string)
6516 (prolog-use-standard-consult-compile-method-flag)
6517 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6518 (prolog-imenu-max-lines, prolog-info-predicate-index)
6519 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6520 (prolog-char-quote-workaround):
6521 * progmodes/cc-vars.el (c-defun-tactic):
6522 * net/tramp.el (tramp-encoding-command-interactive)
6523 (tramp-local-end-of-line):
6524 * net/soap-client.el (soap-client):
6525 * net/netrc.el (netrc-file):
6526 * net/gnutls.el (gnutls):
6527 * minibuffer.el (completion-category-overrides)
6528 (completion-cycle-threshold)
6529 (completion-pcm-complete-word-inserts-delimiters):
6530 * man.el (Man-name-local-regexp):
6531 * mail/feedmail.el (feedmail-display-full-frame):
6532 * international/characters.el (glyphless-char-display-control):
6533 * eshell/em-ls.el (eshell-ls-date-format):
6534 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6535 (lisp-lambda-list-keyword-parameter-indentation)
6536 (lisp-lambda-list-keyword-parameter-alignment):
6537 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6538 * dired-x.el (dired-omit-verbose):
6539 * cus-theme.el (custom-theme-allow-multiple-selections):
6540 * calc/calc.el (calc-highlight-selections-with-faces)
6541 (calc-lu-field-reference, calc-lu-power-reference)
6542 (calc-note-threshold):
6543 * battery.el (battery-mode-line-limit):
6544 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6545 (archive-7z-update):
6546 * allout.el (allout-prefixed-keybindings)
6547 (allout-unprefixed-keybindings)
6548 (allout-inhibit-auto-fill-on-headline)
6549 (allout-flattened-numbering-abbreviation):
6550 * allout-widgets.el (allout-widgets-auto-activation)
6551 (allout-widgets-icons-dark-subdir)
6552 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6553 (allout-widgets-theme-dark-background)
6554 (allout-widgets-theme-light-background)
6555 (allout-widgets-item-image-properties-emacs)
6556 (allout-widgets-item-image-properties-xemacs)
6557 (allout-widgets-run-unit-tests-on-load)
6558 (allout-widgets-time-decoration-activity)
6559 (allout-widgets-hook-error-post-time)
6560 (allout-widgets-track-decoration):
6561 Add missing :version tags to new defcustoms and defgroups.
6562
5fec1b8e
GM
6563 * progmodes/sql.el (sql-ansi-statement-starters)
6564 (sql-oracle-statement-starters): Add custom type.
6565
3e0d2fa7
GM
6566 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6567 (prolog-system-version): Give it a type.
6568
90b671e2
EZ
65692012-02-11 Eli Zaretskii <eliz@gnu.org>
6570
6571 * term/pc-win.el (x-select-text, x-selection-owner-p)
6572 (x-own-selection-internal, x-disown-selection-internal)
6573 (x-get-selection-internal): Sync doc strings and argument lists
6574 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6575
5eac0c02
LL
65762012-02-11 Leo Liu <sdl.web@gmail.com>
6577
6578 * progmodes/python.el (python-end-of-statement): Fix infinite
6579 loop. (Bug#10788)
6580
f82cb659
GM
65812012-02-10 Glenn Morris <rgm@gnu.org>
6582
6583 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6584 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6585
cc26d239
LI
65862012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6587
6588 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6589 about SMTP before checking the From header.
6590
91027d08 6591 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6592 into own function for reuse by emacsbug.el.
6593
1be3ca5a
LL
65942012-02-10 Leo Liu <sdl.web@gmail.com>
6595
6596 * subr.el (condition-case-unless-debug): Rename from
6597 condition-case-no-debug. All callers changed.
6598 (with-demoted-errors): Fix caller.
6599
6600 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6601 * nxml/rng-valid.el (rng-do-some-validation):
6602 * emacs-lisp/package.el (package-refresh-contents)
6603 (package-menu-execute):
6604 * desktop.el (desktop-create-buffer):
91027d08 6605 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6606
b011fbfe
GM
66072012-02-10 Glenn Morris <rgm@gnu.org>
6608
b2096d72
GM
6609 * textmodes/bibtex.el:
6610 Add missing :version tags for new/changed defcustoms.
6611
b011fbfe
GM
6612 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6613
4c7e65bf
LI
66142012-02-09 Lars Ingebrigtsen <larsi@rusty>
6615
6616 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6617 (smtpmail-via-smtp): Use it, or fall back on the From address.
6618 (smtpmail-send-it): Ditto.
6619
f3934f6f
SM
66202012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6623 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6624 (byte-compile-tmp-var): New const.
6625 (byte-compile-defvar): Use it to minimize .elc size.
6626 Just use `defvar' rather than simulate it (bug#10761).
6627
a075a2c5
GM
66282012-02-09 Glenn Morris <rgm@gnu.org>
6629
cf3aa21b
GM
6630 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6631
354998cd
GM
6632 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6633 Add :version tags.
6634
dc9924b8
SM
6635 * progmodes/compile.el (compilation-error-screen-columns)
6636 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6637
dab3703d
GM
6638 * vc/log-view.el (log-view-toggle-entry-display):
6639 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6640
3f88cd72
GM
6641 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6642 (report-emacs-bug-can-use-xdg-email):
6643 (report-emacs-bug-insert-to-mailer): Doc fixes.
6644 (report-emacs-bug): Message fix.
6645
d95b247d
GM
6646 * net/browse-url.el (browse-url-can-use-xdg-open)
6647 (browse-url-xdg-open): Doc fixes.
6648
a075a2c5
GM
6649 * electric.el (electric-indent-mode, electric-pair-mode)
6650 (electric-layout-rules, electric-layout-mode): Doc fixes.
6651 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6652
ffb6157e
MR
66532012-02-08 Martin Rudalics <rudalics@gmx.at>
6654
6655 * server.el (server-unselect-display): Don't inadvertently kill
6656 the current buffer. (Bug#10729)
6657
e1ac4066
GM
66582012-02-08 Glenn Morris <rgm@gnu.org>
6659
34e8a2da
GM
6660 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6661 (sql-list-table): Doc fixes.
6662
b4ac6e8c
GM
6663 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6664 Comment out (does nothing).
6665
e1ac4066
GM
6666 * completion.el (dynamic-completion-mode):
6667 * dirtrack.el (dirtrack-debug-mode):
6668 * electric.el (electric-layout-mode):
6669 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6670 * face-remap.el (text-scale-mode, buffer-face-mode):
6671 * iimage.el (iimage-mode):
6672 * image-mode.el (image-transform-mode):
6673 * minibuffer.el (completion-in-region-mode):
6674 * scroll-lock.el (scroll-lock-mode):
6675 * simple.el (next-error-follow-minor-mode):
6676 * tar-mode.el (tar-subfile-mode):
6677 * tooltip.el (tooltip-mode):
6678 * vcursor.el (vcursor-use-vcursor-map):
6679 * wid-browse.el (widget-minor-mode):
6680 * emulation/tpu-edt.el (tpu-edt-mode):
6681 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6682 * international/iso-ascii.el (iso-ascii-mode):
6683 * language/thai-util.el (thai-word-mode):
6684 * mail/supercite.el (sc-minor-mode):
6685 * net/goto-addr.el (goto-address-mode):
6686 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6687 * progmodes/cwarn.el (cwarn-mode):
6688 * progmodes/flymake.el (flymake-mode):
6689 * progmodes/glasses.el (glasses-mode):
6690 * progmodes/hideshow.el (hs-minor-mode):
6691 * progmodes/pascal.el (pascal-outline-mode):
6692 * textmodes/enriched.el (enriched-mode):
6693 * vc/smerge-mode.el (smerge-mode):
6694 Doc fixes (minor mode argument).
6695
5e0d957f
EZ
66962012-02-07 Eli Zaretskii <eliz@gnu.org>
6697
6698 * ls-lisp.el (ls-lisp-sanitize): New function.
6699 (ls-lisp-insert-directory): Use it to fix or remove any elements
6700 in file-alist with missing attributes. (Bug#4673)
6701
98d7371e
AM
67022012-02-07 Alan Mackenzie <acm@muc.de>
6703
6704 Fix spurious recognition of c-in-knr-argdecl.
6705
6706 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6707 putative K&R region.
6708
667ced3a
AM
67092012-02-07 Alan Mackenzie <acm@muc.de>
6710
eb864a71
LM
6711 * progmodes/cc-engine.el (c-forward-objc-directive):
6712 Prevent looping in "#pragma mark @implementation".
667ced3a 6713
5b77774d
MA
67142012-02-07 Michael Albinus <michael.albinus@gmx.de>
6715
6716 * notifications.el (notifications-on-closed-signal): Make `reason'
6717 optional. (Bug#10744)
6718
af008560
GM
67192012-02-07 Glenn Morris <rgm@gnu.org>
6720
60d47423
GM
6721 * emacs-lisp/easy-mmode.el (define-minor-mode):
6722 Doc fixes for the macro and the mode it defines.
6723
dd605cc4
GM
6724 * image.el (imagemagick-types-inhibit): Doc fix.
6725
af008560
GM
6726 * cus-start.el (imagemagick-render-type): Add it.
6727
5cc59a37
LI
67282012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6729
4d6769e1
JB
6730 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6731 Set the default at load time, too, so that `font-lock-fontify-buffer'
6732 can be called without setting up the entire mode first. This fixes
6733 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6734
9a6dd747
CY
67352012-02-06 Chong Yidong <cyd@gnu.org>
6736
2d16b285
CY
6737 * simple.el (list-processes--refresh): Delete exited processes
6738 (Bug#8094).
6739
171e9b6e
CY
6740 * comint.el (comint-next-prompt): next-single-char-property-change
6741 and prev-single-char-property-change never return nil (Bug#8657).
6742
9a6dd747
CY
6743 * custom.el (defcustom): Doc fix (Bug#9711).
6744
aa4589a7
CY
67452012-02-05 Chong Yidong <cyd@gnu.org>
6746
5c2a252f
CY
6747 * cus-edit.el (custom-variable-reset-backup): Quote the value
6748 before storing it in the customized-value property (Bug#6712).
4aab9006 6749 (custom-display): Add a customization type tag.
983b9602 6750 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6751
aa4589a7
CY
6752 * wid-edit.el (widget-field-value-get): New optional arg to
6753 suppress trailing whitespace truncation.
6754 (character): Use it (Bug#2689).
6755
1ff980ae
AS
67562012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6757
6758 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6759 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6760
03988c98
CY
67612012-02-05 Chong Yidong <cyd@gnu.org>
6762
eeb6cc88
CY
6763 * cus-edit.el (custom-variable-value-create): For mismatched
6764 types, show the current value (Bug#7600).
6765
03988c98
CY
6766 * custom.el (defcustom): Doc fix.
6767
f8cdeef0
GM
67682012-02-05 Glenn Morris <rgm@gnu.org>
6769
6770 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6771
0696d255
JB
67722012-02-05 Juanma Barranquero <lekktu@gmail.com>
6773
6774 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6775 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6776 (pp-last-sexp): Use `looking-at-p'.
6777
34c99998
GM
67782012-02-04 Glenn Morris <rgm@gnu.org>
6779
8f05da42
GM
6780 * files.el (revert-buffer):
6781 Doc fix (mention revert-buffer-in-progress-p).
6782
f160676e
GM
6783 * emacs-lisp/ert-x.el (ert-simulate-command):
6784 Check deferred-action-list (which is obsolete) is bound.
6785
c7291ad9
GM
6786 * subr.el (with-wrapper-hook): Doc fixes.
6787
34c99998
GM
6788 * simple.el (filter-buffer-substring-functions)
6789 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6790
6283a7d3
LL
67912012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6792
6793 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6794 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6795
e96e3013
LL
67962012-02-04 Leo Liu <sdl.web@gmail.com>
6797
6798 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6799
8ded50f2
GM
68002012-02-04 Glenn Morris <rgm@gnu.org>
6801
82ff1d13
GM
6802 * image.el (image-extension-data): Add obsolete alias.
6803
987a0a16
GM
6804 * isearch.el (isearch-update): Doc fix.
6805
ea32ef46
GM
6806 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6807
8ded50f2
GM
6808 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6809
eea14f31
GM
68102012-02-03 Glenn Morris <rgm@gnu.org>
6811
6812 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6813 (image-animate-timeout): Doc fix.
6814
6815 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6816
12f381b7
GM
68172012-02-02 Glenn Morris <rgm@gnu.org>
6818
953cebf5
GM
6819 * server.el (server-auth-dir): Doc fix.
6820 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6821
12f381b7
GM
6822 * subr.el (run-mode-hooks): Doc fix.
6823
953a8c3b
JL
68242012-02-02 Juri Linkov <juri@jurta.org>
6825
6826 * image-mode.el (image-toggle-display-image): Remove tautological
6827 `major-mode' from the `derived-mode-p' test.
6828
c5d3843c
KH
68292012-02-02 Kenichi Handa <handa@m17n.org>
6830
9f6e692e 6831 * composite.el (compose-region): Cancel previous change.
c5d3843c 6832
159462d4 68332012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6834
6835 * composite.el (compose-region, compose-string): Signal error for
6836 a null string component (Bug#6988).
6837
9f562668
CY
68382012-02-01 Chong Yidong <cyd@gnu.org>
6839
e2cef717
CY
6840 * view.el (view-buffer-other-window, view-buffer-other-frame):
6841 Handle special modes like view-buffer (Bug#10650).
6842 (view-buffer): Simplify.
6843
9f562668
CY
6844 * frame.el (set-frame-font): Tweak meaning of third argument.
6845
9f6e692e
JB
6846 * dynamic-setting.el (font-setting-change-default-font):
6847 Use set-frame-font (Bug#9982).
9f562668 6848
781acb9f
GM
68492012-02-01 Glenn Morris <rgm@gnu.org>
6850
6035be52
GM
6851 * progmodes/compile.el (compilation-internal-error-properties):
6852 Respect compilation-first-column in the "*compilation*" buffer.
6853
781acb9f
GM
6854 * emacs-lisp/easy-mmode.el (define-minor-mode):
6855 Relax :variable's test for a named function.
6856
abbceb00
AM
68572012-01-31 Alan Mackenzie <acm@muc.de>
6858
6859 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6860 off by one error.
6861
fce3fdeb
CY
68622012-01-31 Chong Yidong <cyd@gnu.org>
6863
6864 * frame.el (set-frame-font): New arg ALL-FRAMES.
6865
6866 * menu-bar.el (menu-set-font): Use set-frame-font.
6867
6868 * faces.el (face-spec-reset-face): Don't apply unspecified
6869 attribute values to the default face.
6870
47893581
JB
68712012-01-31 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * progmodes/cwarn.el (cwarn): Remove dead link.
6874 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6875 Remove * from defcustom docstrings.
6876 (turn-on-cwarn-mode): Make obsolete.
6877 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6878 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6879
e58e988a
GM
68802012-01-31 Glenn Morris <rgm@gnu.org>
6881
60dc2671 6882 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6883 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6884 Allow named functions to be used as the cdr of :variable.
e58e988a 6885
7a3f511d
GM
68862012-01-30 Glenn Morris <rgm@gnu.org>
6887
6888 * emacs-lisp/authors.el (authors-fixed-entries):
6889 Remove reference to deleted file rnewspost.el.
6890
cb882333
JB
68912012-01-29 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * window.el (window-with-parameter): Remove unused variable `windows'.
6894 (window--side-check): Remove unused variable `code'.
6895 (window--resize-siblings): Remove unused variable `first'.
6896 (adjust-window-trailing-edge): Remove unused variable `failed'.
6897 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6898 Use `let', not `let*'.
6899 (balance-windows-2): Remove unused variable `found'.
6900 (window--state-put-2): Remove unused variable `splits'.
6901 (window-state-put): Remove unused variable `selected'.
6902 (same-window-p): Use `string-match-p'.
6903 (display-buffer-assq-regexp): Remove unused variable `value'.
6904 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6905 Mark argument ALIST as ignored.
6906 (pop-to-buffer): Remove unused variable `old-window'.
6907
907201af
EZ
69082012-01-29 Eli Zaretskii <eliz@gnu.org>
6909
6910 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6911 and .lzma compressed files.
6912
ea162670
CY
69132012-01-29 Chong Yidong <cyd@gnu.org>
6914
5b95ee8a
CY
6915 * frame.el (window-system-default-frame-alist): Doc fix.
6916
ea162670
CY
6917 * dynamic-setting.el (font-setting-change-default-font): Don't
6918 change the default face if SET-FONT argument is non-nil (Bug#9982).
6919
d6e6f4b1
SB
69202012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6921
6922 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6923
0f29fa41 69242012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6925
6926 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6927 breakpoints in files outside current directory (Bug#6098).
6928
db174434
CY
69292012-01-29 Chong Yidong <cyd@gnu.org>
6930
6b25e4e2
SE
6931 * progmodes/python.el: Require ansi-color at top-level.
6932
6df6ae42
JB
6933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6934 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6935 (lisp-mode-abbrev-table): Add doc.
6936 (lisp-mode-variables): Don't set local-abbrev-table.
6937 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6938
e70ee681
RW
69392012-01-28 Roland Winkler <winkler@gnu.org>
6940
6941 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6942
ace88aa2
RW
69432012-01-28 Roland Winkler <winkler@gnu.org>
6944
6945 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6946 (bibtex-set-dialect): Use it. Either set global values of
6947 dialect-dependent variables or bind these variables buffer-locally
6948 (Bug#10254).
6949 (bibtex-mode): Call bibtex-set-dialect via
6950 hack-local-variables-hook.
eb864a71
LM
6951 (bibtex-dialect): Update docstring.
6952 Add safe-local-variable predicate.
ace88aa2
RW
6953 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6954 bibtex-set-dialect.
6955 (bibtex-mode-map): Define menu for each dialect.
6956 (bibtex-entry): Fix docstring.
6957
93376c5b
CY
69582012-01-28 Chong Yidong <cyd@gnu.org>
6959
6960 * eshell/esh-arg.el (eshell-quote-argument): New function.
6961
6962 * eshell/esh-ext.el (eshell-invoke-batch-file):
6963 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6964 first arg to eshell-parse-command (Bug#10523).
6965
4372494f
DA
69662012-01-28 Drew Adams <drew.adams@oracle.com>
6967
6968 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6969 `default-directory' is non-nil.
6970
4d4ec1f8
EZ
69712012-01-28 Eli Zaretskii <eliz@gnu.org>
6972
6973 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6974 line that displays system-configuration-options. (Bug#9924)
6975
7c188927
DA
69762012-01-28 Drew Adams <drew.adams@oracle.com>
6977
6978 * descr-text.el (describe-char): Show information about POS, in
6979 addition to information about the character at POS. Improve and
6980 update the doc string. Change "code point" to "code point in
6981 charset", to avoid confusion with the character's Unicode code
6982 point shown above that. (Bug#10129)
6983
e0da685a
EZ
69842012-01-28 Eli Zaretskii <eliz@gnu.org>
6985
6986 * descr-text.el (describe-char): Show the raw character, not only
6987 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6988 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6989 for the reasons.
6990
70550acf
PH
69912012-01-28 Phil Hagelberg <phil@hagelb.org>
6992
eb864a71
LM
6993 * emacs-lisp/package.el (package-install):
6994 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6995
0ce8e868
CY
69962012-01-28 Chong Yidong <cyd@gnu.org>
6997
cb882333
JB
6998 * emacs-lisp/package.el (package-maybe-load-descriptor):
6999 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7000 (package-maybe-load-descriptor): Use it.
7001 (package-download-transaction): Fully load required packages
7002 inside the loop, so that `require' calls work (Bug#10593).
7003 (package-install): No need to call package-initialize now.
7004
2e7f3bea
CY
70052012-01-28 Chong Yidong <cyd@gnu.org>
7006
6e9bad14
CY
7007 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7008
f823b8ca
CY
7009 * tooltip.el (tooltip-mode): Doc fix.
7010 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7011
2680c309
CY
7012 * frame.el (set-cursor-color): Doc fix (Bug#352).
7013
d7a9e63b
CY
7014 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7015 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7016
2e7f3bea
CY
7017 * cus-edit.el (custom-buffer-create-internal): Fix search button
7018 action (Bug#10542).
2ae01800 7019 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7020
fc4f7a23
EW
70212012-01-27 Eduard Wiebe <usenet@pusto.de>
7022
7023 * dired.el (dired-mark-files-regexp):
7024 Include any subdirectory components. (Bug#10445)
7025
7dd37071
ML
70262012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7027
7028 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7029 Handle [host]:port syntax. (Bug#10533)
7030
a268160b
AH
70312012-01-27 Alex Harsanyi <harsanyi@mac.com>
7032
7033 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7034
e43273ef
GM
70352012-01-26 Glenn Morris <rgm@gnu.org>
7036
7037 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7038 * term.el (term-raw-escape-map): Use Control-X-prefix.
7039 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7040
1edf595d
MR
70412012-01-25 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (window-state-get, window--state-get-1): Don't deal
7044 with fixed-sizeness of windows. Simplify code.
7045
fa8eafef
JC
70462012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7047
6df6ae42
JB
7048 * window.el (window--state-get-1, window--state-put-2):
7049 Don't save and restore the mark.
fa8eafef 7050
0b21c100
CY
70512012-01-25 Chong Yidong <cyd@gnu.org>
7052
7053 * custom.el (custom-variable-p): Doc fix.
7054
5ae1a6c8
GM
70552012-01-25 Glenn Morris <rgm@gnu.org>
7056
40047858
GM
7057 * dired.el (dired-goto-file): Handle some of the more common
7058 characters that `ls -b' escapes. (Bug#10596)
7059
5ddce96c
GM
7060 * progmodes/compile.el (compilation-next-error-function):
7061 Respect compilation-first-column in the "*compilation*" buffer.
7062 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7063
5ae1a6c8
GM
7064 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7065
b559f1a9
GM
70662012-01-24 Glenn Morris <rgm@gnu.org>
7067
7068 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7069
6725d21a
JD
70702012-01-24 Julien Danjou <julien@danjou.info>
7071
7072 * color.el (color-rgb-to-hsl): Fix value computing.
7073 (color-hue-to-rgb): New function.
7074 (color-hsl-to-rgb): New function.
7075 (color-clamp, color-saturate-hsl, color-saturate-name)
7076 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7077 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7078
70df4bbe
GM
70792012-01-24 Glenn Morris <rgm@gnu.org>
7080
7081 * vc/vc-rcs.el (vc-rcs-create-tag):
7082 * vc/vc-sccs.el (vc-sccs-create-tag):
7083 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7084
802a2ae2
ML
70852012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7086
7087 * eshell/esh-util.el (eshell-read-hosts-file):
7088 Skip comment lines. (Bug#10549)
7089
d7128bb1
ML
7090 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7091
d1a5c3b4
JB
70922012-01-23 Juanma Barranquero <lekktu@gmail.com>
7093
2724d9c7
JB
7094 * subr.el (display-delayed-warnings): Doc fix.
7095 (collapse-delayed-warnings): New function to collapse identical
7096 adjacent warnings.
7097 (delayed-warnings-hook): Add it.
d1a5c3b4 7098
a5509865
MA
70992012-01-22 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7102
a5509865
MA
7103 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7104 (tramp-default-user-alist): Don't add "pscp".
7105 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7106 property "login-as", if set. (Bug#10530)
7107
cc6d5805
MA
71082012-01-21 Michael Albinus <michael.albinus@gmx.de>
7109
7110 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7111 "plink1" and "psftp". (Bug#10530)
7112
71132012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7114
7115 * international/mule-cmds.el (prefer-coding-system): Show a
7116 warning message if the default value of file-name-coding-system
7117 was not changed.
7118
f0960428
JC
71192012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7120
cb882333
JB
7121 * windmove.el (windmove-reference-loc):
7122 Fix windmove-reference-loc miscalculation.
f0960428 7123
dd6f2a63
JB
71242012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7125
7126 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7127 default unit.
7128
7b447e9b
GM
71292012-01-21 Glenn Morris <rgm@gnu.org>
7130
117a9ea1
GM
7131 * international/mule.el (auto-coding-alist): Add .tbz.
7132
7b447e9b
GM
7133 * files.el (local-enable-local-variables): Doc fix.
7134 (inhibit-local-variables-regexps): Rename from
7135 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7136 Doc fix. Add some extensions from auto-coding-alist.
7137 (inhibit-local-variables-suffixes):
7138 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7139 (inhibit-local-variables-p):
7140 New function, extracted from set-auto-mode-1.
7141 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7142 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7143 (hack-local-variables): Doc fix. Make the mode-only case
7144 respect enable-local-variables and friends.
7145 Respect inhibit-local-variables-regexps for file-locals, but
7146 not for directory-locals.
7147 (set-visited-file-name):
7148 Take account of inhibit-local-variables-regexps.
7149 Whether it applies may change as the file name is changed.
7150 * jka-cmpr-hook.el (jka-compr-install):
7151 * jka-compr.el (jka-compr-uninstall):
7152 Update for inhibit-first-line-modes-suffixes name change.
7153
dd6e3cdd
MR
71542012-01-20 Martin Rudalics <rudalics@gmx.at>
7155
7156 * help-macro.el (make-help-screen): Temporarily restore original
7157 binding for minor-mode-map-alist (Bug#10454).
7158
0d0deb38
JD
71592012-01-19 Julien Danjou <julien@danjou.info>
7160
7161 * color.el (color-name-to-rgb): Use the white color to find the max
7162 color component value and return correctly computed values.
7163 (color-name-to-rgb): Add missing float conversion for max value.
7164
34a02f46
MR
71652012-01-19 Martin Rudalics <rudalics@gmx.at>
7166
7167 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7168 special state value for window-persistent-parameters.
7169 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7170 (window--state-put-2): Reset all window parameters to nil before
7171 assigning values of persistent parameters.
7172
606c44c4
AM
71732012-01-18 Alan Mackenzie <acm@muc.de>
7174
7175 Eliminate sluggishness and hangs in fontification of "semicolon
7176 deserts".
7177
cb882333
JB
7178 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7179 Change value 10000 -> 3000.
606c44c4
AM
7180 (c-state-safe-place): Reformulate so it doesn't stack up an
7181 infinite number of wrong entries in c-state-nonlit-pos-cache.
7182 (c-determine-limit-get-base, c-determine-limit): New functions to
7183 determine backward search limits disregarding literals.
7184 (c-find-decl-spots): Amend commenting.
7185 (c-cheap-inside-bracelist-p): New function which detects "={".
7186
7187 * progmodes/cc-fonts.el
7188 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7189 backward search.
7190 (c-font-lock-declarations): Fix an occurrence of point being
7191 undefined. Check additionally for point being in a bracelist or
7192 near a macro invocation without a semicolon so as to avoid a
7193 fruitless time consuming search for a declarator. Give a more
7194 precise search limit for declarators using the new
7195 c-determine-limit.
7196
f3860cea
GM
71972012-01-18 Glenn Morris <rgm@gnu.org>
7198
7199 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7200 (set-auto-mode): Doc fixes.
7201
1db03b16
GM
72022012-01-17 Glenn Morris <rgm@gnu.org>
7203
0e6038be
GM
7204 * isearch.el (search-nonincremental-instead): Fix doc typo.
7205
1db03b16
GM
7206 * dired.el (dired-insert-directory): Handle newlines in directory name.
7207 (dired-build-subdir-alist): Unescape newlines in directory name.
7208
4cb0aa75
MA
72092012-01-17 Michael Albinus <michael.albinus@gmx.de>
7210
7211 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7212 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7213 (tramp-action-terminal): Use it. (Bug#10530)
7214
1d00653d
SM
72152012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7218
6a6ee00d
MR
72192012-01-16 Martin Rudalics <rudalics@gmx.at>
7220
7221 * window.el (window-state-ignored-parameters): Remove variable.
7222 (window--state-get-1): Rename argument MARKERS to IGNORE.
7223 Handle persistent window parameters. Make copy of clone-of
7224 parameter only if requested. (Bug#10348)
7225 (window--state-put-2): Install a window parameter only if it has
7226 a non-nil value or an existing parameter shall be overwritten.
7227
97912def
MA
72282012-01-15 Michael Albinus <michael.albinus@gmx.de>
7229
7230 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7231
688070a5
EZ
72322012-01-14 Eli Zaretskii <eliz@gnu.org>
7233
7234 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7235 don't pass the (nil) value of `upnode' to string-match.
7236
301afadc
CY
72372012-01-14 Chong Yidong <cyd@gnu.org>
7238
7239 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7240 Fix values recognized by the cursorBlink resource.
301afadc 7241
9e5788aa
PE
72422012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7243
7244 * epg.el (epg--make-temp-file): Avoid permission race condition
7245 when running on old Emacs versions (bug#10403).
7246
3cdb7f5a
GM
72472012-01-14 Glenn Morris <rgm@gnu.org>
7248
7249 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7250
8c82b1b4
AM
72512012-01-13 Alan Mackenzie <acm@muc.de>
7252
7253 Fix filling for when filladapt mode is enabled.
7254
7255 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7256 c-mask-paragraph, pass in `fill-paragraph' rather than
7257 `fill-region-as-paragraph'. (This is a reversion of a previous
7258 change.)
eb864a71
LM
7259 * progmodes/cc-mode.el (c-basic-common-init):
7260 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7261
e517eda4
GM
72622012-01-13 Glenn Morris <rgm@gnu.org>
7263
1498536e
GM
7264 * dired.el (dired-switches-escape-p): New function.
7265 (dired-insert-directory): Use dired-switches-escape-p.
7266 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7267
e517eda4
GM
7268 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7269
328f984d
GM
72702012-01-12 Glenn Morris <rgm@gnu.org>
7271
7272 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7273 changes in adaptive-fill-regexp. (Bug#10276)
7274
2cc769a8
AM
72752012-01-11 Alan Mackenzie <acm@muc.de>
7276
7277 Fix Emacs bug #10463 - put `widen's around the critical spots.
7278
1d00653d 7279 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7280 widen around each invocation of c-state-pp-to-literal. Remove an
7281 unused let variable.
7282
e52c37fa
GM
72832012-01-11 Glenn Morris <rgm@gnu.org>
7284
7285 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7286 Doc fix.
e52c37fa 7287
96f8741e
CY
72882012-01-10 Chong Yidong <cyd@gnu.org>
7289
1d00653d
SM
7290 * net/network-stream.el (network-stream-open-starttls):
7291 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7292 response to the capability command.
7293
b09a806e
GM
72942012-01-10 Glenn Morris <rgm@gnu.org>
7295
7296 * mail/unrmail.el (unrmail): Tweak previous change.
7297
7655cb66
CY
72982012-01-09 Chong Yidong <cyd@gnu.org>
7299
7300 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7301
9d5a8f0b
AM
73022012-01-08 Alan Mackenzie <acm@muc.de>
7303
7304 Optimise font locking in long enum definitions.
7305
7306 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7307 arm to a cond form to handle enums.
7308 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7309 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7310
9a0115ab 73112012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7312
7313 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7314 (Bug#10401)
6bb72cbd 7315
f186bb95
LMI
73162012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317
29232a68
LMI
7318 * faces.el (set-face-attribute): Clarify the meaning of the nil
7319 frame (bug#10294).
7320
4e5d086d
LMI
7321 * subr.el (with-selected-frame): Mention that the selected frame
7322 is restored (bug#9980).
7323
8e66aebe
LMI
7324 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7325 (bug#9759).
7326
cd394be1 7327 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7328 (password-read): Don't autoload unused function.
7329
adf4e762
JB
73302012-01-07 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * progmodes/which-func.el (which-func-mode): Turn into a
7333 non-interactive function and mark as obsolete (bug#10428).
7334
89bd9ccd
CY
73352012-01-06 Chong Yidong <cyd@gnu.org>
7336
7337 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7338 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7339 functions, along with 1 and -1.
7340
4afee9d5
EZ
73412012-01-06 Eli Zaretskii <eliz@gnu.org>
7342
7343 * time.el (display-time-load-average)
7344 (display-time-default-load-average): Doc fixes. See the thread
7345 starting at
7346 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7347 for the details.
7348
536aea70
GM
73492012-01-06 Glenn Morris <rgm@gnu.org>
7350
665ae865
GM
7351 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7352 has no messages. (Bug#10377)
7353
c869783d
GM
7354 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7355 than Info-edit. (Bug#10385)
7356
2bb4227e
GM
7357 * time.el (display-time-load-average, display-time-next-load-average):
7358 Doc fixes.
7359
7d5944b9
GM
7360 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7361 local setting of buffer-read-only to the input buffer. (Bug#10419)
7362
536aea70
GM
7363 * calendar/calendar.el (calendar-mode):
7364 Locally set scroll-margin to 0. (Bug#10379)
7365
7dccca16
UM
73662012-01-06 Ulrich Mueller <ulm@gentoo.org>
7367
7368 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7369
afbb7930
GM
73702012-01-05 Glenn Morris <rgm@gnu.org>
7371
7372 * eshell/em-unix.el (diff-no-select): Autoload it.
7373 (eshell/diff): Use diff-no-select. (Bug#10420)
7374
04482335
CY
73752012-01-05 Chong Yidong <cyd@gnu.org>
7376
7baca3bc
CY
7377 * shell.el (shell-dynamic-complete-functions): Revert last change.
7378 (shell-command-completion-function): New function.
7379 (shell-completion-vars): Use it to implement
7380 shell-completion-execonly (Bug#10417).
7381
04482335
CY
7382 * custom.el (enable-theme): Don't set custom-safe-themes.
7383
1d00653d
SM
7384 * cus-theme.el (custom-theme-merge-theme):
7385 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7386
bb5aa5d6
MM
73872012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7388
7389 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7390 first prompt in `sql-interacive-mode'.
7391 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7392 keywords.
6df6ae42 7393 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7394 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7395 context of original buffer. Invoke `sql-login-hook'.
7396
a7183d7c
EZ
73972012-01-04 Eli Zaretskii <eliz@gnu.org>
7398
7399 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7400 letters in cite-prefix.
7401
a1eacd1e
LMI
74022012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7403
7404 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7405
787cdb34
CY
74062012-01-03 Chong Yidong <cyd@gnu.org>
7407
1d00653d
SM
7408 * shell.el (shell-dynamic-complete-functions):
7409 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7410 comint-filename-completion first (Bug#10417).
7411
30710442
RS
74122012-01-02 Richard Stallman <rms@gnu.org>
7413
7414 * battery.el (battery-status-function):
7415 Detect when to use battery-yeeloong-sysfs.
7416 (battery-echo-area-format): Add string for Yeeloong.
7417 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7418 (battery-yeeloong-sysfs): New function.
7419
f75bfc33
CY
74202012-01-02 Chong Yidong <cyd@gnu.org>
7421
7422 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7423 (dirtrack): Merge code for handling relative filenames in prompt
7424 from shell-dir-cookie-watcher.
7425 (dirtrack-debug-message): New arg to avoid excess format calls.
7426
7427 * shell.el (shell-dir-cookie-re): Variable deleted.
7428 (shell-dir-cookie-watcher): Function deleted.
7429 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7430 with dirtrack-mode.
7431
651e947e
EZ
74322012-01-01 Eli Zaretskii <eliz@gnu.org>
7433
1d00653d
SM
7434 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7435 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7436 libgnutls-26.dll.
7437
94d4c7dc
AS
74382011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7441
8d43f3cd
EZ
74422011-12-31 Eli Zaretskii <eliz@gnu.org>
7443
7444 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7445 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7446
98c8795a
MA
74472011-12-29 Michael Albinus <michael.albinus@gmx.de>
7448
7449 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7450 also for alternative shells.
7451 (tramp-open-connection-setup-interactive-shell): Check, whether
7452 the shell is a busybox.
7453 (tramp-send-command): Don't suppress multiple prompts for
7454 busyboxes, it hurts.
7455
51281b32
CY
74562011-12-28 Chong Yidong <cyd@gnu.org>
7457
7458 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7459 (gdb-get-source-file): Move mode line update to
7460 gdb-get-source-file (Bug#10087).
7461
2170cb53
CY
74622011-12-25 Chong Yidong <cyd@gnu.org>
7463
7464 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7465 gud-gdb-marker-filter without taking it as an argument.
7466 (gud-gdb-run-command-fetch-lines): Caller changed.
7467 (gud-gdb-completion-function): New variable.
7468 (gud-gdb-completion-at-point): Use it.
7469 (gud-gdb-completions-1): Split from gud-gdb-completions.
7470
7471 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7472 function as separate arguments.
7473 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7474 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7475 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7476 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7477 (gdb-stopped, def-gdb-auto-update-trigger)
7478 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7479 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7480 Callers changed.
2170cb53
CY
7481 (gud-gdbmi-completions): New function.
7482 (gdb): Use it for generating the completion table.
7483
be8b11bb
AM
74842011-12-24 Alan Mackenzie <acm@muc.de>
7485
7486 Introduce a mechanism to widen the region used in context font
1d00653d 7487 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7488
1d00653d
SM
7489 * progmodes/cc-langs.el (c-before-font-lock-functions):
7490 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7491 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7492 functions to be run just before context (etc.) font locking.
7493
7494 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7495 New, functionality extracted from
be8b11bb 7496 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7497 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7498 (c-after-change): Set c-in-after-change-fontification.
7499 (c-set-fl-decl-start): Rejig its interface, so it can be called
7500 from both after-change and context fontifying.
b81d40f0
JB
7501 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7502 New functions.
7503 (c-standard-font-lock-fontify-region-function): New variable.
7504 (c-font-lock-fontify-region): New function.
be8b11bb 7505
341cf6ac
JL
75062011-12-24 Juri Linkov <juri@jurta.org>
7507
7508 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7509 (Bug#10348)
7510
bffcee0a
MA
75112011-12-23 Michael Albinus <michael.albinus@gmx.de>
7512
7513 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7514 existence of source file. (Bug#10325)
7515
cb5e207c
AM
75162011-12-23 Alan Mackenzie <acm@muc.de>
7517
7518 Fix unstable fontification inside templates.
7519
b81d40f0
JB
7520 * progmodes/cc-langs.el (c-before-font-lock-functions):
7521 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7522 additionally has c-set-fl-decl-start. The other languages (apart
7523 from AWK) have that as a single entry.
7524
b81d40f0
JB
7525 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7526 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7527 c-set-fl-decl-start.
7528
b81d40f0
JB
7529 * progmodes/cc-mode.el (c-common-init, c-after-change):
7530 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7531 (c-set-fl-decl-start): New function, extracted from
7532 c-font-lock-enclosing-decls and enhanced.
7533
60ff536c
JB
75342011-12-23 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7537
1c4757d6
JL
75382011-12-22 Juri Linkov <juri@jurta.org>
7539
7540 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7541
d031f2c7
CY
75422011-12-22 Chong Yidong <cyd@gnu.org>
7543
7544 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7545
bace743a
DA
75462011-12-21 Drew Adams <drew.adams@oracle.com>
7547
7548 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7549
728a1f2b
JC
75502011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7551
7552 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7553
0d373f73
TZ
75542011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7555
fec0aaa4
TZ
7556 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7557 highlighting and support. Fix up comments for capitalization.
7558 (cfengine-mode-debug): New var.
7559 (cfengine3-mode): Change the modeline indicator to "CFE3".
7560 (cfengine3-font-lock-keywords): Improve defun highlighting.
7561 (cfengine2-actions): Rename from `cfengine-actions'.
7562 (cfengine2-font-lock-keywords): Rename from
7563 `cfengine-font-lock-keywords'.
7564 (cfengine2-imenu-expression): Rename from
7565 `cfengine-imenu-expression'.
7566 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7567 (cfengine2-beginning-of-defun): Rename from
7568 `cfengine-beginning-of-defun'.
7569 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7570 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7571 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7572 modeline indicator to "CFE2".
7573 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7574 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7575
bc86f573
CY
75762011-12-21 Chong Yidong <cyd@gnu.org>
7577
7578 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7579 filename argument.
7580
d45ba96b
MR
75812011-12-20 Martin Rudalics <rudalics@gmx.at>
7582
7583 * window.el (window-normalize-buffer-to-display): Remove.
7584 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7585
a6198c90
CY
75862011-12-19 Chong Yidong <cyd@gnu.org>
7587
7588 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7589 Don't signal an error in a predicate function; return non-nil.
7590 (vc-dir-mark-file): Move the error here.
7591 (vc-dir-mark-unmark): If acting on the region, keep going if one
7592 of the entries cannot be marked/unmarked.
7593 (vc-dir-mark-all-files): If current entry is a directory, mark
7594 only child files, as documented.
7595
34c5fb55
VB
75962011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7597
7598 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7599 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7600 addition.
7601
c803b2b7
JD
76022011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7603
7604 * term/ns-win.el (ns-get-selection-internal)
7605 (ns-store-selection-internal): Declare.
1154d12e
JB
7606 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7607 Declare as obsolete.
7608 (ns-get-pasteboard, ns-paste-secondary):
7609 Use ns-get-selection-internal.
7610 (ns-set-pasteboard, ns-copy-including-secondary):
7611 Use ns-store-selection-internal.
c803b2b7 7612
9cff91f8 76132011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7614
7615 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7616 (vc-deduce-fileset): Doc fix.
99a289d9 7617
f16c898a
AS
76182011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7619
7620 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7621
763237c4
SS
76222011-12-13 Sam Steingold <sds@gnu.org>
7623
7624 * man.el (Man-getpage-in-background): When running under a
7625 window-system, ignore $MANWIDTH and $COLUMNS.
7626
5fc1c122
KH
76272011-12-15 Kenichi Handa <handa@m17n.org>
7628
7629 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7630 (setup-ethiopic-environment-internal): Comment out key-binding for
7631 ethio-toggle-punctuation.
7632
13d49cbb
AM
76332011-12-13 Alan Mackenzie <acm@muc.de>
7634
898169a2
AM
7635 Add the switch statement to AWK Mode.
7636
7a71b18d 7637 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7638 "default" to the keywords regexp.
7639
7a71b18d 7640 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7641 expression as the rest.
1d00653d
SM
7642 (c-nonlabel-token-key): Allow string literals for AWK.
7643 Refactor for the other modes.
898169a2 7644
13d49cbb 7645 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7646 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7647 routines. Limit backward searching in c-font-lock-enclosing.decl.
7648
7649 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7650 pp-state and literal type in addition to the limits.
1d00653d 7651 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7652 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7653 (c-slow-in-literal, c-fast-in-literal): Remove.
7654 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7655
7656 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7657 being in a literal. Add a limit for backward searching.
7658
7659 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7660 c-slow-in-literal.
7661
15e0efc7
SM
76622011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7665
454592a6
MR
76662011-12-13 Martin Rudalics <rudalics@gmx.at>
7667
7668 * window.el (delete-other-windows): Use correct frame in call to
7669 window-with-parameter.
7670
87393f26
DP
76712011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7672
7673 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7674 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7675 (makefile-gmake-statements, makefile-makepp-statements):
7676 Use it and add new makepp keywords.
7677 (makefile-makepp-font-lock-keywords): Add new patterns.
7678 (makefile-match-function-end): Match new [...] and [[...]].
7679
11636b22
JB
76802011-12-11 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * ses.el (ses-call-printer-return, ses-cell-property-get)
7683 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7684 (ses-create-cell-variable, ses-reset-header-string)
7685 (ses-cell-set-formula, ses-repair-cell-reference-all)
7686 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7687 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7688 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7689 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7690 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7691 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7692 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7693 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7694 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7695 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7696 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7697 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7698
cf018193
VB
76992011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7700
7701 * ses.el: The overall change is to add cell renaming, that is
7702 setting fancy names for cell symbols other than name matching
7703 "\\`[A-Z]+[0-9]+\\'" regexp .
7704 (ses-create-cell-variable): New defun.
7705 (ses-relocate-formula): Relocate formulas only for cells the
7706 symbols of which are not renamed, i.e. symbols whose names do not
7707 match regexp "\\`[A-Z]+[0-9]+\\'".
7708 (ses-relocate-all): Relocate values only for cells the symbols of
7709 which are not renamed.
7710 (ses-load): Create cells variables as the (ses-cell ...) are read,
7711 in order to check row col consistency with cell symbol name only
7712 for cells that are not renamed.
7713 (ses-replace-name-in-formula): New defun.
7714 (ses-rename-cell): New defun.
7715
ee957461
CY
77162011-12-11 Chong Yidong <cyd@gnu.org>
7717
7718 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7719 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7720
9a9e9ef0
MR
77212011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7722
7723 * window.el (other-window): Fix docstring.
7724
92a8eba5
EZ
77252011-12-10 Eli Zaretskii <eliz@gnu.org>
7726
7727 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7728 `from' or `to' address before taking its substring.
7729 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7730 encoded name is chopped in the middle of the encoded string, and
7731 thus displayed encoded.
7732
e152e577
JB
77332011-12-10 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7736
e5d84bfe
EZ
77372011-12-10 Eli Zaretskii <eliz@gnu.org>
7738
7739 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7740 to use texinfo-update-node and commands that call it if the
7741 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7742 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7743 (texinfo-all-menus-update, texinfo-master-menu)
7744 (texinfo-update-node, texinfo-every-node-update)
7745 (texinfo-multiple-files-update): Doc fix. Warn against updating
7746 all the @node lines.
7747 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7748 argument is numeric. Explain better in the doc string what the
7749 function really does.
7750 (texinfo-insert-master-menu-list): Improve the error message
7751 displayed if there's no menu in the Top node.
7752 (Bug#2975) See also this thread:
e5d84bfe
EZ
7753 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7754
1d84e9bb
MG
77552011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7756
7757 * speedbar.el (speedbar-supported-extension-expressions):
7758 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7759
382c953b
JB
77602011-12-09 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * printing.el (pr-mode-alist):
7763 * simple.el (filter-buffer-substring-functions)
7764 (completion-list-insert-choice-function):
7765 * window.el (window-with-parameter, window-atom-root)
7766 (window-sides-slots, window-size-fixed, window-min-delta)
7767 (window-max-delta, window--resize-mini-window)
7768 (window--resize-child-windows-normal, window-tree)
7769 (delete-other-windows, quit-window, split-window)
7770 (display-buffer-record-window, special-display-buffer-names)
7771 (special-display-regexps, special-display-popup-frame)
7772 (same-window-p, split-window-sensibly)
7773 (display-buffer-overriding-action, display-buffer-alist)
7774 (display-buffer-base-action, display-buffer, switch-to-buffer)
7775 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7776 (fit-window-to-buffer, recenter-positions)
7777 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7778 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7779 and remove unneeded backslashes in docstrings.
7780
39c9faef
SM
77812011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7782
98449af8
SM
7783 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7784
39c9faef
SM
7785 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7786 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7787 end in ".mk".
7788 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7789 when reading the makefile (bug#10116).
7790
86ed9fdc
SM
77912011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7794 (bug#10116).
7795
5580f89d
GM
77962011-12-06 Glenn Morris <rgm@gnu.org>
7797
7798 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7799
28d3917c
CY
78002011-12-06 Chong Yidong <cyd@gnu.org>
7801
7802 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7803
a98edce9
JB
78042011-12-06 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * textmodes/table.el (table-shorten-cell): Fix typo.
7807
e65adfac
CG
78082011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7809
7810 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7811
71cc0b74
EZ
78122011-12-05 Eli Zaretskii <eliz@gnu.org>
7813
7814 * descr-text.el (describe-char): Fix display of strong
7815 right-to-left characters and directional embeddings and overrides.
7816
7817 * simple.el (what-cursor-position): Fix display of codepoints of
7818 strong right-to-left characters.
7819
315bc30d
CY
78202011-12-05 Chong Yidong <cyd@gnu.org>
7821
7822 * faces.el (read-color): Doc fix.
7823
58a70b94
GM
78242011-12-05 Glenn Morris <rgm@gnu.org>
7825
7826 * align.el (align--set-marker): Add doc-string.
7827 Don't try to move something that is not a marker. (Bug#10216)
7828
5158face
GM
78292011-12-04 Glenn Morris <rgm@gnu.org>
7830
7831 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7832 overly zealous deletion of trailing whitespace.
7833
520fca41
JB
78342011-12-04 Juanma Barranquero <lekktu@gmail.com>
7835
7836 * server.el (server-delete-client): On Windows, do not try to delete
7837 the only terminal.
7838 (server-process-filter): On Windows, treat requests for a tty frame as
7839 if they were for a GUI frame if the running server is in GUI mode.
7840
5e605a2e
GM
78412011-12-03 Glenn Morris <rgm@gnu.org>
7842
7843 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7844
5c3fe83f
SM
78452011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7846
6f5e57e7
SM
7847 * electric.el: Streamline electric-indent's hook.
7848 (electric-indent-chars): Revert to simple list.
7849 (electric-indent-functions): New var.
7850 (electric-indent-post-self-insert-function): Use it.
7851
5c3fe83f
SM
7852 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7853 there's no inferior buffer (bug#10196).
7854 (prolog-consult-compile): Don't use toggle-read-only.
7855
6bdac736
MA
78562011-12-02 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7859 interrupt. (Bug#10187)
7860
6131ba7f
SM
78612011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7862
99c79fee
SM
7863 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7864 (bug#9160).
7865
6131ba7f
SM
7866 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7867 (bug#10191).
7868
cb0a02ea
JL
78692011-12-02 Juri Linkov <juri@jurta.org>
7870
7871 * info.el (Info-search): Display "end of manual" when Isearch
7872 reaches the end of single-file Info manual. (Bug#9918)
7873
66e0570c
EZ
78742011-12-02 Eli Zaretskii <eliz@gnu.org>
7875
7876 * isearch.el (isearch-message-prefix): Run the input method part
7877 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7878
02b16839
JL
78792011-12-02 Juri Linkov <juri@jurta.org>
7880
7881 * isearch.el (isearch-occur): Use `word-search-regexp' for
7882 `isearch-word'.
7883 (isearch-search-and-update): Add condition for `isearch-word' and
7884 call `word-search-regexp'. (Bug#10145)
7885
0b950688
GM
78862011-12-01 Glenn Morris <rgm@gnu.org>
7887
7888 * eshell/em-hist.el (eshell-hist-initialize):
7889 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7890 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7891
9505c3c7
SM
78922011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7895
1bbe96b2 78962011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7897
a1beca85
SM
7898 * progmodes/verilog-mode.el (verilog-pretty-expr):
7899 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7900 verilog, such as += *= and the like.
7901 (verilog-assignment-operator-re): Regular expression to find the
7902 assigment operator in a verilog assignment.
7903 (verilog-assignment-operation-re): Regular expression to find an
7904 assignment statement for pretty-expr.
7905 (verilog-in-attribute-p): Query returns true if point is in an
7906 attribute context; used to skip these for expression line up from
7907 pretty-expr.
7908 (verilog-in-parameter-p): Query returns true if point is in an
7909 parameter definition context; used to skip these for expression
7910 line up from pretty-expr.
7911 (verilog-in-parenthesis-p): Query returns true if point is in a
7912 parenthetical expression, specifically ( ) but not [ ] or { };
7913 used by pretty-expr.
7914 (verilog-just-one-space): If there is no space, don't add one.
7915 (verilog-get-lineup-indent-2): Specifically skip just attribute
7916 contexts for expression lineup, rather than skipping all
7917 parenthetical expressions.
7918 (verilog-calculate-indent): Fix comment, and fix indent.
7919 (verilog-do-indent): Indent declarations in lists (suggested by
7920 Joachim Lechner).
7921 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7922 skeleton items.
7923 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7924 by Alain Mellan).
7925
1bbe96b2 79262011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7927
7928 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7929 parameters with embedded comments. Reported by Ray Stevens.
7930 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7931 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7932 Reported by Tim Holt.
7933 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7934 instantiated by upper module causing wrong expansion until AUTOed a
7935 second time. Reported by K C Buckenmaier.
7936 (verilog-diff-auto): Fix showing .* as a difference when
7937 `verilog-auto-star-save' off. Reported by Dan Dever.
7938 (verilog-auto-reset, verilog-read-always-signals)
7939 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7940 temporary signals in reset list if
7941 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7942 style to each signal's assignment type, bug381.
7943 Reported by Thomas Esposito.
6288f0ca
WS
7944 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7945 (verilog-uvm-statement-re): Support UVM indentation and
7946 highlighting, with old OVM keywords only.
a1beca85 7947 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7948 Support AUTOTIEOFF creating non-wire data types.
7949 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7950 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7951 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7952 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7953 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7954 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7955 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7956 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7957 non-numeric vector width. Reported by Alex Reed.
7958 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7959 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7960 (verilog-auto-delete-trailing-whitespace):
7961 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7962 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7963 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7964 Fix verilog-scan-cache corruption when running user AUTO expansion
7965 hooks that call indentation routines.
7966 (verilog-simplify-range-expression): Fix typo ignoring lower case
7967 identifiers.
7968 (verilog-delete-auto): Fix delete-autos to also remove user created
7969 automatics, as long as they start with AUTO.
7970 (verilog-batch-diff-auto, verilog-diff-auto)
7971 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7972 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7973 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7974 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7975 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7976 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7977 is disabled and its cache will get corrupt, causing AUTOS not to
7978 expand. Instead use only -quick functions.
7979 (verilog-scan-region): Fix scanning over escaped quotes.
7980 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7981 (verilog-re-search-backward-quick)
7982 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7983 related functions now ignore strings, to fix misparsing of strings
7984 with magic comments embedded in them.
a1beca85
SM
7985 (verilog-read-auto-template):
7986 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7987 Reported by Brad Dobbie.
7988 (verilog-read-auto-template):
7989 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7990 Reported by Brad Dobbie.
6288f0ca
WS
7991 (verilog-auto-inst, verilog-auto-inst-param)
7992 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7993 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7994 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7995 debugging templates without merge conflicts, bug357.
7996 Reported by Brad Dobbie.
7997 (verilog-read-auto-template):
7998 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7999 Reported by Brad Dobbie.
8000 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8001 abbrevs so user won't be asked to save.
8002 (verilog-read-auto-lisp-present): Fix to start at beginning of
8003 buffer in case called outside of verilog-auto.
8004 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8005 to "X-2". Reported by Matthew Myers.
8006 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8007 all inputs from module templates. Reported by Leith Johnson.
8008 (verilog-module-inside-filename-p): Fix locating programs as with
8009 modules.
8010 (verilog-auto-inst-port): Fix vl-width expressions when using
8011 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8012 (verilog-decls-get-regs, verilog-decls-get-signals,
8013 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8014 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8015 verilog-read-decls): Combine reg and wire structures into one var
8016 structure to represent SystemVerilog concepts.
8017 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8018 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8019 (verilog-auto-wire-type, verilog-insert-definition):
8020 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8021 SystemVerilog "logic" keyword instead of "wire"/"reg".
8022 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8023 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8024 ifdef or generate if so there's not a driver conflict).
8025 Reported by Matthew Myers.
8026 (verilog-auto-declare-nettype, verilog-insert-definition):
8027 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8028 `default_nettype none. Reported by Julian Gorfajn.
8029 (verilog-read-always-signals-recurse, verilog-read-decls)
8030 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8031 malformed end statement, bug325. Reported by Joshua Wise and
8032 Andrew Drake.
8033 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8034 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8035 when expanding .* in interfaces, bug320.
8036 Reported by Pierre-David Pfister.
6288f0ca 8037 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8038 name and open parenthesis, bug317.
8039 Reported by Pierre-David Pfister.
6288f0ca
WS
8040 (verilog-simplify-range-expression): Fix simplification of
8041 multiplications inside AUTOWIRE connections, bug303.
8042 (verilog-auto-inst-port): Support parameter expansion in
8043 multidimensional arrays.
8044 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8045 after "assert property". Reported by Julian Gorfajn.
8046 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8047 with multiplication, bug303.
8048 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8049 Reported by Jan Frode Lonnum.
8050
1bbe96b2
GM
80512011-11-30 Juanma Barranquero <lekktu@gmail.com>
8052
8053 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8054 (hfy-shell-file-name, hfy-shell):
8055 * international/fontset.el (x-decompose-font-name): Fix typos.
8056
80572011-11-29 Ken Brown <kbrown@cornell.edu>
8058
8059 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8060 (gdb-version): Remove defvar.
8061 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8062 (gdb-gud-context-command, gdb-non-stop-handler)
8063 (gdb-current-context-command, gdb-stopped): Use it.
8064 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8065 (gdb-non-stop-handler): Don't enable pretty-printing here.
8066 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8067 non-stop mode. Use the following.
8068 (gdb-check-target-async): New defun.
8069 (gud-watch, gdb-stopped): Fix whitespace.
8070 (gdb-get-source-file): Don't try to display the source file if
8071 `gdb-main-file' is nil.
8072
80732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * align.el: Try to generate fewer markers (bug#10047).
8076 (align--set-marker): New macro.
8077 (align-region): Use it.
8078
c935221f
SM
80792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8080
8081 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8082
e70b5064
CY
80832011-11-29 Chong Yidong <cyd@gnu.org>
8084
8085 * indent.el (indent-for-tab-command, indent-according-to-mode):
8086 Doc fix.
8087 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8088
f3af92b7
MA
80892011-11-29 Michael Albinus <michael.albinus@gmx.de>
8090
8091 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8092 aware of remote file names. (Bug#10124)
8093
ed472be9
CY
80942011-11-29 Chong Yidong <cyd@gnu.org>
8095
8096 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8097
24510c22
SM
80982011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * files.el (find-file): Don't use force-same-window (bug#10144).
8101 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8102 use pop-to-buffer if the selected window can't be used.
8103 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8104
c60c3703
EZ
81052011-11-28 Eli Zaretskii <eliz@gnu.org>
8106
8107 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8108 special-mode-map.
8109
e95def75
CY
81102011-11-28 Chong Yidong <cyd@gnu.org>
8111
8112 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8113
c3f1c606
NR
81142011-11-27 Nick Roberts <nickrob@snap.net.nz>
8115
8116 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8117 gdb-get-source-file-list on gdb-create-source-file-list.
8118
00db469c
EZ
81192011-11-26 Eli Zaretskii <eliz@gnu.org>
8120
8121 * whitespace.el (whitespace-newline): Use a different foreground
8122 color for 16-color light-background displays.
8123
4ad3bc2a
CY
81242011-11-24 Chong Yidong <cyd@gnu.org>
8125
8126 * window.el (display-buffer--special-action): Doc fix.
8127
e9fce1ac
JB
81282011-11-25 Juanma Barranquero <lekktu@gmail.com>
8129
8130 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8131 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8132 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8133 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8134 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8135 (avl-tree-stack-first):
8136 * emacs-lisp/cconv.el (cconv--analyse-use):
8137 * net/gnutls.el (gnutls-negotiate): Fix typos.
8138
cb825e5d
GM
81392011-11-24 Glenn Morris <rgm@gnu.org>
8140
3adbe224
GM
8141 * lpr.el (lpr-windows-system, lpr-lp-system):
8142 * mail/binhex.el (binhex-begin-line):
8143 * progmodes/grep.el (grep-history, grep-find-history):
8144 * textmodes/flyspell.el:
8145 * vc/pcvs-defs.el (cvs-global-menu):
8146 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8147 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8148 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8149
321decc8
GM
8150 * net/tls.el: Fix case of "GnuTLS".
8151
420b63ad
GM
8152 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8153
cb825e5d
GM
8154 * version.el (emacs-build-system): Give it a doc-string.
8155
a0649f08
JL
81562011-11-24 Juri Linkov <juri@jurta.org>
8157
8158 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8159
c0bc0fd4
GM
81602011-11-24 Glenn Morris <rgm@gnu.org>
8161
8162 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8163 if called on a non-mime message just toggle the headers. (Bug#8006)
8164
20db1522
JB
81652011-11-24 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8168 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8169 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8170 (allout-rebullet-heading, allout-open-sibtopic)
8171 (allout-toggle-current-subtree-encryption)
8172 (allout-toggle-subtree-encryption, allout-encrypt-string)
8173 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8174 (allout-distinctive-bullets-string, allout-auto-activation):
8175 * window.el (window-normalize-buffer-to-display):
8176 * progmodes/verilog-mode.el (verilog-batch-indent):
8177 * textmodes/bibtex.el (bibtex-field-braces-opt)
8178 (bibtex-field-strings-opt):
8179 * vc/cvs-status.el (cvs-tree-merge):
8180 Fix typos.
8181
7262a87c
MA
81822011-11-23 Michael Albinus <michael.albinus@gmx.de>
8183
8184 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8185 `non-essential' to t, in order to avoid remote connections.
8186
283430a1
EZ
81872011-11-23 Eli Zaretskii <eliz@gnu.org>
8188
a1beca85
SM
8189 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8190 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8191 case-insensitively.
8192
d2992a38
ML
81932011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8194
8195 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8196
50419064
GM
81972011-11-23 Glenn Morris <rgm@gnu.org>
8198
da94eca1
GM
8199 * paths.el (rmail-file-name): Reformat the doc-string so that it
8200 is picked up.
8201
9aac4de2
GM
8202 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8203 (rmail-auto-file): Ignore case in the "special" field names,
8204 as mail-fetch-field does for all others.
8205
8038d2d2
GM
8206 * mail/rmail.el (rmail-forward):
8207 * mail/rmailkwd.el (rmail-set-label):
8208 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8209 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8210
f3fe222a
GM
8211 * mail/rmail.el (rmail-current-message): Doc fix.
8212
50419064
GM
8213 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8214
28109f49
SM
82152011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8218
394c65f1
GM
82192011-11-22 Glenn Morris <rgm@gnu.org>
8220
8221 * mail/rmailmm.el (test-rmail-mime-handler)
8222 (test-rmail-mime-bulk-handler)
8223 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8224
f2a0aa3a
JL
82252011-11-21 Juri Linkov <juri@jurta.org>
8226
1154d12e
JB
8227 * calc/calc.el (calc-read-key-sequence):
8228 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8229
9c34a344
LMI
82302011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8231
8232 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8233 Tell the caller that the next line needs recomputation, even
8234 though it doesn't start a sexp (bug#10094).
8235
f04a3be9
SM
82362011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8239
7978747f
SM
82402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8241
f04a3be9
SM
8242 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8243 Use force-same-window.
7978747f 8244
fe7a3057
JB
82452011-11-20 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * descr-text.el (describe-char-unicode-data):
8248 * json.el (json-string-escape):
8249 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8250 (Footnote-unicode, Footnote-style-p):
8251 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8252
24901d61
CY
82532011-11-20 Chong Yidong <cyd@gnu.org>
8254
8255 * window.el (replace-buffer-in-windows): Restore interactive spec.
8256
bac7ff22
SM
82572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8258
24f3d7b9
SM
8259 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8260
bac7ff22
SM
8261 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8262 (byte-compile-global-not-obsolete-vars): New var.
8263 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8264 Use it.
8265 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8266
cd1181db
JB
82672011-11-20 Juanma Barranquero <lekktu@gmail.com>
8268
8269 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8270 * progmodes/pascal.el (electric-pascal-equal):
8271 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8272 * xml.el (xml-substitute-special): Fix typos.
8273
7fb18e9e
GM
82742011-11-20 Glenn Morris <rgm@gnu.org>
8275
8276 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8277 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8278 Doc fixes.
8279 (rmail-decode-mime-charset): Mark as obsolete.
8280
8281 * mail/rmailsum.el (rmail-message-regexp-p-1):
8282 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8283 Before using mime functions, check they are set. (Bug#10077)
8284
d5a6b3ba
JL
82852011-11-19 Juri Linkov <juri@jurta.org>
8286
8287 * info.el (Info-finder-find-node): Use `package--builtins' instead
8288 of `package-alist'. Use node names formed by the pattern "Keyword "
8289 and the keyword name.
8290
e981b61f
AS
82912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8292
1d00653d 8293 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8294
3ffbc301
JL
82952011-11-19 Juri Linkov <juri@jurta.org>
8296
8297 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8298 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8299 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8300 `old-history', `old-history-forward'. Add let-binding
8301 `window-selected'. Remove calls to `kill-buffer',
8302 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8303 before calling `Info-find-node', so `Info-find-node-2' will reread
8304 the Info file. Restore window positions only when `window-selected'
8305 is non-nil.
8306
30c62133
JL
83072011-11-19 Juri Linkov <juri@jurta.org>
8308
8309 * isearch.el (isearch-lazy-highlight-new-loop):
8310 Remove condition `(not isearch-error)'. (Bug#9918)
8311
8312 * misearch.el (multi-isearch-search-fun): Add condition
8313 `(not bound)' to ignore lazy-highlighting search.
8314 Add the search-failed message "end of multi" when the end of
8315 multi-sequence is reached. Uncapitalize the search-failed
8316 message "Repeat for next buffer".
8317
8318 * info.el (Info-search): Add the search-failed message
8319 "end of the manual" when the end of the manual is reached
8320 in Isearch mode.
8321
645ca9cf
JL
83222011-11-19 Juri Linkov <juri@jurta.org>
8323
8324 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8325 Use non-destructive `remove' instead of `delete' because
8326 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8327 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8328
df754f66
JL
83292011-11-19 Juri Linkov <juri@jurta.org>
8330
8331 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8332 to nil instead of binding `search-ring' and `regexp-search-ring'.
8333 (Bug#9185)
8334
0e23d96a
EZ
83352011-11-19 Eli Zaretskii <eliz@gnu.org>
8336
8337 * simple.el (line-move): Force movement by logical lines for any
8338 hscrolled window, not only when auto-hscroll-mode is on.
8339 (line-move-visual): Update doc string to that effect. (Bug#10076)
8340
8a6ccb66
AS
83412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8342
8343 * language/european.el (macintosh): Define as alias for mac-roman.
8344
49ae5b39
EZ
83452011-11-19 Eli Zaretskii <eliz@gnu.org>
8346
8347 * mail/rmailmm.el (rmail-mime-display-header)
8348 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8349 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8350 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8351 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8352 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8353 of a raw aref.
8354 (rmail-mime-entity-segment): To get past the tagline, move forward
8355 2 more lines, to account for the 2 empty lines that precede and
8356 follow the line with the buttons.
8357 (rmail-mime-update-tagline): Move one more line, to get past the
8358 empty line that follows the buttons in the tagline. (Bug#9520)
8359
c56cad4a
MR
83602011-11-19 Martin Rudalics <rudalics@gmx.at>
8361
8362 * window.el (window-max-delta-1, window-min-delta-1)
8363 (window-min-size-1, window-state-get-1, window-state-put-1)
8364 (window-state-put-2): Use "window--" prefix.
8365
cbe71af3
SM
83662011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8367
2ad52c60
SM
8368 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8369 (smie-warning-count): New var.
8370 (smie-set-prec2tab): Use it.
8371 (smie-bnf->prec2): Improve warnings. Add docstring.
8372 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8373 (smie-bnf--set-class): New function.
8374 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8375 corner case.
8376
6944dbc1
SM
8377 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8378 (compilation-error-properties, compilation-move-to-column):
8379 Handle compilation-first-column while in the target buffer.
8380
c400c4d7
SM
8381 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8382 Don't hardcode point-min==1.
8383
6dbe3e96
SM
8384 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8385 (eshell-rewrite-for-command): Remove workaround.
8386 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8387 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8388 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8389
cbe71af3
SM
8390 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8391
a8e1496d
GM
83922011-11-17 Glenn Morris <rgm@gnu.org>
8393
8394 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8395 Ignore buffer-local generated-autoload-file if it is the same
8396 as the global value. (Bug#10049)
8397
df85d315
JB
83982011-11-17 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8401 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8402 (reftex-toc-previous-heading, reftex-toc-max-level)
8403 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8404 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8405 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8406 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8407 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8408 (reftex-toc-rename-label, reftex-toc-visit-location)
8409 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8410 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8411 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8412 leaving "*toc*" only for references to the buffer.
8413
a0c2d0ae
MR
84142011-11-17 Martin Rudalics <rudalics@gmx.at>
8415
8416 * window.el (window-resize, delete-window, split-window):
8417 Replace window-splits by window-combination-resize.
1d00653d 8418 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8419
35c0bac8
GM
84202011-11-17 Glenn Morris <rgm@gnu.org>
8421
8422 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8423 Make bash entry derive from sh entry, not shell entry.
8424
d0c8fc8a
MA
84252011-11-16 Michael Albinus <michael.albinus@gmx.de>
8426
7262a87c
MA
8427 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8428 local file name.
8429
7877f373
JB
84302011-11-16 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * menu-bar.el (menu-bar-file-menu):
8433 * printing.el (pr-ps-utility):
8434 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8435 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8436 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8437 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8438 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8439 (icalendar--convert-cyclic-to-ical)
8440 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8441 (icalendar--convert-ical-to-diary)
8442 (icalendar--convert-recurring-to-diary)
8443 (icalendar--convert-non-recurring-all-day-to-diary)
8444 (icalendar-import-format-sample):
8445 * progmodes/idlw-shell.el (idlwave-shell-mode):
8446 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8447 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8448 (vhdl-ps-print-init): Fix typos.
8449
10649b82
KM
84502011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8451
9d0cfcd6
GM
8452 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8453 FSF and collapse date sequence, obscure author/maintainer email address
8454 better, remove extra version line, track relocation of author's webpage.
10649b82 8455
9d0cfcd6
GM
8456 * progmodes/python.el (python-pdbtrack-input-prompt)
8457 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8458 regular python pdb prompts. Adjustments shamelessly taken exactly as
8459 suggested in EmacsWiki page (tiny change):
8460 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8461
58179cce
JB
84622011-11-16 Juanma Barranquero <lekktu@gmail.com>
8463
8464 * expand.el (expand-pos, expand-index, expand-point):
8465 Remove redundant info from docstring.
8466 (expand-add-abbrevs): Doc fix.
8467 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8468 (expand-sample-perl-mode-expand-list): Fix typos.
8469
8470 * net/dbus.el (dbus-event-member-name):
8471 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8472 * term/pc-win.el (msdos-create-frame-with-faces):
8473 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8474
b6f67890
MR
84752011-11-16 Martin Rudalics <rudalics@gmx.at>
8476
8477 * window.el (split-window, window-state-get-1)
8478 (window-state-put-1, window-state-put-2): Rename occurrences of
8479 window-nest to window-combination-limit.
1d00653d 8480 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8481
ce7ddba0
CY
84822011-11-16 Chong Yidong <cyd@gnu.org>
8483
8484 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8485 regexp (Bug#10033).
8486
3ae704f4
SM
84872011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8490 `completing-read' will remove *Completions* and will preserve
8491 current-buffer for us.
8492 (tmm-add-prompt): Users of *Completions* will always (re)set its
8493 major mode.
8494 (tmm-old-comp-map): Remove.
8495
6ad1cdde
GM
84962011-11-16 Glenn Morris <rgm@gnu.org>
8497
8498 * mail/rmailedit.el: Require rmailmm when compiling.
8499 (rmail-old-mime-state): New declaration.
8500 (rmail-edit-current-message): If editing a mime message,
8501 edit the "raw" message from the mbox buffer.
8502 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8503
d20faa20
GM
85042011-11-15 Glenn Morris <rgm@gnu.org>
8505
8506 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8507 which wasn't being used. Add optional arg to force given state.
8508 (rmail-mime): Add optional arg to force given state.
8509
c7015153
JB
85102011-11-15 Juanma Barranquero <lekktu@gmail.com>
8511
8512 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8513 * frame.el (display-mm-dimensions-alist):
8514 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8515 (outline-move-subtree-down):
8516 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8517 (newsticker--treeview-do-get-node):
8518 * net/quickurl.el (quickurl-list-buffer-name):
8519 * progmodes/dcl-mode.el (dcl-mode):
8520 * progmodes/gdb-mi.el (gdb-mapcar*):
8521 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8522
45261b50
GM
85232011-11-15 Glenn Morris <rgm@gnu.org>
8524
8525 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8526 in a boolean sense, so just make it a boolean, and fix the doc.
8527 (rmail-show-mime-function, rmail-mime-feature)
8528 (rmail-require-mime-maybe): Doc fixes.
8529 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8530
8531 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8532
0d26e0b6
JB
85332011-11-15 Juanma Barranquero <lekktu@gmail.com>
8534
8535 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8536 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8537 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8538 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8539
447f30f6
GM
85402011-11-15 Glenn Morris <rgm@gnu.org>
8541
672b871d
GM
8542 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8543 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8544 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8545 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8546 (rmail-mime, rmail-show-mime): Doc fixes.
8547
f6aa5bb1
GM
8548 * term/ns-win.el (mode-line-frame-identification):
8549 Leave it alone. (Bug#10051)
8550
947cd66b
GM
8551 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8552
447f30f6
GM
8553 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8554 Handle empty buffers. (Bug#9978)
8555
0b381c7e
JB
85562011-11-14 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * international/mule.el (define-charset):
8559 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8560 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8561 * progmodes/verilog-mode.el (verilog-backward-token):
8562 * textmodes/ispell.el (lookup-words):
8563 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8564
71e027ac
GM
85652011-11-14 Glenn Morris <rgm@gnu.org>
8566
56632ce4
GM
8567 * progmodes/executable.el
8568 (executable-make-buffer-file-executable-if-script-p):
8569 Handle file-modes returning nil.
8570
40500957
GM
8571 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8572 message - not necessary, and causes problems. (Bug#9831)
8573
071c2340
GM
8574 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8575
d3cfca60
GM
8576 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8577
71e027ac
GM
8578 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8579 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8580 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8581
89d61221
MR
85822011-11-12 Martin Rudalics <rudalics@gmx.at>
8583
8584 * window.el (window-resize, delete-window): Use window-splits
8585 variable instead of function.
8586 (window-state-get-1, window-state-put-2, window-state-put):
8587 Don't deal with windows' splits status.
8588
98282f6f
GM
85892011-11-12 Glenn Morris <rgm@gnu.org>
8590
8591 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8592 (apropos-documentation): Doc fixes.
8593
40a8bdf6
JB
85942011-11-11 Juanma Barranquero <lekktu@gmail.com>
8595
8596 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8597 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8598
65bd19ff
SM
85992011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * electric.el (electric-indent-post-self-insert-function): Make it
8602 possible for a char to only indent in some circumstances.
8603 (electric-indent-mode): Simplify.
8604
54f9154c
MR
86052011-11-11 Martin Rudalics <rudalics@gmx.at>
8606
8607 * window.el (windows-with-parameter): Remove unused function.
8608 (windows-at-side): Rename to window-at-side-list.
8609 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8610 (window-side-check, window-size-ignore, window-size-fixed-1)
8611 (window-in-direction-2): Prefix with "window--".
8612 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8613
68cbc58b
GM
86142011-11-11 Glenn Morris <rgm@gnu.org>
8615
8616 * subr.el (eval-after-load): If FILE is already loaded,
8617 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8618
b2621720
GM
86192011-11-10 Glenn Morris <rgm@gnu.org>
8620
9a4de110
GM
8621 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8622 Call svn via vc-svn-command rather than vc-do-command.
8623 (vc-svn-command): Add --non-interactive. (Bug#9993)
8624 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8625
b2621720
GM
8626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8627 Add toggle-read-only. (Bug#7292)
8628 * files.el (toggle-read-only): Mention that it should only
8629 be used interactively. (Bug#10006)
8630
1dce7193
SM
86312011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8632
d9ac1a1e
SM
8633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8634 Adjust regexp for OCaml warnings.
8635
0c325082
SM
8636 * electric.el (electric-pair-post-self-insert-function): Let user
8637 turn it off buffer-locally (bug#9932).
8638
90132c14
SM
8639 * progmodes/python.el (python-beginning-of-statement):
8640 Rewrite (bug#2703).
8641
1dce7193
SM
8642 * progmodes/compile.el: Better handle TABs (bug#9749).
8643 (compilation-internal-error-properties)
8644 (compilation-next-error-function): Obey the target buffer's
8645 compilation-error-screen-columns.
8646
c4e7c63a
JB
86472011-11-09 Juanma Barranquero <lekktu@gmail.com>
8648
8649 * progmodes/meta-mode.el: Remove obsolete comments.
8650 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8651 Fix typos in docstrings.
8652
2cffd681
MR
86532011-11-09 Martin Rudalics <rudalics@gmx.at>
8654
8655 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8656 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8657 (window--resizable): New function. Make all callers of
8658 window-resizable call window--resizable instead.
8659 (window-resizable): Rewrite in terms of window--resizable.
8660
0edcba87
GM
86612011-11-08 Glenn Morris <rgm@gnu.org>
8662
8663 * progmodes/delphi.el (delphi-mode-syntax-table):
8664 Let define-derived-mode define a proper syntax table. (Bug#9994)
8665
4b0d61e3
SM
86662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * window.el: Stay away from defsubst.
8669 (window-list-no-nils): Remove.
8670 (window-state-get-1, window-state-get): Use backquote instead.
8671
cd394be1 86722011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8673
4b0d61e3 8674 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8675 Fix incorrect use of default argument in `completing-read'.
8676
e1c2c6f2
MR
86772011-11-08 Martin Rudalics <rudalics@gmx.at>
8678
8679 * window.el (display-buffer-function, special-display-function):
8680 Mention display-buffer-record-window but do not mention
8681 help-setup parameter in doc-strings.
b3f4a882 8682 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8683
105216ed
CY
86842011-11-08 Chong Yidong <cyd@gnu.org>
8685
8686 * window.el (window-total-height, window-total-width): Doc fix.
8687 (window-body-size): Move from C.
8688 (window-body-height, window-body-width): Move to C.
8689
0a9f9ab5
SM
86902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * window.el: Make special-display like display-buffer-alist (bug#9532).
8693 (display-buffer--special-action): New function, morphed
8694 from display-buffer--special.
8695 (display-buffer): Use it to handle special-display-buffers at higher
8696 priority (just after display-buffer-alist).
8697 (display-buffer-fallback-action, display-buffer--other-frame-action)
8698 (pop-to-buffer-same-window): Remove display-buffer--special.
8699
a769dd15
GM
87002011-11-07 Glenn Morris <rgm@gnu.org>
8701
8702 * calendar/cal-menu.el (cal-menu-set-date-title):
8703 Do nothing if not in a calendar. (Bug#9976)
8704
05a61ee3
SM
87052011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * files.el (find-file): Always use selected-window.
8708
be7f5545
MR
87092011-11-07 Martin Rudalics <rudalics@gmx.at>
8710
8711 * window.el (window-combinations): Make WINDOW argument
8712 mandatory. Rewrite doc-string.
8713 (walk-window-subtree, window-atom-check, window-min-delta)
8714 (window-max-delta, window--resize-this-window)
8715 (window--resize-root-window-vertically, window-tree)
8716 (balance-windows, window-state-put): Rewrite doc-strings as to
8717 not mention the term "subwindow".
8718 (window--resize-subwindows-skip-p): Rename to
8719 window--resize-child-windows-skip-p.
8720 (window--resize-subwindows-normal): Rename to
8721 window--resize-child-windows-normal.
8722 (window--resize-subwindows): Rename to
8723 window--resize-child-windows.
8724 (window-or-subwindow-p): Rename to window--in-subtree-p.
8725
3c6702ef
ML
87262011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8727
8728 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8729 Ensure that mbox format messages end in two newlines (Bug#9974).
8730
49745b39
CY
87312011-11-06 Chong Yidong <cyd@gnu.org>
8732
8733 * window.el (window-combination-p): Function deleted; its
8734 side-effect is not used in any existing code.
8735 (window-combinations, window-combined-p): Call window-*-child
8736 directly.
8737
24300f5f
CY
87382011-11-05 Chong Yidong <cyd@gnu.org>
8739
8740 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8741 (window-size-ignore, window-state-get): Callers changed.
8742 (window-normalize-window): Rename from window-normalize-any-window.
8743 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8744 (window-normalize-live-window): Delete.
447f16b8
CY
8745 (window-combination-p, window-combined-p, window-combinations)
8746 (walk-window-subtree, window-atom-root, window-min-size)
8747 (window-sizable, window-sizable-p, window-size-fixed-p)
8748 (window-min-delta, window-max-delta, window-resizable)
8749 (window-resizable-p, window-full-height-p, window-full-width-p)
8750 (window-current-scroll-bars, window-point-1, set-window-point-1)
8751 (window-at-side-p, window-in-direction, window-resize)
8752 (adjust-window-trailing-edge, maximize-window, minimize-window)
8753 (window-deletable-p, delete-window, delete-other-windows)
8754 (record-window-buffer, unrecord-window-buffer)
8755 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8756 (quit-window, split-window, window-state-put)
8757 (set-window-text-height, fit-window-to-buffer)
8758 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8759
89bd5ee1
EZ
87602011-11-04 Eli Zaretskii <eliz@gnu.org>
8761
53479029
EZ
8762 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8763 rfc2047-decode-string.
8764 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8765 warnings.
8766
89bd5ee1
EZ
8767 * window.el (window-body-height, window-body-width): Mention in
8768 the doc string that the return values are in frame's canonical
8769 units. (Bug#9949)
8770
bd17fdee
AM
87712011-11-03 Alan Mackenzie <acm@muc.de>
8772
8773 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8774 change in cc-engine.el.
8775
acc825c5
SM
87762011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8779
1885e5b8
MR
87802011-11-02 Martin Rudalics <rudalics@gmx.at>
8781
8782 * window.el (quit-window): Call unrecord-window-buffer after
8783 showing another buffer in the window. (Bug#9937)
acc825c5 8784 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8785
ebe06da9
JB
87862011-11-02 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8789 Accept status with more than 9 shelves. (Bug#9935)
8790 Reported by Colin D Bennett <colin@gibibit.com>.
8791
4ee88440
MR
87922011-11-01 Martin Rudalics <rudalics@gmx.at>
8793
8794 * help.el (with-help-window): Don't reference
8795 temp-buffer-show-specifiers in doc-string.
8796
08e1d82c
AS
87972011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8800 menu-item.
8801
84bd6e9e
VJL
88022011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8803
8804 * whitespace.el: New version 13.2.2.
8805 (whitespace-newline-mode): Disable properly. Reported by Sarah
8806 <EmacsWiki>.
8807
dba0634a
UJ
88082011-10-30 Ulf Jasper <ulf.jasper@web.de>
8809
8810 * net/newst-treeview.el: Remove "Time-stamp".
8811 (newsticker--group-manage-orphan-feeds): Do not call
8812 newsticker--treeview-tree-update.
db22a3c2
JB
8813 (newsticker-treeview-update, newsticker-treeview):
8814 Call newsticker--treeview-tree-update if necessary.
dba0634a 8815
3d8daefe
MR
88162011-10-30 Martin Rudalics <rudalics@gmx.at>
8817
8818 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8819 (window-iso-combinations): Remove "iso-" infix.
8820 Suggested by Chong Yidong.
3d8daefe
MR
8821 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8822 (window-max-delta-1, window-resize, window--resize-siblings)
8823 (window--resize-this-window, adjust-window-trailing-edge)
8824 (split-window, balance-windows-1)
8825 (shrink-window-if-larger-than-buffer):
8826 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8827 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8828
1bc4c3ae
SM
88292011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8832 in place (bug#9907).
8833 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8834 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8835 (eshell-structure-basic-command, eshell-rewrite-while-command)
8836 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8837 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8838 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8839 (eshell-do-pipelines-synchronously, eshell-eval-command):
8840 Use backquotes and prefer setq to set.
8841 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8842 (eshell-macrop): Use functionp.
c1e2f5fa 8843 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8844
30b65d9c
CY
88452011-10-30 Chong Yidong <cyd@gnu.org>
8846
8847 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8848 instead of set-mark (Bug#9810).
8849
2d197ffb
CY
88502011-10-30 Chong Yidong <cyd@gnu.org>
8851
8852 * window.el (split-window-below, split-window-right): Rename from
8853 split-window-above-each-other and split-window-side-by-side
8854 respectively. All callers changed.
8855 (split-window-sensibly, split-window-sensibly): Use them.
8856 (split-window-keep-point): Doc fix.
8857
8858 * isearch.el: Add isearch-scroll property to split-window-below
8859 and split-window-right.
8860
8861 * follow.el (follow-mode):
8862 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8863 * progmodes/ada-xref.el (ada-gdb-application):
8864 * emulation/vip.el (vip-buffer-in-two-windows):
8865 * image-dired.el (image-dired-dired-with-window-configuration):
8866 * dired-x.el (dired-do-find-marked-files):
8867 * dired.el (dired-pop-to-buffer):
8868 * bs.el (bs--show-with-configuration):
8869 * vc/emerge.el (emerge-setup-windows):
8870 * textmodes/two-column.el (2C-two-columns):
8871 * textmodes/reftex-toc.el (reftex-toc):
8872 * progmodes/gdb-mi.el (gdb-setup-windows):
8873 * progmodes/fortran.el (fortran-window-create):
8874 * net/newst-treeview.el (newsticker--treeview-window-init):
8875 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8876 * emulation/tpu-edt.el (tpu-gold-map):
8877 * emulation/crisp.el (crisp-mode-map):
8878 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8879
38bb2ca8
CY
88802011-10-29 Chong Yidong <cyd@gnu.org>
8881
aa4de341
CY
8882 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8883
e1eb5385
CY
8884 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8885
5d2ece3c
CY
8886 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8887 forged Ispell output (Bug#7904).
8888
38bb2ca8
CY
8889 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8890
d0af9f77
SM
88912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * doc-view.el: Avoid ugly errors about not finding nil.
8894 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8895 (doc-view-dvipdf-program, doc-view-unoconv-program)
8896 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8897 Avoid nil or absolute file name as default value.
8898 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8899
52bedd34
AM
89002011-10-28 Alan Mackenzie <acm@muc.de>
8901
db22a3c2 8902 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8903
7e43cfa5
AM
89042011-10-28 Alan Mackenzie <acm@muc.de>
8905
8906 Amend the handling of c-beginning/end-of-defun in nested declaration
8907 scopes.
8908
52bedd34
AM
8909 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8910 cc-langs.el. Change it to a defcustom.
7e43cfa5 8911
52bedd34
AM
8912 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8913 cc-vars.el.
7e43cfa5 8914
d0af9f77
SM
8915 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8916 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8917
52bedd34 8918 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8919 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8920 (c-widen-to-enclosing-decl-scope): New function.
8921 (c-while-widening-to-decl-block): New macro.
8922 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8923 outward for defun boundaries, and correspondingly change symbol
8924 `respect-enclosure' to `go-outward'.
8925 (c-declaration-limits): Change algorithm to report only the "innermost"
8926 defun's boundaries.
8927
1a2ce9ee
DD
89282011-10-28 Deniz Dogan <deniz@dogan.se>
8929
8930 * net/rcirc.el (rcirc-mode): Use hard newlines.
8931
bc97a826
AM
89322011-10-28 Alan Mackenzie <acm@muc.de>
8933
8934 Amend to indent and fontify macros "which include their own semicolon"
8935 correctly, using the "virtual semicolon" mechanism.
8936
52bedd34 8937 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8938
d0af9f77 8939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8940 Recode to scan one line at a time rather than having \n and \r
58179cce 8941 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8942 (c-forward-label): Amend for virtual semicolons.
58179cce 8943 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8944
52bedd34
AM
8945 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8946 of the new C macros.
bc97a826 8947
52bedd34 8948 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8949 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8950 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8951 (c-opt-cpp-macro-define): Make into a full language variable.
8952 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8953 AWK Mode (including \n, \r) removed, no longer needed.
8954
d0af9f77
SM
8955 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8956 Invoke c-make-macro-with-semi-re.
bc97a826 8957
52bedd34
AM
8958 * progmodes/cc-vars.el (c-macro-with-semi-re):
8959 (c-macro-names-with-semicolon): New variables.
58179cce 8960 (c-make-macro-with-semi-re): New function.
bc97a826 8961
7a6c0941
SM
89622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * vc/log-edit.el: Fill empty field rather than adding new one.
8965 (log-edit-add-field): New function.
8966 (log-edit-insert-changelog): Use it.
8967
b0c4cdcf
ML
89682011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8969
8970 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8971
ee1f1da9
SM
89722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8975 (gdb--check-interpreter): New function.
8976 (gdb): Use it.
8977
51bc5f8b
GM
89782011-10-27 Glenn Morris <rgm@gnu.org>
8979
416a2c45
GM
8980 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8981 (least-positive-float, least-negative-float)
8982 (least-positive-normalized-float, least-negative-normalized-float)
8983 (float-epsilon, float-negative-epsilon):
8984 Remove unnecessary declarations.
8985
8986 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8987 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8988 (least-positive-float, least-negative-float)
8989 (least-positive-normalized-float, least-negative-normalized-float)
8990 (float-epsilon, float-negative-epsilon): Add doc-strings,
8991 based on those in cl.texi.
8992
51bc5f8b
GM
8993 * files.el (set-visited-file-name): If the major-mode changed,
8994 reload the local variables. (Bug#9796)
8995
15de15c6
CY
89962011-10-27 Chong Yidong <cyd@gnu.org>
8997
8998 * subr.el (change-major-mode-after-body-hook): New hook.
8999 (run-mode-hooks): Run it.
9000
ee1f1da9
SM
9001 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9002 Use change-major-mode-before-body-hook.
15de15c6
CY
9003
9004 * simple.el (fundamental-mode):
9005 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9006 change introducing fundamental-mode-hook.
9007
5430d399
JB
90082011-10-26 Juanma Barranquero <lekktu@gmail.com>
9009
acc825c5 9010 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9011
ad74a69e
MA
90122011-10-26 Michael Albinus <michael.albinus@gmx.de>
9013
9014 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9015 tramp.el explicitly. (Bug#7583)
ad74a69e 9016
71d4c2a5
SM
90172011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * progmodes/octave-mod.el:
9020 * progmodes/octave-inf.el: Update maintainer.
9021
b1f6fa26
CY
90222011-10-26 Chong Yidong <cyd@gnu.org>
9023
9024 * subr.el (with-wrapper-hook): Rewrite doc.
9025
3f04efd6
MA
90262011-10-25 Michael Albinus <michael.albinus@gmx.de>
9027
9028 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9029 filenames "/method:foo:". (Bug#9793)
3f04efd6 9030
410488d3
SM
90312011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9034 (bug#9865).
9035
c1ebb47e
GM
90362011-10-24 Glenn Morris <rgm@gnu.org>
9037
9038 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9039
7f5c46c7
MA
90402011-10-24 Michael Albinus <michael.albinus@gmx.de>
9041
9042 * notifications.el: Add the requirement of a running D-Bus session
9043 bus to the Commentary.
9044
db2440b6
JL
90452011-10-24 Juri Linkov <juri@jurta.org>
9046
9047 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9048 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9049 (Bug#9364)
9050
feecf435
JL
90512011-10-24 Juri Linkov <juri@jurta.org>
9052
9053 * info.el (Info-following-node-name-re): Add newline to the list
9054 of allowed characters for leading space. (Bug#9824)
9055
a3839de2
SM
90562011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9057
acc825c5
SM
9058 * progmodes/octave-inf.el (inferior-octave-mode-map):
9059 Fix C-c C-h binding.
a3839de2
SM
9060 * progmodes/octave-mod.el (octave-help): Remove.
9061
09388e76
MA
90622011-10-23 Michael Albinus <michael.albinus@gmx.de>
9063
9064 Sync with Tramp 2.2.3.
9065
9066 * net/tramp-cache.el (top): Pacify byte-compiler using
9067 `init-file-user' and `site-run-file'.
9068
9069 * net/trampver.el: Update release number.
9070
86c60681
CY
90712011-10-23 Chong Yidong <cyd@gnu.org>
9072
9073 * files.el (toggle-read-only): Remove obsolete comment about
9074 version control.
9075
9076 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9077 for toggle-read-only. Note that this hasn't called vc-next-action
9078 since 2008-05-02, though it wasn't documented at the time.
9079
a3839de2
SM
9080 * vc/ediff-init.el (ediff-toggle-read-only-function):
9081 Use toggle-read-only.
86c60681 9082
cd5495ff
AM
90832011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9084
9085 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9086 of c-parse-state.
9087
00b77525 9088 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9089 correct faulty logical expression.
cd5495ff
AM
9090 (c-parse-state-state, c-record-parse-state-state):
9091 (c-replay-parse-state-state): New defvar/defuns.
9092 (c-debug-parse-state): Use new functions.
9093
42ee24ed
MR
90942011-10-22 Martin Rudalics <rudalics@gmx.at>
9095
9096 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9097 last fix. Use window-in-direction correctly.
42ee24ed 9098
a7dee7e7
CY
90992011-10-21 Chong Yidong <cyd@gnu.org>
9100
9101 * progmodes/idlwave.el (idlwave-mode):
9102 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9103 require-final-newline; that's done in prog-mode.
9104 Suggested by Stefan Monnier.
a7dee7e7 9105
e07b9a6d
MR
91062011-10-21 Martin Rudalics <rudalics@gmx.at>
9107
9108 * mouse.el (mouse-drag-window-above)
9109 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9110 (mouse-drag-mode-line-1, mouse-drag-header-line)
9111 (mouse-drag-vertical-line-rightward-window): Remove.
9112 (mouse-drag-line): New function.
9113 (mouse-drag-mode-line, mouse-drag-header-line)
9114 (mouse-drag-vertical-line): Call mouse-drag-line.
9115 * window.el (window-at-side-p, windows-at-side): New functions.
9116
7e1361d9
UM
91172011-10-21 Ulrich Mueller <ulm@gentoo.org>
9118
9119 * tar-mode.el (tar-grind-file-mode):
9120 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9121
30fcaf3a
CY
91222011-10-21 Chong Yidong <cyd@gnu.org>
9123
9124 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9125 * progmodes/vera-mode.el (vera-mode):
9126 Use mode-require-final-newline.
30fcaf3a 9127
516eddb0
GM
91282011-10-20 Glenn Morris <rgm@gnu.org>
9129
db22a3c2 9130 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9131
10d5f513
CS
91322011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9133
9134 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9135
ac6c8639
CY
91362011-10-20 Chong Yidong <cyd@gnu.org>
9137
9138 * emulation/cua-base.el (cua-mode):
9139 * mail/footnote.el (footnote-mode):
9140 * mail/mailabbrev.el (mail-abbrevs-mode):
9141 * net/xesam.el (xesam-minor-mode):
9142 * progmodes/bug-reference.el (bug-reference-mode):
9143 * progmodes/cap-words.el (capitalized-words-mode):
9144 * progmodes/compile.el (compilation-minor-mode)
9145 (compilation-shell-minor-mode):
9146 * progmodes/gud.el (gud-tooltip-mode):
9147 * progmodes/hideif.el (hide-ifdef-mode):
9148 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9149 * progmodes/subword.el (subword-mode):
9150 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9151 * progmodes/which-func.el (which-function-mode):
9152 * term/tvi970.el (tvi970-set-keypad-mode):
9153 * term/vt100.el (vt100-wide-mode):
9154 * textmodes/flyspell.el (flyspell-mode):
9155 * textmodes/ispell.el (ispell-minor-mode):
9156 * textmodes/nroff-mode.el (nroff-electric-mode):
9157 * textmodes/paragraphs.el (use-hard-newlines):
9158 * textmodes/refill.el (refill-mode):
9159 * textmodes/reftex.el (reftex-mode):
9160 * textmodes/rst.el (rst-minor-mode):
9161 * textmodes/sgml-mode.el (html-autoview-mode)
9162 (sgml-electric-tag-pair-mode):
9163 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9164 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9165 * emulation/crisp.el (crisp-mode):
9166 * emacs-lisp/eldoc.el (eldoc-mode):
9167 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9168 minor mode behavior.
9169
aa42ab43
JL
91702011-10-19 Juri Linkov <juri@jurta.org>
9171
9172 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9173 the list of hard-coded chars with escape-glyph face.
9174
89400f1d
SM
91752011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9178
305c07f6
MA
91792011-10-19 Michael Albinus <michael.albinus@gmx.de>
9180
9181 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9182 running process.
9183
13754b54
GM
91842011-10-19 Glenn Morris <rgm@gnu.org>
9185
9186 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9187 Ignore ignored files. (Bug#9726)
9188
06e21633
CY
91892011-10-19 Chong Yidong <cyd@gnu.org>
9190
9191 Doc fix for minor modes, stating that an omitted argument enables
9192 the mode unconditionally when called from Lisp.
9193
9194 * abbrev.el (abbrev-mode):
9195 * allout.el (allout-mode):
9196 * autoinsert.el (auto-insert-mode):
9197 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9198 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9199 (global-auto-revert-mode):
9200 * battery.el (display-battery-mode):
9201 * composite.el (global-auto-composition-mode)
9202 (auto-composition-mode):
9203 * delsel.el (delete-selection-mode):
9204 * desktop.el (desktop-save-mode):
9205 * dired-x.el (dired-omit-mode):
9206 * dirtrack.el (dirtrack-mode):
9207 * doc-view.el (doc-view-minor-mode):
9208 * double.el (double-mode):
9209 * electric.el (electric-indent-mode, electric-pair-mode):
9210 * emacs-lock.el (emacs-lock-mode):
9211 * epa-hook.el (auto-encryption-mode):
9212 * follow.el (follow-mode):
9213 * font-core.el (font-lock-mode):
9214 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9215 * help.el (temp-buffer-resize-mode):
9216 * hilit-chg.el (highlight-changes-mode)
9217 (highlight-changes-visible-mode):
9218 * hi-lock.el (hi-lock-mode):
9219 * hl-line.el (hl-line-mode, global-hl-line-mode):
9220 * icomplete.el (icomplete-mode):
9221 * ido.el (ido-everywhere):
9222 * image-file.el (auto-image-file-mode):
9223 * image-mode.el (image-minor-mode):
9224 * iswitchb.el (iswitchb-mode):
9225 * jka-cmpr-hook.el (auto-compression-mode):
9226 * linum.el (linum-mode):
9227 * longlines.el (longlines-mode):
9228 * master.el (master-mode):
9229 * mb-depth.el (minibuffer-depth-indicate-mode):
9230 * menu-bar.el (menu-bar-mode):
9231 * minibuf-eldef.el (minibuffer-electric-default-mode):
9232 * mouse-sel.el (mouse-sel-mode):
9233 * msb.el (msb-mode):
9234 * mwheel.el (mouse-wheel-mode):
9235 * outline.el (outline-minor-mode):
9236 * paren.el (show-paren-mode):
9237 * recentf.el (recentf-mode):
9238 * reveal.el (reveal-mode, global-reveal-mode):
9239 * rfn-eshadow.el (file-name-shadow-mode):
9240 * ruler-mode.el (ruler-mode):
9241 * savehist.el (savehist-mode):
9242 * scroll-all.el (scroll-all-mode):
9243 * scroll-bar.el (scroll-bar-mode):
9244 * server.el (server-mode):
9245 * shell.el (shell-dirtrack-mode):
9246 * simple.el (auto-fill-mode, transient-mark-mode)
9247 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9248 (line-number-mode, column-number-mode, size-indication-mode)
9249 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9250 * strokes.el (strokes-mode):
9251 * time.el (display-time-mode):
9252 * t-mouse.el (gpm-mouse-mode):
9253 * tool-bar.el (tool-bar-mode):
9254 * tooltip.el (tooltip-mode):
9255 * type-break.el (type-break-mode-line-message-mode)
9256 (type-break-query-mode):
9257 * view.el (view-mode):
9258 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9259 (global-whitespace-mode, global-whitespace-newline-mode):
9260 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9261
a3839de2
SM
9262 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9263 Fix autogenerated docstring.
06e21633 9264
5214e501
JL
92652011-10-19 Juri Linkov <juri@jurta.org>
9266
9267 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9268 by checking environment variables "DESKTOP_SESSION" and
9269 "XDG_CURRENT_DESKTOP". (Bug#9779)
9270
195f8db9
JL
92712011-10-19 Juri Linkov <juri@jurta.org>
9272
9273 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9274 (browse-url-chromium-program, browse-url-chromium-arguments):
9275 New defcustoms.
9276 (browse-url-default-browser): Check for `browse-url-chromium' and
9277 call `browse-url-chromium-program'.
9278 (browse-url-chromium): New command. (Bug#9779)
9279
343a34ff
JB
92802011-10-18 Juanma Barranquero <lekktu@gmail.com>
9281
9282 * facemenu.el (list-colors-duplicates): On Windows, detect more
9283 duplicates by assuming that only colors matching "^System" are
9284 special "system colors". (Bug#9722)
9285
6978a151
SM
92862011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9289 to distinguish the author from the committer.
9290
6a80b297
MA
92912011-10-18 Michael Albinus <michael.albinus@gmx.de>
9292
9293 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9294
b31a5677
JK
92952011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9296
9297 * international/mule.el (sgml-html-meta-auto-coding-function):
9298 Add support for detecting encoding in HTML5 specified only as
9299 <meta charset="UTF-8">. Implementation just makes http-equiv and
9300 content-type parts from HTML4 encoding string optional. (Bug#9716)
9301
80c6d77f
GM
93022011-10-18 Glenn Morris <rgm@gnu.org>
9303
9304 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9305
08b0fee8
CY
93062011-10-18 Chong Yidong <cyd@gnu.org>
9307
9308 * faces.el (cursor): Doc fix.
9309
67e729a5
CY
93102011-10-17 Chong Yidong <cyd@gnu.org>
9311
9312 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9313
343a34ff 93142011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9315
9316 * dirtrack.el (dirtrack): Support shell buffers with path
9317 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9318
0bc06380
TZ
93192011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9320
9321 * json.el: Bump version to 1.3 and note change in History.
9322 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9323
8b79f3e0
SM
93242011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9325
5a7c536b
SM
9326 * comint.el (comint-insert-input, comint-send-input)
9327 (comint-get-old-input-default, comint-backward-matching-input)
9328 (comint-next-prompt): Use nil instead of `input' for field property of
9329 past user input (bug#114).
9330
96a8a0df
SM
9331 * minibuffer.el (completion--replace): Inherit surrounding properties
9332 (bug#114).
9333 (minibuffer-complete-and-exit): Use it.
9334
8b79f3e0
SM
9335 * comint.el (comint--table-subvert): Quote the all-completions output
9336 (bug#9160).
9337
b8f7ff0d
MR
93382011-10-17 Martin Rudalics <rudalics@gmx.at>
9339
8b79f3e0 9340 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9341
b8f7ff0d 9342 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9343 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9344 entries and separate them from frame entries.
9345
c235b555
GM
93462011-10-15 Glenn Morris <rgm@gnu.org>
9347
9348 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9349 Doc fixes.
9350
6bbfa6e1
CY
93512011-10-15 Chong Yidong <cyd@stupidchicken.com>
9352
8b79f3e0
SM
9353 * net/network-stream.el (network-stream-open-starttls):
9354 Improve detection of failure due to lack of TLS support.
ec5c990d 9355
6bbfa6e1
CY
9356 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9357 putting the input text in front and in bold.
9358
98488977
SM
93592011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9360
3d1337be
SM
9361 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9362
ee0b45e4
SM
9363 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9364 empty buffer.
9365
98488977
SM
9366 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9367 unread-command-events rather than pushing yet-another event.
9368
186f4720
EZ
93692011-10-14 Eli Zaretskii <eliz@gnu.org>
9370
9371 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9372 the explanation of the possible choices. Make the options passed
9373 to completing-read shorter.
9374
8b7a997c
AM
93752011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9376
9377 * textmodes/flyspell.el (flyspell-large-region): Make sure
9378 extended character mode is used if defined (Bug#1339).
9379
12587bbb
EZ
93802011-10-13 Eli Zaretskii <eliz@gnu.org>
9381
9382 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9383 character info for LRE, LRO, RLE, and RLO characters by appending
9384 an invisible PDF.
12587bbb 9385
bad41229
SM
93862011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9389 even in case of error; add debug spec; simplify data flow.
9390 (with-timeout-handler): Remove.
9391
28dbc92f
MA
93922011-10-12 Michael Albinus <michael.albinus@gmx.de>
9393
9394 Fix Bug#6019, Bug#9315.
9395
9396 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9397 complete `buffer-file-name', the local file name part could look
9398 remotely (for example on VMS).
9399
9400 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9401 `tramp-run-real-handler'.
9402 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9403 already quoted by '"'.
9404
9405 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9406 Let `file-name-handler-alist' be nil, the local file name part
9407 could look remotely (for example on VMS).
9408
e1b0b23a
SM
94092011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9412 from here...
9413 (flyspell-post-command-hook): ...to here.
9414
a120bde9
SM
94152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9418 if not needed.
9419 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9420 using completion. Protect against "slow" callers.
9421 Remove the "message hack".
9422
7ce7717b
JL
94232011-10-11 Juri Linkov <juri@jurta.org>
9424
9425 * isearch.el (isearch-lazy-highlight-word): New variable.
9426 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9427 Use it. (Bug#9727)
9428
c02ee9d6
GM
94292011-10-11 Glenn Morris <rgm@gnu.org>
9430
9431 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9432 like f90-previous-statement does.
9433
93e616fd 94342011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9435
1f190e73 9436 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9437 only in interactive use, to avoid error.
9438
af7b6078
SM
94392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * minibuffer.el (completion-file-name-table): Fix last change,
9442 i.e. ignore normal errors but not the other ones.
9443
0563dae9
MR
94442011-10-10 Martin Rudalics <rudalics@gmx.at>
9445
9446 * window.el (special-display-buffer-names)
9447 (special-display-regexps): Remove some remnants of earlier
9448 changes from doc-strings.
366ca7f3
MR
9449 (quit-windows-on): New function.
9450
9451 * vc/vc.el (vc-revert, vc-rollback):
9452 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9453 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9454 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9455
49677495
MR
94562011-10-09 Martin Rudalics <rudalics@gmx.at>
9457
9458 * window.el (frame-auto-hide-function): Add version tag.
9459 (Bug#9699)
9460
56f2d1e1
MA
94612011-10-09 Michael Albinus <michael.albinus@gmx.de>
9462
9463 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9464 condition.
9465
112a6592
LL
94662011-10-09 Leo Liu <sdl.web@gmail.com>
9467
9468 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9469 (Bug#9701)
9470
0812589b
GM
94712011-10-08 Glenn Morris <rgm@gnu.org>
9472
9473 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9474 before the first code statement zero indent. (Bug#9690)
9475
b2b0776e
CY
94762011-10-08 Chong Yidong <cyd@stupidchicken.com>
9477
9478 * simple.el (count-words-region): Always count in the region.
9479 Report the number of lines and characters too.
9480 (count-words): New command, which counts in the buffer if the
9481 region is inactive, as count-words-region used to.
9482 (count-words--message): New function. Handle plurals.
9483 (count-lines-region): Make it an alias for count-words-region.
9484
9485 * bindings.el (esc-map): Replace count-lines-region with
9486 count-words-region.
9487
c557cd6b
MR
94882011-10-08 Martin Rudalics <rudalics@gmx.at>
9489
9490 * window.el (window--delete): Delete dedicated frame
9491 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9492 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9493
61a57ef4 94942011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9495
3a7d293b 9496 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9497
c3833279
CY
94982011-10-07 Chong Yidong <cyd@stupidchicken.com>
9499
9500 * bindings.el ([M-left],[M-right]): Bind to left-word and
9501 right-word respectively.
9502
21ce8245
GM
95032011-10-07 Glenn Morris <rgm@gnu.org>
9504
9505 * cus-start.el (debug-on-quit): Fix custom type.
9506
6d823bb2
LMI
95072011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9508
0181e193
LMI
9509 * subr.el (define-key-after): Clarify that the function is not
9510 useful for non-menu keymaps.
9511
6d823bb2
LMI
9512 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9513
8e3459ce 95142011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9515
21ce8245 9516 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9517 in current minibuffer (Fix bug with recursive minibuffers).
9518
a1c2d21e
CY
95192011-10-06 Chong Yidong <cyd@stupidchicken.com>
9520
9521 * progmodes/gdb-mi.el (gdb): Doc fix.
9522
5a4cf282
MR
95232011-10-05 Martin Rudalics <rudalics@gmx.at>
9524
9525 * window.el (frame-auto-hide-function): New option replacing
9526 frame-auto-delete. Suggested by Stefan Monnier.
9527 (window--delete): Call frame-auto-hide-function instead of
9528 investigating frame-auto-delete.
c96111ea
MR
9529 (window-point-1, set-window-point-1): New functions.
9530 (window-in-direction, record-window-buffer, window-state-get-1)
9531 (display-buffer-record-window): Use window-point-1 instead of
9532 window-point.
9533 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9534
9854542e
SM
95352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9538
8943cfb0
GM
95392011-10-05 Glenn Morris <rgm@gnu.org>
9540
9541 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9542 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9543
647ab967
LL
95442011-10-05 Leo Liu <sdl.web@gmail.com>
9545
9546 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9547 works with buffer object.
9548
3ddfbced
SM
95492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * mpc.el (mpc-tool-bar-map): Add labels.
9552
bdfa5dd2
GM
95532011-10-04 Glenn Morris <rgm@gnu.org>
9554
9555 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9556
0e2070b5
MR
95572011-10-04 Martin Rudalics <rudalics@gmx.at>
9558
9559 * window.el (window--delete): New function.
9560 (frame-auto-delete): Resuscitate option.
9561 (bury-buffer, replace-buffer-in-windows)
9562 (quit-window): Rewrite using window--delete.
9563 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9564 Pass display-buffer-mark-dedicated to window--display-buffer-2
9565 (Bug#9639).
9566
3dc61a09
SM
95672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9568
915a9b64
SM
9569 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9570 returns a list (bug#9554). Add remote file name completion.
9571 * comint.el (comint--table-subvert): Curry and get quote&unquote
9572 functions as arguments.
9573 (comint--complete-file-name-data): Adjust call accordingly.
9574 * pcomplete.el (pcomplete--table-subvert): Remove.
9575 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9576
3dc61a09
SM
9577 * minibuffer.el (completion-table-case-fold): Use currying.
9578 (completion--styles-type, completion--cycling-threshold-type):
9579 New constants.
9580 (completion-styles, completion-category-overrides)
9581 (completion-cycle-threshold): Use them.
9582 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9583 completion-table-case-fold.
9584
8ea0a993
SB
95852011-10-03 Stephen Berman <stephen.berman@gmx.net>
9586
9587 * minibuffer.el (completion-category-overrides): Fix type of styles
9588 and add more user friendly tags (bug#9660).
9589
8c24b7f6
SM
95902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9593 (mule-input-method-string): New widget.
9594 (default-input-method, language-info-custom-alist): Use it.
9595
428fe61a
SM
95962011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9597
32c1fffd
SM
9598 * pcomplete.el: Require comint.
9599 (pcomplete--common-suffix): Remove.
9600 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9601 (pcomplete--table-subvert): Sync with comint--table-subvert.
9602 (pcomplete--entries): Use comint-completion-file-name-table.
9603 * comint.el (comint-unquote-filename): Simplify.
9604 (comint-completion-file-name-table): New function (bug#9616).
9605 (comint--complete-file-name-data): Use it.
9606
428fe61a
SM
9607 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9608 (pcmpl-gnu-tar-buffer): Remove.
9609 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9610 around. Make sure pcomplete-suffix-list is only changed temporarily.
9611 Don't look inside the tar's file if it's too large.
428fe61a 9612
04c52e2f
CY
96132011-10-01 Chong Yidong <cyd@stupidchicken.com>
9614
ce3cefcc
CY
9615 * cus-edit.el (custom-mode-map):
9616 * epa.el (epa-key-list-mode-map):
9617 * man.el (Man-mode-map):
9618 * startup.el (splash-screen-keymap):
9619 * simple.el (special-mode-map): Use scroll-up-command and
9620 scroll-down-command.
9621
9622 * progmodes/idlw-help.el (idlwave-help-mode-map):
9623 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9624 * net/newst-plainview.el (newsticker-mode-map):
9625 * emulation/ws-mode.el (wordstar-mode-map):
9626 * emulation/vi.el (vi-com-map):
9627 * calc/calc-graph.el (calc-graph-show-dumb):
9628 * term/sun.el (terminal-init-sun):
9629 * term/ns-win.el (global-map):
9630 * progmodes/grep.el (grep-mode-map):
9631 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9632 * mail/rmail.el (rmail-mode-map):
9633 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9634
04c52e2f
CY
9635 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9636 custom-safe-themes as special.
9637
79adf8c8
JD
96382011-10-01 Julien Danjou <julien@danjou.info>
9639
9640 * notifications.el (notifications-notify): Fix docstring.
9641
63bd50d3
PS
96422011-10-01 Per Starbäck <per@starback.se>
9643
9644 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9645
199e4c7e
MR
96462011-09-30 Martin Rudalics <rudalics@gmx.at>
9647
9648 * startup.el (command-line-1): Fix last fix by inserting
9649 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9650 (Bug#9605) and (Bug#9636)
199e4c7e 9651
fe5f08dd
EZ
96522011-09-29 Eli Zaretskii <eliz@gnu.org>
9653
9654 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9655 window is hscrolled, move by logical lines. (Bug#9607)
9656 (line-move-visual): Update the doc string to the above effect.
9657
b5516bbd
MR
96582011-09-29 Martin Rudalics <rudalics@gmx.at>
9659
ccee00c0
MR
9660 * window.el (display-buffer-record-window): When WINDOW is the
9661 selected window use `point' instead of `window-point'. (Bug#9626)
9662
b5516bbd
MR
9663 * startup.el (command-line-1): Use insert-before-markers when
9664 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9665
b5516bbd
MR
9666 * help.el (help-window): Remove variable.
9667
52aa0014
GM
96682011-09-29 Glenn Morris <rgm@gnu.org>
9669
9670 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9671
df9a7357
JB
96722011-09-29 Juanma Barranquero <lekktu@gmail.com>
9673
9674 * descr-text.el (describe-char-categories): Accept category
9675 descriptions more than one line long.
9676
a8406c20
SM
96772011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9678
88d9610c
SM
9679 * simple.el (delete-trailing-whitespace): Fix last change.
9680
a5daf810
SM
9681 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9682 Don't confuse "y => 3" as the beginning of a `y' operation.
9683
a8406c20
SM
9684 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9685 object has more than 4 slots (bug#9613).
9686
a239d4e9
JB
96872011-09-28 Juanma Barranquero <lekktu@gmail.com>
9688
9689 * subr.el (with-output-to-temp-buffer):
9690 * net/quickurl.el (quickurl, quickurl-browse-url):
9691 Fix typos in docstrings.
9692
693fbdb6
EZ
96932011-09-27 Eli Zaretskii <eliz@gnu.org>
9694
9695 * minibuffer.el (completion-styles)
9696 (completion-category-overrides): Cross reference each other in doc
9697 strings.
9698
8b457e28
GM
96992011-09-27 Glenn Morris <rgm@gnu.org>
9700
9701 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9702 to split-string. (Bug#9606)
9703
85a16208
LMI
97042011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9705
9706 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9707 (bug#9615).
9708
502f9ebd
CY
97092011-09-27 Chong Yidong <cyd@stupidchicken.com>
9710
9711 * emacs-lisp/package.el (list-packages): Fix echo area message.
9712
7690bdea
LL
97132011-09-27 Leo Liu <sdl.web@gmail.com>
9714
9715 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9716
e2ee6f30
MA
97172011-09-25 Michael Albinus <michael.albinus@gmx.de>
9718
9719 * net/dbus.el (dbus-unregister-object): Don't release services for
9720 registered signals. (Bug#9581)
9721
f3f98342
TZ
97222011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9723
9724 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9725 function that picks between cfengine 2 and 3 support
9726 automatically. Update docs accordingly.
9727
dd7aa8dd
KH
97282011-09-22 Kenichi Handa <handa@m17n.org>
9729
9730 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9731 ZERO.
9732 (indian-itrans-v5-table-for-tamil): New variable.
9733 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9734
3f2b07f8
KM
97352011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9736
9737 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9738 that's true if the current command involved collapsing of text.
9739 It's reset to false at the beginning of the next command.
9740 (allout-post-command-business): Move the cursor to the beginning
9741 of entry if the cursor is hidden and collapsing activity just
9742 happened.
9743
371d6a61
CY
97442011-09-24 Chong Yidong <cyd@stupidchicken.com>
9745
9746 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9747 tracking (Bug#9541).
9748
2ac2721a
UJ
97492011-09-24 Ulf Jasper <ulf.jasper@web.de>
9750
9751 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9752 (newsticker-show-news): Automatically load html rendering package
9753 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9754 because w3m-fill-column is let-bound" and the error "Symbol's value
9755 as variable is void: w3m-fill-column".
2ac2721a 9756
fac7ae53
MA
97572011-09-24 Michael Albinus <michael.albinus@gmx.de>
9758
9759 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9760 Release services only if they are defined. (Bug#9581)
9761
e08b633b
RS
97622011-09-23 Richard Stallman <rms@gnu.org>
9763
e488d29c
RS
9764 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9765 distinguish start of paragraph from start of its text.
9766
19c38752
RS
9767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9768
e08b633b
RS
9769 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9770 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9771 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9772
0a39f27e
AS
97732011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9774
9775 * international/mule-diag.el (mule-diag): Insert a newline after
9776 each fontset description.
9777
db4e950d
SM
97782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * simple.el (delete-trailing-whitespace):
9781 Document last change; simplify.
9782
eca3f3ea
PW
97832011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9784
d68e189a
PW
9785 * simple.el (delete-trailing-whitespace): Also delete
9786 extra newlines at the end of the buffer.
9787
eca3f3ea
PW
9788 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9789 (picture-newline): Use forward-line so as to ignore fields.
9790
01c157cc
SM
97912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * subr.el (with-wrapper-hook): Fix edebug spec.
9794
022de23e
LMI
97952011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9796
9797 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9798 (bug#4538).
9799
91683089
MA
98002011-09-23 Michael Albinus <michael.albinus@gmx.de>
9801
eca3f3ea
PW
9802 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9803 Fix nasty bug using wrong cached values.
91683089 9804
5bdd6fa4
AM
98052011-09-23 Alan Mackenzie <acm@muc.de>
9806
9807 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9808
97adfb97
CY
98092011-09-23 Chong Yidong <cyd@stupidchicken.com>
9810
9811 * window.el (pop-to-buffer): Ensure right window is selected if we
9812 chose another frame.
9813
d4ef2b50
EZ
98142011-09-22 Eli Zaretskii <eliz@gnu.org>
9815
9816 * simple.el (what-cursor-position): Use get-char-property-change
9817 and next-single-char-property-change, to be able to show display
9818 properties that come from overlays as well as text properties.
9819
72258fe5
CY
98202011-09-22 Chong Yidong <cyd@stupidchicken.com>
9821
9822 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9823
9824 * cmuscheme.el (run-scheme, switch-to-scheme):
9825 * cus-edit.el (customize-group, custom-buffer-create)
9826 (customize-browse):
9827 * info.el (info):
9828 * shell.el (shell):
9829 * mail/sendmail.el (mail):
9830 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9831
8f098516
RS
98322011-09-22 Richard Stallman <rms@gnu.org>
9833
9834 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9835 move back only to line beg, don't move back over blank lines.
9836
e74f1bb6
MA
98372011-09-22 Michael Albinus <michael.albinus@gmx.de>
9838
9839 * files.el (copy-directory): Set directory attributes only in case
9840 they could be retrieved from the source directory. (Bug#9565)
9841
bfeef8b6
DK
98422011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9843
9844 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9845 (hs-find-block-beginning, hs-hide-level-recursive):
9846 Ignore strings as well as comments. (Bug#9502)
9847
7e423bb8
AS
98482011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9849
9850 * progmodes/sql.el (sql-comint-postgres):
9851 Convert port number to a string. (Bug#9566)
9852
b4d72fcf
MR
98532011-09-22 Martin Rudalics <rudalics@gmx.at>
9854
9855 * window.el (quit-window): Undedicate window when switching to
9856 previous buffer. Reported by Thierry Volpiatto
9857 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9858 (special-display-popup-frame): When popping up a new frame reset
9859 its previous buffers to nil. Simplify code.
b4d72fcf 9860
a7b88dc6
MA
98612011-09-21 Michael Albinus <michael.albinus@gmx.de>
9862
9863 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9864 and process filter, as done also in `shell-command'.
9865
cf4eacfd
MR
98662011-09-21 Martin Rudalics <rudalics@gmx.at>
9867
eca3f3ea 9868 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9869 Call set-window-start with NOFORCE argument t.
9870 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9871 (quit-window): Reword doc-string. Handle new format of
9872 quit-restore parameter. Don't delete window if it has a
9873 previous buffer we can show instead of the present one.
9874 (display-buffer-record-window): Rewrite using a new format for
9875 the quit-restore window parameter
9876 (special-display-popup-frame, display-buffer-same-window)
9877 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9878 (display-buffer-pop-up-window, display-buffer-use-some-window):
9879 Adapt symbol passed to display-buffer-record-window.
9880 * help.el (help-window-setup): Handle new format of quit-restore
9881 parameter.
9882
8d28cb95
SM
98832011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9884
94ab793f
SM
9885 * faces.el (face-list): Fix docstring (bug#9564).
9886
8d28cb95
SM
9887 * window.el (display-buffer--action-function-custom-type):
9888 Don't include internal functions in the Custom interface.
9889
3820edeb
JL
98902011-09-20 Juri Linkov <juri@jurta.org>
9891
9892 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9893 (Info-forward-node, Info-backward-node, Info-next-preorder)
9894 (Info-last-preorder): Use it. (Bug#9528)
9895
5147931d
JL
98962011-09-20 Juri Linkov <juri@jurta.org>
9897
9898 * info.el (Info-last-preorder): Visit last menu item only when
9899 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9900
cf499a1a
JD
99012011-09-20 Julien Danjou <julien@danjou.info>
9902
9903 * password-cache.el (password-cache-remove): Remove entries even if the
9904 value is nil, so that password with a nil value (negative caching) is
9905 possible to invalidate.
9906
f84e2fe2
LM
99072011-09-20 Lawrence Mitchell <wence@gmx.li>
9908
9909 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9910 all whitespace around breakpoint. (Bug#9553)
9911 (f90-find-breakpoint): Only break at whitespace inside a comment.
9912
78054a46
SM
99132011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * minibuffer.el (completion-file-name-table): Keep track of errors.
9916 (completion-table-with-predicate): Handle the case where pred1 is nil.
9917 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9918
345083b2
SM
99192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9920
e24e27be
SM
9921 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9922 (debugger-return-value): Signal an error if the debugging context does
9923 not await any return value.
9924
345083b2
SM
9925 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9926 * image-mode.el (image-toggle-display-text)
9927 (image-toggle-display-image): Stay away from evil `intangible'.
9928
08d355e3
LL
99292011-09-19 Leo Liu <sdl.web@gmail.com>
9930
9931 * replace.el (occur-revert-arguments): Make it permanent-local.
9932 (occur-mode): Don't call font-lock-defontify.
9933
f01da43f
CY
99342011-09-19 Chong Yidong <cyd@stupidchicken.com>
9935
9936 * net/ldap.el (ldap-search-internal): Don't push empty search
9937 result (Bug#9508).
9938
b6072fa6
SM
99392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9942
443d6696
MA
99432011-09-19 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9946 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9947
7cc6e154
JL
99482011-09-18 Juri Linkov <juri@jurta.org>
9949
9950 * buff-menu.el (Buffer-menu-mode-map):
9951 * dired.el (dired-mode-map):
9952 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9953 (lisp-interaction-mode-map):
9954 * emacs-lisp/package.el (package-menu-mode-map):
9955 * epa.el (epa-key-list-mode-map):
9956 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9957 (menu-bar-options-menu):
9958 * outline.el (outline-mode-menu-bar-map):
9959 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9960 * vc/vc-dir.el (vc-dir-menu-map):
9961 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9962 Capitalize non-function content words in menu item strings.
9963
9964 * dired.el (dired-mode-map): Add menu item for
9965 `image-dired-dired-toggle-marked-thumbs'.
9966
80302a81
JL
99672011-09-18 Juri Linkov <juri@jurta.org>
9968
9969 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9970 to `isearch-case-fold-search' and restore its original value
9971 after the `isearch-mode' call.
9972
46c5cf66
JL
99732011-09-18 Juri Linkov <juri@jurta.org>
9974
9975 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9976 because `zgrep' returns 1 for successful matches (bug#9226).
9977
d18b513b
JL
99782011-09-18 Juri Linkov <juri@jurta.org>
9979
9980 * info.el (Info-extract-menu-node-name): Check the second match
9981 for empty string (second test-case of bug#9528).
9982 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9983 intermediate nodes to the history (first test-case of bug#9528).
9984
72753f87
JL
99852011-09-18 Juri Linkov <juri@jurta.org>
9986
9987 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9988 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9989
c9384295
JL
99902011-09-18 Juri Linkov <juri@jurta.org>
9991
1154d12e
JB
9992 * info.el (Info-file-supports-index-cookies):
9993 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9994 outputs one more line for long file names (bug#4142).
c9384295 9995
d473dce8
CY
99962011-09-18 Chong Yidong <cyd@stupidchicken.com>
9997
9998 * newcomment.el (comment-normalize-vars): If prompting for
9999 comment-start, set comment-start-skip too (Bug#8424).
10000
2176854d
JB
100012011-09-18 Johan Bockgård <bojohan@gnu.org>
10002
10003 * icomplete.el: Fix previous fix of Bug#5849.
10004 (icomplete-mode): Don't set completion-show-inline-help.
10005 (icomplete-minibuffer-setup): Set completion-show-inline-help
10006 locally during icompletion.
10007
3aace4e4
CY
100082011-09-18 Chong Yidong <cyd@stupidchicken.com>
10009
c940224f
CY
10010 * woman.el (woman2-process-escapes): Don't delete unrecognized
10011 escapes (Bug#7843).
10012
3aace4e4
CY
10013 * files.el (inhibit-first-line-modes-regexps): Add image files.
10014 (hack-local-variables-prop-line): Return nil for malformed
10015 prop-lines (Bug#9044).
10016
710dec63
MA
100172011-09-18 Michael Albinus <michael.albinus@gmx.de>
10018
10019 * net/tramp.el (top): Don't require 'shell.
10020 (tramp-methods): Fix docstring.
10021 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10022 Return complete remote file name. Handle "smb" case.
10023 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10024 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10025
10026 * net/tramp-compat.el (top): Require 'shell.
10027
10028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10029 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10030 `tramp-current-host'.
10031 (tramp-get-remote-tmpdir): Remove.
10032
10033 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10034 `tramp-tmpdir' entries.
10035 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10036 (tramp-smb-handle-file-attributes): Ignore errors.
10037 (tramp-smb-wait-for-output): Check also for process end.
10038
5d5ac8ec
LMI
100392011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10040
10041 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10042 when sending QUIT (bug#9312).
10043
8c0f49f0
CY
100442011-09-17 Chong Yidong <cyd@stupidchicken.com>
10045
10046 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10047 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10048 occur-mode-display-occurrence.
10049 (occur-edit-mode): Add usage message.
10050 (occur-cease-edit): New command.
10051 (occur-after-change-function): Use text properties to find the
10052 position of the prefix text.
10053 (occur-engine): Set stickiness of prefix text properties.
10054
8f1383f7
GM
100552011-09-17 Glenn Morris <rgm@gnu.org>
10056
10057 * progmodes/etags.el (complete-tag):
10058 Fix call to completion-in-region. (Bug#9526)
10059
744ba0e3
JL
100602011-09-17 Juri Linkov <juri@jurta.org>
10061
10062 * textmodes/ispell.el (ispell-word): Add to the error message
10063 the word, ispell program name and current dictionary (bug#9121).
10064 (ispell-tex-arg-end): Capitalize "error" in the error message.
10065
d9bbf400
AS
100662011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10067
10068 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10069 check. (Bug#4251)
10070
8da11505
JL
100712011-09-17 Juri Linkov <juri@jurta.org>
10072
10073 * window.el (window-safe-min-height, window-safe-min-width):
10074 Fix typos (followup to bug#9522).
10075
a91adc7e
SJ
100762011-09-17 Sven Joachim <svenjoac@gmx.de>
10077
10078 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10079
064f328a
EZ
100802011-09-16 Eli Zaretskii <eliz@gnu.org>
10081
10082 * simple.el (line-move): If goal-column is set, move by logical
10083 lines, not by display lines. (Bug#971)
10084 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10085 to reflect the above change.
10086
e69df516
SM
100872011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * image.el (imagemagick-register-types): Use regexp-opt.
10090
cbb0f9ab
CY
100912011-09-15 Chong Yidong <cyd@stupidchicken.com>
10092
10093 * window.el (display-buffer-base-action): Rename from
10094 display-buffer-default-action. Make default value empty.
10095 (display-buffer-overriding-action): Convert to defvar.
10096 (display-buffer-fallback-action): New var.
10097
25322144
CY
100982011-09-15 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10101 declaration.
10102 (package--add-to-archive-contents): If there is a duplicate entry
10103 with an older version, remove it.
10104 (package-menu-mark-delete, package-menu-mark-install)
10105 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10106 (package-menu-mark-obsolete-for-deletion):
10107 Use package-menu-get-status instead of a regexp search.
25322144
CY
10108 (package-menu-get-status): Use tabulated-list-entry.
10109 (package-menu-mark-upgrades): New command.
d770725a 10110 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10111 (package-menu-execute): Do installation before deletion.
10112 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10113 instead of checking major-mode.
10114 (package-menu--find-upgrades): New function.
10115
7520339c
LMI
101162011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10117
10118 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10119 passwords in the log buffer.
65a046c4
LMI
10120 (smtpmail-process-filter): Update the process marker so that the
10121 "broken by peer" status message is inserted in the right place.
7520339c 10122
d3c30954
SM
101232011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10124
3fe48822
SM
10125 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10126 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10127 bibtex-completion-at-point-function.
10128 (bibtex-completion-at-point-function): Use them.
10129
1b8b3954
SM
10130 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10131
d3c30954
SM
10132 * mpc.el (mpc-constraints-tag-lookup): New function.
10133 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10134 also to browser "album|playlist".
10135
72779976
JL
101362011-09-14 Juri Linkov <juri@jurta.org>
10137
10138 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10139 (isearch-edit-string): Use length of `isearch-string' when
10140 `isearch-fail-pos' returns nil.
10141 (isearch-message): Remove duplicate code and call
10142 `isearch-fail-pos' with arg `t'.
10143
a0bf2bcd
CY
101442011-09-14 Chong Yidong <cyd@stupidchicken.com>
10145
17bb0a2d
CY
10146 * replace.el (occur-mode-goto-occurrence): Don't force using other
10147 window (Bug#9499).
10148
a0bf2bcd
CY
10149 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10150
f678e0b6
MR
101512011-09-14 Martin Rudalics <rudalics@gmx.at>
10152
10153 * window.el (display-buffer-window): Remove.
10154 (display-buffer-record-window): Use help-setup window parameter
10155 instead of variable display-buffer-window.
10156 (display-buffer-function, special-display-buffer-names)
10157 (special-display-function): Mention help-setup parameter instead
10158 of display-buffer-window in doc-string.
d3c30954
SM
10159 * help.el (help-window-setup): New argument help-window.
10160 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10161 Reword some messages.
10162 (with-help-window): Pass window used for displaying the buffer
10163 to help-window-setup. Don't set display-buffer-window.
10164
8e39b2e8
GM
101652011-09-13 Glenn Morris <rgm@gnu.org>
10166
10167 * emacs-lisp/debug.el (debugger-make-xrefs):
10168 Preserve point. (Bug#9462)
10169
85e9c04b
CY
101702011-09-13 Chong Yidong <cyd@stupidchicken.com>
10171
10172 * window.el (window-deletable-p): Use next-frame.
10173
1b36ed6a
MR
101742011-09-13 Martin Rudalics <rudalics@gmx.at>
10175
10176 * window.el (window-auto-delete): Remove.
10177 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10178 dedication and previous buffers.
1b36ed6a
MR
10179 (switch-to-prev-buffer): Don't delete window.
10180 (delete-windows-on): Delete a window's frame if and only if the
10181 window is dedicated.
10182 (replace-buffer-in-windows): Delete buffer's window or frame if
10183 and only if window is dedicated.
10184 (quit-window): Handle quit-restore as before last change.
4d61f28d 10185 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10186
ef8ef9fb
CY
101872011-09-13 Chong Yidong <cyd@stupidchicken.com>
10188
10189 * window.el (window-deletable-p): Never delete the last frame on a
10190 given terminal.
10191
b2cba41e
GM
101922011-09-13 Glenn Morris <rgm@gnu.org>
10193
10194 * help.el (describe-key-briefly): Copy previous standard-output change.
10195
51553db6 101962011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10197
10198 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10199
b7556719
GM
102002011-09-13 Glenn Morris <rgm@gnu.org>
10201
10202 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10203 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10204
64b51947
CY
102052011-09-12 Chong Yidong <cyd@stupidchicken.com>
10206
10207 * dired-aux.el (dired-mark-read-string): Don't return default
10208 value on empty input (Bug#9361).
10209 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10210 Omit initial minibuffer contents.
10211 (dired-do-chmod): Signal an error on empty input.
10212 (dired-mark-read-string): Don't return default on empty input.
10213
10214 * files.el (file-modes-symbolic-to-number): Doc fix.
10215
393a301e
SM
102162011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * international/mule-cmds.el (ucs-completions): Remove.
10219 (read-char-by-name): Use complete-with-action instead; add metadata.
10220
fa5660f9
CY
102212011-09-11 Chong Yidong <cyd@stupidchicken.com>
10222
10223 * window.el (display-buffer--action-function-custom-type)
10224 (display-buffer--action-custom-type): New vars.
10225 (display-buffer-alist, display-buffer-default-action)
10226 (display-buffer-overriding-action): Add defcustom types.
10227
4a592f66
CY
10228 * frame.el (delete-other-frames): Doc fix (Bug#276).
10229
73d56dbd
LMI
102302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231
10232 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10233
37ac18a3
CY
102342011-09-11 Chong Yidong <cyd@stupidchicken.com>
10235
10236 Change modes that used same-window-* vars to use switch-to-buffer.
10237
10238 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10239 Use switch-to-buffer.
10240
10241 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10242 (customize-browse, custom-buffer-create-other-window):
10243 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10244
10245 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10246 (Info-prev, Info-up, Info-speedbar-goto-node)
10247 (info-display-manual): Use switch-to-buffer.
10248 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10249
10250 * mail/sendmail.el (mail): Use switch-to-buffer.
10251 (mail-recover): Use switch-to-buffer-other-window.
10252
10253 * cmuscheme.el (run-scheme, switch-to-scheme):
10254 * ielm.el (ielm):
10255 * shell.el (shell):
10256 * net/rlogin.el (rlogin):
10257 * net/telnet.el (telnet, rsh):
10258 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10259
10195bd6
AS
102602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10261
10262 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10263
b322f63a
LMI
102642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10265
39d7fed6
LMI
10266 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10267 so don't mention it (bug#9301).
ba5a81f1 10268 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10269
ee0e9f11
LMI
10270 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10271 match `x', `w32' and `ns', like the manual says (bug#9029).
10272
0b1c89c1 10273 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10274 (process-kill-buffer-query-function): Mention the buffer name in
10275 the query.
0b1c89c1 10276
77549ea8
LMI
10277 * image-mode.el (image-next-line): The line parameter is mandatory
10278 (bug#9258).
10279
803ef892
LMI
10280 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10281 which can be useful (bug#9301).
10282
12980837
LMI
10283 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10284
91054f8f
LMI
10285 * subr.el (match-string): Mention that the current buffer should
10286 be the same as the search was done in (bug#9282).
10287
b322f63a
LMI
10288 * facemenu.el: Disable the remove-* commands if the mark isn't
10289 active (bug#9162).
10290
3199b96f
CY
102912011-09-10 Chong Yidong <cyd@stupidchicken.com>
10292
10293 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10294 of display-buffer.
10295 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10296
10297 * replace.el (occur-mode-goto-occurrence)
10298 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10299 and display-buffer.
10300
10301 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10302 display-buffer.
10303
10304 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10305 special-display and same-window variables.
10306 (mail-other-window): Use switch-to-buffer-other-window.
10307 (mail-other-frame): USe switch-to-buffer-other-frame.
10308
393a301e
SM
10309 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10310 Use display-buffer-other-frame.
3199b96f
CY
10311 (gdb-display-gdb-buffer): Use pop-to-buffer.
10312
10313 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10314
10315 * progmodes/python.el: Don't set same-window-buffer-names.
10316
10317 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10318
10319 * window.el (display-buffer-alist): Add *Python*.
10320
8319e0bf
CY
103212011-09-10 Chong Yidong <cyd@stupidchicken.com>
10322
10323 * window.el (display-buffer-alist): Add entry for buffers
10324 previously handled same-window-*.
10325 (display-buffer-alist, display-buffer-default-action)
10326 (display-buffer-overriding-action): Mark as risky.
10327 (display-buffer-alist): Document action function changes.
10328 (display-buffer--same-window-action)
10329 (display-buffer--other-frame-action): New variables.
10330 (switch-to-buffer, display-buffer-other-frame): Use them.
10331 (display-buffer): Rename reuse-frame entry to reusable-frames.
10332 (display-buffer-reuse-selected-window): Function deleted.
10333 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10334 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10335 (display-buffer-special): New function.
10336 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10337 display-buffer-reuse-or-pop-window. Split off special-display
10338 part into display-buffer-special.
10339 (display-buffer-use-some-window): Don't perform any special
10340 pop-up-frames handling.
10341 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10342 (display-buffer--maybe-same-window): Rename from
0d3ff375 10343 display-buffer-maybe-same-window.
8319e0bf 10344
919a69aa
CY
10345 * info.el: Don't set same-window-regexps.
10346 (info-setup): New function.
10347 (info-other-window, info): Call it.
10348
10349 * cus-edit.el: Don't set same-window-regexps.
10350 (customize-group): New argument.
10351 (customize-group-other-window): Use it.
10352 (customize-face, customize-face-other-window): Likewise.
10353 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10354
8319e0bf
CY
10355 * net/rlogin.el:
10356 * net/telnet.el:
10357 * progmodes/gud.el: Don't set same-window-regexps.
10358
10359 * cmuscheme.el:
10360 * ielm.el:
10361 * shell.el:
10362 * mail/sendmail.el:
10363 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10364
25173000
JL
103652011-09-10 Juri Linkov <juri@jurta.org>
10366
10367 * isearch.el (isearch-edit-string): Remove obsolete mention of
10368 `C-w' (`isearch-yank-word-or-char') from docstring.
10369 (isearch-query-replace): Fix typo in docstring (bug#9466).
10370
056e44ef
JL
103712011-09-10 Juri Linkov <juri@jurta.org>
10372
10373 * paren.el (show-paren-function): Don't show escaped parens.
10374 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10375
c3760c17
EZ
103762011-09-10 Eli Zaretskii <eliz@gnu.org>
10377
10378 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10379 (mm-default-file-encoding): Remove autoload forms, they are
10380 replaced with autoload cookies in mml.el and mm-encode.el.
10381 (mail-add-attachment): New command.
10382 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10383 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10384 the doc string.
10385 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10386
fece895e
RT
103872011-09-10 Reuben Thomas <rrt@sc3d.org>
10388
e69df516
SM
10389 * simple.el (count-words-region): Use buffer if there's no region
10390 (bug#9429).
fece895e 10391
5e68ce4a
JL
103922011-09-09 Juri Linkov <juri@jurta.org>
10393
10394 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10395 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10396 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10397
0a6b9622
AM
103982011-09-09 Alan Mackenzie <acm@muc.de>
10399
10400 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10401 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10402
14a29deb
EZ
104032011-09-09 Eli Zaretskii <eliz@gnu.org>
10404
10405 Fix for Savannah bug#9392.
10406 * simple.el (mail-encode-mml): New defvar.
10407
10408 * mail/rmail.el (mail-encode-mml): Add a defvar.
10409 (rmail-enable-mime-composing): Default to t.
10410 (rmail-forward): Use MIME method of forwarding only if both
10411 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10412 Set mail-encode-mml non-nil if the MIME method was used.
10413
10414 * mail/sendmail.el (mml-to-mime): Add autoload form.
10415 (mail-encode-mml): Add a defvar.
10416 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10417 to nil.
10418 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10419 message through mml-to-mime, and reset mail-encode-mml to nil.
10420
28c45130
GM
104212011-09-09 Glenn Morris <rgm@gnu.org>
10422
10423 * woman.el (woman-if-body): When processing an .el block,
10424 do not delete the next .el block as well. (Bug#9447)
69f4b618 10425 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10426
9b1c252e
MR
104272011-09-08 Martin Rudalics <rudalics@gmx.at>
10428
10429 * window.el (window-deletable-p): Make sure window is live before
10430 invoking window-prev-buffers.
10431
567457e3
LL
104322011-09-08 Leo Liu <sdl.web@gmail.com>
10433
10434 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10435
97f05794
JL
104362011-09-08 Juri Linkov <juri@jurta.org>
10437
10438 * progmodes/compile.el (compilation-environment): Make it
10439 a defcustom (bug#8340).
10440
8b0874b5
MR
104412011-09-08 Martin Rudalics <rudalics@gmx.at>
10442
10443 * window.el (frame-auto-delete): Rename to window-auto-delete.
10444 Make it control auto-deletion of windows and/or frames.
10445 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10446 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10447 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10448 Rewrite handling of case when window/frame can be deleted.
10449 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10450 argument t. (Bug#9456)
8b0874b5 10451
4feb6e73
CY
104522011-09-07 Chong Yidong <cyd@stupidchicken.com>
10453
10454 * help-mode.el (help-mode): Restore autoload.
10455
91ab9c13
JL
104562011-09-07 Juri Linkov <juri@jurta.org>
10457
10458 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10459 `compilation-environment'. Set buffer-local
10460 `compilation-environment' to `thisenv' later after (funcall mode).
10461 (Bug#8340)
10462
10463 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10464 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10465 instead of replacing its value. (Bug#8340)
10466
0527e251
JL
104672011-09-07 Juri Linkov <juri@jurta.org>
10468
10469 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10470 based on text properties put by `grep-filter' instead of matching
10471 escape sequences.
10472 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10473 to the value of `grep-error-screen-columns' (bug#9438).
10474
249f792c
JL
104752011-09-07 Juri Linkov <juri@jurta.org>
10476
10477 * simple.el (next-error-highlight, next-error-highlight-no-select):
10478 Doc fix (bug#9432).
10479
ff7271b9
OT
104802011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10481
10482 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10483 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10484
183fc730
LL
104852011-09-07 Leo Liu <sdl.web@gmail.com>
10486
10487 * net/rcirc.el (rcirc-mode): Conditionally initialize
10488 rcirc-input-ring.
10489
77694924
SM
104902011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * emacs-lisp/find-func.el (find-function-C-source): Only set
10493 find-function-C-source-directory after checking that we found a source
10494 file there (bug#9440).
10495
d809b8eb
AM
104962011-09-06 Alan Mackenzie <acm@muc.de>
10497
10498 * isearch.el (isearch-other-meta-char): Wherever a key list is
10499 unread, "unread" the prefix arg, too. This fixes bug #8901.
10500
453de99f
OG
105012011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10502
10503 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10504
90439906
JL
105052011-09-05 Juri Linkov <juri@jurta.org>
10506
10507 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10508
f62bd846
JL
105092011-09-05 Juri Linkov <juri@jurta.org>
10510
10511 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10512 keeping point where processing of grep matches begins, and
10513 continue to delete remaining escape sequences from the same point.
10514 (grep-filter): Make leading zero optional in "0?1;31m" because
10515 git-grep emits "\033[1;31m" escape sequences unlike expected
10516 "\033[01;31m" as GNU Grep does (bug#9408).
10517 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10518
045820ec
JL
105192011-09-05 Juri Linkov <juri@jurta.org>
10520
10521 * subr.el (y-or-n-p): Capitalize "yes".
10522
f5e29b9b
MA
105232011-09-04 Michael Albinus <michael.albinus@gmx.de>
10524
10525 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10526 `tramp-cache-unload-hook' where appropriate.
10527 (tramp-methods): Rename `tramp-remote-sh' to
10528 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10529 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10530
10531 * net/tramp-sh.el (top): Don't require 'shell.
10532 (tramp-methods): Add `tramp-remote-shell' and
10533 `tramp-remote-shell-args' entries.
10534 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10535 (tramp-sh-handle-shell-command): Remove.
10536 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10537 Use `tramp-remote-shell'.
10538
2784c434
CY
105392011-09-03 Chong Yidong <cyd@stupidchicken.com>
10540
393a301e 10541 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10542 (sendmail-query-once): Save directly to send-mail-function.
10543 Update message-send-mail-function too.
10544
10545 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10546
464cdf56
CS
105472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10548
10549 * progmodes/python.el (python-mode-map): Use correct function to
10550 start python interpreter from menu-bar (as reported by Geert
10551 Kloosterman).
10552 (inferior-python-mode-map): Fix typo.
393a301e 10553 (python-shell-map): Remove.
464cdf56 10554
d37e5c87
DD
105552011-09-03 Deniz Dogan <deniz@dogan.se>
10556
10557 * net/rcirc.el (rcirc-print): Simplify code for
10558 rcirc-scroll-show-maximum-output. There is no need to walk
10559 through all windows to find the right one.
10560
f3ada0ee
CS
105612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10562
10563 * help.el (help-return-method): Doc fix.
10564
1f3c99ca
MR
105652011-09-03 Martin Rudalics <rudalics@gmx.at>
10566
10567 * window.el (window-deletable-p): Don't return a non-nil value
10568 when there's a buffer that was shown in the window before.
10569 (Bug#9419)
393a301e
SM
10570 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10571 Set window's previous buffers to nil.
1f3c99ca 10572
a3cf097f
EZ
105732011-09-03 Eli Zaretskii <eliz@gnu.org>
10574
10575 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10576 newline before and after the tag line, so it doesn't interfere
10577 with determining the paragraph direction of bidirectional text.
10578
3d03de90
LL
105792011-09-03 Leo Liu <sdl.web@gmail.com>
10580
10581 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10582
c3313451
CY
105832011-09-02 Chong Yidong <cyd@stupidchicken.com>
10584
393a301e 10585 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10586 (pop-to-buffer): Change interactive spec. Pass second argument
10587 directly to display-buffer.
10588 (display-buffer): Fix interactive spec. Use functionp to
10589 distinguish between a function and a list of functions.
10590
10591 * abbrev.el (edit-abbrevs):
10592 * arc-mode.el (archive-extract):
10593 * autoinsert.el (auto-insert):
10594 * bookmark.el (bookmark-bmenu-list):
10595 * files.el (find-file):
10596 * view.el (view-buffer):
10597 * progmodes/compile.el (compilation-goto-locus):
10598 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10599
89894cd8
CY
106002011-09-02 Chong Yidong <cyd@stupidchicken.com>
10601
10602 * window.el (display-buffer-alist): Doc fix.
10603 (display-buffer): Add docstring. Don't treat
10604 display-buffer-default specially.
10605 (display-buffer-reuse-selected-window)
10606 (display-buffer-same-window, display-buffer-maybe-same-window)
10607 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10608 (display-buffer-pop-up-window)
10609 (display-buffer-reuse-or-pop-window)
10610 (display-buffer-use-some-window): New functions.
10611 (display-buffer-default-action): Use them.
393a301e 10612 (display-buffer-default): Delete.
89894cd8
CY
10613 (pop-to-buffer-1): Fix choice of actions.
10614
ae0bc9fb
SM
106152011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10616
10617 * minibuffer.el (completion--insert-strings): Don't get confused by
10618 completion entries that end with an LF char.
10619
e9d90883
EZ
106202011-09-01 Eli Zaretskii <eliz@gnu.org>
10621
10622 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10623
437014c8
CY
106242011-09-01 Chong Yidong <cyd@stupidchicken.com>
10625
10626 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10627 (display-buffer-same-window, display-buffer-other-window):
10628 New functions.
437014c8
CY
10629 (pop-to-buffer-1): New function. Use the above.
10630 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10631 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10632
10633 * view.el (view-buffer-other-window, view-buffer-other-frame):
10634 Just use pop-to-buffer.
10635
a5e063d5
TV
106362011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10637
10638 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10639
793d32bb
WH
106402011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10641
10642 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10643
d65e4c15
RS
106442011-08-31 Richard Stallman <rms@gnu.org>
10645
10646 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10647 of the separation of rmail-view-buffer from rmail-buffer.
10648 If you say no to "replace original", the decrypt is in the
10649 view buffer. If you say yes, the decrypt goes into the
10650 rmail buffer also.
10651
f818cd2a
MR
106522011-08-31 Martin Rudalics <rudalics@gmx.at>
10653
10654 * window.el (display-buffer-window): Rewrite doc-string.
10655 (display-buffer-record-window): New function.
10656 (display-buffer-macro-specifiers)
10657 (display-buffer-even-window-sizes, display-buffer-set-height)
10658 (display-buffer-set-width, display-buffer-in-window)
10659 (display-buffer-reuse-window, display-buffer-split-specifiers)
10660 (display-buffer-side-specifiers, display-buffer-split-window-1)
10661 (display-buffer-split-window, display-buffer-split-atom-window)
10662 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10663 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10664 (display-buffer-other-window-means-other-frame)
10665 (display-buffer-normalize-special)
10666 (display-buffer-normalize-default)
10667 (display-buffer-normalize-argument)
10668 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10669 (display-buffer-normalize-specifiers, display-buffer-frame)
10670 (display-buffer-same-window, display-buffer-same-frame)
10671 (display-buffer-other-window)
10672 (display-buffer-same-frame-other-window)
10673 (display-buffer-other-frame, pop-to-buffer-same-window)
10674 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10675 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10676 (switch-to-buffer-same-frame)
10677 (switch-to-buffer-other-window-same-frame)
10678 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10679 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10680 (display-buffer-alist-set): Remove.
10681 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10682 (special-display-regexps, special-display-function):
10683 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10684 parameter.
10685 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10686 (special-display-frame-alist, special-display-popup-frame)
10687 (same-window-buffer-names, same-window-regexps, same-window-p)
10688 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10689 (split-window-preferred-function, split-height-threshold)
10690 (split-width-threshold, window-splittable-p)
10691 (split-window-sensibly, window--try-to-split-window)
10692 (window--frame-usable-p, even-window-heights)
10693 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10694 (window--display-buffer-2, display-buffer-other-frame):
10695 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10696 (display-buffer-default, display-buffer-assq-regexp): New functions.
10697 (display-buffer-alist): Rewrite doc-string.
10698 (display-buffer-default-action)
10699 (display-buffer-overriding-action): New variables.
10700 (display-buffer, switch-to-buffer): Rewrite.
10701 (pop-to-buffer): Restore Emacs 23 behavior but use
10702 window-normalize-buffer-to-display.
10703 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10704 Restore Emacs 23 behavior but use
10705 window-normalize-buffer-to-switch-to.
10706 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10707 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10708 Rewrite using Emacs 23 options.
f818cd2a 10709
5bc3b51d
MA
107102011-08-31 Michael Albinus <michael.albinus@gmx.de>
10711
10712 * net/tramp.el (tramp-root-regexp): Remove.
10713 (tramp-completion-file-name-regexp-unified)
10714 (tramp-completion-file-name-regexp-separate)
10715 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10716 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10717 (tramp-drop-volume-letter): Simplify definition.
10718 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10719
b1a4f8e1
SM
107202011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10723 (bug#9356).
10724
5664fa7b
RT
107252011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10726
b1a4f8e1 10727 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10728
9a45d6c3
JL
107292011-08-29 Juri Linkov <juri@jurta.org>
10730
10731 * isearch.el (isearch-done): Don't display message "Mark saved"
10732 when arg `edit' is non-nil to prevent its flicker in the echo area.
10733
fb87e0fb
CY
107342011-08-28 Chong Yidong <cyd@stupidchicken.com>
10735
10736 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10737 obsolete packages for deletion.
10738
09ac1c2a
CS
107392011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10740
10741 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10742 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10743 view-mode from help-mode.
10744 (help-xref-override-view-map): Remove.
10745 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10746 view-mode is not used anymore.
10747
7a1ff57f
CY
107482011-08-28 Chong Yidong <cyd@stupidchicken.com>
10749
10750 * server.el (server-port): Doc fix.
10751
b9696605
CY
10752 * cus-theme.el (custom-theme-choose-mode): Inherit from
10753 special-mode (Bug#9124).
10754 (custom-theme-choose-mode-map): Add special-mode to parent.
10755
ef8cdf8c
AM
107562011-08-28 Alan Mackenzie <acm@muc.de>
10757
10758 * progmodes/cc-fonts.el
10759 (c-make-font-lock-BO-decl-search-function): New function.
10760 (c-basic-matchers-after - "Fontify the clauses after various
10761 keywords"): Extract the three keyword lists for the 3 erroneous
10762 constructs from the list of four, and use the new function above
10763 in place of an old one.
10764
27de4e20
DD
107652011-08-28 Deniz Dogan <deniz@dogan.se>
10766
10767 * net/rcirc.el (rcirc-insert-prev-input)
10768 (rcirc-insert-next-input): Remove unused argument.
10769
356a3681
SM
107702011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10773
3fc9b218
AM
107742011-08-27 Alan Mackenzie <acm@muc.de>
10775
10776 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10777 handle function pointer parameters properly.
10778
538a061c
MR
107792011-08-27 Martin Rudalics <rudalics@gmx.at>
10780
10781 * window.el (display-buffer-reuse-window): Fix case where
10782 selected window was reused with non-nil OTHER-WINDOW argument.
10783 (Bug#9381)
10784
35b1c40c
DD
107852011-08-27 Deniz Dogan <deniz@dogan.se>
10786
10787 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10788 oftc's NickServ messages.
10789
2f6a3e79
GM
107902011-08-27 Glenn Morris <rgm@gnu.org>
10791
10792 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10793
7254299e
CY
107942011-08-26 Chong Yidong <cyd@stupidchicken.com>
10795
10796 * emacs-lisp/package.el (package-install): Call package-initialize
10797 if called interactively.
10798
f8ccf167
LL
107992011-08-26 Leo Liu <sdl.web@gmail.com>
10800
10801 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10802
3e8cd5ce
JL
108032011-08-25 Juri Linkov <juri@jurta.org>
10804
10805 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10806 `search-whitespace-regexp' (bug#9364).
10807
93eb7113
JL
108082011-08-25 Juri Linkov <juri@jurta.org>
10809
10810 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10811 `regexp-search-ring' to their global values to protect from
10812 updating by `read-from-minibuffer' (bug#9185).
10813
f65d1611
JL
108142011-08-25 Juri Linkov <juri@jurta.org>
10815
10816 * textmodes/ispell.el (ispell-command-loop): Add newline
10817 at the end of the "Use option `i'..." line.
10818
f1cf7a31
JL
108192011-08-25 Juri Linkov <juri@jurta.org>
10820
10821 * battery.el (display-battery-mode): If `battery-status-function'
10822 or `battery-mode-line-format' is nil, display the message and set
10823 `display-battery-mode' to nil (bug#9363).
10824
0c95fcf7
EZ
108252011-08-25 Eli Zaretskii <eliz@gnu.org>
10826
10827 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10828 bidi-string-mark-left-to-right; they are unnecessary now.
10829
a2ebe600
DD
108302011-08-25 Deniz Dogan <deniz@dogan.se>
10831
10832 * net/quickurl.el: Documentation typo fixes.
10833
e4ed06f1
CY
108342011-08-25 Chong Yidong <cyd@stupidchicken.com>
10835
10836 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10837
e5f1c99e
GM
108382011-08-25 Glenn Morris <rgm@gnu.org>
10839
b2948976
GM
10840 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10841
e5f1c99e
GM
10842 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10843 (smtpmail-via-smtp): Handle nil response from smtp.
10844
f22f4808
JL
108452011-08-24 Juri Linkov <juri@jurta.org>
10846
10847 * proced.el (proced-marked): Inherit from `error' instead of
10848 `font-lock-warning-face'.
10849
10850 * ibuffer.el (ibuffer-marked-face): Change default face from
10851 `font-lock-warning-face' to `warning'.
10852 (ibuffer-deletion-face): Change default face from
10853 `font-lock-type-face' to `error'.
10854
10855 * battery.el (battery-update): Use the face `error' instead of
10856 `font-lock-warning-face' (bug#6117).
10857
6a93965e
JL
108582011-08-24 Juri Linkov <juri@jurta.org>
10859
10860 * faces.el (success): Change face color from "Green3" to
10861 "ForestGreen" on light background (bug#9353).
10862
1ed43b09
CY
108632011-08-24 Chong Yidong <cyd@stupidchicken.com>
10864
5664fa7b
RT
10865 * window.el (quit-window): Rename from quit-restore-window.
10866 Use same arglist as old quit-window.
1ed43b09
CY
10867 (frame-auto-delete): Doc fix.
10868
10869 * view.el (view-mode-exit): Use quit-window.
10870
11dcdbb2
JL
108712011-08-24 Juri Linkov <juri@jurta.org>
10872
10873 * isearch.el (isearch-ring-adjust1): Start visiting previous
10874 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10875 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10876 for empty search string (when the last search string is reused
10877 automatically) to adjust the isearch ring to the last element and
10878 prepare the correct index for further M-p commands (bug#9185).
10879
de62b4df
KH
108802011-08-24 Kenichi Handa <handa@m17n.org>
10881
10882 * international/ucs-normalize.el: If decomposition property of
10883 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10884 nil.
10885 (nfd, nfkd): Likewise.
10886
963b492b
SM
108872011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10890 from process filters aren't reliably transmitted to the surrounding
10891 accept-process-output.
10892 (mpc-proc-check): New function.
10893 (mpc-proc-sync): Use it (bug#8293)
10894
93b6b5e1
SM
108952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10898 Add compatibility functions (bug#9313).
10899
bca633fb
EZ
109002011-08-23 Eli Zaretskii <eliz@gnu.org>
10901
b177498a
EZ
10902 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10903
6df6ae42 10904 * international/uni-bidi.el: Regenerate.
bca633fb 10905
0902a04e
KH
109062011-08-23 Kenichi Handa <handa@m17n.org>
10907
10908 * international/charprop.el:
10909 * international/uni-bidi.el:
10910 * international/uni-category.el:
10911 * international/uni-combining.el:
10912 * international/uni-comment.el:
10913 * international/uni-decimal.el:
10914 * international/uni-decomposition.el:
10915 * international/uni-digit.el:
10916 * international/uni-lowercase.el:
10917 * international/uni-mirrored.el:
10918 * international/uni-name.el:
10919 * international/uni-numeric.el:
10920 * international/uni-old-name.el:
10921 * international/uni-titlecase.el:
10922 * international/uni-uppercase.el: Regenerate.
10923
3bbf23bc
MR
109242011-08-23 Martin Rudalics <rudalics@gmx.at>
10925
10926 * help.el (help-window-setup): Fix message displayed when other
10927 window is reused. (Bug#9341)
10928
b3fd59bd
SM
109292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10930
1802e444
SM
10931 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10932 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10933
b3fd59bd
SM
10934 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10935 Mark obsolete.
10936 * shell.el (shell-parse-pcomplete-arguments): New function.
10937 (shell-completion-vars): Use it instead (bug#9160).
10938
4eb61348
SM
109392011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10940
867cab74
SM
10941 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10942 strings and comments (bug#9333).
10943
4eb61348
SM
10944 * emacs-lisp/debug.el (debug-arglist): New function.
10945 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10946 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10947
262a1439
JL
109482011-08-22 Juri Linkov <juri@jurta.org>
10949
56ee679c
JL
10950 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10951 Revert regexp that highlights output switches to its old
10952 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10953
262a1439
JL
10954 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10955 to check for empty output (bug#9226).
10956
f13f86fb
CY
109572011-08-22 Chong Yidong <cyd@stupidchicken.com>
10958
10959 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10960 symbol-constituent as the default, as that stops font-lock from
10961 working properly (Bug#8843).
10962
c65c9622
LMI
109632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10964
10965 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10966 `coding-system-for-*' around the process open call to avoid
10967 auth-source side effects.
e7f2c178 10968 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10969 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10970 probe hangs.
c65c9622 10971
23a8a5ab
CY
109722011-08-21 Chong Yidong <cyd@stupidchicken.com>
10973
ff98b2dd
CY
10974 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10975
23a8a5ab
CY
10976 * emacs-lisp/find-func.el (find-function-noselect): New arg
10977 lisp-only.
10978
10979 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10980 signal an error for built-in functions (Bug#6664).
10981
f5e3c598
LMI
109822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10983
10984 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10985 (smtpmail-try-auth-methods): Use it.
10986
a3f2468a
CY
109872011-08-21 Chong Yidong <cyd@stupidchicken.com>
10988
2c34e8da
CY
10989 * font-lock.el (font-lock-fontify-region)
10990 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10991 (font-lock-default-unfontify-buffer)
10992 (font-lock-default-fontify-region)
10993 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10994
b3fd59bd
SM
10995 * progmodes/compile.el (compilation-error-properties):
10996 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10997 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10998 `ant' regexp.
ee31aabc 10999
a3f2468a
CY
11000 * net/browse-url.el (browse-url-firefox): Don't call
11001 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11002
8e999f70
GM
110032011-08-20 Glenn Morris <rgm@gnu.org>
11004
c21a496a
GM
11005 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11006
59ee0542
GM
11007 * tutorial.el (tutorial--default-keys): Update some default bindings.
11008
8e999f70
GM
11009 * files.el (hack-local-variables): Fully ignore case for "mode:".
11010
e3715033
AM
110112011-08-20 Alan Mackenzie <acm@muc.de>
11012
11013 Resolve invalid use of a regexp in regexp-opt.
11014
4d61f28d
JB
11015 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11016 detection for a java annotation.
e3715033 11017
4d61f28d 11018 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11019 detection for a java annotation.
11020
4d61f28d
JB
11021 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11022 handling for java.
e3715033
AM
11023 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11024
04ed2e9c
CY
110252011-08-20 Chong Yidong <cyd@stupidchicken.com>
11026
11027 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11028 (Bug#9274).
11029
826cee64
AM
110302011-08-20 Alan Mackenzie <acm@muc.de>
11031
58179cce 11032 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11033 such a construct. Mainly for when jit-lock etc. starts a chunk
11034 here.
11035
58179cce 11036 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11037 variable.
58179cce 11038 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11039 c-make-font-lock-search-function.
11040 (c-make-font-lock-search-function): Use the above function.
11041 (c-make-font-lock-context-search-function): New function.
11042 (c-cpp-matchers): Enhance the preprocessor expression case with
11043 the above function
11044 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11045 which takes an expression.
11046
11047 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11048
13009bd8
MR
110492011-08-20 Martin Rudalics <rudalics@gmx.at>
11050
11051 * window.el (display-buffer-reuse-window)
11052 (display-buffer-pop-up-window): Don't reuse or split a side
11053 window.
11054
9234ff7f
GM
110552011-08-19 Glenn Morris <rgm@gnu.org>
11056
11057 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11058 Downcase "Mode:". (Bug#9331)
9234ff7f 11059
f635daa1
CY
110602011-08-18 Chong Yidong <cyd@stupidchicken.com>
11061
11062 * international/characters.el: Add L and R categories.
11063
11064 * subr.el (bidi-string-mark-left-to-right): Rename from
11065 string-mark-left-to-right. Use category search.
11066
11067 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11068
bc987f8b
JL
110692011-08-18 Juri Linkov <juri@jurta.org>
11070
11071 * faces.el (error, warning, success): New faces with definitions
11072 copied from old default values of `font-lock-warning-face',
11073 `compilation-warning', `compilation-info' (bug#6117).
11074
11075 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11076
11077 * progmodes/compile.el (compilation-error): Inherit from `error'.
11078 (compilation-warning): Inherit from `warning'.
11079 (compilation-info): Inherit from `success'.
11080
11081 * dired.el (dired-marked): Inherit from `warning'.
11082 (dired-flagged): Inherit from `error'.
11083
57173b96
LMI
110842011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11085
3e79eb87
LMI
11086 * mail/smtpmail.el (auth-source): Require to avoid problems with
11087 binding variables (bug#9298). Also clean up some unused
11088 autoloads.
11089
b3fd59bd
SM
11090 * net/network-stream.el (network-stream-open-starttls):
11091 Support using starttls.el without using gnutls-cli.
57173b96 11092
02b404de
JL
110932011-08-17 Juri Linkov <juri@jurta.org>
11094
11095 * progmodes/grep.el (rgrep): Handle the case when
11096 `grep-find-command' is a cons cell (bug#9278).
11097
8c9177f2
MR
110982011-08-17 Martin Rudalics <rudalics@gmx.at>
11099
11100 * window.el (display-buffer-pop-up-frame): Run frame creation
11101 function with BUFFER current (as special-display-popup-frame
11102 does). Reported by Drew Adams.
11103
3644a0ab
DU
111042011-08-17 Daiki Ueno <ueno@unixuser.org>
11105
11106 * epa-mail.el: Simplify GnuPG group expansion using
11107 epg-expand-group.
11108 (epa-mail-group-alist, epa-mail-group-modtime)
11109 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11110 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11111 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11112 Remove.
11113
5e617bc2 111142011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11115
11116 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11117
9c4aeabf
AM
111182011-08-16 Alan Mackenzie <acm@muc.de>
11119
11120 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11121 Correct, to avoid the inside of macros.
11122
3a99bf64
RS
111232011-08-16 Richard Stallman <rms@gnu.org>
11124
04963aa8
RS
11125 * epa-mail.el: Handle GnuPG group definitions.
11126 (epa-mail-group-alist, epa-mail-group-modtime)
11127 (epa-mail-gnupg-conf-file): New variables.
11128 (epa-mail-parse-groups, epa-mail-sync-groups)
11129 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11130 (epa-mail-expand-recipients): New functions.
11131 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11132
177549d0
RS
11133 * mail/rmail.el (rmail-epa-decrypt): New command.
11134
fe38beef
RS
11135 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11136 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11137 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11138 (epa-decrypt-armor-in-region): Make error message clearer.
11139
934eacb9
SM
111402011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11143 and "a2b" to "ab" for `prefix'.
11144
d024fb4e
CY
111452011-08-14 Chong Yidong <cyd@stupidchicken.com>
11146
11147 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11148 filter groups.
de148fee
CY
11149 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11150 Fourquet (Bug#8804).
d024fb4e 11151
62f1ca49
JB
111522011-08-12 Juanma Barranquero <lekktu@gmail.com>
11153
11154 * startup.el (argi): Declare as global variable (bug#9275).
11155
9ccaaa4b
CY
111562011-08-12 Chong Yidong <cyd@stupidchicken.com>
11157
11158 * subr.el (string-mark-left-to-right): Search the entire string
11159 for RTL script, not just the terminating character. Doc fix.
11160
a3dae87a
SM
111612011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11162
6cd18349
SM
11163 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11164 New function.
11165 (js--regexp-literal, js-syntax-propertize-function): Remove.
11166 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11167 (js-mode-map): Don't rebind electric keys.
11168 (js-insert-and-indent): Remove.
11169 (js-mode): Setup electric-layout and electric-indent instead.
11170
a3dae87a
SM
11171 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11172
9d5cb631
DU
111732011-08-12 Daiki Ueno <ueno@unixuser.org>
11174
11175 * epa.el (epa-progress-callback-function): Fix the logic of
11176 displaying progress.
11177 * epa-file.el (epa-file-insert-file-contents): Make progress
11178 display more user-friendly.
11179 (epa-file-write-region): Ditto.
11180
3e26a4a2
CY
111812011-08-10 Chong Yidong <cyd@stupidchicken.com>
11182
11183 * subr.el (string-mark-left-to-right): New function.
11184
11185 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11186 Use string-mark-left-to-right.
11187 (list-buffers-noselect): Caller changed.
11188
a3dae87a
SM
11189 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11190 Use string-mark-left-to-right.
3e26a4a2
CY
11191 (tabulated-list-print): Recenter after moving point.
11192
ac8cf6e6
JL
111932011-08-10 Juri Linkov <juri@jurta.org>
11194
11195 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11196 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11197 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11198
8d96c9a4
CY
111992011-08-09 Chong Yidong <cyd@stupidchicken.com>
11200
11201 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11202 (Bug#7554).
11203
7be1c708 112042011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11205
11206 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11207 character. (Bug#6594)
11208
37e11a63
CY
112092011-08-08 Chong Yidong <cyd@stupidchicken.com>
11210
839dde57
CY
11211 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11212 (image-dired--with-db-file): New macro.
11213 (image-dired-write-tags, image-dired-remove-tag)
11214 (image-dired-create-gallery-lists, image-dired-write-comments)
11215 (image-dired-get-comment, image-dired-mark-tagged-files)
11216 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11217 (image-dired-gallery-generate): Use insert-file-contents.
11218
37e11a63
CY
11219 * time.el (display-time-world-list, display-time-world-display):
11220 * time-stamp.el (time-stamp-string):
11221 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11222 set-time-zone-rule (Bug#7337).
11223
0b4946c4
DU
112242011-08-08 Daiki Ueno <ueno@unixuser.org>
11225
11226 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11227 (epg-error-to-string, epg-errors-to-string): New function.
11228 (epg-wait-for-completion): Reverse errors list.
11229 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11230 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11231 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11232 (epg-sign-keys, epg-generate-key-from-file)
11233 (epg-generate-key-from-string): Format errors by using
11234 epg-errors-to-string (bug#9255).
11235 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11236
75bfc667
JL
112372011-08-07 Juri Linkov <juri@jurta.org>
11238
11239 * faces.el (list-faces-display): Remove extra angle bracket
11240 from `help-mode-map'.
11241
11242 * info.el (Info-history-toc-nodes): Doc fix.
11243
11244 * longlines.el (longlines-mode): Doc fix.
11245
673e08bb
SM
112462011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11247
4640dd88
SM
11248 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11249 of statements and in a few more cases (bug#9183).
11250
673e08bb
SM
11251 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11252 New functions.
11253 (cl-transform-lambda): Use them (bug#9239).
11254
89b3f019
MR
112552011-08-05 Martin Rudalics <rudalics@gmx.at>
11256
11257 * window.el (display-buffer-same-window)
11258 (display-buffer-same-frame, display-buffer-other-window)
11259 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11260 (pop-to-buffer-other-window)
11261 (pop-to-buffer-same-frame-other-window)
11262 (pop-to-buffer-other-frame): Make them defuns.
11263 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11264
640c8776
SM
112652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * subr.el (make-composed-keymap): Move from C. Change calling
11268 convention, and improve docstring to bring attention to a subtle point.
11269 * minibuffer.el (completing-read-default): Adjust accordingly.
11270
63648a95
MA
112712011-08-03 Michael Albinus <michael.albinus@gmx.de>
11272
11273 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11274 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11275
11276 * net/trampver.el: Update release number.
11277
b796c9b7
SM
112782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11281 "in" (bug#9190).
11282
2239d7d5
LMI
112832011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11284
e07dd7c3
LMI
11285 * mail/sendmail.el (sendmail-query-once): Restore the current
11286 buffer after querying (bug#9074).
11287
0e6a2bd7
LMI
11288 * dired.el (dired-flagged): Use different faces for marked and
11289 flagged files (bug#6117).
11290
ce887515
LMI
11291 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11292 (bug#4433).
11293
92f2affc
LMI
11294 * ido.el (ido-mode): Switch off the message if called
11295 non-interactively.
11296
57d5aff0
LMI
11297 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11298 before 587, since it appears that that's more likely to work for
11299 more people.
11300
98cd6c18 11301 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11302 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11303 exist.
11304
b96dec83
LMI
11305 * info.el: Remove the `Info-beginning-of-buffer' function
11306 (bug#8325).
11307
b796c9b7
SM
11308 * net/network-stream.el (network-stream-open-starttls):
11309 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11310
d90e2ea0
MR
113112011-08-01 Martin Rudalics <rudalics@gmx.at>
11312
11313 * window.el (display-buffer-in-window): Don't set dedicated status
11314 of window here (Bug#9215).
11315 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11316 (display-buffer-pop-up-side-window)
b796c9b7 11317 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11318
cca09170
SM
113192011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11322 before binding generated-autoload-file.
11323
027b979c
DD
113242011-08-01 Deniz Dogan <deniz@dogan.se>
11325
11326 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11327
3c7ee4f3
MA
113282011-07-30 Michael Albinus <michael.albinus@gmx.de>
11329
11330 Sync with Tramp 2.2.2.
11331
11332 * net/trampver.el: Update release number.
11333
2cc8e51a
JL
113342011-07-30 Juri Linkov <juri@jurta.org>
11335
11336 * dired-aux.el (dired-touch-initial): Remove function.
11337 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11338 current time, and `default' to the last modification time of the
11339 current marked file (bug#6887).
11340
a514d856
JM
113412011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11342
11343 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11344 numeric argument to read-number (bug#9163).
a514d856 11345
8a7eddd7
MA
113462011-07-27 Michael Albinus <michael.albinus@gmx.de>
11347
11348 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11349 connection process, it could be nil.
11350
1ddd96f5
LL
113512011-07-27 Leo Liu <sdl.web@gmail.com>
11352
11353 Simplify url handling in rcirc-mode.
11354
11355 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11356 (rcirc-browse-url-at-mouse): Remove.
11357 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11358
b248a85d
AM
113592011-07-26 Alan Mackenzie <acm@muc.de>
11360
11361 Fontify bitfield declarations properly.
11362
11363 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11364 (c-symbol-chars): Now exported as a lang variable.
11365 (c-not-primitive-type-keywords): New lang variable.
11366
11367 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11368 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11369 parsed as a bitfield declaration.
b248a85d 11370
b796c9b7
SM
11371 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11372 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11373 (c-punctuation-in): New function.
11374 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11375 declarations properly.
11376
68575ab0
UJ
113772011-07-26 Ulf Jasper <ulf.jasper@web.de>
11378
11379 * calendar/icalendar.el (icalendar--all-events): Take care of
11380 multiple vcalendars in a single file.
b796c9b7 11381 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11382
0f0a88b9
DD
113832011-07-25 Deniz Dogan <deniz@dogan.se>
11384
11385 * image.el (insert-image): Clarifying docstring.
11386
0b3f36df
MA
113872011-07-24 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11390 `tramp-send-command-and-check' if there is no error.
11391 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11392
a9901f61
AM
113932011-07-22 Alan Mackenzie <acm@muc.de>
11394
11395 Prevent cc-langs.elc being loaded at run time.
11396
11397 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11398 cc-langs.
11399
4d61f28d 11400 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11401 "(require 'cc-langs)". Quote a form so it will evaluate at
11402 (cc-mode's) compilation time.
11403
11d074b2
MA
114042011-07-22 Michael Albinus <michael.albinus@gmx.de>
11405
11406 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11407 loading. (Bug#9114)
11408
938b94c8
MR
114092011-07-21 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (display-buffer-pop-up-window)
11412 (display-buffer-pop-up-side-window)
11413 (display-buffer-in-side-window): Call display-buffer-set-height
11414 and display-buffer-set-width after setting the new window's
b796c9b7 11415 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11416
bfa4f190
SS
114172011-07-20 Sam Steingold <sds@gnu.org>
11418
11419 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11420 (etags-tags-included-tables): Call `convert-standard-filename' on
11421 the file names contained in TAGS so that windows Emacs can handle
11422 TAGS files created by cygwin ctags.
11423
8ca42262
LMI
114242011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11425
11426 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11427 which apparently didn't work.
11428
5db2afd2 114292011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11430
5db2afd2
RW
11431 * proced.el (proced-send-signal): For *Marked Processes* buffer
11432 put point at beginning of buffer.
11433
92e15d10
SB
114342011-07-19 Stephen Berman <stephen.berman@gmx.net>
11435
11436 * proced.el (proced-format): Make header lines align with the text
11437 (bug#1779).
11438
1bfd59e5
LMI
114392011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11440
11441 * view.el (view-buffer): Allow running in `special' modes if we're
11442 visiting a file (bug#8615).
11443
f5aae37c
MR
114442011-07-19 Martin Rudalics <rudalics@gmx.at>
11445
11446 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11447 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11448 New functions.
f5aae37c
MR
11449 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11450 more accurately.
11451
bf2c1571
AM
114522011-07-18 Alan Mackenzie <acm@muc.de>
11453
11454 Fontify declarators properly when, e.g., a jit-lock chunk begins
11455 inside a declaration.
11456
11457 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11458
b796c9b7
SM
11459 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11460 New function.
bf2c1571
AM
11461 (c-complex-decl-matchers): Insert reference to
11462 c-font-lock-enclosing-decls.
11463
11464 * progmodes/cc-engine.el (c-backward-single-comment):
11465 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11466 to nil around calls to (forward-comment -1).
11467
4e190b80
LMI
114682011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11469
12dc863d
LMI
11470 * image.el (put-image): Doc typo fix.
11471
a762e966
LMI
11472 * progmodes/etags.el (tags-search): Doc typo fix.
11473
4e190b80
LMI
11474 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11475 password if we get errors 550 to 554.
11476
f019fb21
LMI
114772011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11478
b796c9b7 11479 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11480
81746738
LMI
11481 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11482 indentation character (bug#6380).
11483
3ee3a1b5
LMI
11484 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11485
c82f64de
LMI
11486 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11487 to clarify what the problem is (bug#4291).
11488
f019fb21
LMI
11489 * simple.el (current-kill): Clarify what
11490 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11491 (auto-fill-mode): Document `auto-fill-function' in relation to
11492 `auto-fill-mode' (bug#2470).
f019fb21 11493
0794775d
LM
114942011-07-16 Lawrence Mitchell <wence@gmx.li>
11495
11496 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11497 method if slot is read-only (bug#9035).
11498
be39b8cc
MR
114992011-07-16 Martin Rudalics <rudalics@gmx.at>
11500
b796c9b7 11501 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11502 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11503 selected before, see discussion of (Bug#8615), (Bug#6954).
11504 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11505
6ccf7859
GM
115062011-07-15 Glenn Morris <rgm@gnu.org>
11507
11508 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11509 Respect help-form.
6ccf7859 11510
87e86684
LM
115112011-07-09 Lawrence Mitchell <wence@gmx.li>
11512
11513 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11514 (gnutls-negotiate): Use it.
11515
d6066239
LMI
115162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11517
b796c9b7
SM
11518 * net/gnutls.el (gnutls-negotiate):
11519 Upcase `gnutls-algorithm-priority'.
d6066239 11520
bd23ebc0
GM
115212011-07-15 Glenn Morris <rgm@gnu.org>
11522
c65bca65
GM
11523 * jka-compr.el (jka-compr-verbose): Move from here...
11524 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11525 Add missing :version tag.
11526 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11527
478615cc
LMI
115282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11529
7b41decb
LMI
11530 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11531 (gnutls-negotiate): Use it.
11532
dbc44fcd
LMI
11533 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11534
06789f97
LMI
11535 * info.el (Info-beginning-of-buffer): New command.
11536 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11537 announcing `b' as the key (bug#8325).
ab896c37 11538 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11539
c39da690
LMI
11540 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11541
3aa5f34b
LMI
11542 * international/mule-cmds.el
11543 (describe-specified-language-support): Make the error message
11544 clearer (bug#8905).
11545
4bf0979f
LMI
11546 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11547
478615cc
LMI
11548 * isearch.el (isearch-barrier): Add a doc string, since it's
11549 mentioned in a function doc string (bug#8678).
11550
75c68aa1
MR
115512011-07-15 Martin Rudalics <rudalics@gmx.at>
11552
11553 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11554 buffer argument (Bug#9083) and self-identifying label argument.
11555
a7c33da2
GM
115562011-07-15 Glenn Morris <rgm@gnu.org>
11557
11558 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11559
2f5c6024
LMI
115602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11561
11562 * man.el (Man-fontify-manpage): Fix message when formatting the
11563 man page (bug#7929).
11564
0bb23927 115652011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11566
11567 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11568 argument LRM; if non-nil, append an invisible LRM character to the
11569 buffer name.
11570 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11571 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11572 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11573 paragraph direction.
cce4b0a7 11574
621ef9ab
LMI
115752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11576
d1583c48
LMI
11577 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11578 the man page name (bug#7929).
11579
6a57fb5f
LMI
11580 * image.el (put-image): Mention the `put-image' overlay property
11581 (bug#7834).
11582
d7956b14
LMI
11583 * scroll-bar.el (set-scroll-bar-mode): Mention that
11584 `scroll-bar-mode' lists the values (bug#7772).
11585
5b2d4a66
LMI
11586 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11587 command (bug#7729).
11588
7509a874
LMI
11589 * rect.el (apply-on-rectangle): Return the point after the last
11590 operation.
11591 (string-rectangle): Go to the point after the last operation
11592 (bug#7522).
11593
4fe74b19
LMI
11594 * printing.el (pr-toggle-region): Clarify the documentation
11595 slightly (bug#7493).
11596
b796c9b7
SM
11597 * time.el (display-time-update):
11598 Allow `display-time-mail-function' to return nil (bug#7158).
11599 Fix suggested by Detlev Zundel.
ab283561 11600
fc233c9d
LMI
11601 * vc/diff.el (diff): Clarify the order the file names are read
11602 (bug#7111).
11603
43f5740b
LMI
11604 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11605 the doc string (bug#7015).
11606
f2182a76
LMI
11607 * font-lock.el (font-lock-maximum-decoration): Mention what
11608 numeric levels mean (bug#6935).
11609
621ef9ab
LMI
11610 * startup.el (initial-buffer-choice): Don't mention the `none'
11611 selection, which is against policy.
11612
adc47434
MR
116132011-07-14 Martin Rudalics <rudalics@gmx.at>
11614
b796c9b7
SM
11615 * window.el (display-buffer-normalize-special):
11616 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11617
7e5bfb8f
EZ
116182011-07-14 Eli Zaretskii <eliz@gnu.org>
11619
11620 * subr.el (version<, version<=, version=): Mention "-CVS" and
11621 "-12345" alpha version numbers.
11622
27fa387a
CY
116232011-07-14 Chong Yidong <cyd@stupidchicken.com>
11624
11625 * bindings.el: Add advertised binding for set-mark-command
11626 (Bug#5772).
11627
8bdfa064
CY
116282011-07-14 Chong Yidong <cyd@stupidchicken.com>
11629
11630 * bindings.el (mode-line-other-buffer):
11631 * bookmark.el (bookmark-bmenu-2-window):
11632 * bs.el (bs-cycle-next, bs-cycle-previous):
11633 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11634 switch-to-buffer.
11635
11636 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11637 Delete.
8bdfa064 11638
5eba16a3
JB
116392011-07-14 Juanma Barranquero <lekktu@gmail.com>
11640
11641 * follow.el (follow-debug-message, follow-redisplay):
11642 * jka-cmpr-hook.el (with-auto-compression-mode):
11643 Fix typos in docstrings.
11644
15853710
LMI
116452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11646
a28e4607
LMI
11647 * subr.el (with-silent-modifications): Clarify somewhat what the
11648 macro inhibits (bug#6525).
11649
15853710
LMI
11650 * simple.el (eval-expression): Note what it does if called
11651 interactively (bug#6495).
11652
bee0fcef
CY
116532011-07-13 Chong Yidong <cyd@stupidchicken.com>
11654
b796c9b7
SM
11655 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11656 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11657
11658 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11659 Remove switch-to-buffer.
11660
58274504
LMI
116612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11662
bd2fcc8d
LMI
11663 * files.el (make-directory): Clarify that an error will be raised
11664 if there's an error (bug#6397).
11665
0f04b32c
LMI
11666 * startup.el (initial-buffer-choice): Add `none' as a choice
11667 (bug#6234).
11668
465c5fc8
LMI
11669 * subr.el (add-hook): Clarify section about buffer-local hooks
11670 (bug#6218).
11671
58274504
LMI
11672 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11673
bead9a43
JB
116742011-07-13 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * tabify.el (untabify): Preserve the current column so that point
11677 doesn't move (bug#6032).
11678
3af98a7b
LMI
116792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680
b796c9b7
SM
11681 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11682 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11683
6240145a
GM
116842011-07-13 Glenn Morris <rgm@gnu.org>
11685
11686 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11687 (dired-insert-directory): Give a message the first time
11688 if ls is found not to support --dired.
11689
1d8c2ccc
LMI
116902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11691
11692 * simple.el (toggle-truncate-lines): Clarify what is toggled
11693 (bug#5580). Text by Drew Adams.
11694
5fc4038e
CY
116952011-07-13 Chong Yidong <cyd@stupidchicken.com>
11696
11697 * simple.el (blink-matching-open): Make the error message from the
11698 last change less verbose.
11699
bf6012e5
DN
117002011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11701
11702 * font-lock.el (font-lock-comment-face): Use the high contrast
11703 "yellow" color for font-lock-comment-face on low color terminals
11704 using a dark background color (bug#4221).
11705
343c3b5a
LMI
117062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11707
7e9505c5
LMI
11708 * dired.el (dired-insert-set-properties): Make the doc string
11709 reflect what it does now (bug#5325).
11710
c26fdcf5
LMI
11711 * simple.el (blink-matching-open): Say that we were unable to find
11712 the match within the limit, if we're limited (bug#5122).
11713
bb388cc5
LMI
11714 * international/mule-cmds.el (prefer-coding-system): Add an
11715 example (bug#4869).
11716
343c3b5a
LMI
11717 * progmodes/etags.el (tags-search): Document `file-list-form'
11718 (bug#4731).
11719
2a517d45
LM
117202011-07-13 Lawrence Mitchell <wence@gmx.li>
11721
11722 * net/browse-url.el (browse-url-default-browser)
11723 (browse-url-browser-function): Make the default browser choice a
11724 bit more logical (bug#4300). Also clean up the doc string.
11725
b6c78ef2
JB
117262011-07-13 Juanma Barranquero <lekktu@gmail.com>
11727
11728 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11729 binary endings (bug#4440).
11730
1c4dd947
LMI
117312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
a2014063
LMI
11733 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11734 which can be pretty annoying (bug#8971).
11735
9c9c2d88
LMI
11736 * jka-compr.el (jka-compr-verbose): New variable, and use
11737 throughout (bug#8971).
11738
1c4dd947
LMI
11739 * info.el (Info-find-file): Fall back on the installation
11740 directory if we can't find the info node anywhere else.
11741
a1c9f41b
SO
117422011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11743
11744 * vc/vc.el (vc-revert-file):
11745 Don't set file time-stamp in the past. (Bug#5181)
11746
536f3d36
LMI
117472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11748
7152b011
LMI
11749 * files.el (after-find-file): Give a better error message when
11750 trying to find a symlink that points to a file that doesn't exist
11751 (bug#4398).
11752
536f3d36
LMI
11753 * progmodes/cc-vars.el: Remove (probably) misleading comment
11754 (bug#4396).
11755
460c0fba
JB
117562011-07-12 Johan Bockgård <bojohan@gnu.org>
11757
11758 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11759
7a6bda45
CY
117602011-07-12 Chong Yidong <cyd@stupidchicken.com>
11761
11762 * mouse-sel.el: Hack restoring functionality, while keeping
11763 compatibility with 2010-07-03 changes to mouse selection.
11764 (mouse-sel-primary-overlay): New var.
11765 (mouse-sel-selection-alist): Use it.
11766 (mouse-sel-mode): Doc fix; remove points that are default features
11767 of mouse.el.
11768
c79598ef
JB
117692011-07-12 Johan Bockgård <bojohan@gnu.org>
11770
11771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11772 Fix previous fix (bug#2490).
11773
ff8be6ef
RW
117742011-07-12 Roland Winkler <winkler@gnu.org>
11775
b796c9b7
SM
11776 * textmodes/bibtex.el (bibtex-initialize):
11777 Use pop-to-buffer-same-window.
ff8be6ef
RW
11778 (bibtex-search-entries): Fix interactive call.
11779
296ba3ee
LMI
117802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11781
f5242a02 11782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11783 Fontise bytecomp Error lines more correctly (bug#2490).
11784 Fix suggested by Johan Bockgård.
f5242a02 11785
296ba3ee
LMI
11786 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11787
11788 * dired-x.el (dired-guess-default): Use `delete-dups'.
11789
f69fd0d2
CY
117902011-07-12 Chong Yidong <cyd@stupidchicken.com>
11791
11792 * dired.el (dired-mark-prompt):
11793 * dired-aux.el (dired-read-shell-command): Doc fix.
11794
eab5dc07
LMI
117952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11796
b796c9b7
SM
11797 * mail/sendmail.el (sendmail-query-once):
11798 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11799 emacs -Q.
11800
11801 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11802
eab5dc07
LMI
11803 * cus-edit.el (custom-file): Take an optional no-error variable.
11804 (customize-save-variable): Set the variable, and give a warning if
11805 running under "emacs -q".
11806
a1e65d42
JB
118072011-07-11 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * loadhist.el (unload-feature-special-hooks):
11810 Add `auto-coding-functions', `fill-nobreak-predicate' and
11811 `find-directory-functions' (bug#5327).
11812
1d52da10
LMI
118132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11814
be958f1d
LMI
11815 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11816
5bedb26c
LMI
11817 * cus-edit.el (custom-guess-name-alist): -alist variables should
11818 use the `alist' type (bug#3120). Suggested by Drew Adams.
11819
1d52da10
LMI
11820 * printing.el: Add documentation to all the `pr-toggle-' commands.
11821
cd394be1 118222011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11823
11824 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11825 backends where it makes sense (bug#2623).
11826
dcc88d8a
LMI
118272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11828
c3de9feb
LMI
11829 * dired-x.el (dired-guess-default): Remove duplicate shell command
11830 entries (bug#2028).
8a93078b 11831 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11832 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11833
dcc88d8a
LMI
11834 * subr.el (remove-duplicates): New conveniency function.
11835
505e3645
LMI
118362011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11837
11838 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11839 (bug#1526).
11840
118412011-07-10 Martin Rudalics <rudalics@gmx.at>
11842
11843 * window.el (display-buffer-normalize-default): Don't invert
11844 meaning of even-window-heights. Reported by Eli Zaretskii
11845 <eliz@gnu.org>.
11846
455e4fa1
BR
118472011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11848
11849 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11850
8e0bc3e9
CY
118512011-07-10 Chong Yidong <cyd@stupidchicken.com>
11852
11853 * window.el (display-buffer): Fix arguments to
11854 display-buffer-reuse-window in last change.
11855
fa7c3228
CY
11856 * faces.el (link): Use a less saturated blue on light backgrounds.
11857
11858 * startup.el (fancy-startup-text, fancy-about-text)
11859 (fancy-startup-tail): Use font-lock faces, for background safety.
11860
c0a7f300
BN
118612011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11862
b796c9b7
SM
11863 * emulation/viper-cmd.el (viper-change-state-to-vi):
11864 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11865
4dc2a129
MR
118662011-07-09 Martin Rudalics <rudalics@gmx.at>
11867
11868 * window.el (display-buffer-default-specifiers): Remove.
11869 (display-buffer-macro-specifiers): Remove default specifiers.
11870 (display-buffer-alist): Default to nil.
b796c9b7 11871 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11872 (display-buffer-pop-up-window): Allow splitting internal
11873 windows. Check whether a live window was created.
11874 (display-buffer-other-window-means-other-frame)
11875 (display-buffer-normalize-arguments): Rename to
11876 display-buffer-normalize-argument and rewrite. Set the
11877 other-window specifier.
11878 (display-buffer-normalize-special): New function.
11879 (display-buffer-normalize-options): Rename to
11880 display-buffer-normalize-default and rewrite.
11881 (display-buffer-normalize-options-inhibit): Remove.
11882 (display-buffer-normalize-specifiers): Rewrite.
11883 (display-buffer): Process other-window specifier and call
11884 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11885 more faithfully.
b796c9b7 11886 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11887 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11888 (display-buffer-in-window, display-buffer-alist-set):
11889 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11890 <tassilo@member.fsf.org>.
11891
2d43b8c9
LL
118922011-07-09 Leo Liu <sdl.web@gmail.com>
11893
11894 * register.el (insert-register): Restore accidental change on
11895 2011-06-26. (Bug#9028)
11896
7f9b7c53
GM
118972011-07-09 Glenn Morris <rgm@gnu.org>
11898
11899 * subr.el (remq): Handle the empty list. (Bug#9024)
11900
f042cfd8
AS
119012011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11902
11903 * mail/sendmail.el (send-mail-function): No longer delay custom
11904 initialization.
11905 * custom.el (custom-initialize-delay): Doc fix.
11906
856b2f11
SM
119072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11910
afae1d68
MA
119112011-07-08 Michael Albinus <michael.albinus@gmx.de>
11912
11913 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11914 human-friendly prompt.
11915
0757af94
SM
119162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11919 provided by a particular plugin.
11920
d760b731
LMI
119212011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11922
11923 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11924 save customizations (with "emacs -Q"), just set the variable
11925 instead of erroring out.
11926
11927 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11928
cd79ce90
JL
119292011-07-08 Juri Linkov <juri@jurta.org>
11930
11931 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11932 (archive-zip-update-case): Use 7z if found by `executable-find'.
11933 The order of searching the available programs is the same as in
11934 `archive-zip-extract' (bug#8968).
11935
14cc04aa
CY
119362011-07-07 Chong Yidong <cyd@stupidchicken.com>
11937
11938 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11939 (menu-bar-options-menu): Tweak descriptions.
11940
0a1848ec
LMI
119412011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11942
11943 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11944 menu items into verb phrases (bug#1421). Also refill to fit under
11945 80 columns.
11946
f5bd0689
CY
119472011-07-07 Chong Yidong <cyd@stupidchicken.com>
11948
538e85c6
CY
11949 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11950 (Info-read-node-name): Doc fix (Bug#1084).
11951
f5bd0689
CY
11952 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11953 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11954 (end-of-sexp, beginning-of-sexp)
11955 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11956 (forward-symbol, forward-same-syntax, word-at-point)
11957 (sentence-at-point): Doc fix (Bug#1144).
11958
56ec5115
LMI
119592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11960
f3f8e37f
LMI
11961 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11962 should cover it (bug#1281).
11963
0757af94 11964 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11965
e9fce1ac 11966 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11967 negotiation fails, then possibly try again with a non-encrypted
11968 connection (bug#9017).
11969
56ec5115
LMI
11970 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11971 be used.
11972
c2f9aec8
RS
119732011-07-07 Richard Stallman <rms@gnu.org>
11974
11975 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11976 property, and handle its changed format.
11977 Look for the correct line number.
11978 Use file's line contents (but not past first =) to find
11979 correct line in message.
11980
ef7b981d 119812011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11982
11983 * international/characters.el (build-unicode-category-table):
11984 Delete it.
0757af94 11985 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11986
0757af94 11987 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11988 to src/chartab.c.
11989 (get-char-code-property): Call unicode-property-table-internal to
11990 load a file. Call get-unicode-property-internal where necessary.
11991 (put-char-code-property): Call unicode-property-table-internal to
11992 load a file. Call put-unicode-property-internal where necessary.
11993 put-unicode-property-internal where necessary.
0757af94
SM
11994 (char-code-property-description):
11995 Call unicode-property-table-internal to load a file.
c805dec0
KH
11996
11997 * international/charprop.el:
11998 * international/uni-bidi.el:
11999 * international/uni-category.el:
12000 * international/uni-combining.el:
12001 * international/uni-comment.el:
12002 * international/uni-decimal.el:
12003 * international/uni-decomposition.el:
12004 * international/uni-digit.el:
12005 * international/uni-lowercase.el:
12006 * international/uni-mirrored.el:
12007 * international/uni-name.el:
12008 * international/uni-numeric.el:
12009 * international/uni-old-name.el:
12010 * international/uni-titlecase.el:
12011 * international/uni-uppercase.el: Regenerate.
12012
12013 * loadup.el: Load international/charprop.el before
12014 international/characters.
12015
e14b388a
CY
120162011-07-07 Chong Yidong <cyd@stupidchicken.com>
12017
12018 * window.el (next-buffer, previous-buffer): Signal an error if
12019 called from a minibuffer window.
12020
12021 * bindings.el: Revert 2011-07-04 change.
12022
354cf0ba
RS
120232011-07-06 Richard Stallman <rms@gnu.org>
12024
12025 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12026 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12027 Treat markers like ints.
12028 (rmail-mime-entity): Doc fix.
12029
a48868a7
LMI
120302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12031
4906cd3d
LMI
12032 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12033 defcustom again for backwards compatibility.
12034
e0457abe
LMI
12035 * simple.el (shell-command-on-region): Fill.
12036
d67f7e1f
LMI
12037 * dired-aux.el (dired-kill-line): Add a doc string.
12038
fe204702
LMI
12039 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12040 to "\\sw\\|\\s_" (bug#358).
12041
a48868a7
LMI
12042 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12043 (dired-unmark-backward): Ditto.
12044 (dired-flag-backup-files): Ditto.
12045
12046 * dired-x.el (dired-mark-sexp): Ditto.
12047
aa8a705c
RS
120482011-07-06 Richard Stallman <rms@gnu.org>
12049
12050 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12051 (rmail-mime-entity): New arg TRUNCATED.
12052 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12053 New functions.
12054 (rmail-mime-save): Warn if entity is truncated.
12055 (rmail-mime-toggle-hidden): Likewise, for showing.
12056 (rmail-mime-process-multipart): Record when an entity is truncated.
12057
a9a936b9
RS
12058 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12059 if ENTITY is a string.
12060
1f2b92cb
LMI
120612011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12062
f4f73198 12063 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12064 of faces when `M-C-x'-ing their definitions (bug#8378).
12065 Also clean up the code slightly.
f4f73198 12066
12b16734 12067 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12068 because that makes the colors go away.
12b16734 12069
f0691d22
LMI
12070 * mail/sendmail.el (send-mail-function): Change the default to
12071 `sendmail-query-once'.
9e87df06 12072 (sendmail-query-once): Add an autoload cookie.
f0691d22 12073
1f2b92cb
LMI
12074 * net/network-stream.el (network-stream-open-starttls): Try using
12075 a plain connection even if the server offered STARTTLS, and we
12076 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12077 capability. This should make smtpmail.el work in slightly more
12078 configurations.
12079
1cdd2a1b
MA
120802011-07-06 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12083 New defun.
12084 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12085
fbcc67e2
MM
120862011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12087
12088 * progmodes/sql.el: Version 3.0
0757af94 12089 (sql-product-alist): Add product :completion-object,
fbcc67e2 12090 :completion-column, and :statement attributes.
0757af94 12091 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12092 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12093 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12094 ansi keywords.
12095 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12096 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12097 (sql-oracle-show-reserved-words): New function for development.
12098 (sql-product-font-lock): Simplify for source code buffers.
12099 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12100 New functions.
12101 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12102 (sql-mode-map): Add statement movement functions.
12103 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12104 New variable.
fbcc67e2
MM
12105 (sql-statement-regexp, sql-beginning-of-statement)
12106 (sql-end-of-statement, sql-signum): New functions.
0757af94 12107 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12108 (sql-show-sqli-buffer): Bug fix.
12109 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12110 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12111 with sql-interactive-mode.
12112 (sql-save-connection): Save buffer local settings.
0757af94 12113 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12114 (sql-product-interactive): Bug fix.
12115 (sql-preoutput-hold): New variable.
12116 (sql-interactive-remove-continuation-prompt): Bug fixes.
12117 (sql-debug-redirect): New variable.
12118 (sql-str-literal): New function.
12119 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12120 Redesign.
fbcc67e2
MM
12121 (sql-oracle-save-settings, sql-oracle-restore-settings)
12122 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12123 (sql-completion-object, sql-completion-column)
12124 (sql-completion-sqlbuf): New variables.
12125 (sql-build-completions-1, sql-build-completions)
12126 (sql-try-completion): New functions.
12127 (sql-read-table-name): Use them.
12128 (sql-contains-names): New buffer local variable.
12129 (sql-list-all, sql-list-table): Use it.
12130 (sql-oracle-completion-types): New variable.
12131 (sql-oracle-completion-object, sql-sqlite-completion-object)
12132 (sql-postgres-completion-object): New functions.
12133
d4eaeab1
GM
121342011-07-06 Glenn Morris <rgm@gnu.org>
12135
12136 * window.el (pop-to-buffer): Doc fix.
12137
322b7dab 121382011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12139
12140 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12141
322b7dab 121422011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12143
322b7dab 12144 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12145
322b7dab 12146 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12147
605dd5bf
CY
121482011-07-05 Chong Yidong <cyd@stupidchicken.com>
12149
12150 * button.el (button): Inherit from link face. Suggested by Dan
12151 Nicolaescu.
12152
7dbfa719
SM
121532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12154
3db614b0
SM
12155 * progmodes/gdb-mi.el: Fit in 80 columns.
12156 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12157 switch-to-buffer.
12158
7dbfa719
SM
12159 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12160 if imenu is simply not configured (bug#8941).
12161
919d884a
KM
121622011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12163
12164 * allout.el (allout-post-undo-hook): New allout outline-change
12165 event hook to signal undo activity.
12166 (allout-post-command-business): Run allout-post-undo-hook if an
12167 undo just occurred.
7dbfa719
SM
12168 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12169 * allout-widgets.el (allout-widgets-after-undo-function):
12170 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12171 in the vicinity of an undo.
12172 (allout-widgets-mode): Include allout-widgets-after-undo-function
12173 on the new allout-post-undo-hook.
12174
450a0f09
SM
121752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12178 Let define-derived-mode define it.
12179 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12180 cycles of abbrev-table inheritance (bug#8998).
12181
2de69e00
RW
121822011-07-05 Roland Winkler <winkler@gnu.org>
12183
12184 * textmodes/bibtex.el: Add support for biblatex.
12185 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12186 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12187 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12188 (bibtex-entry-alist, bibtex-field-alist): New variables.
12189 (bibtex-entry-field-alist): Obsolete alias for
12190 bibtex-BibTeX-entry-alist.
12191 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12192 (bibtex-set-dialect): New command.
12193 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12194 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12195 Bind via bibtex-set-dialect.
2de69e00
RW
12196 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12197 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12198 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12199 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12200 Define via bibtex-set-dialect.
450a0f09
SM
12201 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12202 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12203 (bibtex-vec-push, bibtex-vec-incr): New functions.
12204 (bibtex-format-entry, bibtex-field-list)
12205 (bibtex-print-help-message, bibtex-validate)
12206 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12207
2dcdbdd9
SM
122082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * progmodes/compile.el (compilation-goto-locus):
12211 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12212 * bs.el (bs-cycle-next, bs-cycle-previous):
12213 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12214 * bindings.el (mode-line-other-buffer):
12215 * autoinsert.el (auto-insert):
12216 * arc-mode.el (archive-extract):
12217 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12218
b27640fe
JB
122192011-07-05 Juanma Barranquero <lekktu@gmail.com>
12220
12221 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12222 Fix check of `emacs-lock-unlockable-modes'.
12223 Coerce true values of `emacs-lock--try-unlocking' to t.
12224
53bbe3ad
JB
122252011-07-05 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12228 * emacs-lock.el: New file.
12229
1d3cdbc7
JD
122302011-07-05 Julien Danjou <julien@danjou.info>
12231
12232 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12233 than `boundp' to check if face is set.
12234
9173deec
JB
122352011-07-05 Juanma Barranquero <lekktu@gmail.com>
12236
12237 * register.el (registerv-make):
12238 * window.el (window-min-height): Fix typos in docstrings.
12239
869795d6
JD
122402011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12241
9173deec 12242 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12243 Update doc string.
12244
b768cdcd
JB
122452011-07-04 Juanma Barranquero <lekktu@gmail.com>
12246
12247 * server.el (server-execute): Catch quit and call
12248 `server-return-error' to pass the error back to emacsclient and
12249 close the connection (bug#8942).
12250
13aa217b
KM
122512011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12252
12253 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12254 insecure exception for current topic. Also note that auto-saves
12255 are handled differently.
12256
5d3385a0 12257 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12258 State variables for tracking auto-save inhibition situation.
12259
12260 (allout-write-contents-hook-handler): Rename from
12261 'allout-write-file-hook-handler', and describe how it depends on
12262 write-contents-functions sensitivity to non-nil value to prevent
12263 file write.
12264
12265 (allout-auto-save-hook-handler): Remove. auto-save does not check
12266 this in individual buffers, only in the starting buffer, so this
12267 is not the right way for us to inhibit auto-save in a buffer
12268 according to its condition.
12269
12270 (allout-mode): Use new allout-write-contents-hook-handler, and
12271 only with write-contents-functions. Remove auto-save provisions -
12272 they're implemented elsewhere.
12273
12274 (allout-before-change-handler): If undo is in progress, note that
12275 for attention of allout-post-command-business.
12276
12277 (allout-post-command-business): If the command we're following was
12278 an undo, check for change in the status of encrypted items and
12279 adjust auto-save inhibitions accordingly.
12280
12281 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12282 according to whether there are or aren't any plain-text topics
12283 pending encryption.
12284
2dcdbdd9 12285 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12286 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12287 if there are plain-text topics pending encryption.
13aa217b
KM
12288
12289 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12290 buffer-saved-size and some allout state to not inhibit auto-saves
12291 if there are no longer any plain-text topics pending encryption.
12292
0757af94
SM
12293 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12294 No longer provide for exemption of the current topic.
13aa217b 12295
ac89b32c
JL
122962011-07-04 Juri Linkov <juri@jurta.org>
12297
12298 Add 7z operations to delete and save changed members (bug#8968).
12299 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12300 New defcustoms.
12301 (archive-7z-write-file-member): New function.
12302 (archive-7z-summarize): Fix the number of dashes in the
12303 listing output.
12304
8fa39615
SM
123052011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12308 (bug#8958).
12309
2f11b3f1
CY
123102011-07-04 Chong Yidong <cyd@stupidchicken.com>
12311
d66fef2b
CY
12312 * bindings.el: Ignore next-buffer and previous-buffer in
12313 minibuffer-local-map.
12314
2f11b3f1
CY
12315 * font-lock.el (font-lock-builtin-face): Change light background
12316 color to dark slate blue (Bug#6693).
12317
f932a347
WD
123182011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12319
12320 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12321
c8af70e1
SM
123222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12325 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12326 Add switch-to-buffer.
12327
f158badc
LMI
123282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12329
12330 * isearch.el (isearch-search-fun-function): Clarify further the
12331 meaning of the function returned.
12332
6d95bd46
MA
123332011-07-04 Michael Albinus <michael.albinus@gmx.de>
12334
12335 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12336
12337 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12338 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12339 Use it.
12340 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12341 `tramp-default-remote-path' does not exist.
12342 (tramp-send-command-and-read): New optional argument NOERROR.
12343 (tramp-open-connection-setup-interactive-shell)
12344 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12345 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12346 (tramp-process-sentinel): Flush also process' connection property.
12347 (tramp-sh-handle-start-file-process): Do not set process
12348 sentinel. It is done now ...
12349 (tramp-maybe-open-connection): ... here. (Bug#8929)
12350
909e6b67
MK
123512011-07-04 MON KEY <monkey@sandpframing.com>
12352
12353 * play/animate.el (animate-string): Doc fixes and allow changing
12354 the buffer name (bug#5417).
12355
123562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12357
c8af70e1 12358 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12359
f34755dc
PE
123602011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12361
396cec72
PE
12362 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12363 This is simpler and helps future-proof the code.
12364 (timer-until): Use time-subtract and float-time.
08235028 12365 (timer--time-less-p): Use time-less-p.
f34755dc 12366
56e6cc31
JB
123672011-07-04 Juanma Barranquero <lekktu@gmail.com>
12368
3abb79e5
JB
12369 * type-break.el (timep): Use the value of `float-time' to avoid a
12370 byte-compiler warning.
12371
56e6cc31
JB
12372 * server.el (server-eval-and-print): Return any result, even nil.
12373
7b9430b4
PE
123742011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12375
12376 * type-break.el: Accept time formats that the builtins accept.
12377 (timep, type-break-time-difference): Accept any format that
12378 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12379 This is simpler and helps future-proof the code.
12380 (type-break-time-difference): Round rather than ignoring
12381 subseconds components.
12382
3034e9e7
LMI
123832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12384
12385 * info.el (Info-apropos-matches): Make non-interactive, since it
12386 doesn't seem to do anything useful as a command (bug#8829).
12387
1485f4c0
CY
123882011-07-03 Chong Yidong <cyd@stupidchicken.com>
12389
12390 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12391 Move from faces.el.
1485f4c0
CY
12392 (frame-default-terminal-background): New function.
12393
12394 * custom.el (custom-push-theme): Don't record faces in `changed'
12395 theme; this doesn't work correctly for per-frame face settings.
12396 (disable-theme): Use face-set-after-frame-default to reset faces.
12397 (custom--frame-color-default): New function.
12398
9fa3dd45
LMI
123992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12400
c8af70e1 12401 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12402 (bug#8769).
12403
6cbbc20c
KR
124042011-03-29 Kevin Ryde <user42@zip.com.au>
12405
12406 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12407 `perl-Test2' extend to match possible "fail #N" rep count
12408 (bug#8377).
12409
c7f98048
LMI
124102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12411
65676592
LMI
12412 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12413 `smtpmail-via-smtp' now returns the error instead of nil.
12414
c7f98048
LMI
12415 * isearch.el (isearch-search-fun-function): Clarify the doc string
12416 (bug#8101).
12417
56e6cc31 124182011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12419
12420 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12421 unnecessary spaces (bug#8987).
12422
2b216704
LMI
124232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12424
12425 * net/network-stream.el (open-network-stream): Use the
12426 :end-of-capability command thoughout.
12427
124282011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12429
12430 * net/network-stream.el (open-network-stream): Add the
12431 :end-of-capability command parameter, used by pop3.el.
12432
36adf6ce
LMI
124332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12434
1ca0da0e
LMI
12435 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12436
fc00f69c
LMI
12437 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12438 for list)" (bug#6475).
12439
28fd8759 12440 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12441 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12442 an error (bug#6297).
12443
0dd8b6da
LMI
12444 * man.el (Man-reference-regexp): Allow matching possible
12445 word-wrapped references (bug#6289).
12446
ce1438d6
LMI
12447 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12448 for consistency with the other vc buffers (bug#6197).
12449 (vc-checkin): Ditto.
12450
12451 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12452
36adf6ce
LMI
12453 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12454
e83cc1f7
LMI
124552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12456
8a20ca4c
LMI
12457 * custom.el (defcustom): Clarify that :set is only used in the
12458 Customize user interface (bug#6089).
12459
83319045
LMI
12460 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12461 associated with a file, refuse to run instead of erroring out
12462 (bug#6084).
12463
a8392169
LMI
12464 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12465 the doc string, since it appears that using `fill-column' always
12466 controls the width (bug#7845).
12467
e83cc1f7
LMI
12468 * simple.el (shell-command-on-region): Say where the error output
12469 went if `shell-command-default-error-buffer' is set (bug#6857).
12470
e47ca23b
KM
124712011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12472
12473 * allout.el (allout-yank-processing): Adjust cursor position for
12474 backwards-deleted space.
12475
12476 (allout-rebullet-heading): Register changes with
12477 allout-exposure-changed-hook, so the modified topic is properly
12478 decorated.
12479
5cf56143
LMI
124802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12481
08549772
LMI
12482 * minibuffer.el (completion-in-region): Document PREDICATE
12483 (bug#7136).
12484
48e96771
LMI
12485 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12486 of keyword/argument pairs (bug#6904).
12487
c8af70e1
SM
12488 * replace.el (multi-occur):
12489 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12490
e17d05e2
LMI
124912011-07-02 Drew Adams <drew.adams@oracle.com>
12492
12493 * dired.el (dired-mark-if): Make the message about whether it's
12494 marking or unmarking clearer (bug#8523).
12495
063b0e45
LMI
124962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12497
12498 * disp-table.el (display-table-print-array): New function.
12499 (describe-display-table): Use it to print the vectors more pretty
12500 (Bug#8859).
12501
28545e04
MR
125022011-07-02 Martin Rudalics <rudalics@gmx.at>
12503
12504 * window.el (window-state-get-1): Don't assign clone numbers.
12505 Add clone-of item to list of window parameters.
12506 (window-state-put-2): Don't process clone numbers.
12507 (display-buffer-alist): Fix doc-string.
12508
3349e122
SM
125092011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * subr.el (remq): Don't allocate if it's not needed.
12512 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12513 (keymap--merge-bindings): New functions.
12514 (keymap-canonicalize): Use them to refine the canonicalization.
12515 * minibuffer.el (minibuffer-local-completion-map)
12516 (minibuffer-local-must-match-map): Move initialization from C.
12517 (minibuffer-local-filename-completion-map): Move initialization from C;
12518 don't inherit from anything here.
12519 (minibuffer-local-filename-must-match-map): Make obsolete.
12520 (completing-read-default): Use make-composed-keymap to combine
12521 minibuffer-local-filename-completion-map with either
12522 minibuffer-local-must-match-map or
12523 minibuffer-local-filename-completion-map.
12524
d224ac83
GM
125252011-07-01 Glenn Morris <rgm@gnu.org>
12526
3de63bf8
GM
12527 * type-break.el (type-break-time-sum): Use dolist.
12528
d224ac83
GM
12529 * textmodes/flyspell.el (flyspell-word-search-backward):
12530 Replace CL function.
12531
1a1e3f32
SM
125322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12533
fe3f64d5
SM
12534 * mouse.el (mouse--strip-first-event): New function.
12535 (function-key-map): Use it to map fringe clicks to normal clicks
12536 by default.
12537
eb604e34
SM
12538 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12539 (vc-bzr-revision-completion-table): Add support for annotate and date.
12540
1a1e3f32
SM
12541 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12542 inherit from parent.
12543
5bd35902
LMI
125442011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545
ace6c69c 12546 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12547 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12548
191e2bed
LMI
12549 * dired.el (dired-mode): Fix up the doc string as suggested by
12550 Drew Adams (bug#8817).
12551
5bd35902
LMI
12552 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12553 cookie, since the manual says that it should be possible to add
12554 this function to `find-file-hook' (bug#8709).
12555
eee8207a
TZ
125562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12557
12558 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12559 here. Noted Ted Zlatanov as the maintainer.
12560 (cfengine-common-settings, cfengine-common-syntax): New functions
12561 to set up common things between `cfengine-mode' and
12562 `cfengine3-mode'.
12563 (cfengine3-mode): New mode.
12564 (cfengine3-defuns cfengine3-defuns-regex
12565 (cfengine3-class-selector-regex cfengine3-category-regex)
12566 (cfengine3-vartypes cfengine3-font-lock-keywords)
12567 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12568 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12569
36b148cf
MA
125702011-07-01 Michael Albinus <michael.albinus@gmx.de>
12571
12572 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12573
12574 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12575
0bf4ba9a
MR
125762011-07-01 Martin Rudalics <rudalics@gmx.at>
12577
12578 * window.el (same-window-buffer-names, same-window-regexps)
12579 (same-window-p, special-display-frame-alist)
12580 (special-display-popup-frame, special-display-function)
12581 (special-display-buffer-names, special-display-regexps)
12582 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12583 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12584 (split-window-preferred-function, split-height-threshold)
12585 (split-width-threshold, even-window-heights)
12586 (display-buffer-mark-dedicated, window-splittable-p)
12587 (split-window-sensibly, window-safely-shrinkable-p):
12588 Un-obsolete.
12589 (display-buffer): Don't spread args with function specifier
12590 because special-display-popup-frame won't like it.
12591
35837f51
PE
125922011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12593
d0672f86
PE
12594 Time-stamp simplifications and fixes.
12595 These improve accuracy slightly, and future-proof the code
12596 against some potential changes to current-time format.
12597
b9444d97
PE
12598 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12599 by using time-since and float-time.
12600
0ef923dc
PE
12601 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12602 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12603 + NNN microseconds".
12604
2f81380d
PE
12605 * type-break.el (type-break-time-sum): Rewrite using time-add.
12606
845b5c3e
PE
12607 * play/hanoi.el (hanoi-current-time-float): Remove.
12608 All uses replaced by float-time.
12609
ee6f1be0
PE
12610 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12611 This yields a more-accurate answer.
12612 (rng-time-to-float): Remove; no longer needed.
12613
fe955043
PE
12614 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12615
5777162a
PE
12616 * calendar/timeclock.el (timeclock-seconds-to-time):
12617 Defalias to seconds-to-time, since they're the same thing.
12618
3103f8b6 12619 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12620 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12621 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12622
0e61a35f
SM
126232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * window.el (bury-buffer): Don't iconify the only frame.
12626 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12627 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12628
ddd63a1e
CY
126292011-07-01 Chong Yidong <cyd@stupidchicken.com>
12630
0e61a35f
SM
12631 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12632 Add mouse-yank-primary.
ddd63a1e 12633
055f4923
TZ
126342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12635
12636 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12637
6a2fb145
SM
126382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12641 (find-library-name): Use it to find relative load names when provided
12642 absolute file name (bug#8803).
12643
fd4983f2
LMI
126442011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12645
887d14ad
LMI
12646 * textmodes/flyspell.el (flyspell-word): Consider words that
12647 differ only in case as potential doublons (bug#5687).
12648
c53dc7fc
LMI
12649 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12650 Remove two rather uninteresting debugging-like messages to make
12651 debbugs.el more silent.
12652
fd4983f2
LMI
12653 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12654 a password-like phrase.
12655
7a71b18d 126562011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12657
12658 * progmodes/cc-guess.el: New file.
12659
6a2fb145 12660 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12661
12662 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12663 derived from `c-basic-common-init'.
12664
12665 * progmodes/cc-mode.el (top-level): Require cc-guess.
12666 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12667
1fa280a3
LM
126682011-06-30 Lawrence Mitchell <wence@gmx.li>
12669
12670 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12671
e6597158
AM
126722011-06-30 Alan Mackenzie <acm@muc.de>
12673
1fa280a3
LM
12674 * progmodes/cc-engine.el (c-guess-continued-construct):
12675 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12676 lock is disabled. Name this case as "CASE G".
12677
68ba37fb
KM
126782011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12679
12680 * allout.el (allout-yank-processing): Fix injection of extra space
12681 between bullet and non-whitespace character in first topic when
12682 pasting, ensuring that the actual spacing in the pasted topic
12683 following the bullet char is preserved. This extra space was
12684 causing pasted encrypted topics to get a decrypted status even
12685 when the content was actually still encrypted. Now the decryption
12686 status from before the paste is preserved.
12687
12688 (allout-flag-region): Set all allout overlays so they evaporate
12689 when reduced to zero length (evanescent), to prevent overlay
12690 leakage.
12691
887a0b34
GM
126922011-06-30 Glenn Morris <rgm@gnu.org>
12693
94b9acce
GM
12694 * w32-fns.el (w32-charset-info-alist): Declare.
12695
1d9b46d4
GM
12696 * find-dired.el (find-grep-options): Simplify.
12697
cc232200
GM
12698 * term/ns-win.el (ns-set-resource): Declare.
12699
28e77c46
GM
12700 * ses.el (row, col): Declare dynamic variables honestly.
12701
887a0b34
GM
12702 * textmodes/reftex-parse.el (index-tags): Declare.
12703
658d8eb8
CY
127042011-06-30 Chong Yidong <cyd@stupidchicken.com>
12705
12706 * cus-edit.el (customize-push-and-save): New function.
12707
12708 * files.el (hack-local-variables-confirm): Use it.
12709
1fa280a3
LM
12710 * custom.el (load-theme): New arg NO-CONFIRM.
12711 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12712 (custom-enabled-themes): Doc fix.
12713
12714 * cus-theme.el (customize-create-theme)
12715 (custom-theme-merge-theme): Callers to load-theme changed.
12716
bb617717
LMI
127172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12718
d61bdd5d
LMI
12719 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12720 short URLs have at least one dot in them (bug #7614).
12721
bb617717
LMI
12722 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12723 nil, because using a pty is apparently too slow (bug #895).
12724
2f31f37a
LMI
127252011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
12727 * mail/sendmail.el (sendmail-query-once): New function.
12728 (sendmail-query-once-function): New variable.
12729
3076b24e
GM
127302011-06-29 Glenn Morris <rgm@gnu.org>
12731
faf2a174
GM
12732 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12733
3076b24e
GM
12734 * ses.el (top-level): Require cl when compiling.
12735 (ses-set-localvars): Fix error statement.
12736 Call it at compile time to silence a storm of warnings.
12737
5386012d
MR
127382011-06-29 Martin Rudalics <rudalics@gmx.at>
12739
12740 * window.el (normalize-live-buffer): Rename to
12741 window-normalize-buffer.
12742 (normalize-live-frame): Rename to window-normalize-frame.
12743 (normalize-any-window): Rename to window-normalize-any-window.
12744 (normalize-live-window): Rename to window-normalize-live-window.
12745 (make-window-atom): Rename to window-make-atom.
12746 (window-resize-reset): Rename to window--resize-reset.
12747 (window-resize-reset-1): Rename to window--resize-reset-1.
12748 (resize-mini-window): Rename to window--resize-mini-window.
12749 (resize-subwindows-skip-p): Rename to
12750 window--resize-subwindows-skip-p.
12751 (resize-subwindows-normal): Rename to
12752 window--resize-subwindows-normal.
12753 (resize-subwindows): Rename to window--resize-subwindows.
12754 (resize-other-windows): Rename to window--resize-siblings.
12755 (resize-this-window): Rename to window--resize-this-window.
12756 (resize-root-window): Rename to window--resize-root-window.
12757 (resize-root-window-vertically): Rename to
12758 window--resize-root-window-vertically.
12759 (normalize-buffer-to-display): Rename to
12760 window-normalize-buffer-to-display.
12761 (normalize-buffer-to-switch-to): Rename to
12762 window-normalize-buffer-to-switch-to.
12763 Correspondingly update all callers of the functions listed
12764 above.
12765 (display-buffer-alist, display-buffer-normalize-arguments)
12766 (display-buffer-normalize-options, display-buffer)
12767 (display-buffer-alist-set): Use "function" instead of
12768 "fun-with-args".
12769
1176868d
CY
127702011-06-28 Chong Yidong <cyd@stupidchicken.com>
12771
12772 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12773 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12774 debbugs.gnu.org. Mention acknowledgment email.
12775
20a7a65f
LMI
127762011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
12778 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12779 buffer multibyteness, since it shouldn't matter.
12780
5f45cca5
MR
127812011-06-28 Martin Rudalics <rudalics@gmx.at>
12782
12783 * window.el (display-buffer-in-side-window): Handle dedicated
12784 windows as in display-buffer-reuse-window.
12785 (display-buffer-normalize-alist): Use value of override
12786 specifier.
12787 (display-buffer-normalize-specifiers): Use value of
12788 other-window-means-other-frame specifier.
12789 (display-buffer-alist): Rewrite some texts in widgets.
12790 (display-buffer): Spread arguments when calling function
12791 specified by fun-with-args.
12792
ad85fe1f
DD
127932011-06-28 Deniz Dogan <deniz@dogan.se>
12794
1fa280a3
LM
12795 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12796 Unnest `let'.
da68c4c8 12797
ad85fe1f
DD
12798 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12799 selectors (Bug#5732).
ec49bd31 12800 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12801
a08cc025
JA
128022011-06-27 Jari Aalto <jari.aalto@cante.net>
12803
12804 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12805 (eshell-ls-date-format): New defcustom.
12806 (eshell-ls-file): Use it.
12807
e2b551c5
SM
128082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12811
8982b231
KY
128122011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12813
12814 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12815 (ange-ftp-make-tmp-name): New arg.
12816 (ange-ftp-file-local-copy): Use it.
12817
36c9fa27
J
128182011-06-27 Jambunathan K <kjambunathan@gmail.com>
12819
12820 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12821 no-conversion (Bug#8870).
12822
d68443dc
MR
128232011-06-27 Martin Rudalics <rudalics@gmx.at>
12824
12825 * window.el (window-right, window-left, window-child)
12826 (window-child-count, window-last-child)
12827 (window-iso-combination-p, walk-window-tree-1)
12828 (window-atom-check-1, window-tree-1, delete-window)
12829 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12830 new naming conventions - window-vchild, window-hchild,
12831 window-next and window-prev are now called window-top-child,
12832 window-left-child, window-next-sibling and window-prev-sibling
12833 respectively.
d615d6d2
MR
12834 (resize-window-reset): Rename to window-resize-reset.
12835 (resize-window-reset-1): Rename to window-resize-reset-1.
12836 (resize-window): Rename to window-resize.
12837 (window-min-height, window-min-width)
12838 (resize-mini-window, resize-this-window, resize-root-window)
12839 (resize-root-window-vertically, adjust-window-trailing-edge)
12840 (enlarge-window, shrink-window, maximize-window)
12841 (minimize-window, delete-window, quit-restore-window)
12842 (split-window, balance-windows, balance-windows-area-adjust)
12843 (balance-windows-area, window-state-put-2)
12844 (display-buffer-even-window-sizes, display-buffer-set-height)
12845 (display-buffer-set-width, set-window-text-height)
12846 (fit-window-to-buffer): Rename all "resize-window" prefixed
12847 calls to use the "window-resize" prefix convention.
12848 (display-buffer-alist): Fix symbol for label specifier.
12849 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12850 corresponding specifier.
12851 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12852
b6458526
VB
128532011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12854
12855 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12856 convention.
12857 (ses-call-printer): Does not pass an empty string to formatter when the
12858 cell is empty to keep from barking printer Calc math-format-value.
12859
d31fd9ac
RS
128602011-06-27 Richard Stallman <rms@gnu.org>
12861
43d5bf84
RS
12862 * battery.el (battery-mode-line-limit): New variable.
12863 (battery-update): Handle it.
12864
d31fd9ac
RS
12865 * mail/rmailmm.el (rmail-mime-process-multipart):
12866 Handle truncated messages.
12867
819a6054
GM
128682011-06-27 Glenn Morris <rgm@gnu.org>
12869
12870 * progmodes/flymake.el (flymake-err-line-patterns):
12871 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12872
cedc73f2
VB
128732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12874
819a6054 12875 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12876 (ses--clean-!, ses--clean-_): New functions.
12877 (ses-range): Add configurability of readout order, and conversion
12878 to Calc vector.
12879
5e5d49b6
VB
12880 * ses.el (ses-repair-cell-reference-all): New function.
12881 (ses-cell-symbol): Set macro as safe, so that it can be used in
12882 formulas.
12883
56e6cc31 12884 * ses.el: Update cycle detection algorithm.
90ca8b49 12885 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12886 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12887 (ses-set-localvars): New function.
12888 (ses-make-cell): Add property-list as a cell element.
12889 (ses-cell-property-get-fun, ses-cell-property-get)
12890 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12891 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12892 New functions.
90ca8b49
VB
12893 (ses-cell-property-set, ses-cell-property-pop)
12894 (ses-cell-property-get-handle): New macro.
12895 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12896 New aliases, used for code readability.
12897 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12898 cycle detection.
12899 (ses-self-reference-early-detection): New defcustom.
fac916bf 12900 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12901 (ses-mode): Use ses-set-localvars.
12902 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12903 before lauching the update processing.
12904 (ses-initialize-Dijkstra-attempt): New function.
12905 (ses-recalculate-cell): Update for cycle detection based on
12906 Dijkstra algorithm.
12907
2bb63e81
VB
12908 * ses.el: Fix commenting and indenting convention.
12909
c9d29fb8
SM
129102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * bs.el (bs-cycle-next): Complete last change.
12913
d8e4b68b
JB
129142011-06-27 Drew Adams <drew.adams@oracle.com>
12915
12916 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12917
40098786
LMI
129182011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12919
c9d29fb8
SM
12920 * net/network-stream.el (network-stream-open-starttls):
12921 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12922 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12923
40098786
LMI
12924 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12925 to binary to possibly avoid line encoding issues on Windows (among
12926 other things).
12927
468d09d4
LMI
129282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12929
12930 * net/network-stream.el (open-network-stream): Return an :error
12931 saying what the problem was, if possible.
12932
12933 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12934 server.
12935
12936 * net/network-stream.el (network-stream-open-starttls): If we
12937 wanted to use STARTTLS, and the server offered it, but we weren't
12938 able to because we had no STARTTLS support, then close the connection.
12939 (open-network-stream): Return an :error element, if present.
12940
16f07dd7
CY
129412011-06-26 Chong Yidong <cyd@stupidchicken.com>
12942
88821ca0
CY
12943 * hl-line.el (hl-line-sticky-flag): Doc fix.
12944 (global-hl-line-sticky-flag): New option (Bug#8323).
12945 (global-hl-line-highlight): Obey it.
12946
16f07dd7
CY
12947 * vc/vc.el (vc-revert-show-diff): Default to t.
12948
6b5ccddf
KM
129492011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12950
c9d29fb8
SM
12951 * allout-widgets.el (allout-widgets-post-command-business):
12952 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12953 undecorated when an isearch is continued past, and isearch
12954 automatically collapses them. This leads to "widget leaks", where
12955 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12956 hidden widgets can slow down cursor travel, substantially.
12957 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12958 so we're doing without this nicety.
12959
12960 (allout-widgets-tally-string): Don't try to do a hash-table-count
12961 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12962 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12963 *Messages* when allout-widgets-maintain-tally is t.
12964
355f2e07
MR
129652011-06-26 Martin Rudalics <rudalics@gmx.at>
12966
12967 * window.el (display-buffer-normalize-argument): Rename to
12968 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12969 LABEL argument. Respect special-display-function when popping up
12970 a new frame. Fix code searching for a window showing the buffer
12971 on another frame.
c9d29fb8
SM
12972 (display-buffer-normalize-specifiers):
12973 Call display-buffer-normalize-arguments.
355f2e07
MR
12974 (display-buffer-in-window): Don't undedicate the window if its
12975 buffer remains the same.
12976 Reported by Drew Adams <drew.adams@oracle.com>.
12977 (display-buffer-alist): Add choice for same-window macro
12978 specfier.
12979 (display-buffer): Mention special meaning of LABEL argument in
12980 doc-string. Fix quoting. Don't pop up a new frame even as
12981 fallback.
12982
7ca8fc42
JB
129832011-06-26 Juanma Barranquero <lekktu@gmail.com>
12984
12985 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12986 avoid deleting the current window in some cases (bug#8911).
12987
bc312254
AS
129882011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12989
12990 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12991 (Bug#8934)
12992
2db18f3f
LMI
129932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12994
c9d29fb8
SM
12995 * net/network-stream.el (network-stream-open-starttls):
12996 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12997 (network-stream-open-tls): Ditto.
12998
6302e0d3
LL
129992011-06-26 Leo Liu <sdl.web@gmail.com>
13000
13001 * register.el (registerv): New struct.
13002 (registerv-make): New function.
c9d29fb8
SM
13003 (jump-to-register, describe-register-1, insert-register):
13004 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13005 struct. (Bug#8415)
13006
5fdd4046
CY
130072011-06-26 Chong Yidong <cyd@stupidchicken.com>
13008
2afef60a
CY
13009 * vc/vc.el (vc-revert-show-diff): New defcustom.
13010 (vc-diff-internal): New arg specifying diff buffer.
13011 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13012 reuse an existing *vc-diff* buffer (Bug#8927).
13013
5fdd4046
CY
13014 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13015
e93db24a
GM
130162011-06-26 Glenn Morris <rgm@gnu.org>
13017
13018 * progmodes/f90.el (f90-critical-indent): New option.
13019 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13020 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13021 (f90-mode): Doc fix.
13022 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13023 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13024 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13025 (f90-match-end): Handle block, critical.
13026
eefff499
GM
130272011-06-25 Glenn Morris <rgm@gnu.org>
13028
f6ba4cc9
GM
13029 * calendar/diary-lib.el (diary-included-files): Doc fix.
13030 (diary-include-files): New function, extracted from
13031 diary-include-other-diary-files and diary-mark-included-diary-files.
13032 (diary-include-other-diary-files, diary-mark-included-diary-files):
13033 Just call diary-include-files.
13034 (diary-mark-entries): Reset diary-included-files on first call.
13035
16712304
GM
13036 * calendar/diary-lib.el (diary-mark-entries)
13037 (diary-mark-included-diary-files):
13038 Visit included diary-files in temp buffers.
13039
5d8e0d43
GM
13040 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13041 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13042 (f90-start-block-re, f90-imenu-generic-expression)
13043 (f90-looking-at-program-block-start, f90-no-block-limit):
13044 Add support for submodules.
13045
ccf7a5d5
GM
13046 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13047 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13048
11fdef7d 130492011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13050
13051 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13052 buffer-file-type before setting its value, to avoid disastrous
eefff499 13053 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13054
74f53697
JB
130552011-06-25 Juanma Barranquero <lekktu@gmail.com>
13056
13057 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13058
13059 * ses.el (ses-unload-function):
13060 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13061
13062 * proced.el (proced-unload-function):
13063 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13064
18a4ce5e
AR
130652011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13066
13067 * server.el (server-create-window-system-frame): Add parameters arg.
13068 (server-process-filter): Doc fix. Handle frame-parameters.
13069
519d22cc
JB
130702011-06-25 Juanma Barranquero <lekktu@gmail.com>
13071
13072 Fix bug#8730, bug#8781.
13073
13074 * loadhist.el (unload--set-major-mode): New function.
13075 (unload-feature): Use it.
13076
13077 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13078 (python-unload-function): New function.
13079
c206f5b0
SM
130802011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13083
f9ad64f3
GS
130842011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13085
13086 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13087 the candidates list.
13088
7d0da90e
JB
130892011-06-24 Juanma Barranquero <lekktu@gmail.com>
13090
13091 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13092
14b4e83d
RS
130932011-06-23 Richard Stallman <rms@gnu.org>
13094
13095 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13096 (rmail-variables): Set next-error-move-function.
13097 (rmail-what-message): Take argument POS.
13098 (rmail-next-error-move): New function.
13099
273d2baf
SM
131002011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13103 messages for adjacent non-terminals.
13104
56c2cc9a
RS
131052011-06-23 Richard Stallman <rms@gnu.org>
13106
13107 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13108 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13109 (rmail-start-mail): Don't specify use of rmail-mail-return;
13110 that's done by mail-bury now.
13111 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13112
d59eb518
MA
131132011-06-23 Michael Albinus <michael.albinus@gmx.de>
13114
13115 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13116 SIZE is a number.
13117
02cfc6d6
MR
131182011-06-23 Martin Rudalics <rudalics@gmx.at>
13119
13120 * window.el (get-lru-window, get-mru-window)
13121 (get-largest-window): Never return a minibuffer window.
13122 (display-buffer-pop-up-window): Fix a bug that could lead to
13123 reusing the minibuffer window.
13124 (display-buffer): Pass original specifier argument to
13125 display-buffer-function instead of the normalized one.
13126 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13127
4e323265
LL
131282011-06-22 Leo Liu <sdl.web@gmail.com>
13129
13130 * minibuffer.el (completing-read-function)
13131 (completing-read-default): Move from minibuf.c
13132
7a70468f
RS
131332011-06-22 Richard Stallman <rms@gnu.org>
13134
50718fc2
RS
13135 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13136 to Rmail even if not started by a special Rmail command.
13137
7a70468f
RS
13138 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13139 Copy the buffer currently showing just one message.
13140
297dde5a
RW
131412011-06-22 Roland Winkler <winkler@gnu.org>
13142
13143 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13144 (bibtex-clean-entry): First delete the old key so that a
13145 customized algorithm for generating the new key does not get
13146 confused by the old key.
13147 (bibtex-url): Obey regexp of first step.
13148 (bibtex-search-entries): Do not use add-to-list with local
13149 list-var.
13150
97bb1093
LMI
131512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13152
13153 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13154 stored a user name, then query for the password first, instead of
13155 waiting for SMTP to give an error message and the trying again.
13156
1c0f1a19
JD
131572011-06-22 Lawrence Mitchell <wence@gmx.li>
13158
13159 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13160 BUFFER in call-process.
13161
396f7c9d
LMI
131622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13163
13164 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13165 QUIT twice.
ddb7ffee
LMI
13166 (smtpmail-try-auth-methods): Require user name and password from
13167 auth-source.
396f7c9d 13168
8998d1b3
MR
131692011-06-22 Martin Rudalics <rudalics@gmx.at>
13170
13171 * window.el (display-buffer-default-specifiers)
13172 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13173 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13174 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13175
13176 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13177 (special-display-frame-alist, special-display-popup-frame):
13178 Remove duplicate declarations. These are now in window.el.
13179
4ea31e07
LMI
131802011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13181
c9d29fb8
SM
13182 * mail/smtpmail.el (smtpmail-via-smtp):
13183 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13184 server supports it. SMTP servers that support STARTTLS commonly
13185 require it.
13186
13187 * net/network-stream.el (network-stream-open-starttls): Support
13188 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13189 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13190
95f41d9a
LMI
13191 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13192 upgrades with `open-network-stream', and rely solely on
13193 auth-source for all credentials. Big changes throughout the file,
13194 but in particular:
c9d29fb8
SM
13195 (smtpmail-auth-credentials): Remove.
13196 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13197 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13198 MAIL FROM, too.
95f41d9a 13199
c9d29fb8
SM
13200 * net/network-stream.el (network-stream-open-starttls):
13201 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13202 STARTTLS.
13203 (auth-source): Require.
13204 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13205 (network-stream-certificate): Change cert-cert to cert and
13206 cert-key to key.
4ea31e07 13207
065ec2c7
MA
132082011-06-21 Michael Albinus <michael.albinus@gmx.de>
13209
13210 * net/tramp-cache.el (top): Don't load the persistency file when
13211 "emacs -Q" has been called.
13212
cd93b359
DR
132132011-06-21 Tim Harper <timcharper@gmail.com>
13214
d8e4b68b
JB
13215 * term/ns-win.el (ns-initialize-window-system):
13216 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13217 resource to NO as it is not yet supported by the NS port.
13218
ae9c0411
JB
132192011-06-21 Juanma Barranquero <lekktu@gmail.com>
13220
13221 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13222 (list-dynamic-libraries): ...not here.
13223
7f3f739f
LL
132242011-06-21 Leo Liu <sdl.web@gmail.com>
13225
13226 * subr.el (sha1): Implement sha1 using secure-hash.
13227
327c8fb1
MR
132282011-06-21 Martin Rudalics <rudalics@gmx.at>
13229
13230 * window.el (display-buffer-alist): In default value do not
13231 enforce searching a window on any but the selected frame.
13232 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13233 (display-buffer-select-window): Remove function.
13234 (display-buffer-in-window): When a window on another frame gets
13235 reused, do not select it any more but just raise its frame if
13236 necessary (Bug#8851) and (Bug#8856).
13237 (display-buffer-normalize-options): Handle pop-up-frames related
13238 options more faithfully.
13239 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13240 window if it is on another frame.
c9d29fb8
SM
13241 (display-buffer-alist, display-buffer-default-specifiers):
13242 Don't make new frame unsplittable by default.
9e9de014
MR
13243 (display-buffer-normalize-argument): Fix doc-string typo and use
13244 'same-frame-other-window instead of 'other-window when associating
13245 with display-buffer-macro-specifiers.
327c8fb1 13246
7cf3f556
VB
132472011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13248
13249 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13250 New functions.
13251 (5x5-mode-map, 5x5-mode-menu): Bind them.
13252 (5x5-draw-grid): Tweak the solver's rendering.
13253
60a406cf
SM
132542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13257 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13258
d8e4b68b 132592011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13260
13261 * menu-bar.el: Use function variable instead of switch-to-buffer.
13262 (menu-bar-select-buffer-function): New variable.
60a406cf 13263 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13264
478d6f95
SM
132652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13266
13267 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13268 variable's status.
13269
ca530739
JD
132702011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13271
13272 * x-dnd.el (x-dnd-version-from-flags)
13273 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13274 and long as number (Bug#8899).
13275 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13276
bcd70d97
SM
132772011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13278
60a406cf 13279 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13280 (completion-try-completion, completion-all-completions): Compute the
13281 metadata argument if it's missing; make it optional (bug#8795).
13282
60a406cf 13283 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13284 (widget-complete): Use new :completion-function property.
13285 (widget-completions-at-point): New function.
13286 (default): Use :completion-function instead of :complete.
60a406cf
SM
13287 (widget-default-completions): Rename from widget-default-complete;
13288 Rewrite.
bcd70d97
SM
13289 (widget-string-complete, widget-file-complete, widget-color-complete):
13290 Remove functions.
13291 (file, symbol, function, variable, coding-system, color):
13292 * international/mule-cmds.el (default-input-method, charset)
13293 (language-info-custom-alist):
13294 * cus-edit.el (face): Use new property :completions.
13295
13296 * progmodes/pascal.el (pascal-completions-at-point): New function.
13297 (pascal-mode): Use it.
13298 (pascal-mode-map): Use completion-at-point.
13299 (pascal-toggle-completions): Make obsolete.
13300 (pascal-complete-word, pascal-show-completions):
13301 * progmodes/octave-mod.el (octave-complete-symbol):
13302 Redefine as obsolete alias.
13303 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13304 Signal absence of completion info for old Octave,
13305 (inferior-octave-complete): Redefine as obsolete alias.
13306 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13307 (meta-completions-at-point): Rename from meta-complete-symbol and
13308 adapt it for use on completion-at-point-functions.
13309 (meta-common-mode): Use it.
13310 (meta-looking-at-backward, meta-match-buffer): Remove.
13311 (meta-complete-symbol): Redefine as obsolete alias.
13312 (meta-common-mode-map): Use completion-at-point.
13313 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13314 (makefile-mode-map): Use completion-at-point.
13315 (makefile-completions-at-point): Rename from makefile-complete and
13316 adapt it for use on completion-at-point-functions.
13317 (makefile-mode): Use it.
13318 (makefile-complete): Redefine as obsolete alias.
13319
aebf69c8
DD
133202011-06-20 Deniz Dogan <deniz@dogan.se>
13321
13322 * net/rcirc.el: Delete trailing whitespaces once and for all.
13323
bfbbb27d
DC
133242011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13325
13326 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13327
d264a46b
CY
133282011-06-19 Chong Yidong <cyd@stupidchicken.com>
13329
4ca009e5
CY
13330 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13331
d264a46b
CY
13332 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13333
fbf5b3ce
MR
133342011-06-19 Martin Rudalics <rudalics@gmx.at>
13335
13336 * window.el (display-buffer-other-window-means-other-frame):
13337 Call display-buffer-normalize-alist.
13338 (display-buffer-normalize-specifiers-1): Rename to
13339 display-buffer-normalize-argument. New argument other-frame.
13340 Rewrite.
13341 (display-buffer-normalize-specifiers-2): Rename to
13342 display-buffer-normalize-options.
13343 (display-buffer-normalize-alist-1): New function.
13344 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13345 display-buffer-normalize-alist.
13346 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13347 (display-buffer-normalize-options-inhibit): New variable.
13348 (display-buffer-normalize-specifiers): Rewrite calling
13349 display-buffer-normalize-alist,
13350 display-buffer-normalize-argument, and
13351 display-buffer-normalize-options. Don't call the latter if
13352 display-buffer-normalize-options-inhibit is non-nil.
13353 (frame-auto-delete): New option.
13354 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13355 (window-list-no-nils, window-state-ignored-parameters)
13356 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13357 (window-state-put-1, window-state-put-2, window-state-put):
13358 New functions.
9a028c23
MR
13359 (display-buffer-normalize-options): Move special-display-p group
13360 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13361
6d10d800
CY
133622011-06-18 Chong Yidong <cyd@stupidchicken.com>
13363
6420d28b
CY
13364 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13365 groups (Bug#8776).
13366 (rx-submatch-n): New function.
13367 (rx): Document it.
13368
ddb8b596
CY
13369 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13370 (Bug#8768).
13371
13372 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13373
77080289
CY
13374 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13375
61dfb316
CY
13376 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13377 anytime existing face settings are present (Bug#8889).
13378
6d10d800
CY
13379 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13380 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13381 Remove unused argument.
13382
be3fb2b8
MR
133832011-06-18 Martin Rudalics <rudalics@gmx.at>
13384
bcd70d97
SM
13385 * window.el (display-buffer-default-specifiers):
13386 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13387 pop-up-window-min-width, and another reuse-window specifier
13388 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13389 (display-buffer-normalize-specifiers-2):
13390 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13391 pop-up-windows is unset. Add a reuse-window specifier for the
13392 case popping up a new window fails.
13393 (special-display-popup-frame): Remove double quoting.
28dec25a 13394 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13395
1c6d8c76
SM
133962011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13399 according to comint-completion-addsuffix.
13400
13401 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13402 (pcomplete-suffix-list): Mark as obsolete.
13403 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13404 pcomplete-seen in the closure.
13405 (pcomplete-comint-setup): Setup completion-at-point as well.
13406 (pcomplete--entries): New function.
13407 (pcomplete--env-regexp): New var.
13408 (pcomplete-entries): Rewrite to work with partial-completion and
13409 without relying on pcomplete-suffix-list.
13410 (pcomplete-pare-list): Remove, unused.
13411
25aef8b8
MR
134122011-06-17 Martin Rudalics <rudalics@gmx.at>
13413
13414 * window.el (display-buffer-alist): Set pop-up-window-min-height
13415 and pop-up-window-min-width in default value. Reported by
13416 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13417 other-window-means-other-frame.
13418 (display-buffer-macro-specifiers): Comment out entry for
13419 other-window specifier.
13420 (display-buffer-other-window-means-other-frame): New function.
13421 (display-buffer-normalize-specifiers-1): New arguments
13422 buffer-name and label. Treat other-window case specially.
13423 (display-buffer-normalize-specifiers-2): Treat other-window case
13424 specially.
13425 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13426 (display-buffer-normalize-specifiers):
13427 Call display-buffer-normalize-specifiers-3.
25aef8b8 13428
dbad4f69
MR
134292011-06-17 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (same-window-p): Fix two typos introduced when
13432 adding with-no-warnings.
d1067961
MR
13433 (display-buffer-normalize-specifiers-1): Don't check
13434 pop-up-frames for 'unset initialization.
13435 (display-buffer-normalize-specifiers-2): Major rewrite using
13436 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13437 (pop-up-frames, display-buffer-reuse-frames)
13438 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13439 Suggested by David Engster <deng@randomsample.de>.
13440 (even-window-heights): Initialize to 'unset.
13441 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13442 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13443 other window case.
dbad4f69 13444
9b9c9e3a
MR
134452011-06-16 Martin Rudalics <rudalics@gmx.at>
13446
bcd70d97
SM
13447 * window.el (display-buffer-normalize-specifiers-1):
13448 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13449 second argument of display-buffer (Bug#8865).
981d5c09
MR
13450 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13451 (switch-to-buffer-other-window-same-frame)
13452 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13453 Adams (Bug#8875).
9c2755e9
MR
13454 (display-buffer): Don't check noninteractive when calling
13455 display-buffer-pop-up-frame.
13456 (display-buffer-pop-up-frame): Never pop up a frame in
13457 noninteractive mode (Bug#8857).
67222e1d
MR
13458 (enlarge-window, shrink-window): Don't report an error when the
13459 window can't be resized as requested (Bug#8862).
9b9c9e3a 13460
2b75be67
SM
134612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13462
9ffdd3ba
SM
13463 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13464
cb581a67
SM
13465 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13466
2b75be67
SM
13467 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13468
8c0e3589
AM
134692011-06-15 Alan Mackenzie <acm@muc.de>
13470
cb581a67
SM
13471 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13472 for declarators, disable knr checking to speed up for normal files.
13473 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13474
b96e6cde
LMI
134752011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13476
4bba86e6
LMI
13477 * net/network-stream.el (open-network-stream): Add the keyword
13478 :always-query-capabilities for the case where you want to force a
13479 `plain' network connection, but the protocol still requires the
13480 capabilitiy command (i.e., SMTP and EHLO).
13481
2b75be67 13482 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13483 consistency with other `-live-p' functions.
13484
efdcdbf8
SM
134852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13486
13487 * window.el (same-window-buffer-names, same-window-regexps)
13488 (special-display-frame-alist, special-display-popup-frame)
13489 (special-display-function, special-display-buffer-names)
13490 (special-display-regexps, pop-up-frame-alist)
13491 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13492 (pop-up-windows, split-window-preferred-function)
13493 (split-height-threshold, split-width-threshold, even-window-heights)
13494 (display-buffer-mark-dedicated): Don't encourage the use of
13495 display-buffer-alist from Elisp code.
13496
c5cde042
DN
134972011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13498
13499 * progmodes/python.el (python-mode): Derive from prog-mode.
13500 * progmodes/ps-mode.el (ps-mode):
13501 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13502 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13503 * progmodes/ld-script.el (ld-script-mode): Likewise.
13504
baa1c9ab
MR
135052011-06-15 Martin Rudalics <rudalics@gmx.at>
13506
13507 * window.el (display-buffer-alist): Trim default value to avoid
13508 popping up a new frame (Bug#8857) or reusing an arbitrary window
13509 on another frame.
13510 (display-buffer): Do not fall back on popping up a new frame in
13511 batch mode (Bug#8857).
13512
c5dd5a51
CY
135132011-06-14 Chong Yidong <cyd@stupidchicken.com>
13514
13515 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13516 (custom-theme-summary): New function.
13517 (customize-themes): Use it.
13518
d647b7c4
GM
135192011-06-13 Glenn Morris <rgm@gnu.org>
13520
13521 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13522
9481c002
MR
135232011-06-13 Martin Rudalics <rudalics@gmx.at>
13524
357f93d2
MR
13525 * help.el (help-window): Remove variable.
13526 (help-window-point-marker, temp-buffer-max-height)
13527 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13528 (help-print-return-message): Don't set help-window.
13529 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13530 (help-window-setup-finish): Remove.
13531 (help-window-display-message, help-window-setup)
13532 (with-help-window): Major rewrite based on new
13533 display-buffer-window variable.
13534
13535 * help-mode.el (help-mode-finish): Remove help-window related
13536 code.
13537
13538 * view.el (view-exits-all-viewing-windows): Remove reference to
13539 view-return-to-alist in doc-string.
13540 (view-return-to-alist): Make obsolete.
13541 (view-buffer): Call pop-to-buffer-same-window and remove
13542 undo-window code.
13543 (view-buffer-other-window): Call pop-to-buffer-other-window and
13544 simplify code. Ignore second argument.
13545 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13546 simplify code. Ignore second argument.
13547 (view-return-to-alist-update): Make obsolete.
13548 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13549 Rewrite using quit-restore window parameters.
2b75be67
SM
13550 (view-mode-exit): Rename second argument to EXIT-ONLY.
13551 Rewrite using quit-restore-window.
357f93d2
MR
13552 (View-exit, View-exit-and-edit, View-leave, View-quit)
13553 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13554 appropriate arguments.
13555 (view-end-message): Use quit-restore window parameter.
13556
9481c002
MR
13557 * window.el (display-buffer-function): Rewrite doc-string.
13558 (display-buffer-window, display-buffer-alist): New variables.
13559 (display-buffer-split-specifiers)
13560 (display-buffer-side-specifiers)
13561 (display-buffer-macro-specifiers): New constants.
13562 (display-buffer-even-window-sizes, display-buffer-set-height)
13563 (display-buffer-set-width, display-buffer-select-window)
13564 (display-buffer-in-window, display-buffer-reuse-window)
13565 (display-buffer-split-window-1, display-buffer-split-window)
13566 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13567 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13568 (display-buffer-in-side-window, normalize-buffer-to-display)
13569 (display-buffer-normalize-specifiers-1)
13570 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13571 (display-buffer-normalize-specifiers, display-buffer-frame):
13572 New functions.
9481c002
MR
13573 (display-buffer): Major rewrite.
13574 (display-buffer-other-window, display-buffer-other-frame)
13575 (pop-to-buffer, switch-to-buffer-other-window)
13576 (switch-to-buffer-other-frame): Rewrite.
13577 (display-buffer-same-window, display-buffer-same-frame)
13578 (display-buffer-same-frame-other-window)
13579 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13580 (pop-to-buffer-other-window)
13581 (pop-to-buffer-same-frame-other-window)
13582 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13583 (switch-to-buffer-other-window-same-frame): New functions.
13584 (same-window-p, special-display-p): Rewrite disabling warnings.
13585 Make obsolete.
13586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13587 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13588 Make obsolete
13589 (same-window-buffer-names, same-window-regexps)
13590 (special-display-frame-alist, special-display-popup-frame)
13591 (special-display-function, special-display-buffer-names)
13592 (special-display-regexps, pop-up-frame-alist)
13593 (pop-up-frame-function, split-window-preferred-function)
13594 (split-height-threshold, split-width-threshold)
13595 (even-window-heights): Make obsolete.
13596
9db51aca
GM
135972011-06-12 Glenn Morris <rgm@gnu.org>
13598
13599 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13600 Misc simplifications.
9db51aca 13601
39cffb44
MR
136022011-06-12 Martin Rudalics <rudalics@gmx.at>
13603
13604 * window.el (window-safely-shrinkable-p): Restore function which
13605 was inadvertently removed in change from 2011-06-11. Declare as
13606 obsolete.
13607
2b75be67
SM
13608 * calendar/calendar.el (calendar-generate-window):
13609 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13610 window-safely-shrinkable-p.
13611
a8955be7
GM
136122011-06-12 Glenn Morris <rgm@gnu.org>
13613
13614 * progmodes/fortran.el (fortran-mode-syntax-table):
13615 * progmodes/f90.el (f90-mode-syntax-table):
13616 Set % to punctuation. (Bug#8820)
13617 (f90-find-tag-default): Remove, no longer needed.
13618
f0d4059d
DC
136192011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13620
13621 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13622
1100a63c
CY
136232011-06-11 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * image.el (image-animated-p): Return animation delay in seconds.
13626 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13627 (image-animate-timeout): Remove DELAY argument. Don't assume
13628 every subimage has the same delay; get it from image-animated-p.
13629 (image-animate): Caller changed.
13630
def722bf
MA
136312011-06-11 Michael Albinus <michael.albinus@gmx.de>
13632
13633 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13634 to ignored backtrace functions.
13635
0a2bb1a9
GM
136362011-06-11 Glenn Morris <rgm@gnu.org>
13637
13638 * calendar/appt.el (appt-disp-window-function): Doc fix.
13639 (appt-check): Handle overlapping appointments. (Bug#8337)
13640
6198ccd0
MR
136412011-06-11 Martin Rudalics <rudalics@gmx.at>
13642
13643 * window.el (window-tree-1, window-tree): New functions, moving
13644 the latter to window.el.
13645 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13646 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13647 (bw-refresh-edges): Remove.
13648 (balance-windows-1, balance-windows-2): New functions.
13649 (balance-windows): Rewrite in terms of window tree functions,
13650 balance-windows-1 and balance-windows-2.
13651 (bw-adjust-window): Remove.
13652 (balance-windows-area-adjust): New function with functionality of
13653 bw-adjust-window but using resize-window.
2b75be67
SM
13654 (set-window-text-height): Rewrite doc-string.
13655 Use normalize-live-window and resize-window.
13656 (enlarge-window-horizontally, shrink-window-horizontally):
13657 Rename argument to DELTA.
6198ccd0
MR
13658 (window-buffer-height): New function.
13659 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13660 Rewrite using new window resize routines.
2b75be67
SM
13661 (kill-buffer-and-window, mouse-autoselect-window-select):
13662 Use ignore-errors instead of condition-case.
6198ccd0
MR
13663 (quit-window): Call delete-frame instead of delete-windows-on
13664 for the only buffer on frame.
13665
9397e56f
MR
136662011-06-10 Martin Rudalics <rudalics@gmx.at>
13667
13668 * loadup.el (top-level): Load window before files for the sake
13669 of replace-buffer-in-windows.
13670
13671 * files.el (read-buffer-to-switch)
13672 (switch-to-buffer-other-window)
2b75be67
SM
13673 (switch-to-buffer-other-frame, display-buffer-other-frame):
13674 Move to window.el.
9397e56f
MR
13675
13676 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13677 (previous-buffer): Move to window.el.
13678
13679 * bindings.el (unbury-buffer): Move to window.el.
13680
13681 * window.el (delete-other-windows-vertically): Move after
13682 definition of delete-other-windows.
13683 (other-window, delete-windows-on, replace-buffer-in-windows):
13684 Move here from window.c.
13685 (record-window-buffer, unrecord-window-buffer)
13686 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13687 (switch-to-next-buffer): New functions.
13688 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13689 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13690 (previous-buffer): Move here from simple.el.
13691 Call switch-to-prev-buffer.
9397e56f
MR
13692 (bury-buffer): Move here from buffer.c. Switch to previous
13693 buffer when window cannot be deleted.
13694 (unbury-buffer): Move here from bindings.el.
13695 (ctl-x-map): Move binding for other-window from window.c to
13696 here.
13697 (read-buffer-to-switch, switch-to-buffer-other-window)
13698 (switch-to-buffer-other-frame): Move here from files.el.
13699 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13700 (switch-to-buffer): Move here from buffer.c.
13701 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13702
562dd5e9
MR
137032011-06-10 Martin Rudalics <rudalics@gmx.at>
13704
13705 * window.el (window-min-height, window-min-width): Move here
13706 from window.c. Add defcustoms and rewrite doc-strings.
13707 (resize-mini-window, resize-window): New functions.
13708 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13709 Move here from window.c.
13710 (maximize-window, minimize-window): New functions.
13711 (delete-window, delete-other-windows, split-window): Move here
13712 from window.c.
13713 (window-split-min-size): New function.
13714 (split-window-keep-point): Mention split-window-above-each-other
13715 instead of split-window-vertically.
2b75be67 13716 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13717 Rename split-window-vertically to split-window-above-each-other
13718 and provide defalias for old definition.
13719 (split-window-side-by-side, split-window-horizontally):
13720 Rename split-window-horizontally to split-window-side-by-side
13721 and provide defalias for the old definition.
562dd5e9
MR
13722 (ctl-x-map): Move bindings for delete-window,
13723 delete-other-windows and enlarge-window here from window.c.
13724 Replace bindings for split-window-vertically and
13725 split-window-horizontally by bindings for
13726 split-window-above-each-other and split-window-side-by-side.
13727
13728 * cus-start.el (all): Remove entries for window-min-height and
13729 window-min-width. Add entries for window-splits and
13730 window-nest.
13731
f0da764a
GM
137322011-06-09 Glenn Morris <rgm@gnu.org>
13733
80675c21
GM
13734 * calendar/appt.el (appt-mode-line): New function.
13735 (appt-check, appt-disp-window): Use it.
13736
f0da764a
GM
13737 * files.el (hack-one-local-variable-eval-safep):
13738 Allow minor-modes with explicit +/-1 arguments.
13739
59f623b7
TZ
137402011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13741
13742 * term/xterm.el (xterm): Add defgroup.
13743 (xterm-extra-capabilities): Add defcustom to supply known xterm
13744 capabilities, skip querying them, or query them (default).
13745 (terminal-init-xterm): Use it.
13746 (terminal-init-xterm-modify-other-keys): New function to set up
13747 modifyOtherKeys support to simplify `terminal-init-xterm'.
13748
9aab8e0d
MR
137492011-06-09 Martin Rudalics <rudalics@gmx.at>
13750
13751 * window.el (resize-window-reset, resize-window-reset-1)
13752 (resize-subwindows-skip-p, resize-subwindows-normal)
13753 (resize-subwindows, resize-other-windows, resize-this-window)
13754 (resize-root-window, resize-root-window-vertically)
13755 (window-deletable-p, window-or-subwindow-p)
13756 (frame-root-window-p): New functions.
13757
e8b08aee
GM
137582011-06-09 Glenn Morris <rgm@gnu.org>
13759
13760 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13761 (ange-ftp-get-files): Use it.
13762
254c37a5
AK
137632011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13764
13765 * mail/sendmail.el (mail-recover-1, mail-recover):
13766 * files.el (recover-file, recover-session):
13767 Handle dired-listing-switches not being just a single short option.
13768
35d7dbd3
GM
137692011-06-09 Glenn Morris <rgm@gnu.org>
13770
13771 * calendar/appt.el (appt-display-message, appt-disp-window):
13772 Handle lists of appointments.
13773
387522b2
MR
137742011-06-08 Martin Rudalics <rudalics@gmx.at>
13775
2b75be67
SM
13776 * window.el (one-window-p): Move down in code.
13777 Rewrite doc-string.
13778 (window-current-scroll-bars): Rewrite doc-string.
13779 Normalize live window argument.
387522b2
MR
13780 (walk-windows, get-window-with-predicate, count-windows):
13781 Rewrite doc-string. Use window-list-1.
13782 (window-in-direction-2, window-in-direction, get-mru-window):
13783 New functions.
13784
d8e4b68b 137852011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13786
13787 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13788 Doc fix (Bug#8713).
13789
137902011-06-08 Chong Yidong <cyd@stupidchicken.com>
13791
13792 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13793
137942011-06-08 Juanma Barranquero <lekktu@gmail.com>
13795
13796 * loadhist.el (unload-feature-special-hooks):
13797 Add `comint-output-filter-functions'.
13798
0de12c52
IK
137992011-06-08 Ivan Kanis <gnu@kanis.fr>
13800
13801 * calendar/appt.el (appt-check): Move some initializations into the let.
13802
f3d1777e
MR
138032011-06-08 Martin Rudalics <rudalics@gmx.at>
13804
13805 * window.el (window-height): Defalias to window-total-height.
13806 (window-width): Defalias to window-body-width.
13807
18af70d0
CY
138082011-06-07 Chong Yidong <cyd@stupidchicken.com>
13809
13810 * image-mode.el (image-toggle-animation): New command.
13811 (image-mode-map): Bind it to RET.
13812 (image-mode): Update message.
13813 (image-toggle-display-image): Avoid a spurious cache flush.
13814 (image-transform-rotation): Doc fix.
13815 (image-transform-properties): Return quickly in the normal case.
13816 (image-animate-loop): Rename from image-animate-max-time.
13817
2b75be67 13818 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13819 (create-animated-image): Remove unnecessary function.
13820 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13821 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13822 (image-animate-timer): Use car-safe.
13823 (image-animate-timeout): Rename argument.
13824
190b47e6
MR
138252011-06-07 Martin Rudalics <rudalics@gmx.at>
13826
13827 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13828 window.c. Rename first argument to ALL-FRAMES.
13829 Rephrase doc-strings.
13830 (get-buffer-window-list): Rewrite using window-list-1.
13831 Rephrase doc-string.
a1511caf
MR
13832 (window-safe-min-height, window-safe-min-width): New constants.
13833 (window-size-ignore, window-min-size, window-min-size-1)
13834 (window-sizable, window-sizable-p, window-size-fixed-1)
13835 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13836 (window-max-delta-1, window-max-delta, window-resizable)
13837 (window-resizable-p, window-total-height, window-total-width)
13838 (window-body-width): New functions.
13839 (window-full-height-p, window-full-width-p): Rewrite using
13840 window-total-size.
13841 (window-body-height): Rewrite using window-body-size.
190b47e6 13842
85cc1f11
MR
138432011-06-06 Martin Rudalics <rudalics@gmx.at>
13844
13845 * window.el (window-right, window-left, window-child)
13846 (window-child-count, window-last-child, window-any-p)
13847 (normalize-live-buffer, normalize-live-frame)
13848 (normalize-any-window, normalize-live-window)
13849 (window-iso-combination-p, window-iso-combined-p)
13850 (window-iso-combinations)
13851 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13852 (windows-with-parameter, window-with-parameter)
13853 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13854 (window-atom-check, window-side-check, window-check):
13855 New functions.
85cc1f11
MR
13856 (ignore-window-parameters, window-sides, window-sides-vertical)
13857 (window-sides-slots): New variables.
13858 (window-size-fixed): Move down in code. Minor doc-string fix.
13859
e7156492
AS
138602011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13861
13862 * comint.el (comint-dynamic-complete-as-filename)
13863 (comint-dynamic-complete-filename): Correctly call
13864 completion-in-region.
13865
7e821d0d
DD
138662011-06-05 Deniz Dogan <deniz@dogan.se>
13867
13868 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13869 in last change.
13870
ac09b8a1
DD
138712011-06-05 Deniz Dogan <deniz@dogan.se>
13872
13873 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13874 (rcirc): Use it to prompt for encryption.
13875
34699b85
RW
138762011-06-05 Roland Winkler <winkler@gnu.org>
13877
13878 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13879 (bibtex-search-entries): New command bound to C-c C-a.
13880 (bibtex-display-entries): New function.
13881
004dedd3
RW
138822011-06-05 Roland Winkler <winkler@gnu.org>
13883
13884 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13885 (bibtex-insert-kill): After yanking insert newline if necessary.
13886 (bibtex-initialize): Call bibtex-string-files-init only once.
13887 (bibtex-mode): Do not call easy-menu-add.
13888 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13889 (bibtex-yank): Set arg properly if nil.
13890
022fe7ce
RW
138912011-06-05 Roland Winkler <winkler@gnu.org>
13892
2b75be67
SM
13893 * textmodes/bibtex.el (bibtex-search-entry-globally):
13894 New variable.
022fe7ce
RW
13895 (bibtex-search-entry): Use it.
13896
b7c3692a
RW
138972011-06-05 Roland Winkler <winkler@gnu.org>
13898
13899 * textmodes/bibtex.el (bibtex-entry-format): New option
13900 sort-fields.
13901 (bibtex-format-entry, bibtex-reformat): Honor this option.
13902 (bibtex-parse-entry): Return fields in proper order.
13903
8eda563d
JB
139042011-06-05 Juanma Barranquero <lekktu@gmail.com>
13905
13906 * doc-view.el (doc-view-remove-if): Move computation of result out
13907 of `dolist' to silence misleading lexical-binding warning.
13908
7dbe3dbc
CY
139092011-06-04 Chong Yidong <cyd@stupidchicken.com>
13910
13911 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13912 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13913
0c33dd17
MA
139142011-06-04 Michael Albinus <michael.albinus@gmx.de>
13915
13916 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13917 "SunOS 5.10".
13918
f8f91c2b
MA
139192011-06-04 Michael Albinus <michael.albinus@gmx.de>
13920
13921 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13922 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13923 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13924 (tramp-parse-putty):
13925 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13926 (tramp-completion-function-alist-ssh)
13927 (tramp-completion-function-alist-telnet)
13928 (tramp-completion-function-alist-su)
13929 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13930 cookie.
13931
13932 * net/tramp-ftp.el:
13933 * net/tramp-sh.el:
13934 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13935 load "tramp.el" `tramp-set-completion-function'.
13936
e17d9003
SM
139372011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13938
13939 * shell.el: Require and use pcomplete.
13940 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13941 (shell-completion-vars): Set pcomplete-default-completion-function.
13942
6c4cab03
DD
139432011-06-04 Deniz Dogan <deniz@dogan.se>
13944
13945 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13946 `memq' (Bug#8799).
13947
ea9fafe0
SM
139482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13951
b3e945d3
JB
139522011-06-02 Juanma Barranquero <lekktu@gmail.com>
13953
13954 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13955 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13956 * vc/log-view.el (log-view-beginning-of-defun):
13957 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13958 (smerge-refine-forward, smerge-refine-chopup-region):
13959 Silence warning for unused `dotimes' counter variables.
13960
7d520089
SM
139612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13962
13963 * net/tramp.el (tramp-with-progress-reporter): Rename from
13964 with-progress-reporter. Use `declare'.
13965 * net/tramp-smb.el:
13966 * net/tramp-sh.el:
13967 * net/tramp-gvfs.el: Update all uses.
13968
a1c2400f
JB
139692011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13970
13971 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13972 buffer isn't killed before making it current.
13973
2403c841
SM
139742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 Silence various byte-compiler warnings.
13977 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13978 `access-type' and new obsolescence format.
13979 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13980 new format.
13981 (byte-compile-check-variable): New `access-type' argument.
13982 Only warn if the access-type is obsolete.
13983 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13984 (byte-compile-variable-set): Adjust callers.
13985 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13986 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13987 setting it as obsolete.
13988 * simple.el (minibuffer-completing-symbol):
13989 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13990 access as obsolete.
13991 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13992 obsolete yet.
13993 * international/quail.el (quail-mouse-choose-completion): Remove unused
13994 code referring to obsolete var.
13995 (quail-choose-completion-string): Remove.
13996 * server.el (server-clients-with, server-kill-buffer-query-function)
13997 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13998 * proced.el (proced-send-signal):
13999 * emacs-lisp/lisp.el (lisp-complete-symbol):
14000 Replace completion-annotate-function with completion-extra-properties.
14001
2462470b
SM
140022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14003
fb5b2591
SM
14004 * simple.el (goto-line): Use read-number.
14005 (overriding-map-is-bound): Remove.
14006 (saved-overriding-map): Change default.
14007 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14008 Take the map as argument.
14009 (universal-argument, negative-argument, digit-argument): Use it.
14010 (restore-overriding-map): Adjust.
14011 (do-auto-fill): Use fill-forward-paragraph.
14012 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14013
fd6fa53f
SM
14014 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14015 (minibuffer-inactive-mode): New major mode.
14016 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14017 the *Messages* buffer" hack.
14018 (mouse-popup-menubar): Don't burp if the event is a normal key.
14019
2462470b
SM
14020 Miscellaneous tweaks.
14021 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14022 lexical scoping as in subr.el's dolist and dotimes.
14023 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14024 Silence compiler warning.
14025 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14026 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14027 * international/ccl.el (ccl-compile): Trivial simplification.
14028 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14029 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14030 `printflag' argument.
14031 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14032 Purecopy the whole obsolescence data.
14033
108bf785
LL
140342011-06-01 Leo Liu <sdl.web@gmail.com>
14035
14036 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14037 improve doc-string as suggested by Marco Pessotto
14038 <melmothx@gmail.com>.
14039 (rcirc-print): Fix last change.
14040
30a23501
SM
140412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14042
14043 * minibuffer.el (complete-with-action): Return nil for the metadata and
14044 boundaries of non-functional tables.
14045 (completion-table-dynamic): Return nil for the metadata.
14046 (completion-table-with-terminator): Add default case, using
14047 complete-with-action.
14048 (completion--metadata): New function.
14049 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14050 to try and avoid pathological performance problems.
14051 (completion--embedded-envvar-table): Return `category' metadata.
14052
bcd54f83
LMI
140532011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14054
14055 * subr.el (process-alive-p): New tiny convenience function.
14056
e227544d
SM
140572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14058
14059 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14060 content but also its previous major mode.
14061
e8296fdc
HE
140622011-05-31 Helmut Eller <eller.helmut@gmail.com>
14063
4d61f28d 14064 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14065 *Backtrace* buffer when we exit with C-M-c.
14066
620c53a6
SM
140672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14068
14069 * minibuffer.el: Add metadata method to completion tables.
14070 (completion-category-overrides): New defcustom.
14071 (completion-metadata, completion--field-metadata)
14072 (completion-metadata-get, completion--styles)
14073 (completion--cycle-threshold): New functions.
14074 (completion-try-completion, completion-all-completions):
14075 Add `metadata' argument to choose completion-styles.
14076 (completion--do-completion): Use metadata to choose cycling.
14077 (completion-all-sorted-completions): Use metadata for sorting.
14078 Remove :completion-cycle-penalty which is not needed any more.
14079 (completion--try-word-completion): Add `metadata' argument.
14080 (minibuffer-completion-help): Check metadata for annotation function
14081 and sorting.
14082 (completion-file-name-table): Return `category' metadata.
14083 (minibuffer-completing-file-name): Make obsolete.
14084 * simple.el (minibuffer-completing-symbol): Make obsolete.
14085 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14086 completion-try-completion.
14087
1257e755
SM
140882011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14091
3767e706
LL
140922011-05-30 Leo Liu <sdl.web@gmail.com>
14093
14094 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14095 (rcirc-print): Decode all incoming messages (bug#8744).
14096 (rcirc-decode-coding-system): Allow value nil for automatic coding
14097 system detection.
3767e706 14098
d1a5d56a
GM
140992011-06-01 Glenn Morris <rgm@gnu.org>
14100
14101 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14102
e8cbec34
CY
141032011-05-29 Chong Yidong <cyd@stupidchicken.com>
14104
14105 * image.el (image-animate-max-time): Allow nil and t values.
14106 Default to nil.
14107 (create-animated-image): Doc fix.
14108 (image-animate-start): Remove second arg; just use
14109 image-animate-max-time.
14110 (image-animate-timeout): Doc fix. Args changed.
14111
14112 * image-mode.el (image-toggle-display-image): Ensure that the
14113 image spec passed to the animate timer is the same object as in
58179cce 14114 the buffer's display property (Bug#6981).
e8cbec34
CY
14115 (image-transform-properties): Doc fix.
14116
14117 * image.el (image-animate-max-time): Default to nil.
14118
159daf87
MR
141192011-05-29 Martin Rudalics <rudalics@gmx.at>
14120
14121 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14122 entire buffer list (Bug#8184).
14123
d66c4c7c
CY
141242011-05-29 Chong Yidong <cyd@stupidchicken.com>
14125
14126 * image.el (imagemagick-types-inhibit)
14127 (imagemagick-register-types): Doc fix.
14128
80aec780
DD
141292011-05-29 Deniz Dogan <deniz@dogan.se>
14130
14131 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14132 default.
14133
1dd3c2d9
CY
141342011-05-29 Chong Yidong <cyd@stupidchicken.com>
14135
14136 * select.el: Don't perform clipboard-manager saving in hooks;
14137 leave the hooks empty.
14138
60e56523
LL
141392011-05-28 Leo Liu <sdl.web@gmail.com>
14140
14141 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14142 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14143 (occur-edit-mode): New major mode (Bug#8463).
14144 (occur-after-change-function): New function.
14145 (occur-engine): Give Occur tags a read-only property.
14146
2b1e1a22
KR
141472011-05-28 Kevin Ryde <user42@zip.com.au>
14148
14149 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14150
5d344e88
CY
141512011-05-28 Chong Yidong <cyd@stupidchicken.com>
14152
8e6ca83d
CY
14153 * bindings.el (help-echo): Make the initial non-indicator dash
14154 empty on graphical terminals (Bug#7295).
14155
5d344e88
CY
14156 * files.el (auto-mode-alist): Move config rule after the
14157 in-stripping one (Bug#8547).
14158
bfbbace7
CY
14159 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14160
fbeba6e2
CY
14161 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14162 setting (Bug#8740).
14163
60ed8c72
AA
141642011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14165
4ac619f0
AA
14166 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14167 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14168 (Bug#8539).
60ed8c72 14169
23db196e
CY
141702011-05-28 Chong Yidong <cyd@stupidchicken.com>
14171
14172 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14173
5012f24c
DK
141742011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14175
14176 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14177 (hs-hide-block-at-point, hs-find-block-beginning)
14178 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14179 (Bug#8279).
14180
6a639b16
GM
141812011-05-28 Glenn Morris <rgm@gnu.org>
14182
14183 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14184
d43eaf2c
CY
141852011-05-28 Chong Yidong <cyd@stupidchicken.com>
14186
5199bde1
CY
14187 * help-fns.el (describe-function-1): If the function is a derived
14188 major mode, print the parent mode.
14189
d43eaf2c
CY
14190 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14191 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14192
423428a8
SM
141932011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14194
0ff8e1ba 14195 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14196 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14197 * progmodes/etags.el (tags-completion-at-point-function):
14198 * info-look.el (info-lookup-completions-at-point): Mark as
14199 non-exclusive.
14200 (info-complete): Adjust accordingly.
14201
423428a8
SM
14202 * info-look.el: Convert to lexical-binding and completion-at-point.
14203 (info-lookup-completions-at-point): New function.
14204 (info-complete): Use it and completion-in-region.
14205
b74aa22b
DA
142062011-05-28 Drew Adams <drew.adams@oracle.com>
14207
14208 * isearch.el: Let M-e start with point at the first mismatched char.
14209 (isearch-fail-pos): New function.
14210 (isearch-edit-string): Use it.
14211
66e2e71d
DK
142122011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14213
14214 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14215
b1890b0f 142162011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14217
14218 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14219 traversal functions for avl-trees.
14220 (avl-tree--stack): New struct.
14221 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14222 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14223 (avl-tree--do-enter): Add optional `updatefun' arg.
14224 Change return value.
eb95d01d 14225 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14226 (avl-tree--do-delete): Add `test' and `nilflag' args.
14227 Change return value.
eb95d01d
TC
14228 (avl-tree-member): Add optional `nilflag'
14229 (avl-tree-member-p): New function.
14230 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14231 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14232 (avl-tree-stack-empty-p): New functions.
14233
3769ddcf
TC
14234 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14235 avl-tree--del-balance1 and make it work both ways.
14236 (avl-tree--del-balance2): Remove.
14237 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14238 make it work both ways.
14239 (avl-tree--enter-balance2): Remove.
14240 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14241 New macros.
14242 (avl-tree--mapc, avl-tree-map): Add direction argument.
14243
eb95d01d 142442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14245
14246 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14247
a9f737ee
CY
142482011-05-27 Chong Yidong <cyd@stupidchicken.com>
14249
14250 * select.el: Support clipboard managers with built-in function
14251 x-clipboard-manager-save, via delete-frame-functions and
14252 kill-emacs-hook.
14253 (xselect-convert-to-targets): Add MULTIPLE target to list.
14254 (xselect-convert-to-save-targets): New function.
14255
c92a1e54
KH
142562011-05-27 Kenichi Handa <handa@m17n.org>
14257
14258 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14259 let-binding rfc2047-encode-encoded-words to nil.
14260
e145f188
GM
142612011-05-27 Glenn Morris <rgm@gnu.org>
14262
5ec8a862
GM
14263 * mail/emacsbug.el: Don't require url-util.
14264
4b29d9fb
GM
14265 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14266
e145f188
GM
14267 * files.el (set-auto-mode):
14268 Also respect mode: entries at the end of the file. (Bug#8586)
14269
7d15102b
GM
142702011-05-26 Glenn Morris <rgm@gnu.org>
14271
98f593b8
GM
14272 * files.el (hack-local-variables-prop-line, hack-local-variables):
14273 Downcase mode names, as seems to be traditional.
27b48e63 14274 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14275
7d15102b
GM
14276 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14277 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14278
51d5b4ec
JD
142792011-05-25 Julien Danjou <julien@danjou.info>
14280
14281 * textmodes/rst.el (rst-define-level-faces): Do not define face
14282 symbol if it is already defined.
14283
91513f63
VB
142842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14285
14286 * play/5x5.el (5x5-new-game, 5x5-randomize):
14287 Reset 5x5-solver-output to nil when a new grid is cast.
14288 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14289 these debugging traces, as defmacro breaks the compiled code.
14290
4d90d6d0
DK
142912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14292
14293 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14294
e1b90ef6
LL
142952011-05-24 Leo Liu <sdl.web@gmail.com>
14296
14297 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14298 (vc-bzr-sha1): Adapt.
14299
d8e4b68b 14300 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14301
14302 * bindings.el: Provide sha1 feature.
14303
db0406bb 143042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14305
14306 * mail/sendmail.el: Require `rfc2047'.
14307 (mail-insert-from-field): Do not perform RFC2047 encoding.
14308 (mail-encode-header): New function.
14309 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14310 buffer to the return value of select-message-coding-system.
14311 Call mail-encode-header.
b8d747b9
KH
14312
14313 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14314
db0406bb 143152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14316
4d90d6d0
DK
14317 * mail/supercite.el (sc-default-cite-frame):
14318 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14319
eb8a5e9b
GM
143202011-05-24 Glenn Morris <rgm@gnu.org>
14321
f8630703
GM
14322 * progmodes/python.el (brm-menu): Declare.
14323
8831bbed
GM
14324 * emulation/viper.el (viper-set-hooks): Declare.
14325
eb8a5e9b
GM
14326 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14327 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14328 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14329 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14330 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14331 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14332
a2a25d24
SM
143332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 Add an :exit-function for completion-at-point.
14336
14337 * minibuffer.el (completion--done): New fun.
14338 (completion--do-completion): Use it. New arg `expect-exact'.
14339 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14340 since completion--do-completion does it for us now.
14341 (minibuffer-force-complete): Use completion--done and
14342 completion--replace. Handle sole-completion case with more care.
14343 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14344 (completion-extra-properties): New var.
14345 (completion-annotate-function): Make obsolete.
14346 (minibuffer-completion-help): Adjust accordingly.
14347 Use completion-list-insert-choice-function.
14348 (completion-at-point, completion-help-at-point):
14349 Bind completion-extra-properties.
14350 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14351 * simple.el (completion-list-insert-choice-function): New var.
14352 (completion-setup-function): Preserve it.
14353 (choose-completion): Pay attention to it, shuffle the code a bit.
14354 (choose-completion-string): New arg `insert-function'.
14355
14356 * textmodes/bibtex.el: Convert to lexical binding.
14357 (bibtex-mode-map): Use completion-at-point.
14358 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14359 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14360 (bibtex-complete): Define as obsolete alias.
14361 (bibtex-complete-internal): Remove.
14362 (bibtex-format-entry): Remove unused sub-group in regexp.
14363 * shell.el (shell--command-completion-data)
14364 (shell-environment-variable-completion):
14365 * pcomplete.el (pcomplete-completions-at-point):
14366 * comint.el (comint--complete-file-name-data): Use :exit-function
14367 instead of completion-table-with-terminator so it also works for
14368 choose-completion.
14369
e44e373d
SM
143702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14371
4f91a816
SM
14372 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14373
782fc819
SM
14374 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14375 (bug#8710).
14376
e44e373d
SM
14377 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14378
381987c3
KM
143792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14380
14381 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14382 customization variable and implement: If non-nil, auto-fill will
14383 be inhibited while on topic's header line.
14384
b776bc70
VB
143852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14386
14387 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14388 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14389 always have a solution in grid size = 5 cases.
14390 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14391 (5x5-solver-output, 5x5-log-buffer): New vars.
14392 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14393 Make these variables buffer local to achieve 5x5 multi-session-ness.
14394 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14395 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14396 (5x5-solve-suggest): New funs.
14397 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14398 randomize a grid so that we ensure that there is always a solution.
14399 (5x5-make-random-grid): Allow other movement than flipping.
14400
7de88b6e
KR
144012011-05-23 Kevin Ryde <user42@zip.com.au>
14402
14403 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14404 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14405 advice and passes PREDICATE.
14406
b1ef1257
SM
144072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14408
bbca48fe
SM
14409 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14410 byte-compile-lambda if it's actually a lambda.
14411
b1ef1257
SM
14412 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14413 Fix function quoting. Use backquote better.
14414
92a9cc65
YS
144152011-05-22 Yuanle Song <sylecn@gmail.com>
14416
14417 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14418 matching (Bug#8516).
14419
f0fb8059
JA
144202011-01-22 Jari Aalto <jari.aalto@cante.net>
14421
14422 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14423 different face (Bug#8178).
14424
d5b44c93
CY
144252011-05-22 Chong Yidong <cyd@stupidchicken.com>
14426
14427 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14428 defface (Bug#8144).
14429
79106a44
SM
144302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14431
9c848d8a
SM
14432 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14433 funcall as well (bug#8712). Warn when performing those conversions.
14434 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14435
79106a44
SM
14436 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14437
88dfa756
GM
144382011-05-22 Glenn Morris <rgm@gnu.org>
14439
14440 * files.el (hack-local-variables-prop-line): Small simplifications.
14441 (hack-local-variables, hack-local-variables-prop-line):
14442 If MODE-ONLY, return the mode, rather than just `t'.
14443
b7cf2c79
SM
144442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14447
3f1a8558
GM
144482011-05-21 Glenn Morris <rgm@gnu.org>
14449
7e4ccca3
GM
14450 * files.el (hack-local-variables-prop-line, hack-local-variables):
14451 If only interested in the mode, don't bother doing the other stuff.
14452
637d46ca
GM
14453 * image-mode.el (image-after-revert-hook):
14454 Redraw all frames on which the image is visible. (Bug#8567)
14455
973d955b
GM
14456 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14457
3f1a8558
GM
14458 * wid-edit.el (widget-checklist-match-inline):
14459 Fix 2011-04-19 change. (Bug#8649)
14460
96479927
SM
144612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14462
1dcf791f
SM
14463 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14464 Also allow singlespace after single-letter capitals followed by a dot.
14465
96479927
SM
14466 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14467 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14468
35fd0881
N
144692011-05-20 Nix <nix@esperi.org.uk>
14470
14471 * files.el (basic-save-buffer-2):
14472 Fix handling of break-hardlink-on-save with non-existent files.
14473
82745640
DD
144742011-05-19 Deniz Dogan <deniz@dogan.se>
14475
14476 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14477 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14478
4a720484
GM
144792011-05-19 Glenn Morris <rgm@gnu.org>
14480
d1f21341
GM
14481 * progmodes/f90.el (f90-type-def-re):
14482 Handle "type, bind(c)". (Bug#8691)
14483
4a720484
GM
14484 * emacs-lisp/autoload.el (batch-update-autoloads):
14485 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14486
2fb0a219
MA
144872011-05-18 Michael Albinus <michael.albinus@gmx.de>
14488
14489 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14490 property for the correct connection in case of multihops.
14491
e565dd37
GM
144922011-05-18 Glenn Morris <rgm@gnu.org>
14493
c2571358 14494 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14495 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14496
e565dd37
GM
14497 Rationalize calendar handling of day and month abbrev-arrays.
14498 * calendar/calendar.el (calendar-customized-p): New function.
14499 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14500 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14501 Add :set function.
14502 (calendar-abbrev-length, calendar-day-abbrev-array)
14503 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14504 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14505 Elements may no longer be nil.
14506 (calendar-day-name, calendar-month-name):
14507 Update for changed nature of abbrev arrays.
14508 * calendar/diary-lib.el (diary-name-pattern):
14509 Update for changed nature of abbrev arrays.
14510 (diary-mark-entries-1): Update calendar-make-alist calls.
14511 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14512 * calendar/cal-html.el (cal-html-day-abbrev-array):
14513 Simply inherit from calendar-day-abbrev-array.
14514
1d99a745
SM
145152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * progmodes/grep.el (grep-mode): Disable default
14518 compilation-directory-matcher setting (bug#8684).
14519
7c1d9aa0
MA
145202011-05-17 Michael Albinus <michael.albinus@gmx.de>
14521
14522 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14523 instead of "head" and "tail". There were problems with SunOS 5.9,
14524 and it performs better.
14525
3952e9d8
GM
145262011-05-17 Glenn Morris <rgm@gnu.org>
14527
2dd12e7f
GM
14528 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14529
e4157b9c
GM
14530 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14531 Replace obsolete function.
14532
8e249bbd
GM
14533 * shell.el (pcomplete-parse-arguments-function): Declare.
14534
3952e9d8
GM
14535 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14536 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14537 (appt-check): Doc fixes.
14538 (appt-disp-window-function, appt-delete-window-function):
14539 Remove needless special case in custom :type.
14540 (appt-display-count): Default to 0, not nil.
14541 (appt-check): Reset appt-display-count to 0, not nil.
14542
c71a0d48 145432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14544
c71a0d48
GM
14545 * progmodes/python.el (python-font-lock-keywords):
14546 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14547
31d55be9
SM
145482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14551
3bfacb2f
KR
145522011-05-16 Kevin Ryde <user42@zip.com.au>
14553
14554 * info-look.el (makefile-automake-mode): New setups, looking in
14555 automake manual, then makefile-mode.
14556 (makefile-mode): Remove automake manual, have it just in
14557 makefile-automake-mode since there's various things different or
14558 not relevant to plain make.
14559 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14560 believe a hypothetical automake-mode would go to makefile-mode,
14561 not the other way around.
14562
c8e83751
CY
145632011-05-15 Chong Yidong <cyd@stupidchicken.com>
14564
5e9e35cd
CY
14565 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14566 hunk-end tags (Bug#8672).
14567
c8e83751
CY
14568 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14569 vc-annotate-show-diff-revision-at-line (Bug#8671).
14570
50b23e5a
GM
145712011-05-14 Glenn Morris <rgm@gnu.org>
14572
7210a739
GM
14573 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14574 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14575 (change-log-font-lock-keywords): Also handle multiple author lines
14576 with leading tabs. (Bug#8644)
7210a739 14577
4691905a
GM
14578 * calendar/appt.el (appt-check): Rename some local variables.
14579 Some simplification/reordering.
14580
50b23e5a
GM
14581 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14582 (feedmail-sendmail-f-doesnt-sell-me-out)
14583 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14584 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14585 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14586 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14587 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14588 (feedmail-binmail-gnulinuxish-template):
14589 Rename from feedmail-binmail-linuxish-template.
14590 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14591 Use insert-buffer-substring.
14592
215cda7c
BC
145932011-05-14 Bill Carpenter <bill@carpenter.org>
14594
14595 * mail/feedmail.el (feedmail-patch-level): Increase.
14596 (feedmail-debug): New custom group.
14597 (feedmail-confirm-outgoing-timeout)
14598 (feedmail-sendmail-f-doesnt-sell-me-out)
14599 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14600 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14601 (feedmail-sender-line, feedmail-from-line)
14602 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14603 (feedmail-spray-this-address)
215cda7c
BC
14604 (feedmail-spray-address-fiddle-plex-list)
14605 (feedmail-queue-use-send-time-for-date)
14606 (feedmail-queue-use-send-time-for-message-id)
14607 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14608 (feedmail-buffer-eating-function):
14609 Doc fixes.
14610 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14611 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14612 (feedmail-message-action-scroll-down): New functions.
14613 (feedmail-queue-directory, feedmail-queue-draft-directory):
14614 Use expand-file-name.
14615 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14616 Remove C-v help entry.
14617 (feedmail-queue-buffer-file-name): New variable.
14618 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14619 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14620 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14621 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14622 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14623 (feedmail-message-action-toggle-spray)
14624 (feedmail-run-the-queue-no-prompts)
14625 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14626 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14627 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14628 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14629 (feedmail-envelope-deducer, feedmail-fiddle-from)
14630 (feedmail-fiddle-sender, feedmail-default-date-generator)
14631 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14632 (feedmail-fiddle-spray-address)
14633 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14634 (feedmail-fiddle-list-of-fiddle-plexes)
14635 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14636 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14637 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14638 Change default. Doc fix.
14639 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14640 (feedmail-binmail-linuxish-template): New constant.
14641 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14642 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14643 (feedmail-send-it): Add debug call.
14644 Use feedmail-queue-buffer-file-name, and
14645 feedmail-send-it-immediately-wrapper.
14646 (feedmail-message-action-send): Add debug call.
14647 Use feedmail-send-it-immediately-wrapper.
14648 (feedmail-queue-express-to-queue): Add debug call.
14649 Run feedmail-queue-express-hook.
14650 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14651 (feedmail-message-action-help-blat):
14652 Rename from feedmail-queue-send-edit-prompt-help-first.
14653 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14654 Check line-endings. Handle errors better.
14655 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14656 Doc fix. Add debug call.
14657 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14658 Use feedmail-queue-send-edit-prompt-inner.
14659 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14660 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14661 from feedmail-queue-send-edit-prompt.
14662 (feedmail-queue-send-edit-prompt-help)
14663 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14664 (feedmail-tidy-up-slug): Add debug call.
14665 Respect feedmail-queue-slug-suspect-regexp.
14666 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14667 (feedmail-dump-message-to-queue): Add debug call.
14668 Expand queue-directory.
14669 (feedmail-dump-message-to-queue): Change message slightly.
14670 Use feedmail-say-chatter.
14671 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14672 (feedmail-send-it-immediately-wrapper): New function.
14673 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14674 Insert empty string rather than newline. Handle full-frame case.
14675 Use catch/throw. Use feedmail-say-chatter.
14676 (feedmail-fiddle-from): Try mail-host-address.
14677 (feedmail-default-message-id-generator): Doc fix.
14678 Bind system-time-locale. Handle missing end.
14679 (feedmail-fiddle-x-mailer): Add debug call.
14680 Handle feedmail-x-mailer-line being nil.
14681 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14682 Add debug call. Use buffer-substring-no-properties.
14683 (feedmail-say-debug, feedmail-say-chatter): New functions.
14684 (feedmail-find-eoh): Give an explicit error.
14685
42c7e61e
UJ
146862011-05-13 Ulf Jasper <ulf.jasper@web.de>
14687
c2571358 14688 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14689 family from helvetica to sans.
c2571358 14690 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14691 etc/images/newsticker.
14692
c2571358 14693 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14694 family from helvetica to sans.
14695
14696 * net/newst-plainview.el (newsticker-new-item-face)
14697 (newsticker-old-item-face, newsticker-immortal-item-face)
14698 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14699 (newsticker-statistics-face): Change default family from
42c7e61e 14700 helvetica to sans.
c2571358 14701 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14702 etc/images/newsticker.
14703
5d3385a0
JB
14704 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14705 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14706 auto-marking.
14707
8497a297
DV
147082011-05-13 Didier Verna <didier@xemacs.org>
14709
14710 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14711 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14712 TODO entries.
8497a297
DV
14713 (lisp-lambda-list-keyword-parameter-indentation)
14714 (lisp-lambda-list-keyword-parameter-alignment)
14715 (lisp-lambda-list-keyword-alignment): New customizable user options.
14716 (lisp-indent-defun-method): Improve docstring.
14717 (extended-loop-p): Fix comment.
14718 (lisp-indent-lambda-list-keywords-regexp): New variable.
14719 (lisp-indent-lambda-list): New function.
14720 (lisp-indent-259): Use it.
14721 (lisp-indent-defmethod): Support for more than one
14722 method qualifier and properly indent methods lambda-lists.
14723 (defgeneric): Provide a missing common-lisp-indent-function property.
14724
f278f87f
SM
147252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14728 bounds for the empty string (bug#8667).
14729
5233edd7
GM
147302011-05-13 Glenn Morris <rgm@gnu.org>
14731
5237a44f
GM
14732 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14733
8340026c 14734 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14735 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14736
5233edd7 14737 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14738 (appt-time-msg-list): Doc fix.
a5464014 14739 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14740
92d10796
AS
147412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14742
14743 * progmodes/ld-script.el (ld-script-keywords)
14744 (ld-script-builtins): Update keywords list.
14745
914a0ae1
SM
147462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14747
c89be45f
SM
14748 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14749
914a0ae1
SM
14750 * shell.el (shell-completion-vars): New function.
14751 (shell-mode):
14752 * simple.el (read-shell-command): Use it.
14753 (blink-matching-open): No need for " [...]" in minibuffer-message.
14754
98dc3df3
GM
147552011-05-12 Glenn Morris <rgm@gnu.org>
14756
14757 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14758 (appt-check): Simplify.
14759
d2fc7e3d 147602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14761
4d61f28d 14762 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14763 literal "/dev/null".
14764
d2fc7e3d 147652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14766
14767 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14768 Fix typo.
14769
d2fc7e3d 147702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14771
3f254caa
SM
14772 * progmodes/which-func.el (which-function):
14773 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14774 which might not be defined (Bug#8260).
14775
d45885f7
GM
147762011-05-12 Glenn Morris <rgm@gnu.org>
14777
14778 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14779 Let byte-compile-initial-macro-environment always take precedence.
14780
488086f4
SM
147812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * net/rcirc.el: Add support for SSL/TLS connections.
14784 (rcirc-server-alist): New field `encryption'.
14785 (rcirc): Check `encryption' settings.
14786 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14787 Merge make-local-variable into `set'.
14788 (rcirc--connection-open-p): New function.
14789 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14790 the process is not a network process (e.g. running gnutls-cli).
14791 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14792 Make rcirc-(en|de)code-coding-system local here.
14793 (rcirc-mode): Merge make-local-variable into `set'.
14794 (rcirc-parent-buffer): Make permanent buffer-local.
14795 (rcirc-multiline-minor-mode): Don't do it here.
14796 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14797 there's no server buffer.
14798
7d3b9d44
GM
147992011-05-11 Glenn Morris <rgm@gnu.org>
14800
f64049c6
GM
14801 * newcomment.el (comment-kill): Prefix "unused" local.
14802
93c9df73
GM
14803 * term/w32console.el (get-screen-color): Declare.
14804
7d3b9d44
GM
14805 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14806 Handle symbol elements of byte-compile-initial-macro-environment.
14807
9e2dd53f
LL
148082011-05-10 Leo Liu <sdl.web@gmail.com>
14809
488086f4
SM
14810 * bookmark.el (bookmark-bmenu-mode-map):
14811 Bind bookmark-bmenu-search to `/'.
8b340240 14812
9e2dd53f 14813 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14814 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14815 (Footnote-unicode): New function.
14816 (footnote-style-alist): Add unicode style to the list.
14817 (footnote-style): Doc fix.
9e2dd53f 14818
79b70037
GM
148192011-05-10 Jim Meyering <meyering@redhat.com>
14820
14821 Fix doubled-word typos.
14822 * international/quail.el (quail-insert-kbd-layout): and and -> and
14823 * kermit.el: and and -> and
14824 * net/ldap.el (ldap-search-internal): to to -> to
14825 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14826 * progmodes/js.el (js-mode): and and -> and
14827 * textmodes/artist.el (artist-move-to-xy): at at -> at
14828 (artist-draw-region-trim-line-endings): if if -> if
14829 And Safetyc -> Safety.
14830 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14831
b8f82dc1 148322011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14833 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14834
14835 * files.el (hack-one-local-variable-eval-safep):
14836 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14837
4f99f44b
GM
148382011-05-10 Glenn Morris <rgm@gnu.org>
14839
14840 * calendar/diary-lib.el (diary-list-entries-hook)
14841 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14842 (diary-nongregorian-marking-hook, diary-list-entries)
14843 (diary-include-other-diary-files, diary-mark-entries)
14844 (diary-mark-included-diary-files): Doc fixes.
14845
84f29e6b
JB
148462011-05-09 Juanma Barranquero <lekktu@gmail.com>
14847
14848 * misc.el: Require tabulated-list.el during compilation.
14849
9bedd73a
CY
148502011-05-09 Chong Yidong <cyd@stupidchicken.com>
14851
488086f4
SM
14852 * progmodes/compile.el (compilation-start):
14853 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14854 (compilation-filter-hook): Doc fix.
14855
797c735c
DD
148562011-05-09 Deniz Dogan <deniz@dogan.se>
14857
14858 * wdired.el: Remove outdated installation comment. Fix usage
14859 comment.
14860
5f4b1dfe
JB
148612011-05-09 Juanma Barranquero <lekktu@gmail.com>
14862
14863 * misc.el: Implement new command `list-dynamic-libraries'.
14864 (list-dynamic-libraries--loaded-only-p): New variable.
14865 (list-dynamic-libraries--refresh): New function.
14866 (list-dynamic-libraries): New command.
14867
4c44026c
CY
148682011-05-09 Chong Yidong <cyd@stupidchicken.com>
14869
488086f4
SM
14870 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14871 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14872 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14873 higher priority to avoid clobbering by gnu.
14874
027f966d
CY
148752011-05-08 Chong Yidong <cyd@stupidchicken.com>
14876
14877 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14878 if the face has existing theme settings (Bug#8454).
14879
085f5d7d
CY
148802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14881
488086f4
SM
14882 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14883 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14884
2a86a00c
RS
14885 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14886 special file names `.' and `..' (Bug#8259).
14887
d9c54a06
CY
148882011-05-08 Chong Yidong <cyd@stupidchicken.com>
14889
488086f4
SM
14890 * progmodes/grep.el (grep-mode-font-lock-keywords):
14891 Remove buffer-changing entries.
d9c54a06
CY
14892 (grep-filter): New function.
14893 (grep-mode): Add it to compilation-filter-hook.
14894
14895 * progmodes/compile.el (compilation-filter-hook)
14896 (compilation-filter-start): New defvars.
14897 (compilation-filter): Call compilation-filter-hook prior to
14898 updating the process mark.
14899
c4662635
SM
149002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14903
b0512a1d
EZ
149042011-05-07 Eli Zaretskii <eliz@gnu.org>
14905
605c9376
EZ
14906 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14907 mailclient-send-it even if window-system is nil. (Bug#8595)
14908
c4662635
SM
14909 * term/w32console.el (terminal-init-w32console):
14910 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14911 background-mode. (Bug#8597)
14912
d1dc2cc2
SM
149132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14916 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14917 New functions.
14918 (defgeneric, eieio--defmethod): Use them.
14919 (eieio-defgeneric): Remove.
14920 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14921
915d1300
GM
149222011-05-07 Glenn Morris <rgm@gnu.org>
14923
a3961c3e
GM
14924 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14925 Use let rather than let*.
14926 (timeclock-find-discrep): Remove unused local.
14927
314347b9
GM
14928 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14929
915d1300
GM
14930 * calendar/appt.el (appt-time-msg-list): Doc fix.
14931
275b59b0
NF
149322011-05-06 Noah Friedman <friedman@splode.com>
14933
14934 * apropos.el (apropos-print-doc): Only use
14935 emacs-lisp-docstring-fill-column when it is bound to an integer,
14936 per that variable's documentation.
14937
6c19f744
SM
149382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14939
14940 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14941 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14942
60f884b2
GM
149432011-05-06 Glenn Morris <rgm@gnu.org>
14944
5006e634
GM
14945 * calendar/appt.el (appt-message-warning-time): Doc fix.
14946 (appt-warning-time-regexp): New option.
14947 (appt-make-list): Respect appt-message-warning-time.
14948
548d0a63
GM
14949 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14950 New options.
14951 (diary-add-to-list): Strip comments from the displayed string.
14952 (diary-mode): Set comment-start and comment-end.
14953
60f884b2
GM
14954 * vc/diff-mode.el (smerge-refine-subst): Declare.
14955 (diff-refine-hunk): Don't require smerge-mode when compiling.
14956
989681bb
JB
149572011-05-06 Juanma Barranquero <lekktu@gmail.com>
14958
14959 * simple.el (list-processes): Return nil as the docstring says.
14960
a6bc05e1
MA
149612011-05-05 Michael Albinus <michael.albinus@gmx.de>
14962
14963 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14964 to "".
14965 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14966 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14967 determining of binary transfer. (Bug#7383)
14968
23c22e9a
MA
149692011-05-05 Michael Albinus <michael.albinus@gmx.de>
14970
c4662635
SM
14971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14972 Fix port computation bug. (Bug#8618)
23c22e9a 14973
0bff894f
GM
149742011-05-05 Glenn Morris <rgm@gnu.org>
14975
b8296902
GM
14976 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14977
1f522ce8
GM
14978 * simple.el (shell-dynamic-complete-functions)
14979 (comint-dynamic-complete-functions): Declare.
14980
cf5bee67
GM
14981 * net/network-stream.el (gnutls-negotiate):
14982 * simple.el (tabulated-list-print): Fix declarations.
14983
14984 * progmodes/gud.el (syntax-symbol, syntax-point):
14985 Remove unnecessary and incorrect declarations.
14986
0bff894f
GM
14987 * emacs-lisp/check-declare.el (check-declare-scan):
14988 Handle byte-compile-initial-macro-environment in bytecomp.el
14989
9869b3ae
SM
149902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 Fix earlier half-done eieio-defmethod change (bug#8338).
14993 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14994 Streamline and change calling convention.
14995 (defmethod): Adjust accordingly and simplify.
14996 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14997 new eieio--defmethod.
14998 (slot-boundp): Minor CSE simplification.
14999
9c1d5ac5
MZ
150002011-05-05 Milan Zamazal <pdm@zamazal.org>
15001
15002 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15003 (glasses-make-readable): Use glasses-separate-capital-groups.
15004
455c834e
JB
150052011-05-05 Juanma Barranquero <lekktu@gmail.com>
15006
15007 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15008 (warning-series): Doc fix.
15009 (display-warning): Don't try to create the buffer if we just found it.
15010
9ed7c8cb
CY
150112011-05-04 Chong Yidong <cyd@stupidchicken.com>
15012
15013 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15014 (autoload-find-generated-file): New function.
15015 (generate-file-autoloads): Bind generated-autoload-file to
15016 buffer-file-name.
9869b3ae
SM
15017 (update-file-autoloads, update-directory-autoloads):
15018 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15019 output file (Bug#7989).
15020 (batch-update-autoloads): Doc fix.
15021
0898ca10
JB
150222011-05-04 Juanma Barranquero <lekktu@gmail.com>
15023
15024 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15025
31dfb76c
GM
150262011-05-04 Glenn Morris <rgm@gnu.org>
15027
f330b642
GM
15028 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15029 function, so it follows changes in calendar-date-style.
15030 (diary-fancy-date-matcher): New function.
15031 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15032 (diary-fancy-font-lock-fontify-region-function):
15033 Use diary-fancy-date-pattern as a function.
15034
31dfb76c
GM
15035 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15036 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15037
48e79d6a
TZ
150382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15039
15040 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15041 instead of positional arguments. Allow :keylist and :crlfiles
15042 arguments.
15043 (open-gnutls-stream): Call it.
15044
15045 * net/network-stream.el (network-stream-open-starttls): Adjust to
15046 call `gnutls-negotiate' with :process and :hostname arguments.
15047
dd5a5ee0
SM
150482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15049
ef80fc09
SM
15050 * minibuffer.el (completion--message): New function.
15051 (completion--do-completion, minibuffer-complete)
15052 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15053 (completion--do-completion): Don't ignore completion-auto-help when in
15054 icomplete-mode.
15055
dd5a5ee0
SM
15056 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15057 internal encoding (e.g. tibetan zero is not whitespace).
15058 (global-whitespace-mode): Prefer save-current-buffer.
15059 (whitespace-trailing-regexp): Remove useless save-match-data.
15060 (whitespace-empty-at-bob-regexp): Minor simplification.
15061
b7d22a83
CY
150622011-05-03 Chong Yidong <cyd@stupidchicken.com>
15063
15064 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15065
5192af46
AM
150662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15067
15068 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15069 Use `concat' to create string for insertion.
5192af46 15070
5767d190
SM
150712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15074 Avoid open-line which runs post-self-insert-hook.
15075 (bibtex-fill-entry): Remove unused `end' var.
15076
bf242939
AM
150772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15078
5767d190
SM
15079 * textmodes/ispell.el (ispell-add-per-file-word-list):
15080 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15081
25666126
LL
150822011-05-03 Leo Liu <sdl.web@gmail.com>
15083
15084 * isearch.el (isearch-yank-pop): New command.
5767d190 15085 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15086 (isearch-forward): Mention it.
15087
52d3c2d0
SM
150882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15089
1bcace58
SM
15090 * simple.el (minibuffer-complete-shell-command): Remove.
15091 (minibuffer-local-shell-command-map): Use completion-at-point.
15092 (read-shell-command): Setup completion vars here instead.
15093 (read-expression-map): Bind TAB to symbol completion.
15094
52d3c2d0
SM
15095 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15096 error directly rather via storing it into `results'.
15097
35813471
LL
150982011-05-02 Leo Liu <sdl.web@gmail.com>
15099
15100 * vc/diff.el: Fix description.
15101
e793a940
LMI
151022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15103
15104 * server.el (server-eval-at): New function.
15105
8de66e05
LMI
151062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15107
15108 * net/network-stream.el (open-network-stream): Take a :nowait
15109 parameter and pass it on to `make-network-process'.
15110 (network-stream-open-plain): Ditto.
15111
dcb79f20
AS
151122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * faces.el (face-spec-set-match-display): Don't match toolkit
15115 options on terminal frames.
15116
14a7fbd8
SM
151172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15118
7eabc1be
SM
15119 * progmodes/pascal.el: Use lexical binding.
15120 (pascal-mode-map): Remove author preferences.
15121
14a7fbd8
SM
15122 * pcomplete.el (pcomplete-std-complete): Don't abuse
15123 completion-at-point.
15124
50f84510
JB
151252011-04-28 Juanma Barranquero <lekktu@gmail.com>
15126
6e087a44
JB
15127 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15128 removing code that has been dead since 1991 or so.
15129
50f84510
JB
15130 * startup.el (command-line): When warning about "_emacs", use a
15131 delayed warning to allow the user to filter it out.
15132
0ba690bd
DD
151332011-04-28 Deniz Dogan <deniz@dogan.se>
15134
15135 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15136 user has not joined.
15137
08abfaad
SM
151382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15139
15140 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15141 aren't any completions at point.
15142
638f053a
JB
151432011-04-28 Juanma Barranquero <lekktu@gmail.com>
15144
15145 * subr.el (display-delayed-warnings): New function.
15146 (delayed-warnings-hook): New variable.
15147
8fff8daa
SM
151482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15149
08abfaad
SM
15150 * minibuffer.el (completion-at-point, completion-help-at-point):
15151 Don't presume that a given completion-at-point-function will always
15152 use the same calling convention.
15153
8fff8daa
SM
15154 * pcomplete.el (pcomplete-completions-at-point):
15155 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15156 pcomplete-seen is non-nil.
15157 (pcomplete-comint-setup): Also recognize the new comint/shell
15158 completion functions.
15159 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15160 pcomplete-seen is non-nil.
15161
841a1577 151622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15163
841a1577 15164 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15165 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15166 the first character in the entry. This allows for code to add its
211ec907
UJ
15167 own uid to the entry.
15168 (icalendar--convert-float-to-ical): Add export of
15169 `diary-float'-entries save for those with the optional DAY
15170 argument.
15171
2a782793
DC
151722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15173
15174 * subr.el (shell-quote-argument): Use alternate escaping strategy
15175 when we spot a variable reference in a string.
15176
0438ce91
DC
151772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15178
15179 * cus-start.el (all): Define customization for debug-on-event.
15180
841a1577 151812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15182
15183 * subr.el (shell-quote-argument): Escape correctly under Windows.
15184
d090ed6c
SM
151852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15188
bfd31217
MA
151892011-04-25 Michael Albinus <michael.albinus@gmx.de>
15190
d090ed6c
SM
15191 * net/tramp.el (tramp-process-actions): Add POS argument.
15192 Delete region between POS and (pos).
bfd31217 15193
d090ed6c
SM
15194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15195 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15196 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15197
15198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15199 position in `tramp-process-actions' call.
15200
15201 * net/trampver.el: Update release number.
15202
e92f3bd3
SM
152032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15204
850256b5
SM
15205 * custom.el (defcustom): Obey lexical-binding.
15206
e92f3bd3
SM
15207 Fix octave-inf completion problems reported by Alexander Klimov.
15208 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15209 Inherit from octave-mode-syntax-table.
15210 (inferior-octave-mode): Set info-lookup-mode.
15211 (inferior-octave-completion-at-point): New function.
15212 (inferior-octave-complete): Use it and completion-in-region.
15213 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15214 comint-filename-completion.
15215 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15216 symbol elements which shouldn't be word elements.
15217 (octave-font-lock-keywords, octave-beginning-of-defun)
15218 (octave-function-header-regexp): Adjust regexps accordingly.
15219 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15220
cd22b309
JB
152212011-04-25 Juanma Barranquero <lekktu@gmail.com>
15222
15223 * net/gnutls.el (gnutls-errorp): Declare before first use.
15224
8b492194
TZ
152252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15226
15227 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15228 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15229 default trustfile exists before going to use it. Add missing
5a5fa834 15230 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15231 Reported by Claudio Bley <claudio.bley@gmail.com>.
15232 (open-gnutls-stream): Add usage example.
15233
15234 * net/network-stream.el (network-stream-open-starttls): Give host
15235 parameter to `gnutls-negotiate'.
15236 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15237 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15238
841a1577 152392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15240
cd22b309
JB
15241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15242 Use correct match group (bug#8438).
05842630 15243
3ba7869c
CY
152442011-04-24 Chong Yidong <cyd@stupidchicken.com>
15245
512e3ae1
CY
15246 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15247 (package-menu--generate): New arg specifying packages to show.
15248 (package-menu-refresh, package-menu-execute, list-packages):
15249 Callers changed.
15250 (package-show-package-list): New function, replacing deleted
15251 package--list-packages (renamed because it is non-internal).
15252
15253 * finder.el (finder-list-matches): Use package-show-package-list
15254 instead of deleted package--list-packages.
15255
e92f3bd3
SM
15256 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15257 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15258 (vc-annotate-mode-map): Bind it to RET.
15259
7031be6d
UR
152602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15261
15262 * progmodes/etags.el (next-file): Don't use set-buffer to change
15263 buffers (Bug#8478).
15264
4ef177aa
CY
152652011-04-24 Chong Yidong <cyd@stupidchicken.com>
15266
c8d173eb
CY
15267 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15268
4ef177aa
CY
15269 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15270 (apropos-accumulator): Doc fix.
15271 (apropos-function, apropos-macro, apropos-command)
15272 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15273 (apropos-plist): Add face property.
15274 (apropos-symbols-internal): Fix indentation.
15275 (apropos-print): Simplify help, and recognize apropos-multi-type.
15276 (apropos-print-doc): Use button-type-get to extract the button's
15277 face property. Fill docstring (Bug#8352).
15278
4ffd0d6b 152792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15280
15281 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15282
c6c32125 15283 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15284 (mpuz-mode-map): Use mapc.
c6c32125
JB
15285 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15286 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15287 Fix typos in docstrings.
15288
58d468b4
JB
15289 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15290 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15291
6470c3c6
JB
15292 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15293
4ffd0d6b 152942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15295
15296 * minibuffer.el (completion--do-completion): Avoid the "Next char
15297 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15298
3ad8bad0
CY
15299 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15300 mouse-2 into unread-command-events, it is interpreted correctly.
15301
71d73c9c 15302 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15303 (image-toggle-display): Doc fix.
71d73c9c 15304
841a1577 153052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15306
4ffd0d6b
GM
15307 * textmodes/page.el (what-page): Use line-number-at-pos to
15308 calculate line number (Bug#6825).
6e1dbaa9 15309
c2fb1b60
JB
153102011-04-22 Juanma Barranquero <lekktu@gmail.com>
15311
15312 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15313 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15314 Pass argument NO-DEFAULT to `find-tag-interactive'.
15315
e02f48d7
JB
153162011-04-22 Juanma Barranquero <lekktu@gmail.com>
15317
15318 Lexical-binding cleanup.
15319
15320 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15321 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15322 * progmodes/ada-prj.el (ada-prj-initialize-values)
15323 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15324 (ada-prj-show-value):
15325 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15326 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15327 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15328 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15329 * progmodes/bug-reference.el (bug-reference-push-button):
15330 * progmodes/fortran.el (fortran-line-length):
15331 * progmodes/glasses.el (glasses-change):
15332 * progmodes/octave-mod.el (octave-fill-paragraph):
15333 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15334 (python-pdbtrack-grub-for-buffer, python-sentinel):
15335 * progmodes/sql.el (sql-save-connection):
15336 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15337 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15338 Mark unused parameters.
15339
15340 * progmodes/compile.el (compilation--flush-directory-cache)
15341 (compilation--flush-parse, compile-internal): Mark unused parameters.
15342 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15343 (compilation-next-error-function): Remove unused variable `timestamp'.
15344
15345 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15346 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15347
15348 * progmodes/dcl-mode.el (dcl-end-of-command):
15349 Remove unused variable `start'.
15350 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15351 (dcl-option-value-basic, dcl-option-value-offset)
15352 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15353 Mark unused parameters.
15354 (dcl-save-local-variable): Remove unused variable `val'.
15355 (mode): Declare.
15356
15357 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15358 Mark unused parameters.
15359 (delphi-ignore-changes): Move before first use.
15360 (delphi-charset-token-at): Remove unused variable `start'.
15361 (delphi-else-start): Remove unused variable `if-count'.
15362 (delphi-comment-block-start, delphi-comment-block-end):
15363 Remove unused variable `kind'.
15364 (delphi-indent-line): Remove unused variable `new-point'.
15365
15366 * progmodes/ebrowse.el (ebrowse-files-list)
15367 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15368 Mark unused parameters. Don't quote `lambda'.
15369 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15370 Don't quote `lambda'.
15371 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15372 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15373 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15374 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15375 Use `ignore-errors'.
15376 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15377 (ebrowse-view/find-file-and-search-pattern)
15378 (ebrowse-view/find-member-declaration/definition):
15379 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15380 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15381 Rename parameter PREFIX-ARG to PREFIX.
15382 (ebrowse-tags-read-name): Remove unused variables `start' and
15383 `member-info'.
15384 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15385 to `tags-file'.
15386
15387 * progmodes/etags.el (local-find-tag-hook): Declare.
15388 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15389 Mark unused parameters.
15390
15391 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15392 (executable-interpret): Mark unused parameter.
15393
15394 * progmodes/flymake.el (flymake-process-sentinel)
15395 (flymake-after-change-function)
15396 (flymake-create-temp-with-folder-structure)
15397 (flymake-get-include-dirs-dot): Mark unused parameters.
15398 (flymake-safe-delete-directory): Remove unused variable `err'.
15399
15400 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15401 (speedbar-timer-fn, speedbar-line-text)
15402 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15403 (speedbar-center-buffer-smartly): Declare functions.
15404 (gdb-find-watch-expression): Remove unused variable `array'.
15405 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15406 (gdb-starting): Mark unused parameters.
15407 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15408 (gdb-table-string): Remove unused variable `res'.
15409 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15410 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15411 (gdb-display-buffer): Remove unused variable `cur-size'.
15412
15413 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15414 allow lexical-binding compilation.
15415 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15416 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15417 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15418 Mark unused parameters.
15419 (gud-gdb-marker-filter): Remove unused variable `match'.
15420 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15421 lambda expressions and funcall them, instead of using `fset'.
15422
15423 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15424 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15425
15426 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15427 variable `header-beg'; use `let'.
15428
15429 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15430 `restart', `last-sexp' and `at-do'.
15431
15432 * progmodes/js.el (js--debug): Mark unused parameter.
15433 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15434 (js--splice-into-items): Remove unused variable `item'.
15435 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15436
15437 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15438 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15439 (makefile-complete): Remove unused variable `try'.
15440 (makefile-fill-paragraph, makefile-match-function-end):
15441 Mark unused parameters.
15442
15443 * progmodes/octave-inf.el (inferior-octave-complete):
15444 Remove unused variable `proc'.
15445 (inferior-octave-output-digest): Mark unused parameter.
15446
15447 * progmodes/perl-mode.el (perl-calculate-indent):
15448 Remove unused variable `err'.
15449
15450 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15451 (prolog-indent-line): Mark unused parameters.
15452 (prolog-indent-line): Remove unused variable `beg'.
15453
15454 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15455 (reporter-dont-compact-list): Declare.
15456
15457 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15458 Remove unused variable `char'.
15459 (sh-debug): Mark unused parameter.
15460 (sh-get-indent-info): Remove unused variable `start'.
15461 (sh-calculate-indent): Remove unused variable `var'.
15462
15463 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15464 (simula-electric-keyword): Remove unused variable `null'.
15465 (simula-search-backward, simula-search-forward): Remove unused
15466 variables `begin' and `end'.
15467
15468 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15469 Remove unused variable `pos'.
15470 (vera-electric-tab, vera-comment-uncomment-region):
15471 Mark unused parameters.
15472 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15473
7ede3b65
CY
154742011-04-22 Chong Yidong <cyd@stupidchicken.com>
15475
15476 * emacs-lisp/package.el (package--builtins, package-alist)
15477 (package-load-descriptor, package-built-in-p, package-activate)
15478 (define-package, package-installed-p)
15479 (package-compute-transaction, package-buffer-info)
15480 (package--push): Doc fix. Distinguish more clearly between
15481 version strings and version lists.
15482
121656e9
JB
154832011-04-21 Juanma Barranquero <lekktu@gmail.com>
15484
15485 Lexical-binding cleanup.
15486
15487 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15488 (5x5-make-mutate-best):
15489 * play/fortune.el (fortune-in-buffer):
15490 * play/gomoku.el (gomoku-init-display):
15491 * play/solitaire.el (solitaire, solitaire-do-check):
15492 * play/tetris.el (tetris-default-update-speed-function):
15493 Mark unused parameters.
15494
15495 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15496 (bubbles--shift): Remove unused variable `char-org'.
15497 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15498 (bubbles--show-images): Remove unused variable `char'.
15499
15500 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15501 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15502 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15503 (decipher-analyze-buffer): Use ?\s.
15504 (decipher-make-checkpoint): Remove unused variable `mapping'.
15505
15506 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15507
15508 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15509 Remove unused variable `result'; use `let'.
15510
15511 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15512 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15513 (gametree-children-shown-p, gametree-compute-reduced-score):
15514 Use `ignore-errors'.
15515
15516 * play/handwrite.el (ps-lpr-switches): Declare.
15517 (handwrite): Remove unused variables `pmin' and `lastp'.
15518
15519 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15520
15521 * play/landmark.el (landmark-init-display)
15522 (landmark-update-naught-weights): Mark unused parameters.
15523 (landmark-y): Remove unused variable `noise'. Simplify.
15524 (landmark-human-plays): Remove unused variable `score'.
15525
15526 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15527 (mpuz-try-proposal): Remove unused variable `game'.
15528
15529 * play/zone.el (life-patterns): Declare.
15530
80f499c7
JB
155312011-04-20 Juanma Barranquero <lekktu@gmail.com>
15532
15533 * vc/vc.el (ediff-vc-internal): Declare function.
15534
024ff170
SM
155352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15536
c0a193ea
SM
15537 * shell.el: Use lexical-binding and std completion UI.
15538 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15539 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15540 comint-preoutput-filter-functions rather than on
15541 comint-output-filter-functions.
15542 (shell-command-completion, shell--command-completion-data)
15543 (shell-filename-completion, shell-environment-variable-completion)
15544 (shell-c-a-p-replace-by-expanded-directory): New functions.
15545 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15546 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15547 (shell-dynamic-complete-environment-variable): Use them.
15548 (shell-dynamic-complete-as-environment-variable)
15549 (shell-dynamic-complete-as-command): Remove.
15550 (shell-match-partial-variable): Match past point.
15551 * comint.el: Clean up use of completion-at-point-functions.
15552 (comint-completion-at-point): New function.
15553 (comint-mode): Use it completion-at-point-functions.
15554 (comint-dynamic-complete): Make it obsolete.
15555 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15556 (comint-c-a-p-replace-by-expanded-history): New function.
15557 (comint-dynamic-complete-functions)
15558 (comint-replace-by-expanded-history): Use it.
15559 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15560 termination strings. Try harder to avoid second try-completion.
15561 (completion-in-region-mode-map): Disable bindings that don't work yet.
15562
2dbaa080
SM
15563 * comint.el: Use lexical-binding. Require CL.
15564 (comint-dynamic-complete-functions): Use comint-filename-completion.
15565 (comint-completion-addsuffix): Tweak custom type.
15566 (comint-filename-completion, comint--common-suffix)
15567 (comint--common-quoted-suffix, comint--table-subvert)
15568 (comint--complete-file-name-data): New functions.
15569 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15570 (comint-dynamic-list-filename-completions): Use them.
15571 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15572
2dbaa080
SM
15573 * minibuffer.el (completion-in-region-mode):
15574 Keep completion-in-region-mode--predicate global.
15575 (completion-in-region--postch):
15576 Assume completion-in-region-mode--predicate is not null.
15577
c79a6f38
SM
15578 * progmodes/flymake.el (flymake-start-syntax-check-process):
15579 Obey `dir'. Simplify.
15580
024ff170
SM
15581 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15582 we're in VC after all.
15583
1c6c854e
CS
155842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15585
15586 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15587 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15588 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15589
bed7f140
SM
155902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15591
332e62ab
SM
15592 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15593 add sanity check.
15594
bed7f140
SM
15595 * obsolete/erc-hecomplete.el: Make obsolete.
15596 * obsolete/: Standardize obsolescence info in the header.
15597
f195c582
GM
155982011-04-20 Glenn Morris <rgm@gnu.org>
15599
15600 * calendar/solar.el (solar-horizontal-coordinates):
15601 Use the longitude argument rather than `calendar-longitude'.
15602 (solar-date-next-longitude): Remove unused locals.
15603
cb79b8c0
VJL
156042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15605
15606 * whitespace.el: New version 13.2.1.
15607
156082011-04-20 felix <EmacsWiki> (tiny change)
15609
d8e4b68b 15610 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15611 switching between major modes on a file.
15612
602ea69d
SM
156132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15616 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15617 multi-line comments as well.
15618
06b60517
JB
156192011-04-19 Juanma Barranquero <lekktu@gmail.com>
15620
15621 Lexical-binding cleanup.
15622
15623 * arc-mode.el (archive-mode-revert):
15624 * cmuscheme.el (scheme-interactively-start-process):
15625 * custom.el (custom-initialize-delay):
15626 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15627 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15628 * emacs-lock.el (emacs-lock-clear-sentinel):
15629 * ezimage.el (defezimage):
15630 * follow.el (follow-avoid-tail-recenter):
15631 * fringe.el (set-fringe-mode-1):
15632 * generic-x.el (bat-generic-mode-compile):
15633 * help-mode.el (help-info-variable, help-do-xref)
15634 (help-mode-revert-buffer):
15635 * help.el (view-emacs-todo):
15636 * iswitchb.el (iswitchb-completion-help):
15637 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15638 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15639 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15640 * locate.el (locate-update):
15641 * longlines.el (longlines-encode-region)
15642 (longlines-after-change-function):
15643 * outline.el (outline-isearch-open-invisible):
15644 * ps-def.el (declare-function, charset-dimension, char-width)
15645 (encode-char):
15646 * ps-mule.el (ps-mule-plot-string):
15647 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15648 (recentf-edit-list-select, recentf-edit-list-validate)
15649 (recentf-open-files-action):
15650 * rect.el (delete-whitespace-rectangle-line)
15651 (rectangle-number-line-callback):
15652 * register.el (window-configuration-to-register)
15653 (frame-configuration-to-register):
15654 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15655 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15656 (xselect-convert-to-targets, xselect-convert-to-delete)
15657 (xselect-convert-to-filename, xselect-convert-to-charpos)
15658 (xselect-convert-to-lineno, xselect-convert-to-colno)
15659 (xselect-convert-to-os, xselect-convert-to-host)
15660 (xselect-convert-to-user, xselect-convert-to-class)
15661 (xselect-convert-to-name, xselect-convert-to-integer)
15662 (xselect-convert-to-atom, xselect-convert-to-identity):
15663 * subr.el (declare, ignore, process-kill-without-query)
15664 (text-clone-maintain):
15665 * terminal.el (te-get-char, te-tic-sentinel):
15666 * tool-bar.el (tool-bar-make-keymap):
15667 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15668 * type-break.el (type-break-mode, type-break-noninteractive-query):
15669 * view.el (View-back-to-mark):
15670 * wid-browse.el (widget-browse-action, widget-browse-widget)
15671 (widget-browse-widgets, widget-browse-sexp):
15672 * widget.el (define-widget-keywords):
15673 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15674 Mark unused parameters.
15675
15676 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15677 (align-areas): Remove unused variable `look'.
15678 (align-region): Remove unused variables `real-end' and `pos-list'.
15679
15680 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15681
15682 * bindings.el (mode-line-modified, mode-line-remote):
15683 Mark unused parameters.
15684 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15685
15686 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15687 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15688
15689 * comint.el (comint-history-isearch-pop-state)
15690 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15691 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15692 (comint-substitute-in-file-name): Doc fix.
15693
15694 * completion.el (cmpl-statistics-block): Mark unused parameter.
15695 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15696 (save-completions-to-file, load-completions-from-file):
15697 Remove unused local variable `e'.
15698
15699 * composite.el (compose-chars): Remove unused variable `len'.
15700 (lgstring-insert-glyph): Remove unused variable `g'.
15701 (compose-glyph-string): Remove unused variables `ascent',
15702 `descent', `lbearing' and `rbearing'.
15703 (compose-glyph-string-relative): Remove unused variables
15704 `lbearing', `rbearing' and `wadjust'.
15705 (compose-gstring-for-graphic): Remove unused variables `header',
15706 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15707 (compose-gstring-for-terminal): Remove unused variables `header'
15708 and `nchars'. Use `let', not `let*'.
15709
15710 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15711 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15712 (Custom-buffer-done, custom-buffer-create-internal)
15713 (custom-browse-visibility-action, custom-browse-group-tag-action)
15714 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15715 (widget-magic-mouse-down-action, custom-toggle-parent)
15716 (custom-add-parent-links, custom-toggle-hide-variable)
15717 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15718 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15719 (custom-face-menu-create, custom-variable-menu-create, get)
15720 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15721 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15722 (customize-apropos): Remove unused variable `tests'.
15723 (custom-group-value-create): Remove unused variable `hidden-p'.
15724 (sort-fold-case): Declare.
15725
15726 * cus-theme.el (custom-reset-standard-faces-list)
15727 (custom-reset-standard-variables-list): Declare.
15728 (customize-create-theme, custom-theme-revert, custom-theme-write)
15729 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15730 Mark unused parameters.
15731
15732 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15733
15734 * delim-col.el (delimit-columns-max): Move defvar before first use.
15735
15736 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15737 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15738
15739 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15740 (auto-insert): Declare.
15741 (desktop-restore-file-buffer): Rename desktop-* parameters;
15742 mark unused ones.
15743 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15744 (desktop-buffer): Rename desktop-* parameters.
15745
15746 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15747 (dframe-reposition-frame-xemacs, dframe-help-echo)
15748 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15749 Mark unused parameters.
15750
15751 * dired-aux.el (backup-extract-version-start, overwrite-query)
15752 (overwrite-backup-query, rename-regexp-query)
15753 (rename-non-directory-query): Declare.
15754 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15755 (dired-add-entry): Remove unused variable `orig-file-name'.
15756 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15757 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15758 `dired-copy-preserve-time' directly.
15759 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15760 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15761
15762 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15763 (dired-virtual-revert, dired-make-relative-symlink):
15764 Mark unused parameters.
15765 (manual-program): Declare.
15766 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15767 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15768 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15769
15770 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15771
15772 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15773
15774 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15775 Declare.
15776
15777 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15778
15779 * electric.el (Electric-command-loop): Rename parameter
15780 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15781
15782 * expand.el (expand-in-literal): Remove unused variable `here'.
15783
15784 * facemenu.el (facemenu-add-new-color):
15785 Remove unused variable `docstring'.
15786
15787 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15788 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15789 (face-attr-construct): Mark unused parameter. Doc fix.
15790 (read-color): Remove unused variable `hex-string'.
15791
15792 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15793 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15794 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15795 (display-buffer-other-frame): Remove unused variable `old-window'.
15796 (kill-buffer-hook): Declare.
15797 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15798 Mark unused parameters.
15799 (after-find-file): Pass 1 to `auto-save-mode', not t.
15800
15801 * files-x.el (auto-insert): Declare.
15802 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15803
15804 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15805 variable `buf'. Mark unused parameter.
06b60517
JB
15806 (find-lisp-insert-directory): Mark unused parameter.
15807
15808 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15809 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15810 (format-common-tail): Remove, unused.
15811 (format-deannotate-region): Remove unused variable `loc'.
15812 (format-annotate-region): Remove unused variable `p'.
15813 (format-annotate-single-property-change): Remove unused variables
15814 `default' and `tail'.
15815
15816 * forms.el (read-file-filter): Declare.
15817 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15818
15819 * frame.el (frame-creation-function-alist): Mark unused parameter.
15820 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15821
15822 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15823 Remove unused parameters.
15824 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15825 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15826
15827 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15828 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15829 (hfy-prepare-tag-map): Mark unused parameters.
15830 (htmlfontify-buffer): Use `called-interactively-p'.
15831
15832 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15833 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15834 (ibuffer-do-occur): Mark unused parameters.
15835 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15836 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15837
15838 * ibuffer.el: Don't quote `lambda'.
15839 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15840 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15841 Mark unused parameters.
15842
15843 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15844 (ido-completing-read): Mark unused parameters.
15845 (ido-copy-current-word): Mark unused parameters;
15846 remove unused variable `name'.
15847 (ido-sort-merged-list): Remove unused parameter `dirs'.
15848
15849 * ielm.el (ielm-input-sender): Mark unused parameter.
15850 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15851 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15852 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15853 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15854 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15855
15856 * image-dired.el (image-dired-display-thumbs): Remove unused
15857 variables `curr-file' and `count'.
15858 (image-dired-remove-tag): Remove unused variable `start'.
15859 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15860 variable `curr-file'
15861 (image-dired-rotate-original): Remove unused variable `temp-file'.
15862 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15863 Remove unused variable `file'.
15864 (image-dired-gallery-generate): Remove unused variable `curr'.
15865 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15866
15867 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15868
15869 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15870
15871 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15872
15873 * isearch.el (minibuffer-history-symbol): Declare.
15874 (isearch-edit-string): Remove unused variable `err'.
15875 (isearch-message-prefix, isearch-message-suffix):
15876 Mark unused parameters.
15877
15878 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15879
15880 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15881
15882 * makesum.el (double-column): Remove unused variable `cnt'.
15883
15884 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15885 (ido-ignore-item-temp-list): Declare.
15886
15887 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15888 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15889 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15890 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15891 `mouse-col-delta'.
15892
15893 * mouse-sel.el (mouse-extend-internal):
15894 Remove unused variable `orig-window-frame'.
15895
15896 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15897 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15898 Move declarations before first use.
15899 (pcomplete-opt): Mark unused parameters; doc fix.
15900
15901 * proced.el (proced-revert): Mark unused parameter.
15902 (proced-send-signal): Remove unused variable `err'.
15903
15904 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15905 Rename parameter PREFIX-ARG to ARG.
15906 (ps-basic-plot-string, ps-basic-plot-whitespace):
15907 Mark unused parameters.
15908
15909 * replace.el (replace-count): Define.
15910 (occur-revert-function): Mark unused parameters.
15911 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15912 (isearch-case-fold-search, isearch-string): Declare.
15913 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15914 bind `case-fold-search'. Remove unused variables `beg' and `end',
15915 and simplify.
15916 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15917 COUNT and bind `replace-count'.
15918 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15919 to COUNT.
15920
15921 * savehist.el (print-readably, print-string-length): Declare.
15922
15923 * shadowfile.el (shadow-expand-cluster-in-file-name):
15924 Remove unused variable `cluster'.
15925 (shadow-copy-file): Remove unused variable `i'.
15926 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15927 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15928 (shadow-define-literal-group, shadow-define-regexp-group)
15929 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15930
15931 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15932 (shell): Use `called-interactively-p'.
15933 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15934
15935 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15936 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15937 (delete-backward-char): Remove unused variable `ocol'.
15938 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15939 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15940 (event-apply-hyper-modifier, event-apply-shift-modifier)
15941 (event-apply-control-modifier, event-apply-meta-modifier):
15942 Mark unused parameters.
15943 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15944 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15945
15946 * speedbar.el (speedbar-ignored-directory-expressions)
15947 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15948 (speedbar-find-file, speedbar-dir-follow)
15949 (speedbar-directory-buttons-follow, speedbar-tag-find)
15950 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15951 (speedbar-buffers-line-directory, speedbar-buffer-click):
15952 Mark unused parameters.
15953 (speedbar-tag-file): Remove unused variable `mode'.
15954 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15955
15956 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15957
15958 * talk.el (talk): Remove unused variable `display'.
15959
15960 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15961 (tar-write-region-annotate): Mark unused parameter.
15962
15963 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15964 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15965 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15966 warning by another.
15967
15968 * time-stamp.el (time-stamp-string-preprocess):
15969 Remove unused variable `require-padding'.
15970
15971 * tree-widget.el (widget-glyph-enable): Declare.
15972 (tree-widget-action): Mark unused parameter.
15973
15974 * w32-fns.el (x-get-selection): Mark unused parameter.
15975 (autoload-make-program, generated-autoload-file): Declare.
15976
15977 * wdired.el (wdired-revert): Mark unused parameters.
15978 (wdired-xcase-word): Remove unused variable `err'.
15979
15980 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15981 (whitespace-help-scroll): Remove unused variable `data-help'.
15982
15983 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15984 (widget-image-insert, widget-after-change, default)
15985 (widget-default-format-handler, widget-default-notify)
15986 (widget-default-prompt-value, widget-info-link-action)
15987 (widget-url-link-action, widget-function-link-action)
15988 (widget-variable-link-action, widget-file-link-action)
15989 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15990 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15991 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15992 (widget-insert-button-action, widget-delete-button-action, visibility)
15993 (widget-documentation-link-action, widget-documentation-string-action)
15994 (widget-const-prompt-value, widget-regexp-match, symbol)
15995 (widget-coding-system-prompt-value)
15996 (widget-key-sequence-value-to-external, sexp)
15997 (widget-sexp-value-to-internal, character, vector, cons)
15998 (widget-choice-prompt-value, widget-boolean-prompt-value)
15999 (widget-color--choose-action): Mark unused parameters.
16000 (widget-item-match-inline, widget-choice-match-inline)
16001 (widget-checklist-match, widget-checklist-match-inline)
16002 (widget-group-match): Rename parameter VALUES to VALS.
16003 (widget-field-value-set): Remove unused variable `size'.
16004 (widget-color-action): Remove unused variables `value' and `start'.
16005
16006 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16007 variable `dir'. Doc fix.
06b60517
JB
16008 (windmove-find-other-window): Don't pass it.
16009
16010 * window.el (count-windows): Mark unused parameter.
16011 (bw-adjust-window): Remove unused variable `err'.
16012
16013 * woman.el (woman-file-name): Remove unused variable `default'.
16014 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16015 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16016 (global-font-lock-mode): Declare.
16017 (woman-decode-region): Mark unused parameter.
16018 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16019
16020 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16021 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16022 (x-dnd-handle-moz-url): Remove unused variable `title'.
16023 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16024
16025 * xml.el (xml-parse-tag, xml-parse-attlist):
16026 Remove unused variable `pos'.
16027
bc4f7f3d
GM
160282011-04-19 Glenn Morris <rgm@gnu.org>
16029
16030 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16031 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16032 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16033 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16034 * calendar/cal-html.el (cal-html-insert-minical):
16035 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16036 (calendar-mark-date-pattern):
16037 Prefix "unused" locals.
16038
16039 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16040 optional argument `style'.
16041
16042 * calendar/appt.el (appt-make-list):
16043 * calendar/cal-china.el (calendar-chinese-date-string):
16044 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16045 (diary-hebrew-yahrzeit):
16046 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16047 * calendar/calendar.el (calendar-generate-window):
16048 * calendar/time-date.el (time-to-days):
16049 Remove unused local variables.
16050
16a43933
CY
160512011-04-18 Chong Yidong <cyd@stupidchicken.com>
16052
16053 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16054 glyphless-char-display table.
16055 (tabulated-list-glyphless-char-display): New var.
16056
7eed1860
SS
160572011-04-18 Sam Steingold <sds@gnu.org>
16058
16059 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16060 to acknowledgments.
16061
4d2d1ccd
GM
160622011-04-17 Glenn Morris <rgm@gnu.org>
16063
16064 * calendar/diary-lib.el (diary-sexp-entry):
16065 * calendar/holidays.el (holiday-sexp):
16066 Set debug-on-error rather than the removed stack-trace-on-error.
16067
239da61d
GM
160682011-04-16 Glenn Morris <rgm@gnu.org>
16069
16070 * progmodes/f90.el: Use lexical-binding.
16071 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16072
8b05752a
SM
160732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16074
daca8ba5
SM
16075 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16076 (mail-mode): Setup mailalias completion here instead.
16077 * mail/mailalias.el: Use lexical-binding.
16078 (pattern, mailalias-done): Declare dynamic.
16079 (mail-completion-at-point-function): New function, from mail-complete.
16080 (mail-complete): Use it.
16081 (mail-completion-expand): New function.
16082 (mail-get-names): Use it.
16083 (mail-directory, mail-directory-process, mail-directory-stream):
16084 Don't use `pattern' for lexically bound arg.
16085
6f542485
SM
16086 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16087
037e7c3f
SM
16088 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16089 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16090 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16091
8b05752a
SM
16092 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16093 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16094 (byte-interactive-p): Define them again, for use when inlining
16095 old code.
16096
49093f60
JB
160972011-04-15 Juanma Barranquero <lekktu@gmail.com>
16098
16099 * loadup.el: Use `string-to-number', not `string-to-int'.
16100
b5b8e7de
SM
161012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16102
16103 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16104 gud-gdb-complete-command.
16105 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16106 (gud-gdb-completion-at-point): New function.
16107 (gud-gdb-completions): Remove.
16108
f42efeb5
MA
161092011-04-14 Michael Albinus <michael.albinus@gmx.de>
16110
49093f60
JB
16111 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16112 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16113 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16114 whether `executable-find' is bound.
f42efeb5
MA
16115
16116 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16117
e240cc21
SM
161182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * minibuffer.el (completion-in-region-mode-predicate)
16121 (completion-in-region-mode--predicate): New vars.
16122 (completion-in-region, completion-in-region--postch)
16123 (completion-in-region-mode): Use them.
16124 (completion--capf-wrapper): Also return the hook function.
16125 (completion-at-point, completion-help-at-point):
16126 Adjust and provide a predicate.
c2bd2ab0
SM
16127
16128 Preserve arg names for advice of subr and lexical functions (bug#8457).
16129 * help-fns.el (help-function-arglist): Consolidate the subr and
16130 new-byte-code cases. Add argument `preserve-names' to extract names
16131 from the docstring when needed.
16132 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16133 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16134 (ad-arglist): Use help-function-arglist's new arg.
16135 (ad-definition-type): Use cond.
16136
c183f693
JB
161372011-04-13 Juanma Barranquero <lekktu@gmail.com>
16138
06641a47
JB
16139 * autorevert.el (auto-revert-handler):
16140 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16141 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16142 Don't quote lambda.
16143
c183f693
JB
16144 * image-mode.el (image-transform-set-scale):
16145 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16146
1e3b6001
G
161472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16148
16149 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16150 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16151 Upgrades via gnutls-cli are too slow to be done opportunistically.
16152
2d6af8dd
JB
161532011-04-12 Juanma Barranquero <lekktu@gmail.com>
16154
16155 * dframe.el (dframe-current-frame): Remove spurious quote.
16156
c0749a51
GM
161572011-04-12 Glenn Morris <rgm@gnu.org>
16158
088d0d61
GM
16159 * calendar/cal-tex.el (cal-tex-end-document):
16160 Try to automatically use latin1 input if needed.
16161
c0749a51
GM
16162 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16163 Don't try to cons a mark onto an empty element.
16164
5c90fde0
LL
161652011-04-11 Leo Liu <sdl.web@gmail.com>
16166
16167 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16168 buffers.
16169 (ido-kill-buffer-at-head): Support killing virtual buffers.
16170
369e974d
CY
161712011-04-10 Chong Yidong <cyd@stupidchicken.com>
16172
16173 * minibuffer.el (completion-show-inline-help): New var.
16174 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16175 (minibuffer-force-complete, minibuffer-complete-word):
16176 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16177
16178 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16179 to avoid interference from inline help (Bug#5849).
16180
37f1c930
LL
161812011-04-10 Leo Liu <sdl.web@gmail.com>
16182
099c39a4
JB
16183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16184 Fix typo.
37f1c930 16185
a32d4040
CY
161862011-04-09 Chong Yidong <cyd@stupidchicken.com>
16187
16188 * image-mode.el (image-toggle-display-image): Signal an error if
16189 not in Image mode.
16190 (image-transform-mode, image-transform-resize)
16191 (image-transform-set-rotation): Doc fix.
daca8ba5 16192 (image-transform-set-resize): Delete.
a32d4040
CY
16193 (image-transform-set-scale, image-transform-fit-to-height)
16194 (image-transform-fit-to-width): Handle image-toggle-display-image
16195 and image-transform-resize directly.
16196
099c39a4 161972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16198
16199 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16200 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16201 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16202 (doc-view-mode-map): Add bindings for the new functions.
16203
099c39a4 162042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16205
4d61f28d 16206 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16207 Fix typo in docstring.
16208
3726838a
EZ
162092011-04-08 Eli Zaretskii <eliz@gnu.org>
16210
04f33f1e
EZ
16211 * files.el (file-size-human-readable): Produce one digit after
16212 decimal, like "ls -lh" does.
16213
16214 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16215 the file size representation.
16216
3726838a
EZ
16217 * simple.el (list-processes): If async subprocesses are not
16218 available, error out with a clear error message.
16219
cbb59342
CY
162202011-04-08 Chong Yidong <cyd@stupidchicken.com>
16221
16222 * help.el (help-form-show): New function, to be called from C.
16223 Put help-form output in a buffer named differently than *Help*.
16224
e3971c44
EZ
162252011-04-08 Eli Zaretskii <eliz@gnu.org>
16226
16227 * files.el (file-size-human-readable): New function.
16228
16229 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16230 computing the representation inline. Don't require `cl'.
16231
12544bbe
GM
162322011-04-08 Glenn Morris <rgm@gnu.org>
16233
a1de6c6a
GM
16234 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16235
3c4671f4
GM
16236 * net/browse-url.el (browse-url-firefox):
16237 Test system-type, not system-configuration.
16238
b605679c
GM
16239 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16240 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16241 Use log-edit-empty-buffer-p. (Bug#7598)
16242
56442f0c
GM
16243 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16244 (rlogin-mode-map): Initialize in the defvar.
16245 (rlogin): Use ignore-errors.
16246
12544bbe
GM
16247 * replace.el (occur-mode-map): Some fixes for menu items.
16248
eb237b0f
AH
162492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16250
16251 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16252
7d668f2c
CY
162532011-04-06 Chong Yidong <cyd@stupidchicken.com>
16254
e67a13ab
CY
16255 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16256 issuing unused warnings.
16257
16258 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16259 macro directly.
16260
7d668f2c
CY
16261 * simple.el: Lisp reimplement of list-processes. Based on an
16262 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16263 (process-menu-mode): New major mode.
16264 (list-processes--refresh, list-processes):
16265 (process-menu-visit-buffer): New functions.
16266
16267 * files.el (save-buffers-kill-emacs): Don't assume any return
16268 value of list-processes, which is undocumented anyway.
16269
a83ec3c9
CY
162702011-04-06 Chong Yidong <cyd@stupidchicken.com>
16271
16272 * emacs-lisp/tabulated-list.el: New file.
16273
e91a96fe
CY
16274 * emacs-lisp/package.el: Use Tabulated List mode.
16275 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16276 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16277 table format using Tabulated List mode variables.
16278 (package--push): New macro, replacing package-list-maybe-add.
16279 (package-menu--generate): Use package--push. Renamed from
16280 package--generate-package-list.
16281 (package-menu-refresh, list-packages): Use it.
daca8ba5 16282 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16283 Return insertion data instead of inserting it directly.
099c39a4
JB
16284 (package-menu-describe-package, package-menu-execute):
16285 Use tabulated-list-get-id.
e91a96fe
CY
16286 (package-menu-mark-delete, package-menu-mark-install)
16287 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16288 (package-menu-mark-obsolete-for-deletion):
16289 Use tabulated-list-put-tag.
e91a96fe
CY
16290 (package--list-packages, package-menu-revert)
16291 (package-menu-get-package, package-menu-get-version)
16292 (package-menu-sort-by-column): Functions deleted.
16293 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16294 (package-menu--status-predicate, package-menu--version-predicate)
16295 (package-menu--name-predicate)
16296 (package-menu--description-predicate): Handle arguments in the
16297 Tabulated List format.
16298 (package-list-packages-no-fetch): Call list-packages.
16299
3e214b50
JB
163002011-04-06 Juanma Barranquero <lekktu@gmail.com>
16301
16302 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16303 (after-find-file): Don't bind it.
3e214b50
JB
16304 (revert-buffer-in-progress-p): New variable.
16305 (revert-buffer): Bind it.
16306 Pass nil for `after-find-file-from-revert-buffer'.
16307
16308 * saveplace.el (save-place-find-file-hook): Use new variable
16309 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16310
3f0f1700
GM
163112011-04-06 Glenn Morris <rgm@gnu.org>
16312
c0274801
GM
16313 * Makefile.in (AUTOGEN_VCS): New variable.
16314 (autoloads): Use $AUTOGEN_VCS.
16315
3f0f1700
GM
16316 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16317 * calendar/calendar.el (calendar-mode-map):
16318 Check for toolkit scroll bars. (Bug#8305)
16319
41ea9e48
CY
163202011-04-05 Chong Yidong <cyd@stupidchicken.com>
16321
16322 * minibuffer.el (completion-in-region--postch)
16323 (completion-in-region-mode): Remove unnecessary messages.
16324
6194c800
JB
163252011-04-05 Juanma Barranquero <lekktu@gmail.com>
16326
33256f14
JB
16327 * font-lock.el (font-lock-refresh-defaults):
16328 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16329 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16330
6194c800
JB
16331 * info.el (Info-directory-list, Info-read-node-name-2)
16332 (Info-split-parameter-string): Doc fixes.
16333 (Info-virtual-nodes): Reflow docstring.
16334 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16335 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16336 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16337 Fix typos in docstrings.
16338 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16339 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16340 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16341 (Info-restore-desktop-buffer): Mark unused parameters.
16342 (Info-directory-find-file, Info-directory-find-node)
16343 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16344 (Info-virtual-index-find-node, Info-apropos-find-file)
16345 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16346 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16347 (Info-virtual-index): Remove unused local variable `nodename'.
16348
b87a8200 163492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16350
b87a8200
DD
16351 * net/rcirc.el: Update my e-mail address.
16352 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16353
3b2ff876
CY
163542011-04-05 Chong Yidong <cyd@stupidchicken.com>
16355
16356 * startup.el (command-line): Save the cursor's theme-face
16357 directly, instead of using face-override-spec.
16358
16359 * custom.el (load-theme): Minor optimization in assigning faces.
16360
8d17e7ca
JB
163612011-04-04 Juanma Barranquero <lekktu@gmail.com>
16362
16363 * help-fns.el (describe-variable): Complete all variables having
16364 documentation, including keywords.
16365 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16366
2fbc1934
JB
163672011-04-04 Juanma Barranquero <lekktu@gmail.com>
16368
16369 Convert to lexical-binding.
16370
16371 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16372 (bs--get-marked-string, bs--get-modified-string)
16373 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16374 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16375 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16376
16377 * ehelp.el (electric-help-execute-extended)
16378 (electric-help-ctrl-x-prefix):
16379 * hexl.el (hexl-revert-buffer-function):
16380 * linum.el (linum-after-change, linum-after-scroll):
16381 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16382
16383 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16384
74f50695
DU
163852011-04-04 Daiki Ueno <ueno@unixuser.org>
16386
16387 * epa-dired.el:
16388 * epa-mail.el:
16389 * epa-hook.el:
16390 * epa-file.el:
16391 * epa.el:
16392 * epg.el: Use lexical binding.
16393
c11325f7
CY
163942011-04-03 Chong Yidong <cyd@stupidchicken.com>
16395
0d9e9a12
CY
16396 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16397
c11325f7 16398 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16399 dictionary case for flyspell-mark-duplications-exceptions.
16400 Use regexp matching for languages.
c11325f7
CY
16401 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16402 default dictionary (Bug#7926).
16403
da91b5f2
CY
164042011-04-02 Chong Yidong <cyd@stupidchicken.com>
16405
099c39a4
JB
16406 * emacs-lisp/package.el (package--with-work-buffer):
16407 Recognize https URLs.
da91b5f2 16408
099c39a4
JB
16409 * net/network-stream.el: Move from gnus/proto-stream.el.
16410 Change prefix to network-stream throughout.
da91b5f2
CY
16411 (open-protocol-stream): Merge into open-network-stream, leaving
16412 open-protocol-stream as an alias. Handle nil BUFFER args.
16413
16414 * subr.el (open-network-stream): Move to net/network-stream.el.
16415
afa8e9f6
GM
164162011-04-02 Glenn Morris <rgm@gnu.org>
16417
1d2e369d
GM
16418 * find-dired.el (find-exec-terminator): New option.
16419 (find-ls-option): Test for -ls support.
16420 (find-ls-subdir-switches): Test for -b in find-ls-option.
16421 (find-dired, find-grep-dired): Doc fixes.
16422 (find-dired): Use find-exec-terminator.
16423
8abb7da8 16424 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16425 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16426 (find-name-arg): Remove purecopy.
8abb7da8 16427
f3ca7378
GM
16428 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16429 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16430 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16431 accordingly. Don't add the null-device if not needed.
16432
afa8e9f6
GM
16433 * files.el (save-some-buffers): Doc fix.
16434
35eae264
EZ
164352011-04-02 Eli Zaretskii <eliz@gnu.org>
16436
16437 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16438
26b51db5
JB
164392011-04-01 Juanma Barranquero <lekktu@gmail.com>
16440
16441 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16442 Use `dolist' rather than `mapcar'.
16443
7200d79c
SM
164442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16445
03408648 16446 Add lexical binding.
7200d79c 16447
03408648
SM
16448 * subr.el (apply-partially): Use new closures rather than CL.
16449 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16450 (dolist, dotimes): Use slightly different expansion for lexical code.
16451 (functionp): Move to C.
16452 (letrec): New macro.
16453 (with-wrapper-hook): Use it and apply-partially instead of CL.
16454 (eval-after-load): Preserve lexical-binding.
16455 (save-window-excursion, with-output-to-temp-buffer): Turn them
16456 into macros.
7200d79c 16457
03408648
SM
16458 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16459
16460 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16461 than the arglist.
16462 (help-add-fundoc-usage): Don't add `Not documented'.
16463 (help-function-arglist): Handle closures, subroutines, and new
16464 byte-code-functions.
16465 (help-make-usage): Remove leading underscores.
16466 (describe-function-1): Handle closures.
16467 (describe-variable): Use special-variable-p for completion.
16468
16469 * files.el (lexical-binding): Declare safe.
f488fb65 16470
03408648
SM
16471 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16472 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16473 (pcase): Add `let' pattern.
16474 Change memoization so it actually works.
16475 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16476 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16477 <let>: New case.
f488fb65 16478
03408648
SM
16479 * emacs-lisp/macroexp.el: Use lexical binding.
16480 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16481 Don't convert ' to #' without checking that it's indeed quoting
16482 a lambda.
16483
16484 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16485 Use eval-sexp-add-defvars.
03408648
SM
16486 (eval-sexp-add-defvars): New fun.
16487
16488 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16489
16490 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16491 Don't autoload.
16492 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16493 than the internal `byte-compile-lambda'.
16494 (defmethod): Don't hide code under quotes.
16495 (eieio-defmethod): New `code' argument.
16496
16497 * emacs-lisp/eieio-comp.el: Remove.
16498
16499 * emacs-lisp/edebug.el (edebug-eval-defun)
16500 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16501 (edebug-toggle): Avoid `eval'.
16502
16503 * emacs-lisp/disass.el (disassemble-internal): Handle new
16504 `closure' objects.
16505 (disassemble-1): Handle new byte codes.
16506
16507 * emacs-lisp/cl.el (pushnew): Silence warning.
16508
16509 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16510 (cl-byte-compile-throw): Remove.
16511 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16512
16513 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16514 closures.
16515
16516 * emacs-lisp/cconv.el: New file.
16517
16518 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16519 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16520 (byte-compile-initial-macro-environment):
16521 Handle declare-function here.
16522 (byte-compile--lexical-environment): New var.
16523 (byte-stack-ref, byte-stack-set, byte-discardN)
16524 (byte-discardN-preserve-tos): New lap codes.
16525 (byte-interactive-p): Don't use any more.
16526 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16527 New macros.
16528 (byte-compile-lapcode): Use them and handle new lap codes.
16529 (byte-compile-obsolete): Remove.
16530 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16531 (byte-compile-arglist-warn): Check late def of inlinable funs.
16532 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16533 since they should have been expanded by now.
16534 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16535 (byte-compile-from-buffer): Remove unused second arg.
16536 (byte-compile-preprocess): New function.
16537 (byte-compile-toplevel-file-form): New function to distinguish
16538 file-form calls from outside from file-form calls from hunk-handlers.
16539 (byte-compile-file-form): Simplify.
16540 (byte-compile-file-form-defsubst): Remove.
16541 (byte-compile-file-form-defmumble): Simplify now that
16542 byte-compile-lambda always returns a byte-code-function.
16543 (byte-compile): Preprocess.
16544 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16545 Remove, not used any more.
16546 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16547 (byte-compile-make-args-desc): New funs.
16548 (byte-compile-lambda): Handle lexical functions. Always return
16549 a byte-code-function.
16550 (byte-compile-reserved-constants): New var, to make up room for
16551 closed-over variables.
16552 (byte-compile-constants-vector): Obey it.
16553 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16554 (byte-compile-macroexpand-declare-function): New function.
16555 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16556 byte-code-functions.
16557 (byte-compile-form): Check obsolescence here.
16558 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16559 (byte-compile-variable-ref): Remove.
16560 (byte-compile-dynamic-variable-op): New fun.
16561 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16562 (byte-compile-variable-set): New funs.
16563 (byte-compile-discard): Add 2 args.
16564 (byte-compile-stack-ref, byte-compile-stack-set)
16565 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16566 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16567 macroexpand-all instead.
16568 (byte-compile-quote-form): Remove.
16569 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16570 (byte-compile-bind, byte-compile-unbind): New funs.
16571 (byte-compile-let): Handle let* and lexical binding.
16572 (byte-compile-let*): Remove.
16573 (byte-compile-catch, byte-compile-unwind-protect)
16574 (byte-compile-track-mouse, byte-compile-condition-case):
16575 Handle a new :fun-body form, used for lexical scoping.
16576 (byte-compile-save-window-excursion)
16577 (byte-compile-with-output-to-temp-buffer): Remove.
16578 (byte-compile-defun): Simplify.
16579 (byte-compile-stack-adjustment): New fun.
16580 (byte-compile-out): Use it.
16581 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16582
16583 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16584 handler any more.
16585
16586 * emacs-lisp/byte-opt.el: Use lexical binding.
16587 (byte-inline-lapcode): Remove (to bytecomp).
16588 (byte-compile-inline-expand): Pay attention to inlining to/from
16589 lexically bound code.
16590 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16591 any more.
16592 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16593 any more and don't call compiler-macros.
16594 (byte-compile-splice-in-already-compiled-code): Remove.
16595 (byte-code): Don't inline any more.
16596 (disassemble-offset): Receive `bytes' as argument rather than via
16597 dynamic scoping.
16598 (byte-compile-tag-number): Declare before first use.
16599 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16600 `return' even if make-spliceable.
16601 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16602 obsolete interactive-p.
16603 (byte-optimize-lapcode): Optimize new lap-codes.
16604 Don't trip up on new form of `byte-constant' lap code.
16605
16606 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16607
16608 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16609
16610 * custom.el (custom-initialize-default, custom-declare-variable):
16611 Use `defvar'.
16612
16613 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16614 New variables.
16615 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16616 (COMPILE_FIRST): Add macroexp and cconv.
16617 * makefile.w32-in: Mirror changes in Makefile.in.
16618
16619 * vc/cvs-status.el:
16620 * vc/diff-mode.el:
16621 * vc/log-edit.el:
16622 * vc/log-view.el:
16623 * vc/smerge-mode.el:
16624 * textmodes/bibtex-style.el:
090bd7cb 16625 * textmodes/css-mode.el:
03408648
SM
16626 * startup.el:
16627 * uniquify.el:
da91b5f2
CY
16628 * minibuffer.el:
16629 * newcomment.el:
16630 * reveal.el:
16631 * server.el:
16632 * mpc.el:
16633 * emacs-lisp/smie.el:
16634 * doc-view.el:
16635 * dired.el:
03408648
SM
16636 * abbrev.el: Use lexical binding.
16637
0f0c1f27
EZ
166382011-04-01 Eli Zaretskii <eliz@gnu.org>
16639
16640 * info.el (info-display-manual): New function.
16641
c82b2579
SM
166422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16643
16644 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16645
221ddf68
TH
166462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16647
16648 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16649 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16650
cba6e77e
GM
166512011-03-31 Glenn Morris <rgm@gnu.org>
16652
e040639f
GM
16653 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16654
cba6e77e
GM
16655 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16656
6d0f1c9e
CS
166572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16658
16659 * progmodes/python.el (python-default-interpreter)
16660 (python-python-command-args, python-jython-command-args)
16661 (python-which-shell, python-which-args, python-which-bufname)
16662 (python-file-queue, python-comint-output-filter-function)
16663 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16664 variables and functions.
16665
3e2d70fd
SM
166662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16669 (completion-in-region-mode): New minor mode.
16670 (completion-in-region): Use it.
16671 (completion-in-region--data, completion-in-region-mode-map): New vars.
16672 (completion-in-region--postch): New function.
16673 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16674 New vars.
16675 (completion--capf-wrapper): New function.
16676 (completion-at-point): Use it to track well-behavedness of
16677 hook functions.
16678 (completion-help-at-point): New command.
16679
f3e4086c
JM
166802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16681
16682 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16683 syntax class to search for whitespace on a single line
16684 (Message-ID: <4D938140.4030905@redhat.com>).
16685
eb7ffc14
LL
166862011-03-30 Leo Liu <sdl.web@gmail.com>
16687
16688 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16689 New commands.
16690 (edit-abbrevs-map): Bind them here.
16691 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16692
d806ab68
KM
166932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16694
16695 * allout.el (allout-hide-by-annotation, allout-flag-region):
16696 Reduce possibility of overlay leakage by making them volatile.
16697
16698 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16699 hash is not shared between buffers. Mode initialization is
16700 responsible for giving it a useful starting value.
16701 (allout-item-span): Reduce possibility of overlay leakage by
16702 making them volatile.
16703 (allout-widgets-count-buttons-in-region): Add diagnostic function
16704 for tracking down button overlay leaks.
16705
ea622834
LL
167062011-03-29 Leo Liu <sdl.web@gmail.com>
16707
16708 * ido.el (ido-read-internal): Use the default history var
16709 minibuffer-history if no HISTORY is specified.
16710
b62f8267
G
167112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16712
03408648
SM
16713 * net/imap.el (imap-shell-open, imap-process-connection-type):
16714 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16715 Kerberos, SSL, other subprocesses.
16716
947b6566
LL
167172011-03-28 Leo Liu <sdl.web@gmail.com>
16718
16719 * abbrev.el (abbrev-table-empty-p): New function.
16720 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16721 nonempty ones. (Bug#5937)
16722
5ffb62aa
JD
167232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16724
16725 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16726
7a097943
LL
167272011-03-27 Leo Liu <sdl.web@gmail.com>
16728
16729 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16730 for foreground and background colors.
16731 (ansi-color-make-color-map): Adapt.
16732
c5b40130
LL
167332011-03-25 Leo Liu <sdl.web@gmail.com>
16734
1f48f7d2
LL
16735 * midnight.el (midnight-time-float): Remove. Note it calculates
16736 the microsecond component incorrectly and seconds-to-time does the
16737 same job.
625897ec 16738 Remove redundant (require 'timer).
1f48f7d2 16739
c5b40130
LL
16740 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16741 (ido-completions): Remove unused arguments. (Bug#8329)
16742
d86d2721
SM
167432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16744
16745 * minibuffer.el (completion--flush-all-sorted-completions):
16746 Remove itself from hook.
16747 (completion-at-point): Let the functions perform the completion
16748 immediately and return nil or t.
16749 * comint.el (comint-dynamic-complete-functions): Now identical to
16750 completion-at-point-functions.
16751 (comint-dynamic-list-input-ring): Remove unused var `index'.
16752 (comint--match-partial-filename, comint--unquote&expand-filename):
16753 New funs, split from comint-match-partial-filename.
16754 (comint-dynamic-complete): Use completion-at-point.
16755 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16756
e8974c48
DA
167572011-03-24 Drew Adams <drew.adams@oracle.com>
16758
16759 * thingatpt.el: Support `defun'.
16760
def71b5e
LL
167612011-03-23 Leo Liu <sdl.web@gmail.com>
16762
cb5af48e
LL
16763 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16764
def71b5e
LL
16765 * help-mode.el (help-mode-finish): Tweak regexp.
16766
927c53e7
GM
167672011-03-23 Glenn Morris <rgm@gnu.org>
16768
18d05bed
GM
16769 * eshell/esh-opt.el (eshell-eval-using-options):
16770 Do not bind unused local variable `eshell-option-stub'.
16771
927c53e7
GM
16772 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16773
9d0da923
JB
167742011-03-22 Juanma Barranquero <lekktu@gmail.com>
16775
16776 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16777 keymap variable in `with-no-warnings' to avoid a warning when the
16778 keymap has been already `defconst'ed.
16779
4b978a67
LL
167802011-03-22 Leo Liu <sdl.web@gmail.com>
16781
16782 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16783 encode all chars in abbrevs; otherwise use emacs-mule or
16784 utf-8-emacs. (Bug#8308)
16785
5fd62452
JB
167862011-03-22 Juanma Barranquero <lekktu@gmail.com>
16787
0b1596c6
JB
16788 * simple.el (backward-delete-char-untabify):
16789 Avoid warning about using `delete-backward-char'.
16790
5fd62452
JB
16791 * image.el (image-type-file-name-regexps): Make it variable.
16792 `imagemagick-register-types' modifies it, and the user may want
16793 to add new extensions for known image types.
16794 (imagemagick-register-types): Throw error if not using ImageMagick.
16795
0b4e93f1
LL
167962011-03-22 Leo Liu <sdl.web@gmail.com>
16797
16798 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16799 located before rcirc-prompt-end-marker.
16800 (rcirc-complete): Error if point is not after rcirc prompt.
16801 Handle the case when table is nil.
9882e214 16802 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16803
fccee4ab
CY
168042011-03-22 Chong Yidong <cyd@stupidchicken.com>
16805
16806 * custom.el (custom--inhibit-theme-enable): Make it affect only
16807 custom-theme-set-variables and custom-theme-set-faces.
16808 (provide-theme): Ignore custom--inhibit-theme-enable.
16809 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16810 (custom-enabling-themes): Delete variable.
d86d2721
SM
16811 (enable-theme): Accept only loaded themes as arguments.
16812 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16813 (custom-enabled-themes): Forbid themes from setting this.
16814 Eliminate use of custom-enabling-themes.
16815 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16816
af896da6
LL
168172011-03-21 Leo Liu <sdl.web@gmail.com>
16818
16819 * ido.el (ido-read-internal): Add ido-selected to history instead
16820 of user input.
16821
78f64af0
SM
168222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * subr.el (deferred-action-list, deferred-action-function):
16825 Mark obsolete.
16826
b16ac1ec
LL
168272011-03-21 Leo Liu <sdl.web@gmail.com>
16828
810f7698
LL
16829 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16830 change on 2011-02-13 (bug#8309).
16831
b16ac1ec
LL
16832 * minibuffer.el (read-file-name-function): Change default value.
16833 (read-file-name--defaults): Rename from read-file-name-defaults.
16834 (read-file-name-default): Rename from read-file-name.
16835 (read-file-name): Call read-file-name-function.
16836
4e05e67e
GM
168372011-03-21 Glenn Morris <rgm@gnu.org>
16838
16839 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16840 Doc fixes.
16841
4359915b
CY
168422011-03-21 Chong Yidong <cyd@stupidchicken.com>
16843
16844 * cus-theme.el: Add missing provide statement.
16845 (customize-create-theme): Extract theme value correctly.
16846 (custom-theme-visit-theme): Autoload.
16847 (customize-create-theme): Prompt before inserting default faces.
16848
1fe275ee
JB
168492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16850
16851 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16852 units and musical notes.
16853
cd394be1 168542011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16855
16856 * ido.el (ido-read-internal): Use completing-read-default.
16857 (ido-completing-read): Fix compatibility with completing-read.
16858
7d476bde
CO
168592011-03-20 Christian Ohler <ohler@gnu.org>
16860
16861 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16862 (ert-delete-all-tests): Use `called-interactively-p' rather than
16863 `interactive-p'.
16864 (ert--make-xrefs-region): Respect END.
16865
fe0fb33e
CY
168662011-03-19 Chong Yidong <cyd@stupidchicken.com>
16867
ff854b0b
CY
16868 * dired-aux.el (dired-create-directory): Signal an error if the
16869 directory already exists (Bug#8246).
16870
fe0fb33e
CY
16871 * facemenu.el (list-colors-display): Call list-faces-display
16872 inside with-help-window.
16873 (list-colors-print): Use display property to align the final
16874 column, instead of checking window-width.
16875
576bce32
EZ
168762011-03-19 Eli Zaretskii <eliz@gnu.org>
16877
4d61f28d 16878 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16879 windows-nt systems.
16880 (emerge-protect-metachars): Quote correctly for ms-dos and
16881 windows-nt systems.
16882
89c41d68 168832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16884
16885 * info.el (info-initialize): Replace all uses of `:' with
16886 path-separator for compatibility with non-Unix systems.
16887 Cache quoting of path-separator. (Bug#8258)
16888
b14e3e21 168892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16890
16891 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16892 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16893 (mouse-avoidance-mode): Fix typos in docstrings.
16894
4525ce3e
CY
168952011-03-19 Chong Yidong <cyd@stupidchicken.com>
16896
16897 * startup.el (package-subdirectory-regexp): Move from package.el.
16898 Omit \\` and \\', and let callers add them.
16899
16900 * emacs-lisp/package.el (package-strip-version)
16901 (package-load-all-descriptors): Add \\` and \\' to
16902 package-subdirectory-regexp before using it.
16903 (package-untar-buffer): New arg DIR; ensure that file untars only
16904 into this expected directory. Remove superfluous delete-region.
16905 (package-unpack): Caller changed.
16906 (package-tar-file-info): Use package-subdirectory-regexp.
16907
a904a09a 169082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16909
a904a09a
SM
16910 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16911 diff-mode-shared-map (bug#8284).
16912 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16913
169142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16915
16916 * calendar/time-date.el (format-seconds): Use assoc instead of
16917 assoc-string, since assoc-string doesn't exist in XEmacs.
16918
171fc304
JB
169192011-03-17 Juanma Barranquero <lekktu@gmail.com>
16920
16921 * custom.el (custom-known-themes): Reflow docstring.
16922 (custom-theme-load-path): Fix typo in docstring.
16923 (load-theme): Fix typo in error message.
16924 (custom-available-themes, custom-variable-theme-value):
16925 Use `let', not `let*'.
16926
d71990a1
JB
169272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16928
16929 * calc/README: Mention inclusion of musical notes.
16930
16931 * calc/calc-units.el (calc-lu-quant): Rename from
16932 `calc-logunits-quantity'.
16933 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16934 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16935 (calc-db): Rename from `calc-dblevel'.
16936 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16937 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16938 (calc-np): Rename from `calc-nplevel'.
16939 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16940 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16941 (calc-lu-plus): Rename from `calc-logunits-add'.
16942 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16943 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16944 (calc-lu-minus): Rename from `calc-logunits-sub'.
16945 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16946 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16947 (calc-lu-times): Rename from `calc-logunits-mul'.
16948 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16949 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16950 (calc-lu-divide): Rename from `calc-logunits-div'.
16951 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16952 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16953
16954 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16955 functions being autoloaded.
16956
16957 * calc/calc.el (calc-lu-power-reference): Rename from
16958 `calc-logunits-power-reference'.
16959 (calc-lu-field-reference): Rename from
16960 `calc-logunits-field-reference'.
16961
7a71b18d
GM
16962 * calc/calc-help.el (calc-l-prefix-help):
16963 Mention musical note functions.
d71990a1 16964
40c2934b
SM
169652011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16966
16967 * minibuffer.el (completion-all-sorted-completions):
16968 Use :completion-cycle-penalty text property if present.
16969
b0911414
KM
169702011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16971
16972 * allout.el (allout-yank-processing): Adjust for new rebulleting
16973 regime so bullet being yanked is used without prompting the user
16974 for a choice.
16975
8a05b668
JB
169762011-03-16 Juanma Barranquero <lekktu@gmail.com>
16977
16978 * startup.el (command-line): Warn the user that _emacs is deprecated.
16979
5ba5fb81
JB
169802011-03-16 Juanma Barranquero <lekktu@gmail.com>
16981
16982 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16983 (delphi-verbose, delphi-comment-face, delphi-string-face)
16984 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16985 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16986 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16987 (delphi-new-comment-line, delphi-font-lock-defaults)
16988 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16989 Fix typos in docstrings.
16990
2dab465b
KM
169912011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16992
5ba5fb81 16993 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16994 Invert the roles of character and string values for INSTEAD, so a
16995 string is used for the more common case of a defaulting prompt.
16996
0adf5618
SM
169972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16998
16999 * progmodes/ruby-mode.el (ruby-backward-sexp):
17000 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17001 * play/gamegrid.el (gamegrid-make-face):
17002 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17003 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17004 * notifications.el (notifications-notify):
17005 * net/xesam.el (xesam-search-engines):
17006 * net/quickurl.el (quickurl-list-insert):
17007 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17008
d72700e5
CY
170092011-03-15 Chong Yidong <cyd@stupidchicken.com>
17010
17011 * startup.el (command-line): Update package subdirectory regexp.
17012
49c5410a
SM
170132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17014
c6eee9aa
SM
17015 * allout.el (allout-abbreviate-flattened-numbering)
17016 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17017
49c5410a
SM
17018 * subr.el (read-char-choice): Only show the cursor after the prompt,
17019 not after the answer.
17020
047b2bb9
KR
170212011-03-15 Kevin Ryde <user42@zip.com.au>
17022
17023 * help-fns.el (variable-at-point): Skip leading quotes, if any
17024 (bug#8253).
17025
0a57d256
SM
170262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17027
17028 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17029 warning message.
17030
77c992bc
MA
170312011-03-14 Michael Albinus <michael.albinus@gmx.de>
17032
17033 * shell.el (shell): When called interactively, offer to change the
17034 shell file name on remote hosts.
17035
eebc475d
TZ
170362011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17037
17038 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17039 integration for LDAP parameters. The host, base, user or binddn,
17040 and secret tokens can be specified in a netrc file, for instance.
17041 This is optional because an `auth-source' parameter must be
17042 specified in the search attributes.
17043
9d05d1ba
JB
170442011-03-13 Juanma Barranquero <lekktu@gmail.com>
17045
17046 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17047
09d9db2c
GM
170482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17051 into declaration. Remove redundant and harmful binding.
17052
170532011-03-12 Eli Zaretskii <eliz@gnu.org>
17054
17055 * files.el (file-ownership-preserved-p): Pass `integer' as an
17056 explicit 2nd argument to `file-attributes'. If the file's owner
17057 is the Administrators group on Windows, and the current user is
17058 Administrator, consider that a match.
17059
17060 * server.el (server-ensure-safe-dir): Consider server directory
17061 safe on MS-Windows if its owner is the Administrators group while
17062 the current Emacs user is Administrator. Use `=' to compare
17063 numerical UIDs, since they could be integers or floats.
17064
219bd536
JB
170652011-03-12 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17068
f3afd36b
MA
170692011-03-12 Michael Albinus <michael.albinus@gmx.de>
17070
17071 Sync with Tramp 2.2.1.
17072
17073 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17074
17075 * net/trampver.el: Update release number.
17076
3aaaa6f1
SM
170772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17078
94642599
SM
17079 * progmodes/compile.el (compilation--previous-directory): Fix up
17080 various nil/dead-marker mismatches (bug#8014).
17081 (compilation-directory-properties, compilation-error-properties):
17082 Don't call it at a position past the one we're about to change.
17083
3aaaa6f1
SM
17084 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17085 Disable obsolescence warnings in the file that declares it.
17086
14239447
KM
170872011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17088
099c39a4
JB
17089 * allout-widgets.el (allout-widgets-tally):
17090 Initialize allout-widgets-tally as a hash table rather than nil to
17091 prevent mode-line redisplay warnings. Also, clarify the module
17092 description and fix a comment typo.
14239447 17093
135e287c
JB
170942011-03-11 Juanma Barranquero <lekktu@gmail.com>
17095
17096 * help-fns.el (describe-variable): Don't complete keywords.
17097 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17098
ffbf300e
CY
170992011-03-10 Chong Yidong <cyd@stupidchicken.com>
17100
ba08b241
CY
17101 * emacs-lisp/package.el (package-version-join): Impose a standard
17102 string representation for pre/alpha/beta version lists.
17103 (package-unpack-single): Standardize the directory name by passing
17104 it through package-version-join.
17105 (package-strip-rcs-id): Accept any version string that does not
17106 signal an error in version-to-list.
ffbf300e 17107
f346fd6b
MA
171082011-03-10 Michael Albinus <michael.albinus@gmx.de>
17109
17110 * simple.el (delete-trailing-whitespace): Return nil for the
17111 benefit of `write-file-functions'.
17112
ccb55d27
GM
171132011-03-10 Glenn Morris <rgm@gnu.org>
17114
5ceaac0c
GM
17115 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17116
02da65ff
GM
17117 * vc/vc-git.el (vc-git-program): New option.
17118 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17119 (vc-git--call): Use it.
17120
b2f603cc
GM
17121 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17122
5772caab
GM
17123 * cus-edit.el (Custom-newline): If no button at point, look
17124 for a subgroup button at start-of-line. (Bug#2298)
17125
ccb55d27
GM
17126 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17127
ec6ecaed
JD
171282011-03-10 Julien Danjou <julien@danjou.info>
17129
17130 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17131 `cursor-type' is nil.
17132
9d5aa01d
JB
171332011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17134
17135 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17136
b6a5875b
KM
171372011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17138
7a71b18d 17139 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17140 preserves the existing header prefix, rebulleting it if necessary,
17141 rather than replacing it. This is necessary for proper operation
17142 of cooperative addons like allout-widgets.
1154d12e
JB
17143 (allout-make-topic-prefix, allout-rebullet-heading):
17144 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17145 value as alternate bullet to be used, instead of prompting the user
17146 for a bullet character.
b6a5875b 17147
ee545c35
MA
171482011-03-09 Michael Albinus <michael.albinus@gmx.de>
17149
d86d2721
SM
17150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17151 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17152 `tramp-default-port'.
17153
c47971d7
DD
171542011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17155
17156 * net/rcirc.el (rcirc-handler-001): Remove useless
17157 with-rcirc-process-buffer.
17158 (rcirc-check-auth-status): Swap arguments to string-match.
17159
13522cb4
GM
171602011-03-09 Glenn Morris <rgm@gnu.org>
17161
0be6f4f1
GM
17162 * shell.el (shell-mode):
17163 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17164
13522cb4
GM
17165 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17166 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17167
515de2e3
CY
171682011-03-08 Chong Yidong <cyd@stupidchicken.com>
17169
17170 * emacs-lisp/package.el (package-refresh-contents)
17171 (package-menu-execute): Use condition-case-no-debug.
17172
b511b994
MA
171732011-03-08 Michael Albinus <michael.albinus@gmx.de>
17174
17175 * simple.el (shell-command-to-string): Use `process-file'.
17176
17177 * emacs-lisp/package.el (package-tar-file-info): Handle also
17178 remote files.
17179
d86d2721
SM
17180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17181 Use `equal' for upload base check.
b511b994 17182
25bbfb31
AM
171832011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17184
17185 * textmodes/texinfo.el (texinfo-environments):
17186 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17187
be996521
GM
171882011-03-08 Glenn Morris <rgm@gnu.org>
17189
e9c8529f
GM
17190 * cus-start.el (cursor-in-non-selected-windows):
17191 Fix :set quoting oddness. (Bug#8192)
17192
be996521
GM
17193 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17194 in some setf expressions. (Bug#2159)
17195
2bb5649e
CY
171962011-03-08 Chong Yidong <cyd@stupidchicken.com>
17197
17198 * custom.el (custom-available-themes): Return themes in
17199 alphabetical order.
17200
33383987 17201See ChangeLog.15 for earlier changes.
e3d51b27
MR
17202
17203;; Local Variables:
17204;; coding: utf-8
e3d51b27
MR
17205;; End:
17206
acaf905b 17207 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17208
17209 This file is part of GNU Emacs.
17210
17211 GNU Emacs is free software: you can redistribute it and/or modify
17212 it under the terms of the GNU General Public License as published by
17213 the Free Software Foundation, either version 3 of the License, or
17214 (at your option) any later version.
17215
17216 GNU Emacs is distributed in the hope that it will be useful,
17217 but WITHOUT ANY WARRANTY; without even the implied warranty of
17218 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17219 GNU General Public License for more details.
17220
17221 You should have received a copy of the GNU General Public License
17222 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.