Use GCALIGNMENT where appropriate.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d5be7bd0
MB
12012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2
3 * language/persian.el: New file. (Bug#11812)
4 * loadup.el: Add language/persian.el.
5
90749b53
CY
62012-08-06 Chong Yidong <cyd@gnu.org>
7
8 * window.el (window--maybe-raise-frame): New function.
9 (window--display-buffer): Split off from here.
10 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11 (display-buffer-pop-up-window, display-buffer-use-some-window):
12 Obey an inhibit-switch-frame action alist entry.
13 (display-buffer): Update doc.
14
15 * replace.el (occur-after-change-function): Avoid losing focus by
16 using the inhibit-switch-frame display parameter (Bug#12139).
17
ba7b0154
FEG
182012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
19
20 Make internal shell process buffer names start with space.
21 * progmodes/python.el (python-shell-make-comint): Add optional
22 argument INTERNAL.
23 (run-python-internal): Use it.
24 (python-shell-internal-get-or-create-process): Check for new
25 internal buffer names.
26
5eaeacb5
GM
272012-08-06 Glenn Morris <rgm@gnu.org>
28
e296d94b 29 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
30 Do less getting and setting of environment variables.
31
b7ccbdc2
CY
322012-08-05 Chong Yidong <cyd@gnu.org>
33
777fe95e
CY
34 * proced.el (proced): Add substitution string to docstring to
35 trigger autoloading of the proced library on C-h f (Bug#1768).
36
b7ccbdc2
CY
37 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
38 show defvars which have no second argument (Bug#8638).
39
40 * imenu.el (imenu-generic-expression): Move documentation here
41 from imenu--generic-function.
42 (imenu--generic-function): Refer to imenu-generic-expression.
43
9e3b7800 442012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
45
46 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
47 indentation declaration.
48 (viper-loop): Add indentation declaration (Bug#7025).
49
e5d9c0d1
CY
502012-08-05 Chong Yidong <cyd@gnu.org>
51
f0422feb
CY
52 * help-fns.el (describe-variable): Add hyperlink for
53 directory-local variables files. Improve buffer-local and
54 permanent-local reporting; suggested by MON KEY (Bug#6644).
55
56 * help-mode.el (help-dir-local-var-def): New button type.
57
e5d9c0d1
CY
58 * files.el (kill-buffer-hook): Provide a defvar.
59
a4f2deaa
GM
602012-08-05 Glenn Morris <rgm@gnu.org>
61
62 * eshell/esh-ext.el (eshell/addpath):
63 Also update eshell-path-env. (Bug#12013)
64
a9dd5754
CY
652012-08-05 Chong Yidong <cyd@gnu.org>
66
a4f2deaa 67 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 68
d014c740
CY
69 * fringe.el (fringe-styles): Add docstring.
70 (fringe--check-mode): New function.
71 (set-fringe-mode, set-fringe-style): Use it.
72 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
73
a9dd5754
CY
74 * files.el (set-auto-mode): Fix invalid setq call.
75
7c2dc8bd
SM
762012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * isearch.el: Misc simplification; use defstruct.
79 (isearch-mode-map): Dense maps now work like sparse ones.
80 (isearch--state): New defstruct.
81 (isearch-string-state, isearch-message-state, isearch-point-state)
82 (isearch-success-state, isearch-forward-state)
83 (isearch-other-end-state, isearch-word-state, isearch-error-state)
84 (isearch-wrapped-state, isearch-barrier-state)
85 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
86 replaced by defstruct's accessors.
87 (isearch--set-state): Rename from isearch-top-state and change
88 calling convention.
89 (isearch-push-state): Use new isearch--get-state.
90 (isearch-toggle-word): Disable regexp when enabling word.
91 (isearch-message-prefix): Remove unused arg _c-q-hack.
92 (isearch-message-suffix): Remove unused arg _ellipsis.
93
7fcc0070
AS
942012-08-04 Andreas Schwab <schwab@linux-m68k.org>
95
96 * simple.el (list-processes--refresh): For a server use :host or
97 :local as the address.
97ad0769 98 (list-processes): Doc fix.
7fcc0070 99
00340faf
MN
1002012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
101
102 * lisp/mpc.el: Support password in host argument.
103 (mpc--proc-connect): Parse and use new password element.
104 Set mpc-proc variable instead of returning process.
105 (mpc-proc): Adjust accordingly.
106
6dad7178
EZ
1072012-08-03 Eli Zaretskii <eliz@gnu.org>
108
18949c2f
EZ
109 * whitespace.el (whitespace-display-mappings): Use Unicode
110 codepoints, instead of emacs-mule codepoints. See
111 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
112 for the details.
113
6dad7178
EZ
114 * files.el (file-truename): Don't skip symlink-chasing part on
115 windows-nt. Incorporate the resolution of 8+3 short aliases on
116 Windows into the loop that recursively chases symlinks. Compare
117 directory and its parent case-insensitively on MS-Windows and
118 MS-DOS.
119
385b0198
CY
1202012-08-03 Chong Yidong <cyd@gnu.org>
121
6200f3c4
CY
122 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
123
385b0198
CY
124 * sort.el (sort-regexp-fields): Doc fix.
125
b9e74744
TH
1262012-08-03 Tassilo Horn <tsdh@gnu.org>
127
128 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
129 labels regex position point at the expected place.
130
41013cb4
MK
1312012-08-03 MON KEY <monkey@sandpframing.com>
132
133 * net/imap.el (imap-interactive-login, imap-authenticate)
134 (imap-mailbox-lsub, imap-mailbox-list)
135 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
136 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
137 (imap-parse-response): Doc fix.
138
0ffee616
JT
1392012-08-03 João Távora <joaotavora@gmail.com>
140
141 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
142 if sexp scanning does not move point (Bug#5734).
143
cfcc9cc8
TH
1442012-08-02 Tassilo Horn <tsdh@gnu.org>
145
146 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
147 Add listings, minted, and ctable packages.
148 (reftex-label-alist-builtin): Move listings, minted, and ctable
149 entries before LaTeX.
a01bbb84 150 (reftex-label-alist): Docfix.
cfcc9cc8 151
66ec2442
BG
1522012-08-02 Bastien Guerry <bzg@gnu.org>
153
154 * replace.el (occur): Fix docstring (bug#12122).
155
837b365b
GM
1562012-08-02 Glenn Morris <rgm@gnu.org>
157
158 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
159
e098de97
PE
1602012-08-02 Paul Eggert <eggert@cs.ucla.edu>
161
162 Obsolete alias inactivate-current-input-method-function (Bug#10150).
163 * international/mule-cmds.el: Create
164 inactivate-current-input-method-function as an obsolete alias for
165 deactivate-current-input-method-function. See Katsumi Yamaoka in
166 <http://bugs.gnu.org/10150#46>.
167
a0f95636
JB
1682012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
169
170 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
171 of nested `if's.
172
0d26d7c4
GM
1732012-08-01 Glenn Morris <rgm@gnu.org>
174
175 * progmodes/autoconf.el (autoconf-definition-regexp):
176 Add AH_TEMPLATE, adjust submatch numbering.
177 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
178 (autoconf-current-defun-function): Update for above change.
179 (autoconf-current-defun-function): First skip to end of current word.
180
b686ba06
RS
1812012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
182
183 * calendar/cal-html.el (cal-html-insert-agenda-days):
184 Fix typo. (Bug#12018)
185
0d49da68
FEG
1862012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
187
188 Shell processes: enhancements to startup and CEDET compatibility.
189 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
190 (python-shell-make-comint): accept-process-output at startup.
191 (run-python-internal): Set inferior-python-mode-hook to nil.
192 (python-shell-internal-get-or-create-process): call sit-for.
193 (python-preoutput-result): Add obsolete alias.
194 (python-shell-internal-send-string): Use it.
195 (python-shell-send-setup-code): Remove call to
196 accept-process-output.
197
f1a71c6e
AS
1982012-07-31 Andreas Schwab <schwab@linux-m68k.org>
199
200 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
201 (Bug#12108)
202
d2605269
JB
2032012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
204
205 * calc-mode.el (calc-basic-simplification-mode): Rename from
206 `calc-limited-simplification-mode'.
207 (calc-alg-simplification-mode): New function.
d66060f8 208 (calc-set-simplify-mode): Adjust message.
f1a71c6e 209
d2605269
JB
210 * calc.el (calc-set-mode-line): Adjust mode line display for
211 basic simplification mode.
212
213 * calc-help.el (calc-m-prefix-help): Update help message.
214
215 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
216 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
217
a3827a43
BG
2182012-07-31 Bastien Guerry <bzg@gnu.org>
219
220 * man.el (man): Fix comment. (bug#12101)
221
502e3f89
MR
2222012-07-31 Martin Rudalics <rudalics@gmx.at>
223
224 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
225 Don't return a non-nil value when no suitable buffer was found.
226
d7714961
FEG
2272012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
228
229 * progmodes/python.el (run-python-internal): Disable font lock for
230 internal shells.
231
1f45e27e
SM
2322012-07-30 Stefan Merten <smerten@oekonux.de>
233
234 * rst.el: Silence `checkdoc-ispell'.
235 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
236 (rst-official-version, rst-official-cvs-rev)
237 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
238 (rst-mode-map): New key binding.
239
0aee6912
PE
2402012-07-30 Paul Eggert <eggert@cs.ucla.edu>
241
242 Update .PHONY listings in makefiles.
243 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
244 autoloads, update-subdirs, updates, bzr-update, update-authors,
245 compile-onefile, compile-calc, backup-compiled-files,
246 compile-after-backup, compile-one-process, mh-autoloads,
247 bootstrap-clean, distclean, maintainer-clean.
248
9052f9f0
JB
2492012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
250
1823ac5a
JB
251 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
252 (calc-set-mode-line): Don't display "AlgSimp ".
253
254 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
255 (calc-lim-simplify-mode): New function.
256 (calc-set-simplify-mode): Default to 'alg.
257 (calc-default-simplify-mode): Make algebraic simplifications
258 the default.
259
260 * calc/calc-ext.el (calc-init-extensions): Remove binding for
261 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
262
8d7c7eed 263 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
264 indicate new simplification modes.
265
1823ac5a
JB
266 * calc/README: Mention new default simplification mode.
267
9052f9f0
JB
268 * calc/calc.el (math-normalize-error): New variable.
269 (math-normalize): Set `math-normalize-error' to t
270 when there's an error.
271
272 * calc/calc-alg.el (math-simplify): Don't simplify when
273 `math-normalize' returns an error.
274
20ba0cb4
EZ
2752012-07-29 Eli Zaretskii <eliz@gnu.org>
276
277 * international/mule-cmds.el (set-locale-environment): Revert last
278 change, since display-graphic-p returns nil when this function is
279 called during startup. Instead...
280
281 * term/w32console.el (terminal-init-w32console): ...setup the
282 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
283
a5dcc929
JL
2842012-07-29 Juri Linkov <juri@jurta.org>
285
286 * simple.el (goto-line): Don't display default line number in the
287 prompt because it should be displayed by `read-number' (bug#9952).
288 Add the current line number to the defaults of `goto-line' to
289 allow its easier modification by users with `M-n' (bug#9201).
290
291 * subr.el (read-number): Support multiple default values like in
292 other minibuffer reading functions. Replace `read' with
293 `string-to-number' for consistency with `number-to-string'.
294
72b255c7
PE
2952012-07-29 Paul Eggert <eggert@cs.ucla.edu>
296
297 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
298 * emulation/viper-init.el (viper-deactivate-input-method-action):
299 Rename from viper-inactivate-input-method-action.
300 (viper-deactivate-input-method):
301 Rename from viper-inactivate-input-method.
302 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
303 * international/mule-cmds.el (deactivate-input-method):
304 Rename from inactivate-input-method.
305 Also run input-method-deactivate-hook.
306 (deactivate-current-input-method-function):
307 Rename from inactivate-current-input-method-function.
308 (input-method-deactivate-hook): New hook.
309 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
310 (inactivate-input-method): Mark obsolete.
311
72b255c7
PE
312 * international/quail.el (quail-activate):
313 Also run quail-deactivate-hook.
314 (quail-deactivate): Rename from quail-inactivate.
315 * international/robin.el (robin-activate):
316 Also run robin-deactivate-hook.
317 (robin-deactivate): Rename from robin-inactivate.
318
2549c068
CY
3192012-07-29 Chong Yidong <cyd@gnu.org>
320
321 * simple.el (indicate-copied-region): New function.
322 (kill-ring-save): Split off from here.
323
324 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
325 (kill-rectangle): Set deactivate-mark to t on read-only error.
326
327 * register.el (copy-to-register, copy-rectangle-to-register):
328 Deactivate the mark, and use indicate-copied-region (Bug#10056).
329 (append-to-register, prepend-to-register): Call
330
17711ed9
JL
3312012-07-29 Juri Linkov <juri@jurta.org>
332
333 * simple.el (async-shell-command-buffer): New defcustom.
334 (shell-command): Use it. (Bug#4719)
335
01bd1b0d
EZ
3362012-07-28 Eli Zaretskii <eliz@gnu.org>
337
338 * international/mule-cmds.el (set-locale-environment): In a
339 console session on MS-Windows, set up keyboard and terminal
340 encoding from the OEM codepage, not the ANSI codepage.
341 (Bug#12055)
342
a55739d3
CY
3432012-07-28 Chong Yidong <cyd@gnu.org>
344
345 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
346 gdb-get-location.
347
9a0f8f2e
LL
3482012-07-25 Leo Liu <sdl.web@gmail.com>
349
350 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
351 the alist (bug#12029).
352
20329d73
EZ
3532012-07-28 Eli Zaretskii <eliz@gnu.org>
354
355 * makefile.w32-in (custom-deps, finder-data, updates, compile)
356 (compile-always, compile-first)
357 ($(lisp)/calendar/cal-loaddefs.el)
358 ($(lisp)/calendar/diary-loaddefs.el)
359 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
360 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
361 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
362 instead of on update-subdirs.
363 (bootstrap-clean): Delete $(lisp)/subdirs.el.
364
345a2258
CY
3652012-07-28 Chong Yidong <cyd@gnu.org>
366
1eee6341
CY
367 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
368 directory if vc-deduce-backend returns nil (Bug#7350).
369
345a2258
CY
370 * simple.el (delete-trailing-lines): New option.
371 (delete-trailing-whitespace): Obey it (Bug#11879).
372
049a0936
DE
3732012-07-28 David Engster <deng@randomsample.de>
374
375 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
376 Explanation of new 'symbol-qnames feature in doc-strings.
377 (xml-maybe-do-ns): Return expanded names as plain symbols if
378 'symbol-qnames was provided in XML-NS argument (Bug#11916).
379 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
380
aa81af71
FEG
3812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
382
383 Consistent completion in inferior python with emacs -nw.
384 * progmodes/python.el (inferior-python-mode): replace "<tab>"
385 binding in inferior-python-mode-map with "\t".
386 (python-shell-completion-complete-at-point)
387 (python-completion-complete-at-point): Remove interactive spec.
388
e827b1eb
JB
3892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
390
391 * calc/calccomp.el (math-compose-expr): Undo previous change.
392
a90dfb95
FEG
3932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
394
395 * progmodes/python.el (python-mode-map): Added keybinding for
396 run-python.
397 (python-shell-make-comint): Fix pop-to-buffer call.
398 (run-python): Autoload. New arg SHOW.
399 (python-shell-get-or-create-process): Do not pop python process
400 buffer.
401
32770973 4022012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
403
404 * notifications.el (notifications-on-action-signal)
405 (notifications-on-closed-signal): Use also the bus address for the map.
406 (notifications-notify, notifications-close-notification)
407 (notifications-get-capabilities): Add optional argument BUS.
408
86332df2
TH
4092012-07-27 Tassilo Horn <tsdh@gnu.org>
410
411 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
412 support for the lstlisting and minted environments, and for the
413 ctable macro.
414 * textmodes/reftex.el (reftex-compile-variables): Also recognize
415 labels written in keyvals syntax.
416
ca1302a4
JB
4172012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
418
419 * calc/calccomp.el (math-compose-expr): Use parentheses when
420 there is a product in the denominator of a fraction.
421
f8b91036
EZ
4222012-07-26 Eli Zaretskii <eliz@gnu.org>
423
424 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
425 ($(lisp)/calendar/diary-loaddefs.el)
426 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
427 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
428 failures in parallel bootstrap because subdirs.el is being
429 rewritten while the autoload files are built at the same time,
430 which needs to load subdirs.el.
431
c8e5a42c
MR
4322012-07-26 Martin Rudalics <rudalics@gmx.at>
433
434 * mouse.el (popup-menu): Fix doc-string and re-indent code.
435 (mouse-drag-line): Don't exit tracking when a switch-frame or
436 switch-window event occurs (Bug#12006).
437
670d85ea
SM
4382012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * mouse.el (popup-menu): Fix last change.
441
7abaf5cc
SM
4422012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 Autoload from Lisp with more care. Follow aliases when looking for
445 function properties.
446 * subr.el (autoloadp): New function.
447 (symbol-file): Use it.
448 (function-get): New function.
449 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
450 autoload-do-load.
451 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
452 (lisp-indent-function):
453 * emacs-lisp/gv.el (gv-get):
454 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
455 * emacs-lisp/byte-opt.el (byte-optimize-form):
456 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
457 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
458 Use function-get.
459 * emacs-lisp/cl.el: Don't propagate function properties any more.
460
461 * speedbar.el (speedbar-add-localized-speedbar-support):
462 * emacs-lisp/disass.el (disassemble-internal):
463 * desktop.el (desktop-load-file):
464 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
465 (describe-function-1):
466 * emacs-lisp/find-func.el (find-function-noselect):
467 * emacs-lisp/elp.el (elp-instrument-function):
468 * emacs-lisp/advice.el (ad-has-proper-definition):
469 * apropos.el (apropos-safe-documentation, apropos-macrop):
470 * emacs-lisp/debug.el (debug-on-entry):
471 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
472 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
473 * calc/calc.el (name): Use autoloadp & autoload-do-load.
474
b1364986
AA
4752012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
476
477 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
478 function, not an obsolete variable (Bug#12046).
479
67ada220
AS
4802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
481
482 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
483
f08088e3
CS
4842012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
485
486 * emacs-lisp/pp.el (pp-display-expression): Select old selected
487 window only if it is still live (Bug#12034).
488
8137e7b3
MR
4892012-07-25 Martin Rudalics <rudalics@gmx.at>
490
491 * subr.el (redirect-frame-focus): Add advertised calling
492 convention (Bug#12030).
493
09ae5da1
PE
4942012-07-25 Paul Eggert <eggert@cs.ucla.edu>
495
496 Prefer typical American spelling for "acknowledgment".
497 * vc/add-log.el (change-log-acknowledgment): Rename from
498 change-log-acknowledgement, with an alias for the old name.
499
3cc5a3a8
JB
5002012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
501
502 * calc-alg.el (math-simplify-divide): Don't cross multiply
503 in an equation when the lhs is a variable.
504
b7af7f62
JD
5052012-07-24 Julien Danjou <julien@danjou.info>
506
507 * net/netrc.el (netrc-find-service-number, netrc-store-data):
508 Remove, unused.
509
ec1b09b1
EZ
5102012-07-23 Eli Zaretskii <eliz@gnu.org>
511
512 * startup.el (command-line): Don't display an empty user name in
513 the error message about non-existent home directory, when
514 init-file-user was set to an empty string. See
515 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
516 for the details and context.
517
b525fd8a
VB
5182012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
519
520 * ses.el (ses-cell-formula-aset): New macro.
521 (ses-cell-references-aset): New macro.
522 (ses-cell-p): New function.
523 (ses-rename-cell): Do no longer rely on complex operations like
524 ses-cell-set-formula or ses-set-cell to change the cell and handle
525 the undo at the same time, but rather use lower level new macros
526 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
527 the undo directly. Refresh the mode line.
528
2c73e345
LL
5292012-07-21 Leo Liu <sdl.web@gmail.com>
530
670d85ea
SM
531 * progmodes/cc-cmds.el (c-defun-name):
532 Use match-string-no-properties instead for consistency.
2c73e345 533
542dfbde
LL
5342012-07-20 Leo Liu <sdl.web@gmail.com>
535
3646bcd6
LL
536 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
537 (Bug#7879)
538
542dfbde
LL
539 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
540
25721031
CY
5412012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
544 * progmodes/bug-reference.el, misearch.el: Provide themselves
545 (bug#11915).
546
547 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
548 of narrowed buffer (bug#11966).
549
316e68a7
VB
5502012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
551
552 * ses.el (ses-rename-cell): Set new name also in reference list of
553 cells of which the renamed cell depends.
554
bbf0e7d9
MY
5552012-07-20 Masatake YAMATO <yamato@redhat.com>
556
557 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
558 to check whether menu-bar is shown or not. If not shown,
559 show the menu-bar as a popup menu instead of using tmm.
560 * mouse.el (popup-menu): Accept `point' as `position' argument.
561
c28662a8
DG
5622012-07-20 Dmitry Gutov <dgutov@yandex.ru>
563
564 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
565 up inside string symbol literal (bug#11923).
566
87ab808f
EZ
5672012-07-20 Eli Zaretskii <eliz@gnu.org>
568
569 * startup.el (fancy-startup-text): Read the whole tutorial, not
570 just its first 256 bytes. Prevents gibberish in display of the
571 tutorial title.
572
89dea803
DA
5732012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
574
575 Drop idle buffer compaction due to an absence of the
576 proved efficiency.
577 * compact.el: Remove.
578
8a4e6db8
SS
5792012-07-19 Sam Steingold <sds@gnu.org>
580
581 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
582 vc-bzr-pull & vc-bzr-merge-branch.
583 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
584 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
585 for consistency with compilation-error-regexp-alist.
586 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
587 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
588 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
589 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
590
5db81e33
SM
5912012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/chart.el: Use lexical-binding.
594 (chart-emacs-storage): Don't hardcode the list of entries.
595
5b835e1d
DA
5962012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
597
598 Next round of tweaks caused by Fgarbage_collect changes.
599 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
600
9cd47b72
DA
6012012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
602
603 Compact buffers when idle.
604 * compact.el: New file.
605
1d6fc0df
SM
6062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * subr.el (eventp): Presume that if it looks vaguely like an event,
609 it's an event (bug#10190).
610
1d29cc7d
FEG
6112012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
612
613 Enhancements to ppss related code (thanks Stefan).
614 * progmodes/python.el (python-indent-context)
615 (python-indent-calculate-indentation, python-indent-dedent-line)
616 (python-indent-electric-colon, python-nav-forward-block)
617 (python-mode-abbrev-table)
1d6fc0df 618 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
619 for ppss context.
620 (python-info-continuation-line-p): Cleanup.
621 (python-info-ppss-context): Do not catch 'quote.
622 (python-info-ppss-context-type)
623 (python-info-ppss-comment-or-string-p): Simplify.
624
d583cbe6
FEG
6252012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
626
627 * progmodes/python.el: Enhancements to eldoc support.
628 (python-info-current-symbol): New function.
629 (python-eldoc-at-point): Use python-info-current-symbol.
630 (python-info-current-defun): Fix cornercase on first defun scan.
631 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
632 and signal error when no inferior python process is available.
633
eceb6feb
DG
6342012-07-18 Dmitry Gutov <dgutov@yandex.ru>
635
636 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
637 assume it's always t.
638 (vc-git-registered): Remove caching, the function is only called
639 once.
640 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
641
4c8ff0fe
CY
6422012-07-18 Chong Yidong <cyd@gnu.org>
643
19fb7186
CY
644 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
645
9587c688
CY
646 * simple.el (count-words): Report on narrowing (Bug#9959).
647
0fe776a1
CY
648 * bindings.el: Bind M-= to count-words.
649
4c8ff0fe
CY
650 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
651
7f5331cc
MY
6522012-07-18 Masatake YAMATO <yamato@redhat.com>
653
654 * progmodes/sh-script.el (sh-imenu-generic-expression):
655 Capture a function with `function' keyword and without parentheses
656 like "function FOO" (bug#11856).
657
2dc2a609
TH
6582012-07-18 Tassilo Horn <tassilo@member.fsf.org>
659
660 * window.el (split-window-sensibly): Make WINDOW argument
661 optional.
662
439f7677
CY
6632012-07-18 Chong Yidong <cyd@gnu.org>
664
9aeb25a6
CY
665 * subr.el (keyboard-translate): Doc fix (Bug#7261).
666
439f7677
CY
667 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
668 and make C-x 8 RET exit isearch (Bug#11439).
669
670 * international/iso-transl.el: Move isearch-mode-map key
671 definitions to isearch.el.
672
12999ea8
SM
6732012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
676 (eieio-defclass): Use gv-define-setter when possible.
677
3ab6e069
DA
6782012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
679
680 Reflect recent changes in Fgarbage_collect.
681 * emacs-lisp/chart.el (chart-emacs-storage): Change to
682 reflect new format of data returned by Fgarbage_collect.
683
0a60bc10
FEG
6842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
685
686 New utility functions + python-info-ppss-context fix (Bug#11910).
687 * progmodes/python.el (python-info-beginning-of-block-statement-p)
688 (python-info-ppss-comment-or-string-p): New functions.
689 (python-info-ppss-context): Small fix for string check.
690
6dafa0d5
JL
6912012-07-17 Juri Linkov <juri@jurta.org>
692
693 * dired-aux.el (dired-do-async-shell-command): Doc fix.
694 (dired-do-async-shell-command): Don't add `*' at the end of the
695 command (Bug#11815).
696 (dired-do-shell-command): Doc fix.
697 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
698 Join the individual commands using either "&" or ";" as the
699 separator depending on the values of these trailing characters.
700 At the end re-add the trailing "&". (Bug#10598)
701
702 * simple.el (async-shell-command): Sync the interactive spec with
703 `shell-command'. Doc fix.
704 (shell-command): Doc fix.
705
b19dd9d1
JL
7062012-07-17 Juri Linkov <juri@jurta.org>
707
708 * descr-text.el (describe-char): Fix format args. (Bug#10129)
709
bcdc27d7 7102012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 711
bcdc27d7 712 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
713 * progmodes/python.el (python-nav-beginning-of-statement):
714 Rename from python-nav-statement-start.
bcdc27d7
FEG
715 (python-nav-end-of-statement): Rename from
716 python-nav-statement-end.
717 (python-nav-beginning-of-block): Rename from
718 python-nav-block-start.
719 (python-nav-end-of-block): Rename from python-nav-block-end.
720
191da00e
FEG
7212012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
722
7f5331cc
MY
723 * progmodes/python.el (python-shell-send-string-no-output):
724 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
725 future interactions (Bug#11868).
726
4dc7c8d5 7272012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 728
88ecaf8f
SM
729 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
730
ef501ef0
SM
731 * emacs-lisp/elint.el (elint-find-args-in-code):
732 Use help-function-arglist, so as to handle lexical byte-code.
733
aa7aaf8f
SM
734 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
735 change (bug#11826).
736
45fd731c
SM
7372012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
738
2143fa32
SM
739 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
740 Avoid spuriously marking the buffer as modified because of c-is-sws.
741
efc26dbe
SM
742 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
743 as not-a-comment (bug#11946).
744
f5695c9a
SM
745 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
746 for uninterned vars.
747
748 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
749 Use read-event since we don't really want to read chars but bytes.
750
45fd731c
SM
751 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
752 $$..$$ but also $..$ using regexps (bug#11953).
753 Use tex-verbatim for \url and \path.
754 (tex-font-lock-keywords): Define as defconst like the others.
755 (tex-common-initialization): Don't use font-lock-syntax-table any more.
756
ddfc8813
RK
7572012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
758
759 * international/mule-cmds.el (ucs-insert): Make it an obsolete
760 alias for insert-char.
761
758e556a
FEG
7622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
763
764 * progmodes/python.el: Simplified imenu implementation.
765 (python-nav-jump-to-defun): Remove command.
766 (python-mode-map): Use `imenu' instead.
767 (python-nav-list-defun-positions-cache)
768 (python-imenu-include-defun-type, python-imenu-make-tree)
769 (python-imenu-subtree-root-label, python-imenu-index-alist):
770 Remove vars.
771 (python-nav-list-defun-positions, python-nav-read-defun)
772 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
773 (python-imenu-make-tree, python-imenu-create-index):
774 Remove functions.
758e556a
FEG
775 (python-mode): Update to interact with imenu by setting
776 `imenu-extract-index-name-function' only.
777
032d23ab
FEG
7782012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
779
780 * progmodes/python.el: Enhancements to navigation commands.
781 (python-nav-backward-sentence)
782 (python-nav-forward-sentence): Remove.
783 (python-nav-backward-statement, python-nav-forward-statement)
784 (python-nav-statement-start, python-nav-statement-end)
785 (python-nav-backward-block, python-nav-forward-block)
786 (python-nav-block-start, python-nav-block-end)
787 (python-nav-forward-sexp-function)
788 (python-info-current-line-comment-p)
789 (python-info-current-line-empty-p): New functions.
790 (python-indent-context): Use `python-nav-statement-start'.
791
01795a1b
MA
7922012-07-16 Michael Albinus <michael.albinus@gmx.de>
793
9328d9aa
MA
794 * eshell/em-ls.el (eshell/ls): Use `apply'.
795
796 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
797 multi-hops, instead of Tramp internals.
798
01795a1b
MA
799 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
800
801 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
802 when F1 and F2 are located on different hosts.
803
63408057
CY
8042012-07-14 Chong Yidong <cyd@gnu.org>
805
806 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
807 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
808 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
809 (xterm-mouse--read-event-sequence-1000)
810 (xterm-mouse--read-event-sequence-1006): New functions. For old
811 mouse protocol, handle M-mouse-X events correctly.
812 (xterm-mouse-event): New arg specifying mouse protocol.
813 (turn-on-xterm-mouse-tracking-on-terminal)
814 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
815 sequence to toggle extended coordinates on newer XTerms.
816 This appears to be harmless on terminals which do not support this.
63408057 817
cd276f6e
LL
8182012-07-14 Leo Liu <sdl.web@gmail.com>
819
28ca98ac
LL
820 Add fringe bitmap indicators for flymake. (Bug#11253)
821 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
822 (flymake-make-overlay): New arg BITMAP.
823 (flymake-error-bitmap, flymake-warning-bitmap)
824 (flymake-fringe-indicator-position): New user variables.
825
cd276f6e
LL
826 * fringe.el: New bitmap exclamation-mark.
827
04408072
JD
8282012-07-14 Jan Djärv <jan.h.d@swipnet.se>
829
830 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
831 also (Bug#7879).
832
b5cf7fc4
CY
8332012-07-14 Chong Yidong <cyd@gnu.org>
834
835 * electric.el (electric-pair-post-self-insert-function): Fix pair
836 insertion in empty-region case (Bug#11520).
837
be755c79
RT
8382012-07-14 Chong Yidong <cyd@gnu.org>
839
45fd731c
SM
840 * bindings.el: Consolidate ctl-x-r-map bindings.
841 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
842
843 * rect.el, register.el: Move bindings to bindings.el.
844
8452012-07-14 Reuben Thomas <rrt@sc3d.org>
846
847 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
848
7f5b3198
AS
8492012-07-13 Andreas Schwab <schwab@linux-m68k.org>
850
851 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
852
97662200
JB
8532012-07-13 Juanma Barranquero <lekktu@gmail.com>
854
80185fed
JB
855 * bindings.el (top): Use `mapc' instead of `mapcar'.
856
97662200
JB
857 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
858
2bb1ae55
MA
8592012-07-13 Michael Albinus <michael.albinus@gmx.de>
860
861 * progmodes/sql.el (sql-comint): Suppress the check for program on
862 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
863 (Bug#11908)
864
dea31bd3
CY
8652012-07-13 Chong Yidong <cyd@gnu.org>
866
867 * bindings.el: Assign a non-nil permanent-local property to
868 per-buffer variables which lack a default value (Bug#11930).
869
870 * help-fns.el (describe-variable): In the "automatically becomes
871 local" notice, take note of permanent-local variables.
872
b68b3337
CY
8732012-07-13 Chong Yidong <cyd@gnu.org>
874
875 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
876 to allow printing the message when called from Lisp.
877
878 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
879 Remove toggle-read-only.
880
881 * bs.el (bs-toggle-readonly):
45fd731c
SM
882 * buff-menu.el (Buffer-menu-toggle-read-only):
883 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
884
885 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
886 Remove with-no-warnings around toggle-read-only.
887 (ffap-read-only, ffap-read-only-other-window)
888 (ffap-read-only-other-frame): Callers changed.
889
890 * help-mode.el: Don't require view package.
891 (help-mode-finish): Set buffer-read-only instead of calling
892 toggle-read-only.
893
894 * bindings.el (mode-line-toggle-read-only):
895 * dired.el (dired-toggle-read-only):
896 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
897 with non-nil second arg.
898
899 * emacs-lisp/eieio-custom.el (eieio-customize-object):
900 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
901 directly.
902
56bc1586
EZ
9032012-07-12 Eli Zaretskii <eliz@gnu.org>
904
905 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
906 not incf.
907
a464a6c7
SM
9082012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 More CL cleanups and reduction of use of cl.el.
911 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
912 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
913 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
914 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
915 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
916 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
917 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
918 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
919 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
920 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
921 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
922 * eshell/em-cmpl.el, eshell/em-banner.el:
923 * calendar/parse-time.el: Use cl-lib.
924 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
925 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
926 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
927 * term/ns-win.el, term.el, shell.el, ps-samp.el:
928 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
929 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
930 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
931 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
932 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
933 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
934 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
935 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
936 `lambda' rather than with `quote'.
937 (eshell-do-opt): Adjust accordingly.
938 (eshell-process-option): Simplify.
939 * eshell/esh-var.el:
940 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
941 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
942 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
943 to `pcase--dontcare'.
944 * emacs-lisp/cl.el (labels): Mark obsolete.
945 (cl--letf, letf): Move to cl-lib.
946 (cl--letf*, letf*): Remove.
947 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
948 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
949 (cl-progv): Rewrite.
950 (cl--letf, cl-letf): Move from cl.el.
951 (cl-letf*): New macro.
952 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
953
7ad4afe1
MA
9542012-07-11 Michael Albinus <michael.albinus@gmx.de>
955
956 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
957
9af57756
CY
9582012-07-11 Chong Yidong <cyd@gnu.org>
959
960 * vc/log-edit.el (log-edit-vc-backend): New variable.
961 (log-edit): Doc fix.
962
963 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
964 argument of log-edit to set up all local variables.
965 (vc-start-logentry): New optional arg specifying VC backend.
966
967 * vc/vc.el (vc-checkin): Use it.
968 (vc-deduce-fileset): Handle Log Edit buffers.
969 (vc-diff): Make first argument optional too.
970
971 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
972
8477cc7a
MA
9732012-07-10 Michael Albinus <michael.albinus@gmx.de>
974
975 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
976 command, just in case. The function is not needed anymore.
977 (eshell-external-command): Do not call `eshell-remote-command'.
978
19faa8e8
SM
9792012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
980
f58e0fd5
SM
981 Reduce use of (require 'cl).
982 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
983 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
984 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
985 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
986 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
987 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
988 * battery.el, avoid.el, abbrev.el: Use cl-lib.
989 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
990 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
991 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
992 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
993 * calculator.el, autorevert.el, apropos.el: Don't require CL.
994 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
995 (byte-compile-unfold-bcf, byte-compile-check-variable):
996 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
997 (byte-compile-nilconstp):
998 * emacs-lisp/autoload.el (make-autoload): Use pcase.
999 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1000
2519d43a
SM
1001 * emacs-lisp/gv.el (cond): Make it a valid place.
1002 (if): Simplify slightly.
1003
19faa8e8
SM
1004 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1005 (pcase--self-quoting-p): New function.
1006 (pcase--u1): Use it.
1007
c4907a5e
GM
10082012-07-10 Glenn Morris <rgm@gnu.org>
1009
1010 * emacs-lisp/authors.el (authors-fixed-entries):
1011 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1012
c4444d16
PE
10132012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1014
1015 Rename configure.in to configure.ac (Bug#11603).
1016 * emacs-lisp/authors.el (authors-canonical-file-name):
1017 * progmodes/autoconf.el (autoconf-mode):
1018 Prefer configure.ac to configure.in.
1019
d75be97d
CY
10202012-07-08 Chong Yidong <cyd@gnu.org>
1021
01ac65bd
CY
1022 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1023 Implement the mouse-1-click-follows-link handling properly.
1024
1025 * info.el (Info-link-keymap): Use follow-link mechanism for
1026 header-line links (Bug#374).
1027
d75be97d
CY
1028 * simple.el (deactivate-mark): Do not set the primary selection
1029 if another program has acquired it (Bug#11772).
1030
87a92845 10312012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1032
1033 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1034 (woman-decode-region): Replace escaped-escapes without destroying
1035 bold or underline (Bug#11552).
87a92845 1036 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1037
621b9d6c
CY
10382012-07-07 Chong Yidong <cyd@gnu.org>
1039
1040 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1041 (interprogram-cut-function, interprogram-paste-function):
1042 Mention that we typically mean the clipboard.
621b9d6c 1043
133a11fc
GM
10442012-07-06 Glenn Morris <rgm@gnu.org>
1045
0d27a45e
GM
1046 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1047
133a11fc
GM
1048 * files.el (toggle-read-only): Restrict message to interactive use.
1049
07b151f1
MA
10502012-07-06 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1053
1054 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1055
211b896b
GM
10562012-07-06 Glenn Morris <rgm@gnu.org>
1057
50394322
GM
1058 * Makefile.in (compile-one-process): Rename from "recompile".
1059
211b896b
GM
1060 * Makefile.in (bzr-update): "compile" is the same as "recompile
1061 autoloads", but parallelizable, so use that instead.
1062
4737eec9
DG
10632012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1064
1065 * window.el (quit-window): Always restore window height when
8137e7b3 1066 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1067
226c3633 10682012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1069
1070 * simple.el (kill-whole-line): Doc tweak.
1071
226c3633 10722012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1073
1074 * files.el (file-relative-name): Compare file names
1075 case-insensitively if on MS-Windows or MS-DOS, or if
1076 read-file-name-completion-ignore-case is non-nil. Don't use
1077 case-fold-search for this purpose. (Bug#11827)
1078
4dc7c8d5
SM
10792012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1080
1081 * calendar/cal-dst.el (calendar-current-time-zone):
1082 Return calendar-current-time-zone-cache if non-nil.
1083
10842012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 10852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1086
19faa8e8
SM
1087 * calendar/cal-dst.el (calendar-current-time-zone):
1088 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1089
60198fc9
GM
10902012-07-06 Glenn Morris <rgm@gnu.org>
1091
1092 * Makefile.in (cvs-update): Remove old alias.
1093
957b3189
MA
10942012-07-05 Michael Albinus <michael.albinus@gmx.de>
1095
1096 Sync with Tramp 2.2.6-pre.
1097
1098 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1099 compatible declaration.
1100
19faa8e8
SM
1101 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1102 Protect `list-load-path-shadows' call.
957b3189
MA
1103
1104 * net/tramp-compat.el (top): Require packages, which aren't
1105 autoloaded anymore for XEmacs. Protect call of
1106 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1107 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1108 it hurts at least for SXEmacs.
1109 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1110 standard-value for `temporary-file-directory'.
1111
1112 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1113 Redirect stderr to /dev/null.
1114 (tramp-sh-handle-write-region): uid and gid can be floats.
1115 Reported by Russell Sim <russell.sim@gmail.com>.
1116 (tramp-sh-handle-vc-registered): Hide errors.
1117 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1118 and `start-file-process'.
1119 (tramp-maybe-open-connection): Check also whether `non-essential'
1120 is bound.
1121
566df3fc
CY
11222012-07-04 Chong Yidong <cyd@gnu.org>
1123
1124 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1125 (xml-parse-tag): Likewise, and avoid changing entity tables.
1126 (xml-syntax-table): Define from scratch, making sure not to give
1127 x2000 and other Unicode spaces whitespace syntax, since those are
1128 not spaces in XML.
1129 (xml-parse-fragment): Delete unused function.
1130 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1131 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1132 (xml-entity-ref, xml-pe-reference-re)
1133 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1134 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1135 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1136 (xml-entity-value-re): Use syntax references in regexps where
1137 possible; no need to define inside a let-binding.
1138 (xml-parse-dtd): Use xml-pe-reference-re.
1139 (xml-entity-or-char-ref-re): New defconst.
1140 (xml-parse-string, xml-substitute-special): Use it.
1141
30eabd7a
SM
11422012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1143
0781098a
SM
1144 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1145 (find-file--read-only): New function.
1146 (find-file-read-only, find-file-read-only-other-window)
1147 (find-file-read-only-other-frame): Use it.
1148 (insert-file-contents-literally): Don't `fset'.
1149 (get-free-disk-space): Use locate-dominating-file.
1150
b5771c0d
SM
1151 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1152 function is already compiled.
1153
30eabd7a
SM
1154 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1155
b4886f6e
MA
11562012-07-03 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1159 files on the same host.
1160
b9d82339
AS
11612012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1162
1163 * help-fns.el (describe-function-1): Only call
1164 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1165
a76e6535
CY
11662012-07-03 Chong Yidong <cyd@gnu.org>
1167
1168 * xml.el: Protect parser against XML bombs.
1169 (xml-entity-expansion-limit): New variable.
1170 (xml-parse-string, xml-substitute-special): Use it.
1171 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1172
b544fef2
GM
11732012-07-03 Glenn Morris <rgm@gnu.org>
1174
1175 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1176 Allow linking to specific messages in debbugs reports (eg 123#5).
1177
a7aef6f5
CY
11782012-07-02 Chong Yidong <cyd@gnu.org>
1179
1180 * xml.el: Fix entity and character reference expansion, allowing
1181 them to expand into markup as per XML spec.
1182 (xml-default-ns): New variable.
1183 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1184 (xml-parse-region): Make first two arguments optional.
1185 Discard text properties.
1186 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1187 All callers changed.
a7aef6f5
CY
1188 (xml-parse-tag): Call xml-parse-tag-1. For backward
1189 compatibility, this function should not modify buffer contents.
1190 (xml-parse-tag-1): Fix opening-tag regexp.
1191 (xml-parse-string): Rewrite, handling entity and character
1192 references properly.
1193 (xml--entity-replacement-text): Signal an error if a parameter
1194 entity is undefined.
1195
3df31c9f
SM
11962012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1197
2b5208f1
SM
1198 * comint.el (comint-output-filter): Filter out repeated prompts.
1199
3df31c9f
SM
1200 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1201 and file-name-absolute-p.
1202 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1203 internal calls.
1204
e3ac1281
PE
12052012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1206
1207 Spelling fixes.
1208 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1209 Rename from byte-compile--refiy-function. All uses changed.
1210
fbf2e7ad
CY
12112012-07-01 Chong Yidong <cyd@gnu.org>
1212
1213 * xml.el (xml--parse-buffer): New function. Move most of
1214 xml-parse-region here.
1215 (xml-parse-region): Copy region into a temporary buffer, since
1216 parameter entity substitution requires changing buffer contents.
1217 Use xml--parse-buffer.
1218 (xml-parse-file): Use xml--parse-buffer.
1219 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1220 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1221
9bf0aa15
GM
12222012-06-30 Glenn Morris <rgm@gnu.org>
1223
bbce2853
GM
1224 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1225
9bf0aa15
GM
1226 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1227 Remove outdated and unnecessary dbus declarations.
1228
0d23c240
EZ
12292012-06-30 Eli Zaretskii <eliz@gnu.org>
1230
1231 * emacs-lisp/timer.el (timer-until): Subtract results of
1232 float-time, instead of taking float-time of the result of
1233 time-subtract, since float-time signals an error for negative time
1234 arguments.
1235
b3218de1
CY
12362012-06-30 Chong Yidong <cyd@gnu.org>
1237
1238 * xml.el (xml-*-re): Convert defvars into defconsts, and
1239 eval-and-compile them so eval-and-compile works on derivatives.
1240 (xml--entity-replacement-text): Use eval-and-comple.
1241
a40c87a0
MA
12422012-06-30 Michael Albinus <michael.albinus@gmx.de>
1243
1244 * vc/vc-git.el (vc-git-registered): Use cache property
1245 `git-registered'.
1246 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1247 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1248 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1249
ac87de97
DG
12502012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1251
1252 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1253 removed (likely outside Emacs). (Bug#11757)
ac87de97 1254
ac10fe06
SM
12552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1256
3df31c9f 1257 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1258
7f3fbd5d
CY
12592012-06-30 Chong Yidong <cyd@gnu.org>
1260
1261 * xml.el: Implement XML parameter entities.
1262 (xml-parameter-entity-alist): New variable.
1263 (xml-parse-region, xml-parse-fragment): Preserve previous values
1264 of xml-entity-alist and xml-parameter-entity-alist, so that
1265 repeated calls on different documents do not change them.
1266 (xml-parse-tag): Fix doctype regexp.
1267 (xml--entity-replacement-text): New function.
1268 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1269 properly requires url retrieval which is unimplemented.
1270 (xml-escape-string): Doc fix.
1271
3cfbebba
SM
12722012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1275
2af3565e
DA
12762012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1277
1278 * fringe.el (fringe-mode): Doc fix.
1279
929df0e7
MA
12802012-06-29 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1283 is non-nil.
1284 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1285 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1286
c8d3a25c 12872012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1288
c8d3a25c
GM
1289 * calendar/cal-dst.el (calendar-current-time-zone):
1290 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1291
c8d3a25c 12922012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1293
1294 * progmodes/which-func.el (which-func-format):
1295 Add mouse-face. (Bug#11698)
1296
c8d3a25c
GM
12972012-06-29 Leo Liu <sdl.web@gmail.com>
1298
1299 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1300
13012012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * minibuffer.el (minibuffer-confirm-exit-commands):
1304 Add completion-at-point (bug#11725).
1305
13062012-06-29 Glenn Morris <rgm@gnu.org>
1307
1308 * progmodes/f90.el (f90-font-lock-keywords-2):
1309 Add some preprocessor elements. (Bug#10499)
1310
13112012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1314 Use syntax-propertize (bug#11739).
1315
2badeec4
JB
13162012-06-28 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1319
ae4969c2
JD
13202012-06-28 Julien Danjou <julien@danjou.info>
1321
1322 * term.el (term-handle-colors-array): Use a set of new faces to
1323 color the terminal. Also uses :inverse-video property.
1324 (term-default-fg-color): Set to nil by default, deprecate in favor
1325 of `term-face'.
1326 (term-default-bg-color): Set to nil by default, deprecate in favor
1327 of `term-face'.
1328 (term-current-face): Use `term-face' by default.
1329 (term-bold-attribute): Variable deleted.
1330
1c9bd870
GM
13312012-06-28 Glenn Morris <rgm@gnu.org>
1332
1333 * simple.el (completion-list-mode-finish):
1334 Don't use toggle-read-only. (Since completion-list-mode has
1335 a special mode-class, it wasn't doing anything extra anyway.)
1336
c207708c
SM
13372012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 Make inlining of other-mode interpreted functions work (bug#11799).
1340 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1341 (byte-compile): Use it to fix compilation of lexical-binding closures.
1342 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1343 function, if needed.
1344
3fd56834
SM
13452012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1346
04901786
SM
1347 * help-mode.el (help-make-xrefs): Don't just withstand
1348 cyclic-variable-indirection but any error in documentation-property.
1349
1ec4b7b2
SM
1350 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1351 memory use.
1352 * bindings.el (bindings--define-key): New function.
1353 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1354 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1355 * bindings.el: Use it to purecopy define-key bindings.
1356
e309e2a5
SM
1357 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1358
d5c6faf9
SM
1359 * emacs-lisp/cl.el (flet): Mark obsolete.
1360 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1361 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1362 * progmodes/js.el (js-c-fill-paragraph):
1363 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1364 (ebrowse-switch-member-buffer-to-derived-class):
1365 * play/5x5.el (5x5-solver): Use cl-flet.
1366
6e9590e2
SM
1367 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1368 (cl--symbol-function): New macro.
1369 (cl--letf, cl--letf*): Use it.
1370
3fd56834
SM
1371 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1372 Strip "toggle-" if any.
1373
35ff222c
GM
13742012-06-27 Glenn Morris <rgm@gnu.org>
1375
1ba6038a
GM
1376 * info.el (Info-default-directory-list): Move here from paths.el.
1377 * paths.el: Remove file, which is now empty.
1378 * loadup.el: No longer load "paths".
1379
0ea0e51b
GM
1380 * custom.el (custom-initialize-delay): Doc fix.
1381
35ff222c
GM
1382 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1383 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1384 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1385 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1386 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1387 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1388 * eshell/eshell.el (eshell-defgroup): Remove alias.
1389
c89926a5
CY
13902012-06-27 Chong Yidong <cyd@gnu.org>
1391
1392 * help.el (help-enable-auto-load): New variable.
1393
1394 * help-fns.el (help-fns--autoloaded-p): New function.
1395 (describe-function-1): Refer to a function as "autoloaded" if it
1396 was autoloaded at any time in the past. Perform autoloading if
1397 help-enable-auto-load is non-nil.
1398
cc06e7e7
EZ
13992012-06-26 Eli Zaretskii <eliz@gnu.org>
1400
1401 * makefile.w32-in (compile, compile-always): Depend on
1402 update-subdirs, not on subdirs.el. Otherwise, several different
1403 sub-targets of 'bootstrap' running in parallel could
1404 simultaneously write to subdirs.el, producing a garbled file.
1405
d2c32364
SS
14062012-06-26 Sam Steingold <sds@gnu.org>
1407
1408 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1409 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1410 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1411 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1412 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1413 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1414 * textmodes/tex-mode.el: Use it.
1415 Did not touch cedet and org because they are maintained elsewhere.
1416
5cf983b2
MR
14172012-06-26 Martin Rudalics <rudalics@gmx.at>
1418
1419 * calendar/calendar.el (calendar-exit): Don't try to delete or
1420 iconify last frame. See:
1421 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1422
8c4f2952
JD
14232012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1424
1425 * server.el (server-process-filter): Remember dir in the
1426 process's `server-client-directory' properties.
1427
772b2e2c
CY
14282012-06-24 Chong Yidong <cyd@gnu.org>
1429
1430 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1431 non-tag text.
1432
711b11e1
JB
14332012-06-23 Juanma Barranquero <lekktu@gmail.com>
1434
1435 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1436
dc5d230c
SM
14372012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * help-fns.el (describe-variable): Don't croak when doc is not found.
1440 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1441 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1442 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1443 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1444 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1445 ((lambda ..) ..).
1446 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1447
136e1c1d
CY
14482012-06-23 Chong Yidong <cyd@gnu.org>
1449
e8c1cabf
CY
1450 * info.el (Info-mouse-follow-link): Accept symbol values of
1451 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1452 (Info-fontify-node): Use Info-link-keymap for all navigation
1453 buttons, with link-args property to perform the desired action.
1454 (Info-link-keymap): Doc fix.
1455 (Info-next-link-keymap, Info-prev-link-keymap)
1456 (Info-up-link-keymap): Delete now-unused keymaps.
1457
0e9e6c6a
CY
14582012-06-23 Chong Yidong <cyd@gnu.org>
1459
05e89fea
CY
1460 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1461
0e9e6c6a
CY
1462 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1463 system abbrevs.
1464
1465 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1466
e33c6771
SM
14672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1468
b68581e2
SM
1469 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1470 (bug#11719).
1471
e33c6771
SM
1472 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1473 the requote function doesn't work properly (bug#11714).
1474
7117e105
GM
14752012-06-23 Glenn Morris <rgm@gnu.org>
1476
1477 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1478
36cec983
SM
14792012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 Further GV/CL cleanups.
1482 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1483 gv-expander.
1484 (gv--defun-declaration): New function.
1485 (defun-declarations-alist): Use it.
1486 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1487 (gv-place): Autoload.
1488 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1489 original definition of dotimes and dolist.
1490 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1491 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1492 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1493 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1494 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1495 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1496 to the function's definition.
1497 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1498 * window.el:
1499 * files.el:
1500 * faces.el:
1501 * env.el: Don't use CL.
1502
d35af63c
PE
15032012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1504
1505 Support higher-resolution time stamps (Bug#9000).
1506
1507 * calendar/time-date.el (with-decoded-time-value): New arg
1508 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1509 (encode-time-value): New optional arg PICO. New type 3.
1510 (time-to-seconds) [!float-time]: Support the new picoseconds
1511 component if it's used.
1512 (seconds-to-time, time-subtract, time-add):
1513 Support ps-resolution time stamps as well.
1514
1515 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1516 (timerp): Timer vectors now have length 9, not 8.
1517 (timer--time): Support new-style (4-part) time stamps.
1518 (timer-next-integral-multiple-of-time): Time stamps now have
1519 picosecond resolution, so take a bit more care about rounding.
1520 (timer-relative-time, timer-inc-time): New optional arg psecs.
1521 (timer-set-time-with-usecs): Set psecs to 0.
1522 (timer--activate): Check psecs component, too.
1523
1524 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1525
ac77b21a
SM
15262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1527
f143bfe3
SM
1528 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1529 Move the non-essential binding to the post/pre-command-hook where it is
1530 more obviously correct.
1531
ac77b21a
SM
1532 * subr.el (read-passwd): Don't use a history at all.
1533 * savehist.el (savehist-save): Remove password saved accidentally
1534 because of the above bug.
1535
76386c5a
BG
15362012-06-22 Bastien Guerry <bzg@gnu.org>
1537
1538 * files.el (toggle-read-only): Display a message telling whether
1539 the buffer is read-only or not (bug#11726).
1540
2ee3d7f0
SM
15412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * emacs-lisp/gv.el: New file.
1544 * subr.el (push, pop): Extend to generalized variables.
1545 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1546 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1547 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1548 gv-define-simple-setter, and gv-define-expander.
1549 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1550 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1551 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1552 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1553 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1554 gv-letplace.
1555 (cl-defstruct): Don't define setf-method any more.
1556 * emacs-lisp/cl.el (flet): Don't autoload.
1557 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1558 (define-setf-expander, defsetf, define-modify-macro)
1559 (cl-struct-setf-expander): Move from cl-lib.el.
1560 * emacs-lisp/syntax.el:
1561 * emacs-lisp/ewoc.el:
1562 * emacs-lisp/smie.el:
1563 * emacs-lisp/cconv.el:
1564 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1565 (timer--time): Use gv-define-simple-setter.
1566 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1567 to avoid coding-system problems in subr.el. Adjust all users.
1568 (macroexp--maxsize, macroexp-small-p): New functions.
1569 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1570 * scroll-bar.el (scroll-bar-mode):
1571 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1572 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1573 * winner.el (winner-configuration, winner-make-point-alist)
1574 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1575 * files.el (locate-file-completion-table): Avoid list*.
1576
c5695d1d
CY
15772012-06-22 Chong Yidong <cyd@gnu.org>
1578
1579 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1580 (dired-create-files): Doc fix (Bug#11329).
1581 (dired-do-copy): Doc fix (Bug#11334).
1582 (dired-mark-read-string): Doc fix (Bug#11553).
1583
2ee3d7f0
SM
1584 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1585 Doc fix (Bug#11326).
c5695d1d
CY
1586 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1587 (dired-dwim-target): Doc fix.
1588
1589 * wdired.el (wdired-mode): Doc fix.
1590
89b5595a
GM
15912012-06-22 Glenn Morris <rgm@gnu.org>
1592
575db3f1
GM
1593 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1594 (pcmpl-rpm-cache-stamp-file): New constant.
1595 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1596 (pcmpl-rpm-packages): Optionally cache list of packages.
1597
a4c8dd51
GM
1598 * pcmpl-rpm.el (pcmpl-rpm): New group.
1599 (pcmpl-rpm-query-options): New option.
1600 (pcmpl-rpm-packages): No need to inline it.
1601 Use pcmpl-rpm-query-options.
1602
89b5595a
GM
1603 * calendar/calendar.el (calendar-in-read-only-buffer):
1604 Avoid some needless mode changes.
1605
e76f0800
CY
16062012-06-21 Chong Yidong <cyd@gnu.org>
1607
1608 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1609 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1610 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1611
297a8f1d
CY
16122012-06-20 Chong Yidong <cyd@gnu.org>
1613
1614 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1615
d34c18b1
DR
16162012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1617
1618 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1619 (bug#11201).
1620
32f7f28e
CY
16212012-06-20 Chong Yidong <cyd@gnu.org>
1622
1623 * term.el (term-window-width): Handle the case of a missing right
1624 fringe (Bug#8837).
1625 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1626 (term-mode): Use define-derived-mode. Minor cleanups.
1627 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1628 (term-move-columns, term-insert-char, term-emulate-terminal)
1629 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1630
493c6688
MA
16312012-06-20 Michael Albinus <michael.albinus@gmx.de>
1632
d34c18b1
DR
1633 * net/ange-ftp.el (ange-ftp-get-passwd):
1634 Bind `enable-recursive-minibuffers'.
493c6688
MA
1635 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1636
3f06ecf4
DR
16372012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1638
1639 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1640
68f12411
GM
16412012-06-19 Glenn Morris <rgm@gnu.org>
1642
1643 * progmodes/python.el (python-mode): Derive from prog-mode.
1644
b3820318
KG
16452012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1646
1647 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1648 (edt-user-menu-bar-update-buffers): New functions.
1649 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1650
c6bf3022
CY
16512012-06-19 Chong Yidong <cyd@gnu.org>
1652
1653 * subr.el (with-selected-window): Preserve the selected window's
1654 terminal's top-frame (Bug#4702).
1655
1656 * window.el (save-selected-window): Likewise.
1657
25f09295
SM
16582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * progmodes/python.el (python-rx-constituents): Move backquote.
1661 (python-skeleton-define, python-define-auxiliary-skeleton):
1662 Use `declare'.
1663
6b11952a
MA
16642012-06-18 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * minibuffer.el (read-file-name-default): Revert the patch from
1667 2012-06-17.
1668
ee4b1330
SM
16692012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1672 (pcase--u1, pcase--q1): Don't use apply-partially.
1673
35647f79
GM
16742012-06-18 Glenn Morris <rgm@gnu.org>
1675
1676 * progmodes/python.el (python-proc, python-buffer)
1677 (python-send-receive, python-send-string): Fix obsolete versions.
1678
24b0cff0
MR
16792012-06-18 Martin Rudalics <rudalics@gmx.at>
1680
1681 * window.el (special-display-p): Completely remove stringp
1682 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1683
29855149
MA
16842012-06-17 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1687
1688 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1689
1690 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1691 * net/tramp-sh.el (tramp-maybe-open-connection):
1692 Throw if `non-essential' is non-nil.
1693
07463363
MR
16942012-06-17 Martin Rudalics <rudalics@gmx.at>
1695
1696 * window.el (special-display-p): Signal an error if BUFFER-NAME
1697 is not a string (Bug#11713).
1698
48d1354e
PE
16992012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1700
1701 * progmodes/python.el (python-info-beginning-of-backslash):
1702 Rename from python-info-beginning-of-backlash, as a spelling fix.
1703
eb4a8a9a
CY
17042012-06-17 Chong Yidong <cyd@gnu.org>
1705
1706 * term.el (term-emulate-terminal): If term-check-size is called,
1707 move point to the process mark without resetting point (Bug#4635).
1708
ddfbf826 17092012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1710
1711 * international/mule-cmds.el (mule-menu-keymap)
1712 (set-language-environment, set-locale-environment): Doc tweaks.
1713
9b0e3eba
AA
17142012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1715
1716 * cus-face.el (custom-face-attributes): Add wave-style underline
1717 attribute.
1718 * faces.el (set-face-attribute): Update docstring to describe
1719 wave-style underline attribute.
1720
771e3eae
CY
17212012-06-16 Chong Yidong <cyd@gnu.org>
1722
1723 * term/xterm.el (terminal-init-xterm): Discard input before
1724 querying background mode (Bug#10959).
1725
7ae2ea10
SM
17262012-06-16 Stefan Merten <smerten@oekonux.de>
1727
1728 * textmodes/rst.el: Added and corrected some comments.
1729 (rst-re-alist-def): Improve symbol syntax.
1730 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1731 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1732 (rst-official-version, rst-official-cvs-rev): Update version
1733 information.
7ae2ea10 1734
b6974efa
JB
17352012-06-15 Juanma Barranquero <lekktu@gmail.com>
1736
1737 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1738 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1739
8826d473
GM
17402012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1741
1742 * progmodes/python.el: New python.el merge.
1743 (python-guess-indent): Obsolete var.
1744 (python-indent-guess-indent-offset): New defcustom.
1745 (python-indent): Obsolete var.
1746 (python-indent-offset): New defcustom.
1747 (python-python-command, python-jython-command): Delete var.
1748 (python-shell-interpreter): New defcustom.
1749 (python-pdbtrack-do-tracking-p): Delete var.
1750 (python-pdbtrack-activate): New defcustom.
1751 (python-use-skeletons): Obsolete var.
1752 (python-skeleton-autoinsert): New defcustom.
1753 (inferior-python-filter-regexp, python-continuation-offset)
1754 (python-honour-comment-indentation, python-indent-string-contents)
1755 (python-jython-packages, python-mode-hook)
1756 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1757 (python-shell-prompt-alist)
1758 (python-source-modes): Delete defcustoms.
1759 (python-check-buffer-name, python-eldoc-setup-code)
1760 (python-eldoc-string-code, python-ffap-setup-code)
1761 (python-ffap-string-code, python-fill-comment-function)
1762 (python-fill-decorator-function, python-fill-paren-function)
1763 (python-fill-string-function, python-imenu-include-defun-type)
1764 (python-imenu-make-tree, python-imenu-subtree-root-label)
1765 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1766 (python-shell-compilation-regexp-alist)
1767 (python-shell-completion-module-string-code)
1768 (python-shell-completion-pdb-string-code)
1769 (python-shell-completion-setup-code)
1770 (python-shell-completion-string-code)
1771 (python-shell-enable-font-lock, python-shell-exec-path)
1772 (python-shell-extra-pythonpaths)
1773 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1774 (python-shell-process-environment)
1775 (python-shell-prompt-block-regexp)
1776 (python-shell-prompt-output-regexp)
1777 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1778 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1779 (python-shell-virtualenv-path): New defcustoms.
1780 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1781 (inferior-python-mode-syntax-table, python--prompt-regexp)
1782 (python-buffer, python-command python-python-command)
1783 (python-default-template, python-imports, python-indent-index)
1784 (python-indent-list, python-indent-list-length)
1785 (python-mode-running, python-pdbtrack-is-tracking-p)
1786 (python-preoutput-continuation, python-preoutput-leftover)
1787 (python-preoutput-result, python-preoutput-skip-next-prompt)
1788 (python-prev-dir/file, python-recursing)
1789 (python-saved-check-command, python-version-checked)
1790 (python-which-func-length-limit)
1791 (view-return-to-alist): Delete vars.
1792 (python-check-custom-command, python-dotty-syntax-table)
1793 (python-imenu-index-alist, python-indent-current-level)
1794 (python-indent-dedenters, python-indent-levels)
1795 (python-nav-beginning-of-defun-regexp)
1796 (python-nav-list-defun-positions-cache)
1797 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1798 (python-shell-internal-buffer)
1799 (python-skeleton-available): New vars.
1800 (def-python-skeleton): Delete macro.
1801 (python-skeleton-define): New macro.
1802 (python-define-auxiliary-skeleton, python-rx): New macros.
1803 (python-insert-class): Delete command.
1804 (python-skeleton-class): New command.
1805 (python-insert-def): Delete command.
1806 (python-skeleton-def): New command.
1807 (python-insert-for): Delete command.
1808 (python-skeleton-for): New command.
1809 (python-insert-if): Delete command.
1810 (python-skeleton-if): New command.
1811 (python-insert-try/except, python-insert-try/finally): Delete commands.
1812 (python-skeleton-try): New command.
1813 (python-insert-while): Delete command.
1814 (python-skeleton-while): New command.
1815 (python-backspace): Delete command.
1816 (python-indent-dedent-line-backspace): New command.
1817 (python-electric-colon): Delete command.
1818 (python-indent-electric-colon): New command.
1819 (python-guess-indent): Delete command.
1820 (python-indent-guess-indent-offset): New command.
1821 (python-shift-left): Delete command.
1822 (python-indent-shift-left): New command.
1823 (python-shift-right): Delete command.
1824 (python-indent-shift-right): New command.
1825 (python-find-function): Delete command.
1826 (python-nav-jump-to-defun): New command.
1827 (python-next-statement): Delete command.
1828 (python-nav-forward-sentence): New command.
1829 (python-previous-statement): Delete command.
1830 (python-nav-backward-sentence): New command.
1831 (python-fill-paragraph): Delete command.
1832 (python-fill-paragraph-function): New command.
1833 (python-send-buffer): Delete command.
1834 (python-shell-send-buffer): New command.
1835 (python-send-defun): Delete command.
1836 (python-shell-send-defun): New command.
1837 (python-send-region, python-send-region-and-go): Delete commands.
1838 (python-shell-send-region)
1839 (python-shell-switch-to-shell): New commands.
1840 (python-send-string): Delete command.
1841 (python-shell-send-string): New command.
1842 (python-switch-to-python): Delete command.
1843 (python-shell-switch-to-shell): New command.
1844 (python-describe-symbol): Delete command.
1845 (python-eldoc-at-point): New command.
1846 (python--set-prompt-regexp, python-args-to-list)
1847 (python-after-info-look, python-check-version)
1848 (python-check-comint-prompt, python-find-imports)
1849 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1850 (python-unload-function, python-expand-template)
1851 (python-maybe-jython, python-preoutput-filter)
1852 (python-pdbtrack-get-source-buffer)
1853 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1854 (python-pdbtrack-toggle-stack-tracking)
1855 (python-pdbtrack-track-stack-file, python-initial-text)
1856 (python-first-word, python-comment-line-p, python-send-command)
1857 (python-setup-brm, python-sentinel, python-set-proc)
1858 (python-skip-out, python-input-filter, python-outdent-p)
1859 (python-outline-level, python-backslash-continuation-line-p)
1860 (python-end-of-block, python-end-of-statement, python-mark-block)
1861 (python-beginning-of-block, python-beginning-of-statement)
1862 (python-blank-line-p, python-beginning-of-string)
1863 (python-open-block-statement-p): Delete functions.
1864 (python-indent-line, python-indent-line-1): Delete functions.
1865 (python-indent-line): New function.
1866 (python-indentation-levels): Delete function.
1867 (python-indent-calculate-levels): New function.
1868 (python-proc): Delete function.
1869 (python-shell-get-process): New function.
1870 (python-send-receive): Delete function.
1871 (python-shell-send-string-no-output): New function.
1872 (python-module-path): Delete function.
1873 (python-ffap-module-path): New function.
1874 (python-completion-at-point)
1875 (python-symbol-completions): Delete functions.
1876 (python-completion-complete-at-point): New function.
1877 (python-load-file): Delete function.
1878 (python-shell-send-file): New function.
1879 (python-calculate-indentation): Delete function.
1880 (python-indent-calculate-indentation): New function.
1881 (python-skip-comments/blanks): Delete function.
1882 (python-util-forward-comment): New function.
1883 (python-continuation-line-p): Delete function.
1884 (python-info-continuation-line-p): New function.
1885 (python-which-func, python-current-defun): Delete function.
1886 (python-info-current-defun): New function.
1887 (python-beginning-of-defun): Delete function.
1888 (python-nav-beginning-of-defun): New function.
1889 (python-close-block-statement-p)
1890 (python-block-end-p): Delete function.
1891 (python-info-closing-block): New function.
1892 (python-comint-output-filter-function)
1893 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1894 (python-fill-comment, python-fill-decorator, python-fill-paren)
1895 (python-fill-string, python-imenu-make-element-tree)
1896 (python-imenu-make-tree, python-imenu-tree-assoc)
1897 (python-indent-context, python-indent-dedent-line)
1898 (python-indent-line-function)
1899 (python-indent-post-self-insert-function)
1900 (python-indent-toggle-levels)
1901 (python-info-assignment-continuation-line-p)
1902 (python-info-beginning-of-backlash)
1903 (python-info-block-continuation-line-p)
1904 (python-info-closing-block-message)
1905 (python-info-line-ends-backslash-p)
1906 (python-info-looking-at-beginning-of-defun)
1907 (python-info-ppss-context, python-info-ppss-context-type)
1908 (python-nav-list-defun-positions, python-nav-read-defun)
1909 (python-nav-sentence-end, python-nav-sentence-start)
1910 (python-pdbtrack-comint-output-filter-function)
1911 (python-pdbtrack-set-tracked-buffer)
1912 (python-shell-calculate-exec-path)
1913 (python-shell-calculate-process-environment)
1914 (python-shell-completion--do-completion-at-point)
1915 (python-shell-completion--get-completions)
1916 (python-shell-completion-complete-at-point)
1917 (python-shell-completion-complete-or-indent)
1918 (python-shell-get-or-create-process)
1919 (python-shell-get-process-name)
1920 (python-shell-internal-get-or-create-process)
1921 (python-shell-internal-get-process-name)
1922 (python-shell-internal-send-string, python-shell-make-comint)
1923 (python-shell-parse-command, python-shell-send-setup-code)
1924 (python-skeleton-add-menu-items)
1925 (python-util-clone-local-variables, python-util-position)
1926 (run-python-internal, python-indentation-levels)
1927 (python-nav-beginning-of-defun)
1928 (python-completion-complete-at-point): New functions.
1929 (run-python): Change arguments. New API requirements.
1930
4302f5ba
SM
19312012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1932
f38ea36d
SM
1933 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1934 (bug#11649).
1935
1936 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1937 (macroexp--expand-all): Use it.
1938
4302f5ba
SM
1939 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1940 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1941 Use `cl-function' instead.
1942
33377562
JB
19432012-06-14 Juanma Barranquero <lekktu@gmail.com>
1944
1945 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1946 Suggested by Stefan Monnier while discussing bug#11657.
1947
54c5ba1a
SS
19482012-06-14 Sam Steingold <sds@gnu.org>
1949
1950 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1951
f9f1b1fe
AS
19522012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1953
1954 * play/doctor.el (doctor-doc): Remove parameter and use
1955 doctor-sent instead of sent.
1956 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1957
a81068ba
SM
19582012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1959
5a315f9c
SM
1960 * files.el: Require cl-lib.
1961 (file-name-non-special): Replace case -> cl-case.
1962
1963 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1964
a81068ba
SM
1965 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1966 mapping from #' to function*.
1967
8cca9703
CY
19682012-06-13 Chong Yidong <cyd@gnu.org>
1969
1970 * mouse.el (mouse-drag-track): Do not set the mark if the user
1971 releases the mouse without selecting anything (Bug#11588).
1972
a12ac9d7
SM
19732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1974
ccf1dc18
SM
1975 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1976 as well (bug#11646).
1977
ef62b23d
SM
1978 * loadup.el: Count byte-code functions as well.
1979
c4c8444a
SM
1980 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1981 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1982
a12ac9d7
SM
1983 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1984 (bug#11649). Add cl-defun and cl-defmacro.
1985
87e6e64f
DA
19862012-06-13 Drew Adams <drew.adams@oracle.com>
1987
1988 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1989 Fix last change.
1990
682cefaf
MA
19912012-06-13 Michael Albinus <michael.albinus@gmx.de>
1992
1993 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1994 Otherwise, it blocks in batch mode.
1995
773e1f08
JB
19962012-06-13 Juanma Barranquero <lekktu@gmail.com>
1997
1998 * help-mode.el (bookmark-make-record-default): Declare.
1999
60057926
CY
20002012-06-13 Chong Yidong <cyd@gnu.org>
2001
2002 * emacs-lisp/package.el (list-packages): Compute a list of
2003 packages that are newly-available since the last list-packages
2004 invocation.
2005 (package-menu--new-package-list): New var.
2006 (package-menu--generate, package-menu--print-info)
2007 (package-menu--status-predicate, package-menu-mark-install):
2008 Handle new status label "new".
2009
ad4d226c
SM
20102012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2013 conversion to backquotes.
2014
f1a4e679
CY
20152012-06-12 Chong Yidong <cyd@gnu.org>
2016
2017 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2018 Rename from gud-inhibit-global-bindings.
2019
2020 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2021
2022 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2023 hook from nxml-glyph-set-hook.
2024
2025 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2026 declaration.
2027
2028 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2029
2030 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2031 Convert to defcustom.
2032
0c9e42b5
DA
20332012-06-12 Drew Adams <drew.adams@oracle.com>
2034
2035 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2036 New functions.
2037 (help-mode): Use them.
2038
09e06855
GM
20392012-06-11 Glenn Morris <rgm@gnu.org>
2040
2041 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2042 Use preprocessor face for directives.
2043 (fortran-directive-re): Doc fix.
2044
71adb94b
SM
20452012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2eb87922
SM
2047 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2048 conversion to backquotes (bug#11652).
2049
71adb94b
SM
2050 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2051 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2052 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2053 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2054 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2055 (cl-ninth, cl-tenth): Mark them as inlinable.
2056 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2057 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2058 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2059 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2060 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2061 (cl-list*, cl-adjoin): Don't put an autoload manually.
2062 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2063 (cl--compiler-macro-list*): Add autoload cookie.
2064 (cl--compiler-macro-cXXr): New function.
2eb87922 2065
71adb94b
SM
2066 * help-fns.el (help-fns--compiler-macro): New function extracted from
2067 describe-function-1; follow aliases and use `compiler-macro' property.
2068 (describe-function-1): Use it.
2069
a6674402
CY
20702012-06-11 Chong Yidong <cyd@gnu.org>
2071
2072 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2073 is uninstalled, if imagemagick is installed.
2074
bb3faf5b
SM
20752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 * emacs-lisp/cl-lib.el: Use lexical-binding.
2078 (cl-map-extents, cl-maclisp-member): Remove.
2079 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2080 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2081 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2082 * emacs-lisp/cl-extra.el: Use lexical-binding.
2083 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2084 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2085 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2086 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2087 * emacs-lisp/cl-seq.el: Use lexical-binding.
2088 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2089 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2090 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2091 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2092 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2093 CL's internals.
2094
2fe4b125
MA
20952012-06-11 Michael Albinus <michael.albinus@gmx.de>
2096
2097 Sync with Tramp 2.2.6-pre.
2098
2099 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2100 `print-length' and `print-level' to nil, in order to avoid
2101 truncation. Reported by Christopher Schmidt
2102 <christopher@ristopher.com>.
2103
2104 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2105
2106 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2107 New defmacro.
2108 (tramp-compat-copy-directory): Add optional argument
2109 COPY-CONTENTS. It is not handled yet.
2110
2111 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2112 (tramp-ftp-file-name-p): Simplify.
2113
2114 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2115 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2116 connection vector.
2117
2118 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2119 (tramp-methods): Do not use `tramp-password-end-of-line'.
2120 (tramp-completion-function-alist-putty): Handle UNIX case.
2121 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2122 (tramp-do-file-attributes-with-stat)
2123 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2124 gid as real numbers. They could run out of integer range on cygwin.
2125 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2126 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2127 (tramp-open-connection-setup-interactive-shell):
2128 Use `tramp-cleanup'. Move check for busyboxes ...
2129 (tramp-find-shell): ... here. Simplify implementation.
2130 Set "remote-shell" property also for alternative shells.
2131 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2132 If failing, a regular file would be written otherwise.
2133 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2134 (tramp-find-inline-encoding): Cache the coding commands in the
2135 process cache. Apply test command on the remote side, if defined.
2136 (tramp-find-inline-compress): Cache the compress commands in the
2137 process cache.
2138 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2139 when requested. Handle hops.
2140 (tramp-current-connection): New defvar.
87e6e64f
DA
2141 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2142 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2143 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2144 (tramp-get-inline-compress, tramp-get-inline-coding):
2145 Read connection properties from the process cache.
2fe4b125
MA
2146
2147 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2148 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2149 New defconsts.
2fe4b125
MA
2150 (tramp-smb-prompt): Extend for powershell prompt.
2151 (tramp-smb-file-name-handler-alist): Add handlers for
2152 `process-file', `shell-command' and `start-file-process'.
2153 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2154 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2155 (tramp-smb-file-name-p): Simplify.
2156 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2157 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2158 (tramp-smb-shell-quote-argument): New defuns.
2159 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2160 Implement using "tar". By this, time-stamps are preserved.
2161 (tramp-smb-handle-copy-file): Handle also the case of directories.
2162 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2163 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2164 Use `tramp-get-connection-buffer').
2fe4b125
MA
2165 (tramp-smb-handle-rename-file): Use "rename", when source and
2166 target are on the same share.
87e6e64f
DA
2167 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2168 Use `tramp-smb-server-version'.
2fe4b125
MA
2169 (tramp-smb-wait-for-output): Remove prompt.
2170
2171 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2172 (tramp-methods, tramp-rsh-end-of-line):
2173 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2174 (tramp-save-ad-hoc-proxies): New defcustom.
2175 (tramp-completion-function-alist): Adapt docstring.
2176 (tramp-default-password-end-of-line): Remove defcustom.
2177 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2178 (tramp-user-regexp, tramp-file-name-regexp-unified)
2179 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2180 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2181 (tramp-remote-file-name-spec-regexp): New defconst.
2182 (tramp-file-name-structure): Extend structure for hops.
2183 (tramp-get-method-parameter): Move up.
2184 (tramp-file-name-p, tramp-dissect-file-name)
2185 (with-parsed-tramp-file-name): Handle hops.
2186 (tramp-file-name-hop): New defun.
2187 (tramp-make-tramp-file-name): New optional arg HOP.
2188 (tramp-message-show-progress-reporter-message): New defvar.
2189 (tramp-with-progress-reporter): Use it. We cannot use
2190 `tramp-message-show-message' here, because this suppresses also
2191 error buffers.
2192 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2193 `tramp-message-show-message' is nil.
2194 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2195 (tramp-cleanup): New defun.
2196 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2197 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2198 an error unchanged.
2199 (tramp-completion-handle-file-name-all-completions): Handle hops.
2200 Fix an error when called from ido.
2201 (tramp-completion-dissect-file-name): Use better local variable
2202 name. Add hop to the vector.
2203 (tramp-handle-insert-file-contents): Use progress-reporter for the
2204 whole scenario.
2205 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2206 to `t'.
2207 (tramp-check-for-regexp): Simplify search.
2208 (tramp-enter-password): Remove it. Move implementation ...
2209 (tramp-action-password): ... here.
2210 (tramp-mode-string-to-int, tramp-local-host-p)
2211 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2212 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2213 Set tramp-autoload cookie.
2fe4b125
MA
2214
2215 * net/trampver.el: Update release number.
2216
22172012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2218 Michael Albinus <michael.albinus@gmx.de>
2219
2220 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2221 (tramp-parse-group, tramp-parse-file)
2222 (tramp-parse-shostkeys-sknownhosts): New defuns.
2223 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2224 (tramp-parse-shosts-group, tramp-parse-sconfig)
2225 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2226 (tramp-parse-sknownhosts, tramp-parse-hosts)
2227 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2228 Use them.
2229 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2230 (tramp-parse-putty-group): Don't narrow.
2231 (tramp-parse-putty): Make a loop.
2232 (tramp-file-name-handler): Catch the `suppress' signal.
2233
72834e10
CY
22342012-06-11 Chong Yidong <cyd@gnu.org>
2235
2236 * image.el (imagemagick-register-types): Put the ImageMagick entry
2237 at the end of image-type-file-name-regexps.
2238
a4712e11
JB
22392012-06-11 Johan Bockgård <bojohan@gnu.org>
2240
2241 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2242 (pcase, pcase-let*, pcase-dolist): Use them.
2243
82ad98e3
SM
22442012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emacs-lisp/pcase.el (pcase--let*): New function.
2247 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2248 (pcase--expand): Use macroexp-let².
2249
f80efb86
SM
22502012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2253 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2254 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2255 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2256 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2257 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2258
31ca4639 22592012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2260
31ca4639
CY
2261 * mail/rmail.el (rmail-yank-current-message): Leave point at
2262 correct position. (Bug#11660)
94f0aa34 2263
31ca4639 22642012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2265
31ca4639 2266 * allout-widgets.el: Fix code header.
9e1b8ec4 2267
31ca4639 22682012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2269
f80efb86
SM
2270 * cus-edit.el (customize-changed-options-previous-release):
2271 Bump to 24.1.
31ca4639 2272
642b6d30
AS
22732012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2274
2275 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2276
4f5d2ba1
CY
22772012-06-09 Chong Yidong <cyd@gnu.org>
2278
2279 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2280
e75852fd
MR
22812012-06-09 Martin Rudalics <rudalics@gmx.at>
2282
2283 * window.el (special-display-popup-frame): Don't use
2284 window--display-buffer (Bug#11651).
2285
1e48e282
EZ
22862012-06-09 Eli Zaretskii <eliz@gnu.org>
2287
8a26b487
EZ
2288 Fix parallel builds: make sure loaddefs.el is not being written
2289 while Lisp files are compiled.
2290 (compile): Don't depend on 'mh-autoloads'.
2291 (compile-CMD, compile-SH): Depend on 'autoloads'.
2292 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2293
1e48e282
EZ
2294 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2295
6175e34b
CY
22962012-06-09 Chong Yidong <cyd@gnu.org>
2297
2298 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2299 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2300 Doc fixes (Bug#11225).
2301
d9857e53
SM
23022012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2305 a function if there's a clear indication that it has a compiler-macro.
2306 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2307 (macro-declarations-alist): Add arglist to declaration functions.
2308 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2309 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2310 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2311 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2312 Also add autoload to find the compiler macro.
2313 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2314 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2315 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2316 (cl--compiler-macro-get): New functions, replacing calls to
2317 cl-define-compiler-macro.
2318 (cl-typep) [compiler-macro]: Use macroexp-let².
2319
f81298f8 23202012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2321
2322 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2323 string properly, fixes Bug#11473.
2324
4b56d0fe
CY
23252012-06-08 Chong Yidong <cyd@gnu.org>
2326
2327 * faces.el (set-face-attribute): Doc fix.
2328 (modify-face): Don't use :bold and :italic.
2329 (error, warning, success): Tweak definitions.
2330
2331 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2332 (custom-modified, custom-set, custom-changed, custom-themed)
2333 (custom-saved, custom-button, custom-button-mouse)
2334 (custom-button-pressed, custom-state, custom-comment-tag)
2335 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2336 (custom-group-subtitle): Use new-style face specs.
2337 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2338 (custom-set-face, custom-changed-face, custom-saved-face)
2339 (custom-button-face, custom-button-pressed-face)
2340 (custom-documentation-face, custom-state-face)
2341 (custom-comment-face, custom-comment-tag-face)
2342 (custom-variable-tag-face, custom-variable-button-face)
2343 (custom-face-tag-face, custom-group-tag-face-1)
2344 (custom-group-tag-face): Remove obsolete face alias.
2345
2346 * epa.el (epa-validity-high, epa-validity-medium)
2347 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2348 (epa-field-name, epa-field-body):
2349 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2350 (font-lock-keyword-face, font-lock-builtin-face)
2351 (font-lock-function-name-face, font-lock-variable-name-face)
2352 (font-lock-type-face, font-lock-constant-face):
2353 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2354 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2355 * speedbar.el (speedbar-button-face, speedbar-file-face)
2356 (speedbar-directory-face, speedbar-tag-face)
2357 (speedbar-selected-face, speedbar-highlight-face)
2358 (speedbar-separator-face):
2359 * whitespace.el (whitespace-newline, whitespace-space)
2360 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2361 (whitespace-line, whitespace-space-before-tab)
2362 (whitespace-space-after-tab, whitespace-indentation)
2363 (whitespace-empty):
2364 * emulation/cua-base.el (cua-global-mark):
2365 * eshell/em-prompt.el (eshell-prompt):
2366 * net/newst-plainview.el (newsticker-new-item-face)
2367 (newsticker-old-item-face, newsticker-immortal-item-face)
2368 (newsticker-obsolete-item-face, newsticker-date-face)
2369 (newsticker-statistics-face, newsticker-default-face):
2370 * net/newst-reader.el (newsticker-feed-face)
2371 (newsticker-extra-face, newsticker-enclosure-face):
2372 * net/newst-treeview.el (newsticker-treeview-face)
2373 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2374 (newsticker-treeview-immortal-face)
2375 (newsticker-treeview-obsolete-face)
2376 (newsticker-treeview-selection-face):
2377 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2378 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2379 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2380 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2381 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2382 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2383 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2384 (mpuz-text):
2385 * progmodes/vera-mode.el (vera-font-lock-number)
2386 (vera-font-lock-function, vera-font-lock-interface):
2387 * textmodes/table.el (table-cell): Use new-style face specs, and
2388 don't use the old :bold and :italic attributes.
2389
2390 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2391 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2392 (ebrowse-member-class, ebrowse-progress): Likewise.
2393 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2394 (ebrowse-file-name-face, ebrowse-default-face)
2395 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2396 (ebrowse-progress-face): Remove obsolete faces.
2397
2398 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2399 Inherit from error and warning faces respectively.
2400
2401 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2402 Likewise.
f80efb86
SM
2403 (flyspell-incorrect-face, flyspell-duplicate-face):
2404 Remove obsolete aliases.
4b56d0fe 2405
03310646
MA
24062012-06-08 Michael Albinus <michael.albinus@gmx.de>
2407
2408 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2409 Avoid infloop.
2410
513749ee
SM
24112012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * startup.el (argv, argi): Make lexically scoped.
2414 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2415 * emacs-lisp/cl-macs.el: Use lexical-binding.
2416 Rename cl-bind-* to cl--bind-*.
2417 * files.el: Don't require `cl' since it doesn't use it.
2418 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2419
595ef4ad
JB
24202012-06-08 Juanma Barranquero <lekktu@gmail.com>
2421
2422 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2423 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2424 instead of calling external sort utility.
2425 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2426
e9f66fcb
EZ
24272012-06-08 Eli Zaretskii <eliz@gnu.org>
2428
2429 * descr-text.el (describe-char): Mention how to insert the
2430 character, if the current input method doesn't support it.
2431 See the discussion in this thread for the details:
2432 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2433
3d10db47
SS
24342012-06-08 Sam Steingold <sds@gnu.org>
2435
2436 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2437 XF86Back to previous-buffer.
2438 (minibuffer-local-map): Bind them to next-history-element and
2439 previous-history-element respectively.
2440 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2441 help-go-back respectively.
2442 * info.el (Info-mode-map): Bind them to Info-history-forward and
2443 Info-history-back respectively.
2444 These are the keys next to Up on the ThinkPad keyboard.
2445
de7e2b36
SM
24462012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2449 * emacs-lisp/cl-macs.el: Provide itself.
2450 (cl--labels-convert-cache): New var.
2451 (cl--labels-convert): New function.
2452 (cl-flet, cl-labels): New implementation with new semantics, relying on
2453 lexical-binding.
2454 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2455 (cl-closure-vars, cl--function-convert-cache)
2456 (cl--function-convert): Move from cl-macs.el.
2457 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2458 rename by removing the "cl-" prefix.
2459 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2460
6fa6c4ae
SM
24612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2464 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2465 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2466 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2467 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2468 (cl-hash-table-count): Add old compatibility aliases.
2469
2470 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2471 Use macroexpand-all-environment instead.
2472 (cl--old-macroexpand): New var.
2473 (cl--sm-macroexpand): New function.
2474 (cl-symbol-macrolet): Use it during macro expansion.
2475 (cl--function-convert-cache): New var.
2476 (cl--function-convert): New function, extracted from
2477 cl-macroexpand-all.
2478 (cl-lexical-let): Use it.
2479
2480 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2481 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2482 (cl-member): Remove old alias.
2483
2484 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2485 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2486 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2487 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2488 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2489 (cl-macroexpand-cmacs): Remove var.
2490 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2491 Use macroexpand-all instead.
2492
4dd1c416
SM
24932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2496 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2497 (macroexp-copyable-p): New functions and macros.
2498 * emacs-lisp/edebug.el (edebug-unwrap):
2499 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2500 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2501 (pcase--let*): Remove.
2502 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2503 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2504 macroexp-const-p instead.
2505 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2506
2507 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2508 instead of "cl-" for internal definitions. Use macroexp-const-p.
2509 (cl-old-bc-file-form): Remove var.
2510 (cl-const-exprs-p): Remove fun.
2511 (cl-labels, cl-macrolet): Use backquote.
2512 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2513 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2514 (cl-define-setf-expander): Rename from cl-define-setf-method.
2515 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2516
2517 * international/mule-cmds.el: Don't require CL.
2518 (view-hello-file): Don't use `letf'.
2519
ed8bd4d7
SM
25202012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2521
7287f2f3
SM
2522 * tmm.el (tmm-prompt): Use string-prefix-p.
2523 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2524 (tmm-add-prompt): Use minibuffer-completion-help.
2525 (tmm-delete-map): Remove.
2526
ed8bd4d7
SM
2527 * subr.el (kbd): Make it its own function.
2528
7b4cdbf4
SM
25292012-06-07 Stefan Merten <smerten@oekonux.de>
2530
2531 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2532 Silence compiler warnings. Fix versions.
ed8bd4d7 2533 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2534 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2535 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2536 (rst-package-emacs-version-alist): Correct Emacs version to
2537 represent major merge with upstream.
ed8bd4d7 2538 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2539
2b48d721
GM
25402012-06-06 Glenn Morris <rgm@gnu.org>
2541
2542 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2543 Only print environment variables if set.
2544
fa779ab0
SM
25452012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2548 (macroexp--cons): Rename from maybe-cons.
2549 (macroexp--accumulate): Rename from macroexp-accumulate.
2550 (macroexp--all-forms): Rename from macroexpand-all-forms.
2551 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2552 (macroexp--expand-all): Rename from macroexpand-all-1.
2553
628299e0
SS
25542012-06-06 Sam Steingold <sds@gnu.org>
2555
2556 * calendar/calendar.el (calendar-in-read-only-buffer):
2557 Call `special-mode' to enable the standard read-only keybindings.
2558
b7bb5838
SM
25592012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2562 with "loading" messages (bug#11635).
2563
dfb308ba
MA
25642012-06-06 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * files.el (enable-remote-dir-locals): New option.
2567 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2568
0372ee92
MA
2569 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2570 Ensure, that the temp directory is local.
2571
2572 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2573 `temporary-file-directory'.
2574
eed0bb91
MA
2575 * progmodes/python.el (python-send-region): Ensure, that the
2576 temporary file is created also in the remote case.
2577
7a58f64d
GM
25782012-06-06 Glenn Morris <rgm@gnu.org>
2579
f7dd4e98
GM
2580 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2581 (vc-rcs-update-changelog): Use it.
2582
090bd7cb 2583 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2584
7a58f64d
GM
2585 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2586 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2587 (vc-sccs-diff): Replace use of the external vcdiff script.
2588
daed4003
GM
25892012-06-05 Glenn Morris <rgm@gnu.org>
2590
2591 * ledit.el: Move to obsolete/.
2592
48c455c7
SS
25932012-06-05 Sam Steingold <sds@gnu.org>
2594
ed9265fc 2595 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2596 patch (Bug#11140).
2597
57a7d507
SM
25982012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2599
090bd7cb 2600 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2601
53aacf21
SM
2602 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2603 compiler-macro expansion.
2604
57a7d507
SM
2605 Add native compiler-macro support.
2606 * emacs-lisp/macroexp.el (macroexpand-all-1):
2607 Support compiler-macros directly. Properly follow aliases and apply
2608 the compiler macros more thoroughly.
2609 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2610 macroexpand now properly follows aliases.
2611 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2612 (cl-compiler-macroexpand): Use new prop.
2613 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2614
2615 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2616
51a5f9d8
MR
26172012-06-05 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (get-lru-window, get-mru-window, get-largest-window):
2620 New argument NOT-SELECTED to avoid picking the selected window.
2621 (window--display-buffer-1, window--display-buffer-2): Replace by
2622 new function window--display-buffer
2623 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2624 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2625 Use window--display-buffer.
51a5f9d8
MR
2626 (display-buffer-use-some-window): Remove temporary dedication
2627 hack by calling get-lru-window and get-largest-window with
2628 NOT-SELECTED argument non-nil. Call window--display-buffer.
2629
08f9f738
GM
26302012-06-05 Glenn Morris <rgm@gnu.org>
2631
2632 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2633 Replace external vcdiff script.
2634
e364a2b7
SM
26352012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2638
041df390
CY
26392012-06-04 Chong Yidong <cyd@gnu.org>
2640
e364a2b7
SM
2641 * image.el (imagemagick-types-inhibit): Revert last change.
2642 Add INFO and M.
47b36b94 2643 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2644
7c1898a7
SM
26452012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * emacs-lisp/cl-lib.el: Rename from cl.el.
2648 * emacs-lisp/cl.el: New compatibility file.
2649 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2650 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2651 to obey the "cl-" prefix.
2652 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2653
0c3461de
GM
26542012-06-03 Glenn Morris <rgm@gnu.org>
2655
1e266c88
GM
2656 * emacs-lisp/authors.el (authors-aliases): Addition.
2657
0c3461de
GM
2658 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2659 Fix :version.
2660
d8a52e15
SM
26612012-06-03 Stefan Merten <smerten@oekonux.de>
2662
2663 * textmodes/rst.el: Add comments.
2664 (rst-transition, rst-adornment): New faces.
2665 (rst-adornment-faces-alist): Make default safe to reevaluate.
2666 Fixes
2667 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2668 Improve customization tags.
2669 (rst-define-level-faces): Clarify meaning.
2670
5205d6f6
CY
26712012-06-03 Chong Yidong <cyd@gnu.org>
2672
2673 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2674 (compilation-mode-line-run, compilation-mode-line-exit):
2675 New faces.
5205d6f6
CY
2676 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2677
757ee657
JD
26782012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2679
7c1898a7
SM
2680 * progmodes/which-func.el (which-func-update-ediff-windows):
2681 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2682
5f2c76c6
CY
26832012-06-03 Chong Yidong <cyd@gnu.org>
2684
2685 * bindings.el: Remove explicit help text from format-mode-line.
2686 It is now supplied by mode-line-default-help-echo.
2687 (mode-line-front-space, mode-line-end-spaces)
2688 (mode-line-misc-info): New variables.
2689 (mode-line-modes, mode-line-position): Move the default value to
2690 the variable definition.
2691 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2692 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2693 (mode-line-modified-help-echo): New functions.
2694 (mode-line-mule-info, mode-line-modified): Use them.
2695 (mode-line-eol-desc, propertized-buffer-identification):
2696 Consistency fixes for help text.
cbe46e5f
CY
2697 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2698 set-buffer-file-coding-system (Bug#289).
2699 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2700
f2d6a3df
SM
27012012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * simple.el (execute-extended-command): Set real-this-command
2704 (bug#11506).
2705
37269466
CY
27062012-06-02 Chong Yidong <cyd@gnu.org>
2707
2708 Remove incorrect uses of "modeline" in comments, docstrings, and
2709 function/variable names (Bug#10329).
2710
2711 * cus-edit.el (mode-line):
2712 * dframe.el (dframe-mouse-hscroll):
2713 * emacs-lisp/re-builder.el:
2714 * emacs-lisp/easy-mmode.el (define-minor-mode):
2715 * frame.el (set-frame-name):
2716 * help.el (lookup-minor-mode-from-indicator):
2717 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2718 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2719 (c-toggle-hungry-state):
2720 * progmodes/antlr-mode.el (antlr-language-alist):
2721 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2722 * progmodes/vhdl-mode.el (vhdl-mode):
2723 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2724 * term/ns-win.el (ns-face-at-pos):
2725 * term/sup-mouse.el (sup-mouse-report):
2726 * textmodes/flyspell.el (flyspell-mode-line-string):
2727 * textmodes/ispell.el (ispell-highlight-face):
2728 * textmodes/reftex-global.el:
2729 * vc/vc-arch.el (vc-arch-mode-line-string):
2730 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2731 * vc/vc-git.el (vc-git-mode-line-string):
2732 * vc/vc-hooks.el (vc-display-status)
2733 (vc-default-mode-line-string):
2734 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2735
2736 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2737
2738 * dired.el (dired-sort-set-mode-line): Rename from
2739 dired-sort-set-modeline. All callers changed.
2740
2741 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2742 eshell-status-in-modeline.
2743
2744 * foldout.el (foldout-mode-line-string): Rename from
2745 foldout-modeline-string. All callers changed.
2746 (foldout-update-mode-line): Rename from foldout-update-modeline.
2747
2748 * subr.el (redraw-modeline): Make into obsolete alias.
2749
2750 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2751 timeclock-modeline-display. Make old name an alias.
2752 (timeclock-update-mode-line): Likewise. All callers changed.
2753 (timeclock-mode-line-display): No need to check before using
2754 add-hook.
2755 (timeclock-relative, timeclock-day-over-hook)
2756 (timeclock-use-elapsed, timeclock-mode-string)
2757 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2758
2759 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2760 crisp-mode-modeline-string.
2761
2762 * play/solitaire.el (solitaire-build-mode-line): Rename from
2763 solitaire-build-modeline. All callers changed.
2764
2765 * play/zone.el (zone-hiding-mode-line): Rename from
2766 zone-hiding-modeline. All callers changed.
2767 (zone): Remove unusued `modeline-hidden-level' property.
2768
2769 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2770 xscheme-modeline-initialize. All callers changed.
2771
2772 * strokes.el (strokes-lighter): Rename from
2773 strokes-modeline-string.
2774
2775 * textmodes/sgml-mode.el (html-face-tag-alist)
2776 (html-tag-face-alist): Use mode-line face instead of obsolete
2777 alias modeline.
2778
42152ee4
SM
27792012-06-02 Stefan Merten <smerten@oekonux.de>
2780
2781 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2782 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2783
95f520b5
CY
27842012-06-02 Chong Yidong <cyd@gnu.org>
2785
2786 * image.el (imagemagick-enabled-types): Rename from
2787 imagemagick-types-enable. Add many more types.
2788 (imagemagick-types-inhibit): Change default to nil.
2789 (imagemagick-filter-types): Caller changed.
2790
4a5f187a
SM
27912012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2792
03fef3e6
SM
2793 * emacs-lisp/cl-macs.el: Use backquotes.
2794 (cl-transform-function-property): Use eval-and-compile rather than
2795 abusing `require'.
2796 (defstruct): Use declare-function instead of with-no-warnings.
2797
4a5f187a
SM
2798 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2799 (byte-compile-output-docform): Re-add the print-circle bindings.
2800 (byte-compile-fix-header): Use #$ just because it's shorter.
2801 (byte-compile-output-file-form): Remove defun/defmacro.
2802
bd56924f
MR
28032012-06-01 Martin Rudalics <rudalics@gmx.at>
2804
2805 * simple.el (choose-completion): Remove now obsolete binding for
2806 owindow.
2807
046e38ce
MA
28082012-06-01 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2811 in order to avoid "Stack overflow in regexp matcher".
2812
32d72c2f
GM
28132012-05-31 Glenn Morris <rgm@gnu.org>
2814
2815 * image.el: For clarity, call imagemagick-register-types at
2816 top-level, rather than relying on a custom :initialize.
2817 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2818 (imagemagick-filter-types): New function. (Bug#7406)
2819 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2820 If disabling support, remove elements altogether rather
2821 than using an impossible regexp.
2822 (imagemagick-types-inhibit): Give it the default init function.
2823
dd41169b
SM
28242012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2825
4a5f187a
SM
2826 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2827 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2828
efc00ab1 28292012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2830
2831 * desktop.el (desktop-read): Clear previous and next buffers for
2832 all windows and bury *Messages* buffer (bug#11556).
2833
500fcedc
SM
28342012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 Add `declare' for `defun'. Align `defmacro's with it.
2837 * emacs-lisp/easy-mmode.el (define-minor-mode)
2838 (define-globalized-minor-mode): Don't autoload the var definitions.
2839 * emacs-lisp/byte-run.el: Use lexical-binding.
2840 (defun-declarations-alist, macro-declarations-alist): New vars.
2841 (defmacro, defun): Use them.
2842 (make-obsolete, define-obsolete-function-alias)
2843 (make-obsolete-variable, define-obsolete-variable-alias):
2844 Use `declare'.
2845 (macro-declaration-function): Mark obsolete.
2846 * emacs-lisp/autoload.el: Use lexical-binding.
2847 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2848
6e8a1786
AM
28492012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2850
2851 * textmodes/ispell.el (ispell-with-no-warnings):
2852 Define as a macro.
500fcedc
SM
2853 (ispell-kill-ispell, ispell-change-dictionary):
2854 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2855 `interactive-p'.
2856
61b108cc
SM
28572012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2860 (macro-declaration-function): Move var from C code.
2861 (macro-declaration-function): Define function with defalias.
2862 * emacs-lisp/macroexp.el (macroexpand-all-1):
2863 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2864 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2865 defun/defmacro any more.
2866 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2867 Provide fallback for unknown arglist.
2868 (byte-compile-arglist-warn): Change calling convention.
2869 (byte-compile-output-file-form): Move print-vars binding.
2870 (byte-compile-output-docform): Simplify accordingly.
2871 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2872 (byte-compile-defmacro-declaration): Remove.
2873 (byte-compile-file-form-defmumble): Generalize to defalias.
2874 (byte-compile-output-as-comment): Return byte-positions.
2875 Simplify callers accordingly.
2876 (byte-compile-lambda): Use `assert'.
2877 (byte-compile-defun, byte-compile-defmacro): Remove.
2878 (byte-compile-file-form-defalias):
2879 Use byte-compile-file-form-defmumble.
2880 (byte-compile-defalias-warn): Remove.
2881
6d3f7c2f
SM
28822012-05-29 Stefan Merten <smerten@oekonux.de>
2883
2884 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2885 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2886
2887 (rst-mode-abbrev-table): Merge definition.
2888 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2889 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2890
6dbaa1c7
UJ
28912012-05-29 Ulf Jasper <ulf.jasper@web.de>
2892
2893 * calendar/icalendar.el
2894 (icalendar-export-region): Export UID properly.
2895
d209e2fb 28962012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2897 * calendar/icalendar.el (icalendar-import-format):
2898 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2899 (icalendar-import-format-uid): New.
2900 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2901 Export UID.
2902
6876a58d
SM
29032012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2906 different alternative patterns.
2907 (pcase-codegen): Be more careful to preserve identity.
2908 (pcase--u1): Don't forget to mark vars as used.
2909
2910 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2911 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2912 (byte-compile-from-buffer): ...rather than here.
2913
2914 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2915 functions from byte-compile-function-environment.
2916
46b7967e
TN
29172012-05-29 Troels Nielsen <bn.troels@gmail.com>
2918
2919 * window.el (window-deletable-p): Avoid deleting the root window
2920 of a frame with an active minibuffer.
2921
69d565e2
MR
29222012-05-29 Martin Rudalics <rudalics@gmx.at>
2923
2924 * simple.el (choose-completion): Use quit-window (Bug#11567).
2925
a149fa51
CY
29262012-05-29 Chong Yidong <cyd@gnu.org>
2927
2928 * whitespace.el (whitespace-cleanup): Fix usage of
2929 whitespace-empty-at-bob-regexp (Bug#11492).
2930
2b311310
AH
29312012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2932
2933 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2934 revert (Bug#11488).
2935
b9cb2387
JL
29362012-05-29 Juri Linkov <juri@jurta.org>
2937
2938 * isearch.el (isearch-mode-map): Bind `M-s _' to
2939 `isearch-toggle-symbol'. Bind `M-s c' to
2940 `isearch-toggle-case-fold'.
2941 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2942 (isearch-forward): Add `M-s _' to the docstring.
2943 (isearch-forward-symbol, isearch-toggle-case-fold)
2944 (isearch-symbol-regexp): New functions. (Bug#11381)
2945
d5e61c1c
JL
29462012-05-29 Juri Linkov <juri@jurta.org>
2947
2948 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2949 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2950 a function, call it to get the regexp.
2951 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2952 property `isearch-message-prefix' instead of the string "word ".
2953 (isearch-search-fun-default): For the case of `isearch-word',
2954 return a lambda that calls re-search-forward/re-search-backward
2955 with a regexp returned by `word-search-regexp' or by the function
2956 in `isearch-word'.
2957
8cbd80f7
JL
29582012-05-29 Juri Linkov <juri@jurta.org>
2959
2960 * isearch.el (isearch-search-fun-default): New function.
2961 (isearch-search-fun): Move default part to the new function
2962 `isearch-search-fun-default'.
2963 (isearch-search-fun-function): Set the default value to
2964 `isearch-search-fun-default'. (Bug#11381)
2965
2966 * comint.el (comint-history-isearch-end):
2967 Use `isearch-search-fun-default'.
2968 (comint-history-isearch-search): Use `isearch-search-fun-default'
2969 and remove spacial case for `isearch-word'.
2970 (comint-history-isearch-wrap): Remove spacial case for
2971 `isearch-word'.
2972
2973 * hexl.el (hexl-isearch-search-function):
2974 Use `isearch-search-fun-default'.
2975
2976 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2977 Use `word-search-regexp' for `isearch-word'.
2978
2979 * misearch.el (multi-isearch-search-fun):
2980 Use `isearch-search-fun-default'.
2981
2982 * simple.el (minibuffer-history-isearch-search):
2983 Use `isearch-search-fun-default' and remove spacial case for
2984 `isearch-word'.
2985 (minibuffer-history-isearch-wrap): Remove spacial case for
2986 `isearch-word'.
2987
2988 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2989 Remove spacial case for `isearch-word'.
2990 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2991
85c8c5b6
AM
29922012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2993
2994 Decrease XEmacs incompatibilities.
2995 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2996 Use `string-match'.
2997 (flyspell-delete-region-overlays): Use alternative definition for
2998 XEmacs.
2999 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3000 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3001 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3002 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3003 `define-obsolete-face-alias' under XEmacs, but old method.
3004
3005 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3006 `with-no-warnings' definition or Emacs alias.
3007 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3008 (ispell-word): Do not use `region-p' if XEmacs.
3009
8cab9efc
AM
30102012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3011
3012 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3013 Check for `ispell-dictionary-base-alist' instead of full
3014 `ispell-dictionary-alist'.
3015 (ispell-init-process): Show spellchecker when starting new Ispell
3016 process.
3017
fda91268
RZ
30182012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3021 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3022
694ea8e3
JB
30232012-05-27 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * version.el (motif-version-string, gtk-version-string)
3026 (ns-version-string): Declare.
3027
e4d4f539
JL
30282012-05-27 Juri Linkov <juri@jurta.org>
3029
3030 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3031 after the `eval-defun-1' specialcaseing
3032 like in `edebug-eval-defun' (bug#10181).
3033
3034 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3035 like in `eval-defun-1'.
3036
33017faf 30372012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3038
fda91268
RZ
3039 * mail/sendmail.el (mail-yank-region):
3040 Recognize rmail-yank-current-message in addition to insert-buffer.
3041 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3042 a *mail* buffer created through rmail-start-mail with sendmail as
3043 mail-user-agent.
3044
33017faf
GM
30452012-05-27 Chong Yidong <cyd@gnu.org>
3046
3047 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3048 Default to 256 (Bug#11267).
3049
3050 * help.el (describe-mode): Doc fix.
3051
04188bb9
GM
30522012-05-26 Glenn Morris <rgm@gnu.org>
3053
38264cc9
GM
3054 * w32-fns.el (w32-init-info): Remove.
3055 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3056
eb7afdad
GM
3057 * info.el (info-initialize): For self-contained NS builds, put the
3058 included info/ directory at the front. (Bug#2791)
3059
04188bb9
GM
3060 * paths.el (Info-default-directory-list): Make it a defcustom,
3061 mainly so that we can use custom-initialize-delay.
3062
a179e3f7
SM
30632012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3064
43416392
SM
3065 * subr.el (buffer-has-markers-at): Mark obsolete.
3066
a179e3f7 3067 * subr.el (lambda): Use declare.
43416392 3068
a179e3f7
SM
3069 * emacs-lisp/lisp-mode.el (lambda):
3070 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3071
34a008d9
AH
30722012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3073
3074 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3075
0a3b289f
GM
30762012-05-26 Glenn Morris <rgm@gnu.org>
3077
3078 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3079
758c81e8
GM
30802012-05-25 Glenn Morris <rgm@gnu.org>
3081
f9f334f0
GM
3082 * paths.el: Remove no-byte-compile.
3083 * loadup.el: No need to load paths.el uncompiled.
3084
87eb79c2
GM
3085 * image.el (imagemagick-types-inhibit): Doc fix.
3086
758c81e8
GM
3087 * version.el: Remove no-byte-compile and associated formatting.
3088 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3089 is ancient code from when there was an "inc-vers.el".
3090
e7e85dc0
SM
30912012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * progmodes/gdb-mi.el: Minor style changes.
3094 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3095 Turn into minor modes.
3096 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3097 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3098 (gdb-shell): Remove unneeded let-binding.
3099 (gdb-get-many-fields): Eliminate O(n²) behavior.
3100
f31237a4
EZ
31012012-05-25 Eli Zaretskii <eliz@gnu.org>
3102
3103 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3104 platforms that don't link in fontset.c.
3105
bc1b21bb
JL
31062012-05-25 Juri Linkov <juri@jurta.org>
3107
3108 Use the same diff color scheme as in modern VCSes (bug#10181).
3109
3110 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3111 to avoid confusion with `diff-added' that now uses green colors.
3112 (diff-removed): Use shades of red.
3113 (diff-added): Use shades of green.
3114 (diff-changed): Leave just the yellow color.
3115 (diff-use-changed-face): New variable.
3116 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3117 how to highlight context diff changes.
3118 (diff-refine-change): Use shades of yellow.
3119 (diff-refine-removed): New face that uses shades of red.
3120 (diff-refine-added): New face that uses shades of green.
3121 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3122 `diff-refine-removed' in the call to `smerge-refine-subst'
3123 depending on the value of `diff-use-changed-face'.
3124
3125 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3126 (smerge-other): Use shades of green.
3127 (smerge-base): Use shades of yellow.
3128 (smerge-refined-change): Empty face.
3129 (smerge-refined-removed): New face that uses shades of red.
3130 (smerge-refined-added): New face that uses shades of green.
3131 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3132 args `props-r' and `props-a', and use them. Doc fix.
3133 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3134 on its value use different faces `smerge-refined-change',
3135 `smerge-refined-removed', `smerge-refined-added' in the call to
3136 `smerge-refine-subst'.
3137
3138 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3139 Add face condition `min-colors 88' with shades of red.
3140 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3141 `min-colors 88' with shades of green.
3142 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3143 `min-colors 88' with shades of yellow.
3144
6df9112c
GM
31452012-05-24 Glenn Morris <rgm@gnu.org>
3146
ead5edc0
GM
3147 * paths.el (prune-directory-list, remote-shell-program): Move to...
3148 * files.el (prune-directory-list, remote-shell-program): ...here.
3149 For the latter, delay initialization, prefer ssh, just search PATH.
3150
f18b81e6
GM
3151 * paths.el (term-file-prefix): Move to faces.el (the only user).
3152 * faces.el (term-file-prefix): Move here, make it a defcustom.
3153
ee2f89a6
GM
3154 * paths.el (news-directory, news-path, news-inews-program):
3155 Move to gnus/nnspool.el.
61a583ca 3156
f8815e4c
GM
3157 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3158
c8f3b42c
GM
3159 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3160 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3161 Make the latter a defcustom, with a delayed initialization.
3162
6df9112c
GM
3163 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3164 These were deleted from Gnus itself late 2010.
3165
5dadff36
JB
31662012-05-22 Juanma Barranquero <lekktu@gmail.com>
3167
9e1701c6
JB
3168 * progmodes/which-func.el (which-func-ff-hook):
3169 Check against user-error, not error.
3170
bd7239f5 3171 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3172 cl-specs.el, which no longer exists.
3173
3290526d
GM
31742012-05-22 Glenn Morris <rgm@gnu.org>
3175
3176 * info.el (info-emacs-bug): New command.
3177 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3178 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3179
ff0c3cfb
GM
31802012-05-21 Glenn Morris <rgm@gnu.org>
3181
3182 * makefile.w32-in (update-subdirs-SH):
3183 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3184
5814f126
SM
31852012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3186
a52c0aa0
SM
3187 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3188
5814f126
SM
3189 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3190 Simplify Maven regexp, and make sure the file can't start with a space
3191 (bug#11517).
3192
b847032c
GM
31932012-05-21 Glenn Morris <rgm@gnu.org>
3194
3195 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3196 Scrap superfluous subshells.
3197
3858bfe7
SM
31982012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3199
3200 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3201 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3202
d14b0029
JB
32032012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3204
3205 * calc/calc.el (calc-ensure-consistent-units): New variable.
3206
a52c0aa0
SM
3207 * calc/calc-units.el (math-consistent-units-p)
3208 (math-check-unit-consistency): New functions.
3209 (calc-quick-units, calc-convert-units):
3210 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3211 is non-nil.
d14b0029
JB
3212 (calc-extract-units): Fix typo.
3213
60c4db3a
SM
32142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3215
77f3b62e
SM
3216 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3217
60c4db3a
SM
3218 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3219 (flyspell-default-deplacement-commands): Don't spell check after
3220 repeated window/frame switches (e.g. triggered by mouse-movement).
3221 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3222 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3223 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3224 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3225 Remove unused vars.
3226 (flyspell-get-casechars, flyspell-get-not-casechars):
3227 Simplify; Don't bother removing a ] just to add it back.
3228 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3229
d209e2fb 32302012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3231
3232 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3233 New functions.
bd7239f5 3234 (math-function-table): Add support for more C functions.
b1a10716 3235
3f1b25b5
AM
32362012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3237
090bd7cb
JB
3238 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3239 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3240 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3241
b581bb5c
SM
32422012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3245 their respective macro declarations.
3246 * skeleton.el (define-skeleton):
3247 * progmodes/compile.el (define-compilation-mode):
3248 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3249 (define-ibuffer-filter):
3250 * emacs-lisp/generic.el (define-generic-mode):
3251 * emacs-lisp/easy-mmode.el (define-minor-mode)
3252 (define-globalized-minor-mode):
3253 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3254 * emacs-lisp/byte-run.el (defsubst):
3255 * custom.el (deftheme): Add doc-string metadata.
3256
70b8ef8f
SM
32572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3260
b1198e17
SM
32612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3262
9abdc45d
SM
3263 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3264
b1198e17
SM
3265 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3266 * emacs-lisp/cl-macs.el: Idem.
3267 * emacs-lisp/cl-specs.el: Remove.
3268
4735906a
SM
32692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 Minor renaming of internal CL functions and variables.
3272 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3273 (cl--position): Rename from cl-position.
3274 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3275 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3276 (cl--random-state): Rename from *random-state*.
3277
ac348012
SM
32782012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3281 parens around the arg list (bug#11499).
3282
a0a79cde
JL
32832012-05-17 Juri Linkov <juri@jurta.org>
3284
3285 * isearch.el (word-search-regexp, word-search-backward)
3286 (word-search-forward, word-search-backward-lax)
3287 (word-search-forward-lax): Move functions from search.c
3288 (bug#10145, bug#11381).
3289
65034a51
AM
32902012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3291
090bd7cb
JB
3292 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3293 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3294 Delay for otherchars as for normal word components.
65034a51 3295
1a72a195
SM
32962012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * minibuffer.el (completion--sifn-requote): Fix last change.
3299 (minibuffer-local-must-match-filename-map):
3300 Move define-obsolete-variable-alias before its var.
3301
fdb058c2
SM
33022012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3303
c41045e6
SM
3304 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3305
036dfb8b
SM
3306 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3307 behavior.
3308 (completion--string-equal-p): New function.
3309 (completion--twq-all): Use it to get better assertion failure data.
3310
2473256d
SM
3311 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3312 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3313 (shell--requote-argument): New functions.
3314 (shell-completion-vars): Use them.
3315 (shell--parse-pcomplete-arguments): Rename from
3316 shell-parse-pcomplete-arguments.
3317 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3318 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3319 Obey comint-file-name-quote-list.
3320
fdb058c2
SM
3321 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3322 (smie-indent-keyword): Use it.
3323
51fa99f1
SM
33242012-05-14 Stefan Merten <smerten@oekonux.de>
3325
3326 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3327
e18afed7 33282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3329
3330 * net/rlogin.el (rlogin-mode-map): Fix last change.
3331
e18afed7 33322012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3333
3334 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3335 the following \r\n using a single `process-send-string', since the
3336 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3337 with two `process-send-string's (Bug#11444).
8633b1f4 3338
e18afed7 33392012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3340
fdb058c2
SM
3341 * shell.el (shell-parse-pcomplete-arguments):
3342 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3343
2d21d7f6
WJ
33442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3345
e18afed7 3346 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3347 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3348 (image-transform-width, image-transform-fit-width): New functions.
3349 (image-transform-properties): Use them.
3350 (image-transform-check-size): New function.
3351 (image-toggle-display-image): Use it (for testing).
3352 (image-transform-set-rotation): Reduce angle mod 360.
3353 Delete obsolete comment.
3354
7102e6d0
WJ
33552012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3356
3357 * image-mode.el: Fix scaling (bug#11399).
3358 (image-transform-resize): Doc fix.
3359 (image-transform-properties): Default scale is 1 and height should
3360 be an integer.
3361
06bc5e6e
SM
33622012-05-13 Johan Bockgård <bojohan@gnu.org>
3363
3364 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3365 than hard-coding `car', to fix misbehavior when moving forward.
3366
0ae03b6a
CY
33672012-05-13 Chong Yidong <cyd@gnu.org>
3368
3369 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3370 (tabulated-list-entries, tabulated-list-padding)
3371 (tabulated-list-sort-key): Make permanent-local.
3372
3373 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3374 (electric-buffer-list): Put electric buffer menu
3375 command descriptions in this docstring, instead of the docstring
3376 of electric-buffer-menu-mode. Code cleanups.
3377 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3378 Electric-buffer-menu-mode.
3379 (electric-buffer-update-highlight): Minor code cleanup.
3380
205a7391
MA
33812012-05-13 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3384 (Bug#11447)
3385
e5bd0a28
SM
33862012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 Move define-obsolete-variable-alias before the var's definition.
3389 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3390 * tooltip.el (tooltip-hook):
3391 * textmodes/reftex-toc.el (reftex-toc-map):
3392 * textmodes/reftex-sel.el (reftex-select-label-map)
3393 (reftex-select-bib-map):
3394 * textmodes/reftex-index.el (reftex-index-map)
3395 (reftex-index-phrases-map):
3396 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3397 * progmodes/meta-mode.el (meta-mode-map):
3398 * novice.el (disabled-command-hook):
3399 * loadhist.el (unload-hook-features-list):
3400 * frame.el (blink-cursor):
3401 * files.el (find-file-not-found-hooks, write-file-hooks)
3402 (write-contents-hooks):
3403 * emulation/tpu-edt.el (GOLD-map):
3404 * emacs-lock.el (emacs-lock-from-exiting):
3405 * emacs-lisp/generic.el (generic-font-lock-defaults):
3406 * emacs-lisp/chart.el (chart-map):
3407 * dos-fns.el (register-name-alist):
3408 * dired-x.el (dired-omit-files-p):
3409 * desktop.el (desktop-enable):
3410 * cus-edit.el (custom-mode-hook):
3411 * buff-menu.el (buffer-menu-mode-hook):
3412 * bookmark.el (bookmark-read-annotation-text-func)
3413 (bookmark-exit-hooks):
3414 * allout.el (allout-mode-deactivate-hook)
3415 (allout-exposure-change-hook, allout-structure-added-hook)
3416 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3417 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3418 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3419 comes before the corresponding variable's definition.
3420
ac59c2f6
CY
34212012-05-12 Chong Yidong <cyd@gnu.org>
3422
3423 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3424 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3425 (Buffer-menu-mode-map): Bind it.
3426 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3427
dee6c9a3
SM
34282012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3429
2171cea5
SM
3430 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3431 (prolog-upper-case-string, prolog-lower-case-string)
3432 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3433 (prolog-use-smie, prolog-smie-grammar): New vars.
3434 (prolog-smie-forward-token, prolog-smie-backward-token)
3435 (prolog-smie-rules): New funs.
3436 (prolog-comment-indent): Remove.
3437 (prolog-mode-variables): Use default comment indentation instead.
3438 Setup SMIE.
3439 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3440 (prolog-mode): Don't call them any more.
3441 (prolog-electric-colon, prolog-electric-dash)
3442 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3443
aa0382bd
SM
3444 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3445
dbacb4bd
SM
3446 * minibuffer.el (completion--twq-all): Again, allow case differences.
3447
13bdd94c
SM
3448 * term.el: Move keymap initialization code to be more idiomatic.
3449 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3450 (term-terminal-menu): Move initialization into declaration.
3451 (term-escape-char): Let the user set it in her .emacs.
3452
ff46c759
SM
3453 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3454 Provide SMIE-based indentation (not enabled by default yet).
3455 (sh-mode-map): Don't bind electric keys.
3456 Use electric-pair-mode instead of skeleton-pair.
3457 (sh-assignment-regexp): Fit within 80 columns.
3458 (sh-indent-supported): Specify actual shell name instead of boolean.
3459 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3460 (sh-maybe-here-document): Use it. Make obsolete.
3461 (sh-electric-here-document-mode) New minor mode.
3462 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3463 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3464 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3465 (sh-smie-rc-grammar, sh-use-smie): New vars.
3466 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3467 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3468 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3469 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3470 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3471 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3472 (sh-set-shell): Use smie-setup if requested.
3473
dee6c9a3
SM
3474 * term.el (term-set-escape-char): Properly set term-escape-char.
3475 See http://stackoverflow.com/questions/10524656.
3476
9f9aa044
CY
34772012-05-10 Chong Yidong <cyd@gnu.org>
3478
3479 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3480 Use url-generic-parse-url, and handle host names and Windows
3481 filenames properly.
3482 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3483 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3484 URL schemes to work on.
3485 (ffap--toggle-read-only): New function.
3486 (ffap-read-only, ffap-read-only-other-window)
3487 (ffap-read-only-other-frame): Use it.
3488 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3489 necessary for ffap-url-unwrap-remote.
3490
836d29b3
DA
34912012-05-10 Dave Abrahams <dave@boostpro.com>
3492
3493 * cus-start.el (create-lockfiles): Add it.
3494
00fd78ed
CY
34952012-05-09 Chong Yidong <cyd@gnu.org>
3496
3497 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3498 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3499
666b903b 35002012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3501
3502 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3503
666b903b 35042012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3505
3506 * ansi-color.el (ansi-color-process-output): Check for validity of
3507 comint-last-output-start before using it. This avoids a bad
3508 interaction with gdb-mi's input/output buffer.
3509
666b903b 35102012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3511
3512 * files.el (dir-locals-read-from-file):
3513 Mention dir-locals in any error message.
3514
666b903b 35152012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3516
3517 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3518 package (Bug#11410).
3519
f677562b
CY
3520 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3521 variables into description.
3522
666b903b 35232012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3524
3525 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3526 shell-delimiter-argument-list (bug#11348).
3527 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3528
b499d8d0
JB
35292012-05-09 Juanma Barranquero <lekktu@gmail.com>
3530
8f6b6da8
JB
3531 * textmodes/rst.el: Silence byte-compiler warnings.
3532 (rst-re-alist, rst-reset-section-caches): Move around.
3533 (rst-re): Use `characterp', not `char-valid-p'.
3534 (font-lock-beg, font-lock-end): Declare.
3535
4824146a
JB
3536 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3537 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3538
b499d8d0
JB
3539 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3540
ad89bb83
GM
35412012-05-08 Glenn Morris <rgm@gnu.org>
3542
3543 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3544
8bba5a75
SM
35452012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3546
49ed9c8e
SM
3547 * vc/log-edit.el: Add GNU coding standards highlighting.
3548 (log-edit-font-lock-gnu-style)
3549 (log-edit-font-lock-gnu-keywords): New vars.
3550 (log-edit-font-lock-keywords): New fun.
3551 (log-edit-mode): Don't fold case in font-lock.
3552 (log-edit-font-lock-keywords): Do not assume case-folding.
3553
07d00b56
SM
3554 * imenu.el: Misc cleanup. Make docstrings out of comments.
3555 Use lexical-binding.
3556 (imenu--index-alist, imenu--last-menubar-index-alist)
3557 (imenu-menubar-modified-tick): Use defvar-local.
3558 (imenu--split-menu): Remove unused var.
3559 (imenu--cleanup-seen): Declare as global.
3560 (imenu--cleanup): Use dolist.
3561
8bba5a75
SM
3562 * subr.el (defvar-local): Add debug spec and doc-string position.
3563
5075bdb5
GM
35642012-05-08 Glenn Morris <rgm@gnu.org>
3565
090bd7cb 3566 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3567 * language/english.el, language/georgian.el, language/greek.el:
3568 * language/japanese.el, language/khmer.el, language/korean.el:
3569 * language/lao.el, language/misc-lang.el, language/romanian.el:
3570 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3571 * language/thai.el, language/utf-8-lang.el:
3572 Remove no-byte-compile setting.
3573
5075bdb5
GM
3574 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3575
06f679a7
AH
35762012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3577
3578 * progmodes/make-mode.el (makefile-browse):
3579 Remove unnecessary interactive. (Bug#11324)
3580
03794570
GM
35812012-05-07 Glenn Morris <rgm@gnu.org>
3582
af8630f4
GM
3583 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3584
03794570
GM
3585 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3586
f0809a9d
SM
35872012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3588
28be5ce7
SM
3589 * loadup.el: Preload newcomment.el.
3590 * newcomment.el: Move autoload-only code to toplevel.
3591
f0809a9d
SM
3592 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3593 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3594 Handle new :right-align column property.
3595 (tabulated-list-print-col): Idem, plus use `display' text-property to
3596 try and preserve alignment for variable pitch fonts.
3597
1241b724
CY
35982012-05-07 Chong Yidong <cyd@gnu.org>
3599
3600 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3601 (tabulated-list-use-header-line): New var.
3602 (tabulated-list-init-header): Use it.
3603 (tabulated-list-print-fake-header): New function.
3604 (tabulated-list-print): Use it.
3605 (tabulated-list-sort-button-map): Add non-header-line commands.
3606 (tabulated-list-init-header): Add column name property to basic
3607 labels as well.
3608 (tabulated-list-col-sort): Handle non-header-line button case.
3609 (tabulated-list--sort-by-column-name): Fix a corner case.
3610
f0809a9d
SM
3611 * buff-menu.el (list-buffers--refresh):
3612 Handle Buffer-menu-use-header-line.
1241b724 3613
e5f9458f
CY
36142012-05-06 Chong Yidong <cyd@gnu.org>
3615
3616 * buff-menu.el: Convert to Tabulated List mode.
3617 (Buffer-menu-buffer+size-width): Make obsolete.
3618 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3619 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3620 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3621 documentation into docstring of buffer-menu.
3622 (Buffer-menu-toggle-files-only): Add an informative message.
3623 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3624 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3625 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3626 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3627 (Buffer-menu-execute, Buffer-menu-select)
3628 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3629 (Buffer-menu-bury): Use Tabulated List machinery.
3630 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3631 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3632 Delete.
e5f9458f
CY
3633 (list-buffers--refresh): New function.
3634 (list-buffers-noselect): Use it.
3635 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3636 (Buffer-menu--pretty-file-name): New helper functions.
3637
3638 * loadup.el: Preload tabulated-list.
3639
3640 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3641 tabulated-list-sort-column.
3642 (tabulated-list-init-header): Add the initial aligning space even
3643 if tabulated-list-padding is zero.
3644
e129292c
CS
36452012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3646
3647 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3648 whose cdr is not a cons cell correctly (bug#11038).
3649
6632d361
CY
36502012-05-06 Chong Yidong <cyd@gnu.org>
3651
e129292c
CS
3652 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3653 Accept additional plist in column descriptors.
6632d361
CY
3654 (tabulated-list-init-header): Obey it.
3655 (tabulated-list-get-entry): New function.
3656 (tabulated-list-put-tag): Use it. Use string-width instead of
3657 length.
3658 (tabulated-list--column-number): New function.
3659 (tabulated-list-print): Use it.
e129292c
CS
3660 (tabulated-list-print-col): New function.
3661 Set `tabulated-list-column-name' property on each column's text.
6632d361 3662 (tabulated-list-print-entry): Use it.
e129292c
CS
3663 (tabulated-list-delete-entry, tabulated-list-set-col):
3664 New functions.
6632d361
CY
3665 (tabulated-list-sort-column): New command (Bug#11337).
3666
3cc99f68
CY
3667 * buff-menu.el (list-buffers): Move C-x C-b binding from
3668 buff-menu.el to bindings.el.
3669
3670 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3671 :advertised-binding feature.
3672
52b61776
TN
36732012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3674
3675 * progmodes/compile.el (compilation-internal-error-properties):
3676 Calculate start position correctly when end-col is set but
3677 end-line is not (Bug#11382).
3678
ebfe2597
WJ
36792012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3680
3681 * man.el (Man-unindent): Use text-property-default-nonsticky to
3682 prevent untabify from inheriting face properties (Bug#11408).
3683
6d3f7c2f
SM
36842012-05-05 Stefan Merten <smerten@oekonux.de>
3685
3686 * textmodes/rst.el: Major merge with upstream development up to
3687 Docutils SVN r7399 / rst.el V1.2.1.
3688
3689 Clarify maintainership and authors.
3690
3691 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3692 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3693 (rst-official-version, rst-official-cvs-rev, rst-version)
3694 (rst-package-emacs-version-alist): New functions and variables
3695 for version information.
3696
3697 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3698 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3699 (rst-mode-syntax-table, rst-mode): New and corrected functions
3700 and variables representing reStructuredText features.
3701
3702 (rst-re): New function for reStructuredText regexes. Use in
3703 many places.
3704
3705 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3706 (rst-mode-map): Rebind keys.
3707
3708 (rst-mode-lazy, rst-font-lock-keywords)
3709 (rst-font-lock-extend-region)
3710 (rst-font-lock-extend-region-internal)
3711 (rst-font-lock-extend-region-extend)
3712 (rst-font-lock-find-unindented-line-limit)
3713 (rst-font-lock-find-unindented-line-match)
3714 (rst-adornment-level, rst-font-lock-adornment-level)
3715 (rst-font-lock-adornment-match)
3716 (rst-font-lock-handle-adornment-pre-match-form)
3717 (rst-font-lock-handle-adornment-matcher): Major revision of
3718 font-locking. Integrate with other code. Use `jit-lock-mode'.
3719
3720 (rst-preferred-adornments, rst-adjust-hook)
3721 (rst-new-adornment-down, rst-preferred-bullets)
3722 (rst-preferred-bullets, rst-indent, rst-indent-width)
3723 (rst-indent-field, rst-indent-literal-normal)
3724 (rst-indent-literal-minimized, rst-indent-comment): Change,
3725 extend and improve customization.
3726
3727 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3728 (rst-normalize-cursor-position, rst-get-decoration)
3729 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3730 (rst-rstrip, rst-toc-insert-find-delete-contents)
3731 (rst-shift-fill-region, rst-compute-bullet-tabs)
3732 (rst-debug-print-tabs, rst-debug-mark-found)
3733 (rst-shift-region-guts, rst-shift-region-right)
3734 (rst-shift-region-left, rst-use-char-classes)
3735 (rst-font-lock-keywords-function)
3736 (rst-font-lock-indentation-point)
3737 (rst-font-lock-find-unindented-line-begin)
3738 (rst-font-lock-find-unindented-line-end)
3739 (rst-font-lock-find-unindented-line)
3740 (rst-font-lock-adornment-point, rst-font-lock-level)
3741 (rst-adornment-level-alist): Remove functions and variables.
3742
3743 (rst-compare-adornments, rst-get-adornment-match)
3744 (rst-suggest-new-adornment, rst-get-adornments-around)
3745 (rst-adornment-complete-p, rst-get-next-adornment)
3746 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3747 (rst-straighten-adornments): Standardize function names to
3748 use "adornment" instead of "decoration". Correct callers.
3749 Similar standardizing in many places.
3750
3751 (rst-update-section, rst-adjust, rst-promote-region)
3752 (rst-enumerate-region, rst-bullet-list-region)
3753 (rst-repeat-last-character): Correct use of `interactive'.
3754
3755 (rst-classify-adornment, rst-find-all-adornments)
3756 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3757 (rst-find-leftmost-column, rst-repeat-last-character):
3758 Refactor functions.
3759
3760 (rst-find-title-line, rst-reset-section-caches)
3761 (rst-get-adornments-around, rst-adjust-adornment-work)
3762 (rst-arabic-to-roman, rst-roman-to-arabic)
3763 (rst-insert-list-pos, rst-insert-list-new-item)
3764 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3765 New functions.
3766
3767 (rst-all-sections, rst-section-hierarchy)
3768 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3769 New variables.
3770
3771 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3772 configuration instead of only buffer. Change where necessary.
3773
3774 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3775 (rst-shift-region, rst-adaptive-fill): New functions for
3776 indentation and filling.
3777
3778 (rst-comment-line-break, rst-comment-indent)
3779 (rst-comment-insert-comment, rst-comment-region)
3780 (rst-uncomment-region): New functions for handling comments.
3781
3782 (rst-compile): Quote shell arguments.
3783
3784 (rst-compile-pdf-preview, rst-compile-slides-preview):
3785 Delete temporary files after use.
3786
a43f98b3
GM
37872012-05-05 Glenn Morris <rgm@gnu.org>
3788
48176e8b
GM
3789 * calendar/cal-html.el: Optionally include holidays in the output.
3790 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3791 (cal-html-holidays): New option.
3792 (cal-html-css-default): Add holiday entry.
3793 (holiday-in-range): Autoload it.
3794 (cal-html-htmlify-entry): Add optional class argument.
3795 (cal-html-htmlify-list): Add optional holidays argument.
3796 (cal-html-insert-agenda-days): Include holidays in the output.
3797 (cal-html-one-month): Maybe include holidays.
3798
a43f98b3
GM
3799 * calendar/holidays.el (holiday-in-range):
3800 Move here from cal-tex-list-holidays.
3801 * calendar/cal-tex.el (cal-tex-list-holidays):
3802 Make it an obsolete alias for holiday-in-range. Update all callers.
3803
fef9d149 38042012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3805
3806 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3807 Nextstep.
3808
248da2f4
RW
38092012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3810
3811 * files.el (file-auto-mode-skip): New var.
3812 (set-auto-mode-1): Use it.
3813
f95e9344
SM
38142012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3815
df96ab1e
SM
3816 * repeat.el: Use lexical-binding.
3817 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3818 (repeat-undo-count): Remove.
3819 (repeat):
3820 * progmodes/octave-mod.el (octave-abbrev-start):
3821 * progmodes/f90.el (f90-abbrev-start):
3822 * face-remap.el (text-scale-adjust):
3823 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3824
5342bb06
SM
3825 * emacs-lisp/pcase.el (pcase--let*): New function.
3826 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3827 a bit more.
3828 (pcase--split-pred): Be more clever about ruling out overlap between
3829 a predicate and some constant pattern.
3830 (pcase--q1): Use `null' instead of (eq foo nil).
3831
f95e9344
SM
3832 * subr.el (setq-local, defvar-local): New macros.
3833 (kbd): Redefine as an alias.
3834 (with-selected-window): Leave unrelated frames alone.
3835 (set-temporary-overlay-map): New function.
3836
71873e2b
SM
38372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * subr.el (user-error): New function.
3840 * window.el (switch-to-buffer):
3841 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3842 (smerge-match-conflict):
3843 * simple.el (previous-matching-history-element)
3844 (next-matching-history-element, goto-history-element, undo-more)
3845 (undo-start):
3846 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3847 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3848 (next-file, tags-loop-scan, list-tags, complete-tag):
3849 * progmodes/compile.el (compilation-loop):
3850 * mouse.el (mouse-minibuffer-check):
3851 * man.el (Man-bgproc-sentinel, Man-goto-page):
3852 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3853 (Info-history-forward, Info-follow-reference, Info-menu)
3854 (Info-extract-menu-item, Info-extract-menu-counting)
3855 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3856 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3857 (Info-next-reference, Info-prev-reference, Info-index)
3858 (Info-index-next, Info-follow-nearest-node)
3859 (Info-copy-current-node-name):
3860 * imenu.el (imenu--make-index-alist)
3861 (imenu-default-create-index-function, imenu-add-to-menubar):
3862 * files.el (basic-save-buffer, recover-file):
3863 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3864 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3865 (checkdoc-message-text, checkdoc-defun):
3866 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3867 * cus-edit.el (customize-changed-options, customize-rogue)
3868 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3869 (custom-variable-mark-to-reset-standard)
3870 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3871 (custom-file):
3872 * completion.el (check-completion-length):
3873 * comint.el (comint-search-arg)
3874 (comint-previous-matching-input-string-position)
3875 (comint-previous-matching-input)
3876 (comint-replace-by-expanded-history-before-point, comint-send-input)
3877 (comint-copy-old-input, comint-backward-matching-input)
3878 (comint-goto-process-mark, comint-set-process-mark):
3879 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3880 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3881
8a61ee22
SM
38822012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3883
66408d1e
SM
3884 * dabbrev.el (dabbrev--ignore-case-p): New function.
3885 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3886 Use it.
3887
8a61ee22
SM
3888 * files.el (automount-dir-prefix): Mark as obsolete.
3889
3c74813a
GM
38902012-05-04 Glenn Morris <rgm@gnu.org>
3891
3892 * patcomp.el, play/bruce.el: Move to obsolete/.
3893
0bfcf5c5
PE
38942012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3895
3896 Fix minor Y10k bugs.
3897 * arc-mode.el (archive-unixdate):
3898 * autoinsert.el (auto-insert-alist):
3899 * calc/calc-forms.el (math-this-year):
3900 * emacs-lisp/copyright.el (copyright-current-year)
3901 (copyright-update-year, copyright):
3902 * tar-mode.el (tar-clip-time-string):
3903 * time.el (display-time-update):
3904 Don't assume years have 4 digits.
3905
78f3273a
CY
39062012-05-04 Chong Yidong <cyd@gnu.org>
3907
3908 * dos-w32.el (file-name-buffer-file-type-alist)
3909 (direct-print-region-use-command-dot-com):
3910 * ffap.el (ffap-menu-regexp):
3911 * find-file.el (ff-special-constructs):
3912 * follow.el (follow-debug):
3913 * forms.el (forms--debug):
3914 * iswitchb.el (iswitchb-all-frames):
3915 * ido.el (ido-all-frames):
3916 * emacs-lisp/timer.el (timer-max-repeats):
3917 * mail/feedmail.el (feedmail-mail-send-hook)
3918 (feedmail-mail-send-hook-queued):
3919 * mail/footnote.el (footnote-signature-separator):
3920 * mail/mailabbrev.el (mail-alias-separator-string)
3921 (mail-abbrev-mode-regexp):
3922 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3923 * progmodes/idlwave.el (idlwave-libinfo-file)
3924 (idlwave-default-completion-case-is-down)
3925 (idlwave-library-routines): Convert defvars to defcustoms.
3926
3927 * mail/rmail.el (rmail-decode-mime-charset):
3928 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3929 (idlwave-shell-fix-inserted-breaks)
3930 (idlwave-shell-activate-alt-keybindings)
3931 (idlwave-shell-use-breakpoint-glyph):
3932 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3933
f7ae6719
SM
39342012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3937
47086495
WS
39382012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3939
3940 * progmodes/verilog-mode.el (font-lock-keywords):
3941 Fix mis-highligting auto. Reported by Craig Barner.
3942 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3943 defines from global name space. Reported by Dan Dever.
3944 (verilog-auto-reset, verilog-auto-reset-widths)
3945 (verilog-auto-tieoff): Support using unbased numbers for
3946 AUTORESET and AUTOTIEOFF.
3947 (verilog-submit-bug-report): Update variable list.
3948 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3949 parenthesis from not matching. Reported by Michael Rytting.
3950 (verilog-auto-template-lint): Fix hash error when linting modules
3951 with no used templates.
3952 (verilog-warn, verilog-warn-error)
3953 (verilog-warn-fatal): When non-interactive report multiple
3954 warnings before exiting. Suggested by Brad Dobbie.
3955 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3956 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3957 to report unused template errors. Reported by Brad Dobbie.
3958 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3959 nets, bug438. Reported by Vns Blore.
3960 (verilog-auto-inout-module, verilog-auto-reg)
3961 (verilog-read-decls, verilog-read-sub-decls-sig)
3962 (verilog-signals-edit-wire-reg, verilog-signals-with):
3963 Fix passing of Verilog data types in ANSI input/output ports
3964 such as "output logic" into the AUTOs. Special case "wire" and
3965 "reg" for backwards compatibility presuming Verilog 2001.
3966 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3967 (verilog-preprocess): Fix replication of preprocess output.
3968 Reported by Brad Dobbie.
3969 (verilog-auto-inst-interfaced-ports):
3970 Create verilog-auto-inst-interfaced-ports, bug429.
3971 Reported by Julian Gorfajn.
3972 (verilog-after-save-font-hook)
3973 (verilog-before-save-font-hook): New variable.
3974 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3975 (verilog-save-font-mods): Wrap disabling fontification, reported
3976 by David Rogoff.
3977 (verilog-do-indent, verilog-pretty-declarations-auto)
3978 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3979 Reported by Pierre-David Pfister.
3980 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3981 of class declarations, bug292. Reported by Kevin Heilman.
3982 (verilog-read-decls): Fix 'parameter type' not appearing in
3983 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3984 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3985 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3986 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3987 Reported by David Kravitz.
3988
39892012-05-03 Michael McNamara <mac@mail.brushroad.com>
3990
3991 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3992 assignment with tests in ifs and for loops.
3993 (verilog-extended-complete-re, verilog-complete-reg): Change so
3994 that DPI inport functions don't look like fuction declarations.
3995 (verilog-pretty-expr): Don't line up assignment
3996 operations to the test and increment in if and for loops
3997 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3998 that DPI inport functions don't look like fuction declarations.
47086495 3999
2e51d4b5
KH
40002012-05-03 Kenichi Handa <handa@m17n.org>
4001
4002 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4003 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4004 (Bug#11282).
4005
2bd785a2
SM
40062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * emacs-lisp/bytecomp.el
4009 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4010 since cconv.el might have introduced :fun-body, internal-make-closure,
4011 and friends for bytecomp to handle (bug#11391).
4012 * custom.el (defcustom): Avoid ((λ ..) ..).
4013
99d27583
SM
40142012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4017
55a71479
JB
40182012-05-02 Juanma Barranquero <lekktu@gmail.com>
4019
4020 * notifications.el (dbus-debug):
4021 * term/linux.el (gpm-mouse-enable):
4022 * term/screen.el (xterm-register-default-colors): Declare.
4023
7b97c764
CY
40242012-05-02 Chong Yidong <cyd@gnu.org>
4025
2bc356d7
CY
4026 * cus-start.el (gc-cons-percentage, exec-suffixes)
4027 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4028 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4029 (make-cursor-line-fully-visible, void-text-area-pointer)
4030 (font-list-limit): Add customization data.
4031
7b97c764
CY
4032 * allout.el (allout-exposure-change-functions)
4033 (allout-structure-added-functions)
4034 (allout-structure-deleted-functions)
4035 (allout-structure-shifted-functions): Rename abnormal hooks from
4036 *-hook, and convert to defcustoms.
5d3385a0
JB
4037 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4038 Convert to defcustoms.
7b97c764
CY
4039 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4040
4041 * allout-widgets.el: Hook callers changed.
4042
90207a15 40432012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4044
4045 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4046 the yanked message in preference to the default value of
4047 buffer-file-coding-system.
4048
90207a15 40492012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4050
5d3385a0
JB
4051 * window.el (display-buffer--action-function-custom-type):
4052 Fix entry.
d9558cad 4053
90207a15 40542012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4055
4056 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4057
d80ac57b
GM
40582012-05-01 Glenn Morris <rgm@gnu.org>
4059
976f7668
GM
4060 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4061
beb83b5a
GM
4062 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4063
d80ac57b
GM
4064 * cus-edit.el (custom-variable-documentation): Simplify with format.
4065
b593d6a9 40662012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4067 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4068
4069 * simple.el (suggest-key-bindings, execute-extended-command):
4070 Move from keyboard.c.
4071
782fbf2a
CY
40722012-05-01 Chong Yidong <cyd@gnu.org>
4073
4074 * follow.el: Eliminate advice.
4075 (set-process-filter, process-filter, sit-for): Advice deleted.
4076 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4077 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4078 Vars deleted.
782fbf2a
CY
4079 (follow-auto): Use a :set function.
4080 (follow-mode): Rewritten. Don't advise process filters.
4081 (follow-switch-to-current-buffer-all, follow-scroll-up)
4082 (follow-scroll-down): Assume follow-mode is bound.
4083 (follow-comint-scroll-to-bottom)
4084 (follow-align-compilation-windows): New functions.
4085 (follow--window-sorter): New function.
4086 (follow-all-followers): Use it to explicitly sort windows by their
4087 positions; don't make assumptions about next-window order.
4088 (follow-windows-start-end, follow-delete-other-windows-and-split)
4089 (follow-calc-win-start): Doc fix.
4090 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4091 vertical-motion unnecessarily.
4092 (follow-adjust-window): New function.
4093 (follow-post-command-hook): Use it.
4094 (follow-call-set-process-filter, follow-call-process-filter)
4095 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4096 (follow-stop-intercept-process-output, follow-generic-filter):
4097 Functions deleted.
4098 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4099 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4100 New functions, replacing advice on scroll-bar-* commands.
87233a14 4101 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4102
4103 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4104 (comint-postoutput-scroll-to-bottom): Use it.
4105 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4106
290af740
GM
41072012-05-01 Glenn Morris <rgm@gnu.org>
4108
4109 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4110 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4111 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4112 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4113 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4114 Remove no-byte-compile setting.
4115
6eac8dc9
SM
41162012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4119 all-completions code to not return a number in the last cdr.
4120
9cc7819c
LL
41212012-04-30 Leo Liu <sdl.web@gmail.com>
4122
4123 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4124 read-only error.
4125
c93b886f
CY
41262012-04-29 Chong Yidong <cyd@gnu.org>
4127
4128 * follow.el (follow-calc-win-end): Rewrite to handle partial
4129 screen lines correctly (Bug#8390).
4130 (follow-avoid-tail-recenter): Minor cleanup.
4131
8b6c19f4
SM
41322012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 Avoid the obsolete `assoc' package.
4135 * speedbar.el (speedbar-refresh): Avoid adelete.
4136 (speedbar-file-lists): Simplify and avoid aput.
4137 * man.el (Man--sections, Man--refpages): New vars, replacing
4138 Man-sections-alist and Man-refpages-alist.
4139 (Man-build-section-alist, Man-build-references-alist):
4140 Use them; avoid aput.
4141 (Man--last-section, Man--last-refpage): New vars.
4142 (Man-follow-manual-reference): Use them.
4143 Use the `default' arg of completing-read.
4144 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4145
c5bb7569
CY
41462012-04-27 Chong Yidong <cyd@gnu.org>
4147
d1d2e2e8
CY
4148 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4149
15cd8efd
CY
4150 * startup.el (x-apply-session-resources): New function.
4151
4152 * term/ns-win.el (ns-initialize-window-system):
4153 * term/w32-win.el (w32-initialize-window-system):
4154 * term/x-win.el (x-initialize-window-system): Use it to properly
4155 set menu-bar-mode and other vars from X resources, even if the
4156 initial frame is not a window-system frame (Bug#2299).
4157
c5bb7569
CY
4158 * subr.el (read-key): Avoid running filter function when setting
4159 up temporary tool bar entries (Bug#9922).
4160
a8e7d6d7 41612012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4162
4163 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4164 (Bug#11344)
4165
a8e7d6d7 41662012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4167
4168 * select.el (xselect--encode-string): New function, split from
4169 xselect-convert-to-string.
4170 (xselect-convert-to-string): Use it.
4171 (xselect-convert-to-filename, xselect-convert-to-os)
4172 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4173 returned strings are properly encoded (Bug#11315).
4174
a8e7d6d7 41752012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4176
4177 * simple.el (delete-active-region): Move to killing custom group.
4178
a8e7d6d7 41792012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4180
4181 * progmodes/which-func.el (which-func-current): Quote %
4182 characters for mode-line processing.
4183
578c1d4b 41842012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4185
4186 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4187 reaching eob (Bug#11286).
4188
a8e7d6d7 41892012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4190
4191 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4192 (gdb): Make it buffer-local and init to zero.
4193 (gdb-control-commands-regexp): New variable.
4194 (gdb-send): Don't wrap in "-interpreter-exec console" if
4195 gdb-control-level is positive. Increment gdb-control-level
4196 whenever the command matches gdb-control-commands-regexp, and
4197 decrement it each time the command is "end". (Bug#11279)
4198
a8e7d6d7 41992012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4200
4201 * window.el (adjust-window-trailing-edge, enlarge-window)
4202 (shrink-window, window-resize):
4203 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4204 windows (Bug#11276).
4205
b3608390
CY
42062012-04-27 Chong Yidong <cyd@gnu.org>
4207
4208 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4209 fix "missing prefix" warning. All callers changed.
b3608390 4210
797e6e88
SM
42112012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * emacs-lisp/assoc.el: Move to obsolete/.
4214
e95a67dc
SM
42152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4216
657c21e4 4217 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4218
4219 * term/ns-win.el (ns-define-service):
4220 * progmodes/pascal.el (pascal-goto-defun):
4221 * progmodes/js.el (js--read-tab):
4222 * progmodes/etags.el (tags-lazy-completion-table):
4223 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4224 * emacs-lisp/ewoc.el (ewoc--wrap):
4225 * emacs-lisp/assoc.el (aput, adelete, amake):
4226 * doc-view.el (doc-view-convert-current-doc):
4227 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4228
cb3e7ae0
CY
42292012-04-26 Chong Yidong <cyd@gnu.org>
4230
dce04f7f
CY
4231 * image.el (image-type-from-buffer): Only return supported image
4232 type (Bug#9045).
4233
cb3e7ae0
CY
4234 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4235 value, for symmetry with diff-end-of-hunk.
4236 (diff-split-hunk, diff-find-source-location)
4237 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4238 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4239 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4240 compute the relevant hunk or file properly (Bug#6005).
4241 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4242
0d42eb3e
SM
42432012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * vc/vc-mtn.el:
4246 * vc/vc-hg.el:
4247 * vc/vc-git.el:
4248 * vc/vc-dir.el:
4249 * vc/vc-cvs.el:
4250 * vc/vc-bzr.el:
4251 * vc/vc-arch.el:
4252 * vc/vc.el: Replace lexical-let by lexical-binding.
4253 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4254 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4255 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4256
f08ae1c9
CY
42572012-04-26 Chong Yidong <cyd@gnu.org>
4258
8b71081d
CY
4259 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4260 (diff-mode-shared-map): Bind it to / and [remap undo].
4261
f08ae1c9
CY
4262 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4263 (ediff-window-setup-function): Use it as the default, to set up
4264 windows based on whether the current frame is graphical (Bug#2138).
4265 (ediff-choose-window-setup-function-automatically): Make obsolete.
4266
4267 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4268
ef24141c
SM
42692012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4270
cc356a5d
SM
4271 * ffap.el: Remove old code for obsolete package.
4272 (ffap-complete-as-file-p): Remove.
4273
b4ff4f1f
SM
4274 Use completion-table-with-quoting for comint and pcomplete.
4275 * comint.el (comint--unquote&requote-argument)
4276 (comint--unquote-argument, comint--requote-argument): New functions.
4277 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4278 (comint-quote-filename): Use regexp-opt-charset.
4279 (comint--common-suffix, comint--common-quoted-suffix)
4280 (comint--table-subvert): Remove.
4281 (comint-unquote-function, comint-requote-function): New vars.
4282 (comint--complete-file-name-data): Use them with
4283 completion-table-with-quoting.
4284 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4285 * pcomplete.el (pcomplete-arg-quote-list)
4286 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4287 (pcomplete-unquote-argument-function): Default to non-nil.
4288 (pcomplete-unquote-argument): Simplify.
4289 (pcomplete--common-quoted-suffix): Remove.
4290 (pcomplete-requote-argument-function): New var.
4291 (pcomplete--common-suffix): New function.
4292 (pcomplete-completions-at-point): Use completion-table-with-quoting
4293 and completion-table-subvert.
4294
79c4eeb4
SM
4295 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4296 (minibuffer--double-dollars): Preserve properties.
4297 (completion--sifn-requote): New function.
4298 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4299
ef24141c
SM
4300 * minibuffer.el: Add support for completion of quoted/escaped data.
4301 (completion-table-with-quoting, completion-table-subvert): New funs.
4302 (completion--twq-try, completion--twq-all): New functions.
4303 (completion--nth-completion): New function.
4304 (completion-try-completion, completion-all-completions): Use it.
4305
784e7d6e
LL
43062012-04-25 Leo Liu <sdl.web@gmail.com>
4307
dd2ac746
SM
4308 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4309 Use compilation-message if available to find real filename.
784e7d6e 4310
07875ee7
CY
43112012-04-25 Chong Yidong <cyd@gnu.org>
4312
4313 * vc/diff-mode.el (diff-setup-whitespace): New function.
4314 (diff-mode): Use it.
4315
4316 * vc/diff.el (diff-sentinel):
4317 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4318 Whitespace mode variables based on diff style (Bug#8612).
4319
5055880d
LL
43202012-04-25 Leo Liu <sdl.web@gmail.com>
4321
daf75653
LL
4322 * progmodes/python.el (python-send-region): Add suffix .py to the
4323 temp file.
4324
5055880d
LL
4325 * files.el (auto-mode-alist): Use javascript-mode instead.
4326
db9b177b
AH
43272012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4328
ef24141c 4329 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4330
090bd7cb 4331 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4332 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4333 references, see Bug#9.
ef24141c 4334 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4335 when receiving a fault reply.
ef24141c 4336 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4337
090bd7cb 4338 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4339 (soap-inspect-simple-type): New function.
db9b177b 4340
090bd7cb 4341 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4342 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4343 (soap-decode-basic-type, soap-encode-basic-type):
4344 support unsignedInt and double basic types.
db9b177b 4345 (soap-resolve-references-for-simple-type)
ef24141c
SM
4346 (soap-parse-simple-type, soap-encode-simple-type): New function.
4347 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4348
090bd7cb 4349 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4350 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4351 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4352 the local name of "soapenc:Array".
4353 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4354 decoding integer, byte and anyURI xsd types.
4355
1fc6097b
CY
43562012-04-25 Chong Yidong <cyd@gnu.org>
4357
4358 * cus-edit.el (custom-buffer-create-internal): Update header text.
4359
afc6df87
EZ
43602012-04-25 Eli Zaretskii <eliz@gnu.org>
4361
4362 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4363 settings on 'system-type', not on 'window-system'. On MS-Windows,
4364 set interactive-mode on in GDB.
4365
dfbd787f
SM
43662012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4369 (ruby-syntax-propertize-regexp): Remove.
4370 (ruby-syntax-propertize-function): Split regexp into chunks.
4371 Match following code directly.
4372
85222d44
DG
43732012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4374
51a8ea2a
DG
4375 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4376 (ruby-syntax-propertize-regexp): New function.
4377 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4378 by a special keyword.
4379
85222d44
DG
4380 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4381 (ruby-syntax-general-delimiters-goto-beg)
4382 (ruby-syntax-propertize-general-delimiters): New functions.
4383 (ruby-syntax-propertize-function): Use them to handle GDL.
4384 (ruby-font-lock-keywords): Move old handling of GDL...
4385 (ruby-font-lock-syntactic-keywords): .. to here.
4386 (ruby-calculate-indent): Adjust indentation for GDL.
4387
b613912b
MA
43882012-04-24 Michael Albinus <michael.albinus@gmx.de>
4389
b5380639
MA
4390 * notifications.el (top): Remove unneeded declarations.
4391 (notifications-specification-version): Change to "1.2".
e43042fe 4392 (notifications-interface, notifications-notify-method)
b613912b
MA
4393 (notifications-close-notification-method): Fix docstring.
4394 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4395 (notifications-notify): Add :action-items, :resident and
4396 :transient hints. Change "image_data" to "image-data" and
4397 "image_path" to "image-path".
b613912b
MA
4398 (notifications-get-capabilities): New defun.
4399
257440aa
LL
44002012-04-24 Leo Liu <sdl.web@gmail.com>
4401
4402 * progmodes/python.el: Move hideshow setup to the end.
4403
b1bac16e
MR
44042012-04-24 Martin Rudalics <rudalics@gmx.at>
4405
4406 * window.el (handle-select-window): Clear echo area since this is
4407 no more done by read_char (Bug#11304).
4408
d81bd059
SM
44092012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4412 and `/ M' to filter-derived-mode.
4413 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4414 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4415 (ibuffer-mark-by-mode): Use default rather than initial-input.
4416 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4417
c4cf6d91
IA
44182012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4419
4420 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4421 (ibuffer-filter-by-derived-mode): New filter.
4422 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4423
7511ded8
CY
44242012-04-23 Andreas Politz <politza@fh-trier.de>
4425
4426 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4427
775c916b
CY
44282012-04-23 Chong Yidong <cyd@gnu.org>
4429
4430 * cus-edit.el (customize-apropos, customize-apropos-options):
4431 Disable matching of non-option variables (Bug#11176).
4432 (customize-option, customize-option-other-window)
4433 (customize-changed-options): Doc fix.
4434 (customize-apropos-options, customize-apropos-faces)
4435 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4436
4437 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4438 Fix word list splitting (Bug#11132).
46c71e23
CY
4439 (apropos-symbol, apropos-keybinding, apropos-label)
4440 (apropos-property, apropos-function-button)
4441 (apropos-variable-button, apropos-misc-button): New faces.
4442 (apropos-symbol-face, apropos-keybinding-face)
4443 (apropos-label-face, apropos-property-face, apropos-match-face):
4444 Variables removed (Bug#8396).
4445 (apropos-library-button, apropos-format-plist, apropos-print)
4446 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4447
2df41f9c
MA
44482012-04-23 Michael Albinus <michael.albinus@gmx.de>
4449
4450 * net/xesam.el (xesam-mode-map): Use let-bound map in
4451 initialization. (Bug#11292)
4452
da00640a
AM
44532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4454
4455 Preserve ispell session localwords when switching back to
4456 original buffer.
4457
090bd7cb
JB
4458 * textmodes/ispell.el (ispell-buffer-session-localwords):
4459 New buffer-local variable to hold buffer session localwords.
ed9265fc 4460 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4461 localwords.
4462 (ispell-command-loop, ispell-change-dictionary)
4463 (ispell-buffer-local-words): Preserve session localwords when
4464 needed.
4465
090bd7cb
JB
4466 * textmodes/flyspell.el (flyspell-process-localwords)
4467 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4468
f621ccf5
AM
44692012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4470
090bd7cb
JB
4471 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4472 using obsolete `translation-table-for-input'.
ef24141c
SM
4473 (ispell-word, ispell-process-line, ispell-complete-word):
4474 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4475
c2d1019e
CY
44762012-04-22 Chong Yidong <cyd@gnu.org>
4477
4478 * cus-edit.el (custom-variable-menu)
4479 (custom-variable-reset-saved, custom-face-menu)
4480 (custom-face-reset-saved): If there is no saved value, make the
4481 "reset-saved" operation bring back the default (Bug#9509).
4482 (custom-face-state): Properly detect themed faces.
4483
eeddc531
CY
4484 * faces.el (face-spec-set): Stop supporting deprecated form of
4485 third arg.
4486
dcbf5805
MA
44872012-04-22 Michael Albinus <michael.albinus@gmx.de>
4488
4489 Move functions from C to Lisp. Make non-blocking method calls
4490 the default. Implement further D-Bus standard interfaces.
4491
ef24141c
SM
4492 * net/dbus.el (dbus-message-internal): Declare function.
4493 Remove unneeded function declarations.
dcbf5805
MA
4494 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4495 (dbus-message-type-method-return, dbus-message-type-error)
4496 (dbus-message-type-signal): Declare variables. Remove local
4497 definitions.
4498 (dbus-interface-dbus, dbus-interface-peer)
4499 (dbus-interface-introspectable, dbus-interface-properties)
4500 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4501 Adapt docstring.
4502 (dbus-interface-objectmanager): New defconst.
4503 (dbus-call-method, dbus-call-method-asynchronously)
4504 (dbus-send-signal, dbus-method-return-internal)
4505 (dbus-method-error-internal, dbus-register-service)
4506 (dbus-register-signal, dbus-register-method): New defuns, moved
4507 from dbusbind.c
4508 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4509 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4510 New defuns.
dcbf5805
MA
4511 (dbus-call-method-non-blocking): Make it an obsolete function.
4512 (dbus-unregister-object, dbus-unregister-service)
4513 (dbus-handle-event, dbus-register-property)
4514 (dbus-property-handler): Obey the new structure of
4515 `bus-registered-objects'.
4516 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4517 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4518 Use `dbus-call-method'.
4519
cf20dee0
CY
45202012-04-22 Chong Yidong <cyd@gnu.org>
4521
4522 * cus-edit.el (custom-commands, custom-reset-menu)
4523 (Custom-reset-standard): Tweak labels.
4524 (custom-reset-button-menu): Change default to t.
4525 (custom-buffer-create-internal): For the custom-reset-button-menu
4526 case, put the revert button first.
4527 (custom-group-subtitle): New face.
4528 (custom-group-value-create): Align docstring to a specific column.
4529
4530 * wid-edit.el (widget-documentation-link-add): Don't handle
4531 indentation in this function.
4532 (widget-documentation-string-indent-to): New function.
4533 (widget-documentation-string-value-create): Use it.
4534
4535 * autorevert.el (auto-revert):
4536 * epg-config.el (epg):
4537 * ibuffer.el (ibuffer):
4538 * mpc.el (mpc):
4539 * ses.el (ses):
4540 * eshell/eshell.el (eshell):
4541 * net/ange-ftp.el (ange-ftp):
4542 * progmodes/ebnf2ps.el (postscript):
4543 * progmodes/flymake.el (flymake):
4544 * progmodes/prolog.el (prolog):
4545 * progmodes/verilog-mode.el (verilog-mode):
4546 * progmodes/which-func.el (which-func):
4547 * term/xterm.el (xterm):
4548 * textmodes/picture.el (picture):
4549 * textmodes/tildify.el (tildify):
4550 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4551 customization buffers.
4552
583e23bd
AM
45532012-04-22 Alan Mackenzie <acm@muc.de>
4554
4555 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4556 Adding a ) can hide the resulting (..) from searches. Fix it.
4557 Bound the backward search to the position of the existing (.
4558
7dd51bf1
JB
45592012-04-21 Juanma Barranquero <lekktu@gmail.com>
4560
4561 * progmodes/verilog-mode.el (verilog-mode): Check whether
4562 which-func-modes is t before adding verilog-mode.
4563 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4564
d64a438f
LL
45652012-04-21 Leo Liu <sdl.web@gmail.com>
4566
7dd51bf1 4567 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4568
081e8d65
MV
45692012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4570
4571 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4572 filling of the last column of a table (Bug#5635).
4573 (woman-find-next-control-line): New arg, specifying an additional
4574 regexp component for the control line.
4575 (woman2-roff-buffer): Use it.
4576 (woman-break-table): New function.
4577 (woman2-TS): Use it.
4578
45792012-04-21 Chong Yidong <cyd@gnu.org>
4580
4581 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4582 (woman-horizontal-escapes, woman-negative-vertical-space)
4583 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4584 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4585
ed571ccb
SM
45862012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * minibuffer.el (completion-file-name-table): Complete user names.
4589
39773899
LL
45902012-04-20 Leo Liu <sdl.web@gmail.com>
4591
4592 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4593 and pcase-let*.
4594
de6ff46d
CY
45952012-04-20 Chong Yidong <cyd@gnu.org>
4596
4597 * server.el (server-execute): Respect initial-buffer-choice if it
4598 is a string and there are no files to open (Bug#2825).
4599 (server-create-window-system-frame, server-create-tty-frame):
4600 Don't switch buffers here.
2d0e8e61
CY
4601 (server-process-filter): Only try to open a window system frame if
4602 compiled with graphical support (Bug#8314).
de6ff46d 4603
54071013
DN
46042012-04-20 Dan Nicolaescu <dann@gnu.org>
4605
4606 * battery.el (battery-echo-area-format): Display remaining time
4607 for sysfs backend too (Bug#11269).
4608 (battery-linux-sysfs): Fix conditional for the charge.
4609
f30d612a
CY
46102012-04-20 Chong Yidong <cyd@gnu.org>
4611
c07a4c0b 4612 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4613 (gdb-inferior-io--init-proc): New function.
4614 (gdb-init-1): Use it.
4615 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4616 responsible for allocating a new pty and hooking it to gdb when
4617 the old pty gets an EIO due to process exit.
4618 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4619 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4620 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4621
2116e93c
EZ
46222012-04-20 Eli Zaretskii <eliz@gnu.org>
4623
4624 * window.el (window-min-size, window-sizable, window-min-delta)
4625 (window-max-delta, window--resizable, window-resizable)
4626 (window-total-size, window-full-height-p, window-full-width-p)
4627 (window-in-direction, window--resize-mini-window, window-resize)
4628 (window--resize-child-windows-normal)
4629 (window--resize-child-windows, window--resize-siblings)
4630 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4631 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4632
c07a4c0b 46332012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4634
ef24141c
SM
4635 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4636 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4637 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4638 pty process (Bug#11273).
4639 (gdb-update): New arg to suppress talking to the gdb process.
4640 (gdb-done-or-error): Use it.
4641 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4642 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4643 sentinel not being called.
4644
4645 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4646
d02766ab
CY
4647 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4648
c07a4c0b 46492012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4650
4651 * net/network-stream.el (open-network-stream): Doc fix.
4652
c07a4c0b 46532012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4654
4655 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4656
c07a4c0b 46572012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4658
4659 Ensure searching for keywords is case sensitive.
4660
4661 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4662 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4663 (c-defun-name, c-mark-function, c-cpp-define-name)
4664 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4665 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4666
ef24141c
SM
4667 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4668 Bind case-fold-search to nil.
f0f6bc35 4669
c07a4c0b 46702012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4671
4672 * mail/sendmail.el (mail-bury): Call return action with the right
4673 Rmail buffer (Bug#11242).
4674
9a864fa2
CY
4675 * server.el (server-process-filter): Handle corner case where both
4676 tty and nowait options are present (Bug#11102).
4677
539aa513
EZ
46782012-04-20 Eli Zaretskii <eliz@gnu.org>
4679
4680 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4681 (top level): Put into the executable the ident-style '$Id:' tag on
4682 windows-nt as well.
539aa513 4683
cfc7d5da
SM
46842012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * electric.el (electric-indent-post-self-insert-function): Check that
4687 electric-indent-mode is enabled in current buffer.
4688
5b01685c
JB
46892012-04-19 Juanma Barranquero <lekktu@gmail.com>
4690
4691 * imenu.el (imenu-progress-message): Restore; it is "used" in
4692 erc/erc-imenu.el and net/snmp-mode.el.
4693
4d6769e1
JB
46942012-04-19 Juanma Barranquero <lekktu@gmail.com>
4695
4696 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4697 (mouse-avoidance-nudge-mouse): Remove unused binding.
4698
4699 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4700
4701 * descr-text.el (describe-char):
4702 * progmodes/python.el (python-describe-symbol):
4703 Don't call `toggle-read-only', set `buffer-read-only'.
4704
4705 * imenu.el (imenu-default-goto-function): Mark unused args.
4706 (imenu-progress-message): Remove obsolete macro; all callers changed.
4707
4708 * subr.el (keymap-canonicalize): Remove unused binding.
4709 (read-passwd): Mark unused arg.
4710
4711 * tutorial.el (tutorial--display-changes): Remove unused binding.
4712 (tutorial--save-tutorial-to): Remove unused variable.
4713
4714 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4715 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4716 (package-generate-autoloads, package-menu--generate)
4717 (package-menu--find-upgrades): Remove unused bindings.
4718
4719 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4720 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4721 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4722 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4723 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4724 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4725 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4726 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4727 (cua-delete-char-rectangle): Mark unused args.
4728 (cua-align-rectangle): Remove unused binding.
4729
4730 * mail/rmail.el (compilation--message->loc)
4731 (epa--find-coding-system-for-mime-charset): Declare.
4732
4733 * net/dbus.el (dbus-register-service): Declare.
4734 (dbus-name-owner-changed-handler): Remove unused binding.
4735
4736 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4737 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4738 (nxml-scan-backward-within): Mark unused arg.
4739 (nxml-dynamic-markup-word): Remove unused binding.
4740
4741 * mouse.el (mouse-menu-major-mode-map):
4742 * emacs-lisp/authors.el (authors-scan-change-log)
4743 (authors-add-to-author-list):
4744 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4745 * emacs-lisp/smie.el (smie-auto-fill):
4746 * mail/sendmail.el (mail-bury):
4747 * mail/unrmail.el (unrmail):
4748 * net/tls.el (open-tls-stream):
4749 * textmodes/picture.el (picture-mouse-set-point):
4750 Remove unused bindings.
4751
8c8fc5df
MA
47522012-04-19 Michael Albinus <michael.albinus@gmx.de>
4753
4754 * net/tramp.el (tramp-action-password): Let-bind
4755 `enable-recursive-minibuffers' to t.
4756
a77b0ac9
SS
47572012-04-18 Sam Steingold <sds@gnu.org>
4758
4759 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4760 instead of 'string to accommodate values like [f11].
4761 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4762 * progmodes/gdb-mi.el: Likewise.
4763
12a106a9
LL
47642012-04-18 Leo Liu <sdl.web@gmail.com>
4765
4766 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4767 current buffer.
4768 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4769 LOCAL is nil.
4770
bc6494ef
CY
47712012-04-18 Chong Yidong <cyd@gnu.org>
4772
4773 * simple.el (line-move): Use forward-line if in batch mode
4774 (Bug#11053).
4775
c09c46b2
CS
47762012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4777
4778 * files.el (after-find-file): Do not try to add a final newline if
4779 the buffer is read-only (Bug#11156).
4780
5f6530ea
RS
47812012-04-17 Richard Stallman <rms@gnu.org>
4782
4783 * mail/rmail.el (rmail-start-mail):
4784 Pass (rmail-mail-return...) for the return-action.
4785 Pass (rmail-yank-current-message...) for the yank-action.
4786 (rmail-yank-current-message): New function.
4787 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4788 (rmail-reply): Likewise.
4789 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4790
4791 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4792 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4793 buffer, not newbuf.
4794
197b6f3c
JB
47952012-04-17 Juanma Barranquero <lekktu@gmail.com>
4796
4797 * server.el (server-ensure-safe-dir): Simplify.
4798
2311d8e5 47992012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4800
2311d8e5
GM
4801 * emacs-lisp/smie.el: Provide smarter auto-filling.
4802 (smie-auto-fill): New function.
4803 (smie-setup): Use it.
98fb480e 4804
2311d8e5
GM
4805 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4806
48072012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4808
4809 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4810 (comment-indent): Use it.
4811
2311d8e5 48122012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4813
4814 * ses.el: The overall change is to add cell renaming, that is
4815 setting fancy names for cell symbols other than name matching
4816 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4817 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4818 (ses-create-cell-variable): New defun.
2311d8e5 4819 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4820 (ses-relocate-formula): Relocate formulas only for cells the
4821 symbols of which are not renamed, i.e. symbols whose names do not
4822 match regexp "\\`[A-Z]+[0-9]+\\'".
4823 (ses-relocate-all): Relocate values only for cells the symbols of
4824 which are not renamed.
4825 (ses-load): Create cells variables as the (ses-cell ...) are read,
4826 in order to check row col consistency with cell symbol name only
4827 for cells that are not renamed.
4828 (ses-replace-name-in-formula): New defun.
4829 (ses-rename-cell): New defun.
4bdf2ad2 4830
fc72b15c
PO
48312012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4832
4833 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4834 New option (bug#11118).
4835 (perl-calculate-indent): Respect it.
4836
12e10e61
GM
48372012-04-17 Glenn Morris <rgm@gnu.org>
4838
4839 * dired-aux.el (dired-mark-read-string): Doc fix.
4840
30009afd
DA
48412012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4842
4843 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4844 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4845
41f03f4d
GM
48462012-04-17 Glenn Morris <rgm@gnu.org>
4847
4848 * mouse.el (mouse-drag-track):
4849 * speedbar.el (speedbar-frame-mode):
4850 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4851
f45f90f3
LL
48522012-04-16 Leo Liu <sdl.web@gmail.com>
4853
4854 * progmodes/python.el: Trivial cleanup.
4855
94ee8db5
GM
48562012-04-16 Glenn Morris <rgm@gnu.org>
4857
121b8917
GM
4858 * vc/vc.el (vc-string-prefix-p):
4859 * vc/pcvs-util.el (cvs-string-prefix-p):
4860 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4861 * mpc.el (mpc-string-prefix-p):
4862 Make all of these into obsolete aliases for string-prefix-p.
4863 Update callers.
4864 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4865
1197ecfa
GM
4866 * textmodes/two-column.el: Move custom options to the start.
4867 (frame-width): Remove compat definition.
4868 (2C-associate-buffer, 2C-dissociate):
4869 Use with-current-buffer rather than save-excursion.
4870 (2C-dissociate): Force a mode-line update.
4871 (2C-autoscroll): Use ignore-errors.
4872
099e7202
GM
4873 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4874 Autoload trivia.
4875
bf350d6a
GM
4876 * emacs-lisp/cl-extra.el (*random-state*):
4877 Remove unnecessary declaration.
4878
0e829eab
GM
4879 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4880
e3ad7552
GM
4881 * play/cookie1.el (cookie-snarf):
4882 Give an explicit error if input file cannot be read.
4883
68892d27
GM
4884 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4885
20f0c46d
GM
4886 * progmodes/perl-mode.el (c-macro-expand):
4887 Remove unnecessary autoload (it is in loaddefs.el).
4888
5a0978ce
GM
4889 * textmodes/picture.el (picture-desired-column)
4890 (picture-update-desired-column): Convert comments to doc-strings.
4891 (picture-substitute): Remove function.
4892 (picture-mode-map): Initialize in the defvar.
4893
6b955486
GM
4894 * woman.el: Remove eval-after-load for tar-mode.
4895 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4896 (woman-tar-extract-file): Autoload it.
4897
94ee8db5
GM
4898 * frame.el (automatic-hscrolling): Make this alias obsolete.
4899
177eca34
AM
49002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4901
090bd7cb 4902 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4903 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4904 (ispell-dictionary-base-alist): Revert to original XEmacs
4905 friendly version for default. [:alpha:] will be added in
090bd7cb 4906 `ispell-set-spellchecker-params' if needed.
177eca34 4907
c505aaeb
CY
49082012-04-16 Chong Yidong <cyd@gnu.org>
4909
b19dd9d1 4910 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4911 (imagemagick-register-types): Use it.
4912 (imagemagick-types-inhibit): Add :set function. Allow new value
4913 of t to inhibit all types.
4914
4915 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4916 so we can preload it.
4917
4918 * loadup.el (fboundp): Preload regexp-opt, needed by
4919 imagemagick-register-types.
4920
60efac0f
CY
49212012-04-15 Chong Yidong <cyd@gnu.org>
4922
4923 * frame.el (scrolling): Remove nearly unused customization group.
4924
4925 * scroll-all.el (scroll-all-mode): Move to windows group.
4926
5dd1713e
CY
49272012-04-15 Chong Yidong <cyd@gnu.org>
4928
4929 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4930
e6fd457e
CY
49312012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4934 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4935
e153c136
GM
49362012-04-15 Glenn Morris <rgm@gnu.org>
4937
4938 * simple.el (process-file-side-effects): Doc fix.
4939
e6fd457e 49402012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4941
4942 * international/mule-cmds.el (set-language-environment): Doc fix.
4943
3603c3b1
JB
49442012-04-14 Juanma Barranquero <lekktu@gmail.com>
4945
4946 * server.el (server-auth-key, server-generate-key): Doc fixes.
4947 (server-get-auth-key): Doc fix. Use `string-match-p'.
4948 (server-start): Reflow docstring.
4949
e6de100c
LI
49502012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4951
4952 * server.el (server-generate-key): `called-interactively-p'
4953 requires a parameter.
4954
29734c21
MN
49552012-04-14 Michal Nazarewicz <mina86@mina86.com>
4956
4957 * server.el (server-auth-key): New variable.
75f1671a 4958 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4959 (server-start): Use the new variable and functions to allow
4960 setting a permanent server key (bug#9423).
4961
d65c9521
LL
49622012-04-14 Leo Liu <sdl.web@gmail.com>
4963
4964 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4965
5ae255c7
PE
49662012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4967
4968 Spelling fixes.
4969 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4970 Emacs uses American spelling.
4971
d5e6342e
JB
49722012-04-14 Juanma Barranquero <lekktu@gmail.com>
4973
4974 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4975 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4976 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4977 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4978
ab036cd7
SM
49792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * progmodes/which-func.el (which-func-modes): Change default.
4982
35dc09a1 49832012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4984
4985 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4986 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4987
35dc09a1 49882012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4989
4990 * custom.el (custom-theme-set-variables): Doc fix.
4991
35dc09a1 49922012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4993
4994 * international/mule.el (set-auto-coding-for-load): Doc fix.
4995
35dc09a1 49962012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4997
35dc09a1
GM
4998 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4999 imenu work again for Objective C Mode. Correct the *-index values,
5000 these having been disturbed by a previous change in 2011-08.
57f845ee 5001
0de3da9f
AM
5002 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5003 Correct two search limits.
5004
35dc09a1 50052012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5006
5007 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5008
35dc09a1 50092012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5010
5011 * international/characters.el: Fix sorting.
5012
35dc09a1 50132012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5014
5015 * international/characters.el: Add more missing Latin case pairs.
5016
35dc09a1 50172012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5018
5019 * files.el (dir-locals-set-class-variables): Doc fix.
5020
35dc09a1 50212012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5022
3f1b5bf8
EZ
5023 * international/characters.el: Add set-case-syntax-pair call for
5024 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5025 counterpart. (Bug#11209)
5026
9f847f41
EZ
5027 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5028
35dc09a1 50292012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5030
5031 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5032
35dc09a1 50332012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5034
35dc09a1
GM
5035 * textmodes/ispell.el (ispell-dictionary-base-alist):
5036 Add data for Hebrew.
e2627d21 5037
35dc09a1 50382012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5039
35dc09a1
GM
5040 * net/rcirc.el (rcirc-cmd-quit):
5041 Revert 2012-03-18 change (Bug#11192).
5c14e333 5042
35dc09a1 50432012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5044
5045 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5046
35dc09a1 50472012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5048
4517fe3a
SM
5049 * minibuffer.el (completion-in-region-mode-map):
5050 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5051
b472a594
VD
50522012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5053
5054 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5055
09b95ce3
MY
50562012-04-13 Masatake YAMATO <yamato@redhat.com>
5057
5058 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5059 to allow `C-M-f' and `C-M-b' to move to the nearest path
5060 separator (bug#9511).
5061
4b63a9ca
LI
50622012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5063
5064 * avoid.el: Require cl when compiling. And also move the
5065 `provide' to the end.
5066
7b55b8bf
TV
50672012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5068
5069 * avoid.el (mouse-avoidance-banish-position): New variable.
5070 (mouse-avoidance-banish-destination): Use it (bug#10165).
5071
adedaa1f
LL
50722012-04-13 Leo Liu <sdl.web@gmail.com>
5073
5074 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5075
70e74021
KB
50762012-04-13 Ken Brown <kbrown@cornell.edu>
5077
5078 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5079 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5080 (browse-url-filename-alist): For the same reason, don't modify
5081 file:// URLs on Cygwin.
5082
e75e89ba
SM
50832012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5086 the region on shift if the binding is already shifted (bug#11221).
5087
82f289a4
GM
50882012-04-12 Glenn Morris <rgm@gnu.org>
5089
5090 * mail/mailpost.el: Move to obsolete/.
5091
d333dc4c
DA
50922012-04-12 Drew Adams <drew.adams@oracle.com>
5093
5094 * imenu.el (imenu--generic-function): Ignore invisible definitions
5095 (bug#10123).
5096
0d15b5ba
VD
50972012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5098
5099 * hexl.el (hexl-bits): New variable.
5100 (hexl-options): Mention the variable in the doc string.
75f1671a 5101 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5102 (hexl-mode): Mention the new variable.
75f1671a
JB
5103 (hexl-mode, hexl-current-address, hexl-current-address):
5104 Use the displen.
0d15b5ba
VD
5105 (hexl-ascii-start-column): New function.
5106 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5107 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5108
64a440db
AM
51092012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5110
5111 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5112 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5113 the encoding, as expected by hunspell.
5114
6decb6c2
SM
51152012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * battery.el (battery--linux-sysfs-regexp): New const.
5118 (battery-status-function): Use it. Remove yeeloong special case.
5119 (battery-yeeloong-sysfs): Remove.
5120 (battery-echo-area-format): Remove yeeloong special case.
5121
088be6fb
SM
51222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5123
6622e416
SM
5124 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5125 Reported by Noah Friedman.
5126
088be6fb
SM
5127 * subr.el (read-passwd): Use read-string.
5128
b49f886e
LMI
51292012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5130
5131 * vcursor.el (vcursor-move): Increase the priority of the overlay
5132 (bug#9663).
5133
a63067fc
DD
51342012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5135
5136 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5137 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5138
ac3cf14a
WS
51392012-04-11 William Stevenson <yhvh2000@gmail.com>
5140
5141 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5142 define-minor-mode (bug#10760).
5143
c4fc691b 51442012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5145
4d6769e1 5146 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5147 that directories matching `grep-find-ignored-files' won't be
5148 pruned (bug#10351).
5149
af23e2e5
CY
51502012-04-11 Chong Yidong <cyd@gnu.org>
5151
5152 * startup.el (command-line): Remove support for long-obsolete
5153 variable font-lock-face-attributes.
5154
ab7ce8c1
GM
51552012-04-11 Glenn Morris <rgm@gnu.org>
5156
5157 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5158
de8c03dc
SM
51592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * window.el (window--state-get-1): Obey window-point-insertion-type.
5162
050cc68b
LB
51632012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5164
5165 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5166 to previous function when point is on the first character of a
75f1671a 5167 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5168
a38c310c
GM
51692012-04-11 Glenn Morris <rgm@gnu.org>
5170
effed0c2
GM
5171 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5172 not just file-errors.
5173
a38c310c
GM
5174 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5175 (vc-bzr-sha1): Use internal sha1.
5176
0221e323
SM
51772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5180
43956923
SG
51812012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5182
5183 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5184 that start in the middle of the line (bug#10496).
5185
6a8c9eaf
DN
51862012-04-10 Dan Nicolaescu <dann@gnu.org>
5187
5188 * battery.el (battery-linux-proc-acpi): Only one battery is
5189 discharged at a time, but that seems to confuse battery.el when
5190 computing `rate-type' for the battery not being discharged
5191 (bug#10332).
5192
1930bf5d
SM
51932012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5194
2a718f6f
SM
5195 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5196
599430d0
SM
5197 * international/quail.el: Use dolist and simplify.
5198 (quail-define-package, quail-update-keyboard-layout)
5199 (quail-define-rules): Use dolist.
5200 (quail-insert-kbd-layout, quail-get-translation): CSE.
5201
a2754b6c
SM
5202 * tmm.el: Use dolist, remove left over hook.
5203 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5204 Use dolist.
5205 (calendar-load-hook): Don't mess with it.
5206
1930bf5d
SM
5207 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5208 Use derived-mode-p. Run the diff asynchronously.
5209
9f67961c
LMI
52102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5211
5212 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5213
2a8ce227
JB
52142012-04-10 Juanma Barranquero <lekktu@gmail.com>
5215
5216 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5217 (list-dynamic-libraries--loaded): New function.
5218 (list-dynamic-libraries--refresh): Use it.
5219
8f33b5f8
NW
52202012-04-10 Nathan Weizenbaum <nweiz@google.com>
5221
1930bf5d
SM
5222 * progmodes/python.el (python-fill-paragraph):
5223 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5224 disabled (bug#7018).
5225
b12f0439
L
52262012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5227
1930bf5d 5228 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5229 DOS/MS Windows for the Baltic languages. There are still plenty
5230 of texts written in this encoding/codepage (bug#6519).
b12f0439 5231
57c3bd01
GM
52322012-04-10 Glenn Morris <rgm@gnu.org>
5233
5234 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5235 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5236
6c3eab30
FA
52372012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5238
1930bf5d 5239 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5240 next-line "n" and previous-line "p" in order to make recentf more
5241 consistent with ibuffer, dired or org-mode (bug#9387).
5242
24d78a88
LMI
52432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
bc72b5d9
LMI
5245 * image.el (put-image): Return the overlay created instead of the
5246 optional input string (bug#7834). Note that this may break code
5247 that is (for some reason or other) depending on `put-image'
5248 returning the string.
5249
bd2dba5a
LMI
5250 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5251
74beb59f
LMI
5252 * simple.el (zap-to-char): Allow zapping using input methods
5253 (bug#1580).
5254
24d78a88
LMI
5255 * textmodes/fill.el (fill-region): Leave point and mark where they
5256 were before filling (bug#5399).
5257
263f20cd
GM
52582012-04-09 Glenn Morris <rgm@gnu.org>
5259
5260 * version.el (emacs-bzr-get-version):
5261 Handle lightweight checkouts of local branches.
5262
58d1f797
AS
52632012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5264
263f20cd 5265 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5266
b4d3bc10
CY
52672012-04-09 Chong Yidong <cyd@gnu.org>
5268
5269 * custom.el (custom-variable-p): Return nil for non-symbol
5270 arguments instead of signaling an error.
5271 (user-variable-p): Obsolete alias for custom-variable-p.
5272
5273 * apropos.el (apropos-variable):
5274 * files-x.el (read-file-local-variable):
5275 * simple.el (set-variable):
5276 * woman.el (woman-mini-help):
5277 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5278
fd06db5d
GM
52792012-04-09 Glenn Morris <rgm@gnu.org>
5280
e5fcdb5e
GM
5281 * startup.el (normal-top-level): Don't look for leim-list.el
5282 in places where it will not be found. (Bug#910)
5283
fd06db5d
GM
5284 * international/mule-cmds.el (set-default-coding-systems):
5285 * files.el (normal-mode):
5286 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5287 This function was removed with ucs-tables.el in 2008.
5288
b39bb7e1
EZ
52892012-04-08 Eli Zaretskii <eliz@gnu.org>
5290
5291 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5292 ispell-encoding8-command to "-i", without a trailing space.
5293 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5294 separate command-line arguments, to specify the encoding, since
5295 that's how hunspell expects it.
5296
5c5b8e23
GM
52972012-04-08 Glenn Morris <rgm@gnu.org>
5298
5299 * loadup.el: Load bindings before cus-start.
5300 This reduces somewhat the number of "rogue" settings in emacs -Q.
5301
a1ed8b05
GM
53022012-04-07 Glenn Morris <rgm@gnu.org>
5303
5304 * version.el (emacs-bzr-get-version): New function.
dfae128a 5305 (emacs-bzr-version): New variable.
a1ed8b05
GM
5306 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5307 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5308
b142f158
EZ
53092012-04-07 Eli Zaretskii <eliz@gnu.org>
5310
dfae128a
GM
5311 * international/uni-bidi.el, international/uni-category.el:
5312 * international/uni-combining.el, international/uni-decimal.el:
5313 * international/uni-decomposition.el, international/uni-digit.el:
5314 * international/uni-lowercase.el, international/uni-mirrored.el:
5315 * international/uni-name.el, international/uni-numeric.el:
5316 * international/uni-titlecase.el, international/uni-uppercase.el:
5317 Update for Unicode 6.1.
b142f158 5318
9078ead6
EZ
53192012-04-07 Eli Zaretskii <eliz@gnu.org>
5320
5321 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5322
f23d2c7d
LMI
53232012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5324
5325 * window.el (shrink-window): Mention the `window-min-height'
5326 variable in the doc string.
5327
0a0a3573
BG
53282012-04-05 Bastien Guerry <bzg@altern.org>
5329
5330 * color.el (color-lighten-name): Fix typo.
5331
e5248ac9
SM
53322012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * server.el (server--on-display-p): New function.
5335 (server--on-display-p): Use it.
5336
b4243e22
GV
53372012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5338
5339 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5340 (bug#11145).
5341
305d9f44
SM
53422012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * comint.el (comint--common-quoted-suffix): Check string boundary
5345 before comparing (bug#11158).
5346 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5347
3d439cd1
CY
53482012-04-04 Chong Yidong <cyd@gnu.org>
5349
321cc491
CY
5350 * minibuffer.el (completion-extra-properties): Doc fix.
5351
3d439cd1
CY
5352 * subr.el (delayed-warnings-hook): Doc fix.
5353
2d562c0f
DU
53542012-04-04 Daiki Ueno <ueno@unixuser.org>
5355
5356 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5357 selection (Bug#11159).
5358 (epa-insert-keys): Inform that the default public key will be
5359 exported if no key is selected.
5360
4443f204
RS
53612012-04-04 Richard Stallman <rms@gnu.org>
5362
5363 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5364
529c06b6
CY
53652012-04-03 Chong Yidong <cyd@gnu.org>
5366
5367 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5368 mail-insert-file, not its obsolete alias mail-attach-file.
5369
66b907dc
MA
53702012-04-03 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * notifications.el (notifications-notify): Fix docstring.
5373
c0ea195d
GM
53742012-04-02 Glenn Morris <rgm@gnu.org>
5375
5376 * emacs-lisp/authors.el (authors-aliases): Another addition.
5377
5ca64e00
MA
53782012-04-02 Michael Albinus <michael.albinus@gmx.de>
5379
5380 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5381 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5382 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5383
42ee526b
CY
53842012-04-01 Chong Yidong <cyd@gnu.org>
5385
5386 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5387 Handle root directory properly.
5388 (copy-directory): Caller changed.
5389
5390 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5391 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5392
0b021094
GM
53932012-03-31 Glenn Morris <rgm@gnu.org>
5394
40f86458
GM
5395 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5396
7019c177
GM
5397 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5398
a1daddd6
GM
5399 * calendar/calendar.el (calendar-window-list)
5400 (calendar-hide-window): Restore. (Bug#11140)
5401 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5402
0b021094
GM
5403 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5404
40311efc
TV
54052012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5406
5407 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5408 Check if file is a symlink (Bug#10489).
5409
5410 * files.el (copy-directory): Likewise.
5411
5319014e
CY
54122012-03-30 Chong Yidong <cyd@gnu.org>
5413
5414 * image.el (imagemagick-types-inhibit)
5415 (imagemagick-register-types): Doc fix.
5416
935d1290
AM
54172012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5418
090bd7cb 5419 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5420 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5421 and treats ~word as ordinary words in pipe mode.
935d1290 5422
61c6e8fd
GM
54232012-03-30 Glenn Morris <rgm@gnu.org>
5424
5425 * tutorial.el (help-with-tutorial): Ensure local variables don't
5426 happen to make the buffer read-only. (Bug#11127)
5427
81fdff00
SM
54282012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5431 (perl-calculate-indent): Return `noindent' in strings.
5432
6e7a6ec0
SS
54332012-03-28 Sam Steingold <sds@gnu.org>
5434
5435 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5436 instead of the broken adhockery which does not prevent calendar
5437 buffers from being displayed at random after exit.
5438 (calendar-window-list, calendar-hide-window): Remove the broken
5439 adhockery.
5440
fee88ca0
GM
54412012-03-28 Glenn Morris <rgm@gnu.org>
5442
5443 * replace.el (query-replace-map): Doc fix.
5444
38de3354
AS
54452012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5446
5447 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5448 contents. (Bug#11109)
5449
b973155e
SM
54502012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5453 (bug#11077).
5454 (avl-tree--check, avl-tree--check-node): New funs.
5455
dcb6e7b3
MR
54562012-03-27 Martin Rudalics <rudalics@gmx.at>
5457
5458 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5459 (switch-to-prev-buffer, switch-to-next-buffer):
5460 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5461 showing a buffer already is done on the same frame.
5462
b4fa35fa
GM
54632012-03-27 Glenn Morris <rgm@gnu.org>
5464
5465 * startup.el (mail-host-address): Doc fix.
5466
f9210e18
SM
54672012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5470 than 197 variables.
5471
c0bf7753
AF
54722012-03-26 Ami Fischman <ami@fischman.org>
5473
5474 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5475
33da7b16
GM
54762012-03-26 Glenn Morris <rgm@gnu.org>
5477
02243d9d
GM
5478 * files.el (save-buffers-kill-emacs): Doc fix.
5479
33da7b16
GM
5480 * startup.el (normal-top-level, command-line, command-line-1):
5481 Give them doc strings.
5482
e5a69fd0
EZ
54832012-03-25 Eli Zaretskii <eliz@gnu.org>
5484
5485 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5486 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5487
9a69676a
CY
54882012-03-25 Chong Yidong <cyd@gnu.org>
5489
4125cb8b
CY
5490 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5491 theme if it was previously enabled before (Bug#11031).
5492
dd470960
CY
5493 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5494 spec with custom-face-get-current-spec if its :shown-value is not
5495 determined yet (Bug#9337).
4125cb8b 5496 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5497
9a69676a
CY
5498 * button.el (button-at): Minor addition to docstring.
5499
6e7e90fa
SL
55002012-03-24 Simon Leinen <simon.leinen@gmail.com>
5501
5502 * vc/vc.el (vc-merge): Fix a prompt.
5503
f06e2758
CY
55042012-03-24 Chong Yidong <cyd@gnu.org>
5505
5506 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5507 point (Bug#9623).
5508
6e7e90fa
SL
5509 * button.el (button-at): Minor addition to docstring.
5510
b9d0879b
SM
55112012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * newcomment.el (comment-choose-indent): No space after BOL.
5514
e71cebb3
SS
55152012-03-22 Sam Steingold <sds@gnu.org>
5516
5517 * window.el (switch-to-prev-buffer): Revert last patch because the
5518 bug turned out to be an advertised feature (Elisp manual 28.14).
5519
335aff35
GM
55202012-03-22 Glenn Morris <rgm@gnu.org>
5521
5522 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5523 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5524
c676576a
LMI
55252012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5526
5527 * net/network-stream.el (network-stream-open-starttls): Make error
5528 message under Windows be less misleading.
5529
126f3d39
LW
55302012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5531
5532 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5533 understands (bug#9942).
5534
64fee311
CY
55352012-03-22 Chong Yidong <cyd@gnu.org>
5536
5537 * simple.el (end-of-visible-line): Handle return value of
5538 next-single-property-change properly (Bug#9371).
5539
a640d29a
KH
55402012-03-22 Kenichi Handa <handa@m17n.org>
5541
5542 * international/quail.el (quail-insert-kbd-layout): Fix previous
5543 change. To avoid unwanted bidi reordering, use
5544 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5545
39675016
DG
55462012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5547
5548 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5549 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5550 (ruby-beginning-of-indent): Be more careful with the difference
5551 between word-boundary and symbol boundary.
5552 (ruby-mode-syntax-table): Make : a symbol constituent.
5553
0a6934fc 55542012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5555
3d008e4f
SM
5556 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5557
0a6934fc
SM
55582012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5559
af67c9d7
SM
5560 * progmodes/etags.el (tags-completion-at-point-function):
5561 Improve last fix.
5562
1acad97c
SM
5563 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5564
e298b5da
SS
55652012-03-21 Sam Steingold <sds@gnu.org>
5566
5567 * progmodes/etags.el (tags-completion-at-point-function):
5568 Avoid the error when point is inside the pattern.
5569
91d82a70
JY
55702012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5571
5572 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5573 line (Bug#10855).
5574
69188b79
CY
55752012-03-21 Drew Adams <drew.adams@oracle.com>
5576
5577 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5578
99fc91fe
AK
55792012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5580
5581 * ido.el (ido-set-current-directory, ido-read-internal)
5582 (ido-choose-completion-string, ido-completion-help): Handle nil
5583 value of ido-completion-buffer (Bug#11008).
5584
087bbb4c
SS
55852012-03-21 Sam Steingold <sds@gnu.org>
5586
5587 * window.el (switch-to-prev-buffer): Do not switch to a visible
5588 window previous buffer, just like with the frame previous buffers.
5589
fb5b8aca
CY
55902012-03-21 Chong Yidong <cyd@gnu.org>
5591
5592 * faces.el (make-face, make-empty-face, copy-face):
5593 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5594 Doc fixes.
5595
dc9924b8
SM
55962012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5599 (widget-complete): Remove broken use of it.
5600
f0bcceb9
CY
56012012-03-20 Chong Yidong <cyd@gnu.org>
5602
dc9924b8
SM
5603 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5604 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5605 characters.
5606
ee52ebf3
TH
56072012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5608
5609 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5610 to draw rectangles, not squares. (Regression introduced by revno
5611 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5612
4c5779ab
CY
56132012-03-18 Chong Yidong <cyd@gnu.org>
5614
5615 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5616 it is not yet defined (for temacs).
5617
15360934
LL
56182012-03-18 Leo Liu <sdl.web@gmail.com>
5619
dc9924b8 5620 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5621
d9a8eb66
EZ
56222012-03-17 Eli Zaretskii <eliz@gnu.org>
5623
5624 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5625 (ispell-choices-win-default-height, ispell-silently-savep)
5626 (ispell-dictionary-alist, ispell-encoding8-command)
5627 (ispell-check-version, ispell-aspell-find-dictionary)
5628 (ispell-valid-dictionary-list, ispell-words-keyword)
5629 (ispell-get-word, ispell-internal-change-dictionary)
5630 (ispell-region, ispell-skip-region-list)
5631 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5632 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5633 (ispell-message-text-end, ispell-message)
5634 (ispell-buffer-local-parsing): Doc fix.
5635
f02ff80d
J
56362012-03-13 Jambunathan K <kjambunathan@gmail.com>
5637
5638 * htmlfontify.el: Add support for code block fontification for ODT
5639 export (Bug #9914).
5640 (hfy-optimisations): Define new option
5641 `body-text-only'
5642 (hfy-fontify-buffer): Honor above setting.
5643 (hfy-begin-span, hfy-end-span): New routines factored out form
5644 `hfy-fontify-buffer'.
5645 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5646 that permit insertion of custom tags.
5647 (hfy-fontify-buffer): Use above handlers.
5648 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5649 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5650 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5651 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5652 bind a special variable `hfy-user-sheet-assoc'.
5653 (htmlfontify-string): New defun.
5654 (hfy-compile-face-map): Make sure that the last char in the
5655 buffer is correctly fontified.
5656 (hfy-face-resolve-face): Whitespace only change.
5657
9ac7a13f
EZ
56582012-03-17 Eli Zaretskii <eliz@gnu.org>
5659
5660 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5661 message more clear.
5662
e2b5bdd7
LL
56632012-03-16 Leo Liu <sdl.web@gmail.com>
5664
5665 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5666
2e492df3
AM
56672012-03-16 Alan Mackenzie <acm@muc.de>
5668
5669 Further optimise the handling of large macros.
5670
5671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5672 limit to a call of `c-literal-limits'.
5673 (c-determine-+ve-limit): New function.
dc9924b8
SM
5674 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5675 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5676 In CASE 5B, restrict a search limit to 500.
5677 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5678
5679 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5680 Restrict macro bounds to +-500 from after-change's BEG END.
5681
50e94f0c
LL
56822012-03-16 Leo Liu <sdl.web@gmail.com>
5683
5684 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5685
6f09f6ed
AH
56862012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5687
5688 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5689 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5690
c7e73d51
GM
56912012-03-16 Glenn Morris <rgm@gnu.org>
5692
da986230
GM
5693 * view.el (view-buffer, view-buffer-other-window)
5694 (view-buffer-other-frame): Doc fixes re special mode-class.
5695
0835f01e
GM
5696 * subr.el (eval-after-load): If named feature is provided not from
5697 a file, run after-load forms. (Bug#10946)
5698
c7e73d51
GM
5699 * calendar/calendar.el (calendar-insert-at-column):
5700 Handle non-unit-width characters a bit better. (Bug#10978)
5701
3f2eafd1
CY
57022012-03-15 Chong Yidong <cyd@gnu.org>
5703
5704 * emacs-lisp/ring.el (ring-extend): New function.
5705 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5706
5707 * comint.el (comint-read-input-ring)
5708 (comint-add-to-input-history): Grow comint-input-ring lazily.
5709
103af3fe
SM
57102012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5711
663b1677
SM
5712 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5713 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5714
103af3fe
SM
5715 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5716 (imenu-add-to-menubar): Don't add a redundant index.
5717 (imenu-update-menubar): Handle a dynamically composed keymap.
5718
899cb7cb
KY
57192012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5720
5721 * mail/sendmail.el (mail-encode-header):
5722 Bind rfc2047-encode-encoded-words to nil.
5723
3809f91d
GM
57242012-03-13 Glenn Morris <rgm@gnu.org>
5725
5726 * calendar/calendar.el (calendar-string-spread):
5727 Handle non-unit-width characters a bit better. (Bug#10978)
5728
9e345a01
LL
57292012-03-13 Leo Liu <sdl.web@gmail.com>
5730
5731 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5732 directory and file as argument (Bug#10822).
5733
4a07df36
KS
57342012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5735
5736 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5737 For dynamically generated code, follow $PC.
5738 (gdb-disassembly-handler-custom): Handle no function name case.
5739
4aaa9356
TL
57402012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5741
5742 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5743 * emulation/ws-mode.el (ws-query-replace):
5744 * sort.el (sort-regexp-fields):
5745 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5746
225979da
SM
57472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * dabbrev.el: Fix cycle completion order (bug#10963).
5750 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5751 (dabbrev-completion): Don't use an obarray; provide
5752 a cycle-sort-function.
5753
e2f1fdab
LL
57542012-03-12 Leo Liu <sdl.web@gmail.com>
5755
dc9924b8 5756 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5757 (kill-do-not-save-duplicates): Doc fix.
5758
b19490ed
SM
57592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * dabbrev.el: Fix cycle completion (bug#10963).
5762 Use lexical binding and wrap to 80 columns.
5763 (dabbrev-completion): Delay computing the list of completions.
5764
4b05d722
KH
57652012-03-12 Kenichi Handa <handa@m17n.org>
5766
5767 * international/quail.el (quail-insert-kbd-layout): Surround each
5768 row by LRO and PDF instead of inserting many LRMs. Pad the left
5769 and right of each non-spacing marks. Insert invisible space
5770 between lower and upper characters to prevent composition.
5771
dbbc2e69
SM
57722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * minibuffer.el (minibuffer-complete): Don't get confused when the
5775 function is run twice via different commands (bug#10958).
5776 (complete-with-action): Fix docstring.
5777
292112ed
CY
57782012-03-12 Chong Yidong <cyd@gnu.org>
5779
5d1ac394
CY
5780 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5781 (nxml-completion-at-point-function): New function.
5782 (nxml-mode): Use it.
5783 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5784
292112ed
CY
5785 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5786 Load generated autoloads file before byte compiling (Bug#10970).
5787 (package--make-autoloads-and-compile): New helper fun.
5788
4098f8f7
CS
57892012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5790
5791 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5792
8f754691
MA
57932012-03-11 Michael Albinus <michael.albinus@gmx.de>
5794
5795 * autorevert.el (auto-revert-handler): Ensure, that
5796 file-readable-p is applied only for local files or in
5797 auto-revert-tail-mode.
5798
e29ab36b
AS
57992012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5800
dbbc2e69
SM
5801 * server.el (server-eval-at): Handle non-tcp connections.
5802 Decode result string.
ad0bf5b6 5803
e29ab36b
AS
5804 * server.el (server-msg-size): New constant.
5805 (server-reply-print): New function.
5806 (server-eval-and-print): Use it.
5807 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5808 Handle -print-nonl.
5809
de5939ba
CS
58102012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5811
5812 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5813 (Bug#10987).
5814
0c93eabf
CY
58152012-03-11 Chong Yidong <cyd@gnu.org>
5816
397a688f
CY
5817 * simple.el (goto-line): Doc fix (Bug#9938).
5818
2cc775f9
CY
5819 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5820
0c93eabf
CY
5821 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5822 when finished (Bug#10963).
5823
c491fa41
MR
58242012-03-11 Martin Rudalics <rudalics@gmx.at>
5825
5826 * window.el (split-window-below): Fix bug in case where
5827 split-window-keep-point is nil (Bug#10971).
5828
300e8fa5
JL
58292012-03-11 Juri Linkov <juri@jurta.org>
5830
5831 * replace.el (replace-highlight): Set isearch-word to nil
5832 unconditionally. (Bug#10887)
5833
dbf6c5a1
EZ
58342012-03-10 Eli Zaretskii <eliz@gnu.org>
5835
5836 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5837 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5838 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5839 (mairix-widget-create-query): Add usage information about mairix
5840 search forms: negating words, searching for substrings, etc.
5841
b9e501de
JP
58422012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5843
5844 * international/fontset.el (font-encoding-alist): Add an entry for
5845 ksx1001 (Bug#5667).
5846
92795c91
RS
58472012-03-10 Richard Stallman <rms@gnu.org>
5848
1694e6c1
RS
5849 * mail/sendmail.el (mail-encode-header):
5850 Set rfc2047-encode-encoded-words.
5851
607e8555
RS
5852 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5853
de3bc99a
RS
5854 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5855 view buffer means not swapped.
5856 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5857 (rmail-write-region-annotate): Error if real text has disappeared.
5858
92795c91
RS
5859 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5860
699bd04e
CY
58612012-03-10 Chong Yidong <cyd@gnu.org>
5862
5863 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5864 * emulation/cua-base.el (cua--init-keymaps):
5865 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5866
570a1714
MR
58672012-03-10 Martin Rudalics <rudalics@gmx.at>
5868
dbbc2e69
SM
5869 * speedbar.el (speedbar-unhighlight-one-tag-line):
5870 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5871
82dcf4e4
CY
58722012-03-10 Chong Yidong <cyd@gnu.org>
5873
7a2c7ca7
CY
5874 * minibuffer.el (completion-in-region, completion-help-at-point):
5875 Give the completion field overlay a high priority (Bug#6830).
5876
82dcf4e4
CY
5877 * dired.el (dired-goto-file): Recognize absolute file name
5878 listings (Bug#7126).
5879 (dired-goto-file-1): New helper function.
5880 (dired-toggle-read-only): Inhibit warnings.
5881
052e28ac
MA
58822012-03-09 Michael Albinus <michael.albinus@gmx.de>
5883
75f1671a 5884 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5885 there are no properties.
5886
95d5e396
LL
58872012-03-09 Leo Liu <sdl.web@gmail.com>
5888
5889 * savehist.el (savehist-printable): Stricter check for string
5890 value (Bug#10937).
5891
3f018d6d
EZ
58922012-03-09 Eli Zaretskii <eliz@gnu.org>
5893
dbbc2e69
SM
5894 * mail/smtpmail.el (smtpmail-send-it):
5895 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5896 valid mbox format.
5897
f7fd3d79
GM
58982012-03-09 Glenn Morris <rgm@gnu.org>
5899
5900 * files.el (dir-locals-find-file):
5901 Don't check result is regular, readable.
5902 (dir-locals-read-from-file): Demote errors.
5903
6ff6e72f
EZ
59042012-03-08 Eli Zaretskii <eliz@gnu.org>
5905
dbbc2e69
SM
5906 * international/quail.el (quail-insert-kbd-layout):
5907 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5908 layout cell, to prevent their reordering by bidi display engine.
5909 For details, see the discussion in
5910 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5911
9cec7834
AM
59122012-03-08 Alan Mackenzie <acm@muc.de>
5913
5914 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5915 the starting position; make it extend the marked region when
5916 invoked repeatedly - all under appropriate circumstances.
5917 Fixes bugs #5525, #10906.
5918
9a40b8d4
GM
59192012-03-08 Glenn Morris <rgm@gnu.org>
5920
5921 * files.el (locate-dominating-file, dir-locals-find-file):
5922 Undo 2012-03-06 change.
5923
7a08ed35
EZ
59242012-03-07 Eli Zaretskii <eliz@gnu.org>
5925
dbbc2e69
SM
5926 * international/quail.el (quail-help):
5927 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5928 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5929 for the reason.
5930
5aca4f71 59312012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5932
5933 Avoid superfluous registering of signals. (Bug#10807)
5934
5935 * notifications.el (notifications-on-action-object)
5936 (notifications-on-close-object): New defvars.
5937 (notifications-on-action-signal, notifications-on-closed-signal):
5938 Unregister the signal if not needed any longer.
5939 (notifications-notify): Register `notifications-action-signal' or
5940 `notifications-closed-signal', if :on-action or :on-close has been
5941 passed as argument.
5942
78e8b10a
CY
59432012-03-07 Chong Yidong <cyd@gnu.org>
5944
5945 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5946 non-X platforms.
5947
69481eb8
GM
59482012-03-06 Glenn Morris <rgm@gnu.org>
5949
5950 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5951 (x-disown-selection-internal, x-get-selection-internal):
5952 Doc fix (add arglist signatures). (Bug#10783)
5953
133b8e11
KS
59542012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5955
5956 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5957 Handle breakpoints with no "type".
5958
99a83064
GM
59592012-03-06 Glenn Morris <rgm@gnu.org>
5960
5961 * files.el (locate-dominating-file): Add optional predicate argument.
5962 (dir-locals-find-file): Make use of above change.
5963
17798e78
TTN
59642012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5965
5966 * info.el (Info-insert-dir): Also try "dir.gz".
5967
eb182446
GM
59682012-03-06 Glenn Morris <rgm@gnu.org>
5969
8f2114ee
GM
5970 * files.el (dir-locals-find-file):
5971 Ignore non-readable or non-regular files. (Bug#10928)
5972
eb182446
GM
5973 * files.el (locate-dominating-file): Doc fix.
5974
24679323
AS
59752012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5976
5977 * calendar/calendar.el (calendar-set-mode-line):
5978 `getenv' returns a string. (Bug#10951)
5979
01d972a9
LL
59802012-03-05 Leo Liu <sdl.web@gmail.com>
5981
109aa8a9
LL
5982 * simple.el (backward-delete-char-untabify): Constrain point to
5983 field (Bug#10939).
5984
01d972a9
LL
5985 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5986
10607bea
CY
59872012-03-05 Chong Yidong <cyd@gnu.org>
5988
5989 * simple.el (count-words): If called from Lisp, return the word
5990 count, for symmetry with `count-lines'. Arglist changed.
5991 (count-words--message): Args changed. Consolidate counting code
5992 from count-words and count-words-region.
5993 (count-words-region): Caller changed.
5994 (count-lines-region): Make it an obsolete alias.
5995
5dd11cfe
TH
59962012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5997
5998 * saveplace.el (save-place-to-alist)
5999 (save-place-ignore-files-regexp): Allow value nil to disable this
6000 feature.
6001
c349f4e6
CY
60022012-03-04 Chong Yidong <cyd@gnu.org>
6003
6004 * faces.el (face-spec-reset-face): For the default face, reset the
6005 attributes to default values (Bug#10748).
6006
e627be4c
LMI
60072012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6010 previous patch: Check `message-send-mail-function', and not the
6011 default function (bug#10897).
6012
ebeabff4
MA
60132012-03-04 Michael Albinus <michael.albinus@gmx.de>
6014
a41a6cf4
MA
6015 * notifications.el (notifications-on-action-signal)
6016 (notifications-on-closed-signal): Check for unique service name of
6017 incoming event. Fix error in removing entry.
ebeabff4 6018 (top): Register for signals with wildcard service name.
a41a6cf4 6019 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6020
c1ca42b4
CY
60212012-03-04 Chong Yidong <cyd@gnu.org>
6022
dc9924b8 6023 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6024
ea16568d
GM
60252012-03-04 Glenn Morris <rgm@gnu.org>
6026
6027 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6028 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6029 (expand-abbrev, define-abbrev-table): Doc fixes.
6030
fbae4637
LMI
60312012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6032
6033 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6034 `message-default-send-mail-function' and not `send-mail-function'
6035 when doing the prompting for `sendmail-query-once' before sending
6036 in Message buffers (bug#10897).
6037
a1e7225c
LMI
6038 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6039 This is inconsistent with all the other stream functions, which leave
6040 the setting up to the higher levels (if so wanted) (bug#10931).
6041
56d093a9
AM
60422012-03-02 Alan Mackenzie <acm@muc.de>
6043
6044 Depessimize the handling of very large macros.
6045
6046 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6047 (c-macro-cache-syntactic): New variables to implement a one
6048 element macro cache.
6049 (c-invalidate-macro-cache): New function.
6050 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6051 Adapt to use the new cache.
6052 (c-state-safe-place): Use better the cache of safe positions.
6053 (c-state-semi-nonlit-pos-cache)
6054 (c-state-semi-nonlit-pos-cache-limit):
6055 New variables for...
6056 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6057 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6058 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6059 Use c-state-semi-safe-place.
56d093a9 6060
dbbc2e69
SM
6061 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6062 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6063
817e5c3d
MA
60642012-03-02 Michael Albinus <michael.albinus@gmx.de>
6065
dbbc2e69
SM
6066 * jka-compr.el (jka-compr-call-process):
6067 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6068 not remote.
6069
a032a702
MA
60702012-03-01 Michael Albinus <michael.albinus@gmx.de>
6071
6072 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6073 access of FILE2, if FILE1 does not exist.
6074
99a54f21
MA
6075 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6076 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6077
6078 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6079 Add "PAGER=" to `process-environment'.
6080
f6561e1f
MM
60812012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6082
6083 * progmodes/sql.el: Bug fix
6084 (sql-get-login-ext): Save login values in globals.
6085 (sql-get-login): Use new version of `sql-get-login-ext'.
6086 (sql-interactive-mode): Set global `sql-connection' to nil.
6087 (sql-connect): Set global values for connection.
6088 (sql-product-interactive): Save global values as buffer local.
6089
2d44d9cc
LL
60902012-02-29 Leo Liu <sdl.web@gmail.com>
6091
6092 * abbrev.el (define-abbrevs): Reset sys to nil.
6093
96b49301 60942012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6095
bf7f9bc5
JB
6096 * files.el (file-equal-p): Rename from `files-equal-p'.
6097 Return nil when one or both files don't exist.
96b49301 6098 (file-subdir-of-p): Now only top directory must exists,
6099 return nil if it doesn't.
bf7f9bc5
JB
6100 (copy-directory): No need to test with `file-subdir-of-p' after
6101 creating dir.
6102 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6103 to `file-equal-p'.
96b49301 6104
44e97401
GM
61052012-02-28 Glenn Morris <rgm@gnu.org>
6106
6107 * shell.el (shell-mode):
6108 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6109 * play/landmark.el (landmark-font-lock-face-O):
6110 * play/handwrite.el (handwrite):
6111 * play/gomoku.el (gomoku-O):
6112 * net/browse-url.el (browse-url-browser-display):
6113 * international/mule.el (define-charset):
6114 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6115 * filesets.el (filesets-find-file-delay):
6116 * eshell/em-xtra.el (eshell-xtra):
6117 * eshell/em-unix.el (eshell-grep):
6118 * emulation/viper.el (viper-mode):
6119 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6120 * emacs-lisp/easymenu.el (easy-menu-define):
6121 * calendar/timeclock.el (timeclock-use-display-time):
6122 * bs.el (bs-mode):
6123 * bookmark.el (bookmark-save-flag):
6124 Doc fix (standardize possessive apostrophe usage).
6125
c98c6276
CY
61262012-02-27 Chong Yidong <cyd@gnu.org>
6127
bf7f9bc5
JB
6128 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6129 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6130
c98c6276
CY
6131 * font-lock.el (font-lock-specified-p): Rename from
6132 font-lock-spec-present. Callers changed.
6133
9c62cd04 61342012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6135
bf7f9bc5
JB
6136 * emacs-lisp/package.el (package-compute-transaction):
6137 Handle holding a package version to t in package-load-list.
8ac9e529 6138
530739c9
MA
61392012-02-26 Michael Albinus <michael.albinus@gmx.de>
6140
6141 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6142 (tramp-get-inode, tramp-get-device): Use cached values.
6143
487915d7
AM
61442012-02-26 Alan Mackenzie <acm@muc.de>
6145
6146 Check there is a font-lock specification before doing initial
6147 fontification.
6148
6149 * font-core.el (font-lock-mode): Move the conditional from
6150 :after-hook to font-lock-initial-fontify.
6151 (font-lock-default-function): Move the check for a specification
6152 to font-lock-spec-present.
6153
dc9924b8 6154 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6155 (font-lock-spec-present): New function.
6156
4fd96557
JB
61572012-02-26 Jim Blandy <jimb@red-bean.com>
6158
6159 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6160 (gdb-send): Apply it to the operand of the '-interpreter-exec
6161 console' command, so that we can pass arguments with (say) quotes
6162 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6163
9a4888c0
CY
61642012-02-26 Chong Yidong <cyd@gnu.org>
6165
07498861
CY
6166 * help-fns.el (describe-function-1): Clarify description of
6167 remapping (Bug#10844).
6168
9a4888c0
CY
6169 * files.el (files-equal-p): Doc fix.
6170 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6171 and quit the loop once a mismatch is found.
6172
ea8fb88d
JB
61732012-02-25 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * bs.el (bs--show-with-configuration): Don't throw an error
6176 if the window cannot be split; otherwise, subsequent calls to
6177 bs-show fail, restoring a stale window config. (Bug#10882)
6178
525795c1
JD
61792012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6180
6181 * term/ns-win.el (global-map): Bind ns-drag-file to
6182 ns-find-file (Bug#5855, Bug#10050).
6183
f008086f
AS
61842012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6185
6186 * calendar/parse-time.el (parse-time-string): Allow extractor to
6187 return nil.
6188
a3fcfa99
MA
61892012-02-25 Michael Albinus <michael.albinus@gmx.de>
6190
91027d08
JB
6191 * net/tramp.el (tramp-file-name-for-operation):
6192 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6193
6194 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6195 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6196 Add COPY-CONTENTS argument.
a3fcfa99 6197
67b0de11
CY
61982012-02-25 Chong Yidong <cyd@gnu.org>
6199
6200 Add custom groups for VC backends, for consistency with vc-bzr.
6201
6202 * vc/vc-arch.el (vc-arch):
6203 * vc/vc-cvs.el (vc-cvs):
6204 * vc/vc-git.el (vc-git):
6205 * vc/vc-hg.el (vc-hg):
6206 * vc/vc-mtn.el (vc-mtn):
6207 * vc/vc-rcs.el (vc-rcs):
6208 * vc/vc-sccs.el (vc-sccs):
6209 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6210 All relevant defcustoms reassigned.
6211
3c9dfce6
CY
62122012-02-25 Chong Yidong <cyd@gnu.org>
6213
1339bf43
CY
6214 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6215
3c9dfce6
CY
6216 * term/x-win.el (x-initialize-window-system): Reduce default for
6217 x-selection-timeout to 5 seconds (Bug#8869).
6218
25b2e303 62192012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6220
ec70a47d
GM
6221 * files.el (files-equal-p, file-subdir-of-p): New functions.
6222 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6223 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6224 * dired-aux.el (dired-copy-file-recursive): Same.
6225 (dired-create-files): Modify destination when source is equal to
6226 dest when copying files.
53a46cd0 6227 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6228
914260cd
MA
62292012-02-24 Michael Albinus <michael.albinus@gmx.de>
6230
6231 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6232 (Bug#10874)
6233
2cb228f7
AM
62342012-02-23 Alan Mackenzie <acm@muc.de>
6235
6236 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6237 parameter "after-hook:" to allow the expansion to run code after
6238 the execution of the mode hooks.
6239
6240 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6241 from font-lock-mode-internal.
2cb228f7 6242
91027d08 6243 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6244 :after-hook.
6245
8f0fde21
SM
62462012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6247
3e88618b
SM
6248 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6249 (completion--cache-all-sorted-completions): New function.
6250 (completion-all-sorted-completions): Use it.
6251 (completion--do-completion, minibuffer-force-complete):
6252 Use it to re-instate the flush hook.
6253
8f0fde21
SM
6254 * icomplete.el (icomplete-completions): Replace last fix with a better
6255 one (bug#10850).
6256
8e911f6f
DG
62572012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6258
6259 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6260 when it might call us back infinitely (bug#10797).
6261
49fe4321
GM
62622012-02-23 Glenn Morris <rgm@gnu.org>
6263
6264 * minibuffer.el (completion-category-overrides): Doc fix.
6265
b291b572
SM
62662012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6269 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6270
31a9ef2e
GM
62712012-02-23 Glenn Morris <rgm@gnu.org>
6272
5e6e6794 6273 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6274 (authors-obsolete-files-regexps, authors-ignored-files)
6275 (authors-ambiguous-files, authors-renamed-files-alist):
6276 Add more entries.
6277
0bd1e074
JL
62782012-02-23 Juri Linkov <juri@jurta.org>
6279
6280 * isearch.el (isearch-occur): Sync interactive spec with occur's
6281 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6282
b617673c
JL
6283 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6284
19e9789e
JL
62852012-02-22 Juri Linkov <juri@jurta.org>
6286
6287 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6288 (ucs-insert): Doc fix. Check for hex digits in the string.
6289 Don't display `nil' in the error message. (Bug#10857)
6290
f41ce09d
AM
62912012-02-22 Alan Mackenzie <acm@muc.de>
6292
7a71b18d 6293 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6294
ac2eceee
GM
62952012-02-22 Glenn Morris <rgm@gnu.org>
6296
6297 * ffap.el (ffap-c-path):
6298 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6299
abd1f678
CY
63002012-02-22 Chong Yidong <cyd@gnu.org>
6301
6302 * custom.el (load-theme): Doc fix.
6303
f25aef2e
GM
63042012-02-22 Glenn Morris <rgm@gnu.org>
6305
6306 * dired-x.el (dired-guess-shell-alist-default):
6307 Remove escape sequences from nroff output. (Bug#172)
6308
5f8dc2ca
GM
63092012-02-21 Glenn Morris <rgm@gnu.org>
6310
6ff86ec4
GM
6311 * vc/emerge.el (emerge-defvar-local):
6312 Set `permanent-local' property rather than unused `preserved'.
6313
be3223a3 6314 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6315 (picture-mode-map): Use it. (Bug#10860)
6316 (picture-mode): Doc fix.
6317
3fe58f4f
JB
63182012-02-21 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * newcomment.el (uncomment-region-default): Remove unused binding.
6321
f9a998c3
GM
63222012-02-21 Glenn Morris <rgm@gnu.org>
6323
6324 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6325 (picture-self-insert, picture-tab-chars): Doc fix.
6326 (picture-mode-map): Fix C-a, C-e.
6327
c6029348
GM
63282012-02-20 Glenn Morris <rgm@gnu.org>
6329
6330 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6331
ab1ce9d7
LL
63322012-02-20 Leo Liu <sdl.web@gmail.com>
6333
6334 * icomplete.el (icomplete-completions): Check FROM arg before
6335 passing to substring (Bug#10850).
6336
0fd40f89
CY
63372012-02-19 Chong Yidong <cyd@gnu.org>
6338
6339 * comint.el: Require ansi-color.
6340 (comint-output-filter-functions): Add ansi-color-process-output.
6341
6342 * ansi-color.el: Don't set comint-output-filter-functions; it is
6343 now in the initial value defined in comint.el.
6344 (ansi-color-apply-face-function): New variable.
6345 (ansi-color-apply-on-region): Use it.
6346 (ansi-color-apply-overlay-face): New function.
6347
6348 * shell.el (shell): No need to require ansi-color.
6349 (shell-mode): Use ansi-color-apply-face-function to highlight
6350 color escapes using font-lock-face property (Bug#10835).
6351
20af2394
CY
63522012-02-19 Chong Yidong <cyd@gnu.org>
6353
6354 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6355 mode-line formats (Bug#10839).
6356
e23a3fbe
GM
63572012-02-18 Glenn Morris <rgm@gnu.org>
6358
b474519e
GM
6359 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6360
6361 * mail/undigest.el (unforward-rmail-message): Doc fix.
6362
e23a3fbe
GM
6363 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6364
57939ff4
EZ
63652012-02-18 Eli Zaretskii <eliz@gnu.org>
6366
6367 * international/characters.el (script-list): Sync with the latest
6368 Unicode Character Database.
6369
0c23686e
AS
63702012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6371
6372 * international/titdic-cnv.el: Remove duplicate coding tag.
6373 * language/cham.el: Likewise.
6374 * language/tai-viet.el: Likewise.
6375
6818b449
GM
63762012-02-18 Glenn Morris <rgm@gnu.org>
6377
6378 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6379 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6380 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6381 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6382 * calendar/holidays.el (holiday-bahai-holidays)
6383 (calendar-holidays, list-holidays):
6384 Use utf-8 Bahá'í in doc-strings, menus, etc.
6385
0311a3fc
TH
63862012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6387
6388 * saveplace.el (save-place-ignore-files-regexp): New variable
6389 allowing for excluding files from saving their location of point.
6390 The default value matches the temporary commit message editing
6391 files from Git, SVN, Bazaar, and Mercurial.
6392 (save-place-to-alist): Use it.
6393
d209e2fb 63942012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6395 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6396
6397 * newcomment.el (uncomment-region-default): Don't leave extra space
6398 when an arg is provided (bug#8150).
6399
ee0ce425
TZ
64002012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6401
eb864a71 6402 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6403
95ddf442
GM
64042012-02-17 Glenn Morris <rgm@gnu.org>
6405
6406 * net/socks.el: Require network-stream. (Bug#10599)
6407
48dd1e39 64082012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6409
6410 * international/charprop.el:
6411 * international/uni-name.el:
6412 * international/uni-old-name.el:
6413 * international/uni-comment.el: Regenerate.
6414
d68cd087
GM
64152012-02-16 Glenn Morris <rgm@gnu.org>
6416
6417 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6418 Interactively in calendar buffer, give an error if not on a date.
6419
13932042
GM
64202012-02-15 Glenn Morris <rgm@gnu.org>
6421
6422 * shell.el (shell-delimiter-argument-list):
6423 Revert 2011-02-17 change. (Bug#8027)
6424
c3a70e2b
CY
64252012-02-15 Chong Yidong <cyd@gnu.org>
6426
60236b0d
CY
6427 * minibuffer.el (completion-at-point-functions): Doc fix.
6428
c3a70e2b
CY
6429 * custom.el (defcustom): Doc fix; note use of defvar.
6430
9f26dc24
GM
64312012-02-15 Glenn Morris <rgm@gnu.org>
6432
6433 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6434 Doc fixes.
6435
6546b134
GM
64362012-02-14 Glenn Morris <rgm@gnu.org>
6437
6438 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6439
d29b2b4c
LI
64402012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6441
6442 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6443 way the ports list is computed.
835bdcba
LI
6444 (smtpmail-query-smtp-server): Prompt the user for a port number if
6445 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6446
08dcdbc9
TZ
64472012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6448
6449 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6450
2605051a
GM
64512012-02-13 Glenn Morris <rgm@gnu.org>
6452
6453 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6454
7ee99f32
TZ
64552012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6456
6457 * net/gnutls.el (gnutls-trustfiles): New variable.
6458 (gnutls-negotiate): Use it.
6459
5f0af64f
LI
64602012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6461
6462 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6463 does its stuff if Gnus is running.
6464
c14fcc95
AM
64652012-02-13 Alan Mackenzie <acm@muc.de>
6466
6467 Fix a loop in c-set-fl-decl-start.
6468
7a71b18d 6469 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6470 c-backward-syntactic-ws actually moves backwards.
6471
142b4d90
LL
64722012-02-13 Leo Liu <sdl.web@gmail.com>
6473
6474 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6475 beginning so that all \C-o chars are removed.
6476
fa9958a6
TZ
64772012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6478
dc9924b8 6479 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6480
0bc5886a
AM
64812012-02-12 Alan Mackenzie <acm@muc.de>
6482
6483 Fix infinite loop with long macros.
4d6769e1 6484 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6485
d4bd55e7
CY
64862012-02-12 Chong Yidong <cyd@gnu.org>
6487
6488 * window.el (display-buffer): Doc fix (Bug#10785).
6489
66f3fe22
GM
64902012-02-12 Glenn Morris <rgm@gnu.org>
6491
bd7da63e
GM
6492 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6493 (x-disown-selection-internal, x-get-selection-internal):
6494 Sync docs with the xselect.c versions.
6495
66f3fe22
GM
6496 * allout-widgets.el: Add missing license notice.
6497
3e0d2fa7
GM
64982012-02-11 Glenn Morris <rgm@gnu.org>
6499
cfecdf09
GM
6500 * select.el (x-get-selection-internal, x-own-selection-internal)
6501 (x-disown-selection-internal):
6502 * x-dnd.el (x-get-selection-internal): Update declarations.
6503
6d216d7f
GM
6504 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6505
2bed3f04
GM
6506 * window.el (window-sides-slots):
6507 * tool-bar.el (tool-bar-position):
6508 * term/xterm.el (xterm-extra-capabilities):
6509 * ses.el (ses-self-reference-early-detection):
6510 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6511 (verilog-auto-wire-type)
6512 (verilog-auto-delete-trailing-whitespace)
6513 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6514 (verilog-auto-tieoff-declaration):
6515 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6516 (sql-oracle-statement-starters, sql-oracle-scan-on):
6517 * progmodes/prolog.el (prolog-align-comments-flag)
6518 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6519 (prolog-left-indent-regexp, prolog-paren-indent-p)
6520 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6521 (prolog-types, prolog-mode-specificators)
6522 (prolog-determinism-specificators, prolog-directives)
6523 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6524 (prolog-electric-dot-flag)
6525 (prolog-electric-dot-full-predicate-template)
6526 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6527 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6528 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6529 (prolog-program-switches, prolog-prompt-regexp)
6530 (prolog-debug-on-string, prolog-debug-off-string)
6531 (prolog-trace-on-string, prolog-trace-off-string)
6532 (prolog-zip-on-string, prolog-zip-off-string)
6533 (prolog-use-standard-consult-compile-method-flag)
6534 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6535 (prolog-imenu-max-lines, prolog-info-predicate-index)
6536 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6537 (prolog-char-quote-workaround):
6538 * progmodes/cc-vars.el (c-defun-tactic):
6539 * net/tramp.el (tramp-encoding-command-interactive)
6540 (tramp-local-end-of-line):
6541 * net/soap-client.el (soap-client):
6542 * net/netrc.el (netrc-file):
6543 * net/gnutls.el (gnutls):
6544 * minibuffer.el (completion-category-overrides)
6545 (completion-cycle-threshold)
6546 (completion-pcm-complete-word-inserts-delimiters):
6547 * man.el (Man-name-local-regexp):
6548 * mail/feedmail.el (feedmail-display-full-frame):
6549 * international/characters.el (glyphless-char-display-control):
6550 * eshell/em-ls.el (eshell-ls-date-format):
6551 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6552 (lisp-lambda-list-keyword-parameter-indentation)
6553 (lisp-lambda-list-keyword-parameter-alignment):
6554 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6555 * dired-x.el (dired-omit-verbose):
6556 * cus-theme.el (custom-theme-allow-multiple-selections):
6557 * calc/calc.el (calc-highlight-selections-with-faces)
6558 (calc-lu-field-reference, calc-lu-power-reference)
6559 (calc-note-threshold):
6560 * battery.el (battery-mode-line-limit):
6561 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6562 (archive-7z-update):
6563 * allout.el (allout-prefixed-keybindings)
6564 (allout-unprefixed-keybindings)
6565 (allout-inhibit-auto-fill-on-headline)
6566 (allout-flattened-numbering-abbreviation):
6567 * allout-widgets.el (allout-widgets-auto-activation)
6568 (allout-widgets-icons-dark-subdir)
6569 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6570 (allout-widgets-theme-dark-background)
6571 (allout-widgets-theme-light-background)
6572 (allout-widgets-item-image-properties-emacs)
6573 (allout-widgets-item-image-properties-xemacs)
6574 (allout-widgets-run-unit-tests-on-load)
6575 (allout-widgets-time-decoration-activity)
6576 (allout-widgets-hook-error-post-time)
6577 (allout-widgets-track-decoration):
6578 Add missing :version tags to new defcustoms and defgroups.
6579
5fec1b8e
GM
6580 * progmodes/sql.el (sql-ansi-statement-starters)
6581 (sql-oracle-statement-starters): Add custom type.
6582
3e0d2fa7
GM
6583 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6584 (prolog-system-version): Give it a type.
6585
90b671e2
EZ
65862012-02-11 Eli Zaretskii <eliz@gnu.org>
6587
6588 * term/pc-win.el (x-select-text, x-selection-owner-p)
6589 (x-own-selection-internal, x-disown-selection-internal)
6590 (x-get-selection-internal): Sync doc strings and argument lists
6591 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6592
5eac0c02
LL
65932012-02-11 Leo Liu <sdl.web@gmail.com>
6594
6595 * progmodes/python.el (python-end-of-statement): Fix infinite
6596 loop. (Bug#10788)
6597
f82cb659
GM
65982012-02-10 Glenn Morris <rgm@gnu.org>
6599
6600 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6601 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6602
cc26d239
LI
66032012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6604
6605 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6606 about SMTP before checking the From header.
6607
91027d08 6608 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6609 into own function for reuse by emacsbug.el.
6610
1be3ca5a
LL
66112012-02-10 Leo Liu <sdl.web@gmail.com>
6612
6613 * subr.el (condition-case-unless-debug): Rename from
6614 condition-case-no-debug. All callers changed.
6615 (with-demoted-errors): Fix caller.
6616
6617 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6618 * nxml/rng-valid.el (rng-do-some-validation):
6619 * emacs-lisp/package.el (package-refresh-contents)
6620 (package-menu-execute):
6621 * desktop.el (desktop-create-buffer):
91027d08 6622 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6623
b011fbfe
GM
66242012-02-10 Glenn Morris <rgm@gnu.org>
6625
b2096d72
GM
6626 * textmodes/bibtex.el:
6627 Add missing :version tags for new/changed defcustoms.
6628
b011fbfe
GM
6629 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6630
4c7e65bf
LI
66312012-02-09 Lars Ingebrigtsen <larsi@rusty>
6632
6633 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6634 (smtpmail-via-smtp): Use it, or fall back on the From address.
6635 (smtpmail-send-it): Ditto.
6636
f3934f6f
SM
66372012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6640 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6641 (byte-compile-tmp-var): New const.
6642 (byte-compile-defvar): Use it to minimize .elc size.
6643 Just use `defvar' rather than simulate it (bug#10761).
6644
a075a2c5
GM
66452012-02-09 Glenn Morris <rgm@gnu.org>
6646
cf3aa21b
GM
6647 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6648
354998cd
GM
6649 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6650 Add :version tags.
6651
dc9924b8
SM
6652 * progmodes/compile.el (compilation-error-screen-columns)
6653 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6654
dab3703d
GM
6655 * vc/log-view.el (log-view-toggle-entry-display):
6656 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6657
3f88cd72
GM
6658 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6659 (report-emacs-bug-can-use-xdg-email):
6660 (report-emacs-bug-insert-to-mailer): Doc fixes.
6661 (report-emacs-bug): Message fix.
6662
d95b247d
GM
6663 * net/browse-url.el (browse-url-can-use-xdg-open)
6664 (browse-url-xdg-open): Doc fixes.
6665
a075a2c5
GM
6666 * electric.el (electric-indent-mode, electric-pair-mode)
6667 (electric-layout-rules, electric-layout-mode): Doc fixes.
6668 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6669
ffb6157e
MR
66702012-02-08 Martin Rudalics <rudalics@gmx.at>
6671
6672 * server.el (server-unselect-display): Don't inadvertently kill
6673 the current buffer. (Bug#10729)
6674
e1ac4066
GM
66752012-02-08 Glenn Morris <rgm@gnu.org>
6676
34e8a2da
GM
6677 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6678 (sql-list-table): Doc fixes.
6679
b4ac6e8c
GM
6680 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6681 Comment out (does nothing).
6682
e1ac4066
GM
6683 * completion.el (dynamic-completion-mode):
6684 * dirtrack.el (dirtrack-debug-mode):
6685 * electric.el (electric-layout-mode):
6686 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6687 * face-remap.el (text-scale-mode, buffer-face-mode):
6688 * iimage.el (iimage-mode):
6689 * image-mode.el (image-transform-mode):
6690 * minibuffer.el (completion-in-region-mode):
6691 * scroll-lock.el (scroll-lock-mode):
6692 * simple.el (next-error-follow-minor-mode):
6693 * tar-mode.el (tar-subfile-mode):
6694 * tooltip.el (tooltip-mode):
6695 * vcursor.el (vcursor-use-vcursor-map):
6696 * wid-browse.el (widget-minor-mode):
6697 * emulation/tpu-edt.el (tpu-edt-mode):
6698 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6699 * international/iso-ascii.el (iso-ascii-mode):
6700 * language/thai-util.el (thai-word-mode):
6701 * mail/supercite.el (sc-minor-mode):
6702 * net/goto-addr.el (goto-address-mode):
6703 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6704 * progmodes/cwarn.el (cwarn-mode):
6705 * progmodes/flymake.el (flymake-mode):
6706 * progmodes/glasses.el (glasses-mode):
6707 * progmodes/hideshow.el (hs-minor-mode):
6708 * progmodes/pascal.el (pascal-outline-mode):
6709 * textmodes/enriched.el (enriched-mode):
6710 * vc/smerge-mode.el (smerge-mode):
6711 Doc fixes (minor mode argument).
6712
5e0d957f
EZ
67132012-02-07 Eli Zaretskii <eliz@gnu.org>
6714
6715 * ls-lisp.el (ls-lisp-sanitize): New function.
6716 (ls-lisp-insert-directory): Use it to fix or remove any elements
6717 in file-alist with missing attributes. (Bug#4673)
6718
98d7371e
AM
67192012-02-07 Alan Mackenzie <acm@muc.de>
6720
6721 Fix spurious recognition of c-in-knr-argdecl.
6722
6723 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6724 putative K&R region.
6725
667ced3a
AM
67262012-02-07 Alan Mackenzie <acm@muc.de>
6727
eb864a71
LM
6728 * progmodes/cc-engine.el (c-forward-objc-directive):
6729 Prevent looping in "#pragma mark @implementation".
667ced3a 6730
5b77774d
MA
67312012-02-07 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * notifications.el (notifications-on-closed-signal): Make `reason'
6734 optional. (Bug#10744)
6735
af008560
GM
67362012-02-07 Glenn Morris <rgm@gnu.org>
6737
60d47423
GM
6738 * emacs-lisp/easy-mmode.el (define-minor-mode):
6739 Doc fixes for the macro and the mode it defines.
6740
dd605cc4
GM
6741 * image.el (imagemagick-types-inhibit): Doc fix.
6742
af008560
GM
6743 * cus-start.el (imagemagick-render-type): Add it.
6744
5cc59a37
LI
67452012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6746
4d6769e1
JB
6747 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6748 Set the default at load time, too, so that `font-lock-fontify-buffer'
6749 can be called without setting up the entire mode first. This fixes
6750 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6751
9a6dd747
CY
67522012-02-06 Chong Yidong <cyd@gnu.org>
6753
2d16b285
CY
6754 * simple.el (list-processes--refresh): Delete exited processes
6755 (Bug#8094).
6756
171e9b6e
CY
6757 * comint.el (comint-next-prompt): next-single-char-property-change
6758 and prev-single-char-property-change never return nil (Bug#8657).
6759
9a6dd747
CY
6760 * custom.el (defcustom): Doc fix (Bug#9711).
6761
aa4589a7
CY
67622012-02-05 Chong Yidong <cyd@gnu.org>
6763
5c2a252f
CY
6764 * cus-edit.el (custom-variable-reset-backup): Quote the value
6765 before storing it in the customized-value property (Bug#6712).
4aab9006 6766 (custom-display): Add a customization type tag.
983b9602 6767 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6768
aa4589a7
CY
6769 * wid-edit.el (widget-field-value-get): New optional arg to
6770 suppress trailing whitespace truncation.
6771 (character): Use it (Bug#2689).
6772
1ff980ae
AS
67732012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6774
6775 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6776 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6777
03988c98
CY
67782012-02-05 Chong Yidong <cyd@gnu.org>
6779
eeb6cc88
CY
6780 * cus-edit.el (custom-variable-value-create): For mismatched
6781 types, show the current value (Bug#7600).
6782
03988c98
CY
6783 * custom.el (defcustom): Doc fix.
6784
f8cdeef0
GM
67852012-02-05 Glenn Morris <rgm@gnu.org>
6786
6787 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6788
0696d255
JB
67892012-02-05 Juanma Barranquero <lekktu@gmail.com>
6790
6791 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6792 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6793 (pp-last-sexp): Use `looking-at-p'.
6794
34c99998
GM
67952012-02-04 Glenn Morris <rgm@gnu.org>
6796
8f05da42
GM
6797 * files.el (revert-buffer):
6798 Doc fix (mention revert-buffer-in-progress-p).
6799
f160676e
GM
6800 * emacs-lisp/ert-x.el (ert-simulate-command):
6801 Check deferred-action-list (which is obsolete) is bound.
6802
c7291ad9
GM
6803 * subr.el (with-wrapper-hook): Doc fixes.
6804
34c99998
GM
6805 * simple.el (filter-buffer-substring-functions)
6806 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6807
6283a7d3
LL
68082012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6809
6810 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6811 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6812
e96e3013
LL
68132012-02-04 Leo Liu <sdl.web@gmail.com>
6814
6815 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6816
8ded50f2
GM
68172012-02-04 Glenn Morris <rgm@gnu.org>
6818
82ff1d13
GM
6819 * image.el (image-extension-data): Add obsolete alias.
6820
987a0a16
GM
6821 * isearch.el (isearch-update): Doc fix.
6822
ea32ef46
GM
6823 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6824
8ded50f2
GM
6825 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6826
eea14f31
GM
68272012-02-03 Glenn Morris <rgm@gnu.org>
6828
6829 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6830 (image-animate-timeout): Doc fix.
6831
6832 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6833
12f381b7
GM
68342012-02-02 Glenn Morris <rgm@gnu.org>
6835
953cebf5
GM
6836 * server.el (server-auth-dir): Doc fix.
6837 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6838
12f381b7
GM
6839 * subr.el (run-mode-hooks): Doc fix.
6840
953a8c3b
JL
68412012-02-02 Juri Linkov <juri@jurta.org>
6842
6843 * image-mode.el (image-toggle-display-image): Remove tautological
6844 `major-mode' from the `derived-mode-p' test.
6845
c5d3843c
KH
68462012-02-02 Kenichi Handa <handa@m17n.org>
6847
9f6e692e 6848 * composite.el (compose-region): Cancel previous change.
c5d3843c 6849
159462d4 68502012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6851
6852 * composite.el (compose-region, compose-string): Signal error for
6853 a null string component (Bug#6988).
6854
9f562668
CY
68552012-02-01 Chong Yidong <cyd@gnu.org>
6856
e2cef717
CY
6857 * view.el (view-buffer-other-window, view-buffer-other-frame):
6858 Handle special modes like view-buffer (Bug#10650).
6859 (view-buffer): Simplify.
6860
9f562668
CY
6861 * frame.el (set-frame-font): Tweak meaning of third argument.
6862
9f6e692e
JB
6863 * dynamic-setting.el (font-setting-change-default-font):
6864 Use set-frame-font (Bug#9982).
9f562668 6865
781acb9f
GM
68662012-02-01 Glenn Morris <rgm@gnu.org>
6867
6035be52
GM
6868 * progmodes/compile.el (compilation-internal-error-properties):
6869 Respect compilation-first-column in the "*compilation*" buffer.
6870
781acb9f
GM
6871 * emacs-lisp/easy-mmode.el (define-minor-mode):
6872 Relax :variable's test for a named function.
6873
abbceb00
AM
68742012-01-31 Alan Mackenzie <acm@muc.de>
6875
6876 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6877 off by one error.
6878
fce3fdeb
CY
68792012-01-31 Chong Yidong <cyd@gnu.org>
6880
6881 * frame.el (set-frame-font): New arg ALL-FRAMES.
6882
6883 * menu-bar.el (menu-set-font): Use set-frame-font.
6884
6885 * faces.el (face-spec-reset-face): Don't apply unspecified
6886 attribute values to the default face.
6887
47893581
JB
68882012-01-31 Juanma Barranquero <lekktu@gmail.com>
6889
6890 * progmodes/cwarn.el (cwarn): Remove dead link.
6891 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6892 Remove * from defcustom docstrings.
6893 (turn-on-cwarn-mode): Make obsolete.
6894 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6895 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6896
e58e988a
GM
68972012-01-31 Glenn Morris <rgm@gnu.org>
6898
60dc2671 6899 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6900 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6901 Allow named functions to be used as the cdr of :variable.
e58e988a 6902
7a3f511d
GM
69032012-01-30 Glenn Morris <rgm@gnu.org>
6904
6905 * emacs-lisp/authors.el (authors-fixed-entries):
6906 Remove reference to deleted file rnewspost.el.
6907
cb882333
JB
69082012-01-29 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * window.el (window-with-parameter): Remove unused variable `windows'.
6911 (window--side-check): Remove unused variable `code'.
6912 (window--resize-siblings): Remove unused variable `first'.
6913 (adjust-window-trailing-edge): Remove unused variable `failed'.
6914 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6915 Use `let', not `let*'.
6916 (balance-windows-2): Remove unused variable `found'.
6917 (window--state-put-2): Remove unused variable `splits'.
6918 (window-state-put): Remove unused variable `selected'.
6919 (same-window-p): Use `string-match-p'.
6920 (display-buffer-assq-regexp): Remove unused variable `value'.
6921 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6922 Mark argument ALIST as ignored.
6923 (pop-to-buffer): Remove unused variable `old-window'.
6924
907201af
EZ
69252012-01-29 Eli Zaretskii <eliz@gnu.org>
6926
6927 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6928 and .lzma compressed files.
6929
ea162670
CY
69302012-01-29 Chong Yidong <cyd@gnu.org>
6931
5b95ee8a
CY
6932 * frame.el (window-system-default-frame-alist): Doc fix.
6933
ea162670
CY
6934 * dynamic-setting.el (font-setting-change-default-font): Don't
6935 change the default face if SET-FONT argument is non-nil (Bug#9982).
6936
d6e6f4b1
SB
69372012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6938
6939 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6940
0f29fa41 69412012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6942
6943 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6944 breakpoints in files outside current directory (Bug#6098).
6945
db174434
CY
69462012-01-29 Chong Yidong <cyd@gnu.org>
6947
6b25e4e2
SE
6948 * progmodes/python.el: Require ansi-color at top-level.
6949
6df6ae42
JB
6950 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6951 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6952 (lisp-mode-abbrev-table): Add doc.
6953 (lisp-mode-variables): Don't set local-abbrev-table.
6954 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6955
e70ee681
RW
69562012-01-28 Roland Winkler <winkler@gnu.org>
6957
6958 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6959
ace88aa2
RW
69602012-01-28 Roland Winkler <winkler@gnu.org>
6961
6962 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6963 (bibtex-set-dialect): Use it. Either set global values of
6964 dialect-dependent variables or bind these variables buffer-locally
6965 (Bug#10254).
6966 (bibtex-mode): Call bibtex-set-dialect via
6967 hack-local-variables-hook.
eb864a71
LM
6968 (bibtex-dialect): Update docstring.
6969 Add safe-local-variable predicate.
ace88aa2
RW
6970 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6971 bibtex-set-dialect.
6972 (bibtex-mode-map): Define menu for each dialect.
6973 (bibtex-entry): Fix docstring.
6974
93376c5b
CY
69752012-01-28 Chong Yidong <cyd@gnu.org>
6976
6977 * eshell/esh-arg.el (eshell-quote-argument): New function.
6978
6979 * eshell/esh-ext.el (eshell-invoke-batch-file):
6980 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6981 first arg to eshell-parse-command (Bug#10523).
6982
4372494f
DA
69832012-01-28 Drew Adams <drew.adams@oracle.com>
6984
6985 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6986 `default-directory' is non-nil.
6987
4d4ec1f8
EZ
69882012-01-28 Eli Zaretskii <eliz@gnu.org>
6989
6990 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6991 line that displays system-configuration-options. (Bug#9924)
6992
7c188927
DA
69932012-01-28 Drew Adams <drew.adams@oracle.com>
6994
6995 * descr-text.el (describe-char): Show information about POS, in
6996 addition to information about the character at POS. Improve and
6997 update the doc string. Change "code point" to "code point in
6998 charset", to avoid confusion with the character's Unicode code
6999 point shown above that. (Bug#10129)
7000
e0da685a
EZ
70012012-01-28 Eli Zaretskii <eliz@gnu.org>
7002
7003 * descr-text.el (describe-char): Show the raw character, not only
7004 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7005 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7006 for the reasons.
7007
70550acf
PH
70082012-01-28 Phil Hagelberg <phil@hagelb.org>
7009
eb864a71
LM
7010 * emacs-lisp/package.el (package-install):
7011 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7012
0ce8e868
CY
70132012-01-28 Chong Yidong <cyd@gnu.org>
7014
cb882333
JB
7015 * emacs-lisp/package.el (package-maybe-load-descriptor):
7016 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7017 (package-maybe-load-descriptor): Use it.
7018 (package-download-transaction): Fully load required packages
7019 inside the loop, so that `require' calls work (Bug#10593).
7020 (package-install): No need to call package-initialize now.
7021
2e7f3bea
CY
70222012-01-28 Chong Yidong <cyd@gnu.org>
7023
6e9bad14
CY
7024 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7025
f823b8ca
CY
7026 * tooltip.el (tooltip-mode): Doc fix.
7027 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7028
2680c309
CY
7029 * frame.el (set-cursor-color): Doc fix (Bug#352).
7030
d7a9e63b
CY
7031 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7032 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7033
2e7f3bea
CY
7034 * cus-edit.el (custom-buffer-create-internal): Fix search button
7035 action (Bug#10542).
2ae01800 7036 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7037
fc4f7a23
EW
70382012-01-27 Eduard Wiebe <usenet@pusto.de>
7039
7040 * dired.el (dired-mark-files-regexp):
7041 Include any subdirectory components. (Bug#10445)
7042
7dd37071
ML
70432012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7044
7045 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7046 Handle [host]:port syntax. (Bug#10533)
7047
a268160b
AH
70482012-01-27 Alex Harsanyi <harsanyi@mac.com>
7049
7050 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7051
e43273ef
GM
70522012-01-26 Glenn Morris <rgm@gnu.org>
7053
7054 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7055 * term.el (term-raw-escape-map): Use Control-X-prefix.
7056 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7057
1edf595d
MR
70582012-01-25 Martin Rudalics <rudalics@gmx.at>
7059
7060 * window.el (window-state-get, window--state-get-1): Don't deal
7061 with fixed-sizeness of windows. Simplify code.
7062
fa8eafef
JC
70632012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7064
6df6ae42
JB
7065 * window.el (window--state-get-1, window--state-put-2):
7066 Don't save and restore the mark.
fa8eafef 7067
0b21c100
CY
70682012-01-25 Chong Yidong <cyd@gnu.org>
7069
7070 * custom.el (custom-variable-p): Doc fix.
7071
5ae1a6c8
GM
70722012-01-25 Glenn Morris <rgm@gnu.org>
7073
40047858
GM
7074 * dired.el (dired-goto-file): Handle some of the more common
7075 characters that `ls -b' escapes. (Bug#10596)
7076
5ddce96c
GM
7077 * progmodes/compile.el (compilation-next-error-function):
7078 Respect compilation-first-column in the "*compilation*" buffer.
7079 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7080
5ae1a6c8
GM
7081 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7082
b559f1a9
GM
70832012-01-24 Glenn Morris <rgm@gnu.org>
7084
7085 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7086
6725d21a
JD
70872012-01-24 Julien Danjou <julien@danjou.info>
7088
7089 * color.el (color-rgb-to-hsl): Fix value computing.
7090 (color-hue-to-rgb): New function.
7091 (color-hsl-to-rgb): New function.
7092 (color-clamp, color-saturate-hsl, color-saturate-name)
7093 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7094 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7095
70df4bbe
GM
70962012-01-24 Glenn Morris <rgm@gnu.org>
7097
7098 * vc/vc-rcs.el (vc-rcs-create-tag):
7099 * vc/vc-sccs.el (vc-sccs-create-tag):
7100 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7101
802a2ae2
ML
71022012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7103
7104 * eshell/esh-util.el (eshell-read-hosts-file):
7105 Skip comment lines. (Bug#10549)
7106
d7128bb1
ML
7107 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7108
d1a5c3b4
JB
71092012-01-23 Juanma Barranquero <lekktu@gmail.com>
7110
2724d9c7
JB
7111 * subr.el (display-delayed-warnings): Doc fix.
7112 (collapse-delayed-warnings): New function to collapse identical
7113 adjacent warnings.
7114 (delayed-warnings-hook): Add it.
d1a5c3b4 7115
a5509865
MA
71162012-01-22 Michael Albinus <michael.albinus@gmx.de>
7117
7118 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7119
a5509865
MA
7120 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7121 (tramp-default-user-alist): Don't add "pscp".
7122 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7123 property "login-as", if set. (Bug#10530)
7124
cc6d5805
MA
71252012-01-21 Michael Albinus <michael.albinus@gmx.de>
7126
7127 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7128 "plink1" and "psftp". (Bug#10530)
7129
71302012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7131
7132 * international/mule-cmds.el (prefer-coding-system): Show a
7133 warning message if the default value of file-name-coding-system
7134 was not changed.
7135
f0960428
JC
71362012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7137
cb882333
JB
7138 * windmove.el (windmove-reference-loc):
7139 Fix windmove-reference-loc miscalculation.
f0960428 7140
dd6f2a63
JB
71412012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7142
7143 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7144 default unit.
7145
7b447e9b
GM
71462012-01-21 Glenn Morris <rgm@gnu.org>
7147
117a9ea1
GM
7148 * international/mule.el (auto-coding-alist): Add .tbz.
7149
7b447e9b
GM
7150 * files.el (local-enable-local-variables): Doc fix.
7151 (inhibit-local-variables-regexps): Rename from
7152 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7153 Doc fix. Add some extensions from auto-coding-alist.
7154 (inhibit-local-variables-suffixes):
7155 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7156 (inhibit-local-variables-p):
7157 New function, extracted from set-auto-mode-1.
7158 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7159 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7160 (hack-local-variables): Doc fix. Make the mode-only case
7161 respect enable-local-variables and friends.
7162 Respect inhibit-local-variables-regexps for file-locals, but
7163 not for directory-locals.
7164 (set-visited-file-name):
7165 Take account of inhibit-local-variables-regexps.
7166 Whether it applies may change as the file name is changed.
7167 * jka-cmpr-hook.el (jka-compr-install):
7168 * jka-compr.el (jka-compr-uninstall):
7169 Update for inhibit-first-line-modes-suffixes name change.
7170
dd6e3cdd
MR
71712012-01-20 Martin Rudalics <rudalics@gmx.at>
7172
7173 * help-macro.el (make-help-screen): Temporarily restore original
7174 binding for minor-mode-map-alist (Bug#10454).
7175
0d0deb38
JD
71762012-01-19 Julien Danjou <julien@danjou.info>
7177
7178 * color.el (color-name-to-rgb): Use the white color to find the max
7179 color component value and return correctly computed values.
7180 (color-name-to-rgb): Add missing float conversion for max value.
7181
34a02f46
MR
71822012-01-19 Martin Rudalics <rudalics@gmx.at>
7183
7184 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7185 special state value for window-persistent-parameters.
7186 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7187 (window--state-put-2): Reset all window parameters to nil before
7188 assigning values of persistent parameters.
7189
606c44c4
AM
71902012-01-18 Alan Mackenzie <acm@muc.de>
7191
7192 Eliminate sluggishness and hangs in fontification of "semicolon
7193 deserts".
7194
cb882333
JB
7195 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7196 Change value 10000 -> 3000.
606c44c4
AM
7197 (c-state-safe-place): Reformulate so it doesn't stack up an
7198 infinite number of wrong entries in c-state-nonlit-pos-cache.
7199 (c-determine-limit-get-base, c-determine-limit): New functions to
7200 determine backward search limits disregarding literals.
7201 (c-find-decl-spots): Amend commenting.
7202 (c-cheap-inside-bracelist-p): New function which detects "={".
7203
7204 * progmodes/cc-fonts.el
7205 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7206 backward search.
7207 (c-font-lock-declarations): Fix an occurrence of point being
7208 undefined. Check additionally for point being in a bracelist or
7209 near a macro invocation without a semicolon so as to avoid a
7210 fruitless time consuming search for a declarator. Give a more
7211 precise search limit for declarators using the new
7212 c-determine-limit.
7213
f3860cea
GM
72142012-01-18 Glenn Morris <rgm@gnu.org>
7215
7216 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7217 (set-auto-mode): Doc fixes.
7218
1db03b16
GM
72192012-01-17 Glenn Morris <rgm@gnu.org>
7220
0e6038be
GM
7221 * isearch.el (search-nonincremental-instead): Fix doc typo.
7222
1db03b16
GM
7223 * dired.el (dired-insert-directory): Handle newlines in directory name.
7224 (dired-build-subdir-alist): Unescape newlines in directory name.
7225
4cb0aa75
MA
72262012-01-17 Michael Albinus <michael.albinus@gmx.de>
7227
7228 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7229 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7230 (tramp-action-terminal): Use it. (Bug#10530)
7231
1d00653d
SM
72322012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7235
6a6ee00d
MR
72362012-01-16 Martin Rudalics <rudalics@gmx.at>
7237
7238 * window.el (window-state-ignored-parameters): Remove variable.
7239 (window--state-get-1): Rename argument MARKERS to IGNORE.
7240 Handle persistent window parameters. Make copy of clone-of
7241 parameter only if requested. (Bug#10348)
7242 (window--state-put-2): Install a window parameter only if it has
7243 a non-nil value or an existing parameter shall be overwritten.
7244
97912def
MA
72452012-01-15 Michael Albinus <michael.albinus@gmx.de>
7246
7247 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7248
688070a5
EZ
72492012-01-14 Eli Zaretskii <eliz@gnu.org>
7250
7251 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7252 don't pass the (nil) value of `upnode' to string-match.
7253
301afadc
CY
72542012-01-14 Chong Yidong <cyd@gnu.org>
7255
7256 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7257 Fix values recognized by the cursorBlink resource.
301afadc 7258
9e5788aa
PE
72592012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7260
7261 * epg.el (epg--make-temp-file): Avoid permission race condition
7262 when running on old Emacs versions (bug#10403).
7263
3cdb7f5a
GM
72642012-01-14 Glenn Morris <rgm@gnu.org>
7265
7266 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7267
8c82b1b4
AM
72682012-01-13 Alan Mackenzie <acm@muc.de>
7269
7270 Fix filling for when filladapt mode is enabled.
7271
7272 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7273 c-mask-paragraph, pass in `fill-paragraph' rather than
7274 `fill-region-as-paragraph'. (This is a reversion of a previous
7275 change.)
eb864a71
LM
7276 * progmodes/cc-mode.el (c-basic-common-init):
7277 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7278
e517eda4
GM
72792012-01-13 Glenn Morris <rgm@gnu.org>
7280
1498536e
GM
7281 * dired.el (dired-switches-escape-p): New function.
7282 (dired-insert-directory): Use dired-switches-escape-p.
7283 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7284
e517eda4
GM
7285 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7286
328f984d
GM
72872012-01-12 Glenn Morris <rgm@gnu.org>
7288
7289 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7290 changes in adaptive-fill-regexp. (Bug#10276)
7291
2cc769a8
AM
72922012-01-11 Alan Mackenzie <acm@muc.de>
7293
7294 Fix Emacs bug #10463 - put `widen's around the critical spots.
7295
1d00653d 7296 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7297 widen around each invocation of c-state-pp-to-literal. Remove an
7298 unused let variable.
7299
e52c37fa
GM
73002012-01-11 Glenn Morris <rgm@gnu.org>
7301
7302 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7303 Doc fix.
e52c37fa 7304
96f8741e
CY
73052012-01-10 Chong Yidong <cyd@gnu.org>
7306
1d00653d
SM
7307 * net/network-stream.el (network-stream-open-starttls):
7308 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7309 response to the capability command.
7310
b09a806e
GM
73112012-01-10 Glenn Morris <rgm@gnu.org>
7312
7313 * mail/unrmail.el (unrmail): Tweak previous change.
7314
7655cb66
CY
73152012-01-09 Chong Yidong <cyd@gnu.org>
7316
7317 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7318
9d5a8f0b
AM
73192012-01-08 Alan Mackenzie <acm@muc.de>
7320
7321 Optimise font locking in long enum definitions.
7322
7323 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7324 arm to a cond form to handle enums.
7325 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7326 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7327
9a0115ab 73282012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7329
7330 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7331 (Bug#10401)
6bb72cbd 7332
f186bb95
LMI
73332012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7334
29232a68
LMI
7335 * faces.el (set-face-attribute): Clarify the meaning of the nil
7336 frame (bug#10294).
7337
4e5d086d
LMI
7338 * subr.el (with-selected-frame): Mention that the selected frame
7339 is restored (bug#9980).
7340
8e66aebe
LMI
7341 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7342 (bug#9759).
7343
cd394be1 7344 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7345 (password-read): Don't autoload unused function.
7346
adf4e762
JB
73472012-01-07 Juanma Barranquero <lekktu@gmail.com>
7348
7349 * progmodes/which-func.el (which-func-mode): Turn into a
7350 non-interactive function and mark as obsolete (bug#10428).
7351
89bd9ccd
CY
73522012-01-06 Chong Yidong <cyd@gnu.org>
7353
7354 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7355 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7356 functions, along with 1 and -1.
7357
4afee9d5
EZ
73582012-01-06 Eli Zaretskii <eliz@gnu.org>
7359
7360 * time.el (display-time-load-average)
7361 (display-time-default-load-average): Doc fixes. See the thread
7362 starting at
7363 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7364 for the details.
7365
536aea70
GM
73662012-01-06 Glenn Morris <rgm@gnu.org>
7367
665ae865
GM
7368 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7369 has no messages. (Bug#10377)
7370
c869783d
GM
7371 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7372 than Info-edit. (Bug#10385)
7373
2bb4227e
GM
7374 * time.el (display-time-load-average, display-time-next-load-average):
7375 Doc fixes.
7376
7d5944b9
GM
7377 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7378 local setting of buffer-read-only to the input buffer. (Bug#10419)
7379
536aea70
GM
7380 * calendar/calendar.el (calendar-mode):
7381 Locally set scroll-margin to 0. (Bug#10379)
7382
7dccca16
UM
73832012-01-06 Ulrich Mueller <ulm@gentoo.org>
7384
7385 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7386
afbb7930
GM
73872012-01-05 Glenn Morris <rgm@gnu.org>
7388
7389 * eshell/em-unix.el (diff-no-select): Autoload it.
7390 (eshell/diff): Use diff-no-select. (Bug#10420)
7391
04482335
CY
73922012-01-05 Chong Yidong <cyd@gnu.org>
7393
7baca3bc
CY
7394 * shell.el (shell-dynamic-complete-functions): Revert last change.
7395 (shell-command-completion-function): New function.
7396 (shell-completion-vars): Use it to implement
7397 shell-completion-execonly (Bug#10417).
7398
04482335
CY
7399 * custom.el (enable-theme): Don't set custom-safe-themes.
7400
1d00653d
SM
7401 * cus-theme.el (custom-theme-merge-theme):
7402 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7403
bb5aa5d6
MM
74042012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7405
7406 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7407 first prompt in `sql-interacive-mode'.
7408 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7409 keywords.
6df6ae42 7410 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7411 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7412 context of original buffer. Invoke `sql-login-hook'.
7413
a7183d7c
EZ
74142012-01-04 Eli Zaretskii <eliz@gnu.org>
7415
7416 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7417 letters in cite-prefix.
7418
a1eacd1e
LMI
74192012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7420
7421 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7422
787cdb34
CY
74232012-01-03 Chong Yidong <cyd@gnu.org>
7424
1d00653d
SM
7425 * shell.el (shell-dynamic-complete-functions):
7426 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7427 comint-filename-completion first (Bug#10417).
7428
30710442
RS
74292012-01-02 Richard Stallman <rms@gnu.org>
7430
7431 * battery.el (battery-status-function):
7432 Detect when to use battery-yeeloong-sysfs.
7433 (battery-echo-area-format): Add string for Yeeloong.
7434 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7435 (battery-yeeloong-sysfs): New function.
7436
f75bfc33
CY
74372012-01-02 Chong Yidong <cyd@gnu.org>
7438
7439 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7440 (dirtrack): Merge code for handling relative filenames in prompt
7441 from shell-dir-cookie-watcher.
7442 (dirtrack-debug-message): New arg to avoid excess format calls.
7443
7444 * shell.el (shell-dir-cookie-re): Variable deleted.
7445 (shell-dir-cookie-watcher): Function deleted.
7446 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7447 with dirtrack-mode.
7448
651e947e
EZ
74492012-01-01 Eli Zaretskii <eliz@gnu.org>
7450
1d00653d
SM
7451 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7452 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7453 libgnutls-26.dll.
7454
94d4c7dc
AS
74552011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7456
7457 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7458
8d43f3cd
EZ
74592011-12-31 Eli Zaretskii <eliz@gnu.org>
7460
7461 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7462 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7463
98c8795a
MA
74642011-12-29 Michael Albinus <michael.albinus@gmx.de>
7465
7466 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7467 also for alternative shells.
7468 (tramp-open-connection-setup-interactive-shell): Check, whether
7469 the shell is a busybox.
7470 (tramp-send-command): Don't suppress multiple prompts for
7471 busyboxes, it hurts.
7472
51281b32
CY
74732011-12-28 Chong Yidong <cyd@gnu.org>
7474
7475 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7476 (gdb-get-source-file): Move mode line update to
7477 gdb-get-source-file (Bug#10087).
7478
2170cb53
CY
74792011-12-25 Chong Yidong <cyd@gnu.org>
7480
7481 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7482 gud-gdb-marker-filter without taking it as an argument.
7483 (gud-gdb-run-command-fetch-lines): Caller changed.
7484 (gud-gdb-completion-function): New variable.
7485 (gud-gdb-completion-at-point): Use it.
7486 (gud-gdb-completions-1): Split from gud-gdb-completions.
7487
7488 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7489 function as separate arguments.
7490 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7491 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7492 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7493 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7494 (gdb-stopped, def-gdb-auto-update-trigger)
7495 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7496 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7497 Callers changed.
2170cb53
CY
7498 (gud-gdbmi-completions): New function.
7499 (gdb): Use it for generating the completion table.
7500
be8b11bb
AM
75012011-12-24 Alan Mackenzie <acm@muc.de>
7502
7503 Introduce a mechanism to widen the region used in context font
1d00653d 7504 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7505
1d00653d
SM
7506 * progmodes/cc-langs.el (c-before-font-lock-functions):
7507 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7508 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7509 functions to be run just before context (etc.) font locking.
7510
7511 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7512 New, functionality extracted from
be8b11bb 7513 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7514 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7515 (c-after-change): Set c-in-after-change-fontification.
7516 (c-set-fl-decl-start): Rejig its interface, so it can be called
7517 from both after-change and context fontifying.
b81d40f0
JB
7518 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7519 New functions.
7520 (c-standard-font-lock-fontify-region-function): New variable.
7521 (c-font-lock-fontify-region): New function.
be8b11bb 7522
341cf6ac
JL
75232011-12-24 Juri Linkov <juri@jurta.org>
7524
7525 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7526 (Bug#10348)
7527
bffcee0a
MA
75282011-12-23 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7531 existence of source file. (Bug#10325)
7532
cb5e207c
AM
75332011-12-23 Alan Mackenzie <acm@muc.de>
7534
7535 Fix unstable fontification inside templates.
7536
b81d40f0
JB
7537 * progmodes/cc-langs.el (c-before-font-lock-functions):
7538 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7539 additionally has c-set-fl-decl-start. The other languages (apart
7540 from AWK) have that as a single entry.
7541
b81d40f0
JB
7542 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7543 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7544 c-set-fl-decl-start.
7545
b81d40f0
JB
7546 * progmodes/cc-mode.el (c-common-init, c-after-change):
7547 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7548 (c-set-fl-decl-start): New function, extracted from
7549 c-font-lock-enclosing-decls and enhanced.
7550
60ff536c
JB
75512011-12-23 Juanma Barranquero <lekktu@gmail.com>
7552
7553 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7554
1c4757d6
JL
75552011-12-22 Juri Linkov <juri@jurta.org>
7556
7557 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7558
d031f2c7
CY
75592011-12-22 Chong Yidong <cyd@gnu.org>
7560
7561 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7562
bace743a
DA
75632011-12-21 Drew Adams <drew.adams@oracle.com>
7564
7565 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7566
728a1f2b
JC
75672011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7568
7569 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7570
0d373f73
TZ
75712011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7572
fec0aaa4
TZ
7573 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7574 highlighting and support. Fix up comments for capitalization.
7575 (cfengine-mode-debug): New var.
7576 (cfengine3-mode): Change the modeline indicator to "CFE3".
7577 (cfengine3-font-lock-keywords): Improve defun highlighting.
7578 (cfengine2-actions): Rename from `cfengine-actions'.
7579 (cfengine2-font-lock-keywords): Rename from
7580 `cfengine-font-lock-keywords'.
7581 (cfengine2-imenu-expression): Rename from
7582 `cfengine-imenu-expression'.
7583 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7584 (cfengine2-beginning-of-defun): Rename from
7585 `cfengine-beginning-of-defun'.
7586 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7587 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7588 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7589 modeline indicator to "CFE2".
7590 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7591 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7592
bc86f573
CY
75932011-12-21 Chong Yidong <cyd@gnu.org>
7594
7595 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7596 filename argument.
7597
d45ba96b
MR
75982011-12-20 Martin Rudalics <rudalics@gmx.at>
7599
7600 * window.el (window-normalize-buffer-to-display): Remove.
7601 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7602
a6198c90
CY
76032011-12-19 Chong Yidong <cyd@gnu.org>
7604
7605 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7606 Don't signal an error in a predicate function; return non-nil.
7607 (vc-dir-mark-file): Move the error here.
7608 (vc-dir-mark-unmark): If acting on the region, keep going if one
7609 of the entries cannot be marked/unmarked.
7610 (vc-dir-mark-all-files): If current entry is a directory, mark
7611 only child files, as documented.
7612
34c5fb55
VB
76132011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7614
7615 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7616 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7617 addition.
7618
c803b2b7
JD
76192011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7620
7621 * term/ns-win.el (ns-get-selection-internal)
7622 (ns-store-selection-internal): Declare.
1154d12e
JB
7623 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7624 Declare as obsolete.
7625 (ns-get-pasteboard, ns-paste-secondary):
7626 Use ns-get-selection-internal.
7627 (ns-set-pasteboard, ns-copy-including-secondary):
7628 Use ns-store-selection-internal.
c803b2b7 7629
9cff91f8 76302011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7631
7632 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7633 (vc-deduce-fileset): Doc fix.
99a289d9 7634
f16c898a
AS
76352011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7636
7637 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7638
763237c4
SS
76392011-12-13 Sam Steingold <sds@gnu.org>
7640
7641 * man.el (Man-getpage-in-background): When running under a
7642 window-system, ignore $MANWIDTH and $COLUMNS.
7643
5fc1c122
KH
76442011-12-15 Kenichi Handa <handa@m17n.org>
7645
7646 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7647 (setup-ethiopic-environment-internal): Comment out key-binding for
7648 ethio-toggle-punctuation.
7649
13d49cbb
AM
76502011-12-13 Alan Mackenzie <acm@muc.de>
7651
898169a2
AM
7652 Add the switch statement to AWK Mode.
7653
7a71b18d 7654 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7655 "default" to the keywords regexp.
7656
7a71b18d 7657 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7658 expression as the rest.
1d00653d
SM
7659 (c-nonlabel-token-key): Allow string literals for AWK.
7660 Refactor for the other modes.
898169a2 7661
13d49cbb 7662 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7663 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7664 routines. Limit backward searching in c-font-lock-enclosing.decl.
7665
7666 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7667 pp-state and literal type in addition to the limits.
1d00653d 7668 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7669 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7670 (c-slow-in-literal, c-fast-in-literal): Remove.
7671 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7672
7673 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7674 being in a literal. Add a limit for backward searching.
7675
7676 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7677 c-slow-in-literal.
7678
15e0efc7
SM
76792011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7682
454592a6
MR
76832011-12-13 Martin Rudalics <rudalics@gmx.at>
7684
7685 * window.el (delete-other-windows): Use correct frame in call to
7686 window-with-parameter.
7687
87393f26
DP
76882011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7689
7690 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7691 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7692 (makefile-gmake-statements, makefile-makepp-statements):
7693 Use it and add new makepp keywords.
7694 (makefile-makepp-font-lock-keywords): Add new patterns.
7695 (makefile-match-function-end): Match new [...] and [[...]].
7696
11636b22
JB
76972011-12-11 Juanma Barranquero <lekktu@gmail.com>
7698
7699 * ses.el (ses-call-printer-return, ses-cell-property-get)
7700 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7701 (ses-create-cell-variable, ses-reset-header-string)
7702 (ses-cell-set-formula, ses-repair-cell-reference-all)
7703 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7704 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7705 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7706 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7707 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7708 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7709 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7710 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7711 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7712 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7713 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7714 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7715
cf018193
VB
77162011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7717
7718 * ses.el: The overall change is to add cell renaming, that is
7719 setting fancy names for cell symbols other than name matching
7720 "\\`[A-Z]+[0-9]+\\'" regexp .
7721 (ses-create-cell-variable): New defun.
7722 (ses-relocate-formula): Relocate formulas only for cells the
7723 symbols of which are not renamed, i.e. symbols whose names do not
7724 match regexp "\\`[A-Z]+[0-9]+\\'".
7725 (ses-relocate-all): Relocate values only for cells the symbols of
7726 which are not renamed.
7727 (ses-load): Create cells variables as the (ses-cell ...) are read,
7728 in order to check row col consistency with cell symbol name only
7729 for cells that are not renamed.
7730 (ses-replace-name-in-formula): New defun.
7731 (ses-rename-cell): New defun.
7732
ee957461
CY
77332011-12-11 Chong Yidong <cyd@gnu.org>
7734
7735 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7736 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7737
9a9e9ef0
MR
77382011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7739
7740 * window.el (other-window): Fix docstring.
7741
92a8eba5
EZ
77422011-12-10 Eli Zaretskii <eliz@gnu.org>
7743
7744 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7745 `from' or `to' address before taking its substring.
7746 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7747 encoded name is chopped in the middle of the encoded string, and
7748 thus displayed encoded.
7749
e152e577
JB
77502011-12-10 Juanma Barranquero <lekktu@gmail.com>
7751
7752 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7753
e5d84bfe
EZ
77542011-12-10 Eli Zaretskii <eliz@gnu.org>
7755
7756 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7757 to use texinfo-update-node and commands that call it if the
7758 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7759 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7760 (texinfo-all-menus-update, texinfo-master-menu)
7761 (texinfo-update-node, texinfo-every-node-update)
7762 (texinfo-multiple-files-update): Doc fix. Warn against updating
7763 all the @node lines.
7764 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7765 argument is numeric. Explain better in the doc string what the
7766 function really does.
7767 (texinfo-insert-master-menu-list): Improve the error message
7768 displayed if there's no menu in the Top node.
7769 (Bug#2975) See also this thread:
e5d84bfe
EZ
7770 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7771
1d84e9bb
MG
77722011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7773
7774 * speedbar.el (speedbar-supported-extension-expressions):
7775 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7776
382c953b
JB
77772011-12-09 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * printing.el (pr-mode-alist):
7780 * simple.el (filter-buffer-substring-functions)
7781 (completion-list-insert-choice-function):
7782 * window.el (window-with-parameter, window-atom-root)
7783 (window-sides-slots, window-size-fixed, window-min-delta)
7784 (window-max-delta, window--resize-mini-window)
7785 (window--resize-child-windows-normal, window-tree)
7786 (delete-other-windows, quit-window, split-window)
7787 (display-buffer-record-window, special-display-buffer-names)
7788 (special-display-regexps, special-display-popup-frame)
7789 (same-window-p, split-window-sensibly)
7790 (display-buffer-overriding-action, display-buffer-alist)
7791 (display-buffer-base-action, display-buffer, switch-to-buffer)
7792 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7793 (fit-window-to-buffer, recenter-positions)
7794 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7795 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7796 and remove unneeded backslashes in docstrings.
7797
39c9faef
SM
77982011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7799
98449af8
SM
7800 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7801
39c9faef
SM
7802 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7803 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7804 end in ".mk".
7805 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7806 when reading the makefile (bug#10116).
7807
86ed9fdc
SM
78082011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7809
7810 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7811 (bug#10116).
7812
5580f89d
GM
78132011-12-06 Glenn Morris <rgm@gnu.org>
7814
7815 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7816
28d3917c
CY
78172011-12-06 Chong Yidong <cyd@gnu.org>
7818
7819 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7820
a98edce9
JB
78212011-12-06 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * textmodes/table.el (table-shorten-cell): Fix typo.
7824
e65adfac
CG
78252011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7826
7827 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7828
71cc0b74
EZ
78292011-12-05 Eli Zaretskii <eliz@gnu.org>
7830
7831 * descr-text.el (describe-char): Fix display of strong
7832 right-to-left characters and directional embeddings and overrides.
7833
7834 * simple.el (what-cursor-position): Fix display of codepoints of
7835 strong right-to-left characters.
7836
315bc30d
CY
78372011-12-05 Chong Yidong <cyd@gnu.org>
7838
7839 * faces.el (read-color): Doc fix.
7840
58a70b94
GM
78412011-12-05 Glenn Morris <rgm@gnu.org>
7842
7843 * align.el (align--set-marker): Add doc-string.
7844 Don't try to move something that is not a marker. (Bug#10216)
7845
5158face
GM
78462011-12-04 Glenn Morris <rgm@gnu.org>
7847
7848 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7849 overly zealous deletion of trailing whitespace.
7850
520fca41
JB
78512011-12-04 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * server.el (server-delete-client): On Windows, do not try to delete
7854 the only terminal.
7855 (server-process-filter): On Windows, treat requests for a tty frame as
7856 if they were for a GUI frame if the running server is in GUI mode.
7857
5e605a2e
GM
78582011-12-03 Glenn Morris <rgm@gnu.org>
7859
7860 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7861
5c3fe83f
SM
78622011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7863
6f5e57e7
SM
7864 * electric.el: Streamline electric-indent's hook.
7865 (electric-indent-chars): Revert to simple list.
7866 (electric-indent-functions): New var.
7867 (electric-indent-post-self-insert-function): Use it.
7868
5c3fe83f
SM
7869 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7870 there's no inferior buffer (bug#10196).
7871 (prolog-consult-compile): Don't use toggle-read-only.
7872
6bdac736
MA
78732011-12-02 Michael Albinus <michael.albinus@gmx.de>
7874
7875 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7876 interrupt. (Bug#10187)
7877
6131ba7f
SM
78782011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7879
99c79fee
SM
7880 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7881 (bug#9160).
7882
6131ba7f
SM
7883 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7884 (bug#10191).
7885
cb0a02ea
JL
78862011-12-02 Juri Linkov <juri@jurta.org>
7887
7888 * info.el (Info-search): Display "end of manual" when Isearch
7889 reaches the end of single-file Info manual. (Bug#9918)
7890
66e0570c
EZ
78912011-12-02 Eli Zaretskii <eliz@gnu.org>
7892
7893 * isearch.el (isearch-message-prefix): Run the input method part
7894 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7895
02b16839
JL
78962011-12-02 Juri Linkov <juri@jurta.org>
7897
7898 * isearch.el (isearch-occur): Use `word-search-regexp' for
7899 `isearch-word'.
7900 (isearch-search-and-update): Add condition for `isearch-word' and
7901 call `word-search-regexp'. (Bug#10145)
7902
0b950688
GM
79032011-12-01 Glenn Morris <rgm@gnu.org>
7904
7905 * eshell/em-hist.el (eshell-hist-initialize):
7906 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7907 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7908
9505c3c7
SM
79092011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7912
1bbe96b2 79132011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7914
a1beca85
SM
7915 * progmodes/verilog-mode.el (verilog-pretty-expr):
7916 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7917 verilog, such as += *= and the like.
7918 (verilog-assignment-operator-re): Regular expression to find the
7919 assigment operator in a verilog assignment.
7920 (verilog-assignment-operation-re): Regular expression to find an
7921 assignment statement for pretty-expr.
7922 (verilog-in-attribute-p): Query returns true if point is in an
7923 attribute context; used to skip these for expression line up from
7924 pretty-expr.
7925 (verilog-in-parameter-p): Query returns true if point is in an
7926 parameter definition context; used to skip these for expression
7927 line up from pretty-expr.
7928 (verilog-in-parenthesis-p): Query returns true if point is in a
7929 parenthetical expression, specifically ( ) but not [ ] or { };
7930 used by pretty-expr.
7931 (verilog-just-one-space): If there is no space, don't add one.
7932 (verilog-get-lineup-indent-2): Specifically skip just attribute
7933 contexts for expression lineup, rather than skipping all
7934 parenthetical expressions.
7935 (verilog-calculate-indent): Fix comment, and fix indent.
7936 (verilog-do-indent): Indent declarations in lists (suggested by
7937 Joachim Lechner).
7938 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7939 skeleton items.
7940 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7941 by Alain Mellan).
7942
1bbe96b2 79432011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7944
7945 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7946 parameters with embedded comments. Reported by Ray Stevens.
7947 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7948 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7949 Reported by Tim Holt.
7950 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7951 instantiated by upper module causing wrong expansion until AUTOed a
7952 second time. Reported by K C Buckenmaier.
7953 (verilog-diff-auto): Fix showing .* as a difference when
7954 `verilog-auto-star-save' off. Reported by Dan Dever.
7955 (verilog-auto-reset, verilog-read-always-signals)
7956 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7957 temporary signals in reset list if
7958 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7959 style to each signal's assignment type, bug381.
7960 Reported by Thomas Esposito.
6288f0ca
WS
7961 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7962 (verilog-uvm-statement-re): Support UVM indentation and
7963 highlighting, with old OVM keywords only.
a1beca85 7964 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7965 Support AUTOTIEOFF creating non-wire data types.
7966 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7967 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7968 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7969 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7970 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7971 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7972 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7973 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7974 non-numeric vector width. Reported by Alex Reed.
7975 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7976 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7977 (verilog-auto-delete-trailing-whitespace):
7978 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7979 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7980 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7981 Fix verilog-scan-cache corruption when running user AUTO expansion
7982 hooks that call indentation routines.
7983 (verilog-simplify-range-expression): Fix typo ignoring lower case
7984 identifiers.
7985 (verilog-delete-auto): Fix delete-autos to also remove user created
7986 automatics, as long as they start with AUTO.
7987 (verilog-batch-diff-auto, verilog-diff-auto)
7988 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7989 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7990 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7991 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7992 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7993 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7994 is disabled and its cache will get corrupt, causing AUTOS not to
7995 expand. Instead use only -quick functions.
7996 (verilog-scan-region): Fix scanning over escaped quotes.
7997 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7998 (verilog-re-search-backward-quick)
7999 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8000 related functions now ignore strings, to fix misparsing of strings
8001 with magic comments embedded in them.
a1beca85
SM
8002 (verilog-read-auto-template):
8003 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8004 Reported by Brad Dobbie.
8005 (verilog-read-auto-template):
8006 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8007 Reported by Brad Dobbie.
6288f0ca
WS
8008 (verilog-auto-inst, verilog-auto-inst-param)
8009 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8010 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8011 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8012 debugging templates without merge conflicts, bug357.
8013 Reported by Brad Dobbie.
8014 (verilog-read-auto-template):
8015 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8016 Reported by Brad Dobbie.
8017 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8018 abbrevs so user won't be asked to save.
8019 (verilog-read-auto-lisp-present): Fix to start at beginning of
8020 buffer in case called outside of verilog-auto.
8021 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8022 to "X-2". Reported by Matthew Myers.
8023 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8024 all inputs from module templates. Reported by Leith Johnson.
8025 (verilog-module-inside-filename-p): Fix locating programs as with
8026 modules.
8027 (verilog-auto-inst-port): Fix vl-width expressions when using
8028 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8029 (verilog-decls-get-regs, verilog-decls-get-signals,
8030 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8031 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8032 verilog-read-decls): Combine reg and wire structures into one var
8033 structure to represent SystemVerilog concepts.
8034 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8035 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8036 (verilog-auto-wire-type, verilog-insert-definition):
8037 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8038 SystemVerilog "logic" keyword instead of "wire"/"reg".
8039 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8040 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8041 ifdef or generate if so there's not a driver conflict).
8042 Reported by Matthew Myers.
8043 (verilog-auto-declare-nettype, verilog-insert-definition):
8044 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8045 `default_nettype none. Reported by Julian Gorfajn.
8046 (verilog-read-always-signals-recurse, verilog-read-decls)
8047 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8048 malformed end statement, bug325. Reported by Joshua Wise and
8049 Andrew Drake.
8050 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8051 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8052 when expanding .* in interfaces, bug320.
8053 Reported by Pierre-David Pfister.
6288f0ca 8054 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8055 name and open parenthesis, bug317.
8056 Reported by Pierre-David Pfister.
6288f0ca
WS
8057 (verilog-simplify-range-expression): Fix simplification of
8058 multiplications inside AUTOWIRE connections, bug303.
8059 (verilog-auto-inst-port): Support parameter expansion in
8060 multidimensional arrays.
8061 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8062 after "assert property". Reported by Julian Gorfajn.
8063 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8064 with multiplication, bug303.
8065 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8066 Reported by Jan Frode Lonnum.
8067
1bbe96b2
GM
80682011-11-30 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8071 (hfy-shell-file-name, hfy-shell):
8072 * international/fontset.el (x-decompose-font-name): Fix typos.
8073
80742011-11-29 Ken Brown <kbrown@cornell.edu>
8075
8076 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8077 (gdb-version): Remove defvar.
8078 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8079 (gdb-gud-context-command, gdb-non-stop-handler)
8080 (gdb-current-context-command, gdb-stopped): Use it.
8081 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8082 (gdb-non-stop-handler): Don't enable pretty-printing here.
8083 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8084 non-stop mode. Use the following.
8085 (gdb-check-target-async): New defun.
8086 (gud-watch, gdb-stopped): Fix whitespace.
8087 (gdb-get-source-file): Don't try to display the source file if
8088 `gdb-main-file' is nil.
8089
80902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * align.el: Try to generate fewer markers (bug#10047).
8093 (align--set-marker): New macro.
8094 (align-region): Use it.
8095
c935221f
SM
80962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8099
e70b5064
CY
81002011-11-29 Chong Yidong <cyd@gnu.org>
8101
8102 * indent.el (indent-for-tab-command, indent-according-to-mode):
8103 Doc fix.
8104 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8105
f3af92b7
MA
81062011-11-29 Michael Albinus <michael.albinus@gmx.de>
8107
8108 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8109 aware of remote file names. (Bug#10124)
8110
ed472be9
CY
81112011-11-29 Chong Yidong <cyd@gnu.org>
8112
8113 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8114
24510c22
SM
81152011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * files.el (find-file): Don't use force-same-window (bug#10144).
8118 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8119 use pop-to-buffer if the selected window can't be used.
8120 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8121
c60c3703
EZ
81222011-11-28 Eli Zaretskii <eliz@gnu.org>
8123
8124 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8125 special-mode-map.
8126
e95def75
CY
81272011-11-28 Chong Yidong <cyd@gnu.org>
8128
8129 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8130
c3f1c606
NR
81312011-11-27 Nick Roberts <nickrob@snap.net.nz>
8132
8133 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8134 gdb-get-source-file-list on gdb-create-source-file-list.
8135
00db469c
EZ
81362011-11-26 Eli Zaretskii <eliz@gnu.org>
8137
8138 * whitespace.el (whitespace-newline): Use a different foreground
8139 color for 16-color light-background displays.
8140
4ad3bc2a
CY
81412011-11-24 Chong Yidong <cyd@gnu.org>
8142
8143 * window.el (display-buffer--special-action): Doc fix.
8144
e9fce1ac
JB
81452011-11-25 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8148 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8149 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8150 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8151 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8152 (avl-tree-stack-first):
8153 * emacs-lisp/cconv.el (cconv--analyse-use):
8154 * net/gnutls.el (gnutls-negotiate): Fix typos.
8155
cb825e5d
GM
81562011-11-24 Glenn Morris <rgm@gnu.org>
8157
3adbe224
GM
8158 * lpr.el (lpr-windows-system, lpr-lp-system):
8159 * mail/binhex.el (binhex-begin-line):
8160 * progmodes/grep.el (grep-history, grep-find-history):
8161 * textmodes/flyspell.el:
8162 * vc/pcvs-defs.el (cvs-global-menu):
8163 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8164 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8165 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8166
321decc8
GM
8167 * net/tls.el: Fix case of "GnuTLS".
8168
420b63ad
GM
8169 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8170
cb825e5d
GM
8171 * version.el (emacs-build-system): Give it a doc-string.
8172
a0649f08
JL
81732011-11-24 Juri Linkov <juri@jurta.org>
8174
8175 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8176
c0bc0fd4
GM
81772011-11-24 Glenn Morris <rgm@gnu.org>
8178
8179 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8180 if called on a non-mime message just toggle the headers. (Bug#8006)
8181
20db1522
JB
81822011-11-24 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8185 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8186 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8187 (allout-rebullet-heading, allout-open-sibtopic)
8188 (allout-toggle-current-subtree-encryption)
8189 (allout-toggle-subtree-encryption, allout-encrypt-string)
8190 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8191 (allout-distinctive-bullets-string, allout-auto-activation):
8192 * window.el (window-normalize-buffer-to-display):
8193 * progmodes/verilog-mode.el (verilog-batch-indent):
8194 * textmodes/bibtex.el (bibtex-field-braces-opt)
8195 (bibtex-field-strings-opt):
8196 * vc/cvs-status.el (cvs-tree-merge):
8197 Fix typos.
8198
7262a87c
MA
81992011-11-23 Michael Albinus <michael.albinus@gmx.de>
8200
8201 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8202 `non-essential' to t, in order to avoid remote connections.
8203
283430a1
EZ
82042011-11-23 Eli Zaretskii <eliz@gnu.org>
8205
a1beca85
SM
8206 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8207 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8208 case-insensitively.
8209
d2992a38
ML
82102011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8211
8212 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8213
50419064
GM
82142011-11-23 Glenn Morris <rgm@gnu.org>
8215
da94eca1
GM
8216 * paths.el (rmail-file-name): Reformat the doc-string so that it
8217 is picked up.
8218
9aac4de2
GM
8219 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8220 (rmail-auto-file): Ignore case in the "special" field names,
8221 as mail-fetch-field does for all others.
8222
8038d2d2
GM
8223 * mail/rmail.el (rmail-forward):
8224 * mail/rmailkwd.el (rmail-set-label):
8225 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8226 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8227
f3fe222a
GM
8228 * mail/rmail.el (rmail-current-message): Doc fix.
8229
50419064
GM
8230 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8231
28109f49
SM
82322011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8235
394c65f1
GM
82362011-11-22 Glenn Morris <rgm@gnu.org>
8237
8238 * mail/rmailmm.el (test-rmail-mime-handler)
8239 (test-rmail-mime-bulk-handler)
8240 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8241
f2a0aa3a
JL
82422011-11-21 Juri Linkov <juri@jurta.org>
8243
1154d12e
JB
8244 * calc/calc.el (calc-read-key-sequence):
8245 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8246
9c34a344
LMI
82472011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8248
8249 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8250 Tell the caller that the next line needs recomputation, even
8251 though it doesn't start a sexp (bug#10094).
8252
f04a3be9
SM
82532011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8256
7978747f
SM
82572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8258
f04a3be9
SM
8259 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8260 Use force-same-window.
7978747f 8261
fe7a3057
JB
82622011-11-20 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * descr-text.el (describe-char-unicode-data):
8265 * json.el (json-string-escape):
8266 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8267 (Footnote-unicode, Footnote-style-p):
8268 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8269
24901d61
CY
82702011-11-20 Chong Yidong <cyd@gnu.org>
8271
8272 * window.el (replace-buffer-in-windows): Restore interactive spec.
8273
bac7ff22
SM
82742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8275
24f3d7b9
SM
8276 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8277
bac7ff22
SM
8278 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8279 (byte-compile-global-not-obsolete-vars): New var.
8280 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8281 Use it.
8282 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8283
cd1181db
JB
82842011-11-20 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8287 * progmodes/pascal.el (electric-pascal-equal):
8288 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8289 * xml.el (xml-substitute-special): Fix typos.
8290
7fb18e9e
GM
82912011-11-20 Glenn Morris <rgm@gnu.org>
8292
8293 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8294 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8295 Doc fixes.
8296 (rmail-decode-mime-charset): Mark as obsolete.
8297
8298 * mail/rmailsum.el (rmail-message-regexp-p-1):
8299 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8300 Before using mime functions, check they are set. (Bug#10077)
8301
d5a6b3ba
JL
83022011-11-19 Juri Linkov <juri@jurta.org>
8303
8304 * info.el (Info-finder-find-node): Use `package--builtins' instead
8305 of `package-alist'. Use node names formed by the pattern "Keyword "
8306 and the keyword name.
8307
e981b61f
AS
83082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8309
1d00653d 8310 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8311
3ffbc301
JL
83122011-11-19 Juri Linkov <juri@jurta.org>
8313
8314 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8315 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8316 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8317 `old-history', `old-history-forward'. Add let-binding
8318 `window-selected'. Remove calls to `kill-buffer',
8319 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8320 before calling `Info-find-node', so `Info-find-node-2' will reread
8321 the Info file. Restore window positions only when `window-selected'
8322 is non-nil.
8323
30c62133
JL
83242011-11-19 Juri Linkov <juri@jurta.org>
8325
8326 * isearch.el (isearch-lazy-highlight-new-loop):
8327 Remove condition `(not isearch-error)'. (Bug#9918)
8328
8329 * misearch.el (multi-isearch-search-fun): Add condition
8330 `(not bound)' to ignore lazy-highlighting search.
8331 Add the search-failed message "end of multi" when the end of
8332 multi-sequence is reached. Uncapitalize the search-failed
8333 message "Repeat for next buffer".
8334
8335 * info.el (Info-search): Add the search-failed message
8336 "end of the manual" when the end of the manual is reached
8337 in Isearch mode.
8338
645ca9cf
JL
83392011-11-19 Juri Linkov <juri@jurta.org>
8340
8341 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8342 Use non-destructive `remove' instead of `delete' because
8343 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8344 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8345
df754f66
JL
83462011-11-19 Juri Linkov <juri@jurta.org>
8347
8348 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8349 to nil instead of binding `search-ring' and `regexp-search-ring'.
8350 (Bug#9185)
8351
0e23d96a
EZ
83522011-11-19 Eli Zaretskii <eliz@gnu.org>
8353
8354 * simple.el (line-move): Force movement by logical lines for any
8355 hscrolled window, not only when auto-hscroll-mode is on.
8356 (line-move-visual): Update doc string to that effect. (Bug#10076)
8357
8a6ccb66
AS
83582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8359
8360 * language/european.el (macintosh): Define as alias for mac-roman.
8361
49ae5b39
EZ
83622011-11-19 Eli Zaretskii <eliz@gnu.org>
8363
8364 * mail/rmailmm.el (rmail-mime-display-header)
8365 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8366 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8367 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8368 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8369 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8370 of a raw aref.
8371 (rmail-mime-entity-segment): To get past the tagline, move forward
8372 2 more lines, to account for the 2 empty lines that precede and
8373 follow the line with the buttons.
8374 (rmail-mime-update-tagline): Move one more line, to get past the
8375 empty line that follows the buttons in the tagline. (Bug#9520)
8376
c56cad4a
MR
83772011-11-19 Martin Rudalics <rudalics@gmx.at>
8378
8379 * window.el (window-max-delta-1, window-min-delta-1)
8380 (window-min-size-1, window-state-get-1, window-state-put-1)
8381 (window-state-put-2): Use "window--" prefix.
8382
cbe71af3
SM
83832011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8384
2ad52c60
SM
8385 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8386 (smie-warning-count): New var.
8387 (smie-set-prec2tab): Use it.
8388 (smie-bnf->prec2): Improve warnings. Add docstring.
8389 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8390 (smie-bnf--set-class): New function.
8391 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8392 corner case.
8393
6944dbc1
SM
8394 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8395 (compilation-error-properties, compilation-move-to-column):
8396 Handle compilation-first-column while in the target buffer.
8397
c400c4d7
SM
8398 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8399 Don't hardcode point-min==1.
8400
6dbe3e96
SM
8401 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8402 (eshell-rewrite-for-command): Remove workaround.
8403 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8404 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8405 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8406
cbe71af3
SM
8407 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8408
a8e1496d
GM
84092011-11-17 Glenn Morris <rgm@gnu.org>
8410
8411 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8412 Ignore buffer-local generated-autoload-file if it is the same
8413 as the global value. (Bug#10049)
8414
df85d315
JB
84152011-11-17 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8418 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8419 (reftex-toc-previous-heading, reftex-toc-max-level)
8420 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8421 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8422 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8423 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8424 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8425 (reftex-toc-rename-label, reftex-toc-visit-location)
8426 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8427 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8428 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8429 leaving "*toc*" only for references to the buffer.
8430
a0c2d0ae
MR
84312011-11-17 Martin Rudalics <rudalics@gmx.at>
8432
8433 * window.el (window-resize, delete-window, split-window):
8434 Replace window-splits by window-combination-resize.
1d00653d 8435 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8436
35c0bac8
GM
84372011-11-17 Glenn Morris <rgm@gnu.org>
8438
8439 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8440 Make bash entry derive from sh entry, not shell entry.
8441
d0c8fc8a
MA
84422011-11-16 Michael Albinus <michael.albinus@gmx.de>
8443
7262a87c
MA
8444 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8445 local file name.
8446
7877f373
JB
84472011-11-16 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * menu-bar.el (menu-bar-file-menu):
8450 * printing.el (pr-ps-utility):
8451 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8452 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8453 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8454 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8455 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8456 (icalendar--convert-cyclic-to-ical)
8457 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8458 (icalendar--convert-ical-to-diary)
8459 (icalendar--convert-recurring-to-diary)
8460 (icalendar--convert-non-recurring-all-day-to-diary)
8461 (icalendar-import-format-sample):
8462 * progmodes/idlw-shell.el (idlwave-shell-mode):
8463 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8464 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8465 (vhdl-ps-print-init): Fix typos.
8466
10649b82
KM
84672011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8468
9d0cfcd6
GM
8469 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8470 FSF and collapse date sequence, obscure author/maintainer email address
8471 better, remove extra version line, track relocation of author's webpage.
10649b82 8472
9d0cfcd6
GM
8473 * progmodes/python.el (python-pdbtrack-input-prompt)
8474 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8475 regular python pdb prompts. Adjustments shamelessly taken exactly as
8476 suggested in EmacsWiki page (tiny change):
8477 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8478
58179cce
JB
84792011-11-16 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * expand.el (expand-pos, expand-index, expand-point):
8482 Remove redundant info from docstring.
8483 (expand-add-abbrevs): Doc fix.
8484 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8485 (expand-sample-perl-mode-expand-list): Fix typos.
8486
8487 * net/dbus.el (dbus-event-member-name):
8488 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8489 * term/pc-win.el (msdos-create-frame-with-faces):
8490 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8491
b6f67890
MR
84922011-11-16 Martin Rudalics <rudalics@gmx.at>
8493
8494 * window.el (split-window, window-state-get-1)
8495 (window-state-put-1, window-state-put-2): Rename occurrences of
8496 window-nest to window-combination-limit.
1d00653d 8497 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8498
ce7ddba0
CY
84992011-11-16 Chong Yidong <cyd@gnu.org>
8500
8501 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8502 regexp (Bug#10033).
8503
3ae704f4
SM
85042011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8507 `completing-read' will remove *Completions* and will preserve
8508 current-buffer for us.
8509 (tmm-add-prompt): Users of *Completions* will always (re)set its
8510 major mode.
8511 (tmm-old-comp-map): Remove.
8512
6ad1cdde
GM
85132011-11-16 Glenn Morris <rgm@gnu.org>
8514
8515 * mail/rmailedit.el: Require rmailmm when compiling.
8516 (rmail-old-mime-state): New declaration.
8517 (rmail-edit-current-message): If editing a mime message,
8518 edit the "raw" message from the mbox buffer.
8519 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8520
d20faa20
GM
85212011-11-15 Glenn Morris <rgm@gnu.org>
8522
8523 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8524 which wasn't being used. Add optional arg to force given state.
8525 (rmail-mime): Add optional arg to force given state.
8526
c7015153
JB
85272011-11-15 Juanma Barranquero <lekktu@gmail.com>
8528
8529 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8530 * frame.el (display-mm-dimensions-alist):
8531 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8532 (outline-move-subtree-down):
8533 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8534 (newsticker--treeview-do-get-node):
8535 * net/quickurl.el (quickurl-list-buffer-name):
8536 * progmodes/dcl-mode.el (dcl-mode):
8537 * progmodes/gdb-mi.el (gdb-mapcar*):
8538 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8539
45261b50
GM
85402011-11-15 Glenn Morris <rgm@gnu.org>
8541
8542 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8543 in a boolean sense, so just make it a boolean, and fix the doc.
8544 (rmail-show-mime-function, rmail-mime-feature)
8545 (rmail-require-mime-maybe): Doc fixes.
8546 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8547
8548 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8549
0d26e0b6
JB
85502011-11-15 Juanma Barranquero <lekktu@gmail.com>
8551
8552 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8553 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8554 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8555 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8556
447f30f6
GM
85572011-11-15 Glenn Morris <rgm@gnu.org>
8558
672b871d
GM
8559 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8560 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8561 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8562 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8563 (rmail-mime, rmail-show-mime): Doc fixes.
8564
f6aa5bb1
GM
8565 * term/ns-win.el (mode-line-frame-identification):
8566 Leave it alone. (Bug#10051)
8567
947cd66b
GM
8568 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8569
447f30f6
GM
8570 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8571 Handle empty buffers. (Bug#9978)
8572
0b381c7e
JB
85732011-11-14 Juanma Barranquero <lekktu@gmail.com>
8574
8575 * international/mule.el (define-charset):
8576 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8577 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8578 * progmodes/verilog-mode.el (verilog-backward-token):
8579 * textmodes/ispell.el (lookup-words):
8580 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8581
71e027ac
GM
85822011-11-14 Glenn Morris <rgm@gnu.org>
8583
56632ce4
GM
8584 * progmodes/executable.el
8585 (executable-make-buffer-file-executable-if-script-p):
8586 Handle file-modes returning nil.
8587
40500957
GM
8588 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8589 message - not necessary, and causes problems. (Bug#9831)
8590
071c2340
GM
8591 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8592
d3cfca60
GM
8593 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8594
71e027ac
GM
8595 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8596 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8597 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8598
89d61221
MR
85992011-11-12 Martin Rudalics <rudalics@gmx.at>
8600
8601 * window.el (window-resize, delete-window): Use window-splits
8602 variable instead of function.
8603 (window-state-get-1, window-state-put-2, window-state-put):
8604 Don't deal with windows' splits status.
8605
98282f6f
GM
86062011-11-12 Glenn Morris <rgm@gnu.org>
8607
8608 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8609 (apropos-documentation): Doc fixes.
8610
40a8bdf6
JB
86112011-11-11 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8614 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8615
65bd19ff
SM
86162011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * electric.el (electric-indent-post-self-insert-function): Make it
8619 possible for a char to only indent in some circumstances.
8620 (electric-indent-mode): Simplify.
8621
54f9154c
MR
86222011-11-11 Martin Rudalics <rudalics@gmx.at>
8623
8624 * window.el (windows-with-parameter): Remove unused function.
8625 (windows-at-side): Rename to window-at-side-list.
8626 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8627 (window-side-check, window-size-ignore, window-size-fixed-1)
8628 (window-in-direction-2): Prefix with "window--".
8629 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8630
68cbc58b
GM
86312011-11-11 Glenn Morris <rgm@gnu.org>
8632
8633 * subr.el (eval-after-load): If FILE is already loaded,
8634 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8635
b2621720
GM
86362011-11-10 Glenn Morris <rgm@gnu.org>
8637
9a4de110
GM
8638 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8639 Call svn via vc-svn-command rather than vc-do-command.
8640 (vc-svn-command): Add --non-interactive. (Bug#9993)
8641 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8642
b2621720
GM
8643 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8644 Add toggle-read-only. (Bug#7292)
8645 * files.el (toggle-read-only): Mention that it should only
8646 be used interactively. (Bug#10006)
8647
1dce7193
SM
86482011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8649
d9ac1a1e
SM
8650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8651 Adjust regexp for OCaml warnings.
8652
0c325082
SM
8653 * electric.el (electric-pair-post-self-insert-function): Let user
8654 turn it off buffer-locally (bug#9932).
8655
90132c14
SM
8656 * progmodes/python.el (python-beginning-of-statement):
8657 Rewrite (bug#2703).
8658
1dce7193
SM
8659 * progmodes/compile.el: Better handle TABs (bug#9749).
8660 (compilation-internal-error-properties)
8661 (compilation-next-error-function): Obey the target buffer's
8662 compilation-error-screen-columns.
8663
c4e7c63a
JB
86642011-11-09 Juanma Barranquero <lekktu@gmail.com>
8665
8666 * progmodes/meta-mode.el: Remove obsolete comments.
8667 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8668 Fix typos in docstrings.
8669
2cffd681
MR
86702011-11-09 Martin Rudalics <rudalics@gmx.at>
8671
8672 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8673 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8674 (window--resizable): New function. Make all callers of
8675 window-resizable call window--resizable instead.
8676 (window-resizable): Rewrite in terms of window--resizable.
8677
0edcba87
GM
86782011-11-08 Glenn Morris <rgm@gnu.org>
8679
8680 * progmodes/delphi.el (delphi-mode-syntax-table):
8681 Let define-derived-mode define a proper syntax table. (Bug#9994)
8682
4b0d61e3
SM
86832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * window.el: Stay away from defsubst.
8686 (window-list-no-nils): Remove.
8687 (window-state-get-1, window-state-get): Use backquote instead.
8688
cd394be1 86892011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8690
4b0d61e3 8691 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8692 Fix incorrect use of default argument in `completing-read'.
8693
e1c2c6f2
MR
86942011-11-08 Martin Rudalics <rudalics@gmx.at>
8695
8696 * window.el (display-buffer-function, special-display-function):
8697 Mention display-buffer-record-window but do not mention
8698 help-setup parameter in doc-strings.
b3f4a882 8699 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8700
105216ed
CY
87012011-11-08 Chong Yidong <cyd@gnu.org>
8702
8703 * window.el (window-total-height, window-total-width): Doc fix.
8704 (window-body-size): Move from C.
8705 (window-body-height, window-body-width): Move to C.
8706
0a9f9ab5
SM
87072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * window.el: Make special-display like display-buffer-alist (bug#9532).
8710 (display-buffer--special-action): New function, morphed
8711 from display-buffer--special.
8712 (display-buffer): Use it to handle special-display-buffers at higher
8713 priority (just after display-buffer-alist).
8714 (display-buffer-fallback-action, display-buffer--other-frame-action)
8715 (pop-to-buffer-same-window): Remove display-buffer--special.
8716
a769dd15
GM
87172011-11-07 Glenn Morris <rgm@gnu.org>
8718
8719 * calendar/cal-menu.el (cal-menu-set-date-title):
8720 Do nothing if not in a calendar. (Bug#9976)
8721
05a61ee3
SM
87222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * files.el (find-file): Always use selected-window.
8725
be7f5545
MR
87262011-11-07 Martin Rudalics <rudalics@gmx.at>
8727
8728 * window.el (window-combinations): Make WINDOW argument
8729 mandatory. Rewrite doc-string.
8730 (walk-window-subtree, window-atom-check, window-min-delta)
8731 (window-max-delta, window--resize-this-window)
8732 (window--resize-root-window-vertically, window-tree)
8733 (balance-windows, window-state-put): Rewrite doc-strings as to
8734 not mention the term "subwindow".
8735 (window--resize-subwindows-skip-p): Rename to
8736 window--resize-child-windows-skip-p.
8737 (window--resize-subwindows-normal): Rename to
8738 window--resize-child-windows-normal.
8739 (window--resize-subwindows): Rename to
8740 window--resize-child-windows.
8741 (window-or-subwindow-p): Rename to window--in-subtree-p.
8742
3c6702ef
ML
87432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8744
8745 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8746 Ensure that mbox format messages end in two newlines (Bug#9974).
8747
49745b39
CY
87482011-11-06 Chong Yidong <cyd@gnu.org>
8749
8750 * window.el (window-combination-p): Function deleted; its
8751 side-effect is not used in any existing code.
8752 (window-combinations, window-combined-p): Call window-*-child
8753 directly.
8754
24300f5f
CY
87552011-11-05 Chong Yidong <cyd@gnu.org>
8756
8757 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8758 (window-size-ignore, window-state-get): Callers changed.
8759 (window-normalize-window): Rename from window-normalize-any-window.
8760 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8761 (window-normalize-live-window): Delete.
447f16b8
CY
8762 (window-combination-p, window-combined-p, window-combinations)
8763 (walk-window-subtree, window-atom-root, window-min-size)
8764 (window-sizable, window-sizable-p, window-size-fixed-p)
8765 (window-min-delta, window-max-delta, window-resizable)
8766 (window-resizable-p, window-full-height-p, window-full-width-p)
8767 (window-current-scroll-bars, window-point-1, set-window-point-1)
8768 (window-at-side-p, window-in-direction, window-resize)
8769 (adjust-window-trailing-edge, maximize-window, minimize-window)
8770 (window-deletable-p, delete-window, delete-other-windows)
8771 (record-window-buffer, unrecord-window-buffer)
8772 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8773 (quit-window, split-window, window-state-put)
8774 (set-window-text-height, fit-window-to-buffer)
8775 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8776
89bd5ee1
EZ
87772011-11-04 Eli Zaretskii <eliz@gnu.org>
8778
53479029
EZ
8779 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8780 rfc2047-decode-string.
8781 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8782 warnings.
8783
89bd5ee1
EZ
8784 * window.el (window-body-height, window-body-width): Mention in
8785 the doc string that the return values are in frame's canonical
8786 units. (Bug#9949)
8787
bd17fdee
AM
87882011-11-03 Alan Mackenzie <acm@muc.de>
8789
8790 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8791 change in cc-engine.el.
8792
acc825c5
SM
87932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8796
1885e5b8
MR
87972011-11-02 Martin Rudalics <rudalics@gmx.at>
8798
8799 * window.el (quit-window): Call unrecord-window-buffer after
8800 showing another buffer in the window. (Bug#9937)
acc825c5 8801 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8802
ebe06da9
JB
88032011-11-02 Juanma Barranquero <lekktu@gmail.com>
8804
8805 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8806 Accept status with more than 9 shelves. (Bug#9935)
8807 Reported by Colin D Bennett <colin@gibibit.com>.
8808
4ee88440
MR
88092011-11-01 Martin Rudalics <rudalics@gmx.at>
8810
8811 * help.el (with-help-window): Don't reference
8812 temp-buffer-show-specifiers in doc-string.
8813
08e1d82c
AS
88142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8815
8816 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8817 menu-item.
8818
84bd6e9e
VJL
88192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8820
8821 * whitespace.el: New version 13.2.2.
8822 (whitespace-newline-mode): Disable properly. Reported by Sarah
8823 <EmacsWiki>.
8824
dba0634a
UJ
88252011-10-30 Ulf Jasper <ulf.jasper@web.de>
8826
8827 * net/newst-treeview.el: Remove "Time-stamp".
8828 (newsticker--group-manage-orphan-feeds): Do not call
8829 newsticker--treeview-tree-update.
db22a3c2
JB
8830 (newsticker-treeview-update, newsticker-treeview):
8831 Call newsticker--treeview-tree-update if necessary.
dba0634a 8832
3d8daefe
MR
88332011-10-30 Martin Rudalics <rudalics@gmx.at>
8834
8835 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8836 (window-iso-combinations): Remove "iso-" infix.
8837 Suggested by Chong Yidong.
3d8daefe
MR
8838 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8839 (window-max-delta-1, window-resize, window--resize-siblings)
8840 (window--resize-this-window, adjust-window-trailing-edge)
8841 (split-window, balance-windows-1)
8842 (shrink-window-if-larger-than-buffer):
8843 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8844 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8845
1bc4c3ae
SM
88462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8849 in place (bug#9907).
8850 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8851 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8852 (eshell-structure-basic-command, eshell-rewrite-while-command)
8853 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8854 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8855 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8856 (eshell-do-pipelines-synchronously, eshell-eval-command):
8857 Use backquotes and prefer setq to set.
8858 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8859 (eshell-macrop): Use functionp.
c1e2f5fa 8860 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8861
30b65d9c
CY
88622011-10-30 Chong Yidong <cyd@gnu.org>
8863
8864 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8865 instead of set-mark (Bug#9810).
8866
2d197ffb
CY
88672011-10-30 Chong Yidong <cyd@gnu.org>
8868
8869 * window.el (split-window-below, split-window-right): Rename from
8870 split-window-above-each-other and split-window-side-by-side
8871 respectively. All callers changed.
8872 (split-window-sensibly, split-window-sensibly): Use them.
8873 (split-window-keep-point): Doc fix.
8874
8875 * isearch.el: Add isearch-scroll property to split-window-below
8876 and split-window-right.
8877
8878 * follow.el (follow-mode):
8879 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8880 * progmodes/ada-xref.el (ada-gdb-application):
8881 * emulation/vip.el (vip-buffer-in-two-windows):
8882 * image-dired.el (image-dired-dired-with-window-configuration):
8883 * dired-x.el (dired-do-find-marked-files):
8884 * dired.el (dired-pop-to-buffer):
8885 * bs.el (bs--show-with-configuration):
8886 * vc/emerge.el (emerge-setup-windows):
8887 * textmodes/two-column.el (2C-two-columns):
8888 * textmodes/reftex-toc.el (reftex-toc):
8889 * progmodes/gdb-mi.el (gdb-setup-windows):
8890 * progmodes/fortran.el (fortran-window-create):
8891 * net/newst-treeview.el (newsticker--treeview-window-init):
8892 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8893 * emulation/tpu-edt.el (tpu-gold-map):
8894 * emulation/crisp.el (crisp-mode-map):
8895 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8896
38bb2ca8
CY
88972011-10-29 Chong Yidong <cyd@gnu.org>
8898
aa4de341
CY
8899 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8900
e1eb5385
CY
8901 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8902
5d2ece3c
CY
8903 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8904 forged Ispell output (Bug#7904).
8905
38bb2ca8
CY
8906 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8907
d0af9f77
SM
89082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * doc-view.el: Avoid ugly errors about not finding nil.
8911 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8912 (doc-view-dvipdf-program, doc-view-unoconv-program)
8913 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8914 Avoid nil or absolute file name as default value.
8915 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8916
52bedd34
AM
89172011-10-28 Alan Mackenzie <acm@muc.de>
8918
db22a3c2 8919 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8920
7e43cfa5
AM
89212011-10-28 Alan Mackenzie <acm@muc.de>
8922
8923 Amend the handling of c-beginning/end-of-defun in nested declaration
8924 scopes.
8925
52bedd34
AM
8926 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8927 cc-langs.el. Change it to a defcustom.
7e43cfa5 8928
52bedd34
AM
8929 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8930 cc-vars.el.
7e43cfa5 8931
d0af9f77
SM
8932 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8933 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8934
52bedd34 8935 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8936 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8937 (c-widen-to-enclosing-decl-scope): New function.
8938 (c-while-widening-to-decl-block): New macro.
8939 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8940 outward for defun boundaries, and correspondingly change symbol
8941 `respect-enclosure' to `go-outward'.
8942 (c-declaration-limits): Change algorithm to report only the "innermost"
8943 defun's boundaries.
8944
1a2ce9ee
DD
89452011-10-28 Deniz Dogan <deniz@dogan.se>
8946
8947 * net/rcirc.el (rcirc-mode): Use hard newlines.
8948
bc97a826
AM
89492011-10-28 Alan Mackenzie <acm@muc.de>
8950
8951 Amend to indent and fontify macros "which include their own semicolon"
8952 correctly, using the "virtual semicolon" mechanism.
8953
52bedd34 8954 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8955
d0af9f77 8956 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8957 Recode to scan one line at a time rather than having \n and \r
58179cce 8958 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8959 (c-forward-label): Amend for virtual semicolons.
58179cce 8960 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8961
52bedd34
AM
8962 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8963 of the new C macros.
bc97a826 8964
52bedd34 8965 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8966 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8967 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8968 (c-opt-cpp-macro-define): Make into a full language variable.
8969 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8970 AWK Mode (including \n, \r) removed, no longer needed.
8971
d0af9f77
SM
8972 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8973 Invoke c-make-macro-with-semi-re.
bc97a826 8974
52bedd34
AM
8975 * progmodes/cc-vars.el (c-macro-with-semi-re):
8976 (c-macro-names-with-semicolon): New variables.
58179cce 8977 (c-make-macro-with-semi-re): New function.
bc97a826 8978
7a6c0941
SM
89792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * vc/log-edit.el: Fill empty field rather than adding new one.
8982 (log-edit-add-field): New function.
8983 (log-edit-insert-changelog): Use it.
8984
b0c4cdcf
ML
89852011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8986
8987 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8988
ee1f1da9
SM
89892011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8992 (gdb--check-interpreter): New function.
8993 (gdb): Use it.
8994
51bc5f8b
GM
89952011-10-27 Glenn Morris <rgm@gnu.org>
8996
416a2c45
GM
8997 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8998 (least-positive-float, least-negative-float)
8999 (least-positive-normalized-float, least-negative-normalized-float)
9000 (float-epsilon, float-negative-epsilon):
9001 Remove unnecessary declarations.
9002
9003 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9004 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9005 (least-positive-float, least-negative-float)
9006 (least-positive-normalized-float, least-negative-normalized-float)
9007 (float-epsilon, float-negative-epsilon): Add doc-strings,
9008 based on those in cl.texi.
9009
51bc5f8b
GM
9010 * files.el (set-visited-file-name): If the major-mode changed,
9011 reload the local variables. (Bug#9796)
9012
15de15c6
CY
90132011-10-27 Chong Yidong <cyd@gnu.org>
9014
9015 * subr.el (change-major-mode-after-body-hook): New hook.
9016 (run-mode-hooks): Run it.
9017
ee1f1da9
SM
9018 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9019 Use change-major-mode-before-body-hook.
15de15c6
CY
9020
9021 * simple.el (fundamental-mode):
9022 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9023 change introducing fundamental-mode-hook.
9024
5430d399
JB
90252011-10-26 Juanma Barranquero <lekktu@gmail.com>
9026
acc825c5 9027 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9028
ad74a69e
MA
90292011-10-26 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9032 tramp.el explicitly. (Bug#7583)
ad74a69e 9033
71d4c2a5
SM
90342011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * progmodes/octave-mod.el:
9037 * progmodes/octave-inf.el: Update maintainer.
9038
b1f6fa26
CY
90392011-10-26 Chong Yidong <cyd@gnu.org>
9040
9041 * subr.el (with-wrapper-hook): Rewrite doc.
9042
3f04efd6
MA
90432011-10-25 Michael Albinus <michael.albinus@gmx.de>
9044
9045 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9046 filenames "/method:foo:". (Bug#9793)
3f04efd6 9047
410488d3
SM
90482011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9051 (bug#9865).
9052
c1ebb47e
GM
90532011-10-24 Glenn Morris <rgm@gnu.org>
9054
9055 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9056
7f5c46c7
MA
90572011-10-24 Michael Albinus <michael.albinus@gmx.de>
9058
9059 * notifications.el: Add the requirement of a running D-Bus session
9060 bus to the Commentary.
9061
db2440b6
JL
90622011-10-24 Juri Linkov <juri@jurta.org>
9063
9064 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9065 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9066 (Bug#9364)
9067
feecf435
JL
90682011-10-24 Juri Linkov <juri@jurta.org>
9069
9070 * info.el (Info-following-node-name-re): Add newline to the list
9071 of allowed characters for leading space. (Bug#9824)
9072
a3839de2
SM
90732011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9074
acc825c5
SM
9075 * progmodes/octave-inf.el (inferior-octave-mode-map):
9076 Fix C-c C-h binding.
a3839de2
SM
9077 * progmodes/octave-mod.el (octave-help): Remove.
9078
09388e76
MA
90792011-10-23 Michael Albinus <michael.albinus@gmx.de>
9080
9081 Sync with Tramp 2.2.3.
9082
9083 * net/tramp-cache.el (top): Pacify byte-compiler using
9084 `init-file-user' and `site-run-file'.
9085
9086 * net/trampver.el: Update release number.
9087
86c60681
CY
90882011-10-23 Chong Yidong <cyd@gnu.org>
9089
9090 * files.el (toggle-read-only): Remove obsolete comment about
9091 version control.
9092
9093 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9094 for toggle-read-only. Note that this hasn't called vc-next-action
9095 since 2008-05-02, though it wasn't documented at the time.
9096
a3839de2
SM
9097 * vc/ediff-init.el (ediff-toggle-read-only-function):
9098 Use toggle-read-only.
86c60681 9099
cd5495ff
AM
91002011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9101
9102 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9103 of c-parse-state.
9104
00b77525 9105 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9106 correct faulty logical expression.
cd5495ff
AM
9107 (c-parse-state-state, c-record-parse-state-state):
9108 (c-replay-parse-state-state): New defvar/defuns.
9109 (c-debug-parse-state): Use new functions.
9110
42ee24ed
MR
91112011-10-22 Martin Rudalics <rudalics@gmx.at>
9112
9113 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9114 last fix. Use window-in-direction correctly.
42ee24ed 9115
a7dee7e7
CY
91162011-10-21 Chong Yidong <cyd@gnu.org>
9117
9118 * progmodes/idlwave.el (idlwave-mode):
9119 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9120 require-final-newline; that's done in prog-mode.
9121 Suggested by Stefan Monnier.
a7dee7e7 9122
e07b9a6d
MR
91232011-10-21 Martin Rudalics <rudalics@gmx.at>
9124
9125 * mouse.el (mouse-drag-window-above)
9126 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9127 (mouse-drag-mode-line-1, mouse-drag-header-line)
9128 (mouse-drag-vertical-line-rightward-window): Remove.
9129 (mouse-drag-line): New function.
9130 (mouse-drag-mode-line, mouse-drag-header-line)
9131 (mouse-drag-vertical-line): Call mouse-drag-line.
9132 * window.el (window-at-side-p, windows-at-side): New functions.
9133
7e1361d9
UM
91342011-10-21 Ulrich Mueller <ulm@gentoo.org>
9135
9136 * tar-mode.el (tar-grind-file-mode):
9137 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9138
30fcaf3a
CY
91392011-10-21 Chong Yidong <cyd@gnu.org>
9140
9141 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9142 * progmodes/vera-mode.el (vera-mode):
9143 Use mode-require-final-newline.
30fcaf3a 9144
516eddb0
GM
91452011-10-20 Glenn Morris <rgm@gnu.org>
9146
db22a3c2 9147 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9148
10d5f513
CS
91492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9150
9151 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9152
ac6c8639
CY
91532011-10-20 Chong Yidong <cyd@gnu.org>
9154
9155 * emulation/cua-base.el (cua-mode):
9156 * mail/footnote.el (footnote-mode):
9157 * mail/mailabbrev.el (mail-abbrevs-mode):
9158 * net/xesam.el (xesam-minor-mode):
9159 * progmodes/bug-reference.el (bug-reference-mode):
9160 * progmodes/cap-words.el (capitalized-words-mode):
9161 * progmodes/compile.el (compilation-minor-mode)
9162 (compilation-shell-minor-mode):
9163 * progmodes/gud.el (gud-tooltip-mode):
9164 * progmodes/hideif.el (hide-ifdef-mode):
9165 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9166 * progmodes/subword.el (subword-mode):
9167 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9168 * progmodes/which-func.el (which-function-mode):
9169 * term/tvi970.el (tvi970-set-keypad-mode):
9170 * term/vt100.el (vt100-wide-mode):
9171 * textmodes/flyspell.el (flyspell-mode):
9172 * textmodes/ispell.el (ispell-minor-mode):
9173 * textmodes/nroff-mode.el (nroff-electric-mode):
9174 * textmodes/paragraphs.el (use-hard-newlines):
9175 * textmodes/refill.el (refill-mode):
9176 * textmodes/reftex.el (reftex-mode):
9177 * textmodes/rst.el (rst-minor-mode):
9178 * textmodes/sgml-mode.el (html-autoview-mode)
9179 (sgml-electric-tag-pair-mode):
9180 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9181 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9182 * emulation/crisp.el (crisp-mode):
9183 * emacs-lisp/eldoc.el (eldoc-mode):
9184 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9185 minor mode behavior.
9186
aa42ab43
JL
91872011-10-19 Juri Linkov <juri@jurta.org>
9188
9189 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9190 the list of hard-coded chars with escape-glyph face.
9191
89400f1d
SM
91922011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9195
305c07f6
MA
91962011-10-19 Michael Albinus <michael.albinus@gmx.de>
9197
9198 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9199 running process.
9200
13754b54
GM
92012011-10-19 Glenn Morris <rgm@gnu.org>
9202
9203 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9204 Ignore ignored files. (Bug#9726)
9205
06e21633
CY
92062011-10-19 Chong Yidong <cyd@gnu.org>
9207
9208 Doc fix for minor modes, stating that an omitted argument enables
9209 the mode unconditionally when called from Lisp.
9210
9211 * abbrev.el (abbrev-mode):
9212 * allout.el (allout-mode):
9213 * autoinsert.el (auto-insert-mode):
9214 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9215 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9216 (global-auto-revert-mode):
9217 * battery.el (display-battery-mode):
9218 * composite.el (global-auto-composition-mode)
9219 (auto-composition-mode):
9220 * delsel.el (delete-selection-mode):
9221 * desktop.el (desktop-save-mode):
9222 * dired-x.el (dired-omit-mode):
9223 * dirtrack.el (dirtrack-mode):
9224 * doc-view.el (doc-view-minor-mode):
9225 * double.el (double-mode):
9226 * electric.el (electric-indent-mode, electric-pair-mode):
9227 * emacs-lock.el (emacs-lock-mode):
9228 * epa-hook.el (auto-encryption-mode):
9229 * follow.el (follow-mode):
9230 * font-core.el (font-lock-mode):
9231 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9232 * help.el (temp-buffer-resize-mode):
9233 * hilit-chg.el (highlight-changes-mode)
9234 (highlight-changes-visible-mode):
9235 * hi-lock.el (hi-lock-mode):
9236 * hl-line.el (hl-line-mode, global-hl-line-mode):
9237 * icomplete.el (icomplete-mode):
9238 * ido.el (ido-everywhere):
9239 * image-file.el (auto-image-file-mode):
9240 * image-mode.el (image-minor-mode):
9241 * iswitchb.el (iswitchb-mode):
9242 * jka-cmpr-hook.el (auto-compression-mode):
9243 * linum.el (linum-mode):
9244 * longlines.el (longlines-mode):
9245 * master.el (master-mode):
9246 * mb-depth.el (minibuffer-depth-indicate-mode):
9247 * menu-bar.el (menu-bar-mode):
9248 * minibuf-eldef.el (minibuffer-electric-default-mode):
9249 * mouse-sel.el (mouse-sel-mode):
9250 * msb.el (msb-mode):
9251 * mwheel.el (mouse-wheel-mode):
9252 * outline.el (outline-minor-mode):
9253 * paren.el (show-paren-mode):
9254 * recentf.el (recentf-mode):
9255 * reveal.el (reveal-mode, global-reveal-mode):
9256 * rfn-eshadow.el (file-name-shadow-mode):
9257 * ruler-mode.el (ruler-mode):
9258 * savehist.el (savehist-mode):
9259 * scroll-all.el (scroll-all-mode):
9260 * scroll-bar.el (scroll-bar-mode):
9261 * server.el (server-mode):
9262 * shell.el (shell-dirtrack-mode):
9263 * simple.el (auto-fill-mode, transient-mark-mode)
9264 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9265 (line-number-mode, column-number-mode, size-indication-mode)
9266 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9267 * strokes.el (strokes-mode):
9268 * time.el (display-time-mode):
9269 * t-mouse.el (gpm-mouse-mode):
9270 * tool-bar.el (tool-bar-mode):
9271 * tooltip.el (tooltip-mode):
9272 * type-break.el (type-break-mode-line-message-mode)
9273 (type-break-query-mode):
9274 * view.el (view-mode):
9275 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9276 (global-whitespace-mode, global-whitespace-newline-mode):
9277 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9278
a3839de2
SM
9279 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9280 Fix autogenerated docstring.
06e21633 9281
5214e501
JL
92822011-10-19 Juri Linkov <juri@jurta.org>
9283
9284 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9285 by checking environment variables "DESKTOP_SESSION" and
9286 "XDG_CURRENT_DESKTOP". (Bug#9779)
9287
195f8db9
JL
92882011-10-19 Juri Linkov <juri@jurta.org>
9289
9290 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9291 (browse-url-chromium-program, browse-url-chromium-arguments):
9292 New defcustoms.
9293 (browse-url-default-browser): Check for `browse-url-chromium' and
9294 call `browse-url-chromium-program'.
9295 (browse-url-chromium): New command. (Bug#9779)
9296
343a34ff
JB
92972011-10-18 Juanma Barranquero <lekktu@gmail.com>
9298
9299 * facemenu.el (list-colors-duplicates): On Windows, detect more
9300 duplicates by assuming that only colors matching "^System" are
9301 special "system colors". (Bug#9722)
9302
6978a151
SM
93032011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9306 to distinguish the author from the committer.
9307
6a80b297
MA
93082011-10-18 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9311
b31a5677
JK
93122011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9313
9314 * international/mule.el (sgml-html-meta-auto-coding-function):
9315 Add support for detecting encoding in HTML5 specified only as
9316 <meta charset="UTF-8">. Implementation just makes http-equiv and
9317 content-type parts from HTML4 encoding string optional. (Bug#9716)
9318
80c6d77f
GM
93192011-10-18 Glenn Morris <rgm@gnu.org>
9320
9321 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9322
08b0fee8
CY
93232011-10-18 Chong Yidong <cyd@gnu.org>
9324
9325 * faces.el (cursor): Doc fix.
9326
67e729a5
CY
93272011-10-17 Chong Yidong <cyd@gnu.org>
9328
9329 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9330
343a34ff 93312011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9332
9333 * dirtrack.el (dirtrack): Support shell buffers with path
9334 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9335
0bc06380
TZ
93362011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9337
9338 * json.el: Bump version to 1.3 and note change in History.
9339 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9340
8b79f3e0
SM
93412011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9342
5a7c536b
SM
9343 * comint.el (comint-insert-input, comint-send-input)
9344 (comint-get-old-input-default, comint-backward-matching-input)
9345 (comint-next-prompt): Use nil instead of `input' for field property of
9346 past user input (bug#114).
9347
96a8a0df
SM
9348 * minibuffer.el (completion--replace): Inherit surrounding properties
9349 (bug#114).
9350 (minibuffer-complete-and-exit): Use it.
9351
8b79f3e0
SM
9352 * comint.el (comint--table-subvert): Quote the all-completions output
9353 (bug#9160).
9354
b8f7ff0d
MR
93552011-10-17 Martin Rudalics <rudalics@gmx.at>
9356
8b79f3e0 9357 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9358
b8f7ff0d 9359 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9360 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9361 entries and separate them from frame entries.
9362
c235b555
GM
93632011-10-15 Glenn Morris <rgm@gnu.org>
9364
9365 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9366 Doc fixes.
9367
6bbfa6e1
CY
93682011-10-15 Chong Yidong <cyd@stupidchicken.com>
9369
8b79f3e0
SM
9370 * net/network-stream.el (network-stream-open-starttls):
9371 Improve detection of failure due to lack of TLS support.
ec5c990d 9372
6bbfa6e1
CY
9373 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9374 putting the input text in front and in bold.
9375
98488977
SM
93762011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9377
3d1337be
SM
9378 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9379
ee0b45e4
SM
9380 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9381 empty buffer.
9382
98488977
SM
9383 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9384 unread-command-events rather than pushing yet-another event.
9385
186f4720
EZ
93862011-10-14 Eli Zaretskii <eliz@gnu.org>
9387
9388 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9389 the explanation of the possible choices. Make the options passed
9390 to completing-read shorter.
9391
8b7a997c
AM
93922011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9393
9394 * textmodes/flyspell.el (flyspell-large-region): Make sure
9395 extended character mode is used if defined (Bug#1339).
9396
12587bbb
EZ
93972011-10-13 Eli Zaretskii <eliz@gnu.org>
9398
9399 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9400 character info for LRE, LRO, RLE, and RLO characters by appending
9401 an invisible PDF.
12587bbb 9402
bad41229
SM
94032011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9406 even in case of error; add debug spec; simplify data flow.
9407 (with-timeout-handler): Remove.
9408
28dbc92f
MA
94092011-10-12 Michael Albinus <michael.albinus@gmx.de>
9410
9411 Fix Bug#6019, Bug#9315.
9412
9413 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9414 complete `buffer-file-name', the local file name part could look
9415 remotely (for example on VMS).
9416
9417 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9418 `tramp-run-real-handler'.
9419 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9420 already quoted by '"'.
9421
9422 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9423 Let `file-name-handler-alist' be nil, the local file name part
9424 could look remotely (for example on VMS).
9425
e1b0b23a
SM
94262011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9429 from here...
9430 (flyspell-post-command-hook): ...to here.
9431
a120bde9
SM
94322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9435 if not needed.
9436 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9437 using completion. Protect against "slow" callers.
9438 Remove the "message hack".
9439
7ce7717b
JL
94402011-10-11 Juri Linkov <juri@jurta.org>
9441
9442 * isearch.el (isearch-lazy-highlight-word): New variable.
9443 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9444 Use it. (Bug#9727)
9445
c02ee9d6
GM
94462011-10-11 Glenn Morris <rgm@gnu.org>
9447
9448 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9449 like f90-previous-statement does.
9450
93e616fd 94512011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9452
1f190e73 9453 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9454 only in interactive use, to avoid error.
9455
af7b6078
SM
94562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * minibuffer.el (completion-file-name-table): Fix last change,
9459 i.e. ignore normal errors but not the other ones.
9460
0563dae9
MR
94612011-10-10 Martin Rudalics <rudalics@gmx.at>
9462
9463 * window.el (special-display-buffer-names)
9464 (special-display-regexps): Remove some remnants of earlier
9465 changes from doc-strings.
366ca7f3
MR
9466 (quit-windows-on): New function.
9467
9468 * vc/vc.el (vc-revert, vc-rollback):
9469 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9470 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9471 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9472
49677495
MR
94732011-10-09 Martin Rudalics <rudalics@gmx.at>
9474
9475 * window.el (frame-auto-hide-function): Add version tag.
9476 (Bug#9699)
9477
56f2d1e1
MA
94782011-10-09 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9481 condition.
9482
112a6592
LL
94832011-10-09 Leo Liu <sdl.web@gmail.com>
9484
9485 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9486 (Bug#9701)
9487
0812589b
GM
94882011-10-08 Glenn Morris <rgm@gnu.org>
9489
9490 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9491 before the first code statement zero indent. (Bug#9690)
9492
b2b0776e
CY
94932011-10-08 Chong Yidong <cyd@stupidchicken.com>
9494
9495 * simple.el (count-words-region): Always count in the region.
9496 Report the number of lines and characters too.
9497 (count-words): New command, which counts in the buffer if the
9498 region is inactive, as count-words-region used to.
9499 (count-words--message): New function. Handle plurals.
9500 (count-lines-region): Make it an alias for count-words-region.
9501
9502 * bindings.el (esc-map): Replace count-lines-region with
9503 count-words-region.
9504
c557cd6b
MR
95052011-10-08 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (window--delete): Delete dedicated frame
9508 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9509 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9510
61a57ef4 95112011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9512
3a7d293b 9513 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9514
c3833279
CY
95152011-10-07 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * bindings.el ([M-left],[M-right]): Bind to left-word and
9518 right-word respectively.
9519
21ce8245
GM
95202011-10-07 Glenn Morris <rgm@gnu.org>
9521
9522 * cus-start.el (debug-on-quit): Fix custom type.
9523
6d823bb2
LMI
95242011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525
0181e193
LMI
9526 * subr.el (define-key-after): Clarify that the function is not
9527 useful for non-menu keymaps.
9528
6d823bb2
LMI
9529 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9530
8e3459ce 95312011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9532
21ce8245 9533 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9534 in current minibuffer (Fix bug with recursive minibuffers).
9535
a1c2d21e
CY
95362011-10-06 Chong Yidong <cyd@stupidchicken.com>
9537
9538 * progmodes/gdb-mi.el (gdb): Doc fix.
9539
5a4cf282
MR
95402011-10-05 Martin Rudalics <rudalics@gmx.at>
9541
9542 * window.el (frame-auto-hide-function): New option replacing
9543 frame-auto-delete. Suggested by Stefan Monnier.
9544 (window--delete): Call frame-auto-hide-function instead of
9545 investigating frame-auto-delete.
c96111ea
MR
9546 (window-point-1, set-window-point-1): New functions.
9547 (window-in-direction, record-window-buffer, window-state-get-1)
9548 (display-buffer-record-window): Use window-point-1 instead of
9549 window-point.
9550 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9551
9854542e
SM
95522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9555
8943cfb0
GM
95562011-10-05 Glenn Morris <rgm@gnu.org>
9557
9558 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9559 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9560
647ab967
LL
95612011-10-05 Leo Liu <sdl.web@gmail.com>
9562
9563 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9564 works with buffer object.
9565
3ddfbced
SM
95662011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * mpc.el (mpc-tool-bar-map): Add labels.
9569
bdfa5dd2
GM
95702011-10-04 Glenn Morris <rgm@gnu.org>
9571
9572 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9573
0e2070b5
MR
95742011-10-04 Martin Rudalics <rudalics@gmx.at>
9575
9576 * window.el (window--delete): New function.
9577 (frame-auto-delete): Resuscitate option.
9578 (bury-buffer, replace-buffer-in-windows)
9579 (quit-window): Rewrite using window--delete.
9580 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9581 Pass display-buffer-mark-dedicated to window--display-buffer-2
9582 (Bug#9639).
9583
3dc61a09
SM
95842011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9585
915a9b64
SM
9586 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9587 returns a list (bug#9554). Add remote file name completion.
9588 * comint.el (comint--table-subvert): Curry and get quote&unquote
9589 functions as arguments.
9590 (comint--complete-file-name-data): Adjust call accordingly.
9591 * pcomplete.el (pcomplete--table-subvert): Remove.
9592 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9593
3dc61a09
SM
9594 * minibuffer.el (completion-table-case-fold): Use currying.
9595 (completion--styles-type, completion--cycling-threshold-type):
9596 New constants.
9597 (completion-styles, completion-category-overrides)
9598 (completion-cycle-threshold): Use them.
9599 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9600 completion-table-case-fold.
9601
8ea0a993
SB
96022011-10-03 Stephen Berman <stephen.berman@gmx.net>
9603
9604 * minibuffer.el (completion-category-overrides): Fix type of styles
9605 and add more user friendly tags (bug#9660).
9606
8c24b7f6
SM
96072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9610 (mule-input-method-string): New widget.
9611 (default-input-method, language-info-custom-alist): Use it.
9612
428fe61a
SM
96132011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9614
32c1fffd
SM
9615 * pcomplete.el: Require comint.
9616 (pcomplete--common-suffix): Remove.
9617 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9618 (pcomplete--table-subvert): Sync with comint--table-subvert.
9619 (pcomplete--entries): Use comint-completion-file-name-table.
9620 * comint.el (comint-unquote-filename): Simplify.
9621 (comint-completion-file-name-table): New function (bug#9616).
9622 (comint--complete-file-name-data): Use it.
9623
428fe61a
SM
9624 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9625 (pcmpl-gnu-tar-buffer): Remove.
9626 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9627 around. Make sure pcomplete-suffix-list is only changed temporarily.
9628 Don't look inside the tar's file if it's too large.
428fe61a 9629
04c52e2f
CY
96302011-10-01 Chong Yidong <cyd@stupidchicken.com>
9631
ce3cefcc
CY
9632 * cus-edit.el (custom-mode-map):
9633 * epa.el (epa-key-list-mode-map):
9634 * man.el (Man-mode-map):
9635 * startup.el (splash-screen-keymap):
9636 * simple.el (special-mode-map): Use scroll-up-command and
9637 scroll-down-command.
9638
9639 * progmodes/idlw-help.el (idlwave-help-mode-map):
9640 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9641 * net/newst-plainview.el (newsticker-mode-map):
9642 * emulation/ws-mode.el (wordstar-mode-map):
9643 * emulation/vi.el (vi-com-map):
9644 * calc/calc-graph.el (calc-graph-show-dumb):
9645 * term/sun.el (terminal-init-sun):
9646 * term/ns-win.el (global-map):
9647 * progmodes/grep.el (grep-mode-map):
9648 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9649 * mail/rmail.el (rmail-mode-map):
9650 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9651
04c52e2f
CY
9652 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9653 custom-safe-themes as special.
9654
79adf8c8
JD
96552011-10-01 Julien Danjou <julien@danjou.info>
9656
9657 * notifications.el (notifications-notify): Fix docstring.
9658
63bd50d3
PS
96592011-10-01 Per Starbäck <per@starback.se>
9660
9661 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9662
199e4c7e
MR
96632011-09-30 Martin Rudalics <rudalics@gmx.at>
9664
9665 * startup.el (command-line-1): Fix last fix by inserting
9666 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9667 (Bug#9605) and (Bug#9636)
199e4c7e 9668
fe5f08dd
EZ
96692011-09-29 Eli Zaretskii <eliz@gnu.org>
9670
9671 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9672 window is hscrolled, move by logical lines. (Bug#9607)
9673 (line-move-visual): Update the doc string to the above effect.
9674
b5516bbd
MR
96752011-09-29 Martin Rudalics <rudalics@gmx.at>
9676
ccee00c0
MR
9677 * window.el (display-buffer-record-window): When WINDOW is the
9678 selected window use `point' instead of `window-point'. (Bug#9626)
9679
b5516bbd
MR
9680 * startup.el (command-line-1): Use insert-before-markers when
9681 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9682
b5516bbd
MR
9683 * help.el (help-window): Remove variable.
9684
52aa0014
GM
96852011-09-29 Glenn Morris <rgm@gnu.org>
9686
9687 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9688
df9a7357
JB
96892011-09-29 Juanma Barranquero <lekktu@gmail.com>
9690
9691 * descr-text.el (describe-char-categories): Accept category
9692 descriptions more than one line long.
9693
a8406c20
SM
96942011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9695
88d9610c
SM
9696 * simple.el (delete-trailing-whitespace): Fix last change.
9697
a5daf810
SM
9698 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9699 Don't confuse "y => 3" as the beginning of a `y' operation.
9700
a8406c20
SM
9701 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9702 object has more than 4 slots (bug#9613).
9703
a239d4e9
JB
97042011-09-28 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * subr.el (with-output-to-temp-buffer):
9707 * net/quickurl.el (quickurl, quickurl-browse-url):
9708 Fix typos in docstrings.
9709
693fbdb6
EZ
97102011-09-27 Eli Zaretskii <eliz@gnu.org>
9711
9712 * minibuffer.el (completion-styles)
9713 (completion-category-overrides): Cross reference each other in doc
9714 strings.
9715
8b457e28
GM
97162011-09-27 Glenn Morris <rgm@gnu.org>
9717
9718 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9719 to split-string. (Bug#9606)
9720
85a16208
LMI
97212011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722
9723 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9724 (bug#9615).
9725
502f9ebd
CY
97262011-09-27 Chong Yidong <cyd@stupidchicken.com>
9727
9728 * emacs-lisp/package.el (list-packages): Fix echo area message.
9729
7690bdea
LL
97302011-09-27 Leo Liu <sdl.web@gmail.com>
9731
9732 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9733
e2ee6f30
MA
97342011-09-25 Michael Albinus <michael.albinus@gmx.de>
9735
9736 * net/dbus.el (dbus-unregister-object): Don't release services for
9737 registered signals. (Bug#9581)
9738
f3f98342
TZ
97392011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9740
9741 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9742 function that picks between cfengine 2 and 3 support
9743 automatically. Update docs accordingly.
9744
dd7aa8dd
KH
97452011-09-22 Kenichi Handa <handa@m17n.org>
9746
9747 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9748 ZERO.
9749 (indian-itrans-v5-table-for-tamil): New variable.
9750 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9751
3f2b07f8
KM
97522011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9753
9754 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9755 that's true if the current command involved collapsing of text.
9756 It's reset to false at the beginning of the next command.
9757 (allout-post-command-business): Move the cursor to the beginning
9758 of entry if the cursor is hidden and collapsing activity just
9759 happened.
9760
371d6a61
CY
97612011-09-24 Chong Yidong <cyd@stupidchicken.com>
9762
9763 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9764 tracking (Bug#9541).
9765
2ac2721a
UJ
97662011-09-24 Ulf Jasper <ulf.jasper@web.de>
9767
9768 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9769 (newsticker-show-news): Automatically load html rendering package
9770 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9771 because w3m-fill-column is let-bound" and the error "Symbol's value
9772 as variable is void: w3m-fill-column".
2ac2721a 9773
fac7ae53
MA
97742011-09-24 Michael Albinus <michael.albinus@gmx.de>
9775
9776 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9777 Release services only if they are defined. (Bug#9581)
9778
e08b633b
RS
97792011-09-23 Richard Stallman <rms@gnu.org>
9780
e488d29c
RS
9781 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9782 distinguish start of paragraph from start of its text.
9783
19c38752
RS
9784 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9785
e08b633b
RS
9786 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9787 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9788 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9789
0a39f27e
AS
97902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9791
9792 * international/mule-diag.el (mule-diag): Insert a newline after
9793 each fontset description.
9794
db4e950d
SM
97952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * simple.el (delete-trailing-whitespace):
9798 Document last change; simplify.
9799
eca3f3ea
PW
98002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9801
d68e189a
PW
9802 * simple.el (delete-trailing-whitespace): Also delete
9803 extra newlines at the end of the buffer.
9804
eca3f3ea
PW
9805 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9806 (picture-newline): Use forward-line so as to ignore fields.
9807
01c157cc
SM
98082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * subr.el (with-wrapper-hook): Fix edebug spec.
9811
022de23e
LMI
98122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9813
9814 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9815 (bug#4538).
9816
91683089
MA
98172011-09-23 Michael Albinus <michael.albinus@gmx.de>
9818
eca3f3ea
PW
9819 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9820 Fix nasty bug using wrong cached values.
91683089 9821
5bdd6fa4
AM
98222011-09-23 Alan Mackenzie <acm@muc.de>
9823
9824 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9825
97adfb97
CY
98262011-09-23 Chong Yidong <cyd@stupidchicken.com>
9827
9828 * window.el (pop-to-buffer): Ensure right window is selected if we
9829 chose another frame.
9830
d4ef2b50
EZ
98312011-09-22 Eli Zaretskii <eliz@gnu.org>
9832
9833 * simple.el (what-cursor-position): Use get-char-property-change
9834 and next-single-char-property-change, to be able to show display
9835 properties that come from overlays as well as text properties.
9836
72258fe5
CY
98372011-09-22 Chong Yidong <cyd@stupidchicken.com>
9838
9839 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9840
9841 * cmuscheme.el (run-scheme, switch-to-scheme):
9842 * cus-edit.el (customize-group, custom-buffer-create)
9843 (customize-browse):
9844 * info.el (info):
9845 * shell.el (shell):
9846 * mail/sendmail.el (mail):
9847 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9848
8f098516
RS
98492011-09-22 Richard Stallman <rms@gnu.org>
9850
9851 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9852 move back only to line beg, don't move back over blank lines.
9853
e74f1bb6
MA
98542011-09-22 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * files.el (copy-directory): Set directory attributes only in case
9857 they could be retrieved from the source directory. (Bug#9565)
9858
bfeef8b6
DK
98592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9860
9861 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9862 (hs-find-block-beginning, hs-hide-level-recursive):
9863 Ignore strings as well as comments. (Bug#9502)
9864
7e423bb8
AS
98652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9866
9867 * progmodes/sql.el (sql-comint-postgres):
9868 Convert port number to a string. (Bug#9566)
9869
b4d72fcf
MR
98702011-09-22 Martin Rudalics <rudalics@gmx.at>
9871
9872 * window.el (quit-window): Undedicate window when switching to
9873 previous buffer. Reported by Thierry Volpiatto
9874 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9875 (special-display-popup-frame): When popping up a new frame reset
9876 its previous buffers to nil. Simplify code.
b4d72fcf 9877
a7b88dc6
MA
98782011-09-21 Michael Albinus <michael.albinus@gmx.de>
9879
9880 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9881 and process filter, as done also in `shell-command'.
9882
cf4eacfd
MR
98832011-09-21 Martin Rudalics <rudalics@gmx.at>
9884
eca3f3ea 9885 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9886 Call set-window-start with NOFORCE argument t.
9887 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9888 (quit-window): Reword doc-string. Handle new format of
9889 quit-restore parameter. Don't delete window if it has a
9890 previous buffer we can show instead of the present one.
9891 (display-buffer-record-window): Rewrite using a new format for
9892 the quit-restore window parameter
9893 (special-display-popup-frame, display-buffer-same-window)
9894 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9895 (display-buffer-pop-up-window, display-buffer-use-some-window):
9896 Adapt symbol passed to display-buffer-record-window.
9897 * help.el (help-window-setup): Handle new format of quit-restore
9898 parameter.
9899
8d28cb95
SM
99002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9901
94ab793f
SM
9902 * faces.el (face-list): Fix docstring (bug#9564).
9903
8d28cb95
SM
9904 * window.el (display-buffer--action-function-custom-type):
9905 Don't include internal functions in the Custom interface.
9906
3820edeb
JL
99072011-09-20 Juri Linkov <juri@jurta.org>
9908
9909 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9910 (Info-forward-node, Info-backward-node, Info-next-preorder)
9911 (Info-last-preorder): Use it. (Bug#9528)
9912
5147931d
JL
99132011-09-20 Juri Linkov <juri@jurta.org>
9914
9915 * info.el (Info-last-preorder): Visit last menu item only when
9916 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9917
cf499a1a
JD
99182011-09-20 Julien Danjou <julien@danjou.info>
9919
9920 * password-cache.el (password-cache-remove): Remove entries even if the
9921 value is nil, so that password with a nil value (negative caching) is
9922 possible to invalidate.
9923
f84e2fe2
LM
99242011-09-20 Lawrence Mitchell <wence@gmx.li>
9925
9926 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9927 all whitespace around breakpoint. (Bug#9553)
9928 (f90-find-breakpoint): Only break at whitespace inside a comment.
9929
78054a46
SM
99302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * minibuffer.el (completion-file-name-table): Keep track of errors.
9933 (completion-table-with-predicate): Handle the case where pred1 is nil.
9934 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9935
345083b2
SM
99362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9937
e24e27be
SM
9938 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9939 (debugger-return-value): Signal an error if the debugging context does
9940 not await any return value.
9941
345083b2
SM
9942 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9943 * image-mode.el (image-toggle-display-text)
9944 (image-toggle-display-image): Stay away from evil `intangible'.
9945
08d355e3
LL
99462011-09-19 Leo Liu <sdl.web@gmail.com>
9947
9948 * replace.el (occur-revert-arguments): Make it permanent-local.
9949 (occur-mode): Don't call font-lock-defontify.
9950
f01da43f
CY
99512011-09-19 Chong Yidong <cyd@stupidchicken.com>
9952
9953 * net/ldap.el (ldap-search-internal): Don't push empty search
9954 result (Bug#9508).
9955
b6072fa6
SM
99562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9959
443d6696
MA
99602011-09-19 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9963 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9964
7cc6e154
JL
99652011-09-18 Juri Linkov <juri@jurta.org>
9966
9967 * buff-menu.el (Buffer-menu-mode-map):
9968 * dired.el (dired-mode-map):
9969 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9970 (lisp-interaction-mode-map):
9971 * emacs-lisp/package.el (package-menu-mode-map):
9972 * epa.el (epa-key-list-mode-map):
9973 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9974 (menu-bar-options-menu):
9975 * outline.el (outline-mode-menu-bar-map):
9976 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9977 * vc/vc-dir.el (vc-dir-menu-map):
9978 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9979 Capitalize non-function content words in menu item strings.
9980
9981 * dired.el (dired-mode-map): Add menu item for
9982 `image-dired-dired-toggle-marked-thumbs'.
9983
80302a81
JL
99842011-09-18 Juri Linkov <juri@jurta.org>
9985
9986 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9987 to `isearch-case-fold-search' and restore its original value
9988 after the `isearch-mode' call.
9989
46c5cf66
JL
99902011-09-18 Juri Linkov <juri@jurta.org>
9991
9992 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9993 because `zgrep' returns 1 for successful matches (bug#9226).
9994
d18b513b
JL
99952011-09-18 Juri Linkov <juri@jurta.org>
9996
9997 * info.el (Info-extract-menu-node-name): Check the second match
9998 for empty string (second test-case of bug#9528).
9999 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10000 intermediate nodes to the history (first test-case of bug#9528).
10001
72753f87
JL
100022011-09-18 Juri Linkov <juri@jurta.org>
10003
10004 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10005 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10006
c9384295
JL
100072011-09-18 Juri Linkov <juri@jurta.org>
10008
1154d12e
JB
10009 * info.el (Info-file-supports-index-cookies):
10010 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10011 outputs one more line for long file names (bug#4142).
c9384295 10012
d473dce8
CY
100132011-09-18 Chong Yidong <cyd@stupidchicken.com>
10014
10015 * newcomment.el (comment-normalize-vars): If prompting for
10016 comment-start, set comment-start-skip too (Bug#8424).
10017
2176854d
JB
100182011-09-18 Johan Bockgård <bojohan@gnu.org>
10019
10020 * icomplete.el: Fix previous fix of Bug#5849.
10021 (icomplete-mode): Don't set completion-show-inline-help.
10022 (icomplete-minibuffer-setup): Set completion-show-inline-help
10023 locally during icompletion.
10024
3aace4e4
CY
100252011-09-18 Chong Yidong <cyd@stupidchicken.com>
10026
c940224f
CY
10027 * woman.el (woman2-process-escapes): Don't delete unrecognized
10028 escapes (Bug#7843).
10029
3aace4e4
CY
10030 * files.el (inhibit-first-line-modes-regexps): Add image files.
10031 (hack-local-variables-prop-line): Return nil for malformed
10032 prop-lines (Bug#9044).
10033
710dec63
MA
100342011-09-18 Michael Albinus <michael.albinus@gmx.de>
10035
10036 * net/tramp.el (top): Don't require 'shell.
10037 (tramp-methods): Fix docstring.
10038 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10039 Return complete remote file name. Handle "smb" case.
10040 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10041 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10042
10043 * net/tramp-compat.el (top): Require 'shell.
10044
10045 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10046 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10047 `tramp-current-host'.
10048 (tramp-get-remote-tmpdir): Remove.
10049
10050 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10051 `tramp-tmpdir' entries.
10052 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10053 (tramp-smb-handle-file-attributes): Ignore errors.
10054 (tramp-smb-wait-for-output): Check also for process end.
10055
5d5ac8ec
LMI
100562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10057
10058 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10059 when sending QUIT (bug#9312).
10060
8c0f49f0
CY
100612011-09-17 Chong Yidong <cyd@stupidchicken.com>
10062
10063 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10064 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10065 occur-mode-display-occurrence.
10066 (occur-edit-mode): Add usage message.
10067 (occur-cease-edit): New command.
10068 (occur-after-change-function): Use text properties to find the
10069 position of the prefix text.
10070 (occur-engine): Set stickiness of prefix text properties.
10071
8f1383f7
GM
100722011-09-17 Glenn Morris <rgm@gnu.org>
10073
10074 * progmodes/etags.el (complete-tag):
10075 Fix call to completion-in-region. (Bug#9526)
10076
744ba0e3
JL
100772011-09-17 Juri Linkov <juri@jurta.org>
10078
10079 * textmodes/ispell.el (ispell-word): Add to the error message
10080 the word, ispell program name and current dictionary (bug#9121).
10081 (ispell-tex-arg-end): Capitalize "error" in the error message.
10082
d9bbf400
AS
100832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10084
10085 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10086 check. (Bug#4251)
10087
8da11505
JL
100882011-09-17 Juri Linkov <juri@jurta.org>
10089
10090 * window.el (window-safe-min-height, window-safe-min-width):
10091 Fix typos (followup to bug#9522).
10092
a91adc7e
SJ
100932011-09-17 Sven Joachim <svenjoac@gmx.de>
10094
10095 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10096
064f328a
EZ
100972011-09-16 Eli Zaretskii <eliz@gnu.org>
10098
10099 * simple.el (line-move): If goal-column is set, move by logical
10100 lines, not by display lines. (Bug#971)
10101 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10102 to reflect the above change.
10103
e69df516
SM
101042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10105
10106 * image.el (imagemagick-register-types): Use regexp-opt.
10107
cbb0f9ab
CY
101082011-09-15 Chong Yidong <cyd@stupidchicken.com>
10109
10110 * window.el (display-buffer-base-action): Rename from
10111 display-buffer-default-action. Make default value empty.
10112 (display-buffer-overriding-action): Convert to defvar.
10113 (display-buffer-fallback-action): New var.
10114
25322144
CY
101152011-09-15 Chong Yidong <cyd@stupidchicken.com>
10116
10117 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10118 declaration.
10119 (package--add-to-archive-contents): If there is a duplicate entry
10120 with an older version, remove it.
10121 (package-menu-mark-delete, package-menu-mark-install)
10122 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10123 (package-menu-mark-obsolete-for-deletion):
10124 Use package-menu-get-status instead of a regexp search.
25322144
CY
10125 (package-menu-get-status): Use tabulated-list-entry.
10126 (package-menu-mark-upgrades): New command.
d770725a 10127 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10128 (package-menu-execute): Do installation before deletion.
10129 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10130 instead of checking major-mode.
10131 (package-menu--find-upgrades): New function.
10132
7520339c
LMI
101332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
10135 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10136 passwords in the log buffer.
65a046c4
LMI
10137 (smtpmail-process-filter): Update the process marker so that the
10138 "broken by peer" status message is inserted in the right place.
7520339c 10139
d3c30954
SM
101402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10141
3fe48822
SM
10142 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10143 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10144 bibtex-completion-at-point-function.
10145 (bibtex-completion-at-point-function): Use them.
10146
1b8b3954
SM
10147 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10148
d3c30954
SM
10149 * mpc.el (mpc-constraints-tag-lookup): New function.
10150 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10151 also to browser "album|playlist".
10152
72779976
JL
101532011-09-14 Juri Linkov <juri@jurta.org>
10154
10155 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10156 (isearch-edit-string): Use length of `isearch-string' when
10157 `isearch-fail-pos' returns nil.
10158 (isearch-message): Remove duplicate code and call
10159 `isearch-fail-pos' with arg `t'.
10160
a0bf2bcd
CY
101612011-09-14 Chong Yidong <cyd@stupidchicken.com>
10162
17bb0a2d
CY
10163 * replace.el (occur-mode-goto-occurrence): Don't force using other
10164 window (Bug#9499).
10165
a0bf2bcd
CY
10166 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10167
f678e0b6
MR
101682011-09-14 Martin Rudalics <rudalics@gmx.at>
10169
10170 * window.el (display-buffer-window): Remove.
10171 (display-buffer-record-window): Use help-setup window parameter
10172 instead of variable display-buffer-window.
10173 (display-buffer-function, special-display-buffer-names)
10174 (special-display-function): Mention help-setup parameter instead
10175 of display-buffer-window in doc-string.
d3c30954
SM
10176 * help.el (help-window-setup): New argument help-window.
10177 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10178 Reword some messages.
10179 (with-help-window): Pass window used for displaying the buffer
10180 to help-window-setup. Don't set display-buffer-window.
10181
8e39b2e8
GM
101822011-09-13 Glenn Morris <rgm@gnu.org>
10183
10184 * emacs-lisp/debug.el (debugger-make-xrefs):
10185 Preserve point. (Bug#9462)
10186
85e9c04b
CY
101872011-09-13 Chong Yidong <cyd@stupidchicken.com>
10188
10189 * window.el (window-deletable-p): Use next-frame.
10190
1b36ed6a
MR
101912011-09-13 Martin Rudalics <rudalics@gmx.at>
10192
10193 * window.el (window-auto-delete): Remove.
10194 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10195 dedication and previous buffers.
1b36ed6a
MR
10196 (switch-to-prev-buffer): Don't delete window.
10197 (delete-windows-on): Delete a window's frame if and only if the
10198 window is dedicated.
10199 (replace-buffer-in-windows): Delete buffer's window or frame if
10200 and only if window is dedicated.
10201 (quit-window): Handle quit-restore as before last change.
4d61f28d 10202 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10203
ef8ef9fb
CY
102042011-09-13 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * window.el (window-deletable-p): Never delete the last frame on a
10207 given terminal.
10208
b2cba41e
GM
102092011-09-13 Glenn Morris <rgm@gnu.org>
10210
10211 * help.el (describe-key-briefly): Copy previous standard-output change.
10212
51553db6 102132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10214
10215 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10216
b7556719
GM
102172011-09-13 Glenn Morris <rgm@gnu.org>
10218
10219 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10220 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10221
64b51947
CY
102222011-09-12 Chong Yidong <cyd@stupidchicken.com>
10223
10224 * dired-aux.el (dired-mark-read-string): Don't return default
10225 value on empty input (Bug#9361).
10226 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10227 Omit initial minibuffer contents.
10228 (dired-do-chmod): Signal an error on empty input.
10229 (dired-mark-read-string): Don't return default on empty input.
10230
10231 * files.el (file-modes-symbolic-to-number): Doc fix.
10232
393a301e
SM
102332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10234
10235 * international/mule-cmds.el (ucs-completions): Remove.
10236 (read-char-by-name): Use complete-with-action instead; add metadata.
10237
fa5660f9
CY
102382011-09-11 Chong Yidong <cyd@stupidchicken.com>
10239
10240 * window.el (display-buffer--action-function-custom-type)
10241 (display-buffer--action-custom-type): New vars.
10242 (display-buffer-alist, display-buffer-default-action)
10243 (display-buffer-overriding-action): Add defcustom types.
10244
4a592f66
CY
10245 * frame.el (delete-other-frames): Doc fix (Bug#276).
10246
73d56dbd
LMI
102472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10248
10249 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10250
37ac18a3
CY
102512011-09-11 Chong Yidong <cyd@stupidchicken.com>
10252
10253 Change modes that used same-window-* vars to use switch-to-buffer.
10254
10255 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10256 Use switch-to-buffer.
10257
10258 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10259 (customize-browse, custom-buffer-create-other-window):
10260 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10261
10262 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10263 (Info-prev, Info-up, Info-speedbar-goto-node)
10264 (info-display-manual): Use switch-to-buffer.
10265 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10266
10267 * mail/sendmail.el (mail): Use switch-to-buffer.
10268 (mail-recover): Use switch-to-buffer-other-window.
10269
10270 * cmuscheme.el (run-scheme, switch-to-scheme):
10271 * ielm.el (ielm):
10272 * shell.el (shell):
10273 * net/rlogin.el (rlogin):
10274 * net/telnet.el (telnet, rsh):
10275 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10276
10195bd6
AS
102772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10278
10279 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10280
b322f63a
LMI
102812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10282
39d7fed6
LMI
10283 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10284 so don't mention it (bug#9301).
ba5a81f1 10285 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10286
ee0e9f11
LMI
10287 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10288 match `x', `w32' and `ns', like the manual says (bug#9029).
10289
0b1c89c1 10290 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10291 (process-kill-buffer-query-function): Mention the buffer name in
10292 the query.
0b1c89c1 10293
77549ea8
LMI
10294 * image-mode.el (image-next-line): The line parameter is mandatory
10295 (bug#9258).
10296
803ef892
LMI
10297 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10298 which can be useful (bug#9301).
10299
12980837
LMI
10300 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10301
91054f8f
LMI
10302 * subr.el (match-string): Mention that the current buffer should
10303 be the same as the search was done in (bug#9282).
10304
b322f63a
LMI
10305 * facemenu.el: Disable the remove-* commands if the mark isn't
10306 active (bug#9162).
10307
3199b96f
CY
103082011-09-10 Chong Yidong <cyd@stupidchicken.com>
10309
10310 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10311 of display-buffer.
10312 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10313
10314 * replace.el (occur-mode-goto-occurrence)
10315 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10316 and display-buffer.
10317
10318 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10319 display-buffer.
10320
10321 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10322 special-display and same-window variables.
10323 (mail-other-window): Use switch-to-buffer-other-window.
10324 (mail-other-frame): USe switch-to-buffer-other-frame.
10325
393a301e
SM
10326 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10327 Use display-buffer-other-frame.
3199b96f
CY
10328 (gdb-display-gdb-buffer): Use pop-to-buffer.
10329
10330 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10331
10332 * progmodes/python.el: Don't set same-window-buffer-names.
10333
10334 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10335
10336 * window.el (display-buffer-alist): Add *Python*.
10337
8319e0bf
CY
103382011-09-10 Chong Yidong <cyd@stupidchicken.com>
10339
10340 * window.el (display-buffer-alist): Add entry for buffers
10341 previously handled same-window-*.
10342 (display-buffer-alist, display-buffer-default-action)
10343 (display-buffer-overriding-action): Mark as risky.
10344 (display-buffer-alist): Document action function changes.
10345 (display-buffer--same-window-action)
10346 (display-buffer--other-frame-action): New variables.
10347 (switch-to-buffer, display-buffer-other-frame): Use them.
10348 (display-buffer): Rename reuse-frame entry to reusable-frames.
10349 (display-buffer-reuse-selected-window): Function deleted.
10350 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10351 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10352 (display-buffer-special): New function.
10353 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10354 display-buffer-reuse-or-pop-window. Split off special-display
10355 part into display-buffer-special.
10356 (display-buffer-use-some-window): Don't perform any special
10357 pop-up-frames handling.
10358 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10359 (display-buffer--maybe-same-window): Rename from
0d3ff375 10360 display-buffer-maybe-same-window.
8319e0bf 10361
919a69aa
CY
10362 * info.el: Don't set same-window-regexps.
10363 (info-setup): New function.
10364 (info-other-window, info): Call it.
10365
10366 * cus-edit.el: Don't set same-window-regexps.
10367 (customize-group): New argument.
10368 (customize-group-other-window): Use it.
10369 (customize-face, customize-face-other-window): Likewise.
10370 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10371
8319e0bf
CY
10372 * net/rlogin.el:
10373 * net/telnet.el:
10374 * progmodes/gud.el: Don't set same-window-regexps.
10375
10376 * cmuscheme.el:
10377 * ielm.el:
10378 * shell.el:
10379 * mail/sendmail.el:
10380 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10381
25173000
JL
103822011-09-10 Juri Linkov <juri@jurta.org>
10383
10384 * isearch.el (isearch-edit-string): Remove obsolete mention of
10385 `C-w' (`isearch-yank-word-or-char') from docstring.
10386 (isearch-query-replace): Fix typo in docstring (bug#9466).
10387
056e44ef
JL
103882011-09-10 Juri Linkov <juri@jurta.org>
10389
10390 * paren.el (show-paren-function): Don't show escaped parens.
10391 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10392
c3760c17
EZ
103932011-09-10 Eli Zaretskii <eliz@gnu.org>
10394
10395 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10396 (mm-default-file-encoding): Remove autoload forms, they are
10397 replaced with autoload cookies in mml.el and mm-encode.el.
10398 (mail-add-attachment): New command.
10399 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10400 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10401 the doc string.
10402 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10403
fece895e
RT
104042011-09-10 Reuben Thomas <rrt@sc3d.org>
10405
e69df516
SM
10406 * simple.el (count-words-region): Use buffer if there's no region
10407 (bug#9429).
fece895e 10408
5e68ce4a
JL
104092011-09-09 Juri Linkov <juri@jurta.org>
10410
10411 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10412 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10413 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10414
0a6b9622
AM
104152011-09-09 Alan Mackenzie <acm@muc.de>
10416
10417 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10418 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10419
14a29deb
EZ
104202011-09-09 Eli Zaretskii <eliz@gnu.org>
10421
10422 Fix for Savannah bug#9392.
10423 * simple.el (mail-encode-mml): New defvar.
10424
10425 * mail/rmail.el (mail-encode-mml): Add a defvar.
10426 (rmail-enable-mime-composing): Default to t.
10427 (rmail-forward): Use MIME method of forwarding only if both
10428 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10429 Set mail-encode-mml non-nil if the MIME method was used.
10430
10431 * mail/sendmail.el (mml-to-mime): Add autoload form.
10432 (mail-encode-mml): Add a defvar.
10433 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10434 to nil.
10435 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10436 message through mml-to-mime, and reset mail-encode-mml to nil.
10437
28c45130
GM
104382011-09-09 Glenn Morris <rgm@gnu.org>
10439
10440 * woman.el (woman-if-body): When processing an .el block,
10441 do not delete the next .el block as well. (Bug#9447)
69f4b618 10442 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10443
9b1c252e
MR
104442011-09-08 Martin Rudalics <rudalics@gmx.at>
10445
10446 * window.el (window-deletable-p): Make sure window is live before
10447 invoking window-prev-buffers.
10448
567457e3
LL
104492011-09-08 Leo Liu <sdl.web@gmail.com>
10450
10451 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10452
97f05794
JL
104532011-09-08 Juri Linkov <juri@jurta.org>
10454
10455 * progmodes/compile.el (compilation-environment): Make it
10456 a defcustom (bug#8340).
10457
8b0874b5
MR
104582011-09-08 Martin Rudalics <rudalics@gmx.at>
10459
10460 * window.el (frame-auto-delete): Rename to window-auto-delete.
10461 Make it control auto-deletion of windows and/or frames.
10462 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10463 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10464 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10465 Rewrite handling of case when window/frame can be deleted.
10466 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10467 argument t. (Bug#9456)
8b0874b5 10468
4feb6e73
CY
104692011-09-07 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * help-mode.el (help-mode): Restore autoload.
10472
91ab9c13
JL
104732011-09-07 Juri Linkov <juri@jurta.org>
10474
10475 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10476 `compilation-environment'. Set buffer-local
10477 `compilation-environment' to `thisenv' later after (funcall mode).
10478 (Bug#8340)
10479
10480 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10481 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10482 instead of replacing its value. (Bug#8340)
10483
0527e251
JL
104842011-09-07 Juri Linkov <juri@jurta.org>
10485
10486 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10487 based on text properties put by `grep-filter' instead of matching
10488 escape sequences.
10489 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10490 to the value of `grep-error-screen-columns' (bug#9438).
10491
249f792c
JL
104922011-09-07 Juri Linkov <juri@jurta.org>
10493
10494 * simple.el (next-error-highlight, next-error-highlight-no-select):
10495 Doc fix (bug#9432).
10496
ff7271b9
OT
104972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10498
10499 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10500 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10501
183fc730
LL
105022011-09-07 Leo Liu <sdl.web@gmail.com>
10503
10504 * net/rcirc.el (rcirc-mode): Conditionally initialize
10505 rcirc-input-ring.
10506
77694924
SM
105072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * emacs-lisp/find-func.el (find-function-C-source): Only set
10510 find-function-C-source-directory after checking that we found a source
10511 file there (bug#9440).
10512
d809b8eb
AM
105132011-09-06 Alan Mackenzie <acm@muc.de>
10514
10515 * isearch.el (isearch-other-meta-char): Wherever a key list is
10516 unread, "unread" the prefix arg, too. This fixes bug #8901.
10517
453de99f
OG
105182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10519
10520 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10521
90439906
JL
105222011-09-05 Juri Linkov <juri@jurta.org>
10523
10524 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10525
f62bd846
JL
105262011-09-05 Juri Linkov <juri@jurta.org>
10527
10528 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10529 keeping point where processing of grep matches begins, and
10530 continue to delete remaining escape sequences from the same point.
10531 (grep-filter): Make leading zero optional in "0?1;31m" because
10532 git-grep emits "\033[1;31m" escape sequences unlike expected
10533 "\033[01;31m" as GNU Grep does (bug#9408).
10534 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10535
045820ec
JL
105362011-09-05 Juri Linkov <juri@jurta.org>
10537
10538 * subr.el (y-or-n-p): Capitalize "yes".
10539
f5e29b9b
MA
105402011-09-04 Michael Albinus <michael.albinus@gmx.de>
10541
10542 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10543 `tramp-cache-unload-hook' where appropriate.
10544 (tramp-methods): Rename `tramp-remote-sh' to
10545 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10546 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10547
10548 * net/tramp-sh.el (top): Don't require 'shell.
10549 (tramp-methods): Add `tramp-remote-shell' and
10550 `tramp-remote-shell-args' entries.
10551 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10552 (tramp-sh-handle-shell-command): Remove.
10553 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10554 Use `tramp-remote-shell'.
10555
2784c434
CY
105562011-09-03 Chong Yidong <cyd@stupidchicken.com>
10557
393a301e 10558 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10559 (sendmail-query-once): Save directly to send-mail-function.
10560 Update message-send-mail-function too.
10561
10562 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10563
464cdf56
CS
105642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10565
10566 * progmodes/python.el (python-mode-map): Use correct function to
10567 start python interpreter from menu-bar (as reported by Geert
10568 Kloosterman).
10569 (inferior-python-mode-map): Fix typo.
393a301e 10570 (python-shell-map): Remove.
464cdf56 10571
d37e5c87
DD
105722011-09-03 Deniz Dogan <deniz@dogan.se>
10573
10574 * net/rcirc.el (rcirc-print): Simplify code for
10575 rcirc-scroll-show-maximum-output. There is no need to walk
10576 through all windows to find the right one.
10577
f3ada0ee
CS
105782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10579
10580 * help.el (help-return-method): Doc fix.
10581
1f3c99ca
MR
105822011-09-03 Martin Rudalics <rudalics@gmx.at>
10583
10584 * window.el (window-deletable-p): Don't return a non-nil value
10585 when there's a buffer that was shown in the window before.
10586 (Bug#9419)
393a301e
SM
10587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10588 Set window's previous buffers to nil.
1f3c99ca 10589
a3cf097f
EZ
105902011-09-03 Eli Zaretskii <eliz@gnu.org>
10591
10592 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10593 newline before and after the tag line, so it doesn't interfere
10594 with determining the paragraph direction of bidirectional text.
10595
3d03de90
LL
105962011-09-03 Leo Liu <sdl.web@gmail.com>
10597
10598 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10599
c3313451
CY
106002011-09-02 Chong Yidong <cyd@stupidchicken.com>
10601
393a301e 10602 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10603 (pop-to-buffer): Change interactive spec. Pass second argument
10604 directly to display-buffer.
10605 (display-buffer): Fix interactive spec. Use functionp to
10606 distinguish between a function and a list of functions.
10607
10608 * abbrev.el (edit-abbrevs):
10609 * arc-mode.el (archive-extract):
10610 * autoinsert.el (auto-insert):
10611 * bookmark.el (bookmark-bmenu-list):
10612 * files.el (find-file):
10613 * view.el (view-buffer):
10614 * progmodes/compile.el (compilation-goto-locus):
10615 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10616
89894cd8
CY
106172011-09-02 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * window.el (display-buffer-alist): Doc fix.
10620 (display-buffer): Add docstring. Don't treat
10621 display-buffer-default specially.
10622 (display-buffer-reuse-selected-window)
10623 (display-buffer-same-window, display-buffer-maybe-same-window)
10624 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10625 (display-buffer-pop-up-window)
10626 (display-buffer-reuse-or-pop-window)
10627 (display-buffer-use-some-window): New functions.
10628 (display-buffer-default-action): Use them.
393a301e 10629 (display-buffer-default): Delete.
89894cd8
CY
10630 (pop-to-buffer-1): Fix choice of actions.
10631
ae0bc9fb
SM
106322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * minibuffer.el (completion--insert-strings): Don't get confused by
10635 completion entries that end with an LF char.
10636
e9d90883
EZ
106372011-09-01 Eli Zaretskii <eliz@gnu.org>
10638
10639 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10640
437014c8
CY
106412011-09-01 Chong Yidong <cyd@stupidchicken.com>
10642
10643 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10644 (display-buffer-same-window, display-buffer-other-window):
10645 New functions.
437014c8
CY
10646 (pop-to-buffer-1): New function. Use the above.
10647 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10648 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10649
10650 * view.el (view-buffer-other-window, view-buffer-other-frame):
10651 Just use pop-to-buffer.
10652
a5e063d5
TV
106532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10654
10655 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10656
793d32bb
WH
106572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10658
10659 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10660
d65e4c15
RS
106612011-08-31 Richard Stallman <rms@gnu.org>
10662
10663 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10664 of the separation of rmail-view-buffer from rmail-buffer.
10665 If you say no to "replace original", the decrypt is in the
10666 view buffer. If you say yes, the decrypt goes into the
10667 rmail buffer also.
10668
f818cd2a
MR
106692011-08-31 Martin Rudalics <rudalics@gmx.at>
10670
10671 * window.el (display-buffer-window): Rewrite doc-string.
10672 (display-buffer-record-window): New function.
10673 (display-buffer-macro-specifiers)
10674 (display-buffer-even-window-sizes, display-buffer-set-height)
10675 (display-buffer-set-width, display-buffer-in-window)
10676 (display-buffer-reuse-window, display-buffer-split-specifiers)
10677 (display-buffer-side-specifiers, display-buffer-split-window-1)
10678 (display-buffer-split-window, display-buffer-split-atom-window)
10679 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10680 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10681 (display-buffer-other-window-means-other-frame)
10682 (display-buffer-normalize-special)
10683 (display-buffer-normalize-default)
10684 (display-buffer-normalize-argument)
10685 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10686 (display-buffer-normalize-specifiers, display-buffer-frame)
10687 (display-buffer-same-window, display-buffer-same-frame)
10688 (display-buffer-other-window)
10689 (display-buffer-same-frame-other-window)
10690 (display-buffer-other-frame, pop-to-buffer-same-window)
10691 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10692 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10693 (switch-to-buffer-same-frame)
10694 (switch-to-buffer-other-window-same-frame)
10695 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10696 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10697 (display-buffer-alist-set): Remove.
10698 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10699 (special-display-regexps, special-display-function):
10700 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10701 parameter.
10702 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10703 (special-display-frame-alist, special-display-popup-frame)
10704 (same-window-buffer-names, same-window-regexps, same-window-p)
10705 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10706 (split-window-preferred-function, split-height-threshold)
10707 (split-width-threshold, window-splittable-p)
10708 (split-window-sensibly, window--try-to-split-window)
10709 (window--frame-usable-p, even-window-heights)
10710 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10711 (window--display-buffer-2, display-buffer-other-frame):
10712 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10713 (display-buffer-default, display-buffer-assq-regexp): New functions.
10714 (display-buffer-alist): Rewrite doc-string.
10715 (display-buffer-default-action)
10716 (display-buffer-overriding-action): New variables.
10717 (display-buffer, switch-to-buffer): Rewrite.
10718 (pop-to-buffer): Restore Emacs 23 behavior but use
10719 window-normalize-buffer-to-display.
10720 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10721 Restore Emacs 23 behavior but use
10722 window-normalize-buffer-to-switch-to.
10723 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10724 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10725 Rewrite using Emacs 23 options.
f818cd2a 10726
5bc3b51d
MA
107272011-08-31 Michael Albinus <michael.albinus@gmx.de>
10728
10729 * net/tramp.el (tramp-root-regexp): Remove.
10730 (tramp-completion-file-name-regexp-unified)
10731 (tramp-completion-file-name-regexp-separate)
10732 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10733 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10734 (tramp-drop-volume-letter): Simplify definition.
10735 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10736
b1a4f8e1
SM
107372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10740 (bug#9356).
10741
5664fa7b
RT
107422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10743
b1a4f8e1 10744 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10745
9a45d6c3
JL
107462011-08-29 Juri Linkov <juri@jurta.org>
10747
10748 * isearch.el (isearch-done): Don't display message "Mark saved"
10749 when arg `edit' is non-nil to prevent its flicker in the echo area.
10750
fb87e0fb
CY
107512011-08-28 Chong Yidong <cyd@stupidchicken.com>
10752
10753 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10754 obsolete packages for deletion.
10755
09ac1c2a
CS
107562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10757
10758 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10759 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10760 view-mode from help-mode.
10761 (help-xref-override-view-map): Remove.
10762 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10763 view-mode is not used anymore.
10764
7a1ff57f
CY
107652011-08-28 Chong Yidong <cyd@stupidchicken.com>
10766
10767 * server.el (server-port): Doc fix.
10768
b9696605
CY
10769 * cus-theme.el (custom-theme-choose-mode): Inherit from
10770 special-mode (Bug#9124).
10771 (custom-theme-choose-mode-map): Add special-mode to parent.
10772
ef8cdf8c
AM
107732011-08-28 Alan Mackenzie <acm@muc.de>
10774
10775 * progmodes/cc-fonts.el
10776 (c-make-font-lock-BO-decl-search-function): New function.
10777 (c-basic-matchers-after - "Fontify the clauses after various
10778 keywords"): Extract the three keyword lists for the 3 erroneous
10779 constructs from the list of four, and use the new function above
10780 in place of an old one.
10781
27de4e20
DD
107822011-08-28 Deniz Dogan <deniz@dogan.se>
10783
10784 * net/rcirc.el (rcirc-insert-prev-input)
10785 (rcirc-insert-next-input): Remove unused argument.
10786
356a3681
SM
107872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10790
3fc9b218
AM
107912011-08-27 Alan Mackenzie <acm@muc.de>
10792
10793 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10794 handle function pointer parameters properly.
10795
538a061c
MR
107962011-08-27 Martin Rudalics <rudalics@gmx.at>
10797
10798 * window.el (display-buffer-reuse-window): Fix case where
10799 selected window was reused with non-nil OTHER-WINDOW argument.
10800 (Bug#9381)
10801
35b1c40c
DD
108022011-08-27 Deniz Dogan <deniz@dogan.se>
10803
10804 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10805 oftc's NickServ messages.
10806
2f6a3e79
GM
108072011-08-27 Glenn Morris <rgm@gnu.org>
10808
10809 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10810
7254299e
CY
108112011-08-26 Chong Yidong <cyd@stupidchicken.com>
10812
10813 * emacs-lisp/package.el (package-install): Call package-initialize
10814 if called interactively.
10815
f8ccf167
LL
108162011-08-26 Leo Liu <sdl.web@gmail.com>
10817
10818 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10819
3e8cd5ce
JL
108202011-08-25 Juri Linkov <juri@jurta.org>
10821
10822 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10823 `search-whitespace-regexp' (bug#9364).
10824
93eb7113
JL
108252011-08-25 Juri Linkov <juri@jurta.org>
10826
10827 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10828 `regexp-search-ring' to their global values to protect from
10829 updating by `read-from-minibuffer' (bug#9185).
10830
f65d1611
JL
108312011-08-25 Juri Linkov <juri@jurta.org>
10832
10833 * textmodes/ispell.el (ispell-command-loop): Add newline
10834 at the end of the "Use option `i'..." line.
10835
f1cf7a31
JL
108362011-08-25 Juri Linkov <juri@jurta.org>
10837
10838 * battery.el (display-battery-mode): If `battery-status-function'
10839 or `battery-mode-line-format' is nil, display the message and set
10840 `display-battery-mode' to nil (bug#9363).
10841
0c95fcf7
EZ
108422011-08-25 Eli Zaretskii <eliz@gnu.org>
10843
10844 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10845 bidi-string-mark-left-to-right; they are unnecessary now.
10846
a2ebe600
DD
108472011-08-25 Deniz Dogan <deniz@dogan.se>
10848
10849 * net/quickurl.el: Documentation typo fixes.
10850
e4ed06f1
CY
108512011-08-25 Chong Yidong <cyd@stupidchicken.com>
10852
10853 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10854
e5f1c99e
GM
108552011-08-25 Glenn Morris <rgm@gnu.org>
10856
b2948976
GM
10857 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10858
e5f1c99e
GM
10859 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10860 (smtpmail-via-smtp): Handle nil response from smtp.
10861
f22f4808
JL
108622011-08-24 Juri Linkov <juri@jurta.org>
10863
10864 * proced.el (proced-marked): Inherit from `error' instead of
10865 `font-lock-warning-face'.
10866
10867 * ibuffer.el (ibuffer-marked-face): Change default face from
10868 `font-lock-warning-face' to `warning'.
10869 (ibuffer-deletion-face): Change default face from
10870 `font-lock-type-face' to `error'.
10871
10872 * battery.el (battery-update): Use the face `error' instead of
10873 `font-lock-warning-face' (bug#6117).
10874
6a93965e
JL
108752011-08-24 Juri Linkov <juri@jurta.org>
10876
10877 * faces.el (success): Change face color from "Green3" to
10878 "ForestGreen" on light background (bug#9353).
10879
1ed43b09
CY
108802011-08-24 Chong Yidong <cyd@stupidchicken.com>
10881
5664fa7b
RT
10882 * window.el (quit-window): Rename from quit-restore-window.
10883 Use same arglist as old quit-window.
1ed43b09
CY
10884 (frame-auto-delete): Doc fix.
10885
10886 * view.el (view-mode-exit): Use quit-window.
10887
11dcdbb2
JL
108882011-08-24 Juri Linkov <juri@jurta.org>
10889
10890 * isearch.el (isearch-ring-adjust1): Start visiting previous
10891 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10892 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10893 for empty search string (when the last search string is reused
10894 automatically) to adjust the isearch ring to the last element and
10895 prepare the correct index for further M-p commands (bug#9185).
10896
de62b4df
KH
108972011-08-24 Kenichi Handa <handa@m17n.org>
10898
10899 * international/ucs-normalize.el: If decomposition property of
10900 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10901 nil.
10902 (nfd, nfkd): Likewise.
10903
963b492b
SM
109042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10907 from process filters aren't reliably transmitted to the surrounding
10908 accept-process-output.
10909 (mpc-proc-check): New function.
10910 (mpc-proc-sync): Use it (bug#8293)
10911
93b6b5e1
SM
109122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10915 Add compatibility functions (bug#9313).
10916
bca633fb
EZ
109172011-08-23 Eli Zaretskii <eliz@gnu.org>
10918
b177498a
EZ
10919 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10920
6df6ae42 10921 * international/uni-bidi.el: Regenerate.
bca633fb 10922
0902a04e
KH
109232011-08-23 Kenichi Handa <handa@m17n.org>
10924
10925 * international/charprop.el:
10926 * international/uni-bidi.el:
10927 * international/uni-category.el:
10928 * international/uni-combining.el:
10929 * international/uni-comment.el:
10930 * international/uni-decimal.el:
10931 * international/uni-decomposition.el:
10932 * international/uni-digit.el:
10933 * international/uni-lowercase.el:
10934 * international/uni-mirrored.el:
10935 * international/uni-name.el:
10936 * international/uni-numeric.el:
10937 * international/uni-old-name.el:
10938 * international/uni-titlecase.el:
10939 * international/uni-uppercase.el: Regenerate.
10940
3bbf23bc
MR
109412011-08-23 Martin Rudalics <rudalics@gmx.at>
10942
10943 * help.el (help-window-setup): Fix message displayed when other
10944 window is reused. (Bug#9341)
10945
b3fd59bd
SM
109462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10947
1802e444
SM
10948 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10949 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10950
b3fd59bd
SM
10951 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10952 Mark obsolete.
10953 * shell.el (shell-parse-pcomplete-arguments): New function.
10954 (shell-completion-vars): Use it instead (bug#9160).
10955
4eb61348
SM
109562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10957
867cab74
SM
10958 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10959 strings and comments (bug#9333).
10960
4eb61348
SM
10961 * emacs-lisp/debug.el (debug-arglist): New function.
10962 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10963 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10964
262a1439
JL
109652011-08-22 Juri Linkov <juri@jurta.org>
10966
56ee679c
JL
10967 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10968 Revert regexp that highlights output switches to its old
10969 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10970
262a1439
JL
10971 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10972 to check for empty output (bug#9226).
10973
f13f86fb
CY
109742011-08-22 Chong Yidong <cyd@stupidchicken.com>
10975
10976 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10977 symbol-constituent as the default, as that stops font-lock from
10978 working properly (Bug#8843).
10979
c65c9622
LMI
109802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981
10982 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10983 `coding-system-for-*' around the process open call to avoid
10984 auth-source side effects.
e7f2c178 10985 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10986 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10987 probe hangs.
c65c9622 10988
23a8a5ab
CY
109892011-08-21 Chong Yidong <cyd@stupidchicken.com>
10990
ff98b2dd
CY
10991 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10992
23a8a5ab
CY
10993 * emacs-lisp/find-func.el (find-function-noselect): New arg
10994 lisp-only.
10995
10996 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10997 signal an error for built-in functions (Bug#6664).
10998
f5e3c598
LMI
109992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11000
11001 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11002 (smtpmail-try-auth-methods): Use it.
11003
a3f2468a
CY
110042011-08-21 Chong Yidong <cyd@stupidchicken.com>
11005
2c34e8da
CY
11006 * font-lock.el (font-lock-fontify-region)
11007 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11008 (font-lock-default-unfontify-buffer)
11009 (font-lock-default-fontify-region)
11010 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11011
b3fd59bd
SM
11012 * progmodes/compile.el (compilation-error-properties):
11013 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11014 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11015 `ant' regexp.
ee31aabc 11016
a3f2468a
CY
11017 * net/browse-url.el (browse-url-firefox): Don't call
11018 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11019
8e999f70
GM
110202011-08-20 Glenn Morris <rgm@gnu.org>
11021
c21a496a
GM
11022 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11023
59ee0542
GM
11024 * tutorial.el (tutorial--default-keys): Update some default bindings.
11025
8e999f70
GM
11026 * files.el (hack-local-variables): Fully ignore case for "mode:".
11027
e3715033
AM
110282011-08-20 Alan Mackenzie <acm@muc.de>
11029
11030 Resolve invalid use of a regexp in regexp-opt.
11031
4d61f28d
JB
11032 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11033 detection for a java annotation.
e3715033 11034
4d61f28d 11035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11036 detection for a java annotation.
11037
4d61f28d
JB
11038 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11039 handling for java.
e3715033
AM
11040 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11041
04ed2e9c
CY
110422011-08-20 Chong Yidong <cyd@stupidchicken.com>
11043
11044 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11045 (Bug#9274).
11046
826cee64
AM
110472011-08-20 Alan Mackenzie <acm@muc.de>
11048
58179cce 11049 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11050 such a construct. Mainly for when jit-lock etc. starts a chunk
11051 here.
11052
58179cce 11053 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11054 variable.
58179cce 11055 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11056 c-make-font-lock-search-function.
11057 (c-make-font-lock-search-function): Use the above function.
11058 (c-make-font-lock-context-search-function): New function.
11059 (c-cpp-matchers): Enhance the preprocessor expression case with
11060 the above function
11061 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11062 which takes an expression.
11063
11064 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11065
13009bd8
MR
110662011-08-20 Martin Rudalics <rudalics@gmx.at>
11067
11068 * window.el (display-buffer-reuse-window)
11069 (display-buffer-pop-up-window): Don't reuse or split a side
11070 window.
11071
9234ff7f
GM
110722011-08-19 Glenn Morris <rgm@gnu.org>
11073
11074 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11075 Downcase "Mode:". (Bug#9331)
9234ff7f 11076
f635daa1
CY
110772011-08-18 Chong Yidong <cyd@stupidchicken.com>
11078
11079 * international/characters.el: Add L and R categories.
11080
11081 * subr.el (bidi-string-mark-left-to-right): Rename from
11082 string-mark-left-to-right. Use category search.
11083
11084 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11085
bc987f8b
JL
110862011-08-18 Juri Linkov <juri@jurta.org>
11087
11088 * faces.el (error, warning, success): New faces with definitions
11089 copied from old default values of `font-lock-warning-face',
11090 `compilation-warning', `compilation-info' (bug#6117).
11091
11092 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11093
11094 * progmodes/compile.el (compilation-error): Inherit from `error'.
11095 (compilation-warning): Inherit from `warning'.
11096 (compilation-info): Inherit from `success'.
11097
11098 * dired.el (dired-marked): Inherit from `warning'.
11099 (dired-flagged): Inherit from `error'.
11100
57173b96
LMI
111012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11102
3e79eb87
LMI
11103 * mail/smtpmail.el (auth-source): Require to avoid problems with
11104 binding variables (bug#9298). Also clean up some unused
11105 autoloads.
11106
b3fd59bd
SM
11107 * net/network-stream.el (network-stream-open-starttls):
11108 Support using starttls.el without using gnutls-cli.
57173b96 11109
02b404de
JL
111102011-08-17 Juri Linkov <juri@jurta.org>
11111
11112 * progmodes/grep.el (rgrep): Handle the case when
11113 `grep-find-command' is a cons cell (bug#9278).
11114
8c9177f2
MR
111152011-08-17 Martin Rudalics <rudalics@gmx.at>
11116
11117 * window.el (display-buffer-pop-up-frame): Run frame creation
11118 function with BUFFER current (as special-display-popup-frame
11119 does). Reported by Drew Adams.
11120
3644a0ab
DU
111212011-08-17 Daiki Ueno <ueno@unixuser.org>
11122
11123 * epa-mail.el: Simplify GnuPG group expansion using
11124 epg-expand-group.
11125 (epa-mail-group-alist, epa-mail-group-modtime)
11126 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11127 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11128 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11129 Remove.
11130
5e617bc2 111312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11132
11133 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11134
9c4aeabf
AM
111352011-08-16 Alan Mackenzie <acm@muc.de>
11136
11137 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11138 Correct, to avoid the inside of macros.
11139
3a99bf64
RS
111402011-08-16 Richard Stallman <rms@gnu.org>
11141
04963aa8
RS
11142 * epa-mail.el: Handle GnuPG group definitions.
11143 (epa-mail-group-alist, epa-mail-group-modtime)
11144 (epa-mail-gnupg-conf-file): New variables.
11145 (epa-mail-parse-groups, epa-mail-sync-groups)
11146 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11147 (epa-mail-expand-recipients): New functions.
11148 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11149
177549d0
RS
11150 * mail/rmail.el (rmail-epa-decrypt): New command.
11151
fe38beef
RS
11152 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11153 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11154 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11155 (epa-decrypt-armor-in-region): Make error message clearer.
11156
934eacb9
SM
111572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11160 and "a2b" to "ab" for `prefix'.
11161
d024fb4e
CY
111622011-08-14 Chong Yidong <cyd@stupidchicken.com>
11163
11164 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11165 filter groups.
de148fee
CY
11166 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11167 Fourquet (Bug#8804).
d024fb4e 11168
62f1ca49
JB
111692011-08-12 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * startup.el (argi): Declare as global variable (bug#9275).
11172
9ccaaa4b
CY
111732011-08-12 Chong Yidong <cyd@stupidchicken.com>
11174
11175 * subr.el (string-mark-left-to-right): Search the entire string
11176 for RTL script, not just the terminating character. Doc fix.
11177
a3dae87a
SM
111782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11179
6cd18349
SM
11180 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11181 New function.
11182 (js--regexp-literal, js-syntax-propertize-function): Remove.
11183 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11184 (js-mode-map): Don't rebind electric keys.
11185 (js-insert-and-indent): Remove.
11186 (js-mode): Setup electric-layout and electric-indent instead.
11187
a3dae87a
SM
11188 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11189
9d5cb631
DU
111902011-08-12 Daiki Ueno <ueno@unixuser.org>
11191
11192 * epa.el (epa-progress-callback-function): Fix the logic of
11193 displaying progress.
11194 * epa-file.el (epa-file-insert-file-contents): Make progress
11195 display more user-friendly.
11196 (epa-file-write-region): Ditto.
11197
3e26a4a2
CY
111982011-08-10 Chong Yidong <cyd@stupidchicken.com>
11199
11200 * subr.el (string-mark-left-to-right): New function.
11201
11202 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11203 Use string-mark-left-to-right.
11204 (list-buffers-noselect): Caller changed.
11205
a3dae87a
SM
11206 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11207 Use string-mark-left-to-right.
3e26a4a2
CY
11208 (tabulated-list-print): Recenter after moving point.
11209
ac8cf6e6
JL
112102011-08-10 Juri Linkov <juri@jurta.org>
11211
11212 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11213 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11214 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11215
8d96c9a4
CY
112162011-08-09 Chong Yidong <cyd@stupidchicken.com>
11217
11218 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11219 (Bug#7554).
11220
7be1c708 112212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11222
11223 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11224 character. (Bug#6594)
11225
37e11a63
CY
112262011-08-08 Chong Yidong <cyd@stupidchicken.com>
11227
839dde57
CY
11228 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11229 (image-dired--with-db-file): New macro.
11230 (image-dired-write-tags, image-dired-remove-tag)
11231 (image-dired-create-gallery-lists, image-dired-write-comments)
11232 (image-dired-get-comment, image-dired-mark-tagged-files)
11233 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11234 (image-dired-gallery-generate): Use insert-file-contents.
11235
37e11a63
CY
11236 * time.el (display-time-world-list, display-time-world-display):
11237 * time-stamp.el (time-stamp-string):
11238 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11239 set-time-zone-rule (Bug#7337).
11240
0b4946c4
DU
112412011-08-08 Daiki Ueno <ueno@unixuser.org>
11242
11243 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11244 (epg-error-to-string, epg-errors-to-string): New function.
11245 (epg-wait-for-completion): Reverse errors list.
11246 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11247 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11248 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11249 (epg-sign-keys, epg-generate-key-from-file)
11250 (epg-generate-key-from-string): Format errors by using
11251 epg-errors-to-string (bug#9255).
11252 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11253
75bfc667
JL
112542011-08-07 Juri Linkov <juri@jurta.org>
11255
11256 * faces.el (list-faces-display): Remove extra angle bracket
11257 from `help-mode-map'.
11258
11259 * info.el (Info-history-toc-nodes): Doc fix.
11260
11261 * longlines.el (longlines-mode): Doc fix.
11262
673e08bb
SM
112632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11264
4640dd88
SM
11265 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11266 of statements and in a few more cases (bug#9183).
11267
673e08bb
SM
11268 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11269 New functions.
11270 (cl-transform-lambda): Use them (bug#9239).
11271
89b3f019
MR
112722011-08-05 Martin Rudalics <rudalics@gmx.at>
11273
11274 * window.el (display-buffer-same-window)
11275 (display-buffer-same-frame, display-buffer-other-window)
11276 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11277 (pop-to-buffer-other-window)
11278 (pop-to-buffer-same-frame-other-window)
11279 (pop-to-buffer-other-frame): Make them defuns.
11280 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11281
640c8776
SM
112822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * subr.el (make-composed-keymap): Move from C. Change calling
11285 convention, and improve docstring to bring attention to a subtle point.
11286 * minibuffer.el (completing-read-default): Adjust accordingly.
11287
63648a95
MA
112882011-08-03 Michael Albinus <michael.albinus@gmx.de>
11289
11290 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11291 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11292
11293 * net/trampver.el: Update release number.
11294
b796c9b7
SM
112952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11298 "in" (bug#9190).
11299
2239d7d5
LMI
113002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11301
e07dd7c3
LMI
11302 * mail/sendmail.el (sendmail-query-once): Restore the current
11303 buffer after querying (bug#9074).
11304
0e6a2bd7
LMI
11305 * dired.el (dired-flagged): Use different faces for marked and
11306 flagged files (bug#6117).
11307
ce887515
LMI
11308 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11309 (bug#4433).
11310
92f2affc
LMI
11311 * ido.el (ido-mode): Switch off the message if called
11312 non-interactively.
11313
57d5aff0
LMI
11314 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11315 before 587, since it appears that that's more likely to work for
11316 more people.
11317
98cd6c18 11318 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11319 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11320 exist.
11321
b96dec83
LMI
11322 * info.el: Remove the `Info-beginning-of-buffer' function
11323 (bug#8325).
11324
b796c9b7
SM
11325 * net/network-stream.el (network-stream-open-starttls):
11326 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11327
d90e2ea0
MR
113282011-08-01 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (display-buffer-in-window): Don't set dedicated status
11331 of window here (Bug#9215).
11332 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11333 (display-buffer-pop-up-side-window)
b796c9b7 11334 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11335
cca09170
SM
113362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11339 before binding generated-autoload-file.
11340
027b979c
DD
113412011-08-01 Deniz Dogan <deniz@dogan.se>
11342
11343 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11344
3c7ee4f3
MA
113452011-07-30 Michael Albinus <michael.albinus@gmx.de>
11346
11347 Sync with Tramp 2.2.2.
11348
11349 * net/trampver.el: Update release number.
11350
2cc8e51a
JL
113512011-07-30 Juri Linkov <juri@jurta.org>
11352
11353 * dired-aux.el (dired-touch-initial): Remove function.
11354 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11355 current time, and `default' to the last modification time of the
11356 current marked file (bug#6887).
11357
a514d856
JM
113582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11359
11360 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11361 numeric argument to read-number (bug#9163).
a514d856 11362
8a7eddd7
MA
113632011-07-27 Michael Albinus <michael.albinus@gmx.de>
11364
11365 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11366 connection process, it could be nil.
11367
1ddd96f5
LL
113682011-07-27 Leo Liu <sdl.web@gmail.com>
11369
11370 Simplify url handling in rcirc-mode.
11371
11372 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11373 (rcirc-browse-url-at-mouse): Remove.
11374 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11375
b248a85d
AM
113762011-07-26 Alan Mackenzie <acm@muc.de>
11377
11378 Fontify bitfield declarations properly.
11379
11380 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11381 (c-symbol-chars): Now exported as a lang variable.
11382 (c-not-primitive-type-keywords): New lang variable.
11383
11384 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11385 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11386 parsed as a bitfield declaration.
b248a85d 11387
b796c9b7
SM
11388 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11389 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11390 (c-punctuation-in): New function.
11391 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11392 declarations properly.
11393
68575ab0
UJ
113942011-07-26 Ulf Jasper <ulf.jasper@web.de>
11395
11396 * calendar/icalendar.el (icalendar--all-events): Take care of
11397 multiple vcalendars in a single file.
b796c9b7 11398 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11399
0f0a88b9
DD
114002011-07-25 Deniz Dogan <deniz@dogan.se>
11401
11402 * image.el (insert-image): Clarifying docstring.
11403
0b3f36df
MA
114042011-07-24 Michael Albinus <michael.albinus@gmx.de>
11405
11406 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11407 `tramp-send-command-and-check' if there is no error.
11408 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11409
a9901f61
AM
114102011-07-22 Alan Mackenzie <acm@muc.de>
11411
11412 Prevent cc-langs.elc being loaded at run time.
11413
11414 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11415 cc-langs.
11416
4d61f28d 11417 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11418 "(require 'cc-langs)". Quote a form so it will evaluate at
11419 (cc-mode's) compilation time.
11420
11d074b2
MA
114212011-07-22 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11424 loading. (Bug#9114)
11425
938b94c8
MR
114262011-07-21 Martin Rudalics <rudalics@gmx.at>
11427
11428 * window.el (display-buffer-pop-up-window)
11429 (display-buffer-pop-up-side-window)
11430 (display-buffer-in-side-window): Call display-buffer-set-height
11431 and display-buffer-set-width after setting the new window's
b796c9b7 11432 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11433
bfa4f190
SS
114342011-07-20 Sam Steingold <sds@gnu.org>
11435
11436 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11437 (etags-tags-included-tables): Call `convert-standard-filename' on
11438 the file names contained in TAGS so that windows Emacs can handle
11439 TAGS files created by cygwin ctags.
11440
8ca42262
LMI
114412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11442
11443 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11444 which apparently didn't work.
11445
5db2afd2 114462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11447
5db2afd2
RW
11448 * proced.el (proced-send-signal): For *Marked Processes* buffer
11449 put point at beginning of buffer.
11450
92e15d10
SB
114512011-07-19 Stephen Berman <stephen.berman@gmx.net>
11452
11453 * proced.el (proced-format): Make header lines align with the text
11454 (bug#1779).
11455
1bfd59e5
LMI
114562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11457
11458 * view.el (view-buffer): Allow running in `special' modes if we're
11459 visiting a file (bug#8615).
11460
f5aae37c
MR
114612011-07-19 Martin Rudalics <rudalics@gmx.at>
11462
11463 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11464 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11465 New functions.
f5aae37c
MR
11466 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11467 more accurately.
11468
bf2c1571
AM
114692011-07-18 Alan Mackenzie <acm@muc.de>
11470
11471 Fontify declarators properly when, e.g., a jit-lock chunk begins
11472 inside a declaration.
11473
11474 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11475
b796c9b7
SM
11476 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11477 New function.
bf2c1571
AM
11478 (c-complex-decl-matchers): Insert reference to
11479 c-font-lock-enclosing-decls.
11480
11481 * progmodes/cc-engine.el (c-backward-single-comment):
11482 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11483 to nil around calls to (forward-comment -1).
11484
4e190b80
LMI
114852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11486
12dc863d
LMI
11487 * image.el (put-image): Doc typo fix.
11488
a762e966
LMI
11489 * progmodes/etags.el (tags-search): Doc typo fix.
11490
4e190b80
LMI
11491 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11492 password if we get errors 550 to 554.
11493
f019fb21
LMI
114942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11495
b796c9b7 11496 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11497
81746738
LMI
11498 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11499 indentation character (bug#6380).
11500
3ee3a1b5
LMI
11501 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11502
c82f64de
LMI
11503 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11504 to clarify what the problem is (bug#4291).
11505
f019fb21
LMI
11506 * simple.el (current-kill): Clarify what
11507 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11508 (auto-fill-mode): Document `auto-fill-function' in relation to
11509 `auto-fill-mode' (bug#2470).
f019fb21 11510
0794775d
LM
115112011-07-16 Lawrence Mitchell <wence@gmx.li>
11512
11513 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11514 method if slot is read-only (bug#9035).
11515
be39b8cc
MR
115162011-07-16 Martin Rudalics <rudalics@gmx.at>
11517
b796c9b7 11518 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11519 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11520 selected before, see discussion of (Bug#8615), (Bug#6954).
11521 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11522
6ccf7859
GM
115232011-07-15 Glenn Morris <rgm@gnu.org>
11524
11525 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11526 Respect help-form.
6ccf7859 11527
87e86684
LM
115282011-07-09 Lawrence Mitchell <wence@gmx.li>
11529
11530 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11531 (gnutls-negotiate): Use it.
11532
d6066239
LMI
115332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534
b796c9b7
SM
11535 * net/gnutls.el (gnutls-negotiate):
11536 Upcase `gnutls-algorithm-priority'.
d6066239 11537
bd23ebc0
GM
115382011-07-15 Glenn Morris <rgm@gnu.org>
11539
c65bca65
GM
11540 * jka-compr.el (jka-compr-verbose): Move from here...
11541 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11542 Add missing :version tag.
11543 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11544
478615cc
LMI
115452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11546
7b41decb
LMI
11547 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11548 (gnutls-negotiate): Use it.
11549
dbc44fcd
LMI
11550 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11551
06789f97
LMI
11552 * info.el (Info-beginning-of-buffer): New command.
11553 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11554 announcing `b' as the key (bug#8325).
ab896c37 11555 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11556
c39da690
LMI
11557 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11558
3aa5f34b
LMI
11559 * international/mule-cmds.el
11560 (describe-specified-language-support): Make the error message
11561 clearer (bug#8905).
11562
4bf0979f
LMI
11563 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11564
478615cc
LMI
11565 * isearch.el (isearch-barrier): Add a doc string, since it's
11566 mentioned in a function doc string (bug#8678).
11567
75c68aa1
MR
115682011-07-15 Martin Rudalics <rudalics@gmx.at>
11569
11570 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11571 buffer argument (Bug#9083) and self-identifying label argument.
11572
a7c33da2
GM
115732011-07-15 Glenn Morris <rgm@gnu.org>
11574
11575 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11576
2f5c6024
LMI
115772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
11579 * man.el (Man-fontify-manpage): Fix message when formatting the
11580 man page (bug#7929).
11581
0bb23927 115822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11583
11584 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11585 argument LRM; if non-nil, append an invisible LRM character to the
11586 buffer name.
11587 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11588 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11589 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11590 paragraph direction.
cce4b0a7 11591
621ef9ab
LMI
115922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11593
d1583c48
LMI
11594 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11595 the man page name (bug#7929).
11596
6a57fb5f
LMI
11597 * image.el (put-image): Mention the `put-image' overlay property
11598 (bug#7834).
11599
d7956b14
LMI
11600 * scroll-bar.el (set-scroll-bar-mode): Mention that
11601 `scroll-bar-mode' lists the values (bug#7772).
11602
5b2d4a66
LMI
11603 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11604 command (bug#7729).
11605
7509a874
LMI
11606 * rect.el (apply-on-rectangle): Return the point after the last
11607 operation.
11608 (string-rectangle): Go to the point after the last operation
11609 (bug#7522).
11610
4fe74b19
LMI
11611 * printing.el (pr-toggle-region): Clarify the documentation
11612 slightly (bug#7493).
11613
b796c9b7
SM
11614 * time.el (display-time-update):
11615 Allow `display-time-mail-function' to return nil (bug#7158).
11616 Fix suggested by Detlev Zundel.
ab283561 11617
fc233c9d
LMI
11618 * vc/diff.el (diff): Clarify the order the file names are read
11619 (bug#7111).
11620
43f5740b
LMI
11621 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11622 the doc string (bug#7015).
11623
f2182a76
LMI
11624 * font-lock.el (font-lock-maximum-decoration): Mention what
11625 numeric levels mean (bug#6935).
11626
621ef9ab
LMI
11627 * startup.el (initial-buffer-choice): Don't mention the `none'
11628 selection, which is against policy.
11629
adc47434
MR
116302011-07-14 Martin Rudalics <rudalics@gmx.at>
11631
b796c9b7
SM
11632 * window.el (display-buffer-normalize-special):
11633 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11634
7e5bfb8f
EZ
116352011-07-14 Eli Zaretskii <eliz@gnu.org>
11636
11637 * subr.el (version<, version<=, version=): Mention "-CVS" and
11638 "-12345" alpha version numbers.
11639
27fa387a
CY
116402011-07-14 Chong Yidong <cyd@stupidchicken.com>
11641
11642 * bindings.el: Add advertised binding for set-mark-command
11643 (Bug#5772).
11644
8bdfa064
CY
116452011-07-14 Chong Yidong <cyd@stupidchicken.com>
11646
11647 * bindings.el (mode-line-other-buffer):
11648 * bookmark.el (bookmark-bmenu-2-window):
11649 * bs.el (bs-cycle-next, bs-cycle-previous):
11650 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11651 switch-to-buffer.
11652
11653 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11654 Delete.
8bdfa064 11655
5eba16a3
JB
116562011-07-14 Juanma Barranquero <lekktu@gmail.com>
11657
11658 * follow.el (follow-debug-message, follow-redisplay):
11659 * jka-cmpr-hook.el (with-auto-compression-mode):
11660 Fix typos in docstrings.
11661
15853710
LMI
116622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11663
a28e4607
LMI
11664 * subr.el (with-silent-modifications): Clarify somewhat what the
11665 macro inhibits (bug#6525).
11666
15853710
LMI
11667 * simple.el (eval-expression): Note what it does if called
11668 interactively (bug#6495).
11669
bee0fcef
CY
116702011-07-13 Chong Yidong <cyd@stupidchicken.com>
11671
b796c9b7
SM
11672 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11673 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11674
11675 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11676 Remove switch-to-buffer.
11677
58274504
LMI
116782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11679
bd2fcc8d
LMI
11680 * files.el (make-directory): Clarify that an error will be raised
11681 if there's an error (bug#6397).
11682
0f04b32c
LMI
11683 * startup.el (initial-buffer-choice): Add `none' as a choice
11684 (bug#6234).
11685
465c5fc8
LMI
11686 * subr.el (add-hook): Clarify section about buffer-local hooks
11687 (bug#6218).
11688
58274504
LMI
11689 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11690
bead9a43
JB
116912011-07-13 Juanma Barranquero <lekktu@gmail.com>
11692
11693 * tabify.el (untabify): Preserve the current column so that point
11694 doesn't move (bug#6032).
11695
3af98a7b
LMI
116962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11697
b796c9b7
SM
11698 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11699 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11700
6240145a
GM
117012011-07-13 Glenn Morris <rgm@gnu.org>
11702
11703 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11704 (dired-insert-directory): Give a message the first time
11705 if ls is found not to support --dired.
11706
1d8c2ccc
LMI
117072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11708
11709 * simple.el (toggle-truncate-lines): Clarify what is toggled
11710 (bug#5580). Text by Drew Adams.
11711
5fc4038e
CY
117122011-07-13 Chong Yidong <cyd@stupidchicken.com>
11713
11714 * simple.el (blink-matching-open): Make the error message from the
11715 last change less verbose.
11716
bf6012e5
DN
117172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11718
11719 * font-lock.el (font-lock-comment-face): Use the high contrast
11720 "yellow" color for font-lock-comment-face on low color terminals
11721 using a dark background color (bug#4221).
11722
343c3b5a
LMI
117232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724
7e9505c5
LMI
11725 * dired.el (dired-insert-set-properties): Make the doc string
11726 reflect what it does now (bug#5325).
11727
c26fdcf5
LMI
11728 * simple.el (blink-matching-open): Say that we were unable to find
11729 the match within the limit, if we're limited (bug#5122).
11730
bb388cc5
LMI
11731 * international/mule-cmds.el (prefer-coding-system): Add an
11732 example (bug#4869).
11733
343c3b5a
LMI
11734 * progmodes/etags.el (tags-search): Document `file-list-form'
11735 (bug#4731).
11736
2a517d45
LM
117372011-07-13 Lawrence Mitchell <wence@gmx.li>
11738
11739 * net/browse-url.el (browse-url-default-browser)
11740 (browse-url-browser-function): Make the default browser choice a
11741 bit more logical (bug#4300). Also clean up the doc string.
11742
b6c78ef2
JB
117432011-07-13 Juanma Barranquero <lekktu@gmail.com>
11744
11745 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11746 binary endings (bug#4440).
11747
1c4dd947
LMI
117482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
a2014063
LMI
11750 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11751 which can be pretty annoying (bug#8971).
11752
9c9c2d88
LMI
11753 * jka-compr.el (jka-compr-verbose): New variable, and use
11754 throughout (bug#8971).
11755
1c4dd947
LMI
11756 * info.el (Info-find-file): Fall back on the installation
11757 directory if we can't find the info node anywhere else.
11758
a1c9f41b
SO
117592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11760
11761 * vc/vc.el (vc-revert-file):
11762 Don't set file time-stamp in the past. (Bug#5181)
11763
536f3d36
LMI
117642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765
7152b011
LMI
11766 * files.el (after-find-file): Give a better error message when
11767 trying to find a symlink that points to a file that doesn't exist
11768 (bug#4398).
11769
536f3d36
LMI
11770 * progmodes/cc-vars.el: Remove (probably) misleading comment
11771 (bug#4396).
11772
460c0fba
JB
117732011-07-12 Johan Bockgård <bojohan@gnu.org>
11774
11775 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11776
7a6bda45
CY
117772011-07-12 Chong Yidong <cyd@stupidchicken.com>
11778
11779 * mouse-sel.el: Hack restoring functionality, while keeping
11780 compatibility with 2010-07-03 changes to mouse selection.
11781 (mouse-sel-primary-overlay): New var.
11782 (mouse-sel-selection-alist): Use it.
11783 (mouse-sel-mode): Doc fix; remove points that are default features
11784 of mouse.el.
11785
c79598ef
JB
117862011-07-12 Johan Bockgård <bojohan@gnu.org>
11787
11788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11789 Fix previous fix (bug#2490).
11790
ff8be6ef
RW
117912011-07-12 Roland Winkler <winkler@gnu.org>
11792
b796c9b7
SM
11793 * textmodes/bibtex.el (bibtex-initialize):
11794 Use pop-to-buffer-same-window.
ff8be6ef
RW
11795 (bibtex-search-entries): Fix interactive call.
11796
296ba3ee
LMI
117972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11798
f5242a02 11799 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11800 Fontise bytecomp Error lines more correctly (bug#2490).
11801 Fix suggested by Johan Bockgård.
f5242a02 11802
296ba3ee
LMI
11803 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11804
11805 * dired-x.el (dired-guess-default): Use `delete-dups'.
11806
f69fd0d2
CY
118072011-07-12 Chong Yidong <cyd@stupidchicken.com>
11808
11809 * dired.el (dired-mark-prompt):
11810 * dired-aux.el (dired-read-shell-command): Doc fix.
11811
eab5dc07
LMI
118122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11813
b796c9b7
SM
11814 * mail/sendmail.el (sendmail-query-once):
11815 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11816 emacs -Q.
11817
11818 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11819
eab5dc07
LMI
11820 * cus-edit.el (custom-file): Take an optional no-error variable.
11821 (customize-save-variable): Set the variable, and give a warning if
11822 running under "emacs -q".
11823
a1e65d42
JB
118242011-07-11 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * loadhist.el (unload-feature-special-hooks):
11827 Add `auto-coding-functions', `fill-nobreak-predicate' and
11828 `find-directory-functions' (bug#5327).
11829
1d52da10
LMI
118302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831
be958f1d
LMI
11832 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11833
5bedb26c
LMI
11834 * cus-edit.el (custom-guess-name-alist): -alist variables should
11835 use the `alist' type (bug#3120). Suggested by Drew Adams.
11836
1d52da10
LMI
11837 * printing.el: Add documentation to all the `pr-toggle-' commands.
11838
cd394be1 118392011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11840
11841 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11842 backends where it makes sense (bug#2623).
11843
dcc88d8a
LMI
118442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11845
c3de9feb
LMI
11846 * dired-x.el (dired-guess-default): Remove duplicate shell command
11847 entries (bug#2028).
8a93078b 11848 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11849 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11850
dcc88d8a
LMI
11851 * subr.el (remove-duplicates): New conveniency function.
11852
505e3645
LMI
118532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11854
11855 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11856 (bug#1526).
11857
118582011-07-10 Martin Rudalics <rudalics@gmx.at>
11859
11860 * window.el (display-buffer-normalize-default): Don't invert
11861 meaning of even-window-heights. Reported by Eli Zaretskii
11862 <eliz@gnu.org>.
11863
455e4fa1
BR
118642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11865
11866 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11867
8e0bc3e9
CY
118682011-07-10 Chong Yidong <cyd@stupidchicken.com>
11869
11870 * window.el (display-buffer): Fix arguments to
11871 display-buffer-reuse-window in last change.
11872
fa7c3228
CY
11873 * faces.el (link): Use a less saturated blue on light backgrounds.
11874
11875 * startup.el (fancy-startup-text, fancy-about-text)
11876 (fancy-startup-tail): Use font-lock faces, for background safety.
11877
c0a7f300
BN
118782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11879
b796c9b7
SM
11880 * emulation/viper-cmd.el (viper-change-state-to-vi):
11881 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11882
4dc2a129
MR
118832011-07-09 Martin Rudalics <rudalics@gmx.at>
11884
11885 * window.el (display-buffer-default-specifiers): Remove.
11886 (display-buffer-macro-specifiers): Remove default specifiers.
11887 (display-buffer-alist): Default to nil.
b796c9b7 11888 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11889 (display-buffer-pop-up-window): Allow splitting internal
11890 windows. Check whether a live window was created.
11891 (display-buffer-other-window-means-other-frame)
11892 (display-buffer-normalize-arguments): Rename to
11893 display-buffer-normalize-argument and rewrite. Set the
11894 other-window specifier.
11895 (display-buffer-normalize-special): New function.
11896 (display-buffer-normalize-options): Rename to
11897 display-buffer-normalize-default and rewrite.
11898 (display-buffer-normalize-options-inhibit): Remove.
11899 (display-buffer-normalize-specifiers): Rewrite.
11900 (display-buffer): Process other-window specifier and call
11901 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11902 more faithfully.
b796c9b7 11903 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11904 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11905 (display-buffer-in-window, display-buffer-alist-set):
11906 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11907 <tassilo@member.fsf.org>.
11908
2d43b8c9
LL
119092011-07-09 Leo Liu <sdl.web@gmail.com>
11910
11911 * register.el (insert-register): Restore accidental change on
11912 2011-06-26. (Bug#9028)
11913
7f9b7c53
GM
119142011-07-09 Glenn Morris <rgm@gnu.org>
11915
11916 * subr.el (remq): Handle the empty list. (Bug#9024)
11917
f042cfd8
AS
119182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11919
11920 * mail/sendmail.el (send-mail-function): No longer delay custom
11921 initialization.
11922 * custom.el (custom-initialize-delay): Doc fix.
11923
856b2f11
SM
119242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11925
11926 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11927
afae1d68
MA
119282011-07-08 Michael Albinus <michael.albinus@gmx.de>
11929
11930 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11931 human-friendly prompt.
11932
0757af94
SM
119332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11936 provided by a particular plugin.
11937
d760b731
LMI
119382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
11940 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11941 save customizations (with "emacs -Q"), just set the variable
11942 instead of erroring out.
11943
11944 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11945
cd79ce90
JL
119462011-07-08 Juri Linkov <juri@jurta.org>
11947
11948 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11949 (archive-zip-update-case): Use 7z if found by `executable-find'.
11950 The order of searching the available programs is the same as in
11951 `archive-zip-extract' (bug#8968).
11952
14cc04aa
CY
119532011-07-07 Chong Yidong <cyd@stupidchicken.com>
11954
11955 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11956 (menu-bar-options-menu): Tweak descriptions.
11957
0a1848ec
LMI
119582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11959
11960 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11961 menu items into verb phrases (bug#1421). Also refill to fit under
11962 80 columns.
11963
f5bd0689
CY
119642011-07-07 Chong Yidong <cyd@stupidchicken.com>
11965
538e85c6
CY
11966 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11967 (Info-read-node-name): Doc fix (Bug#1084).
11968
f5bd0689
CY
11969 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11970 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11971 (end-of-sexp, beginning-of-sexp)
11972 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11973 (forward-symbol, forward-same-syntax, word-at-point)
11974 (sentence-at-point): Doc fix (Bug#1144).
11975
56ec5115
LMI
119762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
f3f8e37f
LMI
11978 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11979 should cover it (bug#1281).
11980
0757af94 11981 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11982
e9fce1ac 11983 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11984 negotiation fails, then possibly try again with a non-encrypted
11985 connection (bug#9017).
11986
56ec5115
LMI
11987 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11988 be used.
11989
c2f9aec8
RS
119902011-07-07 Richard Stallman <rms@gnu.org>
11991
11992 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11993 property, and handle its changed format.
11994 Look for the correct line number.
11995 Use file's line contents (but not past first =) to find
11996 correct line in message.
11997
ef7b981d 119982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11999
12000 * international/characters.el (build-unicode-category-table):
12001 Delete it.
0757af94 12002 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12003
0757af94 12004 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12005 to src/chartab.c.
12006 (get-char-code-property): Call unicode-property-table-internal to
12007 load a file. Call get-unicode-property-internal where necessary.
12008 (put-char-code-property): Call unicode-property-table-internal to
12009 load a file. Call put-unicode-property-internal where necessary.
12010 put-unicode-property-internal where necessary.
0757af94
SM
12011 (char-code-property-description):
12012 Call unicode-property-table-internal to load a file.
c805dec0
KH
12013
12014 * international/charprop.el:
12015 * international/uni-bidi.el:
12016 * international/uni-category.el:
12017 * international/uni-combining.el:
12018 * international/uni-comment.el:
12019 * international/uni-decimal.el:
12020 * international/uni-decomposition.el:
12021 * international/uni-digit.el:
12022 * international/uni-lowercase.el:
12023 * international/uni-mirrored.el:
12024 * international/uni-name.el:
12025 * international/uni-numeric.el:
12026 * international/uni-old-name.el:
12027 * international/uni-titlecase.el:
12028 * international/uni-uppercase.el: Regenerate.
12029
12030 * loadup.el: Load international/charprop.el before
12031 international/characters.
12032
e14b388a
CY
120332011-07-07 Chong Yidong <cyd@stupidchicken.com>
12034
12035 * window.el (next-buffer, previous-buffer): Signal an error if
12036 called from a minibuffer window.
12037
12038 * bindings.el: Revert 2011-07-04 change.
12039
354cf0ba
RS
120402011-07-06 Richard Stallman <rms@gnu.org>
12041
12042 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12043 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12044 Treat markers like ints.
12045 (rmail-mime-entity): Doc fix.
12046
a48868a7
LMI
120472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12048
4906cd3d
LMI
12049 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12050 defcustom again for backwards compatibility.
12051
e0457abe
LMI
12052 * simple.el (shell-command-on-region): Fill.
12053
d67f7e1f
LMI
12054 * dired-aux.el (dired-kill-line): Add a doc string.
12055
fe204702
LMI
12056 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12057 to "\\sw\\|\\s_" (bug#358).
12058
a48868a7
LMI
12059 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12060 (dired-unmark-backward): Ditto.
12061 (dired-flag-backup-files): Ditto.
12062
12063 * dired-x.el (dired-mark-sexp): Ditto.
12064
aa8a705c
RS
120652011-07-06 Richard Stallman <rms@gnu.org>
12066
12067 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12068 (rmail-mime-entity): New arg TRUNCATED.
12069 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12070 New functions.
12071 (rmail-mime-save): Warn if entity is truncated.
12072 (rmail-mime-toggle-hidden): Likewise, for showing.
12073 (rmail-mime-process-multipart): Record when an entity is truncated.
12074
a9a936b9
RS
12075 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12076 if ENTITY is a string.
12077
1f2b92cb
LMI
120782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12079
f4f73198 12080 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12081 of faces when `M-C-x'-ing their definitions (bug#8378).
12082 Also clean up the code slightly.
f4f73198 12083
12b16734 12084 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12085 because that makes the colors go away.
12b16734 12086
f0691d22
LMI
12087 * mail/sendmail.el (send-mail-function): Change the default to
12088 `sendmail-query-once'.
9e87df06 12089 (sendmail-query-once): Add an autoload cookie.
f0691d22 12090
1f2b92cb
LMI
12091 * net/network-stream.el (network-stream-open-starttls): Try using
12092 a plain connection even if the server offered STARTTLS, and we
12093 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12094 capability. This should make smtpmail.el work in slightly more
12095 configurations.
12096
1cdd2a1b
MA
120972011-07-06 Michael Albinus <michael.albinus@gmx.de>
12098
12099 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12100 New defun.
12101 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12102
fbcc67e2
MM
121032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12104
12105 * progmodes/sql.el: Version 3.0
0757af94 12106 (sql-product-alist): Add product :completion-object,
fbcc67e2 12107 :completion-column, and :statement attributes.
0757af94 12108 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12109 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12110 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12111 ansi keywords.
12112 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12113 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12114 (sql-oracle-show-reserved-words): New function for development.
12115 (sql-product-font-lock): Simplify for source code buffers.
12116 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12117 New functions.
12118 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12119 (sql-mode-map): Add statement movement functions.
12120 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12121 New variable.
fbcc67e2
MM
12122 (sql-statement-regexp, sql-beginning-of-statement)
12123 (sql-end-of-statement, sql-signum): New functions.
0757af94 12124 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12125 (sql-show-sqli-buffer): Bug fix.
12126 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12127 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12128 with sql-interactive-mode.
12129 (sql-save-connection): Save buffer local settings.
0757af94 12130 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12131 (sql-product-interactive): Bug fix.
12132 (sql-preoutput-hold): New variable.
12133 (sql-interactive-remove-continuation-prompt): Bug fixes.
12134 (sql-debug-redirect): New variable.
12135 (sql-str-literal): New function.
12136 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12137 Redesign.
fbcc67e2
MM
12138 (sql-oracle-save-settings, sql-oracle-restore-settings)
12139 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12140 (sql-completion-object, sql-completion-column)
12141 (sql-completion-sqlbuf): New variables.
12142 (sql-build-completions-1, sql-build-completions)
12143 (sql-try-completion): New functions.
12144 (sql-read-table-name): Use them.
12145 (sql-contains-names): New buffer local variable.
12146 (sql-list-all, sql-list-table): Use it.
12147 (sql-oracle-completion-types): New variable.
12148 (sql-oracle-completion-object, sql-sqlite-completion-object)
12149 (sql-postgres-completion-object): New functions.
12150
d4eaeab1
GM
121512011-07-06 Glenn Morris <rgm@gnu.org>
12152
12153 * window.el (pop-to-buffer): Doc fix.
12154
322b7dab 121552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12156
12157 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12158
322b7dab 121592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12160
322b7dab 12161 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12162
322b7dab 12163 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12164
605dd5bf
CY
121652011-07-05 Chong Yidong <cyd@stupidchicken.com>
12166
12167 * button.el (button): Inherit from link face. Suggested by Dan
12168 Nicolaescu.
12169
7dbfa719
SM
121702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12171
3db614b0
SM
12172 * progmodes/gdb-mi.el: Fit in 80 columns.
12173 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12174 switch-to-buffer.
12175
7dbfa719
SM
12176 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12177 if imenu is simply not configured (bug#8941).
12178
919d884a
KM
121792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12180
12181 * allout.el (allout-post-undo-hook): New allout outline-change
12182 event hook to signal undo activity.
12183 (allout-post-command-business): Run allout-post-undo-hook if an
12184 undo just occurred.
7dbfa719
SM
12185 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12186 * allout-widgets.el (allout-widgets-after-undo-function):
12187 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12188 in the vicinity of an undo.
12189 (allout-widgets-mode): Include allout-widgets-after-undo-function
12190 on the new allout-post-undo-hook.
12191
450a0f09
SM
121922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12195 Let define-derived-mode define it.
12196 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12197 cycles of abbrev-table inheritance (bug#8998).
12198
2de69e00
RW
121992011-07-05 Roland Winkler <winkler@gnu.org>
12200
12201 * textmodes/bibtex.el: Add support for biblatex.
12202 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12203 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12204 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12205 (bibtex-entry-alist, bibtex-field-alist): New variables.
12206 (bibtex-entry-field-alist): Obsolete alias for
12207 bibtex-BibTeX-entry-alist.
12208 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12209 (bibtex-set-dialect): New command.
12210 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12211 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12212 Bind via bibtex-set-dialect.
2de69e00
RW
12213 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12214 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12215 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12216 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12217 Define via bibtex-set-dialect.
450a0f09
SM
12218 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12219 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12220 (bibtex-vec-push, bibtex-vec-incr): New functions.
12221 (bibtex-format-entry, bibtex-field-list)
12222 (bibtex-print-help-message, bibtex-validate)
12223 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12224
2dcdbdd9
SM
122252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * progmodes/compile.el (compilation-goto-locus):
12228 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12229 * bs.el (bs-cycle-next, bs-cycle-previous):
12230 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12231 * bindings.el (mode-line-other-buffer):
12232 * autoinsert.el (auto-insert):
12233 * arc-mode.el (archive-extract):
12234 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12235
b27640fe
JB
122362011-07-05 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12239 Fix check of `emacs-lock-unlockable-modes'.
12240 Coerce true values of `emacs-lock--try-unlocking' to t.
12241
53bbe3ad
JB
122422011-07-05 Juanma Barranquero <lekktu@gmail.com>
12243
12244 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12245 * emacs-lock.el: New file.
12246
1d3cdbc7
JD
122472011-07-05 Julien Danjou <julien@danjou.info>
12248
12249 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12250 than `boundp' to check if face is set.
12251
9173deec
JB
122522011-07-05 Juanma Barranquero <lekktu@gmail.com>
12253
12254 * register.el (registerv-make):
12255 * window.el (window-min-height): Fix typos in docstrings.
12256
869795d6
JD
122572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12258
9173deec 12259 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12260 Update doc string.
12261
b768cdcd
JB
122622011-07-04 Juanma Barranquero <lekktu@gmail.com>
12263
12264 * server.el (server-execute): Catch quit and call
12265 `server-return-error' to pass the error back to emacsclient and
12266 close the connection (bug#8942).
12267
13aa217b
KM
122682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12269
12270 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12271 insecure exception for current topic. Also note that auto-saves
12272 are handled differently.
12273
5d3385a0 12274 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12275 State variables for tracking auto-save inhibition situation.
12276
12277 (allout-write-contents-hook-handler): Rename from
12278 'allout-write-file-hook-handler', and describe how it depends on
12279 write-contents-functions sensitivity to non-nil value to prevent
12280 file write.
12281
12282 (allout-auto-save-hook-handler): Remove. auto-save does not check
12283 this in individual buffers, only in the starting buffer, so this
12284 is not the right way for us to inhibit auto-save in a buffer
12285 according to its condition.
12286
12287 (allout-mode): Use new allout-write-contents-hook-handler, and
12288 only with write-contents-functions. Remove auto-save provisions -
12289 they're implemented elsewhere.
12290
12291 (allout-before-change-handler): If undo is in progress, note that
12292 for attention of allout-post-command-business.
12293
12294 (allout-post-command-business): If the command we're following was
12295 an undo, check for change in the status of encrypted items and
12296 adjust auto-save inhibitions accordingly.
12297
12298 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12299 according to whether there are or aren't any plain-text topics
12300 pending encryption.
12301
2dcdbdd9 12302 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12303 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12304 if there are plain-text topics pending encryption.
13aa217b
KM
12305
12306 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12307 buffer-saved-size and some allout state to not inhibit auto-saves
12308 if there are no longer any plain-text topics pending encryption.
12309
0757af94
SM
12310 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12311 No longer provide for exemption of the current topic.
13aa217b 12312
ac89b32c
JL
123132011-07-04 Juri Linkov <juri@jurta.org>
12314
12315 Add 7z operations to delete and save changed members (bug#8968).
12316 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12317 New defcustoms.
12318 (archive-7z-write-file-member): New function.
12319 (archive-7z-summarize): Fix the number of dashes in the
12320 listing output.
12321
8fa39615
SM
123222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12325 (bug#8958).
12326
2f11b3f1
CY
123272011-07-04 Chong Yidong <cyd@stupidchicken.com>
12328
d66fef2b
CY
12329 * bindings.el: Ignore next-buffer and previous-buffer in
12330 minibuffer-local-map.
12331
2f11b3f1
CY
12332 * font-lock.el (font-lock-builtin-face): Change light background
12333 color to dark slate blue (Bug#6693).
12334
f932a347
WD
123352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12336
12337 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12338
c8af70e1
SM
123392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12340
12341 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12342 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12343 Add switch-to-buffer.
12344
f158badc
LMI
123452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346
12347 * isearch.el (isearch-search-fun-function): Clarify further the
12348 meaning of the function returned.
12349
6d95bd46
MA
123502011-07-04 Michael Albinus <michael.albinus@gmx.de>
12351
12352 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12353
12354 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12355 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12356 Use it.
12357 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12358 `tramp-default-remote-path' does not exist.
12359 (tramp-send-command-and-read): New optional argument NOERROR.
12360 (tramp-open-connection-setup-interactive-shell)
12361 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12362 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12363 (tramp-process-sentinel): Flush also process' connection property.
12364 (tramp-sh-handle-start-file-process): Do not set process
12365 sentinel. It is done now ...
12366 (tramp-maybe-open-connection): ... here. (Bug#8929)
12367
909e6b67
MK
123682011-07-04 MON KEY <monkey@sandpframing.com>
12369
12370 * play/animate.el (animate-string): Doc fixes and allow changing
12371 the buffer name (bug#5417).
12372
123732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12374
c8af70e1 12375 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12376
f34755dc
PE
123772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12378
396cec72
PE
12379 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12380 This is simpler and helps future-proof the code.
12381 (timer-until): Use time-subtract and float-time.
08235028 12382 (timer--time-less-p): Use time-less-p.
f34755dc 12383
56e6cc31
JB
123842011-07-04 Juanma Barranquero <lekktu@gmail.com>
12385
3abb79e5
JB
12386 * type-break.el (timep): Use the value of `float-time' to avoid a
12387 byte-compiler warning.
12388
56e6cc31
JB
12389 * server.el (server-eval-and-print): Return any result, even nil.
12390
7b9430b4
PE
123912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12392
12393 * type-break.el: Accept time formats that the builtins accept.
12394 (timep, type-break-time-difference): Accept any format that
12395 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12396 This is simpler and helps future-proof the code.
12397 (type-break-time-difference): Round rather than ignoring
12398 subseconds components.
12399
3034e9e7
LMI
124002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12401
12402 * info.el (Info-apropos-matches): Make non-interactive, since it
12403 doesn't seem to do anything useful as a command (bug#8829).
12404
1485f4c0
CY
124052011-07-03 Chong Yidong <cyd@stupidchicken.com>
12406
12407 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12408 Move from faces.el.
1485f4c0
CY
12409 (frame-default-terminal-background): New function.
12410
12411 * custom.el (custom-push-theme): Don't record faces in `changed'
12412 theme; this doesn't work correctly for per-frame face settings.
12413 (disable-theme): Use face-set-after-frame-default to reset faces.
12414 (custom--frame-color-default): New function.
12415
9fa3dd45
LMI
124162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12417
c8af70e1 12418 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12419 (bug#8769).
12420
6cbbc20c
KR
124212011-03-29 Kevin Ryde <user42@zip.com.au>
12422
12423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12424 `perl-Test2' extend to match possible "fail #N" rep count
12425 (bug#8377).
12426
c7f98048
LMI
124272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12428
65676592
LMI
12429 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12430 `smtpmail-via-smtp' now returns the error instead of nil.
12431
c7f98048
LMI
12432 * isearch.el (isearch-search-fun-function): Clarify the doc string
12433 (bug#8101).
12434
56e6cc31 124352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12436
12437 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12438 unnecessary spaces (bug#8987).
12439
2b216704
LMI
124402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12441
12442 * net/network-stream.el (open-network-stream): Use the
12443 :end-of-capability command thoughout.
12444
124452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12446
12447 * net/network-stream.el (open-network-stream): Add the
12448 :end-of-capability command parameter, used by pop3.el.
12449
36adf6ce
LMI
124502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12451
1ca0da0e
LMI
12452 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12453
fc00f69c
LMI
12454 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12455 for list)" (bug#6475).
12456
28fd8759 12457 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12458 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12459 an error (bug#6297).
12460
0dd8b6da
LMI
12461 * man.el (Man-reference-regexp): Allow matching possible
12462 word-wrapped references (bug#6289).
12463
ce1438d6
LMI
12464 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12465 for consistency with the other vc buffers (bug#6197).
12466 (vc-checkin): Ditto.
12467
12468 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12469
36adf6ce
LMI
12470 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12471
e83cc1f7
LMI
124722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12473
8a20ca4c
LMI
12474 * custom.el (defcustom): Clarify that :set is only used in the
12475 Customize user interface (bug#6089).
12476
83319045
LMI
12477 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12478 associated with a file, refuse to run instead of erroring out
12479 (bug#6084).
12480
a8392169
LMI
12481 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12482 the doc string, since it appears that using `fill-column' always
12483 controls the width (bug#7845).
12484
e83cc1f7
LMI
12485 * simple.el (shell-command-on-region): Say where the error output
12486 went if `shell-command-default-error-buffer' is set (bug#6857).
12487
e47ca23b
KM
124882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12489
12490 * allout.el (allout-yank-processing): Adjust cursor position for
12491 backwards-deleted space.
12492
12493 (allout-rebullet-heading): Register changes with
12494 allout-exposure-changed-hook, so the modified topic is properly
12495 decorated.
12496
5cf56143
LMI
124972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12498
08549772
LMI
12499 * minibuffer.el (completion-in-region): Document PREDICATE
12500 (bug#7136).
12501
48e96771
LMI
12502 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12503 of keyword/argument pairs (bug#6904).
12504
c8af70e1
SM
12505 * replace.el (multi-occur):
12506 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12507
e17d05e2
LMI
125082011-07-02 Drew Adams <drew.adams@oracle.com>
12509
12510 * dired.el (dired-mark-if): Make the message about whether it's
12511 marking or unmarking clearer (bug#8523).
12512
063b0e45
LMI
125132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12514
12515 * disp-table.el (display-table-print-array): New function.
12516 (describe-display-table): Use it to print the vectors more pretty
12517 (Bug#8859).
12518
28545e04
MR
125192011-07-02 Martin Rudalics <rudalics@gmx.at>
12520
12521 * window.el (window-state-get-1): Don't assign clone numbers.
12522 Add clone-of item to list of window parameters.
12523 (window-state-put-2): Don't process clone numbers.
12524 (display-buffer-alist): Fix doc-string.
12525
3349e122
SM
125262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * subr.el (remq): Don't allocate if it's not needed.
12529 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12530 (keymap--merge-bindings): New functions.
12531 (keymap-canonicalize): Use them to refine the canonicalization.
12532 * minibuffer.el (minibuffer-local-completion-map)
12533 (minibuffer-local-must-match-map): Move initialization from C.
12534 (minibuffer-local-filename-completion-map): Move initialization from C;
12535 don't inherit from anything here.
12536 (minibuffer-local-filename-must-match-map): Make obsolete.
12537 (completing-read-default): Use make-composed-keymap to combine
12538 minibuffer-local-filename-completion-map with either
12539 minibuffer-local-must-match-map or
12540 minibuffer-local-filename-completion-map.
12541
d224ac83
GM
125422011-07-01 Glenn Morris <rgm@gnu.org>
12543
3de63bf8
GM
12544 * type-break.el (type-break-time-sum): Use dolist.
12545
d224ac83
GM
12546 * textmodes/flyspell.el (flyspell-word-search-backward):
12547 Replace CL function.
12548
1a1e3f32
SM
125492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12550
fe3f64d5
SM
12551 * mouse.el (mouse--strip-first-event): New function.
12552 (function-key-map): Use it to map fringe clicks to normal clicks
12553 by default.
12554
eb604e34
SM
12555 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12556 (vc-bzr-revision-completion-table): Add support for annotate and date.
12557
1a1e3f32
SM
12558 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12559 inherit from parent.
12560
5bd35902
LMI
125612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12562
ace6c69c 12563 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12564 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12565
191e2bed
LMI
12566 * dired.el (dired-mode): Fix up the doc string as suggested by
12567 Drew Adams (bug#8817).
12568
5bd35902
LMI
12569 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12570 cookie, since the manual says that it should be possible to add
12571 this function to `find-file-hook' (bug#8709).
12572
eee8207a
TZ
125732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12574
12575 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12576 here. Noted Ted Zlatanov as the maintainer.
12577 (cfengine-common-settings, cfengine-common-syntax): New functions
12578 to set up common things between `cfengine-mode' and
12579 `cfengine3-mode'.
12580 (cfengine3-mode): New mode.
12581 (cfengine3-defuns cfengine3-defuns-regex
12582 (cfengine3-class-selector-regex cfengine3-category-regex)
12583 (cfengine3-vartypes cfengine3-font-lock-keywords)
12584 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12585 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12586
36b148cf
MA
125872011-07-01 Michael Albinus <michael.albinus@gmx.de>
12588
12589 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12590
12591 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12592
0bf4ba9a
MR
125932011-07-01 Martin Rudalics <rudalics@gmx.at>
12594
12595 * window.el (same-window-buffer-names, same-window-regexps)
12596 (same-window-p, special-display-frame-alist)
12597 (special-display-popup-frame, special-display-function)
12598 (special-display-buffer-names, special-display-regexps)
12599 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12600 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12601 (split-window-preferred-function, split-height-threshold)
12602 (split-width-threshold, even-window-heights)
12603 (display-buffer-mark-dedicated, window-splittable-p)
12604 (split-window-sensibly, window-safely-shrinkable-p):
12605 Un-obsolete.
12606 (display-buffer): Don't spread args with function specifier
12607 because special-display-popup-frame won't like it.
12608
35837f51
PE
126092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12610
d0672f86
PE
12611 Time-stamp simplifications and fixes.
12612 These improve accuracy slightly, and future-proof the code
12613 against some potential changes to current-time format.
12614
b9444d97
PE
12615 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12616 by using time-since and float-time.
12617
0ef923dc
PE
12618 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12619 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12620 + NNN microseconds".
12621
2f81380d
PE
12622 * type-break.el (type-break-time-sum): Rewrite using time-add.
12623
845b5c3e
PE
12624 * play/hanoi.el (hanoi-current-time-float): Remove.
12625 All uses replaced by float-time.
12626
ee6f1be0
PE
12627 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12628 This yields a more-accurate answer.
12629 (rng-time-to-float): Remove; no longer needed.
12630
fe955043
PE
12631 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12632
5777162a
PE
12633 * calendar/timeclock.el (timeclock-seconds-to-time):
12634 Defalias to seconds-to-time, since they're the same thing.
12635
3103f8b6 12636 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12637 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12638 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12639
0e61a35f
SM
126402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12641
12642 * window.el (bury-buffer): Don't iconify the only frame.
12643 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12644 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12645
ddd63a1e
CY
126462011-07-01 Chong Yidong <cyd@stupidchicken.com>
12647
0e61a35f
SM
12648 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12649 Add mouse-yank-primary.
ddd63a1e 12650
055f4923
TZ
126512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12652
12653 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12654
6a2fb145
SM
126552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12658 (find-library-name): Use it to find relative load names when provided
12659 absolute file name (bug#8803).
12660
fd4983f2
LMI
126612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12662
887d14ad
LMI
12663 * textmodes/flyspell.el (flyspell-word): Consider words that
12664 differ only in case as potential doublons (bug#5687).
12665
c53dc7fc
LMI
12666 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12667 Remove two rather uninteresting debugging-like messages to make
12668 debbugs.el more silent.
12669
fd4983f2
LMI
12670 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12671 a password-like phrase.
12672
7a71b18d 126732011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12674
12675 * progmodes/cc-guess.el: New file.
12676
6a2fb145 12677 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12678
12679 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12680 derived from `c-basic-common-init'.
12681
12682 * progmodes/cc-mode.el (top-level): Require cc-guess.
12683 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12684
1fa280a3
LM
126852011-06-30 Lawrence Mitchell <wence@gmx.li>
12686
12687 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12688
e6597158
AM
126892011-06-30 Alan Mackenzie <acm@muc.de>
12690
1fa280a3
LM
12691 * progmodes/cc-engine.el (c-guess-continued-construct):
12692 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12693 lock is disabled. Name this case as "CASE G".
12694
68ba37fb
KM
126952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12696
12697 * allout.el (allout-yank-processing): Fix injection of extra space
12698 between bullet and non-whitespace character in first topic when
12699 pasting, ensuring that the actual spacing in the pasted topic
12700 following the bullet char is preserved. This extra space was
12701 causing pasted encrypted topics to get a decrypted status even
12702 when the content was actually still encrypted. Now the decryption
12703 status from before the paste is preserved.
12704
12705 (allout-flag-region): Set all allout overlays so they evaporate
12706 when reduced to zero length (evanescent), to prevent overlay
12707 leakage.
12708
887a0b34
GM
127092011-06-30 Glenn Morris <rgm@gnu.org>
12710
94b9acce
GM
12711 * w32-fns.el (w32-charset-info-alist): Declare.
12712
1d9b46d4
GM
12713 * find-dired.el (find-grep-options): Simplify.
12714
cc232200
GM
12715 * term/ns-win.el (ns-set-resource): Declare.
12716
28e77c46
GM
12717 * ses.el (row, col): Declare dynamic variables honestly.
12718
887a0b34
GM
12719 * textmodes/reftex-parse.el (index-tags): Declare.
12720
658d8eb8
CY
127212011-06-30 Chong Yidong <cyd@stupidchicken.com>
12722
12723 * cus-edit.el (customize-push-and-save): New function.
12724
12725 * files.el (hack-local-variables-confirm): Use it.
12726
1fa280a3
LM
12727 * custom.el (load-theme): New arg NO-CONFIRM.
12728 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12729 (custom-enabled-themes): Doc fix.
12730
12731 * cus-theme.el (customize-create-theme)
12732 (custom-theme-merge-theme): Callers to load-theme changed.
12733
bb617717
LMI
127342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
d61bdd5d
LMI
12736 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12737 short URLs have at least one dot in them (bug #7614).
12738
bb617717
LMI
12739 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12740 nil, because using a pty is apparently too slow (bug #895).
12741
2f31f37a
LMI
127422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12743
12744 * mail/sendmail.el (sendmail-query-once): New function.
12745 (sendmail-query-once-function): New variable.
12746
3076b24e
GM
127472011-06-29 Glenn Morris <rgm@gnu.org>
12748
faf2a174
GM
12749 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12750
3076b24e
GM
12751 * ses.el (top-level): Require cl when compiling.
12752 (ses-set-localvars): Fix error statement.
12753 Call it at compile time to silence a storm of warnings.
12754
5386012d
MR
127552011-06-29 Martin Rudalics <rudalics@gmx.at>
12756
12757 * window.el (normalize-live-buffer): Rename to
12758 window-normalize-buffer.
12759 (normalize-live-frame): Rename to window-normalize-frame.
12760 (normalize-any-window): Rename to window-normalize-any-window.
12761 (normalize-live-window): Rename to window-normalize-live-window.
12762 (make-window-atom): Rename to window-make-atom.
12763 (window-resize-reset): Rename to window--resize-reset.
12764 (window-resize-reset-1): Rename to window--resize-reset-1.
12765 (resize-mini-window): Rename to window--resize-mini-window.
12766 (resize-subwindows-skip-p): Rename to
12767 window--resize-subwindows-skip-p.
12768 (resize-subwindows-normal): Rename to
12769 window--resize-subwindows-normal.
12770 (resize-subwindows): Rename to window--resize-subwindows.
12771 (resize-other-windows): Rename to window--resize-siblings.
12772 (resize-this-window): Rename to window--resize-this-window.
12773 (resize-root-window): Rename to window--resize-root-window.
12774 (resize-root-window-vertically): Rename to
12775 window--resize-root-window-vertically.
12776 (normalize-buffer-to-display): Rename to
12777 window-normalize-buffer-to-display.
12778 (normalize-buffer-to-switch-to): Rename to
12779 window-normalize-buffer-to-switch-to.
12780 Correspondingly update all callers of the functions listed
12781 above.
12782 (display-buffer-alist, display-buffer-normalize-arguments)
12783 (display-buffer-normalize-options, display-buffer)
12784 (display-buffer-alist-set): Use "function" instead of
12785 "fun-with-args".
12786
1176868d
CY
127872011-06-28 Chong Yidong <cyd@stupidchicken.com>
12788
12789 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12790 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12791 debbugs.gnu.org. Mention acknowledgment email.
12792
20a7a65f
LMI
127932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12794
12795 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12796 buffer multibyteness, since it shouldn't matter.
12797
5f45cca5
MR
127982011-06-28 Martin Rudalics <rudalics@gmx.at>
12799
12800 * window.el (display-buffer-in-side-window): Handle dedicated
12801 windows as in display-buffer-reuse-window.
12802 (display-buffer-normalize-alist): Use value of override
12803 specifier.
12804 (display-buffer-normalize-specifiers): Use value of
12805 other-window-means-other-frame specifier.
12806 (display-buffer-alist): Rewrite some texts in widgets.
12807 (display-buffer): Spread arguments when calling function
12808 specified by fun-with-args.
12809
ad85fe1f
DD
128102011-06-28 Deniz Dogan <deniz@dogan.se>
12811
1fa280a3
LM
12812 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12813 Unnest `let'.
da68c4c8 12814
ad85fe1f
DD
12815 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12816 selectors (Bug#5732).
ec49bd31 12817 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12818
a08cc025
JA
128192011-06-27 Jari Aalto <jari.aalto@cante.net>
12820
12821 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12822 (eshell-ls-date-format): New defcustom.
12823 (eshell-ls-file): Use it.
12824
e2b551c5
SM
128252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12828
8982b231
KY
128292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12830
12831 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12832 (ange-ftp-make-tmp-name): New arg.
12833 (ange-ftp-file-local-copy): Use it.
12834
36c9fa27
J
128352011-06-27 Jambunathan K <kjambunathan@gmail.com>
12836
12837 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12838 no-conversion (Bug#8870).
12839
d68443dc
MR
128402011-06-27 Martin Rudalics <rudalics@gmx.at>
12841
12842 * window.el (window-right, window-left, window-child)
12843 (window-child-count, window-last-child)
12844 (window-iso-combination-p, walk-window-tree-1)
12845 (window-atom-check-1, window-tree-1, delete-window)
12846 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12847 new naming conventions - window-vchild, window-hchild,
12848 window-next and window-prev are now called window-top-child,
12849 window-left-child, window-next-sibling and window-prev-sibling
12850 respectively.
d615d6d2
MR
12851 (resize-window-reset): Rename to window-resize-reset.
12852 (resize-window-reset-1): Rename to window-resize-reset-1.
12853 (resize-window): Rename to window-resize.
12854 (window-min-height, window-min-width)
12855 (resize-mini-window, resize-this-window, resize-root-window)
12856 (resize-root-window-vertically, adjust-window-trailing-edge)
12857 (enlarge-window, shrink-window, maximize-window)
12858 (minimize-window, delete-window, quit-restore-window)
12859 (split-window, balance-windows, balance-windows-area-adjust)
12860 (balance-windows-area, window-state-put-2)
12861 (display-buffer-even-window-sizes, display-buffer-set-height)
12862 (display-buffer-set-width, set-window-text-height)
12863 (fit-window-to-buffer): Rename all "resize-window" prefixed
12864 calls to use the "window-resize" prefix convention.
12865 (display-buffer-alist): Fix symbol for label specifier.
12866 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12867 corresponding specifier.
12868 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12869
b6458526
VB
128702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12871
12872 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12873 convention.
12874 (ses-call-printer): Does not pass an empty string to formatter when the
12875 cell is empty to keep from barking printer Calc math-format-value.
12876
d31fd9ac
RS
128772011-06-27 Richard Stallman <rms@gnu.org>
12878
43d5bf84
RS
12879 * battery.el (battery-mode-line-limit): New variable.
12880 (battery-update): Handle it.
12881
d31fd9ac
RS
12882 * mail/rmailmm.el (rmail-mime-process-multipart):
12883 Handle truncated messages.
12884
819a6054
GM
128852011-06-27 Glenn Morris <rgm@gnu.org>
12886
12887 * progmodes/flymake.el (flymake-err-line-patterns):
12888 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12889
cedc73f2
VB
128902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12891
819a6054 12892 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12893 (ses--clean-!, ses--clean-_): New functions.
12894 (ses-range): Add configurability of readout order, and conversion
12895 to Calc vector.
12896
5e5d49b6
VB
12897 * ses.el (ses-repair-cell-reference-all): New function.
12898 (ses-cell-symbol): Set macro as safe, so that it can be used in
12899 formulas.
12900
56e6cc31 12901 * ses.el: Update cycle detection algorithm.
90ca8b49 12902 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12903 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12904 (ses-set-localvars): New function.
12905 (ses-make-cell): Add property-list as a cell element.
12906 (ses-cell-property-get-fun, ses-cell-property-get)
12907 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12908 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12909 New functions.
90ca8b49
VB
12910 (ses-cell-property-set, ses-cell-property-pop)
12911 (ses-cell-property-get-handle): New macro.
12912 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12913 New aliases, used for code readability.
12914 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12915 cycle detection.
12916 (ses-self-reference-early-detection): New defcustom.
fac916bf 12917 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12918 (ses-mode): Use ses-set-localvars.
12919 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12920 before lauching the update processing.
12921 (ses-initialize-Dijkstra-attempt): New function.
12922 (ses-recalculate-cell): Update for cycle detection based on
12923 Dijkstra algorithm.
12924
2bb63e81
VB
12925 * ses.el: Fix commenting and indenting convention.
12926
c9d29fb8
SM
129272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * bs.el (bs-cycle-next): Complete last change.
12930
d8e4b68b
JB
129312011-06-27 Drew Adams <drew.adams@oracle.com>
12932
12933 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12934
40098786
LMI
129352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12936
c9d29fb8
SM
12937 * net/network-stream.el (network-stream-open-starttls):
12938 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12939 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12940
40098786
LMI
12941 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12942 to binary to possibly avoid line encoding issues on Windows (among
12943 other things).
12944
468d09d4
LMI
129452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12946
12947 * net/network-stream.el (open-network-stream): Return an :error
12948 saying what the problem was, if possible.
12949
12950 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12951 server.
12952
12953 * net/network-stream.el (network-stream-open-starttls): If we
12954 wanted to use STARTTLS, and the server offered it, but we weren't
12955 able to because we had no STARTTLS support, then close the connection.
12956 (open-network-stream): Return an :error element, if present.
12957
16f07dd7
CY
129582011-06-26 Chong Yidong <cyd@stupidchicken.com>
12959
88821ca0
CY
12960 * hl-line.el (hl-line-sticky-flag): Doc fix.
12961 (global-hl-line-sticky-flag): New option (Bug#8323).
12962 (global-hl-line-highlight): Obey it.
12963
16f07dd7
CY
12964 * vc/vc.el (vc-revert-show-diff): Default to t.
12965
6b5ccddf
KM
129662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12967
c9d29fb8
SM
12968 * allout-widgets.el (allout-widgets-post-command-business):
12969 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12970 undecorated when an isearch is continued past, and isearch
12971 automatically collapses them. This leads to "widget leaks", where
12972 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12973 hidden widgets can slow down cursor travel, substantially.
12974 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12975 so we're doing without this nicety.
12976
12977 (allout-widgets-tally-string): Don't try to do a hash-table-count
12978 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12979 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12980 *Messages* when allout-widgets-maintain-tally is t.
12981
355f2e07
MR
129822011-06-26 Martin Rudalics <rudalics@gmx.at>
12983
12984 * window.el (display-buffer-normalize-argument): Rename to
12985 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12986 LABEL argument. Respect special-display-function when popping up
12987 a new frame. Fix code searching for a window showing the buffer
12988 on another frame.
c9d29fb8
SM
12989 (display-buffer-normalize-specifiers):
12990 Call display-buffer-normalize-arguments.
355f2e07
MR
12991 (display-buffer-in-window): Don't undedicate the window if its
12992 buffer remains the same.
12993 Reported by Drew Adams <drew.adams@oracle.com>.
12994 (display-buffer-alist): Add choice for same-window macro
12995 specfier.
12996 (display-buffer): Mention special meaning of LABEL argument in
12997 doc-string. Fix quoting. Don't pop up a new frame even as
12998 fallback.
12999
7ca8fc42
JB
130002011-06-26 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13003 avoid deleting the current window in some cases (bug#8911).
13004
bc312254
AS
130052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13006
13007 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13008 (Bug#8934)
13009
2db18f3f
LMI
130102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13011
c9d29fb8
SM
13012 * net/network-stream.el (network-stream-open-starttls):
13013 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13014 (network-stream-open-tls): Ditto.
13015
6302e0d3
LL
130162011-06-26 Leo Liu <sdl.web@gmail.com>
13017
13018 * register.el (registerv): New struct.
13019 (registerv-make): New function.
c9d29fb8
SM
13020 (jump-to-register, describe-register-1, insert-register):
13021 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13022 struct. (Bug#8415)
13023
5fdd4046
CY
130242011-06-26 Chong Yidong <cyd@stupidchicken.com>
13025
2afef60a
CY
13026 * vc/vc.el (vc-revert-show-diff): New defcustom.
13027 (vc-diff-internal): New arg specifying diff buffer.
13028 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13029 reuse an existing *vc-diff* buffer (Bug#8927).
13030
5fdd4046
CY
13031 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13032
e93db24a
GM
130332011-06-26 Glenn Morris <rgm@gnu.org>
13034
13035 * progmodes/f90.el (f90-critical-indent): New option.
13036 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13037 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13038 (f90-mode): Doc fix.
13039 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13040 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13041 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13042 (f90-match-end): Handle block, critical.
13043
eefff499
GM
130442011-06-25 Glenn Morris <rgm@gnu.org>
13045
f6ba4cc9
GM
13046 * calendar/diary-lib.el (diary-included-files): Doc fix.
13047 (diary-include-files): New function, extracted from
13048 diary-include-other-diary-files and diary-mark-included-diary-files.
13049 (diary-include-other-diary-files, diary-mark-included-diary-files):
13050 Just call diary-include-files.
13051 (diary-mark-entries): Reset diary-included-files on first call.
13052
16712304
GM
13053 * calendar/diary-lib.el (diary-mark-entries)
13054 (diary-mark-included-diary-files):
13055 Visit included diary-files in temp buffers.
13056
5d8e0d43
GM
13057 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13058 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13059 (f90-start-block-re, f90-imenu-generic-expression)
13060 (f90-looking-at-program-block-start, f90-no-block-limit):
13061 Add support for submodules.
13062
ccf7a5d5
GM
13063 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13064 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13065
11fdef7d 130662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13067
13068 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13069 buffer-file-type before setting its value, to avoid disastrous
eefff499 13070 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13071
74f53697
JB
130722011-06-25 Juanma Barranquero <lekktu@gmail.com>
13073
13074 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13075
13076 * ses.el (ses-unload-function):
13077 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13078
13079 * proced.el (proced-unload-function):
13080 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13081
18a4ce5e
AR
130822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13083
13084 * server.el (server-create-window-system-frame): Add parameters arg.
13085 (server-process-filter): Doc fix. Handle frame-parameters.
13086
519d22cc
JB
130872011-06-25 Juanma Barranquero <lekktu@gmail.com>
13088
13089 Fix bug#8730, bug#8781.
13090
13091 * loadhist.el (unload--set-major-mode): New function.
13092 (unload-feature): Use it.
13093
13094 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13095 (python-unload-function): New function.
13096
c206f5b0
SM
130972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13100
f9ad64f3
GS
131012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13102
13103 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13104 the candidates list.
13105
7d0da90e
JB
131062011-06-24 Juanma Barranquero <lekktu@gmail.com>
13107
13108 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13109
14b4e83d
RS
131102011-06-23 Richard Stallman <rms@gnu.org>
13111
13112 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13113 (rmail-variables): Set next-error-move-function.
13114 (rmail-what-message): Take argument POS.
13115 (rmail-next-error-move): New function.
13116
273d2baf
SM
131172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13120 messages for adjacent non-terminals.
13121
56c2cc9a
RS
131222011-06-23 Richard Stallman <rms@gnu.org>
13123
13124 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13125 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13126 (rmail-start-mail): Don't specify use of rmail-mail-return;
13127 that's done by mail-bury now.
13128 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13129
d59eb518
MA
131302011-06-23 Michael Albinus <michael.albinus@gmx.de>
13131
13132 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13133 SIZE is a number.
13134
02cfc6d6
MR
131352011-06-23 Martin Rudalics <rudalics@gmx.at>
13136
13137 * window.el (get-lru-window, get-mru-window)
13138 (get-largest-window): Never return a minibuffer window.
13139 (display-buffer-pop-up-window): Fix a bug that could lead to
13140 reusing the minibuffer window.
13141 (display-buffer): Pass original specifier argument to
13142 display-buffer-function instead of the normalized one.
13143 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13144
4e323265
LL
131452011-06-22 Leo Liu <sdl.web@gmail.com>
13146
13147 * minibuffer.el (completing-read-function)
13148 (completing-read-default): Move from minibuf.c
13149
7a70468f
RS
131502011-06-22 Richard Stallman <rms@gnu.org>
13151
50718fc2
RS
13152 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13153 to Rmail even if not started by a special Rmail command.
13154
7a70468f
RS
13155 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13156 Copy the buffer currently showing just one message.
13157
297dde5a
RW
131582011-06-22 Roland Winkler <winkler@gnu.org>
13159
13160 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13161 (bibtex-clean-entry): First delete the old key so that a
13162 customized algorithm for generating the new key does not get
13163 confused by the old key.
13164 (bibtex-url): Obey regexp of first step.
13165 (bibtex-search-entries): Do not use add-to-list with local
13166 list-var.
13167
97bb1093
LMI
131682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13169
13170 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13171 stored a user name, then query for the password first, instead of
13172 waiting for SMTP to give an error message and the trying again.
13173
1c0f1a19
JD
131742011-06-22 Lawrence Mitchell <wence@gmx.li>
13175
13176 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13177 BUFFER in call-process.
13178
396f7c9d
LMI
131792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13180
13181 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13182 QUIT twice.
ddb7ffee
LMI
13183 (smtpmail-try-auth-methods): Require user name and password from
13184 auth-source.
396f7c9d 13185
8998d1b3
MR
131862011-06-22 Martin Rudalics <rudalics@gmx.at>
13187
13188 * window.el (display-buffer-default-specifiers)
13189 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13190 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13191 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13192
13193 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13194 (special-display-frame-alist, special-display-popup-frame):
13195 Remove duplicate declarations. These are now in window.el.
13196
4ea31e07
LMI
131972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13198
c9d29fb8
SM
13199 * mail/smtpmail.el (smtpmail-via-smtp):
13200 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13201 server supports it. SMTP servers that support STARTTLS commonly
13202 require it.
13203
13204 * net/network-stream.el (network-stream-open-starttls): Support
13205 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13206 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13207
95f41d9a
LMI
13208 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13209 upgrades with `open-network-stream', and rely solely on
13210 auth-source for all credentials. Big changes throughout the file,
13211 but in particular:
c9d29fb8
SM
13212 (smtpmail-auth-credentials): Remove.
13213 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13214 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13215 MAIL FROM, too.
95f41d9a 13216
c9d29fb8
SM
13217 * net/network-stream.el (network-stream-open-starttls):
13218 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13219 STARTTLS.
13220 (auth-source): Require.
13221 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13222 (network-stream-certificate): Change cert-cert to cert and
13223 cert-key to key.
4ea31e07 13224
065ec2c7
MA
132252011-06-21 Michael Albinus <michael.albinus@gmx.de>
13226
13227 * net/tramp-cache.el (top): Don't load the persistency file when
13228 "emacs -Q" has been called.
13229
cd93b359
DR
132302011-06-21 Tim Harper <timcharper@gmail.com>
13231
d8e4b68b
JB
13232 * term/ns-win.el (ns-initialize-window-system):
13233 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13234 resource to NO as it is not yet supported by the NS port.
13235
ae9c0411
JB
132362011-06-21 Juanma Barranquero <lekktu@gmail.com>
13237
13238 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13239 (list-dynamic-libraries): ...not here.
13240
7f3f739f
LL
132412011-06-21 Leo Liu <sdl.web@gmail.com>
13242
13243 * subr.el (sha1): Implement sha1 using secure-hash.
13244
327c8fb1
MR
132452011-06-21 Martin Rudalics <rudalics@gmx.at>
13246
13247 * window.el (display-buffer-alist): In default value do not
13248 enforce searching a window on any but the selected frame.
13249 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13250 (display-buffer-select-window): Remove function.
13251 (display-buffer-in-window): When a window on another frame gets
13252 reused, do not select it any more but just raise its frame if
13253 necessary (Bug#8851) and (Bug#8856).
13254 (display-buffer-normalize-options): Handle pop-up-frames related
13255 options more faithfully.
13256 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13257 window if it is on another frame.
c9d29fb8
SM
13258 (display-buffer-alist, display-buffer-default-specifiers):
13259 Don't make new frame unsplittable by default.
9e9de014
MR
13260 (display-buffer-normalize-argument): Fix doc-string typo and use
13261 'same-frame-other-window instead of 'other-window when associating
13262 with display-buffer-macro-specifiers.
327c8fb1 13263
7cf3f556
VB
132642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13265
13266 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13267 New functions.
13268 (5x5-mode-map, 5x5-mode-menu): Bind them.
13269 (5x5-draw-grid): Tweak the solver's rendering.
13270
60a406cf
SM
132712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13272
13273 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13274 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13275
d8e4b68b 132762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13277
13278 * menu-bar.el: Use function variable instead of switch-to-buffer.
13279 (menu-bar-select-buffer-function): New variable.
60a406cf 13280 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13281
478d6f95
SM
132822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13285 variable's status.
13286
ca530739
JD
132872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13288
13289 * x-dnd.el (x-dnd-version-from-flags)
13290 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13291 and long as number (Bug#8899).
13292 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13293
bcd70d97
SM
132942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13295
60a406cf 13296 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13297 (completion-try-completion, completion-all-completions): Compute the
13298 metadata argument if it's missing; make it optional (bug#8795).
13299
60a406cf 13300 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13301 (widget-complete): Use new :completion-function property.
13302 (widget-completions-at-point): New function.
13303 (default): Use :completion-function instead of :complete.
60a406cf
SM
13304 (widget-default-completions): Rename from widget-default-complete;
13305 Rewrite.
bcd70d97
SM
13306 (widget-string-complete, widget-file-complete, widget-color-complete):
13307 Remove functions.
13308 (file, symbol, function, variable, coding-system, color):
13309 * international/mule-cmds.el (default-input-method, charset)
13310 (language-info-custom-alist):
13311 * cus-edit.el (face): Use new property :completions.
13312
13313 * progmodes/pascal.el (pascal-completions-at-point): New function.
13314 (pascal-mode): Use it.
13315 (pascal-mode-map): Use completion-at-point.
13316 (pascal-toggle-completions): Make obsolete.
13317 (pascal-complete-word, pascal-show-completions):
13318 * progmodes/octave-mod.el (octave-complete-symbol):
13319 Redefine as obsolete alias.
13320 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13321 Signal absence of completion info for old Octave,
13322 (inferior-octave-complete): Redefine as obsolete alias.
13323 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13324 (meta-completions-at-point): Rename from meta-complete-symbol and
13325 adapt it for use on completion-at-point-functions.
13326 (meta-common-mode): Use it.
13327 (meta-looking-at-backward, meta-match-buffer): Remove.
13328 (meta-complete-symbol): Redefine as obsolete alias.
13329 (meta-common-mode-map): Use completion-at-point.
13330 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13331 (makefile-mode-map): Use completion-at-point.
13332 (makefile-completions-at-point): Rename from makefile-complete and
13333 adapt it for use on completion-at-point-functions.
13334 (makefile-mode): Use it.
13335 (makefile-complete): Redefine as obsolete alias.
13336
aebf69c8
DD
133372011-06-20 Deniz Dogan <deniz@dogan.se>
13338
13339 * net/rcirc.el: Delete trailing whitespaces once and for all.
13340
bfbbb27d
DC
133412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13342
13343 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13344
d264a46b
CY
133452011-06-19 Chong Yidong <cyd@stupidchicken.com>
13346
4ca009e5
CY
13347 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13348
d264a46b
CY
13349 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13350
fbf5b3ce
MR
133512011-06-19 Martin Rudalics <rudalics@gmx.at>
13352
13353 * window.el (display-buffer-other-window-means-other-frame):
13354 Call display-buffer-normalize-alist.
13355 (display-buffer-normalize-specifiers-1): Rename to
13356 display-buffer-normalize-argument. New argument other-frame.
13357 Rewrite.
13358 (display-buffer-normalize-specifiers-2): Rename to
13359 display-buffer-normalize-options.
13360 (display-buffer-normalize-alist-1): New function.
13361 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13362 display-buffer-normalize-alist.
13363 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13364 (display-buffer-normalize-options-inhibit): New variable.
13365 (display-buffer-normalize-specifiers): Rewrite calling
13366 display-buffer-normalize-alist,
13367 display-buffer-normalize-argument, and
13368 display-buffer-normalize-options. Don't call the latter if
13369 display-buffer-normalize-options-inhibit is non-nil.
13370 (frame-auto-delete): New option.
13371 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13372 (window-list-no-nils, window-state-ignored-parameters)
13373 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13374 (window-state-put-1, window-state-put-2, window-state-put):
13375 New functions.
9a028c23
MR
13376 (display-buffer-normalize-options): Move special-display-p group
13377 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13378
6d10d800
CY
133792011-06-18 Chong Yidong <cyd@stupidchicken.com>
13380
6420d28b
CY
13381 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13382 groups (Bug#8776).
13383 (rx-submatch-n): New function.
13384 (rx): Document it.
13385
ddb8b596
CY
13386 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13387 (Bug#8768).
13388
13389 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13390
77080289
CY
13391 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13392
61dfb316
CY
13393 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13394 anytime existing face settings are present (Bug#8889).
13395
6d10d800
CY
13396 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13397 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13398 Remove unused argument.
13399
be3fb2b8
MR
134002011-06-18 Martin Rudalics <rudalics@gmx.at>
13401
bcd70d97
SM
13402 * window.el (display-buffer-default-specifiers):
13403 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13404 pop-up-window-min-width, and another reuse-window specifier
13405 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13406 (display-buffer-normalize-specifiers-2):
13407 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13408 pop-up-windows is unset. Add a reuse-window specifier for the
13409 case popping up a new window fails.
13410 (special-display-popup-frame): Remove double quoting.
28dec25a 13411 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13412
1c6d8c76
SM
134132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13416 according to comint-completion-addsuffix.
13417
13418 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13419 (pcomplete-suffix-list): Mark as obsolete.
13420 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13421 pcomplete-seen in the closure.
13422 (pcomplete-comint-setup): Setup completion-at-point as well.
13423 (pcomplete--entries): New function.
13424 (pcomplete--env-regexp): New var.
13425 (pcomplete-entries): Rewrite to work with partial-completion and
13426 without relying on pcomplete-suffix-list.
13427 (pcomplete-pare-list): Remove, unused.
13428
25aef8b8
MR
134292011-06-17 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (display-buffer-alist): Set pop-up-window-min-height
13432 and pop-up-window-min-width in default value. Reported by
13433 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13434 other-window-means-other-frame.
13435 (display-buffer-macro-specifiers): Comment out entry for
13436 other-window specifier.
13437 (display-buffer-other-window-means-other-frame): New function.
13438 (display-buffer-normalize-specifiers-1): New arguments
13439 buffer-name and label. Treat other-window case specially.
13440 (display-buffer-normalize-specifiers-2): Treat other-window case
13441 specially.
13442 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13443 (display-buffer-normalize-specifiers):
13444 Call display-buffer-normalize-specifiers-3.
25aef8b8 13445
dbad4f69
MR
134462011-06-17 Martin Rudalics <rudalics@gmx.at>
13447
13448 * window.el (same-window-p): Fix two typos introduced when
13449 adding with-no-warnings.
d1067961
MR
13450 (display-buffer-normalize-specifiers-1): Don't check
13451 pop-up-frames for 'unset initialization.
13452 (display-buffer-normalize-specifiers-2): Major rewrite using
13453 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13454 (pop-up-frames, display-buffer-reuse-frames)
13455 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13456 Suggested by David Engster <deng@randomsample.de>.
13457 (even-window-heights): Initialize to 'unset.
13458 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13459 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13460 other window case.
dbad4f69 13461
9b9c9e3a
MR
134622011-06-16 Martin Rudalics <rudalics@gmx.at>
13463
bcd70d97
SM
13464 * window.el (display-buffer-normalize-specifiers-1):
13465 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13466 second argument of display-buffer (Bug#8865).
981d5c09
MR
13467 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13468 (switch-to-buffer-other-window-same-frame)
13469 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13470 Adams (Bug#8875).
9c2755e9
MR
13471 (display-buffer): Don't check noninteractive when calling
13472 display-buffer-pop-up-frame.
13473 (display-buffer-pop-up-frame): Never pop up a frame in
13474 noninteractive mode (Bug#8857).
67222e1d
MR
13475 (enlarge-window, shrink-window): Don't report an error when the
13476 window can't be resized as requested (Bug#8862).
9b9c9e3a 13477
2b75be67
SM
134782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13479
9ffdd3ba
SM
13480 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13481
cb581a67
SM
13482 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13483
2b75be67
SM
13484 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13485
8c0e3589
AM
134862011-06-15 Alan Mackenzie <acm@muc.de>
13487
cb581a67
SM
13488 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13489 for declarators, disable knr checking to speed up for normal files.
13490 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13491
b96e6cde
LMI
134922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13493
4bba86e6
LMI
13494 * net/network-stream.el (open-network-stream): Add the keyword
13495 :always-query-capabilities for the case where you want to force a
13496 `plain' network connection, but the protocol still requires the
13497 capabilitiy command (i.e., SMTP and EHLO).
13498
2b75be67 13499 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13500 consistency with other `-live-p' functions.
13501
efdcdbf8
SM
135022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13503
13504 * window.el (same-window-buffer-names, same-window-regexps)
13505 (special-display-frame-alist, special-display-popup-frame)
13506 (special-display-function, special-display-buffer-names)
13507 (special-display-regexps, pop-up-frame-alist)
13508 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13509 (pop-up-windows, split-window-preferred-function)
13510 (split-height-threshold, split-width-threshold, even-window-heights)
13511 (display-buffer-mark-dedicated): Don't encourage the use of
13512 display-buffer-alist from Elisp code.
13513
c5cde042
DN
135142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13515
13516 * progmodes/python.el (python-mode): Derive from prog-mode.
13517 * progmodes/ps-mode.el (ps-mode):
13518 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13519 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13520 * progmodes/ld-script.el (ld-script-mode): Likewise.
13521
baa1c9ab
MR
135222011-06-15 Martin Rudalics <rudalics@gmx.at>
13523
13524 * window.el (display-buffer-alist): Trim default value to avoid
13525 popping up a new frame (Bug#8857) or reusing an arbitrary window
13526 on another frame.
13527 (display-buffer): Do not fall back on popping up a new frame in
13528 batch mode (Bug#8857).
13529
c5dd5a51
CY
135302011-06-14 Chong Yidong <cyd@stupidchicken.com>
13531
13532 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13533 (custom-theme-summary): New function.
13534 (customize-themes): Use it.
13535
d647b7c4
GM
135362011-06-13 Glenn Morris <rgm@gnu.org>
13537
13538 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13539
9481c002
MR
135402011-06-13 Martin Rudalics <rudalics@gmx.at>
13541
357f93d2
MR
13542 * help.el (help-window): Remove variable.
13543 (help-window-point-marker, temp-buffer-max-height)
13544 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13545 (help-print-return-message): Don't set help-window.
13546 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13547 (help-window-setup-finish): Remove.
13548 (help-window-display-message, help-window-setup)
13549 (with-help-window): Major rewrite based on new
13550 display-buffer-window variable.
13551
13552 * help-mode.el (help-mode-finish): Remove help-window related
13553 code.
13554
13555 * view.el (view-exits-all-viewing-windows): Remove reference to
13556 view-return-to-alist in doc-string.
13557 (view-return-to-alist): Make obsolete.
13558 (view-buffer): Call pop-to-buffer-same-window and remove
13559 undo-window code.
13560 (view-buffer-other-window): Call pop-to-buffer-other-window and
13561 simplify code. Ignore second argument.
13562 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13563 simplify code. Ignore second argument.
13564 (view-return-to-alist-update): Make obsolete.
13565 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13566 Rewrite using quit-restore window parameters.
2b75be67
SM
13567 (view-mode-exit): Rename second argument to EXIT-ONLY.
13568 Rewrite using quit-restore-window.
357f93d2
MR
13569 (View-exit, View-exit-and-edit, View-leave, View-quit)
13570 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13571 appropriate arguments.
13572 (view-end-message): Use quit-restore window parameter.
13573
9481c002
MR
13574 * window.el (display-buffer-function): Rewrite doc-string.
13575 (display-buffer-window, display-buffer-alist): New variables.
13576 (display-buffer-split-specifiers)
13577 (display-buffer-side-specifiers)
13578 (display-buffer-macro-specifiers): New constants.
13579 (display-buffer-even-window-sizes, display-buffer-set-height)
13580 (display-buffer-set-width, display-buffer-select-window)
13581 (display-buffer-in-window, display-buffer-reuse-window)
13582 (display-buffer-split-window-1, display-buffer-split-window)
13583 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13584 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13585 (display-buffer-in-side-window, normalize-buffer-to-display)
13586 (display-buffer-normalize-specifiers-1)
13587 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13588 (display-buffer-normalize-specifiers, display-buffer-frame):
13589 New functions.
9481c002
MR
13590 (display-buffer): Major rewrite.
13591 (display-buffer-other-window, display-buffer-other-frame)
13592 (pop-to-buffer, switch-to-buffer-other-window)
13593 (switch-to-buffer-other-frame): Rewrite.
13594 (display-buffer-same-window, display-buffer-same-frame)
13595 (display-buffer-same-frame-other-window)
13596 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13597 (pop-to-buffer-other-window)
13598 (pop-to-buffer-same-frame-other-window)
13599 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13600 (switch-to-buffer-other-window-same-frame): New functions.
13601 (same-window-p, special-display-p): Rewrite disabling warnings.
13602 Make obsolete.
13603 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13604 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13605 Make obsolete
13606 (same-window-buffer-names, same-window-regexps)
13607 (special-display-frame-alist, special-display-popup-frame)
13608 (special-display-function, special-display-buffer-names)
13609 (special-display-regexps, pop-up-frame-alist)
13610 (pop-up-frame-function, split-window-preferred-function)
13611 (split-height-threshold, split-width-threshold)
13612 (even-window-heights): Make obsolete.
13613
9db51aca
GM
136142011-06-12 Glenn Morris <rgm@gnu.org>
13615
13616 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13617 Misc simplifications.
9db51aca 13618
39cffb44
MR
136192011-06-12 Martin Rudalics <rudalics@gmx.at>
13620
13621 * window.el (window-safely-shrinkable-p): Restore function which
13622 was inadvertently removed in change from 2011-06-11. Declare as
13623 obsolete.
13624
2b75be67
SM
13625 * calendar/calendar.el (calendar-generate-window):
13626 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13627 window-safely-shrinkable-p.
13628
a8955be7
GM
136292011-06-12 Glenn Morris <rgm@gnu.org>
13630
13631 * progmodes/fortran.el (fortran-mode-syntax-table):
13632 * progmodes/f90.el (f90-mode-syntax-table):
13633 Set % to punctuation. (Bug#8820)
13634 (f90-find-tag-default): Remove, no longer needed.
13635
f0d4059d
DC
136362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13637
13638 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13639
1100a63c
CY
136402011-06-11 Chong Yidong <cyd@stupidchicken.com>
13641
13642 * image.el (image-animated-p): Return animation delay in seconds.
13643 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13644 (image-animate-timeout): Remove DELAY argument. Don't assume
13645 every subimage has the same delay; get it from image-animated-p.
13646 (image-animate): Caller changed.
13647
def722bf
MA
136482011-06-11 Michael Albinus <michael.albinus@gmx.de>
13649
13650 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13651 to ignored backtrace functions.
13652
0a2bb1a9
GM
136532011-06-11 Glenn Morris <rgm@gnu.org>
13654
13655 * calendar/appt.el (appt-disp-window-function): Doc fix.
13656 (appt-check): Handle overlapping appointments. (Bug#8337)
13657
6198ccd0
MR
136582011-06-11 Martin Rudalics <rudalics@gmx.at>
13659
13660 * window.el (window-tree-1, window-tree): New functions, moving
13661 the latter to window.el.
13662 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13663 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13664 (bw-refresh-edges): Remove.
13665 (balance-windows-1, balance-windows-2): New functions.
13666 (balance-windows): Rewrite in terms of window tree functions,
13667 balance-windows-1 and balance-windows-2.
13668 (bw-adjust-window): Remove.
13669 (balance-windows-area-adjust): New function with functionality of
13670 bw-adjust-window but using resize-window.
2b75be67
SM
13671 (set-window-text-height): Rewrite doc-string.
13672 Use normalize-live-window and resize-window.
13673 (enlarge-window-horizontally, shrink-window-horizontally):
13674 Rename argument to DELTA.
6198ccd0
MR
13675 (window-buffer-height): New function.
13676 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13677 Rewrite using new window resize routines.
2b75be67
SM
13678 (kill-buffer-and-window, mouse-autoselect-window-select):
13679 Use ignore-errors instead of condition-case.
6198ccd0
MR
13680 (quit-window): Call delete-frame instead of delete-windows-on
13681 for the only buffer on frame.
13682
9397e56f
MR
136832011-06-10 Martin Rudalics <rudalics@gmx.at>
13684
13685 * loadup.el (top-level): Load window before files for the sake
13686 of replace-buffer-in-windows.
13687
13688 * files.el (read-buffer-to-switch)
13689 (switch-to-buffer-other-window)
2b75be67
SM
13690 (switch-to-buffer-other-frame, display-buffer-other-frame):
13691 Move to window.el.
9397e56f
MR
13692
13693 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13694 (previous-buffer): Move to window.el.
13695
13696 * bindings.el (unbury-buffer): Move to window.el.
13697
13698 * window.el (delete-other-windows-vertically): Move after
13699 definition of delete-other-windows.
13700 (other-window, delete-windows-on, replace-buffer-in-windows):
13701 Move here from window.c.
13702 (record-window-buffer, unrecord-window-buffer)
13703 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13704 (switch-to-next-buffer): New functions.
13705 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13706 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13707 (previous-buffer): Move here from simple.el.
13708 Call switch-to-prev-buffer.
9397e56f
MR
13709 (bury-buffer): Move here from buffer.c. Switch to previous
13710 buffer when window cannot be deleted.
13711 (unbury-buffer): Move here from bindings.el.
13712 (ctl-x-map): Move binding for other-window from window.c to
13713 here.
13714 (read-buffer-to-switch, switch-to-buffer-other-window)
13715 (switch-to-buffer-other-frame): Move here from files.el.
13716 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13717 (switch-to-buffer): Move here from buffer.c.
13718 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13719
562dd5e9
MR
137202011-06-10 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (window-min-height, window-min-width): Move here
13723 from window.c. Add defcustoms and rewrite doc-strings.
13724 (resize-mini-window, resize-window): New functions.
13725 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13726 Move here from window.c.
13727 (maximize-window, minimize-window): New functions.
13728 (delete-window, delete-other-windows, split-window): Move here
13729 from window.c.
13730 (window-split-min-size): New function.
13731 (split-window-keep-point): Mention split-window-above-each-other
13732 instead of split-window-vertically.
2b75be67 13733 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13734 Rename split-window-vertically to split-window-above-each-other
13735 and provide defalias for old definition.
13736 (split-window-side-by-side, split-window-horizontally):
13737 Rename split-window-horizontally to split-window-side-by-side
13738 and provide defalias for the old definition.
562dd5e9
MR
13739 (ctl-x-map): Move bindings for delete-window,
13740 delete-other-windows and enlarge-window here from window.c.
13741 Replace bindings for split-window-vertically and
13742 split-window-horizontally by bindings for
13743 split-window-above-each-other and split-window-side-by-side.
13744
13745 * cus-start.el (all): Remove entries for window-min-height and
13746 window-min-width. Add entries for window-splits and
13747 window-nest.
13748
f0da764a
GM
137492011-06-09 Glenn Morris <rgm@gnu.org>
13750
80675c21
GM
13751 * calendar/appt.el (appt-mode-line): New function.
13752 (appt-check, appt-disp-window): Use it.
13753
f0da764a
GM
13754 * files.el (hack-one-local-variable-eval-safep):
13755 Allow minor-modes with explicit +/-1 arguments.
13756
59f623b7
TZ
137572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13758
13759 * term/xterm.el (xterm): Add defgroup.
13760 (xterm-extra-capabilities): Add defcustom to supply known xterm
13761 capabilities, skip querying them, or query them (default).
13762 (terminal-init-xterm): Use it.
13763 (terminal-init-xterm-modify-other-keys): New function to set up
13764 modifyOtherKeys support to simplify `terminal-init-xterm'.
13765
9aab8e0d
MR
137662011-06-09 Martin Rudalics <rudalics@gmx.at>
13767
13768 * window.el (resize-window-reset, resize-window-reset-1)
13769 (resize-subwindows-skip-p, resize-subwindows-normal)
13770 (resize-subwindows, resize-other-windows, resize-this-window)
13771 (resize-root-window, resize-root-window-vertically)
13772 (window-deletable-p, window-or-subwindow-p)
13773 (frame-root-window-p): New functions.
13774
e8b08aee
GM
137752011-06-09 Glenn Morris <rgm@gnu.org>
13776
13777 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13778 (ange-ftp-get-files): Use it.
13779
254c37a5
AK
137802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13781
13782 * mail/sendmail.el (mail-recover-1, mail-recover):
13783 * files.el (recover-file, recover-session):
13784 Handle dired-listing-switches not being just a single short option.
13785
35d7dbd3
GM
137862011-06-09 Glenn Morris <rgm@gnu.org>
13787
13788 * calendar/appt.el (appt-display-message, appt-disp-window):
13789 Handle lists of appointments.
13790
387522b2
MR
137912011-06-08 Martin Rudalics <rudalics@gmx.at>
13792
2b75be67
SM
13793 * window.el (one-window-p): Move down in code.
13794 Rewrite doc-string.
13795 (window-current-scroll-bars): Rewrite doc-string.
13796 Normalize live window argument.
387522b2
MR
13797 (walk-windows, get-window-with-predicate, count-windows):
13798 Rewrite doc-string. Use window-list-1.
13799 (window-in-direction-2, window-in-direction, get-mru-window):
13800 New functions.
13801
d8e4b68b 138022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13803
13804 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13805 Doc fix (Bug#8713).
13806
138072011-06-08 Chong Yidong <cyd@stupidchicken.com>
13808
13809 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13810
138112011-06-08 Juanma Barranquero <lekktu@gmail.com>
13812
13813 * loadhist.el (unload-feature-special-hooks):
13814 Add `comint-output-filter-functions'.
13815
0de12c52
IK
138162011-06-08 Ivan Kanis <gnu@kanis.fr>
13817
13818 * calendar/appt.el (appt-check): Move some initializations into the let.
13819
f3d1777e
MR
138202011-06-08 Martin Rudalics <rudalics@gmx.at>
13821
13822 * window.el (window-height): Defalias to window-total-height.
13823 (window-width): Defalias to window-body-width.
13824
18af70d0
CY
138252011-06-07 Chong Yidong <cyd@stupidchicken.com>
13826
13827 * image-mode.el (image-toggle-animation): New command.
13828 (image-mode-map): Bind it to RET.
13829 (image-mode): Update message.
13830 (image-toggle-display-image): Avoid a spurious cache flush.
13831 (image-transform-rotation): Doc fix.
13832 (image-transform-properties): Return quickly in the normal case.
13833 (image-animate-loop): Rename from image-animate-max-time.
13834
2b75be67 13835 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13836 (create-animated-image): Remove unnecessary function.
13837 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13838 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13839 (image-animate-timer): Use car-safe.
13840 (image-animate-timeout): Rename argument.
13841
190b47e6
MR
138422011-06-07 Martin Rudalics <rudalics@gmx.at>
13843
13844 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13845 window.c. Rename first argument to ALL-FRAMES.
13846 Rephrase doc-strings.
13847 (get-buffer-window-list): Rewrite using window-list-1.
13848 Rephrase doc-string.
a1511caf
MR
13849 (window-safe-min-height, window-safe-min-width): New constants.
13850 (window-size-ignore, window-min-size, window-min-size-1)
13851 (window-sizable, window-sizable-p, window-size-fixed-1)
13852 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13853 (window-max-delta-1, window-max-delta, window-resizable)
13854 (window-resizable-p, window-total-height, window-total-width)
13855 (window-body-width): New functions.
13856 (window-full-height-p, window-full-width-p): Rewrite using
13857 window-total-size.
13858 (window-body-height): Rewrite using window-body-size.
190b47e6 13859
85cc1f11
MR
138602011-06-06 Martin Rudalics <rudalics@gmx.at>
13861
13862 * window.el (window-right, window-left, window-child)
13863 (window-child-count, window-last-child, window-any-p)
13864 (normalize-live-buffer, normalize-live-frame)
13865 (normalize-any-window, normalize-live-window)
13866 (window-iso-combination-p, window-iso-combined-p)
13867 (window-iso-combinations)
13868 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13869 (windows-with-parameter, window-with-parameter)
13870 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13871 (window-atom-check, window-side-check, window-check):
13872 New functions.
85cc1f11
MR
13873 (ignore-window-parameters, window-sides, window-sides-vertical)
13874 (window-sides-slots): New variables.
13875 (window-size-fixed): Move down in code. Minor doc-string fix.
13876
e7156492
AS
138772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13878
13879 * comint.el (comint-dynamic-complete-as-filename)
13880 (comint-dynamic-complete-filename): Correctly call
13881 completion-in-region.
13882
7e821d0d
DD
138832011-06-05 Deniz Dogan <deniz@dogan.se>
13884
13885 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13886 in last change.
13887
ac09b8a1
DD
138882011-06-05 Deniz Dogan <deniz@dogan.se>
13889
13890 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13891 (rcirc): Use it to prompt for encryption.
13892
34699b85
RW
138932011-06-05 Roland Winkler <winkler@gnu.org>
13894
13895 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13896 (bibtex-search-entries): New command bound to C-c C-a.
13897 (bibtex-display-entries): New function.
13898
004dedd3
RW
138992011-06-05 Roland Winkler <winkler@gnu.org>
13900
13901 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13902 (bibtex-insert-kill): After yanking insert newline if necessary.
13903 (bibtex-initialize): Call bibtex-string-files-init only once.
13904 (bibtex-mode): Do not call easy-menu-add.
13905 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13906 (bibtex-yank): Set arg properly if nil.
13907
022fe7ce
RW
139082011-06-05 Roland Winkler <winkler@gnu.org>
13909
2b75be67
SM
13910 * textmodes/bibtex.el (bibtex-search-entry-globally):
13911 New variable.
022fe7ce
RW
13912 (bibtex-search-entry): Use it.
13913
b7c3692a
RW
139142011-06-05 Roland Winkler <winkler@gnu.org>
13915
13916 * textmodes/bibtex.el (bibtex-entry-format): New option
13917 sort-fields.
13918 (bibtex-format-entry, bibtex-reformat): Honor this option.
13919 (bibtex-parse-entry): Return fields in proper order.
13920
8eda563d
JB
139212011-06-05 Juanma Barranquero <lekktu@gmail.com>
13922
13923 * doc-view.el (doc-view-remove-if): Move computation of result out
13924 of `dolist' to silence misleading lexical-binding warning.
13925
7dbe3dbc
CY
139262011-06-04 Chong Yidong <cyd@stupidchicken.com>
13927
13928 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13929 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13930
0c33dd17
MA
139312011-06-04 Michael Albinus <michael.albinus@gmx.de>
13932
13933 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13934 "SunOS 5.10".
13935
f8f91c2b
MA
139362011-06-04 Michael Albinus <michael.albinus@gmx.de>
13937
13938 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13939 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13940 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13941 (tramp-parse-putty):
13942 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13943 (tramp-completion-function-alist-ssh)
13944 (tramp-completion-function-alist-telnet)
13945 (tramp-completion-function-alist-su)
13946 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13947 cookie.
13948
13949 * net/tramp-ftp.el:
13950 * net/tramp-sh.el:
13951 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13952 load "tramp.el" `tramp-set-completion-function'.
13953
e17d9003
SM
139542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * shell.el: Require and use pcomplete.
13957 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13958 (shell-completion-vars): Set pcomplete-default-completion-function.
13959
6c4cab03
DD
139602011-06-04 Deniz Dogan <deniz@dogan.se>
13961
13962 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13963 `memq' (Bug#8799).
13964
ea9fafe0
SM
139652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13968
b3e945d3
JB
139692011-06-02 Juanma Barranquero <lekktu@gmail.com>
13970
13971 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13972 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13973 * vc/log-view.el (log-view-beginning-of-defun):
13974 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13975 (smerge-refine-forward, smerge-refine-chopup-region):
13976 Silence warning for unused `dotimes' counter variables.
13977
7d520089
SM
139782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * net/tramp.el (tramp-with-progress-reporter): Rename from
13981 with-progress-reporter. Use `declare'.
13982 * net/tramp-smb.el:
13983 * net/tramp-sh.el:
13984 * net/tramp-gvfs.el: Update all uses.
13985
a1c2400f
JB
139862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13987
13988 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13989 buffer isn't killed before making it current.
13990
2403c841
SM
139912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13992
13993 Silence various byte-compiler warnings.
13994 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13995 `access-type' and new obsolescence format.
13996 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13997 new format.
13998 (byte-compile-check-variable): New `access-type' argument.
13999 Only warn if the access-type is obsolete.
14000 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14001 (byte-compile-variable-set): Adjust callers.
14002 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14003 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14004 setting it as obsolete.
14005 * simple.el (minibuffer-completing-symbol):
14006 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14007 access as obsolete.
14008 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14009 obsolete yet.
14010 * international/quail.el (quail-mouse-choose-completion): Remove unused
14011 code referring to obsolete var.
14012 (quail-choose-completion-string): Remove.
14013 * server.el (server-clients-with, server-kill-buffer-query-function)
14014 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14015 * proced.el (proced-send-signal):
14016 * emacs-lisp/lisp.el (lisp-complete-symbol):
14017 Replace completion-annotate-function with completion-extra-properties.
14018
2462470b
SM
140192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14020
fb5b2591
SM
14021 * simple.el (goto-line): Use read-number.
14022 (overriding-map-is-bound): Remove.
14023 (saved-overriding-map): Change default.
14024 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14025 Take the map as argument.
14026 (universal-argument, negative-argument, digit-argument): Use it.
14027 (restore-overriding-map): Adjust.
14028 (do-auto-fill): Use fill-forward-paragraph.
14029 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14030
fd6fa53f
SM
14031 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14032 (minibuffer-inactive-mode): New major mode.
14033 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14034 the *Messages* buffer" hack.
14035 (mouse-popup-menubar): Don't burp if the event is a normal key.
14036
2462470b
SM
14037 Miscellaneous tweaks.
14038 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14039 lexical scoping as in subr.el's dolist and dotimes.
14040 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14041 Silence compiler warning.
14042 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14043 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14044 * international/ccl.el (ccl-compile): Trivial simplification.
14045 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14046 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14047 `printflag' argument.
14048 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14049 Purecopy the whole obsolescence data.
14050
108bf785
LL
140512011-06-01 Leo Liu <sdl.web@gmail.com>
14052
14053 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14054 improve doc-string as suggested by Marco Pessotto
14055 <melmothx@gmail.com>.
14056 (rcirc-print): Fix last change.
14057
30a23501
SM
140582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * minibuffer.el (complete-with-action): Return nil for the metadata and
14061 boundaries of non-functional tables.
14062 (completion-table-dynamic): Return nil for the metadata.
14063 (completion-table-with-terminator): Add default case, using
14064 complete-with-action.
14065 (completion--metadata): New function.
14066 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14067 to try and avoid pathological performance problems.
14068 (completion--embedded-envvar-table): Return `category' metadata.
14069
bcd54f83
LMI
140702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14071
14072 * subr.el (process-alive-p): New tiny convenience function.
14073
e227544d
SM
140742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14077 content but also its previous major mode.
14078
e8296fdc
HE
140792011-05-31 Helmut Eller <eller.helmut@gmail.com>
14080
4d61f28d 14081 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14082 *Backtrace* buffer when we exit with C-M-c.
14083
620c53a6
SM
140842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * minibuffer.el: Add metadata method to completion tables.
14087 (completion-category-overrides): New defcustom.
14088 (completion-metadata, completion--field-metadata)
14089 (completion-metadata-get, completion--styles)
14090 (completion--cycle-threshold): New functions.
14091 (completion-try-completion, completion-all-completions):
14092 Add `metadata' argument to choose completion-styles.
14093 (completion--do-completion): Use metadata to choose cycling.
14094 (completion-all-sorted-completions): Use metadata for sorting.
14095 Remove :completion-cycle-penalty which is not needed any more.
14096 (completion--try-word-completion): Add `metadata' argument.
14097 (minibuffer-completion-help): Check metadata for annotation function
14098 and sorting.
14099 (completion-file-name-table): Return `category' metadata.
14100 (minibuffer-completing-file-name): Make obsolete.
14101 * simple.el (minibuffer-completing-symbol): Make obsolete.
14102 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14103 completion-try-completion.
14104
1257e755
SM
141052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14108
3767e706
LL
141092011-05-30 Leo Liu <sdl.web@gmail.com>
14110
14111 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14112 (rcirc-print): Decode all incoming messages (bug#8744).
14113 (rcirc-decode-coding-system): Allow value nil for automatic coding
14114 system detection.
3767e706 14115
d1a5d56a
GM
141162011-06-01 Glenn Morris <rgm@gnu.org>
14117
14118 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14119
e8cbec34
CY
141202011-05-29 Chong Yidong <cyd@stupidchicken.com>
14121
14122 * image.el (image-animate-max-time): Allow nil and t values.
14123 Default to nil.
14124 (create-animated-image): Doc fix.
14125 (image-animate-start): Remove second arg; just use
14126 image-animate-max-time.
14127 (image-animate-timeout): Doc fix. Args changed.
14128
14129 * image-mode.el (image-toggle-display-image): Ensure that the
14130 image spec passed to the animate timer is the same object as in
58179cce 14131 the buffer's display property (Bug#6981).
e8cbec34
CY
14132 (image-transform-properties): Doc fix.
14133
14134 * image.el (image-animate-max-time): Default to nil.
14135
159daf87
MR
141362011-05-29 Martin Rudalics <rudalics@gmx.at>
14137
14138 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14139 entire buffer list (Bug#8184).
14140
d66c4c7c
CY
141412011-05-29 Chong Yidong <cyd@stupidchicken.com>
14142
14143 * image.el (imagemagick-types-inhibit)
14144 (imagemagick-register-types): Doc fix.
14145
80aec780
DD
141462011-05-29 Deniz Dogan <deniz@dogan.se>
14147
14148 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14149 default.
14150
1dd3c2d9
CY
141512011-05-29 Chong Yidong <cyd@stupidchicken.com>
14152
14153 * select.el: Don't perform clipboard-manager saving in hooks;
14154 leave the hooks empty.
14155
60e56523
LL
141562011-05-28 Leo Liu <sdl.web@gmail.com>
14157
14158 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14159 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14160 (occur-edit-mode): New major mode (Bug#8463).
14161 (occur-after-change-function): New function.
14162 (occur-engine): Give Occur tags a read-only property.
14163
2b1e1a22
KR
141642011-05-28 Kevin Ryde <user42@zip.com.au>
14165
14166 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14167
5d344e88
CY
141682011-05-28 Chong Yidong <cyd@stupidchicken.com>
14169
8e6ca83d
CY
14170 * bindings.el (help-echo): Make the initial non-indicator dash
14171 empty on graphical terminals (Bug#7295).
14172
5d344e88
CY
14173 * files.el (auto-mode-alist): Move config rule after the
14174 in-stripping one (Bug#8547).
14175
bfbbace7
CY
14176 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14177
fbeba6e2
CY
14178 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14179 setting (Bug#8740).
14180
60ed8c72
AA
141812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14182
4ac619f0
AA
14183 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14184 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14185 (Bug#8539).
60ed8c72 14186
23db196e
CY
141872011-05-28 Chong Yidong <cyd@stupidchicken.com>
14188
14189 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14190
5012f24c
DK
141912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14192
14193 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14194 (hs-hide-block-at-point, hs-find-block-beginning)
14195 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14196 (Bug#8279).
14197
6a639b16
GM
141982011-05-28 Glenn Morris <rgm@gnu.org>
14199
14200 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14201
d43eaf2c
CY
142022011-05-28 Chong Yidong <cyd@stupidchicken.com>
14203
5199bde1
CY
14204 * help-fns.el (describe-function-1): If the function is a derived
14205 major mode, print the parent mode.
14206
d43eaf2c
CY
14207 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14208 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14209
423428a8
SM
142102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14211
0ff8e1ba 14212 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14213 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14214 * progmodes/etags.el (tags-completion-at-point-function):
14215 * info-look.el (info-lookup-completions-at-point): Mark as
14216 non-exclusive.
14217 (info-complete): Adjust accordingly.
14218
423428a8
SM
14219 * info-look.el: Convert to lexical-binding and completion-at-point.
14220 (info-lookup-completions-at-point): New function.
14221 (info-complete): Use it and completion-in-region.
14222
b74aa22b
DA
142232011-05-28 Drew Adams <drew.adams@oracle.com>
14224
14225 * isearch.el: Let M-e start with point at the first mismatched char.
14226 (isearch-fail-pos): New function.
14227 (isearch-edit-string): Use it.
14228
66e2e71d
DK
142292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14230
14231 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14232
b1890b0f 142332011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14234
14235 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14236 traversal functions for avl-trees.
14237 (avl-tree--stack): New struct.
14238 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14239 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14240 (avl-tree--do-enter): Add optional `updatefun' arg.
14241 Change return value.
eb95d01d 14242 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14243 (avl-tree--do-delete): Add `test' and `nilflag' args.
14244 Change return value.
eb95d01d
TC
14245 (avl-tree-member): Add optional `nilflag'
14246 (avl-tree-member-p): New function.
14247 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14248 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14249 (avl-tree-stack-empty-p): New functions.
14250
3769ddcf
TC
14251 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14252 avl-tree--del-balance1 and make it work both ways.
14253 (avl-tree--del-balance2): Remove.
14254 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14255 make it work both ways.
14256 (avl-tree--enter-balance2): Remove.
14257 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14258 New macros.
14259 (avl-tree--mapc, avl-tree-map): Add direction argument.
14260
eb95d01d 142612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14262
14263 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14264
a9f737ee
CY
142652011-05-27 Chong Yidong <cyd@stupidchicken.com>
14266
14267 * select.el: Support clipboard managers with built-in function
14268 x-clipboard-manager-save, via delete-frame-functions and
14269 kill-emacs-hook.
14270 (xselect-convert-to-targets): Add MULTIPLE target to list.
14271 (xselect-convert-to-save-targets): New function.
14272
c92a1e54
KH
142732011-05-27 Kenichi Handa <handa@m17n.org>
14274
14275 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14276 let-binding rfc2047-encode-encoded-words to nil.
14277
e145f188
GM
142782011-05-27 Glenn Morris <rgm@gnu.org>
14279
5ec8a862
GM
14280 * mail/emacsbug.el: Don't require url-util.
14281
4b29d9fb
GM
14282 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14283
e145f188
GM
14284 * files.el (set-auto-mode):
14285 Also respect mode: entries at the end of the file. (Bug#8586)
14286
7d15102b
GM
142872011-05-26 Glenn Morris <rgm@gnu.org>
14288
98f593b8
GM
14289 * files.el (hack-local-variables-prop-line, hack-local-variables):
14290 Downcase mode names, as seems to be traditional.
27b48e63 14291 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14292
7d15102b
GM
14293 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14294 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14295
51d5b4ec
JD
142962011-05-25 Julien Danjou <julien@danjou.info>
14297
14298 * textmodes/rst.el (rst-define-level-faces): Do not define face
14299 symbol if it is already defined.
14300
91513f63
VB
143012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14302
14303 * play/5x5.el (5x5-new-game, 5x5-randomize):
14304 Reset 5x5-solver-output to nil when a new grid is cast.
14305 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14306 these debugging traces, as defmacro breaks the compiled code.
14307
4d90d6d0
DK
143082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14309
14310 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14311
e1b90ef6
LL
143122011-05-24 Leo Liu <sdl.web@gmail.com>
14313
14314 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14315 (vc-bzr-sha1): Adapt.
14316
d8e4b68b 14317 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14318
14319 * bindings.el: Provide sha1 feature.
14320
db0406bb 143212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14322
14323 * mail/sendmail.el: Require `rfc2047'.
14324 (mail-insert-from-field): Do not perform RFC2047 encoding.
14325 (mail-encode-header): New function.
14326 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14327 buffer to the return value of select-message-coding-system.
14328 Call mail-encode-header.
b8d747b9
KH
14329
14330 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14331
db0406bb 143322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14333
4d90d6d0
DK
14334 * mail/supercite.el (sc-default-cite-frame):
14335 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14336
eb8a5e9b
GM
143372011-05-24 Glenn Morris <rgm@gnu.org>
14338
f8630703
GM
14339 * progmodes/python.el (brm-menu): Declare.
14340
8831bbed
GM
14341 * emulation/viper.el (viper-set-hooks): Declare.
14342
eb8a5e9b
GM
14343 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14344 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14345 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14346 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14347 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14348 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14349
a2a25d24
SM
143502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14351
14352 Add an :exit-function for completion-at-point.
14353
14354 * minibuffer.el (completion--done): New fun.
14355 (completion--do-completion): Use it. New arg `expect-exact'.
14356 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14357 since completion--do-completion does it for us now.
14358 (minibuffer-force-complete): Use completion--done and
14359 completion--replace. Handle sole-completion case with more care.
14360 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14361 (completion-extra-properties): New var.
14362 (completion-annotate-function): Make obsolete.
14363 (minibuffer-completion-help): Adjust accordingly.
14364 Use completion-list-insert-choice-function.
14365 (completion-at-point, completion-help-at-point):
14366 Bind completion-extra-properties.
14367 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14368 * simple.el (completion-list-insert-choice-function): New var.
14369 (completion-setup-function): Preserve it.
14370 (choose-completion): Pay attention to it, shuffle the code a bit.
14371 (choose-completion-string): New arg `insert-function'.
14372
14373 * textmodes/bibtex.el: Convert to lexical binding.
14374 (bibtex-mode-map): Use completion-at-point.
14375 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14376 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14377 (bibtex-complete): Define as obsolete alias.
14378 (bibtex-complete-internal): Remove.
14379 (bibtex-format-entry): Remove unused sub-group in regexp.
14380 * shell.el (shell--command-completion-data)
14381 (shell-environment-variable-completion):
14382 * pcomplete.el (pcomplete-completions-at-point):
14383 * comint.el (comint--complete-file-name-data): Use :exit-function
14384 instead of completion-table-with-terminator so it also works for
14385 choose-completion.
14386
e44e373d
SM
143872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14388
4f91a816
SM
14389 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14390
782fc819
SM
14391 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14392 (bug#8710).
14393
e44e373d
SM
14394 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14395
381987c3
KM
143962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14397
14398 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14399 customization variable and implement: If non-nil, auto-fill will
14400 be inhibited while on topic's header line.
14401
b776bc70
VB
144022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14403
14404 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14405 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14406 always have a solution in grid size = 5 cases.
14407 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14408 (5x5-solver-output, 5x5-log-buffer): New vars.
14409 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14410 Make these variables buffer local to achieve 5x5 multi-session-ness.
14411 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14412 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14413 (5x5-solve-suggest): New funs.
14414 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14415 randomize a grid so that we ensure that there is always a solution.
14416 (5x5-make-random-grid): Allow other movement than flipping.
14417
7de88b6e
KR
144182011-05-23 Kevin Ryde <user42@zip.com.au>
14419
14420 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14421 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14422 advice and passes PREDICATE.
14423
b1ef1257
SM
144242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14425
bbca48fe
SM
14426 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14427 byte-compile-lambda if it's actually a lambda.
14428
b1ef1257
SM
14429 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14430 Fix function quoting. Use backquote better.
14431
92a9cc65
YS
144322011-05-22 Yuanle Song <sylecn@gmail.com>
14433
14434 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14435 matching (Bug#8516).
14436
f0fb8059
JA
144372011-01-22 Jari Aalto <jari.aalto@cante.net>
14438
14439 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14440 different face (Bug#8178).
14441
d5b44c93
CY
144422011-05-22 Chong Yidong <cyd@stupidchicken.com>
14443
14444 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14445 defface (Bug#8144).
14446
79106a44
SM
144472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14448
9c848d8a
SM
14449 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14450 funcall as well (bug#8712). Warn when performing those conversions.
14451 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14452
79106a44
SM
14453 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14454
88dfa756
GM
144552011-05-22 Glenn Morris <rgm@gnu.org>
14456
14457 * files.el (hack-local-variables-prop-line): Small simplifications.
14458 (hack-local-variables, hack-local-variables-prop-line):
14459 If MODE-ONLY, return the mode, rather than just `t'.
14460
b7cf2c79
SM
144612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14464
3f1a8558
GM
144652011-05-21 Glenn Morris <rgm@gnu.org>
14466
7e4ccca3
GM
14467 * files.el (hack-local-variables-prop-line, hack-local-variables):
14468 If only interested in the mode, don't bother doing the other stuff.
14469
637d46ca
GM
14470 * image-mode.el (image-after-revert-hook):
14471 Redraw all frames on which the image is visible. (Bug#8567)
14472
973d955b
GM
14473 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14474
3f1a8558
GM
14475 * wid-edit.el (widget-checklist-match-inline):
14476 Fix 2011-04-19 change. (Bug#8649)
14477
96479927
SM
144782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14479
1dcf791f
SM
14480 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14481 Also allow singlespace after single-letter capitals followed by a dot.
14482
96479927
SM
14483 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14484 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14485
35fd0881
N
144862011-05-20 Nix <nix@esperi.org.uk>
14487
14488 * files.el (basic-save-buffer-2):
14489 Fix handling of break-hardlink-on-save with non-existent files.
14490
82745640
DD
144912011-05-19 Deniz Dogan <deniz@dogan.se>
14492
14493 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14494 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14495
4a720484
GM
144962011-05-19 Glenn Morris <rgm@gnu.org>
14497
d1f21341
GM
14498 * progmodes/f90.el (f90-type-def-re):
14499 Handle "type, bind(c)". (Bug#8691)
14500
4a720484
GM
14501 * emacs-lisp/autoload.el (batch-update-autoloads):
14502 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14503
2fb0a219
MA
145042011-05-18 Michael Albinus <michael.albinus@gmx.de>
14505
14506 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14507 property for the correct connection in case of multihops.
14508
e565dd37
GM
145092011-05-18 Glenn Morris <rgm@gnu.org>
14510
c2571358 14511 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14512 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14513
e565dd37
GM
14514 Rationalize calendar handling of day and month abbrev-arrays.
14515 * calendar/calendar.el (calendar-customized-p): New function.
14516 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14517 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14518 Add :set function.
14519 (calendar-abbrev-length, calendar-day-abbrev-array)
14520 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14521 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14522 Elements may no longer be nil.
14523 (calendar-day-name, calendar-month-name):
14524 Update for changed nature of abbrev arrays.
14525 * calendar/diary-lib.el (diary-name-pattern):
14526 Update for changed nature of abbrev arrays.
14527 (diary-mark-entries-1): Update calendar-make-alist calls.
14528 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14529 * calendar/cal-html.el (cal-html-day-abbrev-array):
14530 Simply inherit from calendar-day-abbrev-array.
14531
1d99a745
SM
145322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14533
14534 * progmodes/grep.el (grep-mode): Disable default
14535 compilation-directory-matcher setting (bug#8684).
14536
7c1d9aa0
MA
145372011-05-17 Michael Albinus <michael.albinus@gmx.de>
14538
14539 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14540 instead of "head" and "tail". There were problems with SunOS 5.9,
14541 and it performs better.
14542
3952e9d8
GM
145432011-05-17 Glenn Morris <rgm@gnu.org>
14544
2dd12e7f
GM
14545 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14546
e4157b9c
GM
14547 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14548 Replace obsolete function.
14549
8e249bbd
GM
14550 * shell.el (pcomplete-parse-arguments-function): Declare.
14551
3952e9d8
GM
14552 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14553 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14554 (appt-check): Doc fixes.
14555 (appt-disp-window-function, appt-delete-window-function):
14556 Remove needless special case in custom :type.
14557 (appt-display-count): Default to 0, not nil.
14558 (appt-check): Reset appt-display-count to 0, not nil.
14559
c71a0d48 145602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14561
c71a0d48
GM
14562 * progmodes/python.el (python-font-lock-keywords):
14563 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14564
31d55be9
SM
145652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14566
14567 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14568
3bfacb2f
KR
145692011-05-16 Kevin Ryde <user42@zip.com.au>
14570
14571 * info-look.el (makefile-automake-mode): New setups, looking in
14572 automake manual, then makefile-mode.
14573 (makefile-mode): Remove automake manual, have it just in
14574 makefile-automake-mode since there's various things different or
14575 not relevant to plain make.
14576 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14577 believe a hypothetical automake-mode would go to makefile-mode,
14578 not the other way around.
14579
c8e83751
CY
145802011-05-15 Chong Yidong <cyd@stupidchicken.com>
14581
5e9e35cd
CY
14582 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14583 hunk-end tags (Bug#8672).
14584
c8e83751
CY
14585 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14586 vc-annotate-show-diff-revision-at-line (Bug#8671).
14587
50b23e5a
GM
145882011-05-14 Glenn Morris <rgm@gnu.org>
14589
7210a739
GM
14590 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14591 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14592 (change-log-font-lock-keywords): Also handle multiple author lines
14593 with leading tabs. (Bug#8644)
7210a739 14594
4691905a
GM
14595 * calendar/appt.el (appt-check): Rename some local variables.
14596 Some simplification/reordering.
14597
50b23e5a
GM
14598 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14599 (feedmail-sendmail-f-doesnt-sell-me-out)
14600 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14601 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14602 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14603 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14604 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14605 (feedmail-binmail-gnulinuxish-template):
14606 Rename from feedmail-binmail-linuxish-template.
14607 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14608 Use insert-buffer-substring.
14609
215cda7c
BC
146102011-05-14 Bill Carpenter <bill@carpenter.org>
14611
14612 * mail/feedmail.el (feedmail-patch-level): Increase.
14613 (feedmail-debug): New custom group.
14614 (feedmail-confirm-outgoing-timeout)
14615 (feedmail-sendmail-f-doesnt-sell-me-out)
14616 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14617 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14618 (feedmail-sender-line, feedmail-from-line)
14619 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14620 (feedmail-spray-this-address)
215cda7c
BC
14621 (feedmail-spray-address-fiddle-plex-list)
14622 (feedmail-queue-use-send-time-for-date)
14623 (feedmail-queue-use-send-time-for-message-id)
14624 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14625 (feedmail-buffer-eating-function):
14626 Doc fixes.
14627 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14628 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14629 (feedmail-message-action-scroll-down): New functions.
14630 (feedmail-queue-directory, feedmail-queue-draft-directory):
14631 Use expand-file-name.
14632 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14633 Remove C-v help entry.
14634 (feedmail-queue-buffer-file-name): New variable.
14635 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14636 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14637 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14638 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14639 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14640 (feedmail-message-action-toggle-spray)
14641 (feedmail-run-the-queue-no-prompts)
14642 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14643 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14644 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14645 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14646 (feedmail-envelope-deducer, feedmail-fiddle-from)
14647 (feedmail-fiddle-sender, feedmail-default-date-generator)
14648 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14649 (feedmail-fiddle-spray-address)
14650 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14651 (feedmail-fiddle-list-of-fiddle-plexes)
14652 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14653 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14654 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14655 Change default. Doc fix.
14656 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14657 (feedmail-binmail-linuxish-template): New constant.
14658 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14659 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14660 (feedmail-send-it): Add debug call.
14661 Use feedmail-queue-buffer-file-name, and
14662 feedmail-send-it-immediately-wrapper.
14663 (feedmail-message-action-send): Add debug call.
14664 Use feedmail-send-it-immediately-wrapper.
14665 (feedmail-queue-express-to-queue): Add debug call.
14666 Run feedmail-queue-express-hook.
14667 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14668 (feedmail-message-action-help-blat):
14669 Rename from feedmail-queue-send-edit-prompt-help-first.
14670 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14671 Check line-endings. Handle errors better.
14672 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14673 Doc fix. Add debug call.
14674 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14675 Use feedmail-queue-send-edit-prompt-inner.
14676 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14677 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14678 from feedmail-queue-send-edit-prompt.
14679 (feedmail-queue-send-edit-prompt-help)
14680 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14681 (feedmail-tidy-up-slug): Add debug call.
14682 Respect feedmail-queue-slug-suspect-regexp.
14683 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14684 (feedmail-dump-message-to-queue): Add debug call.
14685 Expand queue-directory.
14686 (feedmail-dump-message-to-queue): Change message slightly.
14687 Use feedmail-say-chatter.
14688 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14689 (feedmail-send-it-immediately-wrapper): New function.
14690 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14691 Insert empty string rather than newline. Handle full-frame case.
14692 Use catch/throw. Use feedmail-say-chatter.
14693 (feedmail-fiddle-from): Try mail-host-address.
14694 (feedmail-default-message-id-generator): Doc fix.
14695 Bind system-time-locale. Handle missing end.
14696 (feedmail-fiddle-x-mailer): Add debug call.
14697 Handle feedmail-x-mailer-line being nil.
14698 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14699 Add debug call. Use buffer-substring-no-properties.
14700 (feedmail-say-debug, feedmail-say-chatter): New functions.
14701 (feedmail-find-eoh): Give an explicit error.
14702
42c7e61e
UJ
147032011-05-13 Ulf Jasper <ulf.jasper@web.de>
14704
c2571358 14705 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14706 family from helvetica to sans.
c2571358 14707 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14708 etc/images/newsticker.
14709
c2571358 14710 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14711 family from helvetica to sans.
14712
14713 * net/newst-plainview.el (newsticker-new-item-face)
14714 (newsticker-old-item-face, newsticker-immortal-item-face)
14715 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14716 (newsticker-statistics-face): Change default family from
42c7e61e 14717 helvetica to sans.
c2571358 14718 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14719 etc/images/newsticker.
14720
5d3385a0
JB
14721 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14722 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14723 auto-marking.
14724
8497a297
DV
147252011-05-13 Didier Verna <didier@xemacs.org>
14726
14727 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14728 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14729 TODO entries.
8497a297
DV
14730 (lisp-lambda-list-keyword-parameter-indentation)
14731 (lisp-lambda-list-keyword-parameter-alignment)
14732 (lisp-lambda-list-keyword-alignment): New customizable user options.
14733 (lisp-indent-defun-method): Improve docstring.
14734 (extended-loop-p): Fix comment.
14735 (lisp-indent-lambda-list-keywords-regexp): New variable.
14736 (lisp-indent-lambda-list): New function.
14737 (lisp-indent-259): Use it.
14738 (lisp-indent-defmethod): Support for more than one
14739 method qualifier and properly indent methods lambda-lists.
14740 (defgeneric): Provide a missing common-lisp-indent-function property.
14741
f278f87f
SM
147422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14743
14744 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14745 bounds for the empty string (bug#8667).
14746
5233edd7
GM
147472011-05-13 Glenn Morris <rgm@gnu.org>
14748
5237a44f
GM
14749 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14750
8340026c 14751 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14752 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14753
5233edd7 14754 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14755 (appt-time-msg-list): Doc fix.
a5464014 14756 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14757
92d10796
AS
147582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * progmodes/ld-script.el (ld-script-keywords)
14761 (ld-script-builtins): Update keywords list.
14762
914a0ae1
SM
147632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14764
c89be45f
SM
14765 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14766
914a0ae1
SM
14767 * shell.el (shell-completion-vars): New function.
14768 (shell-mode):
14769 * simple.el (read-shell-command): Use it.
14770 (blink-matching-open): No need for " [...]" in minibuffer-message.
14771
98dc3df3
GM
147722011-05-12 Glenn Morris <rgm@gnu.org>
14773
14774 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14775 (appt-check): Simplify.
14776
d2fc7e3d 147772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14778
4d61f28d 14779 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14780 literal "/dev/null".
14781
d2fc7e3d 147822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14783
14784 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14785 Fix typo.
14786
d2fc7e3d 147872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14788
3f254caa
SM
14789 * progmodes/which-func.el (which-function):
14790 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14791 which might not be defined (Bug#8260).
14792
d45885f7
GM
147932011-05-12 Glenn Morris <rgm@gnu.org>
14794
14795 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14796 Let byte-compile-initial-macro-environment always take precedence.
14797
488086f4
SM
147982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14799
14800 * net/rcirc.el: Add support for SSL/TLS connections.
14801 (rcirc-server-alist): New field `encryption'.
14802 (rcirc): Check `encryption' settings.
14803 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14804 Merge make-local-variable into `set'.
14805 (rcirc--connection-open-p): New function.
14806 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14807 the process is not a network process (e.g. running gnutls-cli).
14808 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14809 Make rcirc-(en|de)code-coding-system local here.
14810 (rcirc-mode): Merge make-local-variable into `set'.
14811 (rcirc-parent-buffer): Make permanent buffer-local.
14812 (rcirc-multiline-minor-mode): Don't do it here.
14813 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14814 there's no server buffer.
14815
7d3b9d44
GM
148162011-05-11 Glenn Morris <rgm@gnu.org>
14817
f64049c6
GM
14818 * newcomment.el (comment-kill): Prefix "unused" local.
14819
93c9df73
GM
14820 * term/w32console.el (get-screen-color): Declare.
14821
7d3b9d44
GM
14822 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14823 Handle symbol elements of byte-compile-initial-macro-environment.
14824
9e2dd53f
LL
148252011-05-10 Leo Liu <sdl.web@gmail.com>
14826
488086f4
SM
14827 * bookmark.el (bookmark-bmenu-mode-map):
14828 Bind bookmark-bmenu-search to `/'.
8b340240 14829
9e2dd53f 14830 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14831 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14832 (Footnote-unicode): New function.
14833 (footnote-style-alist): Add unicode style to the list.
14834 (footnote-style): Doc fix.
9e2dd53f 14835
79b70037
GM
148362011-05-10 Jim Meyering <meyering@redhat.com>
14837
14838 Fix doubled-word typos.
14839 * international/quail.el (quail-insert-kbd-layout): and and -> and
14840 * kermit.el: and and -> and
14841 * net/ldap.el (ldap-search-internal): to to -> to
14842 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14843 * progmodes/js.el (js-mode): and and -> and
14844 * textmodes/artist.el (artist-move-to-xy): at at -> at
14845 (artist-draw-region-trim-line-endings): if if -> if
14846 And Safetyc -> Safety.
14847 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14848
b8f82dc1 148492011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14850 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14851
14852 * files.el (hack-one-local-variable-eval-safep):
14853 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14854
4f99f44b
GM
148552011-05-10 Glenn Morris <rgm@gnu.org>
14856
14857 * calendar/diary-lib.el (diary-list-entries-hook)
14858 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14859 (diary-nongregorian-marking-hook, diary-list-entries)
14860 (diary-include-other-diary-files, diary-mark-entries)
14861 (diary-mark-included-diary-files): Doc fixes.
14862
84f29e6b
JB
148632011-05-09 Juanma Barranquero <lekktu@gmail.com>
14864
14865 * misc.el: Require tabulated-list.el during compilation.
14866
9bedd73a
CY
148672011-05-09 Chong Yidong <cyd@stupidchicken.com>
14868
488086f4
SM
14869 * progmodes/compile.el (compilation-start):
14870 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14871 (compilation-filter-hook): Doc fix.
14872
797c735c
DD
148732011-05-09 Deniz Dogan <deniz@dogan.se>
14874
14875 * wdired.el: Remove outdated installation comment. Fix usage
14876 comment.
14877
5f4b1dfe
JB
148782011-05-09 Juanma Barranquero <lekktu@gmail.com>
14879
14880 * misc.el: Implement new command `list-dynamic-libraries'.
14881 (list-dynamic-libraries--loaded-only-p): New variable.
14882 (list-dynamic-libraries--refresh): New function.
14883 (list-dynamic-libraries): New command.
14884
4c44026c
CY
148852011-05-09 Chong Yidong <cyd@stupidchicken.com>
14886
488086f4
SM
14887 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14888 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14889 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14890 higher priority to avoid clobbering by gnu.
14891
027f966d
CY
148922011-05-08 Chong Yidong <cyd@stupidchicken.com>
14893
14894 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14895 if the face has existing theme settings (Bug#8454).
14896
085f5d7d
CY
148972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14898
488086f4
SM
14899 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14900 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14901
2a86a00c
RS
14902 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14903 special file names `.' and `..' (Bug#8259).
14904
d9c54a06
CY
149052011-05-08 Chong Yidong <cyd@stupidchicken.com>
14906
488086f4
SM
14907 * progmodes/grep.el (grep-mode-font-lock-keywords):
14908 Remove buffer-changing entries.
d9c54a06
CY
14909 (grep-filter): New function.
14910 (grep-mode): Add it to compilation-filter-hook.
14911
14912 * progmodes/compile.el (compilation-filter-hook)
14913 (compilation-filter-start): New defvars.
14914 (compilation-filter): Call compilation-filter-hook prior to
14915 updating the process mark.
14916
c4662635
SM
149172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14920
b0512a1d
EZ
149212011-05-07 Eli Zaretskii <eliz@gnu.org>
14922
605c9376
EZ
14923 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14924 mailclient-send-it even if window-system is nil. (Bug#8595)
14925
c4662635
SM
14926 * term/w32console.el (terminal-init-w32console):
14927 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14928 background-mode. (Bug#8597)
14929
d1dc2cc2
SM
149302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14933 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14934 New functions.
14935 (defgeneric, eieio--defmethod): Use them.
14936 (eieio-defgeneric): Remove.
14937 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14938
915d1300
GM
149392011-05-07 Glenn Morris <rgm@gnu.org>
14940
a3961c3e
GM
14941 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14942 Use let rather than let*.
14943 (timeclock-find-discrep): Remove unused local.
14944
314347b9
GM
14945 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14946
915d1300
GM
14947 * calendar/appt.el (appt-time-msg-list): Doc fix.
14948
275b59b0
NF
149492011-05-06 Noah Friedman <friedman@splode.com>
14950
14951 * apropos.el (apropos-print-doc): Only use
14952 emacs-lisp-docstring-fill-column when it is bound to an integer,
14953 per that variable's documentation.
14954
6c19f744
SM
149552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14956
14957 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14958 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14959
60f884b2
GM
149602011-05-06 Glenn Morris <rgm@gnu.org>
14961
5006e634
GM
14962 * calendar/appt.el (appt-message-warning-time): Doc fix.
14963 (appt-warning-time-regexp): New option.
14964 (appt-make-list): Respect appt-message-warning-time.
14965
548d0a63
GM
14966 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14967 New options.
14968 (diary-add-to-list): Strip comments from the displayed string.
14969 (diary-mode): Set comment-start and comment-end.
14970
60f884b2
GM
14971 * vc/diff-mode.el (smerge-refine-subst): Declare.
14972 (diff-refine-hunk): Don't require smerge-mode when compiling.
14973
989681bb
JB
149742011-05-06 Juanma Barranquero <lekktu@gmail.com>
14975
14976 * simple.el (list-processes): Return nil as the docstring says.
14977
a6bc05e1
MA
149782011-05-05 Michael Albinus <michael.albinus@gmx.de>
14979
14980 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14981 to "".
14982 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14983 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14984 determining of binary transfer. (Bug#7383)
14985
23c22e9a
MA
149862011-05-05 Michael Albinus <michael.albinus@gmx.de>
14987
c4662635
SM
14988 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14989 Fix port computation bug. (Bug#8618)
23c22e9a 14990
0bff894f
GM
149912011-05-05 Glenn Morris <rgm@gnu.org>
14992
b8296902
GM
14993 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14994
1f522ce8
GM
14995 * simple.el (shell-dynamic-complete-functions)
14996 (comint-dynamic-complete-functions): Declare.
14997
cf5bee67
GM
14998 * net/network-stream.el (gnutls-negotiate):
14999 * simple.el (tabulated-list-print): Fix declarations.
15000
15001 * progmodes/gud.el (syntax-symbol, syntax-point):
15002 Remove unnecessary and incorrect declarations.
15003
0bff894f
GM
15004 * emacs-lisp/check-declare.el (check-declare-scan):
15005 Handle byte-compile-initial-macro-environment in bytecomp.el
15006
9869b3ae
SM
150072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 Fix earlier half-done eieio-defmethod change (bug#8338).
15010 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15011 Streamline and change calling convention.
15012 (defmethod): Adjust accordingly and simplify.
15013 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15014 new eieio--defmethod.
15015 (slot-boundp): Minor CSE simplification.
15016
9c1d5ac5
MZ
150172011-05-05 Milan Zamazal <pdm@zamazal.org>
15018
15019 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15020 (glasses-make-readable): Use glasses-separate-capital-groups.
15021
455c834e
JB
150222011-05-05 Juanma Barranquero <lekktu@gmail.com>
15023
15024 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15025 (warning-series): Doc fix.
15026 (display-warning): Don't try to create the buffer if we just found it.
15027
9ed7c8cb
CY
150282011-05-04 Chong Yidong <cyd@stupidchicken.com>
15029
15030 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15031 (autoload-find-generated-file): New function.
15032 (generate-file-autoloads): Bind generated-autoload-file to
15033 buffer-file-name.
9869b3ae
SM
15034 (update-file-autoloads, update-directory-autoloads):
15035 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15036 output file (Bug#7989).
15037 (batch-update-autoloads): Doc fix.
15038
0898ca10
JB
150392011-05-04 Juanma Barranquero <lekktu@gmail.com>
15040
15041 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15042
31dfb76c
GM
150432011-05-04 Glenn Morris <rgm@gnu.org>
15044
f330b642
GM
15045 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15046 function, so it follows changes in calendar-date-style.
15047 (diary-fancy-date-matcher): New function.
15048 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15049 (diary-fancy-font-lock-fontify-region-function):
15050 Use diary-fancy-date-pattern as a function.
15051
31dfb76c
GM
15052 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15053 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15054
48e79d6a
TZ
150552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15056
15057 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15058 instead of positional arguments. Allow :keylist and :crlfiles
15059 arguments.
15060 (open-gnutls-stream): Call it.
15061
15062 * net/network-stream.el (network-stream-open-starttls): Adjust to
15063 call `gnutls-negotiate' with :process and :hostname arguments.
15064
dd5a5ee0
SM
150652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15066
ef80fc09
SM
15067 * minibuffer.el (completion--message): New function.
15068 (completion--do-completion, minibuffer-complete)
15069 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15070 (completion--do-completion): Don't ignore completion-auto-help when in
15071 icomplete-mode.
15072
dd5a5ee0
SM
15073 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15074 internal encoding (e.g. tibetan zero is not whitespace).
15075 (global-whitespace-mode): Prefer save-current-buffer.
15076 (whitespace-trailing-regexp): Remove useless save-match-data.
15077 (whitespace-empty-at-bob-regexp): Minor simplification.
15078
b7d22a83
CY
150792011-05-03 Chong Yidong <cyd@stupidchicken.com>
15080
15081 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15082
5192af46
AM
150832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15084
15085 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15086 Use `concat' to create string for insertion.
5192af46 15087
5767d190
SM
150882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15091 Avoid open-line which runs post-self-insert-hook.
15092 (bibtex-fill-entry): Remove unused `end' var.
15093
bf242939
AM
150942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15095
5767d190
SM
15096 * textmodes/ispell.el (ispell-add-per-file-word-list):
15097 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15098
25666126
LL
150992011-05-03 Leo Liu <sdl.web@gmail.com>
15100
15101 * isearch.el (isearch-yank-pop): New command.
5767d190 15102 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15103 (isearch-forward): Mention it.
15104
52d3c2d0
SM
151052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15106
1bcace58
SM
15107 * simple.el (minibuffer-complete-shell-command): Remove.
15108 (minibuffer-local-shell-command-map): Use completion-at-point.
15109 (read-shell-command): Setup completion vars here instead.
15110 (read-expression-map): Bind TAB to symbol completion.
15111
52d3c2d0
SM
15112 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15113 error directly rather via storing it into `results'.
15114
35813471
LL
151152011-05-02 Leo Liu <sdl.web@gmail.com>
15116
15117 * vc/diff.el: Fix description.
15118
e793a940
LMI
151192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15120
15121 * server.el (server-eval-at): New function.
15122
8de66e05
LMI
151232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15124
15125 * net/network-stream.el (open-network-stream): Take a :nowait
15126 parameter and pass it on to `make-network-process'.
15127 (network-stream-open-plain): Ditto.
15128
dcb79f20
AS
151292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15130
15131 * faces.el (face-spec-set-match-display): Don't match toolkit
15132 options on terminal frames.
15133
14a7fbd8
SM
151342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15135
7eabc1be
SM
15136 * progmodes/pascal.el: Use lexical binding.
15137 (pascal-mode-map): Remove author preferences.
15138
14a7fbd8
SM
15139 * pcomplete.el (pcomplete-std-complete): Don't abuse
15140 completion-at-point.
15141
50f84510
JB
151422011-04-28 Juanma Barranquero <lekktu@gmail.com>
15143
6e087a44
JB
15144 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15145 removing code that has been dead since 1991 or so.
15146
50f84510
JB
15147 * startup.el (command-line): When warning about "_emacs", use a
15148 delayed warning to allow the user to filter it out.
15149
0ba690bd
DD
151502011-04-28 Deniz Dogan <deniz@dogan.se>
15151
15152 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15153 user has not joined.
15154
08abfaad
SM
151552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15158 aren't any completions at point.
15159
638f053a
JB
151602011-04-28 Juanma Barranquero <lekktu@gmail.com>
15161
15162 * subr.el (display-delayed-warnings): New function.
15163 (delayed-warnings-hook): New variable.
15164
8fff8daa
SM
151652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15166
08abfaad
SM
15167 * minibuffer.el (completion-at-point, completion-help-at-point):
15168 Don't presume that a given completion-at-point-function will always
15169 use the same calling convention.
15170
8fff8daa
SM
15171 * pcomplete.el (pcomplete-completions-at-point):
15172 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15173 pcomplete-seen is non-nil.
15174 (pcomplete-comint-setup): Also recognize the new comint/shell
15175 completion functions.
15176 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15177 pcomplete-seen is non-nil.
15178
841a1577 151792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15180
841a1577 15181 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15182 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15183 the first character in the entry. This allows for code to add its
211ec907
UJ
15184 own uid to the entry.
15185 (icalendar--convert-float-to-ical): Add export of
15186 `diary-float'-entries save for those with the optional DAY
15187 argument.
15188
2a782793
DC
151892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15190
15191 * subr.el (shell-quote-argument): Use alternate escaping strategy
15192 when we spot a variable reference in a string.
15193
0438ce91
DC
151942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15195
15196 * cus-start.el (all): Define customization for debug-on-event.
15197
841a1577 151982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15199
15200 * subr.el (shell-quote-argument): Escape correctly under Windows.
15201
d090ed6c
SM
152022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15203
15204 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15205
bfd31217
MA
152062011-04-25 Michael Albinus <michael.albinus@gmx.de>
15207
d090ed6c
SM
15208 * net/tramp.el (tramp-process-actions): Add POS argument.
15209 Delete region between POS and (pos).
bfd31217 15210
d090ed6c
SM
15211 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15212 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15213 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15214
15215 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15216 position in `tramp-process-actions' call.
15217
15218 * net/trampver.el: Update release number.
15219
e92f3bd3
SM
152202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15221
850256b5
SM
15222 * custom.el (defcustom): Obey lexical-binding.
15223
e92f3bd3
SM
15224 Fix octave-inf completion problems reported by Alexander Klimov.
15225 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15226 Inherit from octave-mode-syntax-table.
15227 (inferior-octave-mode): Set info-lookup-mode.
15228 (inferior-octave-completion-at-point): New function.
15229 (inferior-octave-complete): Use it and completion-in-region.
15230 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15231 comint-filename-completion.
15232 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15233 symbol elements which shouldn't be word elements.
15234 (octave-font-lock-keywords, octave-beginning-of-defun)
15235 (octave-function-header-regexp): Adjust regexps accordingly.
15236 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15237
cd22b309
JB
152382011-04-25 Juanma Barranquero <lekktu@gmail.com>
15239
15240 * net/gnutls.el (gnutls-errorp): Declare before first use.
15241
8b492194
TZ
152422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15243
15244 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15245 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15246 default trustfile exists before going to use it. Add missing
5a5fa834 15247 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15248 Reported by Claudio Bley <claudio.bley@gmail.com>.
15249 (open-gnutls-stream): Add usage example.
15250
15251 * net/network-stream.el (network-stream-open-starttls): Give host
15252 parameter to `gnutls-negotiate'.
15253 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15254 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15255
841a1577 152562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15257
cd22b309
JB
15258 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15259 Use correct match group (bug#8438).
05842630 15260
3ba7869c
CY
152612011-04-24 Chong Yidong <cyd@stupidchicken.com>
15262
512e3ae1
CY
15263 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15264 (package-menu--generate): New arg specifying packages to show.
15265 (package-menu-refresh, package-menu-execute, list-packages):
15266 Callers changed.
15267 (package-show-package-list): New function, replacing deleted
15268 package--list-packages (renamed because it is non-internal).
15269
15270 * finder.el (finder-list-matches): Use package-show-package-list
15271 instead of deleted package--list-packages.
15272
e92f3bd3
SM
15273 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15274 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15275 (vc-annotate-mode-map): Bind it to RET.
15276
7031be6d
UR
152772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15278
15279 * progmodes/etags.el (next-file): Don't use set-buffer to change
15280 buffers (Bug#8478).
15281
4ef177aa
CY
152822011-04-24 Chong Yidong <cyd@stupidchicken.com>
15283
c8d173eb
CY
15284 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15285
4ef177aa
CY
15286 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15287 (apropos-accumulator): Doc fix.
15288 (apropos-function, apropos-macro, apropos-command)
15289 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15290 (apropos-plist): Add face property.
15291 (apropos-symbols-internal): Fix indentation.
15292 (apropos-print): Simplify help, and recognize apropos-multi-type.
15293 (apropos-print-doc): Use button-type-get to extract the button's
15294 face property. Fill docstring (Bug#8352).
15295
4ffd0d6b 152962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15297
15298 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15299
c6c32125 15300 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15301 (mpuz-mode-map): Use mapc.
c6c32125
JB
15302 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15303 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15304 Fix typos in docstrings.
15305
58d468b4
JB
15306 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15307 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15308
6470c3c6
JB
15309 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15310
4ffd0d6b 153112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15312
15313 * minibuffer.el (completion--do-completion): Avoid the "Next char
15314 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15315
3ad8bad0
CY
15316 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15317 mouse-2 into unread-command-events, it is interpreted correctly.
15318
71d73c9c 15319 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15320 (image-toggle-display): Doc fix.
71d73c9c 15321
841a1577 153222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15323
4ffd0d6b
GM
15324 * textmodes/page.el (what-page): Use line-number-at-pos to
15325 calculate line number (Bug#6825).
6e1dbaa9 15326
c2fb1b60
JB
153272011-04-22 Juanma Barranquero <lekktu@gmail.com>
15328
15329 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15330 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15331 Pass argument NO-DEFAULT to `find-tag-interactive'.
15332
e02f48d7
JB
153332011-04-22 Juanma Barranquero <lekktu@gmail.com>
15334
15335 Lexical-binding cleanup.
15336
15337 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15338 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15339 * progmodes/ada-prj.el (ada-prj-initialize-values)
15340 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15341 (ada-prj-show-value):
15342 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15343 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15344 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15345 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15346 * progmodes/bug-reference.el (bug-reference-push-button):
15347 * progmodes/fortran.el (fortran-line-length):
15348 * progmodes/glasses.el (glasses-change):
15349 * progmodes/octave-mod.el (octave-fill-paragraph):
15350 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15351 (python-pdbtrack-grub-for-buffer, python-sentinel):
15352 * progmodes/sql.el (sql-save-connection):
15353 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15354 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15355 Mark unused parameters.
15356
15357 * progmodes/compile.el (compilation--flush-directory-cache)
15358 (compilation--flush-parse, compile-internal): Mark unused parameters.
15359 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15360 (compilation-next-error-function): Remove unused variable `timestamp'.
15361
15362 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15363 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15364
15365 * progmodes/dcl-mode.el (dcl-end-of-command):
15366 Remove unused variable `start'.
15367 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15368 (dcl-option-value-basic, dcl-option-value-offset)
15369 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15370 Mark unused parameters.
15371 (dcl-save-local-variable): Remove unused variable `val'.
15372 (mode): Declare.
15373
15374 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15375 Mark unused parameters.
15376 (delphi-ignore-changes): Move before first use.
15377 (delphi-charset-token-at): Remove unused variable `start'.
15378 (delphi-else-start): Remove unused variable `if-count'.
15379 (delphi-comment-block-start, delphi-comment-block-end):
15380 Remove unused variable `kind'.
15381 (delphi-indent-line): Remove unused variable `new-point'.
15382
15383 * progmodes/ebrowse.el (ebrowse-files-list)
15384 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15385 Mark unused parameters. Don't quote `lambda'.
15386 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15387 Don't quote `lambda'.
15388 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15389 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15390 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15391 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15392 Use `ignore-errors'.
15393 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15394 (ebrowse-view/find-file-and-search-pattern)
15395 (ebrowse-view/find-member-declaration/definition):
15396 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15397 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15398 Rename parameter PREFIX-ARG to PREFIX.
15399 (ebrowse-tags-read-name): Remove unused variables `start' and
15400 `member-info'.
15401 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15402 to `tags-file'.
15403
15404 * progmodes/etags.el (local-find-tag-hook): Declare.
15405 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15406 Mark unused parameters.
15407
15408 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15409 (executable-interpret): Mark unused parameter.
15410
15411 * progmodes/flymake.el (flymake-process-sentinel)
15412 (flymake-after-change-function)
15413 (flymake-create-temp-with-folder-structure)
15414 (flymake-get-include-dirs-dot): Mark unused parameters.
15415 (flymake-safe-delete-directory): Remove unused variable `err'.
15416
15417 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15418 (speedbar-timer-fn, speedbar-line-text)
15419 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15420 (speedbar-center-buffer-smartly): Declare functions.
15421 (gdb-find-watch-expression): Remove unused variable `array'.
15422 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15423 (gdb-starting): Mark unused parameters.
15424 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15425 (gdb-table-string): Remove unused variable `res'.
15426 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15427 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15428 (gdb-display-buffer): Remove unused variable `cur-size'.
15429
15430 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15431 allow lexical-binding compilation.
15432 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15433 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15434 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15435 Mark unused parameters.
15436 (gud-gdb-marker-filter): Remove unused variable `match'.
15437 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15438 lambda expressions and funcall them, instead of using `fset'.
15439
15440 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15441 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15442
15443 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15444 variable `header-beg'; use `let'.
15445
15446 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15447 `restart', `last-sexp' and `at-do'.
15448
15449 * progmodes/js.el (js--debug): Mark unused parameter.
15450 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15451 (js--splice-into-items): Remove unused variable `item'.
15452 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15453
15454 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15455 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15456 (makefile-complete): Remove unused variable `try'.
15457 (makefile-fill-paragraph, makefile-match-function-end):
15458 Mark unused parameters.
15459
15460 * progmodes/octave-inf.el (inferior-octave-complete):
15461 Remove unused variable `proc'.
15462 (inferior-octave-output-digest): Mark unused parameter.
15463
15464 * progmodes/perl-mode.el (perl-calculate-indent):
15465 Remove unused variable `err'.
15466
15467 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15468 (prolog-indent-line): Mark unused parameters.
15469 (prolog-indent-line): Remove unused variable `beg'.
15470
15471 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15472 (reporter-dont-compact-list): Declare.
15473
15474 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15475 Remove unused variable `char'.
15476 (sh-debug): Mark unused parameter.
15477 (sh-get-indent-info): Remove unused variable `start'.
15478 (sh-calculate-indent): Remove unused variable `var'.
15479
15480 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15481 (simula-electric-keyword): Remove unused variable `null'.
15482 (simula-search-backward, simula-search-forward): Remove unused
15483 variables `begin' and `end'.
15484
15485 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15486 Remove unused variable `pos'.
15487 (vera-electric-tab, vera-comment-uncomment-region):
15488 Mark unused parameters.
15489 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15490
7ede3b65
CY
154912011-04-22 Chong Yidong <cyd@stupidchicken.com>
15492
15493 * emacs-lisp/package.el (package--builtins, package-alist)
15494 (package-load-descriptor, package-built-in-p, package-activate)
15495 (define-package, package-installed-p)
15496 (package-compute-transaction, package-buffer-info)
15497 (package--push): Doc fix. Distinguish more clearly between
15498 version strings and version lists.
15499
121656e9
JB
155002011-04-21 Juanma Barranquero <lekktu@gmail.com>
15501
15502 Lexical-binding cleanup.
15503
15504 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15505 (5x5-make-mutate-best):
15506 * play/fortune.el (fortune-in-buffer):
15507 * play/gomoku.el (gomoku-init-display):
15508 * play/solitaire.el (solitaire, solitaire-do-check):
15509 * play/tetris.el (tetris-default-update-speed-function):
15510 Mark unused parameters.
15511
15512 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15513 (bubbles--shift): Remove unused variable `char-org'.
15514 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15515 (bubbles--show-images): Remove unused variable `char'.
15516
15517 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15518 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15519 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15520 (decipher-analyze-buffer): Use ?\s.
15521 (decipher-make-checkpoint): Remove unused variable `mapping'.
15522
15523 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15524
15525 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15526 Remove unused variable `result'; use `let'.
15527
15528 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15529 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15530 (gametree-children-shown-p, gametree-compute-reduced-score):
15531 Use `ignore-errors'.
15532
15533 * play/handwrite.el (ps-lpr-switches): Declare.
15534 (handwrite): Remove unused variables `pmin' and `lastp'.
15535
15536 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15537
15538 * play/landmark.el (landmark-init-display)
15539 (landmark-update-naught-weights): Mark unused parameters.
15540 (landmark-y): Remove unused variable `noise'. Simplify.
15541 (landmark-human-plays): Remove unused variable `score'.
15542
15543 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15544 (mpuz-try-proposal): Remove unused variable `game'.
15545
15546 * play/zone.el (life-patterns): Declare.
15547
80f499c7
JB
155482011-04-20 Juanma Barranquero <lekktu@gmail.com>
15549
15550 * vc/vc.el (ediff-vc-internal): Declare function.
15551
024ff170
SM
155522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15553
c0a193ea
SM
15554 * shell.el: Use lexical-binding and std completion UI.
15555 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15556 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15557 comint-preoutput-filter-functions rather than on
15558 comint-output-filter-functions.
15559 (shell-command-completion, shell--command-completion-data)
15560 (shell-filename-completion, shell-environment-variable-completion)
15561 (shell-c-a-p-replace-by-expanded-directory): New functions.
15562 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15563 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15564 (shell-dynamic-complete-environment-variable): Use them.
15565 (shell-dynamic-complete-as-environment-variable)
15566 (shell-dynamic-complete-as-command): Remove.
15567 (shell-match-partial-variable): Match past point.
15568 * comint.el: Clean up use of completion-at-point-functions.
15569 (comint-completion-at-point): New function.
15570 (comint-mode): Use it completion-at-point-functions.
15571 (comint-dynamic-complete): Make it obsolete.
15572 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15573 (comint-c-a-p-replace-by-expanded-history): New function.
15574 (comint-dynamic-complete-functions)
15575 (comint-replace-by-expanded-history): Use it.
15576 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15577 termination strings. Try harder to avoid second try-completion.
15578 (completion-in-region-mode-map): Disable bindings that don't work yet.
15579
2dbaa080
SM
15580 * comint.el: Use lexical-binding. Require CL.
15581 (comint-dynamic-complete-functions): Use comint-filename-completion.
15582 (comint-completion-addsuffix): Tweak custom type.
15583 (comint-filename-completion, comint--common-suffix)
15584 (comint--common-quoted-suffix, comint--table-subvert)
15585 (comint--complete-file-name-data): New functions.
15586 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15587 (comint-dynamic-list-filename-completions): Use them.
15588 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15589
2dbaa080
SM
15590 * minibuffer.el (completion-in-region-mode):
15591 Keep completion-in-region-mode--predicate global.
15592 (completion-in-region--postch):
15593 Assume completion-in-region-mode--predicate is not null.
15594
c79a6f38
SM
15595 * progmodes/flymake.el (flymake-start-syntax-check-process):
15596 Obey `dir'. Simplify.
15597
024ff170
SM
15598 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15599 we're in VC after all.
15600
1c6c854e
CS
156012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15602
15603 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15604 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15605 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15606
bed7f140
SM
156072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15608
332e62ab
SM
15609 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15610 add sanity check.
15611
bed7f140
SM
15612 * obsolete/erc-hecomplete.el: Make obsolete.
15613 * obsolete/: Standardize obsolescence info in the header.
15614
f195c582
GM
156152011-04-20 Glenn Morris <rgm@gnu.org>
15616
15617 * calendar/solar.el (solar-horizontal-coordinates):
15618 Use the longitude argument rather than `calendar-longitude'.
15619 (solar-date-next-longitude): Remove unused locals.
15620
cb79b8c0
VJL
156212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15622
15623 * whitespace.el: New version 13.2.1.
15624
156252011-04-20 felix <EmacsWiki> (tiny change)
15626
d8e4b68b 15627 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15628 switching between major modes on a file.
15629
602ea69d
SM
156302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15633 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15634 multi-line comments as well.
15635
06b60517
JB
156362011-04-19 Juanma Barranquero <lekktu@gmail.com>
15637
15638 Lexical-binding cleanup.
15639
15640 * arc-mode.el (archive-mode-revert):
15641 * cmuscheme.el (scheme-interactively-start-process):
15642 * custom.el (custom-initialize-delay):
15643 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15644 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15645 * emacs-lock.el (emacs-lock-clear-sentinel):
15646 * ezimage.el (defezimage):
15647 * follow.el (follow-avoid-tail-recenter):
15648 * fringe.el (set-fringe-mode-1):
15649 * generic-x.el (bat-generic-mode-compile):
15650 * help-mode.el (help-info-variable, help-do-xref)
15651 (help-mode-revert-buffer):
15652 * help.el (view-emacs-todo):
15653 * iswitchb.el (iswitchb-completion-help):
15654 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15655 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15656 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15657 * locate.el (locate-update):
15658 * longlines.el (longlines-encode-region)
15659 (longlines-after-change-function):
15660 * outline.el (outline-isearch-open-invisible):
15661 * ps-def.el (declare-function, charset-dimension, char-width)
15662 (encode-char):
15663 * ps-mule.el (ps-mule-plot-string):
15664 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15665 (recentf-edit-list-select, recentf-edit-list-validate)
15666 (recentf-open-files-action):
15667 * rect.el (delete-whitespace-rectangle-line)
15668 (rectangle-number-line-callback):
15669 * register.el (window-configuration-to-register)
15670 (frame-configuration-to-register):
15671 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15672 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15673 (xselect-convert-to-targets, xselect-convert-to-delete)
15674 (xselect-convert-to-filename, xselect-convert-to-charpos)
15675 (xselect-convert-to-lineno, xselect-convert-to-colno)
15676 (xselect-convert-to-os, xselect-convert-to-host)
15677 (xselect-convert-to-user, xselect-convert-to-class)
15678 (xselect-convert-to-name, xselect-convert-to-integer)
15679 (xselect-convert-to-atom, xselect-convert-to-identity):
15680 * subr.el (declare, ignore, process-kill-without-query)
15681 (text-clone-maintain):
15682 * terminal.el (te-get-char, te-tic-sentinel):
15683 * tool-bar.el (tool-bar-make-keymap):
15684 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15685 * type-break.el (type-break-mode, type-break-noninteractive-query):
15686 * view.el (View-back-to-mark):
15687 * wid-browse.el (widget-browse-action, widget-browse-widget)
15688 (widget-browse-widgets, widget-browse-sexp):
15689 * widget.el (define-widget-keywords):
15690 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15691 Mark unused parameters.
15692
15693 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15694 (align-areas): Remove unused variable `look'.
15695 (align-region): Remove unused variables `real-end' and `pos-list'.
15696
15697 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15698
15699 * bindings.el (mode-line-modified, mode-line-remote):
15700 Mark unused parameters.
15701 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15702
15703 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15704 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15705
15706 * comint.el (comint-history-isearch-pop-state)
15707 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15708 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15709 (comint-substitute-in-file-name): Doc fix.
15710
15711 * completion.el (cmpl-statistics-block): Mark unused parameter.
15712 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15713 (save-completions-to-file, load-completions-from-file):
15714 Remove unused local variable `e'.
15715
15716 * composite.el (compose-chars): Remove unused variable `len'.
15717 (lgstring-insert-glyph): Remove unused variable `g'.
15718 (compose-glyph-string): Remove unused variables `ascent',
15719 `descent', `lbearing' and `rbearing'.
15720 (compose-glyph-string-relative): Remove unused variables
15721 `lbearing', `rbearing' and `wadjust'.
15722 (compose-gstring-for-graphic): Remove unused variables `header',
15723 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15724 (compose-gstring-for-terminal): Remove unused variables `header'
15725 and `nchars'. Use `let', not `let*'.
15726
15727 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15728 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15729 (Custom-buffer-done, custom-buffer-create-internal)
15730 (custom-browse-visibility-action, custom-browse-group-tag-action)
15731 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15732 (widget-magic-mouse-down-action, custom-toggle-parent)
15733 (custom-add-parent-links, custom-toggle-hide-variable)
15734 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15735 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15736 (custom-face-menu-create, custom-variable-menu-create, get)
15737 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15738 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15739 (customize-apropos): Remove unused variable `tests'.
15740 (custom-group-value-create): Remove unused variable `hidden-p'.
15741 (sort-fold-case): Declare.
15742
15743 * cus-theme.el (custom-reset-standard-faces-list)
15744 (custom-reset-standard-variables-list): Declare.
15745 (customize-create-theme, custom-theme-revert, custom-theme-write)
15746 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15747 Mark unused parameters.
15748
15749 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15750
15751 * delim-col.el (delimit-columns-max): Move defvar before first use.
15752
15753 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15754 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15755
15756 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15757 (auto-insert): Declare.
15758 (desktop-restore-file-buffer): Rename desktop-* parameters;
15759 mark unused ones.
15760 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15761 (desktop-buffer): Rename desktop-* parameters.
15762
15763 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15764 (dframe-reposition-frame-xemacs, dframe-help-echo)
15765 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15766 Mark unused parameters.
15767
15768 * dired-aux.el (backup-extract-version-start, overwrite-query)
15769 (overwrite-backup-query, rename-regexp-query)
15770 (rename-non-directory-query): Declare.
15771 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15772 (dired-add-entry): Remove unused variable `orig-file-name'.
15773 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15774 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15775 `dired-copy-preserve-time' directly.
15776 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15777 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15778
15779 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15780 (dired-virtual-revert, dired-make-relative-symlink):
15781 Mark unused parameters.
15782 (manual-program): Declare.
15783 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15784 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15785 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15786
15787 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15788
15789 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15790
15791 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15792 Declare.
15793
15794 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15795
15796 * electric.el (Electric-command-loop): Rename parameter
15797 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15798
15799 * expand.el (expand-in-literal): Remove unused variable `here'.
15800
15801 * facemenu.el (facemenu-add-new-color):
15802 Remove unused variable `docstring'.
15803
15804 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15805 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15806 (face-attr-construct): Mark unused parameter. Doc fix.
15807 (read-color): Remove unused variable `hex-string'.
15808
15809 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15810 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15811 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15812 (display-buffer-other-frame): Remove unused variable `old-window'.
15813 (kill-buffer-hook): Declare.
15814 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15815 Mark unused parameters.
15816 (after-find-file): Pass 1 to `auto-save-mode', not t.
15817
15818 * files-x.el (auto-insert): Declare.
15819 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15820
15821 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15822 variable `buf'. Mark unused parameter.
06b60517
JB
15823 (find-lisp-insert-directory): Mark unused parameter.
15824
15825 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15826 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15827 (format-common-tail): Remove, unused.
15828 (format-deannotate-region): Remove unused variable `loc'.
15829 (format-annotate-region): Remove unused variable `p'.
15830 (format-annotate-single-property-change): Remove unused variables
15831 `default' and `tail'.
15832
15833 * forms.el (read-file-filter): Declare.
15834 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15835
15836 * frame.el (frame-creation-function-alist): Mark unused parameter.
15837 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15838
15839 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15840 Remove unused parameters.
15841 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15842 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15843
15844 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15845 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15846 (hfy-prepare-tag-map): Mark unused parameters.
15847 (htmlfontify-buffer): Use `called-interactively-p'.
15848
15849 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15850 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15851 (ibuffer-do-occur): Mark unused parameters.
15852 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15853 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15854
15855 * ibuffer.el: Don't quote `lambda'.
15856 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15857 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15858 Mark unused parameters.
15859
15860 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15861 (ido-completing-read): Mark unused parameters.
15862 (ido-copy-current-word): Mark unused parameters;
15863 remove unused variable `name'.
15864 (ido-sort-merged-list): Remove unused parameter `dirs'.
15865
15866 * ielm.el (ielm-input-sender): Mark unused parameter.
15867 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15868 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15869 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15870 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15871 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15872
15873 * image-dired.el (image-dired-display-thumbs): Remove unused
15874 variables `curr-file' and `count'.
15875 (image-dired-remove-tag): Remove unused variable `start'.
15876 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15877 variable `curr-file'
15878 (image-dired-rotate-original): Remove unused variable `temp-file'.
15879 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15880 Remove unused variable `file'.
15881 (image-dired-gallery-generate): Remove unused variable `curr'.
15882 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15883
15884 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15885
15886 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15887
15888 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15889
15890 * isearch.el (minibuffer-history-symbol): Declare.
15891 (isearch-edit-string): Remove unused variable `err'.
15892 (isearch-message-prefix, isearch-message-suffix):
15893 Mark unused parameters.
15894
15895 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15896
15897 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15898
15899 * makesum.el (double-column): Remove unused variable `cnt'.
15900
15901 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15902 (ido-ignore-item-temp-list): Declare.
15903
15904 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15905 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15906 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15907 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15908 `mouse-col-delta'.
15909
15910 * mouse-sel.el (mouse-extend-internal):
15911 Remove unused variable `orig-window-frame'.
15912
15913 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15914 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15915 Move declarations before first use.
15916 (pcomplete-opt): Mark unused parameters; doc fix.
15917
15918 * proced.el (proced-revert): Mark unused parameter.
15919 (proced-send-signal): Remove unused variable `err'.
15920
15921 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15922 Rename parameter PREFIX-ARG to ARG.
15923 (ps-basic-plot-string, ps-basic-plot-whitespace):
15924 Mark unused parameters.
15925
15926 * replace.el (replace-count): Define.
15927 (occur-revert-function): Mark unused parameters.
15928 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15929 (isearch-case-fold-search, isearch-string): Declare.
15930 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15931 bind `case-fold-search'. Remove unused variables `beg' and `end',
15932 and simplify.
15933 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15934 COUNT and bind `replace-count'.
15935 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15936 to COUNT.
15937
15938 * savehist.el (print-readably, print-string-length): Declare.
15939
15940 * shadowfile.el (shadow-expand-cluster-in-file-name):
15941 Remove unused variable `cluster'.
15942 (shadow-copy-file): Remove unused variable `i'.
15943 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15944 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15945 (shadow-define-literal-group, shadow-define-regexp-group)
15946 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15947
15948 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15949 (shell): Use `called-interactively-p'.
15950 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15951
15952 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15953 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15954 (delete-backward-char): Remove unused variable `ocol'.
15955 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15956 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15957 (event-apply-hyper-modifier, event-apply-shift-modifier)
15958 (event-apply-control-modifier, event-apply-meta-modifier):
15959 Mark unused parameters.
15960 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15961 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15962
15963 * speedbar.el (speedbar-ignored-directory-expressions)
15964 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15965 (speedbar-find-file, speedbar-dir-follow)
15966 (speedbar-directory-buttons-follow, speedbar-tag-find)
15967 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15968 (speedbar-buffers-line-directory, speedbar-buffer-click):
15969 Mark unused parameters.
15970 (speedbar-tag-file): Remove unused variable `mode'.
15971 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15972
15973 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15974
15975 * talk.el (talk): Remove unused variable `display'.
15976
15977 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15978 (tar-write-region-annotate): Mark unused parameter.
15979
15980 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15981 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15982 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15983 warning by another.
15984
15985 * time-stamp.el (time-stamp-string-preprocess):
15986 Remove unused variable `require-padding'.
15987
15988 * tree-widget.el (widget-glyph-enable): Declare.
15989 (tree-widget-action): Mark unused parameter.
15990
15991 * w32-fns.el (x-get-selection): Mark unused parameter.
15992 (autoload-make-program, generated-autoload-file): Declare.
15993
15994 * wdired.el (wdired-revert): Mark unused parameters.
15995 (wdired-xcase-word): Remove unused variable `err'.
15996
15997 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15998 (whitespace-help-scroll): Remove unused variable `data-help'.
15999
16000 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16001 (widget-image-insert, widget-after-change, default)
16002 (widget-default-format-handler, widget-default-notify)
16003 (widget-default-prompt-value, widget-info-link-action)
16004 (widget-url-link-action, widget-function-link-action)
16005 (widget-variable-link-action, widget-file-link-action)
16006 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16007 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16008 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16009 (widget-insert-button-action, widget-delete-button-action, visibility)
16010 (widget-documentation-link-action, widget-documentation-string-action)
16011 (widget-const-prompt-value, widget-regexp-match, symbol)
16012 (widget-coding-system-prompt-value)
16013 (widget-key-sequence-value-to-external, sexp)
16014 (widget-sexp-value-to-internal, character, vector, cons)
16015 (widget-choice-prompt-value, widget-boolean-prompt-value)
16016 (widget-color--choose-action): Mark unused parameters.
16017 (widget-item-match-inline, widget-choice-match-inline)
16018 (widget-checklist-match, widget-checklist-match-inline)
16019 (widget-group-match): Rename parameter VALUES to VALS.
16020 (widget-field-value-set): Remove unused variable `size'.
16021 (widget-color-action): Remove unused variables `value' and `start'.
16022
16023 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16024 variable `dir'. Doc fix.
06b60517
JB
16025 (windmove-find-other-window): Don't pass it.
16026
16027 * window.el (count-windows): Mark unused parameter.
16028 (bw-adjust-window): Remove unused variable `err'.
16029
16030 * woman.el (woman-file-name): Remove unused variable `default'.
16031 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16032 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16033 (global-font-lock-mode): Declare.
16034 (woman-decode-region): Mark unused parameter.
16035 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16036
16037 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16038 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16039 (x-dnd-handle-moz-url): Remove unused variable `title'.
16040 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16041
16042 * xml.el (xml-parse-tag, xml-parse-attlist):
16043 Remove unused variable `pos'.
16044
bc4f7f3d
GM
160452011-04-19 Glenn Morris <rgm@gnu.org>
16046
16047 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16048 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16049 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16050 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16051 * calendar/cal-html.el (cal-html-insert-minical):
16052 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16053 (calendar-mark-date-pattern):
16054 Prefix "unused" locals.
16055
16056 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16057 optional argument `style'.
16058
16059 * calendar/appt.el (appt-make-list):
16060 * calendar/cal-china.el (calendar-chinese-date-string):
16061 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16062 (diary-hebrew-yahrzeit):
16063 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16064 * calendar/calendar.el (calendar-generate-window):
16065 * calendar/time-date.el (time-to-days):
16066 Remove unused local variables.
16067
16a43933
CY
160682011-04-18 Chong Yidong <cyd@stupidchicken.com>
16069
16070 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16071 glyphless-char-display table.
16072 (tabulated-list-glyphless-char-display): New var.
16073
7eed1860
SS
160742011-04-18 Sam Steingold <sds@gnu.org>
16075
16076 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16077 to acknowledgments.
16078
4d2d1ccd
GM
160792011-04-17 Glenn Morris <rgm@gnu.org>
16080
16081 * calendar/diary-lib.el (diary-sexp-entry):
16082 * calendar/holidays.el (holiday-sexp):
16083 Set debug-on-error rather than the removed stack-trace-on-error.
16084
239da61d
GM
160852011-04-16 Glenn Morris <rgm@gnu.org>
16086
16087 * progmodes/f90.el: Use lexical-binding.
16088 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16089
8b05752a
SM
160902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16091
daca8ba5
SM
16092 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16093 (mail-mode): Setup mailalias completion here instead.
16094 * mail/mailalias.el: Use lexical-binding.
16095 (pattern, mailalias-done): Declare dynamic.
16096 (mail-completion-at-point-function): New function, from mail-complete.
16097 (mail-complete): Use it.
16098 (mail-completion-expand): New function.
16099 (mail-get-names): Use it.
16100 (mail-directory, mail-directory-process, mail-directory-stream):
16101 Don't use `pattern' for lexically bound arg.
16102
6f542485
SM
16103 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16104
037e7c3f
SM
16105 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16106 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16107 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16108
8b05752a
SM
16109 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16110 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16111 (byte-interactive-p): Define them again, for use when inlining
16112 old code.
16113
49093f60
JB
161142011-04-15 Juanma Barranquero <lekktu@gmail.com>
16115
16116 * loadup.el: Use `string-to-number', not `string-to-int'.
16117
b5b8e7de
SM
161182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16121 gud-gdb-complete-command.
16122 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16123 (gud-gdb-completion-at-point): New function.
16124 (gud-gdb-completions): Remove.
16125
f42efeb5
MA
161262011-04-14 Michael Albinus <michael.albinus@gmx.de>
16127
49093f60
JB
16128 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16129 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16130 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16131 whether `executable-find' is bound.
f42efeb5
MA
16132
16133 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16134
e240cc21
SM
161352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * minibuffer.el (completion-in-region-mode-predicate)
16138 (completion-in-region-mode--predicate): New vars.
16139 (completion-in-region, completion-in-region--postch)
16140 (completion-in-region-mode): Use them.
16141 (completion--capf-wrapper): Also return the hook function.
16142 (completion-at-point, completion-help-at-point):
16143 Adjust and provide a predicate.
c2bd2ab0
SM
16144
16145 Preserve arg names for advice of subr and lexical functions (bug#8457).
16146 * help-fns.el (help-function-arglist): Consolidate the subr and
16147 new-byte-code cases. Add argument `preserve-names' to extract names
16148 from the docstring when needed.
16149 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16150 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16151 (ad-arglist): Use help-function-arglist's new arg.
16152 (ad-definition-type): Use cond.
16153
c183f693
JB
161542011-04-13 Juanma Barranquero <lekktu@gmail.com>
16155
06641a47
JB
16156 * autorevert.el (auto-revert-handler):
16157 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16158 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16159 Don't quote lambda.
16160
c183f693
JB
16161 * image-mode.el (image-transform-set-scale):
16162 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16163
1e3b6001
G
161642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16165
16166 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16167 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16168 Upgrades via gnutls-cli are too slow to be done opportunistically.
16169
2d6af8dd
JB
161702011-04-12 Juanma Barranquero <lekktu@gmail.com>
16171
16172 * dframe.el (dframe-current-frame): Remove spurious quote.
16173
c0749a51
GM
161742011-04-12 Glenn Morris <rgm@gnu.org>
16175
088d0d61
GM
16176 * calendar/cal-tex.el (cal-tex-end-document):
16177 Try to automatically use latin1 input if needed.
16178
c0749a51
GM
16179 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16180 Don't try to cons a mark onto an empty element.
16181
5c90fde0
LL
161822011-04-11 Leo Liu <sdl.web@gmail.com>
16183
16184 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16185 buffers.
16186 (ido-kill-buffer-at-head): Support killing virtual buffers.
16187
369e974d
CY
161882011-04-10 Chong Yidong <cyd@stupidchicken.com>
16189
16190 * minibuffer.el (completion-show-inline-help): New var.
16191 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16192 (minibuffer-force-complete, minibuffer-complete-word):
16193 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16194
16195 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16196 to avoid interference from inline help (Bug#5849).
16197
37f1c930
LL
161982011-04-10 Leo Liu <sdl.web@gmail.com>
16199
099c39a4
JB
16200 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16201 Fix typo.
37f1c930 16202
a32d4040
CY
162032011-04-09 Chong Yidong <cyd@stupidchicken.com>
16204
16205 * image-mode.el (image-toggle-display-image): Signal an error if
16206 not in Image mode.
16207 (image-transform-mode, image-transform-resize)
16208 (image-transform-set-rotation): Doc fix.
daca8ba5 16209 (image-transform-set-resize): Delete.
a32d4040
CY
16210 (image-transform-set-scale, image-transform-fit-to-height)
16211 (image-transform-fit-to-width): Handle image-toggle-display-image
16212 and image-transform-resize directly.
16213
099c39a4 162142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16215
16216 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16217 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16218 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16219 (doc-view-mode-map): Add bindings for the new functions.
16220
099c39a4 162212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16222
4d61f28d 16223 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16224 Fix typo in docstring.
16225
3726838a
EZ
162262011-04-08 Eli Zaretskii <eliz@gnu.org>
16227
04f33f1e
EZ
16228 * files.el (file-size-human-readable): Produce one digit after
16229 decimal, like "ls -lh" does.
16230
16231 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16232 the file size representation.
16233
3726838a
EZ
16234 * simple.el (list-processes): If async subprocesses are not
16235 available, error out with a clear error message.
16236
cbb59342
CY
162372011-04-08 Chong Yidong <cyd@stupidchicken.com>
16238
16239 * help.el (help-form-show): New function, to be called from C.
16240 Put help-form output in a buffer named differently than *Help*.
16241
e3971c44
EZ
162422011-04-08 Eli Zaretskii <eliz@gnu.org>
16243
16244 * files.el (file-size-human-readable): New function.
16245
16246 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16247 computing the representation inline. Don't require `cl'.
16248
12544bbe
GM
162492011-04-08 Glenn Morris <rgm@gnu.org>
16250
a1de6c6a
GM
16251 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16252
3c4671f4
GM
16253 * net/browse-url.el (browse-url-firefox):
16254 Test system-type, not system-configuration.
16255
b605679c
GM
16256 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16257 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16258 Use log-edit-empty-buffer-p. (Bug#7598)
16259
56442f0c
GM
16260 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16261 (rlogin-mode-map): Initialize in the defvar.
16262 (rlogin): Use ignore-errors.
16263
12544bbe
GM
16264 * replace.el (occur-mode-map): Some fixes for menu items.
16265
eb237b0f
AH
162662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16267
16268 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16269
7d668f2c
CY
162702011-04-06 Chong Yidong <cyd@stupidchicken.com>
16271
e67a13ab
CY
16272 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16273 issuing unused warnings.
16274
16275 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16276 macro directly.
16277
7d668f2c
CY
16278 * simple.el: Lisp reimplement of list-processes. Based on an
16279 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16280 (process-menu-mode): New major mode.
16281 (list-processes--refresh, list-processes):
16282 (process-menu-visit-buffer): New functions.
16283
16284 * files.el (save-buffers-kill-emacs): Don't assume any return
16285 value of list-processes, which is undocumented anyway.
16286
a83ec3c9
CY
162872011-04-06 Chong Yidong <cyd@stupidchicken.com>
16288
16289 * emacs-lisp/tabulated-list.el: New file.
16290
e91a96fe
CY
16291 * emacs-lisp/package.el: Use Tabulated List mode.
16292 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16293 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16294 table format using Tabulated List mode variables.
16295 (package--push): New macro, replacing package-list-maybe-add.
16296 (package-menu--generate): Use package--push. Renamed from
16297 package--generate-package-list.
16298 (package-menu-refresh, list-packages): Use it.
daca8ba5 16299 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16300 Return insertion data instead of inserting it directly.
099c39a4
JB
16301 (package-menu-describe-package, package-menu-execute):
16302 Use tabulated-list-get-id.
e91a96fe
CY
16303 (package-menu-mark-delete, package-menu-mark-install)
16304 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16305 (package-menu-mark-obsolete-for-deletion):
16306 Use tabulated-list-put-tag.
e91a96fe
CY
16307 (package--list-packages, package-menu-revert)
16308 (package-menu-get-package, package-menu-get-version)
16309 (package-menu-sort-by-column): Functions deleted.
16310 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16311 (package-menu--status-predicate, package-menu--version-predicate)
16312 (package-menu--name-predicate)
16313 (package-menu--description-predicate): Handle arguments in the
16314 Tabulated List format.
16315 (package-list-packages-no-fetch): Call list-packages.
16316
3e214b50
JB
163172011-04-06 Juanma Barranquero <lekktu@gmail.com>
16318
16319 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16320 (after-find-file): Don't bind it.
3e214b50
JB
16321 (revert-buffer-in-progress-p): New variable.
16322 (revert-buffer): Bind it.
16323 Pass nil for `after-find-file-from-revert-buffer'.
16324
16325 * saveplace.el (save-place-find-file-hook): Use new variable
16326 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16327
3f0f1700
GM
163282011-04-06 Glenn Morris <rgm@gnu.org>
16329
c0274801
GM
16330 * Makefile.in (AUTOGEN_VCS): New variable.
16331 (autoloads): Use $AUTOGEN_VCS.
16332
3f0f1700
GM
16333 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16334 * calendar/calendar.el (calendar-mode-map):
16335 Check for toolkit scroll bars. (Bug#8305)
16336
41ea9e48
CY
163372011-04-05 Chong Yidong <cyd@stupidchicken.com>
16338
16339 * minibuffer.el (completion-in-region--postch)
16340 (completion-in-region-mode): Remove unnecessary messages.
16341
6194c800
JB
163422011-04-05 Juanma Barranquero <lekktu@gmail.com>
16343
33256f14
JB
16344 * font-lock.el (font-lock-refresh-defaults):
16345 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16346 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16347
6194c800
JB
16348 * info.el (Info-directory-list, Info-read-node-name-2)
16349 (Info-split-parameter-string): Doc fixes.
16350 (Info-virtual-nodes): Reflow docstring.
16351 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16352 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16353 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16354 Fix typos in docstrings.
16355 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16356 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16357 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16358 (Info-restore-desktop-buffer): Mark unused parameters.
16359 (Info-directory-find-file, Info-directory-find-node)
16360 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16361 (Info-virtual-index-find-node, Info-apropos-find-file)
16362 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16363 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16364 (Info-virtual-index): Remove unused local variable `nodename'.
16365
b87a8200 163662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16367
b87a8200
DD
16368 * net/rcirc.el: Update my e-mail address.
16369 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16370
3b2ff876
CY
163712011-04-05 Chong Yidong <cyd@stupidchicken.com>
16372
16373 * startup.el (command-line): Save the cursor's theme-face
16374 directly, instead of using face-override-spec.
16375
16376 * custom.el (load-theme): Minor optimization in assigning faces.
16377
8d17e7ca
JB
163782011-04-04 Juanma Barranquero <lekktu@gmail.com>
16379
16380 * help-fns.el (describe-variable): Complete all variables having
16381 documentation, including keywords.
16382 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16383
2fbc1934
JB
163842011-04-04 Juanma Barranquero <lekktu@gmail.com>
16385
16386 Convert to lexical-binding.
16387
16388 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16389 (bs--get-marked-string, bs--get-modified-string)
16390 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16391 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16392 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16393
16394 * ehelp.el (electric-help-execute-extended)
16395 (electric-help-ctrl-x-prefix):
16396 * hexl.el (hexl-revert-buffer-function):
16397 * linum.el (linum-after-change, linum-after-scroll):
16398 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16399
16400 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16401
74f50695
DU
164022011-04-04 Daiki Ueno <ueno@unixuser.org>
16403
16404 * epa-dired.el:
16405 * epa-mail.el:
16406 * epa-hook.el:
16407 * epa-file.el:
16408 * epa.el:
16409 * epg.el: Use lexical binding.
16410
c11325f7
CY
164112011-04-03 Chong Yidong <cyd@stupidchicken.com>
16412
0d9e9a12
CY
16413 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16414
c11325f7 16415 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16416 dictionary case for flyspell-mark-duplications-exceptions.
16417 Use regexp matching for languages.
c11325f7
CY
16418 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16419 default dictionary (Bug#7926).
16420
da91b5f2
CY
164212011-04-02 Chong Yidong <cyd@stupidchicken.com>
16422
099c39a4
JB
16423 * emacs-lisp/package.el (package--with-work-buffer):
16424 Recognize https URLs.
da91b5f2 16425
099c39a4
JB
16426 * net/network-stream.el: Move from gnus/proto-stream.el.
16427 Change prefix to network-stream throughout.
da91b5f2
CY
16428 (open-protocol-stream): Merge into open-network-stream, leaving
16429 open-protocol-stream as an alias. Handle nil BUFFER args.
16430
16431 * subr.el (open-network-stream): Move to net/network-stream.el.
16432
afa8e9f6
GM
164332011-04-02 Glenn Morris <rgm@gnu.org>
16434
1d2e369d
GM
16435 * find-dired.el (find-exec-terminator): New option.
16436 (find-ls-option): Test for -ls support.
16437 (find-ls-subdir-switches): Test for -b in find-ls-option.
16438 (find-dired, find-grep-dired): Doc fixes.
16439 (find-dired): Use find-exec-terminator.
16440
8abb7da8 16441 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16442 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16443 (find-name-arg): Remove purecopy.
8abb7da8 16444
f3ca7378
GM
16445 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16446 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16447 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16448 accordingly. Don't add the null-device if not needed.
16449
afa8e9f6
GM
16450 * files.el (save-some-buffers): Doc fix.
16451
35eae264
EZ
164522011-04-02 Eli Zaretskii <eliz@gnu.org>
16453
16454 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16455
26b51db5
JB
164562011-04-01 Juanma Barranquero <lekktu@gmail.com>
16457
16458 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16459 Use `dolist' rather than `mapcar'.
16460
7200d79c
SM
164612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16462
03408648 16463 Add lexical binding.
7200d79c 16464
03408648
SM
16465 * subr.el (apply-partially): Use new closures rather than CL.
16466 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16467 (dolist, dotimes): Use slightly different expansion for lexical code.
16468 (functionp): Move to C.
16469 (letrec): New macro.
16470 (with-wrapper-hook): Use it and apply-partially instead of CL.
16471 (eval-after-load): Preserve lexical-binding.
16472 (save-window-excursion, with-output-to-temp-buffer): Turn them
16473 into macros.
7200d79c 16474
03408648
SM
16475 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16476
16477 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16478 than the arglist.
16479 (help-add-fundoc-usage): Don't add `Not documented'.
16480 (help-function-arglist): Handle closures, subroutines, and new
16481 byte-code-functions.
16482 (help-make-usage): Remove leading underscores.
16483 (describe-function-1): Handle closures.
16484 (describe-variable): Use special-variable-p for completion.
16485
16486 * files.el (lexical-binding): Declare safe.
f488fb65 16487
03408648
SM
16488 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16489 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16490 (pcase): Add `let' pattern.
16491 Change memoization so it actually works.
16492 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16493 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16494 <let>: New case.
f488fb65 16495
03408648
SM
16496 * emacs-lisp/macroexp.el: Use lexical binding.
16497 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16498 Don't convert ' to #' without checking that it's indeed quoting
16499 a lambda.
16500
16501 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16502 Use eval-sexp-add-defvars.
03408648
SM
16503 (eval-sexp-add-defvars): New fun.
16504
16505 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16506
16507 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16508 Don't autoload.
16509 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16510 than the internal `byte-compile-lambda'.
16511 (defmethod): Don't hide code under quotes.
16512 (eieio-defmethod): New `code' argument.
16513
16514 * emacs-lisp/eieio-comp.el: Remove.
16515
16516 * emacs-lisp/edebug.el (edebug-eval-defun)
16517 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16518 (edebug-toggle): Avoid `eval'.
16519
16520 * emacs-lisp/disass.el (disassemble-internal): Handle new
16521 `closure' objects.
16522 (disassemble-1): Handle new byte codes.
16523
16524 * emacs-lisp/cl.el (pushnew): Silence warning.
16525
16526 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16527 (cl-byte-compile-throw): Remove.
16528 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16529
16530 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16531 closures.
16532
16533 * emacs-lisp/cconv.el: New file.
16534
16535 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16536 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16537 (byte-compile-initial-macro-environment):
16538 Handle declare-function here.
16539 (byte-compile--lexical-environment): New var.
16540 (byte-stack-ref, byte-stack-set, byte-discardN)
16541 (byte-discardN-preserve-tos): New lap codes.
16542 (byte-interactive-p): Don't use any more.
16543 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16544 New macros.
16545 (byte-compile-lapcode): Use them and handle new lap codes.
16546 (byte-compile-obsolete): Remove.
16547 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16548 (byte-compile-arglist-warn): Check late def of inlinable funs.
16549 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16550 since they should have been expanded by now.
16551 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16552 (byte-compile-from-buffer): Remove unused second arg.
16553 (byte-compile-preprocess): New function.
16554 (byte-compile-toplevel-file-form): New function to distinguish
16555 file-form calls from outside from file-form calls from hunk-handlers.
16556 (byte-compile-file-form): Simplify.
16557 (byte-compile-file-form-defsubst): Remove.
16558 (byte-compile-file-form-defmumble): Simplify now that
16559 byte-compile-lambda always returns a byte-code-function.
16560 (byte-compile): Preprocess.
16561 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16562 Remove, not used any more.
16563 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16564 (byte-compile-make-args-desc): New funs.
16565 (byte-compile-lambda): Handle lexical functions. Always return
16566 a byte-code-function.
16567 (byte-compile-reserved-constants): New var, to make up room for
16568 closed-over variables.
16569 (byte-compile-constants-vector): Obey it.
16570 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16571 (byte-compile-macroexpand-declare-function): New function.
16572 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16573 byte-code-functions.
16574 (byte-compile-form): Check obsolescence here.
16575 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16576 (byte-compile-variable-ref): Remove.
16577 (byte-compile-dynamic-variable-op): New fun.
16578 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16579 (byte-compile-variable-set): New funs.
16580 (byte-compile-discard): Add 2 args.
16581 (byte-compile-stack-ref, byte-compile-stack-set)
16582 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16583 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16584 macroexpand-all instead.
16585 (byte-compile-quote-form): Remove.
16586 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16587 (byte-compile-bind, byte-compile-unbind): New funs.
16588 (byte-compile-let): Handle let* and lexical binding.
16589 (byte-compile-let*): Remove.
16590 (byte-compile-catch, byte-compile-unwind-protect)
16591 (byte-compile-track-mouse, byte-compile-condition-case):
16592 Handle a new :fun-body form, used for lexical scoping.
16593 (byte-compile-save-window-excursion)
16594 (byte-compile-with-output-to-temp-buffer): Remove.
16595 (byte-compile-defun): Simplify.
16596 (byte-compile-stack-adjustment): New fun.
16597 (byte-compile-out): Use it.
16598 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16599
16600 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16601 handler any more.
16602
16603 * emacs-lisp/byte-opt.el: Use lexical binding.
16604 (byte-inline-lapcode): Remove (to bytecomp).
16605 (byte-compile-inline-expand): Pay attention to inlining to/from
16606 lexically bound code.
16607 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16608 any more.
16609 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16610 any more and don't call compiler-macros.
16611 (byte-compile-splice-in-already-compiled-code): Remove.
16612 (byte-code): Don't inline any more.
16613 (disassemble-offset): Receive `bytes' as argument rather than via
16614 dynamic scoping.
16615 (byte-compile-tag-number): Declare before first use.
16616 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16617 `return' even if make-spliceable.
16618 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16619 obsolete interactive-p.
16620 (byte-optimize-lapcode): Optimize new lap-codes.
16621 Don't trip up on new form of `byte-constant' lap code.
16622
16623 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16624
16625 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16626
16627 * custom.el (custom-initialize-default, custom-declare-variable):
16628 Use `defvar'.
16629
16630 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16631 New variables.
16632 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16633 (COMPILE_FIRST): Add macroexp and cconv.
16634 * makefile.w32-in: Mirror changes in Makefile.in.
16635
16636 * vc/cvs-status.el:
16637 * vc/diff-mode.el:
16638 * vc/log-edit.el:
16639 * vc/log-view.el:
16640 * vc/smerge-mode.el:
16641 * textmodes/bibtex-style.el:
090bd7cb 16642 * textmodes/css-mode.el:
03408648
SM
16643 * startup.el:
16644 * uniquify.el:
da91b5f2
CY
16645 * minibuffer.el:
16646 * newcomment.el:
16647 * reveal.el:
16648 * server.el:
16649 * mpc.el:
16650 * emacs-lisp/smie.el:
16651 * doc-view.el:
16652 * dired.el:
03408648
SM
16653 * abbrev.el: Use lexical binding.
16654
0f0c1f27
EZ
166552011-04-01 Eli Zaretskii <eliz@gnu.org>
16656
16657 * info.el (info-display-manual): New function.
16658
c82b2579
SM
166592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16660
16661 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16662
221ddf68
TH
166632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16664
16665 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16666 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16667
cba6e77e
GM
166682011-03-31 Glenn Morris <rgm@gnu.org>
16669
e040639f
GM
16670 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16671
cba6e77e
GM
16672 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16673
6d0f1c9e
CS
166742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16675
16676 * progmodes/python.el (python-default-interpreter)
16677 (python-python-command-args, python-jython-command-args)
16678 (python-which-shell, python-which-args, python-which-bufname)
16679 (python-file-queue, python-comint-output-filter-function)
16680 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16681 variables and functions.
16682
3e2d70fd
SM
166832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16684
16685 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16686 (completion-in-region-mode): New minor mode.
16687 (completion-in-region): Use it.
16688 (completion-in-region--data, completion-in-region-mode-map): New vars.
16689 (completion-in-region--postch): New function.
16690 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16691 New vars.
16692 (completion--capf-wrapper): New function.
16693 (completion-at-point): Use it to track well-behavedness of
16694 hook functions.
16695 (completion-help-at-point): New command.
16696
f3e4086c
JM
166972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16698
16699 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16700 syntax class to search for whitespace on a single line
16701 (Message-ID: <4D938140.4030905@redhat.com>).
16702
eb7ffc14
LL
167032011-03-30 Leo Liu <sdl.web@gmail.com>
16704
16705 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16706 New commands.
16707 (edit-abbrevs-map): Bind them here.
16708 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16709
d806ab68
KM
167102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16711
16712 * allout.el (allout-hide-by-annotation, allout-flag-region):
16713 Reduce possibility of overlay leakage by making them volatile.
16714
16715 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16716 hash is not shared between buffers. Mode initialization is
16717 responsible for giving it a useful starting value.
16718 (allout-item-span): Reduce possibility of overlay leakage by
16719 making them volatile.
16720 (allout-widgets-count-buttons-in-region): Add diagnostic function
16721 for tracking down button overlay leaks.
16722
ea622834
LL
167232011-03-29 Leo Liu <sdl.web@gmail.com>
16724
16725 * ido.el (ido-read-internal): Use the default history var
16726 minibuffer-history if no HISTORY is specified.
16727
b62f8267
G
167282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16729
03408648
SM
16730 * net/imap.el (imap-shell-open, imap-process-connection-type):
16731 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16732 Kerberos, SSL, other subprocesses.
16733
947b6566
LL
167342011-03-28 Leo Liu <sdl.web@gmail.com>
16735
16736 * abbrev.el (abbrev-table-empty-p): New function.
16737 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16738 nonempty ones. (Bug#5937)
16739
5ffb62aa
JD
167402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16741
16742 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16743
7a097943
LL
167442011-03-27 Leo Liu <sdl.web@gmail.com>
16745
16746 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16747 for foreground and background colors.
16748 (ansi-color-make-color-map): Adapt.
16749
c5b40130
LL
167502011-03-25 Leo Liu <sdl.web@gmail.com>
16751
1f48f7d2
LL
16752 * midnight.el (midnight-time-float): Remove. Note it calculates
16753 the microsecond component incorrectly and seconds-to-time does the
16754 same job.
625897ec 16755 Remove redundant (require 'timer).
1f48f7d2 16756
c5b40130
LL
16757 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16758 (ido-completions): Remove unused arguments. (Bug#8329)
16759
d86d2721
SM
167602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16761
16762 * minibuffer.el (completion--flush-all-sorted-completions):
16763 Remove itself from hook.
16764 (completion-at-point): Let the functions perform the completion
16765 immediately and return nil or t.
16766 * comint.el (comint-dynamic-complete-functions): Now identical to
16767 completion-at-point-functions.
16768 (comint-dynamic-list-input-ring): Remove unused var `index'.
16769 (comint--match-partial-filename, comint--unquote&expand-filename):
16770 New funs, split from comint-match-partial-filename.
16771 (comint-dynamic-complete): Use completion-at-point.
16772 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16773
e8974c48
DA
167742011-03-24 Drew Adams <drew.adams@oracle.com>
16775
16776 * thingatpt.el: Support `defun'.
16777
def71b5e
LL
167782011-03-23 Leo Liu <sdl.web@gmail.com>
16779
cb5af48e
LL
16780 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16781
def71b5e
LL
16782 * help-mode.el (help-mode-finish): Tweak regexp.
16783
927c53e7
GM
167842011-03-23 Glenn Morris <rgm@gnu.org>
16785
18d05bed
GM
16786 * eshell/esh-opt.el (eshell-eval-using-options):
16787 Do not bind unused local variable `eshell-option-stub'.
16788
927c53e7
GM
16789 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16790
9d0da923
JB
167912011-03-22 Juanma Barranquero <lekktu@gmail.com>
16792
16793 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16794 keymap variable in `with-no-warnings' to avoid a warning when the
16795 keymap has been already `defconst'ed.
16796
4b978a67
LL
167972011-03-22 Leo Liu <sdl.web@gmail.com>
16798
16799 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16800 encode all chars in abbrevs; otherwise use emacs-mule or
16801 utf-8-emacs. (Bug#8308)
16802
5fd62452
JB
168032011-03-22 Juanma Barranquero <lekktu@gmail.com>
16804
0b1596c6
JB
16805 * simple.el (backward-delete-char-untabify):
16806 Avoid warning about using `delete-backward-char'.
16807
5fd62452
JB
16808 * image.el (image-type-file-name-regexps): Make it variable.
16809 `imagemagick-register-types' modifies it, and the user may want
16810 to add new extensions for known image types.
16811 (imagemagick-register-types): Throw error if not using ImageMagick.
16812
0b4e93f1
LL
168132011-03-22 Leo Liu <sdl.web@gmail.com>
16814
16815 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16816 located before rcirc-prompt-end-marker.
16817 (rcirc-complete): Error if point is not after rcirc prompt.
16818 Handle the case when table is nil.
9882e214 16819 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16820
fccee4ab
CY
168212011-03-22 Chong Yidong <cyd@stupidchicken.com>
16822
16823 * custom.el (custom--inhibit-theme-enable): Make it affect only
16824 custom-theme-set-variables and custom-theme-set-faces.
16825 (provide-theme): Ignore custom--inhibit-theme-enable.
16826 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16827 (custom-enabling-themes): Delete variable.
d86d2721
SM
16828 (enable-theme): Accept only loaded themes as arguments.
16829 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16830 (custom-enabled-themes): Forbid themes from setting this.
16831 Eliminate use of custom-enabling-themes.
16832 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16833
af896da6
LL
168342011-03-21 Leo Liu <sdl.web@gmail.com>
16835
16836 * ido.el (ido-read-internal): Add ido-selected to history instead
16837 of user input.
16838
78f64af0
SM
168392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16840
16841 * subr.el (deferred-action-list, deferred-action-function):
16842 Mark obsolete.
16843
b16ac1ec
LL
168442011-03-21 Leo Liu <sdl.web@gmail.com>
16845
810f7698
LL
16846 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16847 change on 2011-02-13 (bug#8309).
16848
b16ac1ec
LL
16849 * minibuffer.el (read-file-name-function): Change default value.
16850 (read-file-name--defaults): Rename from read-file-name-defaults.
16851 (read-file-name-default): Rename from read-file-name.
16852 (read-file-name): Call read-file-name-function.
16853
4e05e67e
GM
168542011-03-21 Glenn Morris <rgm@gnu.org>
16855
16856 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16857 Doc fixes.
16858
4359915b
CY
168592011-03-21 Chong Yidong <cyd@stupidchicken.com>
16860
16861 * cus-theme.el: Add missing provide statement.
16862 (customize-create-theme): Extract theme value correctly.
16863 (custom-theme-visit-theme): Autoload.
16864 (customize-create-theme): Prompt before inserting default faces.
16865
1fe275ee
JB
168662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16867
16868 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16869 units and musical notes.
16870
cd394be1 168712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16872
16873 * ido.el (ido-read-internal): Use completing-read-default.
16874 (ido-completing-read): Fix compatibility with completing-read.
16875
7d476bde
CO
168762011-03-20 Christian Ohler <ohler@gnu.org>
16877
16878 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16879 (ert-delete-all-tests): Use `called-interactively-p' rather than
16880 `interactive-p'.
16881 (ert--make-xrefs-region): Respect END.
16882
fe0fb33e
CY
168832011-03-19 Chong Yidong <cyd@stupidchicken.com>
16884
ff854b0b
CY
16885 * dired-aux.el (dired-create-directory): Signal an error if the
16886 directory already exists (Bug#8246).
16887
fe0fb33e
CY
16888 * facemenu.el (list-colors-display): Call list-faces-display
16889 inside with-help-window.
16890 (list-colors-print): Use display property to align the final
16891 column, instead of checking window-width.
16892
576bce32
EZ
168932011-03-19 Eli Zaretskii <eliz@gnu.org>
16894
4d61f28d 16895 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16896 windows-nt systems.
16897 (emerge-protect-metachars): Quote correctly for ms-dos and
16898 windows-nt systems.
16899
89c41d68 169002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16901
16902 * info.el (info-initialize): Replace all uses of `:' with
16903 path-separator for compatibility with non-Unix systems.
16904 Cache quoting of path-separator. (Bug#8258)
16905
b14e3e21 169062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16907
16908 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16909 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16910 (mouse-avoidance-mode): Fix typos in docstrings.
16911
4525ce3e
CY
169122011-03-19 Chong Yidong <cyd@stupidchicken.com>
16913
16914 * startup.el (package-subdirectory-regexp): Move from package.el.
16915 Omit \\` and \\', and let callers add them.
16916
16917 * emacs-lisp/package.el (package-strip-version)
16918 (package-load-all-descriptors): Add \\` and \\' to
16919 package-subdirectory-regexp before using it.
16920 (package-untar-buffer): New arg DIR; ensure that file untars only
16921 into this expected directory. Remove superfluous delete-region.
16922 (package-unpack): Caller changed.
16923 (package-tar-file-info): Use package-subdirectory-regexp.
16924
a904a09a 169252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16926
a904a09a
SM
16927 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16928 diff-mode-shared-map (bug#8284).
16929 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16930
169312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16932
16933 * calendar/time-date.el (format-seconds): Use assoc instead of
16934 assoc-string, since assoc-string doesn't exist in XEmacs.
16935
171fc304
JB
169362011-03-17 Juanma Barranquero <lekktu@gmail.com>
16937
16938 * custom.el (custom-known-themes): Reflow docstring.
16939 (custom-theme-load-path): Fix typo in docstring.
16940 (load-theme): Fix typo in error message.
16941 (custom-available-themes, custom-variable-theme-value):
16942 Use `let', not `let*'.
16943
d71990a1
JB
169442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16945
16946 * calc/README: Mention inclusion of musical notes.
16947
16948 * calc/calc-units.el (calc-lu-quant): Rename from
16949 `calc-logunits-quantity'.
16950 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16951 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16952 (calc-db): Rename from `calc-dblevel'.
16953 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16954 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16955 (calc-np): Rename from `calc-nplevel'.
16956 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16957 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16958 (calc-lu-plus): Rename from `calc-logunits-add'.
16959 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16960 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16961 (calc-lu-minus): Rename from `calc-logunits-sub'.
16962 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16963 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16964 (calc-lu-times): Rename from `calc-logunits-mul'.
16965 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16966 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16967 (calc-lu-divide): Rename from `calc-logunits-div'.
16968 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16969 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16970
16971 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16972 functions being autoloaded.
16973
16974 * calc/calc.el (calc-lu-power-reference): Rename from
16975 `calc-logunits-power-reference'.
16976 (calc-lu-field-reference): Rename from
16977 `calc-logunits-field-reference'.
16978
7a71b18d
GM
16979 * calc/calc-help.el (calc-l-prefix-help):
16980 Mention musical note functions.
d71990a1 16981
40c2934b
SM
169822011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * minibuffer.el (completion-all-sorted-completions):
16985 Use :completion-cycle-penalty text property if present.
16986
b0911414
KM
169872011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16988
16989 * allout.el (allout-yank-processing): Adjust for new rebulleting
16990 regime so bullet being yanked is used without prompting the user
16991 for a choice.
16992
8a05b668
JB
169932011-03-16 Juanma Barranquero <lekktu@gmail.com>
16994
16995 * startup.el (command-line): Warn the user that _emacs is deprecated.
16996
5ba5fb81
JB
169972011-03-16 Juanma Barranquero <lekktu@gmail.com>
16998
16999 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17000 (delphi-verbose, delphi-comment-face, delphi-string-face)
17001 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17002 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17003 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17004 (delphi-new-comment-line, delphi-font-lock-defaults)
17005 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17006 Fix typos in docstrings.
17007
2dab465b
KM
170082011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17009
5ba5fb81 17010 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17011 Invert the roles of character and string values for INSTEAD, so a
17012 string is used for the more common case of a defaulting prompt.
17013
0adf5618
SM
170142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17015
17016 * progmodes/ruby-mode.el (ruby-backward-sexp):
17017 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17018 * play/gamegrid.el (gamegrid-make-face):
17019 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17020 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17021 * notifications.el (notifications-notify):
17022 * net/xesam.el (xesam-search-engines):
17023 * net/quickurl.el (quickurl-list-insert):
17024 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17025
d72700e5
CY
170262011-03-15 Chong Yidong <cyd@stupidchicken.com>
17027
17028 * startup.el (command-line): Update package subdirectory regexp.
17029
49c5410a
SM
170302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17031
c6eee9aa
SM
17032 * allout.el (allout-abbreviate-flattened-numbering)
17033 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17034
49c5410a
SM
17035 * subr.el (read-char-choice): Only show the cursor after the prompt,
17036 not after the answer.
17037
047b2bb9
KR
170382011-03-15 Kevin Ryde <user42@zip.com.au>
17039
17040 * help-fns.el (variable-at-point): Skip leading quotes, if any
17041 (bug#8253).
17042
0a57d256
SM
170432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17044
17045 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17046 warning message.
17047
77c992bc
MA
170482011-03-14 Michael Albinus <michael.albinus@gmx.de>
17049
17050 * shell.el (shell): When called interactively, offer to change the
17051 shell file name on remote hosts.
17052
eebc475d
TZ
170532011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17054
17055 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17056 integration for LDAP parameters. The host, base, user or binddn,
17057 and secret tokens can be specified in a netrc file, for instance.
17058 This is optional because an `auth-source' parameter must be
17059 specified in the search attributes.
17060
9d05d1ba
JB
170612011-03-13 Juanma Barranquero <lekktu@gmail.com>
17062
17063 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17064
09d9db2c
GM
170652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17066
17067 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17068 into declaration. Remove redundant and harmful binding.
17069
170702011-03-12 Eli Zaretskii <eliz@gnu.org>
17071
17072 * files.el (file-ownership-preserved-p): Pass `integer' as an
17073 explicit 2nd argument to `file-attributes'. If the file's owner
17074 is the Administrators group on Windows, and the current user is
17075 Administrator, consider that a match.
17076
17077 * server.el (server-ensure-safe-dir): Consider server directory
17078 safe on MS-Windows if its owner is the Administrators group while
17079 the current Emacs user is Administrator. Use `=' to compare
17080 numerical UIDs, since they could be integers or floats.
17081
219bd536
JB
170822011-03-12 Juanma Barranquero <lekktu@gmail.com>
17083
17084 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17085
f3afd36b
MA
170862011-03-12 Michael Albinus <michael.albinus@gmx.de>
17087
17088 Sync with Tramp 2.2.1.
17089
17090 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17091
17092 * net/trampver.el: Update release number.
17093
3aaaa6f1
SM
170942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17095
94642599
SM
17096 * progmodes/compile.el (compilation--previous-directory): Fix up
17097 various nil/dead-marker mismatches (bug#8014).
17098 (compilation-directory-properties, compilation-error-properties):
17099 Don't call it at a position past the one we're about to change.
17100
3aaaa6f1
SM
17101 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17102 Disable obsolescence warnings in the file that declares it.
17103
14239447
KM
171042011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17105
099c39a4
JB
17106 * allout-widgets.el (allout-widgets-tally):
17107 Initialize allout-widgets-tally as a hash table rather than nil to
17108 prevent mode-line redisplay warnings. Also, clarify the module
17109 description and fix a comment typo.
14239447 17110
135e287c
JB
171112011-03-11 Juanma Barranquero <lekktu@gmail.com>
17112
17113 * help-fns.el (describe-variable): Don't complete keywords.
17114 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17115
ffbf300e
CY
171162011-03-10 Chong Yidong <cyd@stupidchicken.com>
17117
ba08b241
CY
17118 * emacs-lisp/package.el (package-version-join): Impose a standard
17119 string representation for pre/alpha/beta version lists.
17120 (package-unpack-single): Standardize the directory name by passing
17121 it through package-version-join.
17122 (package-strip-rcs-id): Accept any version string that does not
17123 signal an error in version-to-list.
ffbf300e 17124
f346fd6b
MA
171252011-03-10 Michael Albinus <michael.albinus@gmx.de>
17126
17127 * simple.el (delete-trailing-whitespace): Return nil for the
17128 benefit of `write-file-functions'.
17129
ccb55d27
GM
171302011-03-10 Glenn Morris <rgm@gnu.org>
17131
5ceaac0c
GM
17132 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17133
02da65ff
GM
17134 * vc/vc-git.el (vc-git-program): New option.
17135 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17136 (vc-git--call): Use it.
17137
b2f603cc
GM
17138 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17139
5772caab
GM
17140 * cus-edit.el (Custom-newline): If no button at point, look
17141 for a subgroup button at start-of-line. (Bug#2298)
17142
ccb55d27
GM
17143 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17144
ec6ecaed
JD
171452011-03-10 Julien Danjou <julien@danjou.info>
17146
17147 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17148 `cursor-type' is nil.
17149
9d5aa01d
JB
171502011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17151
17152 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17153
b6a5875b
KM
171542011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17155
7a71b18d 17156 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17157 preserves the existing header prefix, rebulleting it if necessary,
17158 rather than replacing it. This is necessary for proper operation
17159 of cooperative addons like allout-widgets.
1154d12e
JB
17160 (allout-make-topic-prefix, allout-rebullet-heading):
17161 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17162 value as alternate bullet to be used, instead of prompting the user
17163 for a bullet character.
b6a5875b 17164
ee545c35
MA
171652011-03-09 Michael Albinus <michael.albinus@gmx.de>
17166
d86d2721
SM
17167 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17168 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17169 `tramp-default-port'.
17170
c47971d7
DD
171712011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17172
17173 * net/rcirc.el (rcirc-handler-001): Remove useless
17174 with-rcirc-process-buffer.
17175 (rcirc-check-auth-status): Swap arguments to string-match.
17176
13522cb4
GM
171772011-03-09 Glenn Morris <rgm@gnu.org>
17178
0be6f4f1
GM
17179 * shell.el (shell-mode):
17180 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17181
13522cb4
GM
17182 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17183 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17184
515de2e3
CY
171852011-03-08 Chong Yidong <cyd@stupidchicken.com>
17186
17187 * emacs-lisp/package.el (package-refresh-contents)
17188 (package-menu-execute): Use condition-case-no-debug.
17189
b511b994
MA
171902011-03-08 Michael Albinus <michael.albinus@gmx.de>
17191
17192 * simple.el (shell-command-to-string): Use `process-file'.
17193
17194 * emacs-lisp/package.el (package-tar-file-info): Handle also
17195 remote files.
17196
d86d2721
SM
17197 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17198 Use `equal' for upload base check.
b511b994 17199
25bbfb31
AM
172002011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17201
17202 * textmodes/texinfo.el (texinfo-environments):
17203 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17204
be996521
GM
172052011-03-08 Glenn Morris <rgm@gnu.org>
17206
e9c8529f
GM
17207 * cus-start.el (cursor-in-non-selected-windows):
17208 Fix :set quoting oddness. (Bug#8192)
17209
be996521
GM
17210 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17211 in some setf expressions. (Bug#2159)
17212
2bb5649e
CY
172132011-03-08 Chong Yidong <cyd@stupidchicken.com>
17214
17215 * custom.el (custom-available-themes): Return themes in
17216 alphabetical order.
17217
33383987 17218See ChangeLog.15 for earlier changes.
e3d51b27
MR
17219
17220;; Local Variables:
17221;; coding: utf-8
e3d51b27
MR
17222;; End:
17223
acaf905b 17224 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17225
17226 This file is part of GNU Emacs.
17227
17228 GNU Emacs is free software: you can redistribute it and/or modify
17229 it under the terms of the GNU General Public License as published by
17230 the Free Software Foundation, either version 3 of the License, or
17231 (at your option) any later version.
17232
17233 GNU Emacs is distributed in the hope that it will be useful,
17234 but WITHOUT ANY WARRANTY; without even the implied warranty of
17235 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17236 GNU General Public License for more details.
17237
17238 You should have received a copy of the GNU General Public License
17239 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.