Give permanent-local property to per-buffer variables without defaults.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dea31bd3
CY
12012-07-13 Chong Yidong <cyd@gnu.org>
2
3 * bindings.el: Assign a non-nil permanent-local property to
4 per-buffer variables which lack a default value (Bug#11930).
5
6 * help-fns.el (describe-variable): In the "automatically becomes
7 local" notice, take note of permanent-local variables.
8
b68b3337
CY
92012-07-13 Chong Yidong <cyd@gnu.org>
10
11 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
12 to allow printing the message when called from Lisp.
13
14 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15 Remove toggle-read-only.
16
17 * bs.el (bs-toggle-readonly):
18 * buff-menu.el (Buffer-menu-toggle-read-only): Remove
19 with-no-warnings around toggle-read-only.
20
21 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
22 Remove with-no-warnings around toggle-read-only.
23 (ffap-read-only, ffap-read-only-other-window)
24 (ffap-read-only-other-frame): Callers changed.
25
26 * help-mode.el: Don't require view package.
27 (help-mode-finish): Set buffer-read-only instead of calling
28 toggle-read-only.
29
30 * bindings.el (mode-line-toggle-read-only):
31 * dired.el (dired-toggle-read-only):
32 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
33 with non-nil second arg.
34
35 * emacs-lisp/eieio-custom.el (eieio-customize-object):
36 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
37 directly.
38
56bc1586
EZ
392012-07-12 Eli Zaretskii <eliz@gnu.org>
40
41 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
42 not incf.
43
a464a6c7
SM
442012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 More CL cleanups and reduction of use of cl.el.
47 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
48 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
49 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
50 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
51 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
52 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
53 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
54 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
55 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
56 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
57 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
58 * eshell/em-cmpl.el, eshell/em-banner.el:
59 * calendar/parse-time.el: Use cl-lib.
60 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
61 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
62 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
63 * term/ns-win.el, term.el, shell.el, ps-samp.el:
64 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
65 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
66 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
67 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
68 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
69 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
70 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
71 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
72 `lambda' rather than with `quote'.
73 (eshell-do-opt): Adjust accordingly.
74 (eshell-process-option): Simplify.
75 * eshell/esh-var.el:
76 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
77 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
78 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
79 to `pcase--dontcare'.
80 * emacs-lisp/cl.el (labels): Mark obsolete.
81 (cl--letf, letf): Move to cl-lib.
82 (cl--letf*, letf*): Remove.
83 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
84 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
85 (cl-progv): Rewrite.
86 (cl--letf, cl-letf): Move from cl.el.
87 (cl-letf*): New macro.
88 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
89
7ad4afe1
MA
902012-07-11 Michael Albinus <michael.albinus@gmx.de>
91
92 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
93
9af57756
CY
942012-07-11 Chong Yidong <cyd@gnu.org>
95
96 * vc/log-edit.el (log-edit-vc-backend): New variable.
97 (log-edit): Doc fix.
98
99 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
100 argument of log-edit to set up all local variables.
101 (vc-start-logentry): New optional arg specifying VC backend.
102
103 * vc/vc.el (vc-checkin): Use it.
104 (vc-deduce-fileset): Handle Log Edit buffers.
105 (vc-diff): Make first argument optional too.
106
107 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
108
8477cc7a
MA
1092012-07-10 Michael Albinus <michael.albinus@gmx.de>
110
111 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
112 command, just in case. The function is not needed anymore.
113 (eshell-external-command): Do not call `eshell-remote-command'.
114
19faa8e8
SM
1152012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
116
f58e0fd5
SM
117 Reduce use of (require 'cl).
118 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
119 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
120 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
121 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
122 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
123 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
124 * battery.el, avoid.el, abbrev.el: Use cl-lib.
125 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
126 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
127 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
128 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
129 * calculator.el, autorevert.el, apropos.el: Don't require CL.
130 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
131 (byte-compile-unfold-bcf, byte-compile-check-variable):
132 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
133 (byte-compile-nilconstp):
134 * emacs-lisp/autoload.el (make-autoload): Use pcase.
135 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
136
2519d43a
SM
137 * emacs-lisp/gv.el (cond): Make it a valid place.
138 (if): Simplify slightly.
139
19faa8e8
SM
140 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
141 (pcase--self-quoting-p): New function.
142 (pcase--u1): Use it.
143
c4907a5e
GM
1442012-07-10 Glenn Morris <rgm@gnu.org>
145
146 * emacs-lisp/authors.el (authors-fixed-entries):
147 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
148
c4444d16
PE
1492012-07-09 Paul Eggert <eggert@cs.ucla.edu>
150
151 Rename configure.in to configure.ac (Bug#11603).
152 * emacs-lisp/authors.el (authors-canonical-file-name):
153 * progmodes/autoconf.el (autoconf-mode):
154 Prefer configure.ac to configure.in.
155
d75be97d
CY
1562012-07-08 Chong Yidong <cyd@gnu.org>
157
01ac65bd
CY
158 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
159 Implement the mouse-1-click-follows-link handling properly.
160
161 * info.el (Info-link-keymap): Use follow-link mechanism for
162 header-line links (Bug#374).
163
d75be97d
CY
164 * simple.el (deactivate-mark): Do not set the primary selection
165 if another program has acquired it (Bug#11772).
166
87a92845 1672012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
168
169 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
170 (woman-decode-region): Replace escaped-escapes without destroying
171 bold or underline (Bug#11552).
87a92845 172 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 173
621b9d6c
CY
1742012-07-07 Chong Yidong <cyd@gnu.org>
175
176 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
177 (interprogram-cut-function, interprogram-paste-function):
178 Mention that we typically mean the clipboard.
621b9d6c 179
133a11fc
GM
1802012-07-06 Glenn Morris <rgm@gnu.org>
181
0d27a45e
GM
182 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
183
133a11fc
GM
184 * files.el (toggle-read-only): Restrict message to interactive use.
185
07b151f1
MA
1862012-07-06 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
189
190 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
191
211b896b
GM
1922012-07-06 Glenn Morris <rgm@gnu.org>
193
50394322
GM
194 * Makefile.in (compile-one-process): Rename from "recompile".
195
211b896b
GM
196 * Makefile.in (bzr-update): "compile" is the same as "recompile
197 autoloads", but parallelizable, so use that instead.
198
4737eec9
DG
1992012-07-06 Dmitry Gutov <dgutov@yandex.ru>
200
201 * window.el (quit-window): Always restore window height when
202 it's saved in quit-restore parameter.
203
226c3633 2042012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
205
206 * simple.el (kill-whole-line): Doc tweak.
207
226c3633 2082012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
209
210 * files.el (file-relative-name): Compare file names
211 case-insensitively if on MS-Windows or MS-DOS, or if
212 read-file-name-completion-ignore-case is non-nil. Don't use
213 case-fold-search for this purpose. (Bug#11827)
214
226c3633 2152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 216
19faa8e8
SM
217 * calendar/cal-dst.el (calendar-current-time-zone):
218 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 219
60198fc9
GM
2202012-07-06 Glenn Morris <rgm@gnu.org>
221
222 * Makefile.in (cvs-update): Remove old alias.
223
957b3189
MA
2242012-07-05 Michael Albinus <michael.albinus@gmx.de>
225
226 Sync with Tramp 2.2.6-pre.
227
228 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
229 compatible declaration.
230
19faa8e8
SM
231 * net/tramp-cmds.el (tramp-append-tramp-buffers):
232 Protect `list-load-path-shadows' call.
957b3189
MA
233
234 * net/tramp-compat.el (top): Require packages, which aren't
235 autoloaded anymore for XEmacs. Protect call of
236 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
237 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
238 it hurts at least for SXEmacs.
239 (tramp-compat-temporary-file-directory): In XEmacs, there is no
240 standard-value for `temporary-file-directory'.
241
242 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
243 Redirect stderr to /dev/null.
244 (tramp-sh-handle-write-region): uid and gid can be floats.
245 Reported by Russell Sim <russell.sim@gmail.com>.
246 (tramp-sh-handle-vc-registered): Hide errors.
247 (tramp-vc-file-name-handler): Use dummy results for `process-file'
248 and `start-file-process'.
249 (tramp-maybe-open-connection): Check also whether `non-essential'
250 is bound.
251
566df3fc
CY
2522012-07-04 Chong Yidong <cyd@gnu.org>
253
254 * xml.el (xml--parse-buffer): Use xml-syntax-table.
255 (xml-parse-tag): Likewise, and avoid changing entity tables.
256 (xml-syntax-table): Define from scratch, making sure not to give
257 x2000 and other Unicode spaces whitespace syntax, since those are
258 not spaces in XML.
259 (xml-parse-fragment): Delete unused function.
260 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
261 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
262 (xml-entity-ref, xml-pe-reference-re)
263 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
264 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
265 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
266 (xml-entity-value-re): Use syntax references in regexps where
267 possible; no need to define inside a let-binding.
268 (xml-parse-dtd): Use xml-pe-reference-re.
269 (xml-entity-or-char-ref-re): New defconst.
270 (xml-parse-string, xml-substitute-special): Use it.
271
30eabd7a
SM
2722012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
273
0781098a
SM
274 * files.el (locate-dominating-file): Allow `name' to be a predicate.
275 (find-file--read-only): New function.
276 (find-file-read-only, find-file-read-only-other-window)
277 (find-file-read-only-other-frame): Use it.
278 (insert-file-contents-literally): Don't `fset'.
279 (get-free-disk-space): Use locate-dominating-file.
280
b5771c0d
SM
281 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
282 function is already compiled.
283
30eabd7a
SM
284 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
285
b4886f6e
MA
2862012-07-03 Michael Albinus <michael.albinus@gmx.de>
287
288 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
289 files on the same host.
290
b9d82339
AS
2912012-07-03 Andreas Schwab <schwab@linux-m68k.org>
292
293 * help-fns.el (describe-function-1): Only call
294 help-fns--autoloaded-p when we have a file name. (Bug#11848)
295
a76e6535
CY
2962012-07-03 Chong Yidong <cyd@gnu.org>
297
298 * xml.el: Protect parser against XML bombs.
299 (xml-entity-expansion-limit): New variable.
300 (xml-parse-string, xml-substitute-special): Use it.
301 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
302
b544fef2
GM
3032012-07-03 Glenn Morris <rgm@gnu.org>
304
305 * progmodes/bug-reference.el (bug-reference-bug-regexp):
306 Allow linking to specific messages in debbugs reports (eg 123#5).
307
a7aef6f5
CY
3082012-07-02 Chong Yidong <cyd@gnu.org>
309
310 * xml.el: Fix entity and character reference expansion, allowing
311 them to expand into markup as per XML spec.
312 (xml-default-ns): New variable.
313 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
314 (xml-parse-region): Make first two arguments optional.
315 Discard text properties.
316 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
317 All callers changed.
a7aef6f5
CY
318 (xml-parse-tag): Call xml-parse-tag-1. For backward
319 compatibility, this function should not modify buffer contents.
320 (xml-parse-tag-1): Fix opening-tag regexp.
321 (xml-parse-string): Rewrite, handling entity and character
322 references properly.
323 (xml--entity-replacement-text): Signal an error if a parameter
324 entity is undefined.
325
3df31c9f
SM
3262012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
327
2b5208f1
SM
328 * comint.el (comint-output-filter): Filter out repeated prompts.
329
3df31c9f
SM
330 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
331 and file-name-absolute-p.
332 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
333 internal calls.
334
e3ac1281
PE
3352012-07-02 Paul Eggert <eggert@cs.ucla.edu>
336
337 Spelling fixes.
338 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
339 Rename from byte-compile--refiy-function. All uses changed.
340
fbf2e7ad
CY
3412012-07-01 Chong Yidong <cyd@gnu.org>
342
343 * xml.el (xml--parse-buffer): New function. Move most of
344 xml-parse-region here.
345 (xml-parse-region): Copy region into a temporary buffer, since
346 parameter entity substitution requires changing buffer contents.
347 Use xml--parse-buffer.
348 (xml-parse-file): Use xml--parse-buffer.
349 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 350 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 351
9bf0aa15
GM
3522012-06-30 Glenn Morris <rgm@gnu.org>
353
bbce2853
GM
354 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
355
9bf0aa15
GM
356 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
357 Remove outdated and unnecessary dbus declarations.
358
0d23c240
EZ
3592012-06-30 Eli Zaretskii <eliz@gnu.org>
360
361 * emacs-lisp/timer.el (timer-until): Subtract results of
362 float-time, instead of taking float-time of the result of
363 time-subtract, since float-time signals an error for negative time
364 arguments.
365
b3218de1
CY
3662012-06-30 Chong Yidong <cyd@gnu.org>
367
368 * xml.el (xml-*-re): Convert defvars into defconsts, and
369 eval-and-compile them so eval-and-compile works on derivatives.
370 (xml--entity-replacement-text): Use eval-and-comple.
371
a40c87a0
MA
3722012-06-30 Michael Albinus <michael.albinus@gmx.de>
373
374 * vc/vc-git.el (vc-git-registered): Use cache property
375 `git-registered'.
376 (vc-git-mode-line-string): Call `vc-working-revision' instead of
377 `vc-git-working-revision' in order to benefit from the cache.
378 (vc-git-root): Use cache property `git-root'.
379
ac87de97
DG
3802012-06-30 Dmitry Gutov <dgutov@yandex.ru>
381
382 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
383 removed (likely outside Emacs).
384
ac10fe06
SM
3852012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
386
3df31c9f 387 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 388
7f3fbd5d
CY
3892012-06-30 Chong Yidong <cyd@gnu.org>
390
391 * xml.el: Implement XML parameter entities.
392 (xml-parameter-entity-alist): New variable.
393 (xml-parse-region, xml-parse-fragment): Preserve previous values
394 of xml-entity-alist and xml-parameter-entity-alist, so that
395 repeated calls on different documents do not change them.
396 (xml-parse-tag): Fix doctype regexp.
397 (xml--entity-replacement-text): New function.
398 (xml-parse-dtd): Use it. Don't handle system entities; doing that
399 properly requires url retrieval which is unimplemented.
400 (xml-escape-string): Doc fix.
401
3cfbebba
SM
4022012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
405
2af3565e
DA
4062012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
407
408 * fringe.el (fringe-mode): Doc fix.
409
929df0e7
MA
4102012-06-29 Michael Albinus <michael.albinus@gmx.de>
411
412 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
413 is non-nil.
414 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
415 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
416
c8d3a25c 4172012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 418
c8d3a25c
GM
419 * calendar/cal-dst.el (calendar-current-time-zone):
420 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 421
c8d3a25c 4222012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
423
424 * progmodes/which-func.el (which-func-format):
425 Add mouse-face. (Bug#11698)
426
c8d3a25c
GM
4272012-06-29 Leo Liu <sdl.web@gmail.com>
428
429 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
430
4312012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * minibuffer.el (minibuffer-confirm-exit-commands):
434 Add completion-at-point (bug#11725).
435
4362012-06-29 Glenn Morris <rgm@gnu.org>
437
438 * progmodes/f90.el (f90-font-lock-keywords-2):
439 Add some preprocessor elements. (Bug#10499)
440
4412012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
442
443 * progmodes/cperl-mode.el (cperl-update-syntaxification):
444 Use syntax-propertize (bug#11739).
445
2badeec4
JB
4462012-06-28 Juanma Barranquero <lekktu@gmail.com>
447
448 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
449
ae4969c2
JD
4502012-06-28 Julien Danjou <julien@danjou.info>
451
452 * term.el (term-handle-colors-array): Use a set of new faces to
453 color the terminal. Also uses :inverse-video property.
454 (term-default-fg-color): Set to nil by default, deprecate in favor
455 of `term-face'.
456 (term-default-bg-color): Set to nil by default, deprecate in favor
457 of `term-face'.
458 (term-current-face): Use `term-face' by default.
459 (term-bold-attribute): Variable deleted.
460
1c9bd870
GM
4612012-06-28 Glenn Morris <rgm@gnu.org>
462
463 * simple.el (completion-list-mode-finish):
464 Don't use toggle-read-only. (Since completion-list-mode has
465 a special mode-class, it wasn't doing anything extra anyway.)
466
c207708c
SM
4672012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 Make inlining of other-mode interpreted functions work (bug#11799).
470 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
471 (byte-compile): Use it to fix compilation of lexical-binding closures.
472 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
473 function, if needed.
474
3fd56834
SM
4752012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
476
04901786
SM
477 * help-mode.el (help-make-xrefs): Don't just withstand
478 cyclic-variable-indirection but any error in documentation-property.
479
1ec4b7b2
SM
480 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
481 memory use.
482 * bindings.el (bindings--define-key): New function.
483 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
484 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
485 * bindings.el: Use it to purecopy define-key bindings.
486
e309e2a5
SM
487 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
488
d5c6faf9
SM
489 * emacs-lisp/cl.el (flet): Mark obsolete.
490 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
491 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
492 * progmodes/js.el (js-c-fill-paragraph):
493 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
494 (ebrowse-switch-member-buffer-to-derived-class):
495 * play/5x5.el (5x5-solver): Use cl-flet.
496
6e9590e2
SM
497 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
498 (cl--symbol-function): New macro.
499 (cl--letf, cl--letf*): Use it.
500
3fd56834
SM
501 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
502 Strip "toggle-" if any.
503
35ff222c
GM
5042012-06-27 Glenn Morris <rgm@gnu.org>
505
1ba6038a
GM
506 * info.el (Info-default-directory-list): Move here from paths.el.
507 * paths.el: Remove file, which is now empty.
508 * loadup.el: No longer load "paths".
509
0ea0e51b
GM
510 * custom.el (custom-initialize-delay): Doc fix.
511
35ff222c
GM
512 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
513 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
514 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
515 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
516 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
517 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
518 * eshell/eshell.el (eshell-defgroup): Remove alias.
519
c89926a5
CY
5202012-06-27 Chong Yidong <cyd@gnu.org>
521
522 * help.el (help-enable-auto-load): New variable.
523
524 * help-fns.el (help-fns--autoloaded-p): New function.
525 (describe-function-1): Refer to a function as "autoloaded" if it
526 was autoloaded at any time in the past. Perform autoloading if
527 help-enable-auto-load is non-nil.
528
cc06e7e7
EZ
5292012-06-26 Eli Zaretskii <eliz@gnu.org>
530
531 * makefile.w32-in (compile, compile-always): Depend on
532 update-subdirs, not on subdirs.el. Otherwise, several different
533 sub-targets of 'bootstrap' running in parallel could
534 simultaneously write to subdirs.el, producing a garbled file.
535
d2c32364
SS
5362012-06-26 Sam Steingold <sds@gnu.org>
537
538 * files.el (file-name-base): New convenience function.
0d14cc21
GM
539 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
540 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
541 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
542 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
543 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
544 * textmodes/tex-mode.el: Use it.
545 Did not touch cedet and org because they are maintained elsewhere.
546
5cf983b2
MR
5472012-06-26 Martin Rudalics <rudalics@gmx.at>
548
549 * calendar/calendar.el (calendar-exit): Don't try to delete or
550 iconify last frame. See:
551 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
552
8c4f2952
JD
5532012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
554
555 * server.el (server-process-filter): Remember dir in the
556 process's `server-client-directory' properties.
557
772b2e2c
CY
5582012-06-24 Chong Yidong <cyd@gnu.org>
559
560 * xml.el (xml-parse-tag): Correctly handle comment embedded in
561 non-tag text.
562
711b11e1
JB
5632012-06-23 Juanma Barranquero <lekktu@gmail.com>
564
565 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
566
dc5d230c
SM
5672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * help-fns.el (describe-variable): Don't croak when doc is not found.
570 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
571 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
572 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
573 * emacs-lisp/smie.el (smie-next-sexp): CSE.
574 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
575 ((lambda ..) ..).
576 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
577
136e1c1d
CY
5782012-06-23 Chong Yidong <cyd@gnu.org>
579
e8c1cabf
CY
580 * info.el (Info-mouse-follow-link): Accept symbol values of
581 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
582 (Info-fontify-node): Use Info-link-keymap for all navigation
583 buttons, with link-args property to perform the desired action.
584 (Info-link-keymap): Doc fix.
585 (Info-next-link-keymap, Info-prev-link-keymap)
586 (Info-up-link-keymap): Delete now-unused keymaps.
587
0e9e6c6a
CY
5882012-06-23 Chong Yidong <cyd@gnu.org>
589
05e89fea
CY
590 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
591
0e9e6c6a
CY
592 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
593 system abbrevs.
594
595 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
596
e33c6771
SM
5972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
598
b68581e2
SM
599 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
600 (bug#11719).
601
e33c6771
SM
602 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
603 the requote function doesn't work properly (bug#11714).
604
7117e105
GM
6052012-06-23 Glenn Morris <rgm@gnu.org>
606
607 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
608
36cec983
SM
6092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 Further GV/CL cleanups.
612 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
613 gv-expander.
614 (gv--defun-declaration): New function.
615 (defun-declarations-alist): Use it.
616 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
617 (gv-place): Autoload.
618 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
619 original definition of dotimes and dolist.
620 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
621 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
622 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
623 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
624 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
625 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
626 to the function's definition.
627 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
628 * window.el:
629 * files.el:
630 * faces.el:
631 * env.el: Don't use CL.
632
d35af63c
PE
6332012-06-22 Paul Eggert <eggert@cs.ucla.edu>
634
635 Support higher-resolution time stamps (Bug#9000).
636
637 * calendar/time-date.el (with-decoded-time-value): New arg
638 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
639 (encode-time-value): New optional arg PICO. New type 3.
640 (time-to-seconds) [!float-time]: Support the new picoseconds
641 component if it's used.
642 (seconds-to-time, time-subtract, time-add):
643 Support ps-resolution time stamps as well.
644
645 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
646 (timerp): Timer vectors now have length 9, not 8.
647 (timer--time): Support new-style (4-part) time stamps.
648 (timer-next-integral-multiple-of-time): Time stamps now have
649 picosecond resolution, so take a bit more care about rounding.
650 (timer-relative-time, timer-inc-time): New optional arg psecs.
651 (timer-set-time-with-usecs): Set psecs to 0.
652 (timer--activate): Check psecs component, too.
653
654 * proced.el (proced-time-lessp): Support ps-resolution stamps.
655
ac77b21a
SM
6562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
657
f143bfe3
SM
658 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
659 Move the non-essential binding to the post/pre-command-hook where it is
660 more obviously correct.
661
ac77b21a
SM
662 * subr.el (read-passwd): Don't use a history at all.
663 * savehist.el (savehist-save): Remove password saved accidentally
664 because of the above bug.
665
76386c5a
BG
6662012-06-22 Bastien Guerry <bzg@gnu.org>
667
668 * files.el (toggle-read-only): Display a message telling whether
669 the buffer is read-only or not (bug#11726).
670
2ee3d7f0
SM
6712012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * emacs-lisp/gv.el: New file.
674 * subr.el (push, pop): Extend to generalized variables.
675 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
676 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
677 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
678 gv-define-simple-setter, and gv-define-expander.
679 Remove setf-methods defined in gv. Rename cl-setf -> setf.
680 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
681 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
682 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
683 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
684 gv-letplace.
685 (cl-defstruct): Don't define setf-method any more.
686 * emacs-lisp/cl.el (flet): Don't autoload.
687 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
688 (define-setf-expander, defsetf, define-modify-macro)
689 (cl-struct-setf-expander): Move from cl-lib.el.
690 * emacs-lisp/syntax.el:
691 * emacs-lisp/ewoc.el:
692 * emacs-lisp/smie.el:
693 * emacs-lisp/cconv.el:
694 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
695 (timer--time): Use gv-define-simple-setter.
696 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
697 to avoid coding-system problems in subr.el. Adjust all users.
698 (macroexp--maxsize, macroexp-small-p): New functions.
699 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
700 * scroll-bar.el (scroll-bar-mode):
701 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
702 (normal-erase-is-backspace-mode): Don't use the `eq' place.
703 * winner.el (winner-configuration, winner-make-point-alist)
704 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
705 * files.el (locate-file-completion-table): Avoid list*.
706
c5695d1d
CY
7072012-06-22 Chong Yidong <cyd@gnu.org>
708
709 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
710 (dired-create-files): Doc fix (Bug#11329).
711 (dired-do-copy): Doc fix (Bug#11334).
712 (dired-mark-read-string): Doc fix (Bug#11553).
713
2ee3d7f0
SM
714 * dired.el (dired-recursive-copies, dired-recursive-deletes):
715 Doc fix (Bug#11326).
c5695d1d
CY
716 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
717 (dired-dwim-target): Doc fix.
718
719 * wdired.el (wdired-mode): Doc fix.
720
89b5595a
GM
7212012-06-22 Glenn Morris <rgm@gnu.org>
722
575db3f1
GM
723 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
724 (pcmpl-rpm-cache-stamp-file): New constant.
725 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
726 (pcmpl-rpm-packages): Optionally cache list of packages.
727
a4c8dd51
GM
728 * pcmpl-rpm.el (pcmpl-rpm): New group.
729 (pcmpl-rpm-query-options): New option.
730 (pcmpl-rpm-packages): No need to inline it.
731 Use pcmpl-rpm-query-options.
732
89b5595a
GM
733 * calendar/calendar.el (calendar-in-read-only-buffer):
734 Avoid some needless mode changes.
735
e76f0800
CY
7362012-06-21 Chong Yidong <cyd@gnu.org>
737
738 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
739 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 740 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 741
297a8f1d
CY
7422012-06-20 Chong Yidong <cyd@gnu.org>
743
744 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
745
d34c18b1
DR
7462012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
747
748 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
749 (bug#11201).
750
32f7f28e
CY
7512012-06-20 Chong Yidong <cyd@gnu.org>
752
753 * term.el (term-window-width): Handle the case of a missing right
754 fringe (Bug#8837).
755 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
756 (term-mode): Use define-derived-mode. Minor cleanups.
757 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
758 (term-move-columns, term-insert-char, term-emulate-terminal)
759 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 760
493c6688
MA
7612012-06-20 Michael Albinus <michael.albinus@gmx.de>
762
d34c18b1
DR
763 * net/ange-ftp.el (ange-ftp-get-passwd):
764 Bind `enable-recursive-minibuffers'.
493c6688
MA
765 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
766
3f06ecf4
DR
7672012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
768
769 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
770
68f12411
GM
7712012-06-19 Glenn Morris <rgm@gnu.org>
772
773 * progmodes/python.el (python-mode): Derive from prog-mode.
774
b3820318
KG
7752012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
776
777 * emulation/edt.el (edt-default-menu-bar-update-buffers)
778 (edt-user-menu-bar-update-buffers): New functions.
779 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
780
c6bf3022
CY
7812012-06-19 Chong Yidong <cyd@gnu.org>
782
783 * subr.el (with-selected-window): Preserve the selected window's
784 terminal's top-frame (Bug#4702).
785
786 * window.el (save-selected-window): Likewise.
787
25f09295
SM
7882012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * progmodes/python.el (python-rx-constituents): Move backquote.
791 (python-skeleton-define, python-define-auxiliary-skeleton):
792 Use `declare'.
793
6b11952a
MA
7942012-06-18 Michael Albinus <michael.albinus@gmx.de>
795
796 * minibuffer.el (read-file-name-default): Revert the patch from
797 2012-06-17.
798
ee4b1330
SM
7992012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
802 (pcase--u1, pcase--q1): Don't use apply-partially.
803
35647f79
GM
8042012-06-18 Glenn Morris <rgm@gnu.org>
805
806 * progmodes/python.el (python-proc, python-buffer)
807 (python-send-receive, python-send-string): Fix obsolete versions.
808
24b0cff0
MR
8092012-06-18 Martin Rudalics <rudalics@gmx.at>
810
811 * window.el (special-display-p): Completely remove stringp
812 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
813
29855149
MA
8142012-06-17 Michael Albinus <michael.albinus@gmx.de>
815
816 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
817
818 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
819
820 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
821 * net/tramp-sh.el (tramp-maybe-open-connection):
822 Throw if `non-essential' is non-nil.
823
07463363
MR
8242012-06-17 Martin Rudalics <rudalics@gmx.at>
825
826 * window.el (special-display-p): Signal an error if BUFFER-NAME
827 is not a string (Bug#11713).
828
48d1354e
PE
8292012-06-17 Paul Eggert <eggert@cs.ucla.edu>
830
831 * progmodes/python.el (python-info-beginning-of-backslash):
832 Rename from python-info-beginning-of-backlash, as a spelling fix.
833
eb4a8a9a
CY
8342012-06-17 Chong Yidong <cyd@gnu.org>
835
836 * term.el (term-emulate-terminal): If term-check-size is called,
837 move point to the process mark without resetting point (Bug#4635).
838
ddfbf826 8392012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
840
841 * international/mule-cmds.el (mule-menu-keymap)
842 (set-language-environment, set-locale-environment): Doc tweaks.
843
9b0e3eba
AA
8442012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
845
846 * cus-face.el (custom-face-attributes): Add wave-style underline
847 attribute.
848 * faces.el (set-face-attribute): Update docstring to describe
849 wave-style underline attribute.
850
771e3eae
CY
8512012-06-16 Chong Yidong <cyd@gnu.org>
852
853 * term/xterm.el (terminal-init-xterm): Discard input before
854 querying background mode (Bug#10959).
855
7ae2ea10
SM
8562012-06-16 Stefan Merten <smerten@oekonux.de>
857
858 * textmodes/rst.el: Added and corrected some comments.
859 (rst-re-alist-def): Improve symbol syntax.
860 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
861 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
862 (rst-official-version, rst-official-cvs-rev): Update version
863 information.
7ae2ea10 864
b6974efa
JB
8652012-06-15 Juanma Barranquero <lekktu@gmail.com>
866
867 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
868 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
869
8826d473
GM
8702012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
871
872 * progmodes/python.el: New python.el merge.
873 (python-guess-indent): Obsolete var.
874 (python-indent-guess-indent-offset): New defcustom.
875 (python-indent): Obsolete var.
876 (python-indent-offset): New defcustom.
877 (python-python-command, python-jython-command): Delete var.
878 (python-shell-interpreter): New defcustom.
879 (python-pdbtrack-do-tracking-p): Delete var.
880 (python-pdbtrack-activate): New defcustom.
881 (python-use-skeletons): Obsolete var.
882 (python-skeleton-autoinsert): New defcustom.
883 (inferior-python-filter-regexp, python-continuation-offset)
884 (python-honour-comment-indentation, python-indent-string-contents)
885 (python-jython-packages, python-mode-hook)
886 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
887 (python-shell-prompt-alist)
888 (python-source-modes): Delete defcustoms.
889 (python-check-buffer-name, python-eldoc-setup-code)
890 (python-eldoc-string-code, python-ffap-setup-code)
891 (python-ffap-string-code, python-fill-comment-function)
892 (python-fill-decorator-function, python-fill-paren-function)
893 (python-fill-string-function, python-imenu-include-defun-type)
894 (python-imenu-make-tree, python-imenu-subtree-root-label)
895 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
896 (python-shell-compilation-regexp-alist)
897 (python-shell-completion-module-string-code)
898 (python-shell-completion-pdb-string-code)
899 (python-shell-completion-setup-code)
900 (python-shell-completion-string-code)
901 (python-shell-enable-font-lock, python-shell-exec-path)
902 (python-shell-extra-pythonpaths)
903 (python-shell-internal-buffer-name, python-shell-interpreter-args)
904 (python-shell-process-environment)
905 (python-shell-prompt-block-regexp)
906 (python-shell-prompt-output-regexp)
907 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
908 (python-shell-send-setup-max-wait, python-shell-setup-codes)
909 (python-shell-virtualenv-path): New defcustoms.
910 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
911 (inferior-python-mode-syntax-table, python--prompt-regexp)
912 (python-buffer, python-command python-python-command)
913 (python-default-template, python-imports, python-indent-index)
914 (python-indent-list, python-indent-list-length)
915 (python-mode-running, python-pdbtrack-is-tracking-p)
916 (python-preoutput-continuation, python-preoutput-leftover)
917 (python-preoutput-result, python-preoutput-skip-next-prompt)
918 (python-prev-dir/file, python-recursing)
919 (python-saved-check-command, python-version-checked)
920 (python-which-func-length-limit)
921 (view-return-to-alist): Delete vars.
922 (python-check-custom-command, python-dotty-syntax-table)
923 (python-imenu-index-alist, python-indent-current-level)
924 (python-indent-dedenters, python-indent-levels)
925 (python-nav-beginning-of-defun-regexp)
926 (python-nav-list-defun-positions-cache)
927 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
928 (python-shell-internal-buffer)
929 (python-skeleton-available): New vars.
930 (def-python-skeleton): Delete macro.
931 (python-skeleton-define): New macro.
932 (python-define-auxiliary-skeleton, python-rx): New macros.
933 (python-insert-class): Delete command.
934 (python-skeleton-class): New command.
935 (python-insert-def): Delete command.
936 (python-skeleton-def): New command.
937 (python-insert-for): Delete command.
938 (python-skeleton-for): New command.
939 (python-insert-if): Delete command.
940 (python-skeleton-if): New command.
941 (python-insert-try/except, python-insert-try/finally): Delete commands.
942 (python-skeleton-try): New command.
943 (python-insert-while): Delete command.
944 (python-skeleton-while): New command.
945 (python-backspace): Delete command.
946 (python-indent-dedent-line-backspace): New command.
947 (python-electric-colon): Delete command.
948 (python-indent-electric-colon): New command.
949 (python-guess-indent): Delete command.
950 (python-indent-guess-indent-offset): New command.
951 (python-shift-left): Delete command.
952 (python-indent-shift-left): New command.
953 (python-shift-right): Delete command.
954 (python-indent-shift-right): New command.
955 (python-find-function): Delete command.
956 (python-nav-jump-to-defun): New command.
957 (python-next-statement): Delete command.
958 (python-nav-forward-sentence): New command.
959 (python-previous-statement): Delete command.
960 (python-nav-backward-sentence): New command.
961 (python-fill-paragraph): Delete command.
962 (python-fill-paragraph-function): New command.
963 (python-send-buffer): Delete command.
964 (python-shell-send-buffer): New command.
965 (python-send-defun): Delete command.
966 (python-shell-send-defun): New command.
967 (python-send-region, python-send-region-and-go): Delete commands.
968 (python-shell-send-region)
969 (python-shell-switch-to-shell): New commands.
970 (python-send-string): Delete command.
971 (python-shell-send-string): New command.
972 (python-switch-to-python): Delete command.
973 (python-shell-switch-to-shell): New command.
974 (python-describe-symbol): Delete command.
975 (python-eldoc-at-point): New command.
976 (python--set-prompt-regexp, python-args-to-list)
977 (python-after-info-look, python-check-version)
978 (python-check-comint-prompt, python-find-imports)
979 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
980 (python-unload-function, python-expand-template)
981 (python-maybe-jython, python-preoutput-filter)
982 (python-pdbtrack-get-source-buffer)
983 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
984 (python-pdbtrack-toggle-stack-tracking)
985 (python-pdbtrack-track-stack-file, python-initial-text)
986 (python-first-word, python-comment-line-p, python-send-command)
987 (python-setup-brm, python-sentinel, python-set-proc)
988 (python-skip-out, python-input-filter, python-outdent-p)
989 (python-outline-level, python-backslash-continuation-line-p)
990 (python-end-of-block, python-end-of-statement, python-mark-block)
991 (python-beginning-of-block, python-beginning-of-statement)
992 (python-blank-line-p, python-beginning-of-string)
993 (python-open-block-statement-p): Delete functions.
994 (python-indent-line, python-indent-line-1): Delete functions.
995 (python-indent-line): New function.
996 (python-indentation-levels): Delete function.
997 (python-indent-calculate-levels): New function.
998 (python-proc): Delete function.
999 (python-shell-get-process): New function.
1000 (python-send-receive): Delete function.
1001 (python-shell-send-string-no-output): New function.
1002 (python-module-path): Delete function.
1003 (python-ffap-module-path): New function.
1004 (python-completion-at-point)
1005 (python-symbol-completions): Delete functions.
1006 (python-completion-complete-at-point): New function.
1007 (python-load-file): Delete function.
1008 (python-shell-send-file): New function.
1009 (python-calculate-indentation): Delete function.
1010 (python-indent-calculate-indentation): New function.
1011 (python-skip-comments/blanks): Delete function.
1012 (python-util-forward-comment): New function.
1013 (python-continuation-line-p): Delete function.
1014 (python-info-continuation-line-p): New function.
1015 (python-which-func, python-current-defun): Delete function.
1016 (python-info-current-defun): New function.
1017 (python-beginning-of-defun): Delete function.
1018 (python-nav-beginning-of-defun): New function.
1019 (python-close-block-statement-p)
1020 (python-block-end-p): Delete function.
1021 (python-info-closing-block): New function.
1022 (python-comint-output-filter-function)
1023 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1024 (python-fill-comment, python-fill-decorator, python-fill-paren)
1025 (python-fill-string, python-imenu-make-element-tree)
1026 (python-imenu-make-tree, python-imenu-tree-assoc)
1027 (python-indent-context, python-indent-dedent-line)
1028 (python-indent-line-function)
1029 (python-indent-post-self-insert-function)
1030 (python-indent-toggle-levels)
1031 (python-info-assignment-continuation-line-p)
1032 (python-info-beginning-of-backlash)
1033 (python-info-block-continuation-line-p)
1034 (python-info-closing-block-message)
1035 (python-info-line-ends-backslash-p)
1036 (python-info-looking-at-beginning-of-defun)
1037 (python-info-ppss-context, python-info-ppss-context-type)
1038 (python-nav-list-defun-positions, python-nav-read-defun)
1039 (python-nav-sentence-end, python-nav-sentence-start)
1040 (python-pdbtrack-comint-output-filter-function)
1041 (python-pdbtrack-set-tracked-buffer)
1042 (python-shell-calculate-exec-path)
1043 (python-shell-calculate-process-environment)
1044 (python-shell-completion--do-completion-at-point)
1045 (python-shell-completion--get-completions)
1046 (python-shell-completion-complete-at-point)
1047 (python-shell-completion-complete-or-indent)
1048 (python-shell-get-or-create-process)
1049 (python-shell-get-process-name)
1050 (python-shell-internal-get-or-create-process)
1051 (python-shell-internal-get-process-name)
1052 (python-shell-internal-send-string, python-shell-make-comint)
1053 (python-shell-parse-command, python-shell-send-setup-code)
1054 (python-skeleton-add-menu-items)
1055 (python-util-clone-local-variables, python-util-position)
1056 (run-python-internal, python-indentation-levels)
1057 (python-nav-beginning-of-defun)
1058 (python-completion-complete-at-point): New functions.
1059 (run-python): Change arguments. New API requirements.
1060
4302f5ba
SM
10612012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1062
f38ea36d
SM
1063 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1064 (bug#11649).
1065
1066 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1067 (macroexp--expand-all): Use it.
1068
4302f5ba
SM
1069 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1070 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1071 Use `cl-function' instead.
1072
33377562
JB
10732012-06-14 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1076 Suggested by Stefan Monnier while discussing bug#11657.
1077
54c5ba1a
SS
10782012-06-14 Sam Steingold <sds@gnu.org>
1079
1080 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1081
f9f1b1fe
AS
10822012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1083
1084 * play/doctor.el (doctor-doc): Remove parameter and use
1085 doctor-sent instead of sent.
1086 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1087
a81068ba
SM
10882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1089
5a315f9c
SM
1090 * files.el: Require cl-lib.
1091 (file-name-non-special): Replace case -> cl-case.
1092
1093 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1094
a81068ba
SM
1095 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1096 mapping from #' to function*.
1097
8cca9703
CY
10982012-06-13 Chong Yidong <cyd@gnu.org>
1099
1100 * mouse.el (mouse-drag-track): Do not set the mark if the user
1101 releases the mouse without selecting anything (Bug#11588).
1102
a12ac9d7
SM
11032012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1104
ccf1dc18
SM
1105 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1106 as well (bug#11646).
1107
ef62b23d
SM
1108 * loadup.el: Count byte-code functions as well.
1109
c4c8444a
SM
1110 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1111 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1112
a12ac9d7
SM
1113 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1114 (bug#11649). Add cl-defun and cl-defmacro.
1115
87e6e64f
DA
11162012-06-13 Drew Adams <drew.adams@oracle.com>
1117
1118 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1119 Fix last change.
1120
682cefaf
MA
11212012-06-13 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1124 Otherwise, it blocks in batch mode.
1125
773e1f08
JB
11262012-06-13 Juanma Barranquero <lekktu@gmail.com>
1127
1128 * help-mode.el (bookmark-make-record-default): Declare.
1129
60057926
CY
11302012-06-13 Chong Yidong <cyd@gnu.org>
1131
1132 * emacs-lisp/package.el (list-packages): Compute a list of
1133 packages that are newly-available since the last list-packages
1134 invocation.
1135 (package-menu--new-package-list): New var.
1136 (package-menu--generate, package-menu--print-info)
1137 (package-menu--status-predicate, package-menu-mark-install):
1138 Handle new status label "new".
1139
ad4d226c
SM
11402012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1143 conversion to backquotes.
1144
f1a4e679
CY
11452012-06-12 Chong Yidong <cyd@gnu.org>
1146
1147 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1148 Rename from gud-inhibit-global-bindings.
1149
1150 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1151
1152 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1153 hook from nxml-glyph-set-hook.
1154
1155 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1156 declaration.
1157
1158 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1159
1160 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1161 Convert to defcustom.
1162
0c9e42b5
DA
11632012-06-12 Drew Adams <drew.adams@oracle.com>
1164
1165 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1166 New functions.
1167 (help-mode): Use them.
1168
09e06855
GM
11692012-06-11 Glenn Morris <rgm@gnu.org>
1170
1171 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1172 Use preprocessor face for directives.
1173 (fortran-directive-re): Doc fix.
1174
71adb94b
SM
11752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1176
2eb87922
SM
1177 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1178 conversion to backquotes (bug#11652).
1179
71adb94b
SM
1180 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1181 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1182 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1183 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1184 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1185 (cl-ninth, cl-tenth): Mark them as inlinable.
1186 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1187 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1188 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1189 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1190 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1191 (cl-list*, cl-adjoin): Don't put an autoload manually.
1192 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1193 (cl--compiler-macro-list*): Add autoload cookie.
1194 (cl--compiler-macro-cXXr): New function.
2eb87922 1195
71adb94b
SM
1196 * help-fns.el (help-fns--compiler-macro): New function extracted from
1197 describe-function-1; follow aliases and use `compiler-macro' property.
1198 (describe-function-1): Use it.
1199
a6674402
CY
12002012-06-11 Chong Yidong <cyd@gnu.org>
1201
1202 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1203 is uninstalled, if imagemagick is installed.
1204
bb3faf5b
SM
12052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * emacs-lisp/cl-lib.el: Use lexical-binding.
1208 (cl-map-extents, cl-maclisp-member): Remove.
1209 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1210 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1211 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1212 * emacs-lisp/cl-extra.el: Use lexical-binding.
1213 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1214 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1215 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1216 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1217 * emacs-lisp/cl-seq.el: Use lexical-binding.
1218 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1219 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1220 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1221 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1222 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1223 CL's internals.
1224
2fe4b125
MA
12252012-06-11 Michael Albinus <michael.albinus@gmx.de>
1226
1227 Sync with Tramp 2.2.6-pre.
1228
1229 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1230 `print-length' and `print-level' to nil, in order to avoid
1231 truncation. Reported by Christopher Schmidt
1232 <christopher@ristopher.com>.
1233
1234 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1235
1236 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1237 New defmacro.
1238 (tramp-compat-copy-directory): Add optional argument
1239 COPY-CONTENTS. It is not handled yet.
1240
1241 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1242 (tramp-ftp-file-name-p): Simplify.
1243
1244 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1245 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1246 connection vector.
1247
1248 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1249 (tramp-methods): Do not use `tramp-password-end-of-line'.
1250 (tramp-completion-function-alist-putty): Handle UNIX case.
1251 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1252 (tramp-do-file-attributes-with-stat)
1253 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1254 gid as real numbers. They could run out of integer range on cygwin.
1255 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1256 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1257 (tramp-open-connection-setup-interactive-shell):
1258 Use `tramp-cleanup'. Move check for busyboxes ...
1259 (tramp-find-shell): ... here. Simplify implementation.
1260 Set "remote-shell" property also for alternative shells.
1261 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1262 If failing, a regular file would be written otherwise.
1263 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1264 (tramp-find-inline-encoding): Cache the coding commands in the
1265 process cache. Apply test command on the remote side, if defined.
1266 (tramp-find-inline-compress): Cache the compress commands in the
1267 process cache.
1268 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1269 when requested. Handle hops.
1270 (tramp-current-connection): New defvar.
87e6e64f
DA
1271 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1272 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1273 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1274 (tramp-get-inline-compress, tramp-get-inline-coding):
1275 Read connection properties from the process cache.
2fe4b125
MA
1276
1277 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1278 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1279 New defconsts.
2fe4b125
MA
1280 (tramp-smb-prompt): Extend for powershell prompt.
1281 (tramp-smb-file-name-handler-alist): Add handlers for
1282 `process-file', `shell-command' and `start-file-process'.
1283 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1284 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1285 (tramp-smb-file-name-p): Simplify.
1286 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1287 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1288 (tramp-smb-shell-quote-argument): New defuns.
1289 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1290 Implement using "tar". By this, time-stamps are preserved.
1291 (tramp-smb-handle-copy-file): Handle also the case of directories.
1292 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1293 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1294 Use `tramp-get-connection-buffer').
2fe4b125
MA
1295 (tramp-smb-handle-rename-file): Use "rename", when source and
1296 target are on the same share.
87e6e64f
DA
1297 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1298 Use `tramp-smb-server-version'.
2fe4b125
MA
1299 (tramp-smb-wait-for-output): Remove prompt.
1300
1301 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1302 (tramp-methods, tramp-rsh-end-of-line):
1303 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1304 (tramp-save-ad-hoc-proxies): New defcustom.
1305 (tramp-completion-function-alist): Adapt docstring.
1306 (tramp-default-password-end-of-line): Remove defcustom.
1307 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1308 (tramp-user-regexp, tramp-file-name-regexp-unified)
1309 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1310 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1311 (tramp-remote-file-name-spec-regexp): New defconst.
1312 (tramp-file-name-structure): Extend structure for hops.
1313 (tramp-get-method-parameter): Move up.
1314 (tramp-file-name-p, tramp-dissect-file-name)
1315 (with-parsed-tramp-file-name): Handle hops.
1316 (tramp-file-name-hop): New defun.
1317 (tramp-make-tramp-file-name): New optional arg HOP.
1318 (tramp-message-show-progress-reporter-message): New defvar.
1319 (tramp-with-progress-reporter): Use it. We cannot use
1320 `tramp-message-show-message' here, because this suppresses also
1321 error buffers.
1322 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1323 `tramp-message-show-message' is nil.
1324 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1325 (tramp-cleanup): New defun.
1326 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1327 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1328 an error unchanged.
1329 (tramp-completion-handle-file-name-all-completions): Handle hops.
1330 Fix an error when called from ido.
1331 (tramp-completion-dissect-file-name): Use better local variable
1332 name. Add hop to the vector.
1333 (tramp-handle-insert-file-contents): Use progress-reporter for the
1334 whole scenario.
1335 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1336 to `t'.
1337 (tramp-check-for-regexp): Simplify search.
1338 (tramp-enter-password): Remove it. Move implementation ...
1339 (tramp-action-password): ... here.
1340 (tramp-mode-string-to-int, tramp-local-host-p)
1341 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1342 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1343 Set tramp-autoload cookie.
2fe4b125
MA
1344
1345 * net/trampver.el: Update release number.
1346
13472012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1348 Michael Albinus <michael.albinus@gmx.de>
1349
1350 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1351 (tramp-parse-group, tramp-parse-file)
1352 (tramp-parse-shostkeys-sknownhosts): New defuns.
1353 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1354 (tramp-parse-shosts-group, tramp-parse-sconfig)
1355 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1356 (tramp-parse-sknownhosts, tramp-parse-hosts)
1357 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1358 Use them.
1359 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1360 (tramp-parse-putty-group): Don't narrow.
1361 (tramp-parse-putty): Make a loop.
1362 (tramp-file-name-handler): Catch the `suppress' signal.
1363
72834e10
CY
13642012-06-11 Chong Yidong <cyd@gnu.org>
1365
1366 * image.el (imagemagick-register-types): Put the ImageMagick entry
1367 at the end of image-type-file-name-regexps.
1368
a4712e11
JB
13692012-06-11 Johan Bockgård <bojohan@gnu.org>
1370
1371 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1372 (pcase, pcase-let*, pcase-dolist): Use them.
1373
82ad98e3
SM
13742012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/pcase.el (pcase--let*): New function.
1377 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1378 (pcase--expand): Use macroexp-let².
1379
f80efb86
SM
13802012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1383 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1384 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1385 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1386 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1387 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1388
31ca4639 13892012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1390
31ca4639
CY
1391 * mail/rmail.el (rmail-yank-current-message): Leave point at
1392 correct position. (Bug#11660)
94f0aa34 1393
31ca4639 13942012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1395
31ca4639 1396 * allout-widgets.el: Fix code header.
9e1b8ec4 1397
31ca4639 13982012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1399
f80efb86
SM
1400 * cus-edit.el (customize-changed-options-previous-release):
1401 Bump to 24.1.
31ca4639 1402
642b6d30
AS
14032012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1406
4f5d2ba1
CY
14072012-06-09 Chong Yidong <cyd@gnu.org>
1408
1409 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1410
e75852fd
MR
14112012-06-09 Martin Rudalics <rudalics@gmx.at>
1412
1413 * window.el (special-display-popup-frame): Don't use
1414 window--display-buffer (Bug#11651).
1415
1e48e282
EZ
14162012-06-09 Eli Zaretskii <eliz@gnu.org>
1417
8a26b487
EZ
1418 Fix parallel builds: make sure loaddefs.el is not being written
1419 while Lisp files are compiled.
1420 (compile): Don't depend on 'mh-autoloads'.
1421 (compile-CMD, compile-SH): Depend on 'autoloads'.
1422 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1423
1e48e282
EZ
1424 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1425
6175e34b
CY
14262012-06-09 Chong Yidong <cyd@gnu.org>
1427
1428 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1429 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1430 Doc fixes (Bug#11225).
1431
d9857e53
SM
14322012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1435 a function if there's a clear indication that it has a compiler-macro.
1436 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1437 (macro-declarations-alist): Add arglist to declaration functions.
1438 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1439 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1440 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1441 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1442 Also add autoload to find the compiler macro.
1443 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1444 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1445 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1446 (cl--compiler-macro-get): New functions, replacing calls to
1447 cl-define-compiler-macro.
1448 (cl-typep) [compiler-macro]: Use macroexp-let².
1449
f81298f8 14502012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1451
1452 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1453 string properly, fixes Bug#11473.
1454
4b56d0fe
CY
14552012-06-08 Chong Yidong <cyd@gnu.org>
1456
1457 * faces.el (set-face-attribute): Doc fix.
1458 (modify-face): Don't use :bold and :italic.
1459 (error, warning, success): Tweak definitions.
1460
1461 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1462 (custom-modified, custom-set, custom-changed, custom-themed)
1463 (custom-saved, custom-button, custom-button-mouse)
1464 (custom-button-pressed, custom-state, custom-comment-tag)
1465 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1466 (custom-group-subtitle): Use new-style face specs.
1467 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1468 (custom-set-face, custom-changed-face, custom-saved-face)
1469 (custom-button-face, custom-button-pressed-face)
1470 (custom-documentation-face, custom-state-face)
1471 (custom-comment-face, custom-comment-tag-face)
1472 (custom-variable-tag-face, custom-variable-button-face)
1473 (custom-face-tag-face, custom-group-tag-face-1)
1474 (custom-group-tag-face): Remove obsolete face alias.
1475
1476 * epa.el (epa-validity-high, epa-validity-medium)
1477 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1478 (epa-field-name, epa-field-body):
1479 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1480 (font-lock-keyword-face, font-lock-builtin-face)
1481 (font-lock-function-name-face, font-lock-variable-name-face)
1482 (font-lock-type-face, font-lock-constant-face):
1483 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1484 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1485 * speedbar.el (speedbar-button-face, speedbar-file-face)
1486 (speedbar-directory-face, speedbar-tag-face)
1487 (speedbar-selected-face, speedbar-highlight-face)
1488 (speedbar-separator-face):
1489 * whitespace.el (whitespace-newline, whitespace-space)
1490 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1491 (whitespace-line, whitespace-space-before-tab)
1492 (whitespace-space-after-tab, whitespace-indentation)
1493 (whitespace-empty):
1494 * emulation/cua-base.el (cua-global-mark):
1495 * eshell/em-prompt.el (eshell-prompt):
1496 * net/newst-plainview.el (newsticker-new-item-face)
1497 (newsticker-old-item-face, newsticker-immortal-item-face)
1498 (newsticker-obsolete-item-face, newsticker-date-face)
1499 (newsticker-statistics-face, newsticker-default-face):
1500 * net/newst-reader.el (newsticker-feed-face)
1501 (newsticker-extra-face, newsticker-enclosure-face):
1502 * net/newst-treeview.el (newsticker-treeview-face)
1503 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1504 (newsticker-treeview-immortal-face)
1505 (newsticker-treeview-obsolete-face)
1506 (newsticker-treeview-selection-face):
1507 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1508 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1509 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1510 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1511 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1512 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1513 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1514 (mpuz-text):
1515 * progmodes/vera-mode.el (vera-font-lock-number)
1516 (vera-font-lock-function, vera-font-lock-interface):
1517 * textmodes/table.el (table-cell): Use new-style face specs, and
1518 don't use the old :bold and :italic attributes.
1519
1520 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1521 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1522 (ebrowse-member-class, ebrowse-progress): Likewise.
1523 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1524 (ebrowse-file-name-face, ebrowse-default-face)
1525 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1526 (ebrowse-progress-face): Remove obsolete faces.
1527
1528 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1529 Inherit from error and warning faces respectively.
1530
1531 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1532 Likewise.
f80efb86
SM
1533 (flyspell-incorrect-face, flyspell-duplicate-face):
1534 Remove obsolete aliases.
4b56d0fe 1535
03310646
MA
15362012-06-08 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1539 Avoid infloop.
1540
513749ee
SM
15412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * startup.el (argv, argi): Make lexically scoped.
1544 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1545 * emacs-lisp/cl-macs.el: Use lexical-binding.
1546 Rename cl-bind-* to cl--bind-*.
1547 * files.el: Don't require `cl' since it doesn't use it.
1548 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1549
595ef4ad
JB
15502012-06-08 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1553 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1554 instead of calling external sort utility.
1555 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1556
e9f66fcb
EZ
15572012-06-08 Eli Zaretskii <eliz@gnu.org>
1558
1559 * descr-text.el (describe-char): Mention how to insert the
1560 character, if the current input method doesn't support it.
1561 See the discussion in this thread for the details:
1562 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1563
3d10db47
SS
15642012-06-08 Sam Steingold <sds@gnu.org>
1565
1566 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1567 XF86Back to previous-buffer.
1568 (minibuffer-local-map): Bind them to next-history-element and
1569 previous-history-element respectively.
1570 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1571 help-go-back respectively.
1572 * info.el (Info-mode-map): Bind them to Info-history-forward and
1573 Info-history-back respectively.
1574 These are the keys next to Up on the ThinkPad keyboard.
1575
de7e2b36
SM
15762012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1579 * emacs-lisp/cl-macs.el: Provide itself.
1580 (cl--labels-convert-cache): New var.
1581 (cl--labels-convert): New function.
1582 (cl-flet, cl-labels): New implementation with new semantics, relying on
1583 lexical-binding.
1584 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1585 (cl-closure-vars, cl--function-convert-cache)
1586 (cl--function-convert): Move from cl-macs.el.
1587 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1588 rename by removing the "cl-" prefix.
1589 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1590
6fa6c4ae
SM
15912012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1594 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1595 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1596 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1597 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1598 (cl-hash-table-count): Add old compatibility aliases.
1599
1600 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1601 Use macroexpand-all-environment instead.
1602 (cl--old-macroexpand): New var.
1603 (cl--sm-macroexpand): New function.
1604 (cl-symbol-macrolet): Use it during macro expansion.
1605 (cl--function-convert-cache): New var.
1606 (cl--function-convert): New function, extracted from
1607 cl-macroexpand-all.
1608 (cl-lexical-let): Use it.
1609
1610 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1611 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1612 (cl-member): Remove old alias.
1613
1614 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1615 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1616 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1617 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1618 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1619 (cl-macroexpand-cmacs): Remove var.
1620 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1621 Use macroexpand-all instead.
1622
4dd1c416
SM
16232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1626 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1627 (macroexp-copyable-p): New functions and macros.
1628 * emacs-lisp/edebug.el (edebug-unwrap):
1629 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1630 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1631 (pcase--let*): Remove.
1632 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1633 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1634 macroexp-const-p instead.
1635 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1636
1637 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1638 instead of "cl-" for internal definitions. Use macroexp-const-p.
1639 (cl-old-bc-file-form): Remove var.
1640 (cl-const-exprs-p): Remove fun.
1641 (cl-labels, cl-macrolet): Use backquote.
1642 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1643 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1644 (cl-define-setf-expander): Rename from cl-define-setf-method.
1645 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1646
1647 * international/mule-cmds.el: Don't require CL.
1648 (view-hello-file): Don't use `letf'.
1649
ed8bd4d7
SM
16502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1651
7287f2f3
SM
1652 * tmm.el (tmm-prompt): Use string-prefix-p.
1653 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1654 (tmm-add-prompt): Use minibuffer-completion-help.
1655 (tmm-delete-map): Remove.
1656
ed8bd4d7
SM
1657 * subr.el (kbd): Make it its own function.
1658
7b4cdbf4
SM
16592012-06-07 Stefan Merten <smerten@oekonux.de>
1660
1661 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1662 Silence compiler warnings. Fix versions.
ed8bd4d7 1663 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1664 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1665 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1666 (rst-package-emacs-version-alist): Correct Emacs version to
1667 represent major merge with upstream.
ed8bd4d7 1668 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1669
2b48d721
GM
16702012-06-06 Glenn Morris <rgm@gnu.org>
1671
1672 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1673 Only print environment variables if set.
1674
fa779ab0
SM
16752012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1678 (macroexp--cons): Rename from maybe-cons.
1679 (macroexp--accumulate): Rename from macroexp-accumulate.
1680 (macroexp--all-forms): Rename from macroexpand-all-forms.
1681 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1682 (macroexp--expand-all): Rename from macroexpand-all-1.
1683
628299e0
SS
16842012-06-06 Sam Steingold <sds@gnu.org>
1685
1686 * calendar/calendar.el (calendar-in-read-only-buffer):
1687 Call `special-mode' to enable the standard read-only keybindings.
1688
b7bb5838
SM
16892012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1692 with "loading" messages (bug#11635).
1693
dfb308ba
MA
16942012-06-06 Michael Albinus <michael.albinus@gmx.de>
1695
1696 * files.el (enable-remote-dir-locals): New option.
1697 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1698
0372ee92
MA
1699 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1700 Ensure, that the temp directory is local.
1701
1702 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1703 `temporary-file-directory'.
1704
eed0bb91
MA
1705 * progmodes/python.el (python-send-region): Ensure, that the
1706 temporary file is created also in the remote case.
1707
7a58f64d
GM
17082012-06-06 Glenn Morris <rgm@gnu.org>
1709
f7dd4e98
GM
1710 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1711 (vc-rcs-update-changelog): Use it.
1712
090bd7cb 1713 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1714
7a58f64d
GM
1715 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1716 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1717 (vc-sccs-diff): Replace use of the external vcdiff script.
1718
daed4003
GM
17192012-06-05 Glenn Morris <rgm@gnu.org>
1720
1721 * ledit.el: Move to obsolete/.
1722
48c455c7
SS
17232012-06-05 Sam Steingold <sds@gnu.org>
1724
1725 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1726 patch (Bug#11140).
1727
57a7d507
SM
17282012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1729
090bd7cb 1730 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1731
53aacf21
SM
1732 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1733 compiler-macro expansion.
1734
57a7d507
SM
1735 Add native compiler-macro support.
1736 * emacs-lisp/macroexp.el (macroexpand-all-1):
1737 Support compiler-macros directly. Properly follow aliases and apply
1738 the compiler macros more thoroughly.
1739 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1740 macroexpand now properly follows aliases.
1741 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1742 (cl-compiler-macroexpand): Use new prop.
1743 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1744
1745 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1746
51a5f9d8
MR
17472012-06-05 Martin Rudalics <rudalics@gmx.at>
1748
1749 * window.el (get-lru-window, get-mru-window, get-largest-window):
1750 New argument NOT-SELECTED to avoid picking the selected window.
1751 (window--display-buffer-1, window--display-buffer-2): Replace by
1752 new function window--display-buffer
1753 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1754 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1755 Use window--display-buffer.
51a5f9d8
MR
1756 (display-buffer-use-some-window): Remove temporary dedication
1757 hack by calling get-lru-window and get-largest-window with
1758 NOT-SELECTED argument non-nil. Call window--display-buffer.
1759
08f9f738
GM
17602012-06-05 Glenn Morris <rgm@gnu.org>
1761
1762 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1763 Replace external vcdiff script.
1764
e364a2b7
SM
17652012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1768
041df390
CY
17692012-06-04 Chong Yidong <cyd@gnu.org>
1770
e364a2b7
SM
1771 * image.el (imagemagick-types-inhibit): Revert last change.
1772 Add INFO and M.
47b36b94 1773 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1774
7c1898a7
SM
17752012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * emacs-lisp/cl-lib.el: Rename from cl.el.
1778 * emacs-lisp/cl.el: New compatibility file.
1779 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1780 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1781 to obey the "cl-" prefix.
1782 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1783
0c3461de
GM
17842012-06-03 Glenn Morris <rgm@gnu.org>
1785
1e266c88
GM
1786 * emacs-lisp/authors.el (authors-aliases): Addition.
1787
0c3461de
GM
1788 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1789 Fix :version.
1790
d8a52e15
SM
17912012-06-03 Stefan Merten <smerten@oekonux.de>
1792
1793 * textmodes/rst.el: Add comments.
1794 (rst-transition, rst-adornment): New faces.
1795 (rst-adornment-faces-alist): Make default safe to reevaluate.
1796 Fixes
1797 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1798 Improve customization tags.
1799 (rst-define-level-faces): Clarify meaning.
1800
5205d6f6
CY
18012012-06-03 Chong Yidong <cyd@gnu.org>
1802
1803 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1804 (compilation-mode-line-run, compilation-mode-line-exit):
1805 New faces.
5205d6f6
CY
1806 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1807
757ee657
JD
18082012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1809
7c1898a7
SM
1810 * progmodes/which-func.el (which-func-update-ediff-windows):
1811 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1812
5f2c76c6
CY
18132012-06-03 Chong Yidong <cyd@gnu.org>
1814
1815 * bindings.el: Remove explicit help text from format-mode-line.
1816 It is now supplied by mode-line-default-help-echo.
1817 (mode-line-front-space, mode-line-end-spaces)
1818 (mode-line-misc-info): New variables.
1819 (mode-line-modes, mode-line-position): Move the default value to
1820 the variable definition.
1821 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1822 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1823 (mode-line-modified-help-echo): New functions.
1824 (mode-line-mule-info, mode-line-modified): Use them.
1825 (mode-line-eol-desc, propertized-buffer-identification):
1826 Consistency fixes for help text.
cbe46e5f
CY
1827 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1828 set-buffer-file-coding-system (Bug#289).
1829 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1830
f2d6a3df
SM
18312012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * simple.el (execute-extended-command): Set real-this-command
1834 (bug#11506).
1835
37269466
CY
18362012-06-02 Chong Yidong <cyd@gnu.org>
1837
1838 Remove incorrect uses of "modeline" in comments, docstrings, and
1839 function/variable names (Bug#10329).
1840
1841 * cus-edit.el (mode-line):
1842 * dframe.el (dframe-mouse-hscroll):
1843 * emacs-lisp/re-builder.el:
1844 * emacs-lisp/easy-mmode.el (define-minor-mode):
1845 * frame.el (set-frame-name):
1846 * help.el (lookup-minor-mode-from-indicator):
1847 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1848 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1849 (c-toggle-hungry-state):
1850 * progmodes/antlr-mode.el (antlr-language-alist):
1851 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1852 * progmodes/vhdl-mode.el (vhdl-mode):
1853 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1854 * term/ns-win.el (ns-face-at-pos):
1855 * term/sup-mouse.el (sup-mouse-report):
1856 * textmodes/flyspell.el (flyspell-mode-line-string):
1857 * textmodes/ispell.el (ispell-highlight-face):
1858 * textmodes/reftex-global.el:
1859 * vc/vc-arch.el (vc-arch-mode-line-string):
1860 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1861 * vc/vc-git.el (vc-git-mode-line-string):
1862 * vc/vc-hooks.el (vc-display-status)
1863 (vc-default-mode-line-string):
1864 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1865
1866 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1867
1868 * dired.el (dired-sort-set-mode-line): Rename from
1869 dired-sort-set-modeline. All callers changed.
1870
1871 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1872 eshell-status-in-modeline.
1873
1874 * foldout.el (foldout-mode-line-string): Rename from
1875 foldout-modeline-string. All callers changed.
1876 (foldout-update-mode-line): Rename from foldout-update-modeline.
1877
1878 * subr.el (redraw-modeline): Make into obsolete alias.
1879
1880 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1881 timeclock-modeline-display. Make old name an alias.
1882 (timeclock-update-mode-line): Likewise. All callers changed.
1883 (timeclock-mode-line-display): No need to check before using
1884 add-hook.
1885 (timeclock-relative, timeclock-day-over-hook)
1886 (timeclock-use-elapsed, timeclock-mode-string)
1887 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1888
1889 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1890 crisp-mode-modeline-string.
1891
1892 * play/solitaire.el (solitaire-build-mode-line): Rename from
1893 solitaire-build-modeline. All callers changed.
1894
1895 * play/zone.el (zone-hiding-mode-line): Rename from
1896 zone-hiding-modeline. All callers changed.
1897 (zone): Remove unusued `modeline-hidden-level' property.
1898
1899 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1900 xscheme-modeline-initialize. All callers changed.
1901
1902 * strokes.el (strokes-lighter): Rename from
1903 strokes-modeline-string.
1904
1905 * textmodes/sgml-mode.el (html-face-tag-alist)
1906 (html-tag-face-alist): Use mode-line face instead of obsolete
1907 alias modeline.
1908
42152ee4
SM
19092012-06-02 Stefan Merten <smerten@oekonux.de>
1910
1911 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1912 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1913
95f520b5
CY
19142012-06-02 Chong Yidong <cyd@gnu.org>
1915
1916 * image.el (imagemagick-enabled-types): Rename from
1917 imagemagick-types-enable. Add many more types.
1918 (imagemagick-types-inhibit): Change default to nil.
1919 (imagemagick-filter-types): Caller changed.
1920
4a5f187a
SM
19212012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1922
03fef3e6
SM
1923 * emacs-lisp/cl-macs.el: Use backquotes.
1924 (cl-transform-function-property): Use eval-and-compile rather than
1925 abusing `require'.
1926 (defstruct): Use declare-function instead of with-no-warnings.
1927
4a5f187a
SM
1928 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1929 (byte-compile-output-docform): Re-add the print-circle bindings.
1930 (byte-compile-fix-header): Use #$ just because it's shorter.
1931 (byte-compile-output-file-form): Remove defun/defmacro.
1932
bd56924f
MR
19332012-06-01 Martin Rudalics <rudalics@gmx.at>
1934
1935 * simple.el (choose-completion): Remove now obsolete binding for
1936 owindow.
1937
046e38ce
MA
19382012-06-01 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1941 in order to avoid "Stack overflow in regexp matcher".
1942
32d72c2f
GM
19432012-05-31 Glenn Morris <rgm@gnu.org>
1944
1945 * image.el: For clarity, call imagemagick-register-types at
1946 top-level, rather than relying on a custom :initialize.
1947 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1948 (imagemagick-filter-types): New function. (Bug#7406)
1949 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1950 If disabling support, remove elements altogether rather
1951 than using an impossible regexp.
1952 (imagemagick-types-inhibit): Give it the default init function.
1953
dd41169b
SM
19542012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1955
4a5f187a
SM
1956 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1957 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1958
efc00ab1 19592012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1960
1961 * desktop.el (desktop-read): Clear previous and next buffers for
1962 all windows and bury *Messages* buffer (bug#11556).
1963
500fcedc
SM
19642012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 Add `declare' for `defun'. Align `defmacro's with it.
1967 * emacs-lisp/easy-mmode.el (define-minor-mode)
1968 (define-globalized-minor-mode): Don't autoload the var definitions.
1969 * emacs-lisp/byte-run.el: Use lexical-binding.
1970 (defun-declarations-alist, macro-declarations-alist): New vars.
1971 (defmacro, defun): Use them.
1972 (make-obsolete, define-obsolete-function-alias)
1973 (make-obsolete-variable, define-obsolete-variable-alias):
1974 Use `declare'.
1975 (macro-declaration-function): Mark obsolete.
1976 * emacs-lisp/autoload.el: Use lexical-binding.
1977 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1978
6e8a1786
AM
19792012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1980
1981 * textmodes/ispell.el (ispell-with-no-warnings):
1982 Define as a macro.
500fcedc
SM
1983 (ispell-kill-ispell, ispell-change-dictionary):
1984 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1985 `interactive-p'.
1986
61b108cc
SM
19872012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1990 (macro-declaration-function): Move var from C code.
1991 (macro-declaration-function): Define function with defalias.
1992 * emacs-lisp/macroexp.el (macroexpand-all-1):
1993 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1994 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1995 defun/defmacro any more.
1996 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1997 Provide fallback for unknown arglist.
1998 (byte-compile-arglist-warn): Change calling convention.
1999 (byte-compile-output-file-form): Move print-vars binding.
2000 (byte-compile-output-docform): Simplify accordingly.
2001 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2002 (byte-compile-defmacro-declaration): Remove.
2003 (byte-compile-file-form-defmumble): Generalize to defalias.
2004 (byte-compile-output-as-comment): Return byte-positions.
2005 Simplify callers accordingly.
2006 (byte-compile-lambda): Use `assert'.
2007 (byte-compile-defun, byte-compile-defmacro): Remove.
2008 (byte-compile-file-form-defalias):
2009 Use byte-compile-file-form-defmumble.
2010 (byte-compile-defalias-warn): Remove.
2011
6d3f7c2f
SM
20122012-05-29 Stefan Merten <smerten@oekonux.de>
2013
2014 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2015 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2016
2017 (rst-mode-abbrev-table): Merge definition.
2018 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2019 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2020
6dbaa1c7
UJ
20212012-05-29 Ulf Jasper <ulf.jasper@web.de>
2022
2023 * calendar/icalendar.el
2024 (icalendar-export-region): Export UID properly.
2025
d209e2fb 20262012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2027 * calendar/icalendar.el (icalendar-import-format):
2028 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2029 (icalendar-import-format-uid): New.
2030 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2031 Export UID.
2032
6876a58d
SM
20332012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2036 different alternative patterns.
2037 (pcase-codegen): Be more careful to preserve identity.
2038 (pcase--u1): Don't forget to mark vars as used.
2039
2040 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2041 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2042 (byte-compile-from-buffer): ...rather than here.
2043
2044 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2045 functions from byte-compile-function-environment.
2046
46b7967e
TN
20472012-05-29 Troels Nielsen <bn.troels@gmail.com>
2048
2049 * window.el (window-deletable-p): Avoid deleting the root window
2050 of a frame with an active minibuffer.
2051
69d565e2
MR
20522012-05-29 Martin Rudalics <rudalics@gmx.at>
2053
2054 * simple.el (choose-completion): Use quit-window (Bug#11567).
2055
a149fa51
CY
20562012-05-29 Chong Yidong <cyd@gnu.org>
2057
2058 * whitespace.el (whitespace-cleanup): Fix usage of
2059 whitespace-empty-at-bob-regexp (Bug#11492).
2060
2b311310
AH
20612012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2062
2063 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2064 revert (Bug#11488).
2065
b9cb2387
JL
20662012-05-29 Juri Linkov <juri@jurta.org>
2067
2068 * isearch.el (isearch-mode-map): Bind `M-s _' to
2069 `isearch-toggle-symbol'. Bind `M-s c' to
2070 `isearch-toggle-case-fold'.
2071 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2072 (isearch-forward): Add `M-s _' to the docstring.
2073 (isearch-forward-symbol, isearch-toggle-case-fold)
2074 (isearch-symbol-regexp): New functions. (Bug#11381)
2075
d5e61c1c
JL
20762012-05-29 Juri Linkov <juri@jurta.org>
2077
2078 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2079 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2080 a function, call it to get the regexp.
2081 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2082 property `isearch-message-prefix' instead of the string "word ".
2083 (isearch-search-fun-default): For the case of `isearch-word',
2084 return a lambda that calls re-search-forward/re-search-backward
2085 with a regexp returned by `word-search-regexp' or by the function
2086 in `isearch-word'.
2087
8cbd80f7
JL
20882012-05-29 Juri Linkov <juri@jurta.org>
2089
2090 * isearch.el (isearch-search-fun-default): New function.
2091 (isearch-search-fun): Move default part to the new function
2092 `isearch-search-fun-default'.
2093 (isearch-search-fun-function): Set the default value to
2094 `isearch-search-fun-default'. (Bug#11381)
2095
2096 * comint.el (comint-history-isearch-end):
2097 Use `isearch-search-fun-default'.
2098 (comint-history-isearch-search): Use `isearch-search-fun-default'
2099 and remove spacial case for `isearch-word'.
2100 (comint-history-isearch-wrap): Remove spacial case for
2101 `isearch-word'.
2102
2103 * hexl.el (hexl-isearch-search-function):
2104 Use `isearch-search-fun-default'.
2105
2106 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2107 Use `word-search-regexp' for `isearch-word'.
2108
2109 * misearch.el (multi-isearch-search-fun):
2110 Use `isearch-search-fun-default'.
2111
2112 * simple.el (minibuffer-history-isearch-search):
2113 Use `isearch-search-fun-default' and remove spacial case for
2114 `isearch-word'.
2115 (minibuffer-history-isearch-wrap): Remove spacial case for
2116 `isearch-word'.
2117
2118 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2119 Remove spacial case for `isearch-word'.
2120 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2121
85c8c5b6
AM
21222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2123
2124 Decrease XEmacs incompatibilities.
2125 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2126 Use `string-match'.
2127 (flyspell-delete-region-overlays): Use alternative definition for
2128 XEmacs.
2129 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2130 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2131 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2132 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2133 `define-obsolete-face-alias' under XEmacs, but old method.
2134
2135 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2136 `with-no-warnings' definition or Emacs alias.
2137 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2138 (ispell-word): Do not use `region-p' if XEmacs.
2139
8cab9efc
AM
21402012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2141
2142 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2143 Check for `ispell-dictionary-base-alist' instead of full
2144 `ispell-dictionary-alist'.
2145 (ispell-init-process): Show spellchecker when starting new Ispell
2146 process.
2147
fda91268
RZ
21482012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2151 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2152
694ea8e3
JB
21532012-05-27 Juanma Barranquero <lekktu@gmail.com>
2154
2155 * version.el (motif-version-string, gtk-version-string)
2156 (ns-version-string): Declare.
2157
e4d4f539
JL
21582012-05-27 Juri Linkov <juri@jurta.org>
2159
2160 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2161 after the `eval-defun-1' specialcaseing
2162 like in `edebug-eval-defun' (bug#10181).
2163
2164 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2165 like in `eval-defun-1'.
2166
33017faf 21672012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2168
fda91268
RZ
2169 * mail/sendmail.el (mail-yank-region):
2170 Recognize rmail-yank-current-message in addition to insert-buffer.
2171 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2172 a *mail* buffer created through rmail-start-mail with sendmail as
2173 mail-user-agent.
2174
33017faf
GM
21752012-05-27 Chong Yidong <cyd@gnu.org>
2176
2177 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2178 Default to 256 (Bug#11267).
2179
2180 * help.el (describe-mode): Doc fix.
2181
04188bb9
GM
21822012-05-26 Glenn Morris <rgm@gnu.org>
2183
38264cc9
GM
2184 * w32-fns.el (w32-init-info): Remove.
2185 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2186
eb7afdad
GM
2187 * info.el (info-initialize): For self-contained NS builds, put the
2188 included info/ directory at the front. (Bug#2791)
2189
04188bb9
GM
2190 * paths.el (Info-default-directory-list): Make it a defcustom,
2191 mainly so that we can use custom-initialize-delay.
2192
a179e3f7
SM
21932012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2194
43416392
SM
2195 * subr.el (buffer-has-markers-at): Mark obsolete.
2196
a179e3f7 2197 * subr.el (lambda): Use declare.
43416392 2198
a179e3f7
SM
2199 * emacs-lisp/lisp-mode.el (lambda):
2200 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2201
34a008d9
AH
22022012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2203
2204 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2205
0a3b289f
GM
22062012-05-26 Glenn Morris <rgm@gnu.org>
2207
2208 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2209
758c81e8
GM
22102012-05-25 Glenn Morris <rgm@gnu.org>
2211
f9f334f0
GM
2212 * paths.el: Remove no-byte-compile.
2213 * loadup.el: No need to load paths.el uncompiled.
2214
87eb79c2
GM
2215 * image.el (imagemagick-types-inhibit): Doc fix.
2216
758c81e8
GM
2217 * version.el: Remove no-byte-compile and associated formatting.
2218 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2219 is ancient code from when there was an "inc-vers.el".
2220
e7e85dc0
SM
22212012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * progmodes/gdb-mi.el: Minor style changes.
2224 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2225 Turn into minor modes.
2226 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2227 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2228 (gdb-shell): Remove unneeded let-binding.
2229 (gdb-get-many-fields): Eliminate O(n²) behavior.
2230
f31237a4
EZ
22312012-05-25 Eli Zaretskii <eliz@gnu.org>
2232
2233 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2234 platforms that don't link in fontset.c.
2235
bc1b21bb
JL
22362012-05-25 Juri Linkov <juri@jurta.org>
2237
2238 Use the same diff color scheme as in modern VCSes (bug#10181).
2239
2240 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2241 to avoid confusion with `diff-added' that now uses green colors.
2242 (diff-removed): Use shades of red.
2243 (diff-added): Use shades of green.
2244 (diff-changed): Leave just the yellow color.
2245 (diff-use-changed-face): New variable.
2246 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2247 how to highlight context diff changes.
2248 (diff-refine-change): Use shades of yellow.
2249 (diff-refine-removed): New face that uses shades of red.
2250 (diff-refine-added): New face that uses shades of green.
2251 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2252 `diff-refine-removed' in the call to `smerge-refine-subst'
2253 depending on the value of `diff-use-changed-face'.
2254
2255 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2256 (smerge-other): Use shades of green.
2257 (smerge-base): Use shades of yellow.
2258 (smerge-refined-change): Empty face.
2259 (smerge-refined-removed): New face that uses shades of red.
2260 (smerge-refined-added): New face that uses shades of green.
2261 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2262 args `props-r' and `props-a', and use them. Doc fix.
2263 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2264 on its value use different faces `smerge-refined-change',
2265 `smerge-refined-removed', `smerge-refined-added' in the call to
2266 `smerge-refine-subst'.
2267
2268 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2269 Add face condition `min-colors 88' with shades of red.
2270 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2271 `min-colors 88' with shades of green.
2272 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2273 `min-colors 88' with shades of yellow.
2274
6df9112c
GM
22752012-05-24 Glenn Morris <rgm@gnu.org>
2276
ead5edc0
GM
2277 * paths.el (prune-directory-list, remote-shell-program): Move to...
2278 * files.el (prune-directory-list, remote-shell-program): ...here.
2279 For the latter, delay initialization, prefer ssh, just search PATH.
2280
f18b81e6
GM
2281 * paths.el (term-file-prefix): Move to faces.el (the only user).
2282 * faces.el (term-file-prefix): Move here, make it a defcustom.
2283
ee2f89a6
GM
2284 * paths.el (news-directory, news-path, news-inews-program):
2285 Move to gnus/nnspool.el.
61a583ca 2286
f8815e4c
GM
2287 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2288
c8f3b42c
GM
2289 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2290 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2291 Make the latter a defcustom, with a delayed initialization.
2292
6df9112c
GM
2293 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2294 These were deleted from Gnus itself late 2010.
2295
5dadff36
JB
22962012-05-22 Juanma Barranquero <lekktu@gmail.com>
2297
9e1701c6
JB
2298 * progmodes/which-func.el (which-func-ff-hook):
2299 Check against user-error, not error.
2300
bd7239f5 2301 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2302 cl-specs.el, which no longer exists.
2303
3290526d
GM
23042012-05-22 Glenn Morris <rgm@gnu.org>
2305
2306 * info.el (info-emacs-bug): New command.
2307 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2308 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2309
ff0c3cfb
GM
23102012-05-21 Glenn Morris <rgm@gnu.org>
2311
2312 * makefile.w32-in (update-subdirs-SH):
2313 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2314
5814f126
SM
23152012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2316
a52c0aa0
SM
2317 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2318
5814f126
SM
2319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2320 Simplify Maven regexp, and make sure the file can't start with a space
2321 (bug#11517).
2322
b847032c
GM
23232012-05-21 Glenn Morris <rgm@gnu.org>
2324
2325 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2326 Scrap superfluous subshells.
2327
3858bfe7
SM
23282012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2331 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2332
d14b0029
JB
23332012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2334
2335 * calc/calc.el (calc-ensure-consistent-units): New variable.
2336
a52c0aa0
SM
2337 * calc/calc-units.el (math-consistent-units-p)
2338 (math-check-unit-consistency): New functions.
2339 (calc-quick-units, calc-convert-units):
2340 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2341 is non-nil.
d14b0029
JB
2342 (calc-extract-units): Fix typo.
2343
60c4db3a
SM
23442012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2345
77f3b62e
SM
2346 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2347
60c4db3a
SM
2348 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2349 (flyspell-default-deplacement-commands): Don't spell check after
2350 repeated window/frame switches (e.g. triggered by mouse-movement).
2351 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2352 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2353 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2354 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2355 Remove unused vars.
2356 (flyspell-get-casechars, flyspell-get-not-casechars):
2357 Simplify; Don't bother removing a ] just to add it back.
2358 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2359
d209e2fb 23602012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2361
2362 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2363 New functions.
bd7239f5 2364 (math-function-table): Add support for more C functions.
b1a10716 2365
3f1b25b5
AM
23662012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2367
090bd7cb
JB
2368 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2369 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2370 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2371
b581bb5c
SM
23722012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2375 their respective macro declarations.
2376 * skeleton.el (define-skeleton):
2377 * progmodes/compile.el (define-compilation-mode):
2378 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2379 (define-ibuffer-filter):
2380 * emacs-lisp/generic.el (define-generic-mode):
2381 * emacs-lisp/easy-mmode.el (define-minor-mode)
2382 (define-globalized-minor-mode):
2383 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2384 * emacs-lisp/byte-run.el (defsubst):
2385 * custom.el (deftheme): Add doc-string metadata.
2386
70b8ef8f
SM
23872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2390
b1198e17
SM
23912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2392
9abdc45d
SM
2393 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2394
b1198e17
SM
2395 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2396 * emacs-lisp/cl-macs.el: Idem.
2397 * emacs-lisp/cl-specs.el: Remove.
2398
4735906a
SM
23992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 Minor renaming of internal CL functions and variables.
2402 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2403 (cl--position): Rename from cl-position.
2404 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2405 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2406 (cl--random-state): Rename from *random-state*.
2407
ac348012
SM
24082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2411 parens around the arg list (bug#11499).
2412
a0a79cde
JL
24132012-05-17 Juri Linkov <juri@jurta.org>
2414
2415 * isearch.el (word-search-regexp, word-search-backward)
2416 (word-search-forward, word-search-backward-lax)
2417 (word-search-forward-lax): Move functions from search.c
2418 (bug#10145, bug#11381).
2419
65034a51
AM
24202012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2421
090bd7cb
JB
2422 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2423 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2424 Delay for otherchars as for normal word components.
65034a51 2425
1a72a195
SM
24262012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * minibuffer.el (completion--sifn-requote): Fix last change.
2429 (minibuffer-local-must-match-filename-map):
2430 Move define-obsolete-variable-alias before its var.
2431
fdb058c2
SM
24322012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2433
c41045e6
SM
2434 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2435
036dfb8b
SM
2436 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2437 behavior.
2438 (completion--string-equal-p): New function.
2439 (completion--twq-all): Use it to get better assertion failure data.
2440
2473256d
SM
2441 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2442 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2443 (shell--requote-argument): New functions.
2444 (shell-completion-vars): Use them.
2445 (shell--parse-pcomplete-arguments): Rename from
2446 shell-parse-pcomplete-arguments.
2447 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2448 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2449 Obey comint-file-name-quote-list.
2450
fdb058c2
SM
2451 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2452 (smie-indent-keyword): Use it.
2453
51fa99f1
SM
24542012-05-14 Stefan Merten <smerten@oekonux.de>
2455
2456 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2457
e18afed7 24582012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2459
2460 * net/rlogin.el (rlogin-mode-map): Fix last change.
2461
e18afed7 24622012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2463
2464 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2465 the following \r\n using a single `process-send-string', since the
2466 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2467 with two `process-send-string's (Bug#11444).
8633b1f4 2468
e18afed7 24692012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2470
fdb058c2
SM
2471 * shell.el (shell-parse-pcomplete-arguments):
2472 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2473
2d21d7f6
WJ
24742012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2475
e18afed7 2476 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2477 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2478 (image-transform-width, image-transform-fit-width): New functions.
2479 (image-transform-properties): Use them.
2480 (image-transform-check-size): New function.
2481 (image-toggle-display-image): Use it (for testing).
2482 (image-transform-set-rotation): Reduce angle mod 360.
2483 Delete obsolete comment.
2484
7102e6d0
WJ
24852012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2486
2487 * image-mode.el: Fix scaling (bug#11399).
2488 (image-transform-resize): Doc fix.
2489 (image-transform-properties): Default scale is 1 and height should
2490 be an integer.
2491
06bc5e6e
SM
24922012-05-13 Johan Bockgård <bojohan@gnu.org>
2493
2494 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2495 than hard-coding `car', to fix misbehavior when moving forward.
2496
0ae03b6a
CY
24972012-05-13 Chong Yidong <cyd@gnu.org>
2498
2499 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2500 (tabulated-list-entries, tabulated-list-padding)
2501 (tabulated-list-sort-key): Make permanent-local.
2502
2503 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2504 (electric-buffer-list): Put electric buffer menu
2505 command descriptions in this docstring, instead of the docstring
2506 of electric-buffer-menu-mode. Code cleanups.
2507 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2508 Electric-buffer-menu-mode.
2509 (electric-buffer-update-highlight): Minor code cleanup.
2510
205a7391
MA
25112012-05-13 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2514 (Bug#11447)
2515
e5bd0a28
SM
25162012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 Move define-obsolete-variable-alias before the var's definition.
2519 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2520 * tooltip.el (tooltip-hook):
2521 * textmodes/reftex-toc.el (reftex-toc-map):
2522 * textmodes/reftex-sel.el (reftex-select-label-map)
2523 (reftex-select-bib-map):
2524 * textmodes/reftex-index.el (reftex-index-map)
2525 (reftex-index-phrases-map):
2526 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2527 * progmodes/meta-mode.el (meta-mode-map):
2528 * novice.el (disabled-command-hook):
2529 * loadhist.el (unload-hook-features-list):
2530 * frame.el (blink-cursor):
2531 * files.el (find-file-not-found-hooks, write-file-hooks)
2532 (write-contents-hooks):
2533 * emulation/tpu-edt.el (GOLD-map):
2534 * emacs-lock.el (emacs-lock-from-exiting):
2535 * emacs-lisp/generic.el (generic-font-lock-defaults):
2536 * emacs-lisp/chart.el (chart-map):
2537 * dos-fns.el (register-name-alist):
2538 * dired-x.el (dired-omit-files-p):
2539 * desktop.el (desktop-enable):
2540 * cus-edit.el (custom-mode-hook):
2541 * buff-menu.el (buffer-menu-mode-hook):
2542 * bookmark.el (bookmark-read-annotation-text-func)
2543 (bookmark-exit-hooks):
2544 * allout.el (allout-mode-deactivate-hook)
2545 (allout-exposure-change-hook, allout-structure-added-hook)
2546 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2547 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2548 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2549 comes before the corresponding variable's definition.
2550
ac59c2f6
CY
25512012-05-12 Chong Yidong <cyd@gnu.org>
2552
2553 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2554 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2555 (Buffer-menu-mode-map): Bind it.
2556 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2557
dee6c9a3
SM
25582012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2171cea5
SM
2560 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2561 (prolog-upper-case-string, prolog-lower-case-string)
2562 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2563 (prolog-use-smie, prolog-smie-grammar): New vars.
2564 (prolog-smie-forward-token, prolog-smie-backward-token)
2565 (prolog-smie-rules): New funs.
2566 (prolog-comment-indent): Remove.
2567 (prolog-mode-variables): Use default comment indentation instead.
2568 Setup SMIE.
2569 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2570 (prolog-mode): Don't call them any more.
2571 (prolog-electric-colon, prolog-electric-dash)
2572 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2573
aa0382bd
SM
2574 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2575
dbacb4bd
SM
2576 * minibuffer.el (completion--twq-all): Again, allow case differences.
2577
13bdd94c
SM
2578 * term.el: Move keymap initialization code to be more idiomatic.
2579 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2580 (term-terminal-menu): Move initialization into declaration.
2581 (term-escape-char): Let the user set it in her .emacs.
2582
ff46c759
SM
2583 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2584 Provide SMIE-based indentation (not enabled by default yet).
2585 (sh-mode-map): Don't bind electric keys.
2586 Use electric-pair-mode instead of skeleton-pair.
2587 (sh-assignment-regexp): Fit within 80 columns.
2588 (sh-indent-supported): Specify actual shell name instead of boolean.
2589 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2590 (sh-maybe-here-document): Use it. Make obsolete.
2591 (sh-electric-here-document-mode) New minor mode.
2592 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2593 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2594 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2595 (sh-smie-rc-grammar, sh-use-smie): New vars.
2596 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2597 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2598 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2599 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2600 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2601 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2602 (sh-set-shell): Use smie-setup if requested.
2603
dee6c9a3
SM
2604 * term.el (term-set-escape-char): Properly set term-escape-char.
2605 See http://stackoverflow.com/questions/10524656.
2606
9f9aa044
CY
26072012-05-10 Chong Yidong <cyd@gnu.org>
2608
2609 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2610 Use url-generic-parse-url, and handle host names and Windows
2611 filenames properly.
2612 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2613 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2614 URL schemes to work on.
2615 (ffap--toggle-read-only): New function.
2616 (ffap-read-only, ffap-read-only-other-window)
2617 (ffap-read-only-other-frame): Use it.
2618 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2619 necessary for ffap-url-unwrap-remote.
2620
836d29b3
DA
26212012-05-10 Dave Abrahams <dave@boostpro.com>
2622
2623 * cus-start.el (create-lockfiles): Add it.
2624
00fd78ed
CY
26252012-05-09 Chong Yidong <cyd@gnu.org>
2626
2627 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2628 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2629
666b903b 26302012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2631
2632 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2633
666b903b 26342012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2635
2636 * ansi-color.el (ansi-color-process-output): Check for validity of
2637 comint-last-output-start before using it. This avoids a bad
2638 interaction with gdb-mi's input/output buffer.
2639
666b903b 26402012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2641
2642 * files.el (dir-locals-read-from-file):
2643 Mention dir-locals in any error message.
2644
666b903b 26452012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2646
2647 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2648 package (Bug#11410).
2649
f677562b
CY
2650 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2651 variables into description.
2652
666b903b 26532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2654
2655 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2656 shell-delimiter-argument-list (bug#11348).
2657 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2658
b499d8d0
JB
26592012-05-09 Juanma Barranquero <lekktu@gmail.com>
2660
8f6b6da8
JB
2661 * textmodes/rst.el: Silence byte-compiler warnings.
2662 (rst-re-alist, rst-reset-section-caches): Move around.
2663 (rst-re): Use `characterp', not `char-valid-p'.
2664 (font-lock-beg, font-lock-end): Declare.
2665
4824146a
JB
2666 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2667 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2668
b499d8d0
JB
2669 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2670
ad89bb83
GM
26712012-05-08 Glenn Morris <rgm@gnu.org>
2672
2673 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2674
8bba5a75
SM
26752012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2676
49ed9c8e
SM
2677 * vc/log-edit.el: Add GNU coding standards highlighting.
2678 (log-edit-font-lock-gnu-style)
2679 (log-edit-font-lock-gnu-keywords): New vars.
2680 (log-edit-font-lock-keywords): New fun.
2681 (log-edit-mode): Don't fold case in font-lock.
2682 (log-edit-font-lock-keywords): Do not assume case-folding.
2683
07d00b56
SM
2684 * imenu.el: Misc cleanup. Make docstrings out of comments.
2685 Use lexical-binding.
2686 (imenu--index-alist, imenu--last-menubar-index-alist)
2687 (imenu-menubar-modified-tick): Use defvar-local.
2688 (imenu--split-menu): Remove unused var.
2689 (imenu--cleanup-seen): Declare as global.
2690 (imenu--cleanup): Use dolist.
2691
8bba5a75
SM
2692 * subr.el (defvar-local): Add debug spec and doc-string position.
2693
5075bdb5
GM
26942012-05-08 Glenn Morris <rgm@gnu.org>
2695
090bd7cb 2696 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2697 * language/english.el, language/georgian.el, language/greek.el:
2698 * language/japanese.el, language/khmer.el, language/korean.el:
2699 * language/lao.el, language/misc-lang.el, language/romanian.el:
2700 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2701 * language/thai.el, language/utf-8-lang.el:
2702 Remove no-byte-compile setting.
2703
5075bdb5
GM
2704 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2705
06f679a7
AH
27062012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2707
2708 * progmodes/make-mode.el (makefile-browse):
2709 Remove unnecessary interactive. (Bug#11324)
2710
03794570
GM
27112012-05-07 Glenn Morris <rgm@gnu.org>
2712
af8630f4
GM
2713 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2714
03794570
GM
2715 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2716
f0809a9d
SM
27172012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2718
28be5ce7
SM
2719 * loadup.el: Preload newcomment.el.
2720 * newcomment.el: Move autoload-only code to toplevel.
2721
f0809a9d
SM
2722 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2723 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2724 Handle new :right-align column property.
2725 (tabulated-list-print-col): Idem, plus use `display' text-property to
2726 try and preserve alignment for variable pitch fonts.
2727
1241b724
CY
27282012-05-07 Chong Yidong <cyd@gnu.org>
2729
2730 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2731 (tabulated-list-use-header-line): New var.
2732 (tabulated-list-init-header): Use it.
2733 (tabulated-list-print-fake-header): New function.
2734 (tabulated-list-print): Use it.
2735 (tabulated-list-sort-button-map): Add non-header-line commands.
2736 (tabulated-list-init-header): Add column name property to basic
2737 labels as well.
2738 (tabulated-list-col-sort): Handle non-header-line button case.
2739 (tabulated-list--sort-by-column-name): Fix a corner case.
2740
f0809a9d
SM
2741 * buff-menu.el (list-buffers--refresh):
2742 Handle Buffer-menu-use-header-line.
1241b724 2743
e5f9458f
CY
27442012-05-06 Chong Yidong <cyd@gnu.org>
2745
2746 * buff-menu.el: Convert to Tabulated List mode.
2747 (Buffer-menu-buffer+size-width): Make obsolete.
2748 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2749 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2750 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2751 documentation into docstring of buffer-menu.
2752 (Buffer-menu-toggle-files-only): Add an informative message.
2753 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2754 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2755 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2756 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2757 (Buffer-menu-execute, Buffer-menu-select)
2758 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2759 (Buffer-menu-bury): Use Tabulated List machinery.
2760 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2761 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2762 Delete.
e5f9458f
CY
2763 (list-buffers--refresh): New function.
2764 (list-buffers-noselect): Use it.
2765 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2766 (Buffer-menu--pretty-file-name): New helper functions.
2767
2768 * loadup.el: Preload tabulated-list.
2769
2770 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2771 tabulated-list-sort-column.
2772 (tabulated-list-init-header): Add the initial aligning space even
2773 if tabulated-list-padding is zero.
2774
e129292c
CS
27752012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2776
2777 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2778 whose cdr is not a cons cell correctly (bug#11038).
2779
6632d361
CY
27802012-05-06 Chong Yidong <cyd@gnu.org>
2781
e129292c
CS
2782 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2783 Accept additional plist in column descriptors.
6632d361
CY
2784 (tabulated-list-init-header): Obey it.
2785 (tabulated-list-get-entry): New function.
2786 (tabulated-list-put-tag): Use it. Use string-width instead of
2787 length.
2788 (tabulated-list--column-number): New function.
2789 (tabulated-list-print): Use it.
e129292c
CS
2790 (tabulated-list-print-col): New function.
2791 Set `tabulated-list-column-name' property on each column's text.
6632d361 2792 (tabulated-list-print-entry): Use it.
e129292c
CS
2793 (tabulated-list-delete-entry, tabulated-list-set-col):
2794 New functions.
6632d361
CY
2795 (tabulated-list-sort-column): New command (Bug#11337).
2796
3cc99f68
CY
2797 * buff-menu.el (list-buffers): Move C-x C-b binding from
2798 buff-menu.el to bindings.el.
2799
2800 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2801 :advertised-binding feature.
2802
52b61776
TN
28032012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2804
2805 * progmodes/compile.el (compilation-internal-error-properties):
2806 Calculate start position correctly when end-col is set but
2807 end-line is not (Bug#11382).
2808
ebfe2597
WJ
28092012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2810
2811 * man.el (Man-unindent): Use text-property-default-nonsticky to
2812 prevent untabify from inheriting face properties (Bug#11408).
2813
6d3f7c2f
SM
28142012-05-05 Stefan Merten <smerten@oekonux.de>
2815
2816 * textmodes/rst.el: Major merge with upstream development up to
2817 Docutils SVN r7399 / rst.el V1.2.1.
2818
2819 Clarify maintainership and authors.
2820
2821 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2822 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2823 (rst-official-version, rst-official-cvs-rev, rst-version)
2824 (rst-package-emacs-version-alist): New functions and variables
2825 for version information.
2826
2827 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2828 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2829 (rst-mode-syntax-table, rst-mode): New and corrected functions
2830 and variables representing reStructuredText features.
2831
2832 (rst-re): New function for reStructuredText regexes. Use in
2833 many places.
2834
2835 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2836 (rst-mode-map): Rebind keys.
2837
2838 (rst-mode-lazy, rst-font-lock-keywords)
2839 (rst-font-lock-extend-region)
2840 (rst-font-lock-extend-region-internal)
2841 (rst-font-lock-extend-region-extend)
2842 (rst-font-lock-find-unindented-line-limit)
2843 (rst-font-lock-find-unindented-line-match)
2844 (rst-adornment-level, rst-font-lock-adornment-level)
2845 (rst-font-lock-adornment-match)
2846 (rst-font-lock-handle-adornment-pre-match-form)
2847 (rst-font-lock-handle-adornment-matcher): Major revision of
2848 font-locking. Integrate with other code. Use `jit-lock-mode'.
2849
2850 (rst-preferred-adornments, rst-adjust-hook)
2851 (rst-new-adornment-down, rst-preferred-bullets)
2852 (rst-preferred-bullets, rst-indent, rst-indent-width)
2853 (rst-indent-field, rst-indent-literal-normal)
2854 (rst-indent-literal-minimized, rst-indent-comment): Change,
2855 extend and improve customization.
2856
2857 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2858 (rst-normalize-cursor-position, rst-get-decoration)
2859 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2860 (rst-rstrip, rst-toc-insert-find-delete-contents)
2861 (rst-shift-fill-region, rst-compute-bullet-tabs)
2862 (rst-debug-print-tabs, rst-debug-mark-found)
2863 (rst-shift-region-guts, rst-shift-region-right)
2864 (rst-shift-region-left, rst-use-char-classes)
2865 (rst-font-lock-keywords-function)
2866 (rst-font-lock-indentation-point)
2867 (rst-font-lock-find-unindented-line-begin)
2868 (rst-font-lock-find-unindented-line-end)
2869 (rst-font-lock-find-unindented-line)
2870 (rst-font-lock-adornment-point, rst-font-lock-level)
2871 (rst-adornment-level-alist): Remove functions and variables.
2872
2873 (rst-compare-adornments, rst-get-adornment-match)
2874 (rst-suggest-new-adornment, rst-get-adornments-around)
2875 (rst-adornment-complete-p, rst-get-next-adornment)
2876 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2877 (rst-straighten-adornments): Standardize function names to
2878 use "adornment" instead of "decoration". Correct callers.
2879 Similar standardizing in many places.
2880
2881 (rst-update-section, rst-adjust, rst-promote-region)
2882 (rst-enumerate-region, rst-bullet-list-region)
2883 (rst-repeat-last-character): Correct use of `interactive'.
2884
2885 (rst-classify-adornment, rst-find-all-adornments)
2886 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2887 (rst-find-leftmost-column, rst-repeat-last-character):
2888 Refactor functions.
2889
2890 (rst-find-title-line, rst-reset-section-caches)
2891 (rst-get-adornments-around, rst-adjust-adornment-work)
2892 (rst-arabic-to-roman, rst-roman-to-arabic)
2893 (rst-insert-list-pos, rst-insert-list-new-item)
2894 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2895 New functions.
2896
2897 (rst-all-sections, rst-section-hierarchy)
2898 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2899 New variables.
2900
2901 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2902 configuration instead of only buffer. Change where necessary.
2903
2904 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2905 (rst-shift-region, rst-adaptive-fill): New functions for
2906 indentation and filling.
2907
2908 (rst-comment-line-break, rst-comment-indent)
2909 (rst-comment-insert-comment, rst-comment-region)
2910 (rst-uncomment-region): New functions for handling comments.
2911
2912 (rst-compile): Quote shell arguments.
2913
2914 (rst-compile-pdf-preview, rst-compile-slides-preview):
2915 Delete temporary files after use.
2916
a43f98b3
GM
29172012-05-05 Glenn Morris <rgm@gnu.org>
2918
48176e8b
GM
2919 * calendar/cal-html.el: Optionally include holidays in the output.
2920 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2921 (cal-html-holidays): New option.
2922 (cal-html-css-default): Add holiday entry.
2923 (holiday-in-range): Autoload it.
2924 (cal-html-htmlify-entry): Add optional class argument.
2925 (cal-html-htmlify-list): Add optional holidays argument.
2926 (cal-html-insert-agenda-days): Include holidays in the output.
2927 (cal-html-one-month): Maybe include holidays.
2928
a43f98b3
GM
2929 * calendar/holidays.el (holiday-in-range):
2930 Move here from cal-tex-list-holidays.
2931 * calendar/cal-tex.el (cal-tex-list-holidays):
2932 Make it an obsolete alias for holiday-in-range. Update all callers.
2933
fef9d149 29342012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2935
2936 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2937 Nextstep.
2938
248da2f4
RW
29392012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2940
2941 * files.el (file-auto-mode-skip): New var.
2942 (set-auto-mode-1): Use it.
2943
f95e9344
SM
29442012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2945
df96ab1e
SM
2946 * repeat.el: Use lexical-binding.
2947 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2948 (repeat-undo-count): Remove.
2949 (repeat):
2950 * progmodes/octave-mod.el (octave-abbrev-start):
2951 * progmodes/f90.el (f90-abbrev-start):
2952 * face-remap.el (text-scale-adjust):
2953 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2954
5342bb06
SM
2955 * emacs-lisp/pcase.el (pcase--let*): New function.
2956 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2957 a bit more.
2958 (pcase--split-pred): Be more clever about ruling out overlap between
2959 a predicate and some constant pattern.
2960 (pcase--q1): Use `null' instead of (eq foo nil).
2961
f95e9344
SM
2962 * subr.el (setq-local, defvar-local): New macros.
2963 (kbd): Redefine as an alias.
2964 (with-selected-window): Leave unrelated frames alone.
2965 (set-temporary-overlay-map): New function.
2966
71873e2b
SM
29672012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * subr.el (user-error): New function.
2970 * window.el (switch-to-buffer):
2971 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2972 (smerge-match-conflict):
2973 * simple.el (previous-matching-history-element)
2974 (next-matching-history-element, goto-history-element, undo-more)
2975 (undo-start):
2976 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2977 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2978 (next-file, tags-loop-scan, list-tags, complete-tag):
2979 * progmodes/compile.el (compilation-loop):
2980 * mouse.el (mouse-minibuffer-check):
2981 * man.el (Man-bgproc-sentinel, Man-goto-page):
2982 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2983 (Info-history-forward, Info-follow-reference, Info-menu)
2984 (Info-extract-menu-item, Info-extract-menu-counting)
2985 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2986 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2987 (Info-next-reference, Info-prev-reference, Info-index)
2988 (Info-index-next, Info-follow-nearest-node)
2989 (Info-copy-current-node-name):
2990 * imenu.el (imenu--make-index-alist)
2991 (imenu-default-create-index-function, imenu-add-to-menubar):
2992 * files.el (basic-save-buffer, recover-file):
2993 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2994 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2995 (checkdoc-message-text, checkdoc-defun):
2996 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2997 * cus-edit.el (customize-changed-options, customize-rogue)
2998 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2999 (custom-variable-mark-to-reset-standard)
3000 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3001 (custom-file):
3002 * completion.el (check-completion-length):
3003 * comint.el (comint-search-arg)
3004 (comint-previous-matching-input-string-position)
3005 (comint-previous-matching-input)
3006 (comint-replace-by-expanded-history-before-point, comint-send-input)
3007 (comint-copy-old-input, comint-backward-matching-input)
3008 (comint-goto-process-mark, comint-set-process-mark):
3009 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3010 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3011
8a61ee22
SM
30122012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3013
66408d1e
SM
3014 * dabbrev.el (dabbrev--ignore-case-p): New function.
3015 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3016 Use it.
3017
8a61ee22
SM
3018 * files.el (automount-dir-prefix): Mark as obsolete.
3019
3c74813a
GM
30202012-05-04 Glenn Morris <rgm@gnu.org>
3021
3022 * patcomp.el, play/bruce.el: Move to obsolete/.
3023
0bfcf5c5
PE
30242012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3025
3026 Fix minor Y10k bugs.
3027 * arc-mode.el (archive-unixdate):
3028 * autoinsert.el (auto-insert-alist):
3029 * calc/calc-forms.el (math-this-year):
3030 * emacs-lisp/copyright.el (copyright-current-year)
3031 (copyright-update-year, copyright):
3032 * tar-mode.el (tar-clip-time-string):
3033 * time.el (display-time-update):
3034 Don't assume years have 4 digits.
3035
78f3273a
CY
30362012-05-04 Chong Yidong <cyd@gnu.org>
3037
3038 * dos-w32.el (file-name-buffer-file-type-alist)
3039 (direct-print-region-use-command-dot-com):
3040 * ffap.el (ffap-menu-regexp):
3041 * find-file.el (ff-special-constructs):
3042 * follow.el (follow-debug):
3043 * forms.el (forms--debug):
3044 * iswitchb.el (iswitchb-all-frames):
3045 * ido.el (ido-all-frames):
3046 * emacs-lisp/timer.el (timer-max-repeats):
3047 * mail/feedmail.el (feedmail-mail-send-hook)
3048 (feedmail-mail-send-hook-queued):
3049 * mail/footnote.el (footnote-signature-separator):
3050 * mail/mailabbrev.el (mail-alias-separator-string)
3051 (mail-abbrev-mode-regexp):
3052 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3053 * progmodes/idlwave.el (idlwave-libinfo-file)
3054 (idlwave-default-completion-case-is-down)
3055 (idlwave-library-routines): Convert defvars to defcustoms.
3056
3057 * mail/rmail.el (rmail-decode-mime-charset):
3058 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3059 (idlwave-shell-fix-inserted-breaks)
3060 (idlwave-shell-activate-alt-keybindings)
3061 (idlwave-shell-use-breakpoint-glyph):
3062 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3063
f7ae6719
SM
30642012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3067
47086495
WS
30682012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3069
3070 * progmodes/verilog-mode.el (font-lock-keywords):
3071 Fix mis-highligting auto. Reported by Craig Barner.
3072 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3073 defines from global name space. Reported by Dan Dever.
3074 (verilog-auto-reset, verilog-auto-reset-widths)
3075 (verilog-auto-tieoff): Support using unbased numbers for
3076 AUTORESET and AUTOTIEOFF.
3077 (verilog-submit-bug-report): Update variable list.
3078 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3079 parenthesis from not matching. Reported by Michael Rytting.
3080 (verilog-auto-template-lint): Fix hash error when linting modules
3081 with no used templates.
3082 (verilog-warn, verilog-warn-error)
3083 (verilog-warn-fatal): When non-interactive report multiple
3084 warnings before exiting. Suggested by Brad Dobbie.
3085 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3086 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3087 to report unused template errors. Reported by Brad Dobbie.
3088 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3089 nets, bug438. Reported by Vns Blore.
3090 (verilog-auto-inout-module, verilog-auto-reg)
3091 (verilog-read-decls, verilog-read-sub-decls-sig)
3092 (verilog-signals-edit-wire-reg, verilog-signals-with):
3093 Fix passing of Verilog data types in ANSI input/output ports
3094 such as "output logic" into the AUTOs. Special case "wire" and
3095 "reg" for backwards compatibility presuming Verilog 2001.
3096 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3097 (verilog-preprocess): Fix replication of preprocess output.
3098 Reported by Brad Dobbie.
3099 (verilog-auto-inst-interfaced-ports):
3100 Create verilog-auto-inst-interfaced-ports, bug429.
3101 Reported by Julian Gorfajn.
3102 (verilog-after-save-font-hook)
3103 (verilog-before-save-font-hook): New variable.
3104 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3105 (verilog-save-font-mods): Wrap disabling fontification, reported
3106 by David Rogoff.
3107 (verilog-do-indent, verilog-pretty-declarations-auto)
3108 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3109 Reported by Pierre-David Pfister.
3110 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3111 of class declarations, bug292. Reported by Kevin Heilman.
3112 (verilog-read-decls): Fix 'parameter type' not appearing in
3113 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3114 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3115 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3116 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3117 Reported by David Kravitz.
3118
31192012-05-03 Michael McNamara <mac@mail.brushroad.com>
3120
3121 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3122 assignment with tests in ifs and for loops.
3123 (verilog-extended-complete-re, verilog-complete-reg): Change so
3124 that DPI inport functions don't look like fuction declarations.
3125 (verilog-pretty-expr): Don't line up assignment
3126 operations to the test and increment in if and for loops
3127 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3128 that DPI inport functions don't look like fuction declarations.
47086495 3129
2e51d4b5
KH
31302012-05-03 Kenichi Handa <handa@m17n.org>
3131
3132 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3133 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3134 (Bug#11282).
3135
2bd785a2
SM
31362012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emacs-lisp/bytecomp.el
3139 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3140 since cconv.el might have introduced :fun-body, internal-make-closure,
3141 and friends for bytecomp to handle (bug#11391).
3142 * custom.el (defcustom): Avoid ((λ ..) ..).
3143
99d27583
SM
31442012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3147
55a71479
JB
31482012-05-02 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * notifications.el (dbus-debug):
3151 * term/linux.el (gpm-mouse-enable):
3152 * term/screen.el (xterm-register-default-colors): Declare.
3153
7b97c764
CY
31542012-05-02 Chong Yidong <cyd@gnu.org>
3155
2bc356d7
CY
3156 * cus-start.el (gc-cons-percentage, exec-suffixes)
3157 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3158 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3159 (make-cursor-line-fully-visible, void-text-area-pointer)
3160 (font-list-limit): Add customization data.
3161
7b97c764
CY
3162 * allout.el (allout-exposure-change-functions)
3163 (allout-structure-added-functions)
3164 (allout-structure-deleted-functions)
3165 (allout-structure-shifted-functions): Rename abnormal hooks from
3166 *-hook, and convert to defcustoms.
5d3385a0
JB
3167 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3168 Convert to defcustoms.
7b97c764
CY
3169 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3170
3171 * allout-widgets.el: Hook callers changed.
3172
90207a15 31732012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3174
3175 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3176 the yanked message in preference to the default value of
3177 buffer-file-coding-system.
3178
90207a15 31792012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3180
5d3385a0
JB
3181 * window.el (display-buffer--action-function-custom-type):
3182 Fix entry.
d9558cad 3183
90207a15 31842012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3185
3186 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3187
d80ac57b
GM
31882012-05-01 Glenn Morris <rgm@gnu.org>
3189
976f7668
GM
3190 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3191
beb83b5a
GM
3192 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3193
d80ac57b
GM
3194 * cus-edit.el (custom-variable-documentation): Simplify with format.
3195
b593d6a9
AH
31962012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3197 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * simple.el (suggest-key-bindings, execute-extended-command):
3200 Move from keyboard.c.
3201
782fbf2a
CY
32022012-05-01 Chong Yidong <cyd@gnu.org>
3203
3204 * follow.el: Eliminate advice.
3205 (set-process-filter, process-filter, sit-for): Advice deleted.
3206 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3207 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3208 Vars deleted.
782fbf2a
CY
3209 (follow-auto): Use a :set function.
3210 (follow-mode): Rewritten. Don't advise process filters.
3211 (follow-switch-to-current-buffer-all, follow-scroll-up)
3212 (follow-scroll-down): Assume follow-mode is bound.
3213 (follow-comint-scroll-to-bottom)
3214 (follow-align-compilation-windows): New functions.
3215 (follow--window-sorter): New function.
3216 (follow-all-followers): Use it to explicitly sort windows by their
3217 positions; don't make assumptions about next-window order.
3218 (follow-windows-start-end, follow-delete-other-windows-and-split)
3219 (follow-calc-win-start): Doc fix.
3220 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3221 vertical-motion unnecessarily.
3222 (follow-adjust-window): New function.
3223 (follow-post-command-hook): Use it.
3224 (follow-call-set-process-filter, follow-call-process-filter)
3225 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3226 (follow-stop-intercept-process-output, follow-generic-filter):
3227 Functions deleted.
3228 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3229 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3230 New functions, replacing advice on scroll-bar-* commands.
87233a14 3231 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3232
3233 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3234 (comint-postoutput-scroll-to-bottom): Use it.
3235 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3236
290af740
GM
32372012-05-01 Glenn Morris <rgm@gnu.org>
3238
3239 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3240 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3241 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3242 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3243 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3244 Remove no-byte-compile setting.
3245
6eac8dc9
SM
32462012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3249 all-completions code to not return a number in the last cdr.
3250
9cc7819c
LL
32512012-04-30 Leo Liu <sdl.web@gmail.com>
3252
3253 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3254 read-only error.
3255
c93b886f
CY
32562012-04-29 Chong Yidong <cyd@gnu.org>
3257
3258 * follow.el (follow-calc-win-end): Rewrite to handle partial
3259 screen lines correctly (Bug#8390).
3260 (follow-avoid-tail-recenter): Minor cleanup.
3261
8b6c19f4
SM
32622012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 Avoid the obsolete `assoc' package.
3265 * speedbar.el (speedbar-refresh): Avoid adelete.
3266 (speedbar-file-lists): Simplify and avoid aput.
3267 * man.el (Man--sections, Man--refpages): New vars, replacing
3268 Man-sections-alist and Man-refpages-alist.
3269 (Man-build-section-alist, Man-build-references-alist):
3270 Use them; avoid aput.
3271 (Man--last-section, Man--last-refpage): New vars.
3272 (Man-follow-manual-reference): Use them.
3273 Use the `default' arg of completing-read.
3274 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3275
c5bb7569
CY
32762012-04-27 Chong Yidong <cyd@gnu.org>
3277
d1d2e2e8
CY
3278 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3279
15cd8efd
CY
3280 * startup.el (x-apply-session-resources): New function.
3281
3282 * term/ns-win.el (ns-initialize-window-system):
3283 * term/w32-win.el (w32-initialize-window-system):
3284 * term/x-win.el (x-initialize-window-system): Use it to properly
3285 set menu-bar-mode and other vars from X resources, even if the
3286 initial frame is not a window-system frame (Bug#2299).
3287
c5bb7569
CY
3288 * subr.el (read-key): Avoid running filter function when setting
3289 up temporary tool bar entries (Bug#9922).
3290
a8e7d6d7 32912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3292
3293 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3294 (Bug#11344)
3295
a8e7d6d7 32962012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3297
3298 * select.el (xselect--encode-string): New function, split from
3299 xselect-convert-to-string.
3300 (xselect-convert-to-string): Use it.
3301 (xselect-convert-to-filename, xselect-convert-to-os)
3302 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3303 returned strings are properly encoded (Bug#11315).
3304
a8e7d6d7 33052012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3306
3307 * simple.el (delete-active-region): Move to killing custom group.
3308
a8e7d6d7 33092012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3310
3311 * progmodes/which-func.el (which-func-current): Quote %
3312 characters for mode-line processing.
3313
578c1d4b 33142012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3315
3316 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3317 reaching eob (Bug#11286).
3318
a8e7d6d7 33192012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3320
3321 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3322 (gdb): Make it buffer-local and init to zero.
3323 (gdb-control-commands-regexp): New variable.
3324 (gdb-send): Don't wrap in "-interpreter-exec console" if
3325 gdb-control-level is positive. Increment gdb-control-level
3326 whenever the command matches gdb-control-commands-regexp, and
3327 decrement it each time the command is "end". (Bug#11279)
3328
a8e7d6d7 33292012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3330
3331 * window.el (adjust-window-trailing-edge, enlarge-window)
3332 (shrink-window, window-resize):
3333 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3334 windows (Bug#11276).
3335
b3608390
CY
33362012-04-27 Chong Yidong <cyd@gnu.org>
3337
3338 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3339 fix "missing prefix" warning. All callers changed.
b3608390 3340
797e6e88
SM
33412012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * emacs-lisp/assoc.el: Move to obsolete/.
3344
e95a67dc
SM
33452012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3346
657c21e4 3347 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3348
3349 * term/ns-win.el (ns-define-service):
3350 * progmodes/pascal.el (pascal-goto-defun):
3351 * progmodes/js.el (js--read-tab):
3352 * progmodes/etags.el (tags-lazy-completion-table):
3353 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3354 * emacs-lisp/ewoc.el (ewoc--wrap):
3355 * emacs-lisp/assoc.el (aput, adelete, amake):
3356 * doc-view.el (doc-view-convert-current-doc):
3357 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3358
cb3e7ae0
CY
33592012-04-26 Chong Yidong <cyd@gnu.org>
3360
dce04f7f
CY
3361 * image.el (image-type-from-buffer): Only return supported image
3362 type (Bug#9045).
3363
cb3e7ae0
CY
3364 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3365 value, for symmetry with diff-end-of-hunk.
3366 (diff-split-hunk, diff-find-source-location)
3367 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3368 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3369 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3370 compute the relevant hunk or file properly (Bug#6005).
3371 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3372
0d42eb3e
SM
33732012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * vc/vc-mtn.el:
3376 * vc/vc-hg.el:
3377 * vc/vc-git.el:
3378 * vc/vc-dir.el:
3379 * vc/vc-cvs.el:
3380 * vc/vc-bzr.el:
3381 * vc/vc-arch.el:
3382 * vc/vc.el: Replace lexical-let by lexical-binding.
3383 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3384 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3385 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3386
f08ae1c9
CY
33872012-04-26 Chong Yidong <cyd@gnu.org>
3388
8b71081d
CY
3389 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3390 (diff-mode-shared-map): Bind it to / and [remap undo].
3391
f08ae1c9
CY
3392 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3393 (ediff-window-setup-function): Use it as the default, to set up
3394 windows based on whether the current frame is graphical (Bug#2138).
3395 (ediff-choose-window-setup-function-automatically): Make obsolete.
3396
3397 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3398
ef24141c
SM
33992012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3400
cc356a5d
SM
3401 * ffap.el: Remove old code for obsolete package.
3402 (ffap-complete-as-file-p): Remove.
3403
b4ff4f1f
SM
3404 Use completion-table-with-quoting for comint and pcomplete.
3405 * comint.el (comint--unquote&requote-argument)
3406 (comint--unquote-argument, comint--requote-argument): New functions.
3407 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3408 (comint-quote-filename): Use regexp-opt-charset.
3409 (comint--common-suffix, comint--common-quoted-suffix)
3410 (comint--table-subvert): Remove.
3411 (comint-unquote-function, comint-requote-function): New vars.
3412 (comint--complete-file-name-data): Use them with
3413 completion-table-with-quoting.
3414 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3415 * pcomplete.el (pcomplete-arg-quote-list)
3416 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3417 (pcomplete-unquote-argument-function): Default to non-nil.
3418 (pcomplete-unquote-argument): Simplify.
3419 (pcomplete--common-quoted-suffix): Remove.
3420 (pcomplete-requote-argument-function): New var.
3421 (pcomplete--common-suffix): New function.
3422 (pcomplete-completions-at-point): Use completion-table-with-quoting
3423 and completion-table-subvert.
3424
79c4eeb4
SM
3425 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3426 (minibuffer--double-dollars): Preserve properties.
3427 (completion--sifn-requote): New function.
3428 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3429
ef24141c
SM
3430 * minibuffer.el: Add support for completion of quoted/escaped data.
3431 (completion-table-with-quoting, completion-table-subvert): New funs.
3432 (completion--twq-try, completion--twq-all): New functions.
3433 (completion--nth-completion): New function.
3434 (completion-try-completion, completion-all-completions): Use it.
3435
784e7d6e
LL
34362012-04-25 Leo Liu <sdl.web@gmail.com>
3437
dd2ac746
SM
3438 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3439 Use compilation-message if available to find real filename.
784e7d6e 3440
07875ee7
CY
34412012-04-25 Chong Yidong <cyd@gnu.org>
3442
3443 * vc/diff-mode.el (diff-setup-whitespace): New function.
3444 (diff-mode): Use it.
3445
3446 * vc/diff.el (diff-sentinel):
3447 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3448 Whitespace mode variables based on diff style (Bug#8612).
3449
5055880d
LL
34502012-04-25 Leo Liu <sdl.web@gmail.com>
3451
daf75653
LL
3452 * progmodes/python.el (python-send-region): Add suffix .py to the
3453 temp file.
3454
5055880d
LL
3455 * files.el (auto-mode-alist): Use javascript-mode instead.
3456
db9b177b
AH
34572012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3458
ef24141c 3459 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3460
090bd7cb 3461 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3462 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3463 references, see Bug#9.
ef24141c 3464 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3465 when receiving a fault reply.
ef24141c 3466 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3467
090bd7cb 3468 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3469 (soap-inspect-simple-type): New function.
db9b177b 3470
090bd7cb 3471 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3472 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3473 (soap-decode-basic-type, soap-encode-basic-type):
3474 support unsignedInt and double basic types.
db9b177b 3475 (soap-resolve-references-for-simple-type)
ef24141c
SM
3476 (soap-parse-simple-type, soap-encode-simple-type): New function.
3477 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3478
090bd7cb 3479 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3480 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3481 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3482 the local name of "soapenc:Array".
3483 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3484 decoding integer, byte and anyURI xsd types.
3485
1fc6097b
CY
34862012-04-25 Chong Yidong <cyd@gnu.org>
3487
3488 * cus-edit.el (custom-buffer-create-internal): Update header text.
3489
afc6df87
EZ
34902012-04-25 Eli Zaretskii <eliz@gnu.org>
3491
3492 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3493 settings on 'system-type', not on 'window-system'. On MS-Windows,
3494 set interactive-mode on in GDB.
3495
dfbd787f
SM
34962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3499 (ruby-syntax-propertize-regexp): Remove.
3500 (ruby-syntax-propertize-function): Split regexp into chunks.
3501 Match following code directly.
3502
85222d44
DG
35032012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3504
51a8ea2a
DG
3505 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3506 (ruby-syntax-propertize-regexp): New function.
3507 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3508 by a special keyword.
3509
85222d44
DG
3510 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3511 (ruby-syntax-general-delimiters-goto-beg)
3512 (ruby-syntax-propertize-general-delimiters): New functions.
3513 (ruby-syntax-propertize-function): Use them to handle GDL.
3514 (ruby-font-lock-keywords): Move old handling of GDL...
3515 (ruby-font-lock-syntactic-keywords): .. to here.
3516 (ruby-calculate-indent): Adjust indentation for GDL.
3517
b613912b
MA
35182012-04-24 Michael Albinus <michael.albinus@gmx.de>
3519
b5380639
MA
3520 * notifications.el (top): Remove unneeded declarations.
3521 (notifications-specification-version): Change to "1.2".
e43042fe 3522 (notifications-interface, notifications-notify-method)
b613912b
MA
3523 (notifications-close-notification-method): Fix docstring.
3524 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3525 (notifications-notify): Add :action-items, :resident and
3526 :transient hints. Change "image_data" to "image-data" and
3527 "image_path" to "image-path".
b613912b
MA
3528 (notifications-get-capabilities): New defun.
3529
257440aa
LL
35302012-04-24 Leo Liu <sdl.web@gmail.com>
3531
3532 * progmodes/python.el: Move hideshow setup to the end.
3533
b1bac16e
MR
35342012-04-24 Martin Rudalics <rudalics@gmx.at>
3535
3536 * window.el (handle-select-window): Clear echo area since this is
3537 no more done by read_char (Bug#11304).
3538
d81bd059
SM
35392012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3542 and `/ M' to filter-derived-mode.
3543 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3544 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3545 (ibuffer-mark-by-mode): Use default rather than initial-input.
3546 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3547
c4cf6d91
IA
35482012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3549
3550 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3551 (ibuffer-filter-by-derived-mode): New filter.
3552 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3553
7511ded8
CY
35542012-04-23 Andreas Politz <politza@fh-trier.de>
3555
3556 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3557
775c916b
CY
35582012-04-23 Chong Yidong <cyd@gnu.org>
3559
3560 * cus-edit.el (customize-apropos, customize-apropos-options):
3561 Disable matching of non-option variables (Bug#11176).
3562 (customize-option, customize-option-other-window)
3563 (customize-changed-options): Doc fix.
3564 (customize-apropos-options, customize-apropos-faces)
3565 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3566
3567 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3568 Fix word list splitting (Bug#11132).
46c71e23
CY
3569 (apropos-symbol, apropos-keybinding, apropos-label)
3570 (apropos-property, apropos-function-button)
3571 (apropos-variable-button, apropos-misc-button): New faces.
3572 (apropos-symbol-face, apropos-keybinding-face)
3573 (apropos-label-face, apropos-property-face, apropos-match-face):
3574 Variables removed (Bug#8396).
3575 (apropos-library-button, apropos-format-plist, apropos-print)
3576 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3577
2df41f9c
MA
35782012-04-23 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/xesam.el (xesam-mode-map): Use let-bound map in
3581 initialization. (Bug#11292)
3582
da00640a
AM
35832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3584
3585 Preserve ispell session localwords when switching back to
3586 original buffer.
3587
090bd7cb
JB
3588 * textmodes/ispell.el (ispell-buffer-session-localwords):
3589 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3590 (ispell-kill-ispell): add option 'clear to delete session
3591 localwords.
3592 (ispell-command-loop, ispell-change-dictionary)
3593 (ispell-buffer-local-words): Preserve session localwords when
3594 needed.
3595
090bd7cb
JB
3596 * textmodes/flyspell.el (flyspell-process-localwords)
3597 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3598
f621ccf5
AM
35992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3600
090bd7cb
JB
3601 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3602 using obsolete `translation-table-for-input'.
ef24141c
SM
3603 (ispell-word, ispell-process-line, ispell-complete-word):
3604 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3605
c2d1019e
CY
36062012-04-22 Chong Yidong <cyd@gnu.org>
3607
3608 * cus-edit.el (custom-variable-menu)
3609 (custom-variable-reset-saved, custom-face-menu)
3610 (custom-face-reset-saved): If there is no saved value, make the
3611 "reset-saved" operation bring back the default (Bug#9509).
3612 (custom-face-state): Properly detect themed faces.
3613
eeddc531
CY
3614 * faces.el (face-spec-set): Stop supporting deprecated form of
3615 third arg.
3616
dcbf5805
MA
36172012-04-22 Michael Albinus <michael.albinus@gmx.de>
3618
3619 Move functions from C to Lisp. Make non-blocking method calls
3620 the default. Implement further D-Bus standard interfaces.
3621
ef24141c
SM
3622 * net/dbus.el (dbus-message-internal): Declare function.
3623 Remove unneeded function declarations.
dcbf5805
MA
3624 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3625 (dbus-message-type-method-return, dbus-message-type-error)
3626 (dbus-message-type-signal): Declare variables. Remove local
3627 definitions.
3628 (dbus-interface-dbus, dbus-interface-peer)
3629 (dbus-interface-introspectable, dbus-interface-properties)
3630 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3631 Adapt docstring.
3632 (dbus-interface-objectmanager): New defconst.
3633 (dbus-call-method, dbus-call-method-asynchronously)
3634 (dbus-send-signal, dbus-method-return-internal)
3635 (dbus-method-error-internal, dbus-register-service)
3636 (dbus-register-signal, dbus-register-method): New defuns, moved
3637 from dbusbind.c
3638 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3639 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3640 New defuns.
dcbf5805
MA
3641 (dbus-call-method-non-blocking): Make it an obsolete function.
3642 (dbus-unregister-object, dbus-unregister-service)
3643 (dbus-handle-event, dbus-register-property)
3644 (dbus-property-handler): Obey the new structure of
3645 `bus-registered-objects'.
3646 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3647 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3648 Use `dbus-call-method'.
3649
cf20dee0
CY
36502012-04-22 Chong Yidong <cyd@gnu.org>
3651
3652 * cus-edit.el (custom-commands, custom-reset-menu)
3653 (Custom-reset-standard): Tweak labels.
3654 (custom-reset-button-menu): Change default to t.
3655 (custom-buffer-create-internal): For the custom-reset-button-menu
3656 case, put the revert button first.
3657 (custom-group-subtitle): New face.
3658 (custom-group-value-create): Align docstring to a specific column.
3659
3660 * wid-edit.el (widget-documentation-link-add): Don't handle
3661 indentation in this function.
3662 (widget-documentation-string-indent-to): New function.
3663 (widget-documentation-string-value-create): Use it.
3664
3665 * autorevert.el (auto-revert):
3666 * epg-config.el (epg):
3667 * ibuffer.el (ibuffer):
3668 * mpc.el (mpc):
3669 * ses.el (ses):
3670 * eshell/eshell.el (eshell):
3671 * net/ange-ftp.el (ange-ftp):
3672 * progmodes/ebnf2ps.el (postscript):
3673 * progmodes/flymake.el (flymake):
3674 * progmodes/prolog.el (prolog):
3675 * progmodes/verilog-mode.el (verilog-mode):
3676 * progmodes/which-func.el (which-func):
3677 * term/xterm.el (xterm):
3678 * textmodes/picture.el (picture):
3679 * textmodes/tildify.el (tildify):
3680 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3681 customization buffers.
3682
583e23bd
AM
36832012-04-22 Alan Mackenzie <acm@muc.de>
3684
3685 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3686 Adding a ) can hide the resulting (..) from searches. Fix it.
3687 Bound the backward search to the position of the existing (.
3688
7dd51bf1
JB
36892012-04-21 Juanma Barranquero <lekktu@gmail.com>
3690
3691 * progmodes/verilog-mode.el (verilog-mode): Check whether
3692 which-func-modes is t before adding verilog-mode.
3693 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3694
d64a438f
LL
36952012-04-21 Leo Liu <sdl.web@gmail.com>
3696
7dd51bf1 3697 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3698
081e8d65
MV
36992012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3700
3701 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3702 filling of the last column of a table (Bug#5635).
3703 (woman-find-next-control-line): New arg, specifying an additional
3704 regexp component for the control line.
3705 (woman2-roff-buffer): Use it.
3706 (woman-break-table): New function.
3707 (woman2-TS): Use it.
3708
37092012-04-21 Chong Yidong <cyd@gnu.org>
3710
3711 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3712 (woman-horizontal-escapes, woman-negative-vertical-space)
3713 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3714 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3715
ed571ccb
SM
37162012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * minibuffer.el (completion-file-name-table): Complete user names.
3719
39773899
LL
37202012-04-20 Leo Liu <sdl.web@gmail.com>
3721
3722 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3723 and pcase-let*.
3724
de6ff46d
CY
37252012-04-20 Chong Yidong <cyd@gnu.org>
3726
3727 * server.el (server-execute): Respect initial-buffer-choice if it
3728 is a string and there are no files to open (Bug#2825).
3729 (server-create-window-system-frame, server-create-tty-frame):
3730 Don't switch buffers here.
2d0e8e61
CY
3731 (server-process-filter): Only try to open a window system frame if
3732 compiled with graphical support (Bug#8314).
de6ff46d 3733
54071013
DN
37342012-04-20 Dan Nicolaescu <dann@gnu.org>
3735
3736 * battery.el (battery-echo-area-format): Display remaining time
3737 for sysfs backend too (Bug#11269).
3738 (battery-linux-sysfs): Fix conditional for the charge.
3739
f30d612a
CY
37402012-04-20 Chong Yidong <cyd@gnu.org>
3741
c07a4c0b 3742 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3743 (gdb-inferior-io--init-proc): New function.
3744 (gdb-init-1): Use it.
3745 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3746 responsible for allocating a new pty and hooking it to gdb when
3747 the old pty gets an EIO due to process exit.
3748 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3749 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3750 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3751
2116e93c
EZ
37522012-04-20 Eli Zaretskii <eliz@gnu.org>
3753
3754 * window.el (window-min-size, window-sizable, window-min-delta)
3755 (window-max-delta, window--resizable, window-resizable)
3756 (window-total-size, window-full-height-p, window-full-width-p)
3757 (window-in-direction, window--resize-mini-window, window-resize)
3758 (window--resize-child-windows-normal)
3759 (window--resize-child-windows, window--resize-siblings)
3760 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3761 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3762
c07a4c0b 37632012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3764
ef24141c
SM
3765 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3766 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3767 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3768 pty process (Bug#11273).
3769 (gdb-update): New arg to suppress talking to the gdb process.
3770 (gdb-done-or-error): Use it.
3771 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3772 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3773 sentinel not being called.
3774
3775 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3776
d02766ab
CY
3777 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3778
c07a4c0b 37792012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3780
3781 * net/network-stream.el (open-network-stream): Doc fix.
3782
c07a4c0b 37832012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3784
3785 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3786
c07a4c0b 37872012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3788
3789 Ensure searching for keywords is case sensitive.
3790
3791 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3792 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3793 (c-defun-name, c-mark-function, c-cpp-define-name)
3794 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3795 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3796
ef24141c
SM
3797 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3798 Bind case-fold-search to nil.
f0f6bc35 3799
c07a4c0b 38002012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3801
3802 * mail/sendmail.el (mail-bury): Call return action with the right
3803 Rmail buffer (Bug#11242).
3804
9a864fa2
CY
3805 * server.el (server-process-filter): Handle corner case where both
3806 tty and nowait options are present (Bug#11102).
3807
539aa513
EZ
38082012-04-20 Eli Zaretskii <eliz@gnu.org>
3809
3810 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3811 (top level): Put into the executable the ident-style '$Id:' tag on
3812 windows-nt as well.
539aa513 3813
cfc7d5da
SM
38142012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * electric.el (electric-indent-post-self-insert-function): Check that
3817 electric-indent-mode is enabled in current buffer.
3818
5b01685c
JB
38192012-04-19 Juanma Barranquero <lekktu@gmail.com>
3820
3821 * imenu.el (imenu-progress-message): Restore; it is "used" in
3822 erc/erc-imenu.el and net/snmp-mode.el.
3823
4d6769e1
JB
38242012-04-19 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3827 (mouse-avoidance-nudge-mouse): Remove unused binding.
3828
3829 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3830
3831 * descr-text.el (describe-char):
3832 * progmodes/python.el (python-describe-symbol):
3833 Don't call `toggle-read-only', set `buffer-read-only'.
3834
3835 * imenu.el (imenu-default-goto-function): Mark unused args.
3836 (imenu-progress-message): Remove obsolete macro; all callers changed.
3837
3838 * subr.el (keymap-canonicalize): Remove unused binding.
3839 (read-passwd): Mark unused arg.
3840
3841 * tutorial.el (tutorial--display-changes): Remove unused binding.
3842 (tutorial--save-tutorial-to): Remove unused variable.
3843
3844 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3845 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3846 (package-generate-autoloads, package-menu--generate)
3847 (package-menu--find-upgrades): Remove unused bindings.
3848
3849 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3850 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3851 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3852 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3853 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3854 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3855 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3856 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3857 (cua-delete-char-rectangle): Mark unused args.
3858 (cua-align-rectangle): Remove unused binding.
3859
3860 * mail/rmail.el (compilation--message->loc)
3861 (epa--find-coding-system-for-mime-charset): Declare.
3862
3863 * net/dbus.el (dbus-register-service): Declare.
3864 (dbus-name-owner-changed-handler): Remove unused binding.
3865
3866 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3867 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3868 (nxml-scan-backward-within): Mark unused arg.
3869 (nxml-dynamic-markup-word): Remove unused binding.
3870
3871 * mouse.el (mouse-menu-major-mode-map):
3872 * emacs-lisp/authors.el (authors-scan-change-log)
3873 (authors-add-to-author-list):
3874 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3875 * emacs-lisp/smie.el (smie-auto-fill):
3876 * mail/sendmail.el (mail-bury):
3877 * mail/unrmail.el (unrmail):
3878 * net/tls.el (open-tls-stream):
3879 * textmodes/picture.el (picture-mouse-set-point):
3880 Remove unused bindings.
3881
8c8fc5df
MA
38822012-04-19 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * net/tramp.el (tramp-action-password): Let-bind
3885 `enable-recursive-minibuffers' to t.
3886
a77b0ac9
SS
38872012-04-18 Sam Steingold <sds@gnu.org>
3888
3889 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3890 instead of 'string to accommodate values like [f11].
3891 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3892 * progmodes/gdb-mi.el: Likewise.
3893
12a106a9
LL
38942012-04-18 Leo Liu <sdl.web@gmail.com>
3895
3896 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3897 current buffer.
3898 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3899 LOCAL is nil.
3900
bc6494ef
CY
39012012-04-18 Chong Yidong <cyd@gnu.org>
3902
3903 * simple.el (line-move): Use forward-line if in batch mode
3904 (Bug#11053).
3905
c09c46b2
CS
39062012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3907
3908 * files.el (after-find-file): Do not try to add a final newline if
3909 the buffer is read-only (Bug#11156).
3910
5f6530ea
RS
39112012-04-17 Richard Stallman <rms@gnu.org>
3912
3913 * mail/rmail.el (rmail-start-mail):
3914 Pass (rmail-mail-return...) for the return-action.
3915 Pass (rmail-yank-current-message...) for the yank-action.
3916 (rmail-yank-current-message): New function.
3917 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3918 (rmail-reply): Likewise.
3919 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3920
3921 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3922 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3923 buffer, not newbuf.
3924
197b6f3c
JB
39252012-04-17 Juanma Barranquero <lekktu@gmail.com>
3926
3927 * server.el (server-ensure-safe-dir): Simplify.
3928
2311d8e5 39292012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3930
2311d8e5
GM
3931 * emacs-lisp/smie.el: Provide smarter auto-filling.
3932 (smie-auto-fill): New function.
3933 (smie-setup): Use it.
98fb480e 3934
2311d8e5
GM
3935 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3936
39372012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3938
3939 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3940 (comment-indent): Use it.
3941
2311d8e5 39422012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3943
3944 * ses.el: The overall change is to add cell renaming, that is
3945 setting fancy names for cell symbols other than name matching
3946 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3947 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3948 (ses-create-cell-variable): New defun.
2311d8e5 3949 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3950 (ses-relocate-formula): Relocate formulas only for cells the
3951 symbols of which are not renamed, i.e. symbols whose names do not
3952 match regexp "\\`[A-Z]+[0-9]+\\'".
3953 (ses-relocate-all): Relocate values only for cells the symbols of
3954 which are not renamed.
3955 (ses-load): Create cells variables as the (ses-cell ...) are read,
3956 in order to check row col consistency with cell symbol name only
3957 for cells that are not renamed.
3958 (ses-replace-name-in-formula): New defun.
3959 (ses-rename-cell): New defun.
4bdf2ad2 3960
fc72b15c
PO
39612012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3962
3963 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3964 New option (bug#11118).
3965 (perl-calculate-indent): Respect it.
3966
12e10e61
GM
39672012-04-17 Glenn Morris <rgm@gnu.org>
3968
3969 * dired-aux.el (dired-mark-read-string): Doc fix.
3970
30009afd
DA
39712012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3972
3973 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3974 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3975
41f03f4d
GM
39762012-04-17 Glenn Morris <rgm@gnu.org>
3977
3978 * mouse.el (mouse-drag-track):
3979 * speedbar.el (speedbar-frame-mode):
3980 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3981
f45f90f3
LL
39822012-04-16 Leo Liu <sdl.web@gmail.com>
3983
3984 * progmodes/python.el: Trivial cleanup.
3985
94ee8db5
GM
39862012-04-16 Glenn Morris <rgm@gnu.org>
3987
121b8917
GM
3988 * vc/vc.el (vc-string-prefix-p):
3989 * vc/pcvs-util.el (cvs-string-prefix-p):
3990 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3991 * mpc.el (mpc-string-prefix-p):
3992 Make all of these into obsolete aliases for string-prefix-p.
3993 Update callers.
3994 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3995
1197ecfa
GM
3996 * textmodes/two-column.el: Move custom options to the start.
3997 (frame-width): Remove compat definition.
3998 (2C-associate-buffer, 2C-dissociate):
3999 Use with-current-buffer rather than save-excursion.
4000 (2C-dissociate): Force a mode-line update.
4001 (2C-autoscroll): Use ignore-errors.
4002
099e7202
GM
4003 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4004 Autoload trivia.
4005
bf350d6a
GM
4006 * emacs-lisp/cl-extra.el (*random-state*):
4007 Remove unnecessary declaration.
4008
0e829eab
GM
4009 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4010
e3ad7552
GM
4011 * play/cookie1.el (cookie-snarf):
4012 Give an explicit error if input file cannot be read.
4013
68892d27
GM
4014 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4015
20f0c46d
GM
4016 * progmodes/perl-mode.el (c-macro-expand):
4017 Remove unnecessary autoload (it is in loaddefs.el).
4018
5a0978ce
GM
4019 * textmodes/picture.el (picture-desired-column)
4020 (picture-update-desired-column): Convert comments to doc-strings.
4021 (picture-substitute): Remove function.
4022 (picture-mode-map): Initialize in the defvar.
4023
6b955486
GM
4024 * woman.el: Remove eval-after-load for tar-mode.
4025 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4026 (woman-tar-extract-file): Autoload it.
4027
94ee8db5
GM
4028 * frame.el (automatic-hscrolling): Make this alias obsolete.
4029
177eca34
AM
40302012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4031
090bd7cb 4032 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4033 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4034 (ispell-dictionary-base-alist): Revert to original XEmacs
4035 friendly version for default. [:alpha:] will be added in
090bd7cb 4036 `ispell-set-spellchecker-params' if needed.
177eca34 4037
c505aaeb
CY
40382012-04-16 Chong Yidong <cyd@gnu.org>
4039
4040 * image.el (imagemagick--extension-regexp): New variable.
4041 (imagemagick-register-types): Use it.
4042 (imagemagick-types-inhibit): Add :set function. Allow new value
4043 of t to inhibit all types.
4044
4045 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4046 so we can preload it.
4047
4048 * loadup.el (fboundp): Preload regexp-opt, needed by
4049 imagemagick-register-types.
4050
60efac0f
CY
40512012-04-15 Chong Yidong <cyd@gnu.org>
4052
4053 * frame.el (scrolling): Remove nearly unused customization group.
4054
4055 * scroll-all.el (scroll-all-mode): Move to windows group.
4056
5dd1713e
CY
40572012-04-15 Chong Yidong <cyd@gnu.org>
4058
4059 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4060
e6fd457e
CY
40612012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4064 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4065
e153c136
GM
40662012-04-15 Glenn Morris <rgm@gnu.org>
4067
4068 * simple.el (process-file-side-effects): Doc fix.
4069
e6fd457e 40702012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4071
4072 * international/mule-cmds.el (set-language-environment): Doc fix.
4073
3603c3b1
JB
40742012-04-14 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * server.el (server-auth-key, server-generate-key): Doc fixes.
4077 (server-get-auth-key): Doc fix. Use `string-match-p'.
4078 (server-start): Reflow docstring.
4079
e6de100c
LI
40802012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4081
4082 * server.el (server-generate-key): `called-interactively-p'
4083 requires a parameter.
4084
29734c21
MN
40852012-04-14 Michal Nazarewicz <mina86@mina86.com>
4086
4087 * server.el (server-auth-key): New variable.
75f1671a 4088 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4089 (server-start): Use the new variable and functions to allow
4090 setting a permanent server key (bug#9423).
4091
d65c9521
LL
40922012-04-14 Leo Liu <sdl.web@gmail.com>
4093
4094 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4095
5ae255c7
PE
40962012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4097
4098 Spelling fixes.
4099 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4100 Emacs uses American spelling.
4101
d5e6342e
JB
41022012-04-14 Juanma Barranquero <lekktu@gmail.com>
4103
4104 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4105 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4106 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4107 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4108
ab036cd7
SM
41092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * progmodes/which-func.el (which-func-modes): Change default.
4112
35dc09a1 41132012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4114
4115 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4116 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4117
35dc09a1 41182012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4119
4120 * custom.el (custom-theme-set-variables): Doc fix.
4121
35dc09a1 41222012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4123
4124 * international/mule.el (set-auto-coding-for-load): Doc fix.
4125
35dc09a1 41262012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4127
35dc09a1
GM
4128 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4129 imenu work again for Objective C Mode. Correct the *-index values,
4130 these having been disturbed by a previous change in 2011-08.
57f845ee 4131
0de3da9f
AM
4132 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4133 Correct two search limits.
4134
35dc09a1 41352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4136
4137 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4138
35dc09a1 41392012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4140
4141 * international/characters.el: Fix sorting.
4142
35dc09a1 41432012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4144
4145 * international/characters.el: Add more missing Latin case pairs.
4146
35dc09a1 41472012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4148
4149 * files.el (dir-locals-set-class-variables): Doc fix.
4150
35dc09a1 41512012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4152
3f1b5bf8
EZ
4153 * international/characters.el: Add set-case-syntax-pair call for
4154 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4155 counterpart. (Bug#11209)
4156
9f847f41
EZ
4157 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4158
35dc09a1 41592012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4160
4161 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4162
35dc09a1 41632012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4164
35dc09a1
GM
4165 * textmodes/ispell.el (ispell-dictionary-base-alist):
4166 Add data for Hebrew.
e2627d21 4167
35dc09a1 41682012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4169
35dc09a1
GM
4170 * net/rcirc.el (rcirc-cmd-quit):
4171 Revert 2012-03-18 change (Bug#11192).
5c14e333 4172
35dc09a1 41732012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4174
4175 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4176
35dc09a1 41772012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4178
4517fe3a
SM
4179 * minibuffer.el (completion-in-region-mode-map):
4180 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4181
b472a594
VD
41822012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4183
4184 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4185
09b95ce3
MY
41862012-04-13 Masatake YAMATO <yamato@redhat.com>
4187
4188 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4189 to allow `C-M-f' and `C-M-b' to move to the nearest path
4190 separator (bug#9511).
4191
4b63a9ca
LI
41922012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4193
4194 * avoid.el: Require cl when compiling. And also move the
4195 `provide' to the end.
4196
7b55b8bf
TV
41972012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4198
4199 * avoid.el (mouse-avoidance-banish-position): New variable.
4200 (mouse-avoidance-banish-destination): Use it (bug#10165).
4201
adedaa1f
LL
42022012-04-13 Leo Liu <sdl.web@gmail.com>
4203
4204 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4205
70e74021
KB
42062012-04-13 Ken Brown <kbrown@cornell.edu>
4207
4208 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4209 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4210 (browse-url-filename-alist): For the same reason, don't modify
4211 file:// URLs on Cygwin.
4212
e75e89ba
SM
42132012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4216 the region on shift if the binding is already shifted (bug#11221).
4217
82f289a4
GM
42182012-04-12 Glenn Morris <rgm@gnu.org>
4219
4220 * mail/mailpost.el: Move to obsolete/.
4221
d333dc4c
DA
42222012-04-12 Drew Adams <drew.adams@oracle.com>
4223
4224 * imenu.el (imenu--generic-function): Ignore invisible definitions
4225 (bug#10123).
4226
0d15b5ba
VD
42272012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4228
4229 * hexl.el (hexl-bits): New variable.
4230 (hexl-options): Mention the variable in the doc string.
75f1671a 4231 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4232 (hexl-mode): Mention the new variable.
75f1671a
JB
4233 (hexl-mode, hexl-current-address, hexl-current-address):
4234 Use the displen.
0d15b5ba
VD
4235 (hexl-ascii-start-column): New function.
4236 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4237 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4238
64a440db
AM
42392012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4240
4241 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4242 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4243 the encoding, as expected by hunspell.
4244
6decb6c2
SM
42452012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * battery.el (battery--linux-sysfs-regexp): New const.
4248 (battery-status-function): Use it. Remove yeeloong special case.
4249 (battery-yeeloong-sysfs): Remove.
4250 (battery-echo-area-format): Remove yeeloong special case.
4251
088be6fb
SM
42522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4253
6622e416
SM
4254 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4255 Reported by Noah Friedman.
4256
088be6fb
SM
4257 * subr.el (read-passwd): Use read-string.
4258
b49f886e
LMI
42592012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260
4261 * vcursor.el (vcursor-move): Increase the priority of the overlay
4262 (bug#9663).
4263
a63067fc
DD
42642012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4265
4266 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4267 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4268
ac3cf14a
WS
42692012-04-11 William Stevenson <yhvh2000@gmail.com>
4270
4271 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4272 define-minor-mode (bug#10760).
4273
c4fc691b 42742012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4275
4d6769e1 4276 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4277 that directories matching `grep-find-ignored-files' won't be
4278 pruned (bug#10351).
4279
af23e2e5
CY
42802012-04-11 Chong Yidong <cyd@gnu.org>
4281
4282 * startup.el (command-line): Remove support for long-obsolete
4283 variable font-lock-face-attributes.
4284
ab7ce8c1
GM
42852012-04-11 Glenn Morris <rgm@gnu.org>
4286
4287 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4288
de8c03dc
SM
42892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * window.el (window--state-get-1): Obey window-point-insertion-type.
4292
050cc68b
LB
42932012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4294
4295 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4296 to previous function when point is on the first character of a
75f1671a 4297 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4298
a38c310c
GM
42992012-04-11 Glenn Morris <rgm@gnu.org>
4300
effed0c2
GM
4301 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4302 not just file-errors.
4303
a38c310c
GM
4304 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4305 (vc-bzr-sha1): Use internal sha1.
4306
0221e323
SM
43072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4310
43956923
SG
43112012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4312
4313 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4314 that start in the middle of the line (bug#10496).
4315
6a8c9eaf
DN
43162012-04-10 Dan Nicolaescu <dann@gnu.org>
4317
4318 * battery.el (battery-linux-proc-acpi): Only one battery is
4319 discharged at a time, but that seems to confuse battery.el when
4320 computing `rate-type' for the battery not being discharged
4321 (bug#10332).
4322
1930bf5d
SM
43232012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4324
2a718f6f
SM
4325 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4326
599430d0
SM
4327 * international/quail.el: Use dolist and simplify.
4328 (quail-define-package, quail-update-keyboard-layout)
4329 (quail-define-rules): Use dolist.
4330 (quail-insert-kbd-layout, quail-get-translation): CSE.
4331
a2754b6c
SM
4332 * tmm.el: Use dolist, remove left over hook.
4333 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4334 Use dolist.
4335 (calendar-load-hook): Don't mess with it.
4336
1930bf5d
SM
4337 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4338 Use derived-mode-p. Run the diff asynchronously.
4339
9f67961c
LMI
43402012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4341
4342 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4343
2a8ce227
JB
43442012-04-10 Juanma Barranquero <lekktu@gmail.com>
4345
4346 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4347 (list-dynamic-libraries--loaded): New function.
4348 (list-dynamic-libraries--refresh): Use it.
4349
8f33b5f8
NW
43502012-04-10 Nathan Weizenbaum <nweiz@google.com>
4351
1930bf5d
SM
4352 * progmodes/python.el (python-fill-paragraph):
4353 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4354 disabled (bug#7018).
4355
b12f0439
L
43562012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4357
1930bf5d 4358 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4359 DOS/MS Windows for the Baltic languages. There are still plenty
4360 of texts written in this encoding/codepage (bug#6519).
b12f0439 4361
57c3bd01
GM
43622012-04-10 Glenn Morris <rgm@gnu.org>
4363
4364 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4365 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4366
6c3eab30
FA
43672012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4368
1930bf5d 4369 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4370 next-line "n" and previous-line "p" in order to make recentf more
4371 consistent with ibuffer, dired or org-mode (bug#9387).
4372
24d78a88
LMI
43732012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4374
bc72b5d9
LMI
4375 * image.el (put-image): Return the overlay created instead of the
4376 optional input string (bug#7834). Note that this may break code
4377 that is (for some reason or other) depending on `put-image'
4378 returning the string.
4379
bd2dba5a
LMI
4380 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4381
74beb59f
LMI
4382 * simple.el (zap-to-char): Allow zapping using input methods
4383 (bug#1580).
4384
24d78a88
LMI
4385 * textmodes/fill.el (fill-region): Leave point and mark where they
4386 were before filling (bug#5399).
4387
263f20cd
GM
43882012-04-09 Glenn Morris <rgm@gnu.org>
4389
4390 * version.el (emacs-bzr-get-version):
4391 Handle lightweight checkouts of local branches.
4392
58d1f797
AS
43932012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4394
263f20cd 4395 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4396
b4d3bc10
CY
43972012-04-09 Chong Yidong <cyd@gnu.org>
4398
4399 * custom.el (custom-variable-p): Return nil for non-symbol
4400 arguments instead of signaling an error.
4401 (user-variable-p): Obsolete alias for custom-variable-p.
4402
4403 * apropos.el (apropos-variable):
4404 * files-x.el (read-file-local-variable):
4405 * simple.el (set-variable):
4406 * woman.el (woman-mini-help):
4407 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4408
fd06db5d
GM
44092012-04-09 Glenn Morris <rgm@gnu.org>
4410
e5fcdb5e
GM
4411 * startup.el (normal-top-level): Don't look for leim-list.el
4412 in places where it will not be found. (Bug#910)
4413
fd06db5d
GM
4414 * international/mule-cmds.el (set-default-coding-systems):
4415 * files.el (normal-mode):
4416 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4417 This function was removed with ucs-tables.el in 2008.
4418
b39bb7e1
EZ
44192012-04-08 Eli Zaretskii <eliz@gnu.org>
4420
4421 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4422 ispell-encoding8-command to "-i", without a trailing space.
4423 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4424 separate command-line arguments, to specify the encoding, since
4425 that's how hunspell expects it.
4426
5c5b8e23
GM
44272012-04-08 Glenn Morris <rgm@gnu.org>
4428
4429 * loadup.el: Load bindings before cus-start.
4430 This reduces somewhat the number of "rogue" settings in emacs -Q.
4431
a1ed8b05
GM
44322012-04-07 Glenn Morris <rgm@gnu.org>
4433
4434 * version.el (emacs-bzr-get-version): New function.
dfae128a 4435 (emacs-bzr-version): New variable.
a1ed8b05
GM
4436 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4437 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4438
b142f158
EZ
44392012-04-07 Eli Zaretskii <eliz@gnu.org>
4440
dfae128a
GM
4441 * international/uni-bidi.el, international/uni-category.el:
4442 * international/uni-combining.el, international/uni-decimal.el:
4443 * international/uni-decomposition.el, international/uni-digit.el:
4444 * international/uni-lowercase.el, international/uni-mirrored.el:
4445 * international/uni-name.el, international/uni-numeric.el:
4446 * international/uni-titlecase.el, international/uni-uppercase.el:
4447 Update for Unicode 6.1.
b142f158 4448
9078ead6
EZ
44492012-04-07 Eli Zaretskii <eliz@gnu.org>
4450
4451 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4452
f23d2c7d
LMI
44532012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4454
4455 * window.el (shrink-window): Mention the `window-min-height'
4456 variable in the doc string.
4457
0a0a3573
BG
44582012-04-05 Bastien Guerry <bzg@altern.org>
4459
4460 * color.el (color-lighten-name): Fix typo.
4461
e5248ac9
SM
44622012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * server.el (server--on-display-p): New function.
4465 (server--on-display-p): Use it.
4466
b4243e22
GV
44672012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4468
4469 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4470 (bug#11145).
4471
305d9f44
SM
44722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * comint.el (comint--common-quoted-suffix): Check string boundary
4475 before comparing (bug#11158).
4476 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4477
3d439cd1
CY
44782012-04-04 Chong Yidong <cyd@gnu.org>
4479
321cc491
CY
4480 * minibuffer.el (completion-extra-properties): Doc fix.
4481
3d439cd1
CY
4482 * subr.el (delayed-warnings-hook): Doc fix.
4483
2d562c0f
DU
44842012-04-04 Daiki Ueno <ueno@unixuser.org>
4485
4486 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4487 selection (Bug#11159).
4488 (epa-insert-keys): Inform that the default public key will be
4489 exported if no key is selected.
4490
4443f204
RS
44912012-04-04 Richard Stallman <rms@gnu.org>
4492
4493 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4494
529c06b6
CY
44952012-04-03 Chong Yidong <cyd@gnu.org>
4496
4497 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4498 mail-insert-file, not its obsolete alias mail-attach-file.
4499
66b907dc
MA
45002012-04-03 Michael Albinus <michael.albinus@gmx.de>
4501
4502 * notifications.el (notifications-notify): Fix docstring.
4503
c0ea195d
GM
45042012-04-02 Glenn Morris <rgm@gnu.org>
4505
4506 * emacs-lisp/authors.el (authors-aliases): Another addition.
4507
5ca64e00
MA
45082012-04-02 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4511 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4512 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4513
42ee526b
CY
45142012-04-01 Chong Yidong <cyd@gnu.org>
4515
4516 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4517 Handle root directory properly.
4518 (copy-directory): Caller changed.
4519
4520 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4521 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4522
0b021094
GM
45232012-03-31 Glenn Morris <rgm@gnu.org>
4524
40f86458
GM
4525 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4526
7019c177
GM
4527 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4528
a1daddd6
GM
4529 * calendar/calendar.el (calendar-window-list)
4530 (calendar-hide-window): Restore. (Bug#11140)
4531 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4532
0b021094
GM
4533 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4534
40311efc
TV
45352012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4536
4537 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4538 Check if file is a symlink (Bug#10489).
4539
4540 * files.el (copy-directory): Likewise.
4541
5319014e
CY
45422012-03-30 Chong Yidong <cyd@gnu.org>
4543
4544 * image.el (imagemagick-types-inhibit)
4545 (imagemagick-register-types): Doc fix.
4546
935d1290
AM
45472012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4548
090bd7cb 4549 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4550 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4551 and treats ~word as ordinary words in pipe mode.
935d1290 4552
61c6e8fd
GM
45532012-03-30 Glenn Morris <rgm@gnu.org>
4554
4555 * tutorial.el (help-with-tutorial): Ensure local variables don't
4556 happen to make the buffer read-only. (Bug#11127)
4557
81fdff00
SM
45582012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4561 (perl-calculate-indent): Return `noindent' in strings.
4562
6e7a6ec0
SS
45632012-03-28 Sam Steingold <sds@gnu.org>
4564
4565 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4566 instead of the broken adhockery which does not prevent calendar
4567 buffers from being displayed at random after exit.
4568 (calendar-window-list, calendar-hide-window): Remove the broken
4569 adhockery.
4570
fee88ca0
GM
45712012-03-28 Glenn Morris <rgm@gnu.org>
4572
4573 * replace.el (query-replace-map): Doc fix.
4574
38de3354
AS
45752012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4576
4577 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4578 contents. (Bug#11109)
4579
b973155e
SM
45802012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4583 (bug#11077).
4584 (avl-tree--check, avl-tree--check-node): New funs.
4585
dcb6e7b3
MR
45862012-03-27 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4589 (switch-to-prev-buffer, switch-to-next-buffer):
4590 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4591 showing a buffer already is done on the same frame.
4592
b4fa35fa
GM
45932012-03-27 Glenn Morris <rgm@gnu.org>
4594
4595 * startup.el (mail-host-address): Doc fix.
4596
f9210e18
SM
45972012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4600 than 197 variables.
4601
c0bf7753
AF
46022012-03-26 Ami Fischman <ami@fischman.org>
4603
4604 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4605
33da7b16
GM
46062012-03-26 Glenn Morris <rgm@gnu.org>
4607
02243d9d
GM
4608 * files.el (save-buffers-kill-emacs): Doc fix.
4609
33da7b16
GM
4610 * startup.el (normal-top-level, command-line, command-line-1):
4611 Give them doc strings.
4612
e5a69fd0
EZ
46132012-03-25 Eli Zaretskii <eliz@gnu.org>
4614
4615 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4616 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4617
9a69676a
CY
46182012-03-25 Chong Yidong <cyd@gnu.org>
4619
4125cb8b
CY
4620 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4621 theme if it was previously enabled before (Bug#11031).
4622
dd470960
CY
4623 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4624 spec with custom-face-get-current-spec if its :shown-value is not
4625 determined yet (Bug#9337).
4125cb8b 4626 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4627
9a69676a
CY
4628 * button.el (button-at): Minor addition to docstring.
4629
6e7e90fa
SL
46302012-03-24 Simon Leinen <simon.leinen@gmail.com>
4631
4632 * vc/vc.el (vc-merge): Fix a prompt.
4633
f06e2758
CY
46342012-03-24 Chong Yidong <cyd@gnu.org>
4635
4636 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4637 point (Bug#9623).
4638
6e7e90fa
SL
4639 * button.el (button-at): Minor addition to docstring.
4640
b9d0879b
SM
46412012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * newcomment.el (comment-choose-indent): No space after BOL.
4644
e71cebb3
SS
46452012-03-22 Sam Steingold <sds@gnu.org>
4646
4647 * window.el (switch-to-prev-buffer): Revert last patch because the
4648 bug turned out to be an advertised feature (Elisp manual 28.14).
4649
335aff35
GM
46502012-03-22 Glenn Morris <rgm@gnu.org>
4651
4652 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4653 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4654
c676576a
LMI
46552012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4656
4657 * net/network-stream.el (network-stream-open-starttls): Make error
4658 message under Windows be less misleading.
4659
126f3d39
LW
46602012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4661
4662 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4663 understands (bug#9942).
4664
64fee311
CY
46652012-03-22 Chong Yidong <cyd@gnu.org>
4666
4667 * simple.el (end-of-visible-line): Handle return value of
4668 next-single-property-change properly (Bug#9371).
4669
a640d29a
KH
46702012-03-22 Kenichi Handa <handa@m17n.org>
4671
4672 * international/quail.el (quail-insert-kbd-layout): Fix previous
4673 change. To avoid unwanted bidi reordering, use
4674 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4675
39675016
DG
46762012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4679 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4680 (ruby-beginning-of-indent): Be more careful with the difference
4681 between word-boundary and symbol boundary.
4682 (ruby-mode-syntax-table): Make : a symbol constituent.
4683
0a6934fc 46842012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4685
3d008e4f
SM
4686 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4687
0a6934fc
SM
46882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4689
af67c9d7
SM
4690 * progmodes/etags.el (tags-completion-at-point-function):
4691 Improve last fix.
4692
1acad97c
SM
4693 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4694
e298b5da
SS
46952012-03-21 Sam Steingold <sds@gnu.org>
4696
4697 * progmodes/etags.el (tags-completion-at-point-function):
4698 Avoid the error when point is inside the pattern.
4699
91d82a70
JY
47002012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4701
4702 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4703 line (Bug#10855).
4704
69188b79
CY
47052012-03-21 Drew Adams <drew.adams@oracle.com>
4706
4707 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4708
99fc91fe
AK
47092012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4710
4711 * ido.el (ido-set-current-directory, ido-read-internal)
4712 (ido-choose-completion-string, ido-completion-help): Handle nil
4713 value of ido-completion-buffer (Bug#11008).
4714
087bbb4c
SS
47152012-03-21 Sam Steingold <sds@gnu.org>
4716
4717 * window.el (switch-to-prev-buffer): Do not switch to a visible
4718 window previous buffer, just like with the frame previous buffers.
4719
fb5b8aca
CY
47202012-03-21 Chong Yidong <cyd@gnu.org>
4721
4722 * faces.el (make-face, make-empty-face, copy-face):
4723 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4724 Doc fixes.
4725
dc9924b8
SM
47262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4729 (widget-complete): Remove broken use of it.
4730
f0bcceb9
CY
47312012-03-20 Chong Yidong <cyd@gnu.org>
4732
dc9924b8
SM
4733 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4734 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4735 characters.
4736
ee52ebf3
TH
47372012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4738
4739 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4740 to draw rectangles, not squares. (Regression introduced by revno
4741 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4742
4c5779ab
CY
47432012-03-18 Chong Yidong <cyd@gnu.org>
4744
4745 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4746 it is not yet defined (for temacs).
4747
15360934
LL
47482012-03-18 Leo Liu <sdl.web@gmail.com>
4749
dc9924b8 4750 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4751
d9a8eb66
EZ
47522012-03-17 Eli Zaretskii <eliz@gnu.org>
4753
4754 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4755 (ispell-choices-win-default-height, ispell-silently-savep)
4756 (ispell-dictionary-alist, ispell-encoding8-command)
4757 (ispell-check-version, ispell-aspell-find-dictionary)
4758 (ispell-valid-dictionary-list, ispell-words-keyword)
4759 (ispell-get-word, ispell-internal-change-dictionary)
4760 (ispell-region, ispell-skip-region-list)
4761 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4762 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4763 (ispell-message-text-end, ispell-message)
4764 (ispell-buffer-local-parsing): Doc fix.
4765
f02ff80d
J
47662012-03-13 Jambunathan K <kjambunathan@gmail.com>
4767
4768 * htmlfontify.el: Add support for code block fontification for ODT
4769 export (Bug #9914).
4770 (hfy-optimisations): Define new option
4771 `body-text-only'
4772 (hfy-fontify-buffer): Honor above setting.
4773 (hfy-begin-span, hfy-end-span): New routines factored out form
4774 `hfy-fontify-buffer'.
4775 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4776 that permit insertion of custom tags.
4777 (hfy-fontify-buffer): Use above handlers.
4778 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4779 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4780 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4781 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4782 bind a special variable `hfy-user-sheet-assoc'.
4783 (htmlfontify-string): New defun.
4784 (hfy-compile-face-map): Make sure that the last char in the
4785 buffer is correctly fontified.
4786 (hfy-face-resolve-face): Whitespace only change.
4787
9ac7a13f
EZ
47882012-03-17 Eli Zaretskii <eliz@gnu.org>
4789
4790 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4791 message more clear.
4792
e2b5bdd7
LL
47932012-03-16 Leo Liu <sdl.web@gmail.com>
4794
4795 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4796
2e492df3
AM
47972012-03-16 Alan Mackenzie <acm@muc.de>
4798
4799 Further optimise the handling of large macros.
4800
4801 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4802 limit to a call of `c-literal-limits'.
4803 (c-determine-+ve-limit): New function.
dc9924b8
SM
4804 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4805 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4806 In CASE 5B, restrict a search limit to 500.
4807 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4808
4809 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4810 Restrict macro bounds to +-500 from after-change's BEG END.
4811
50e94f0c
LL
48122012-03-16 Leo Liu <sdl.web@gmail.com>
4813
4814 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4815
6f09f6ed
AH
48162012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4817
4818 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4819 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4820
c7e73d51
GM
48212012-03-16 Glenn Morris <rgm@gnu.org>
4822
da986230
GM
4823 * view.el (view-buffer, view-buffer-other-window)
4824 (view-buffer-other-frame): Doc fixes re special mode-class.
4825
0835f01e
GM
4826 * subr.el (eval-after-load): If named feature is provided not from
4827 a file, run after-load forms. (Bug#10946)
4828
c7e73d51
GM
4829 * calendar/calendar.el (calendar-insert-at-column):
4830 Handle non-unit-width characters a bit better. (Bug#10978)
4831
3f2eafd1
CY
48322012-03-15 Chong Yidong <cyd@gnu.org>
4833
4834 * emacs-lisp/ring.el (ring-extend): New function.
4835 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4836
4837 * comint.el (comint-read-input-ring)
4838 (comint-add-to-input-history): Grow comint-input-ring lazily.
4839
103af3fe
SM
48402012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4841
663b1677
SM
4842 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4843 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4844
103af3fe
SM
4845 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4846 (imenu-add-to-menubar): Don't add a redundant index.
4847 (imenu-update-menubar): Handle a dynamically composed keymap.
4848
899cb7cb
KY
48492012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4850
4851 * mail/sendmail.el (mail-encode-header):
4852 Bind rfc2047-encode-encoded-words to nil.
4853
3809f91d
GM
48542012-03-13 Glenn Morris <rgm@gnu.org>
4855
4856 * calendar/calendar.el (calendar-string-spread):
4857 Handle non-unit-width characters a bit better. (Bug#10978)
4858
9e345a01
LL
48592012-03-13 Leo Liu <sdl.web@gmail.com>
4860
4861 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4862 directory and file as argument (Bug#10822).
4863
4a07df36
KS
48642012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4865
4866 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4867 For dynamically generated code, follow $PC.
4868 (gdb-disassembly-handler-custom): Handle no function name case.
4869
4aaa9356
TL
48702012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4871
4872 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4873 * emulation/ws-mode.el (ws-query-replace):
4874 * sort.el (sort-regexp-fields):
4875 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4876
225979da
SM
48772012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * dabbrev.el: Fix cycle completion order (bug#10963).
4880 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4881 (dabbrev-completion): Don't use an obarray; provide
4882 a cycle-sort-function.
4883
e2f1fdab
LL
48842012-03-12 Leo Liu <sdl.web@gmail.com>
4885
dc9924b8 4886 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4887 (kill-do-not-save-duplicates): Doc fix.
4888
b19490ed
SM
48892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * dabbrev.el: Fix cycle completion (bug#10963).
4892 Use lexical binding and wrap to 80 columns.
4893 (dabbrev-completion): Delay computing the list of completions.
4894
4b05d722
KH
48952012-03-12 Kenichi Handa <handa@m17n.org>
4896
4897 * international/quail.el (quail-insert-kbd-layout): Surround each
4898 row by LRO and PDF instead of inserting many LRMs. Pad the left
4899 and right of each non-spacing marks. Insert invisible space
4900 between lower and upper characters to prevent composition.
4901
dbbc2e69
SM
49022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * minibuffer.el (minibuffer-complete): Don't get confused when the
4905 function is run twice via different commands (bug#10958).
4906 (complete-with-action): Fix docstring.
4907
292112ed
CY
49082012-03-12 Chong Yidong <cyd@gnu.org>
4909
5d1ac394
CY
4910 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4911 (nxml-completion-at-point-function): New function.
4912 (nxml-mode): Use it.
4913 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4914
292112ed
CY
4915 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4916 Load generated autoloads file before byte compiling (Bug#10970).
4917 (package--make-autoloads-and-compile): New helper fun.
4918
4098f8f7
CS
49192012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4920
4921 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4922
8f754691
MA
49232012-03-11 Michael Albinus <michael.albinus@gmx.de>
4924
4925 * autorevert.el (auto-revert-handler): Ensure, that
4926 file-readable-p is applied only for local files or in
4927 auto-revert-tail-mode.
4928
e29ab36b
AS
49292012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4930
dbbc2e69
SM
4931 * server.el (server-eval-at): Handle non-tcp connections.
4932 Decode result string.
ad0bf5b6 4933
e29ab36b
AS
4934 * server.el (server-msg-size): New constant.
4935 (server-reply-print): New function.
4936 (server-eval-and-print): Use it.
4937 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4938 Handle -print-nonl.
4939
de5939ba
CS
49402012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4941
4942 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4943 (Bug#10987).
4944
0c93eabf
CY
49452012-03-11 Chong Yidong <cyd@gnu.org>
4946
397a688f
CY
4947 * simple.el (goto-line): Doc fix (Bug#9938).
4948
2cc775f9
CY
4949 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4950
0c93eabf
CY
4951 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4952 when finished (Bug#10963).
4953
c491fa41
MR
49542012-03-11 Martin Rudalics <rudalics@gmx.at>
4955
4956 * window.el (split-window-below): Fix bug in case where
4957 split-window-keep-point is nil (Bug#10971).
4958
300e8fa5
JL
49592012-03-11 Juri Linkov <juri@jurta.org>
4960
4961 * replace.el (replace-highlight): Set isearch-word to nil
4962 unconditionally. (Bug#10887)
4963
dbf6c5a1
EZ
49642012-03-10 Eli Zaretskii <eliz@gnu.org>
4965
4966 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4967 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4968 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4969 (mairix-widget-create-query): Add usage information about mairix
4970 search forms: negating words, searching for substrings, etc.
4971
b9e501de
JP
49722012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4973
4974 * international/fontset.el (font-encoding-alist): Add an entry for
4975 ksx1001 (Bug#5667).
4976
92795c91
RS
49772012-03-10 Richard Stallman <rms@gnu.org>
4978
1694e6c1
RS
4979 * mail/sendmail.el (mail-encode-header):
4980 Set rfc2047-encode-encoded-words.
4981
607e8555
RS
4982 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4983
de3bc99a
RS
4984 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4985 view buffer means not swapped.
4986 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4987 (rmail-write-region-annotate): Error if real text has disappeared.
4988
92795c91
RS
4989 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4990
699bd04e
CY
49912012-03-10 Chong Yidong <cyd@gnu.org>
4992
4993 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4994 * emulation/cua-base.el (cua--init-keymaps):
4995 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4996
570a1714
MR
49972012-03-10 Martin Rudalics <rudalics@gmx.at>
4998
dbbc2e69
SM
4999 * speedbar.el (speedbar-unhighlight-one-tag-line):
5000 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5001
82dcf4e4
CY
50022012-03-10 Chong Yidong <cyd@gnu.org>
5003
7a2c7ca7
CY
5004 * minibuffer.el (completion-in-region, completion-help-at-point):
5005 Give the completion field overlay a high priority (Bug#6830).
5006
82dcf4e4
CY
5007 * dired.el (dired-goto-file): Recognize absolute file name
5008 listings (Bug#7126).
5009 (dired-goto-file-1): New helper function.
5010 (dired-toggle-read-only): Inhibit warnings.
5011
052e28ac
MA
50122012-03-09 Michael Albinus <michael.albinus@gmx.de>
5013
75f1671a 5014 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5015 there are no properties.
5016
95d5e396
LL
50172012-03-09 Leo Liu <sdl.web@gmail.com>
5018
5019 * savehist.el (savehist-printable): Stricter check for string
5020 value (Bug#10937).
5021
3f018d6d
EZ
50222012-03-09 Eli Zaretskii <eliz@gnu.org>
5023
dbbc2e69
SM
5024 * mail/smtpmail.el (smtpmail-send-it):
5025 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5026 valid mbox format.
5027
f7fd3d79
GM
50282012-03-09 Glenn Morris <rgm@gnu.org>
5029
5030 * files.el (dir-locals-find-file):
5031 Don't check result is regular, readable.
5032 (dir-locals-read-from-file): Demote errors.
5033
6ff6e72f
EZ
50342012-03-08 Eli Zaretskii <eliz@gnu.org>
5035
dbbc2e69
SM
5036 * international/quail.el (quail-insert-kbd-layout):
5037 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5038 layout cell, to prevent their reordering by bidi display engine.
5039 For details, see the discussion in
5040 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5041
9cec7834
AM
50422012-03-08 Alan Mackenzie <acm@muc.de>
5043
5044 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5045 the starting position; make it extend the marked region when
5046 invoked repeatedly - all under appropriate circumstances.
5047 Fixes bugs #5525, #10906.
5048
9a40b8d4
GM
50492012-03-08 Glenn Morris <rgm@gnu.org>
5050
5051 * files.el (locate-dominating-file, dir-locals-find-file):
5052 Undo 2012-03-06 change.
5053
7a08ed35
EZ
50542012-03-07 Eli Zaretskii <eliz@gnu.org>
5055
dbbc2e69
SM
5056 * international/quail.el (quail-help):
5057 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5058 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5059 for the reason.
5060
5aca4f71 50612012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5062
5063 Avoid superfluous registering of signals. (Bug#10807)
5064
5065 * notifications.el (notifications-on-action-object)
5066 (notifications-on-close-object): New defvars.
5067 (notifications-on-action-signal, notifications-on-closed-signal):
5068 Unregister the signal if not needed any longer.
5069 (notifications-notify): Register `notifications-action-signal' or
5070 `notifications-closed-signal', if :on-action or :on-close has been
5071 passed as argument.
5072
78e8b10a
CY
50732012-03-07 Chong Yidong <cyd@gnu.org>
5074
5075 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5076 non-X platforms.
5077
69481eb8
GM
50782012-03-06 Glenn Morris <rgm@gnu.org>
5079
5080 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5081 (x-disown-selection-internal, x-get-selection-internal):
5082 Doc fix (add arglist signatures). (Bug#10783)
5083
133b8e11
KS
50842012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5085
5086 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5087 Handle breakpoints with no "type".
5088
99a83064
GM
50892012-03-06 Glenn Morris <rgm@gnu.org>
5090
5091 * files.el (locate-dominating-file): Add optional predicate argument.
5092 (dir-locals-find-file): Make use of above change.
5093
17798e78
TTN
50942012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5095
5096 * info.el (Info-insert-dir): Also try "dir.gz".
5097
eb182446
GM
50982012-03-06 Glenn Morris <rgm@gnu.org>
5099
8f2114ee
GM
5100 * files.el (dir-locals-find-file):
5101 Ignore non-readable or non-regular files. (Bug#10928)
5102
eb182446
GM
5103 * files.el (locate-dominating-file): Doc fix.
5104
24679323
AS
51052012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5106
5107 * calendar/calendar.el (calendar-set-mode-line):
5108 `getenv' returns a string. (Bug#10951)
5109
01d972a9
LL
51102012-03-05 Leo Liu <sdl.web@gmail.com>
5111
109aa8a9
LL
5112 * simple.el (backward-delete-char-untabify): Constrain point to
5113 field (Bug#10939).
5114
01d972a9
LL
5115 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5116
10607bea
CY
51172012-03-05 Chong Yidong <cyd@gnu.org>
5118
5119 * simple.el (count-words): If called from Lisp, return the word
5120 count, for symmetry with `count-lines'. Arglist changed.
5121 (count-words--message): Args changed. Consolidate counting code
5122 from count-words and count-words-region.
5123 (count-words-region): Caller changed.
5124 (count-lines-region): Make it an obsolete alias.
5125
5dd11cfe
TH
51262012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5127
5128 * saveplace.el (save-place-to-alist)
5129 (save-place-ignore-files-regexp): Allow value nil to disable this
5130 feature.
5131
c349f4e6
CY
51322012-03-04 Chong Yidong <cyd@gnu.org>
5133
5134 * faces.el (face-spec-reset-face): For the default face, reset the
5135 attributes to default values (Bug#10748).
5136
e627be4c
LMI
51372012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138
5139 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5140 previous patch: Check `message-send-mail-function', and not the
5141 default function (bug#10897).
5142
ebeabff4
MA
51432012-03-04 Michael Albinus <michael.albinus@gmx.de>
5144
a41a6cf4
MA
5145 * notifications.el (notifications-on-action-signal)
5146 (notifications-on-closed-signal): Check for unique service name of
5147 incoming event. Fix error in removing entry.
ebeabff4 5148 (top): Register for signals with wildcard service name.
a41a6cf4 5149 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5150
c1ca42b4
CY
51512012-03-04 Chong Yidong <cyd@gnu.org>
5152
dc9924b8 5153 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5154
ea16568d
GM
51552012-03-04 Glenn Morris <rgm@gnu.org>
5156
5157 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5158 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5159 (expand-abbrev, define-abbrev-table): Doc fixes.
5160
fbae4637
LMI
51612012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
5163 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5164 `message-default-send-mail-function' and not `send-mail-function'
5165 when doing the prompting for `sendmail-query-once' before sending
5166 in Message buffers (bug#10897).
5167
a1e7225c
LMI
5168 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5169 This is inconsistent with all the other stream functions, which leave
5170 the setting up to the higher levels (if so wanted) (bug#10931).
5171
56d093a9
AM
51722012-03-02 Alan Mackenzie <acm@muc.de>
5173
5174 Depessimize the handling of very large macros.
5175
5176 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5177 (c-macro-cache-syntactic): New variables to implement a one
5178 element macro cache.
5179 (c-invalidate-macro-cache): New function.
5180 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5181 Adapt to use the new cache.
5182 (c-state-safe-place): Use better the cache of safe positions.
5183 (c-state-semi-nonlit-pos-cache)
5184 (c-state-semi-nonlit-pos-cache-limit):
5185 New variables for...
5186 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5187 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5188 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5189 Use c-state-semi-safe-place.
56d093a9 5190
dbbc2e69
SM
5191 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5192 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5193
817e5c3d
MA
51942012-03-02 Michael Albinus <michael.albinus@gmx.de>
5195
dbbc2e69
SM
5196 * jka-compr.el (jka-compr-call-process):
5197 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5198 not remote.
5199
a032a702
MA
52002012-03-01 Michael Albinus <michael.albinus@gmx.de>
5201
5202 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5203 access of FILE2, if FILE1 does not exist.
5204
99a54f21
MA
5205 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5206 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5207
5208 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5209 Add "PAGER=" to `process-environment'.
5210
f6561e1f
MM
52112012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5212
5213 * progmodes/sql.el: Bug fix
5214 (sql-get-login-ext): Save login values in globals.
5215 (sql-get-login): Use new version of `sql-get-login-ext'.
5216 (sql-interactive-mode): Set global `sql-connection' to nil.
5217 (sql-connect): Set global values for connection.
5218 (sql-product-interactive): Save global values as buffer local.
5219
2d44d9cc
LL
52202012-02-29 Leo Liu <sdl.web@gmail.com>
5221
5222 * abbrev.el (define-abbrevs): Reset sys to nil.
5223
96b49301 52242012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5225
bf7f9bc5
JB
5226 * files.el (file-equal-p): Rename from `files-equal-p'.
5227 Return nil when one or both files don't exist.
96b49301 5228 (file-subdir-of-p): Now only top directory must exists,
5229 return nil if it doesn't.
bf7f9bc5
JB
5230 (copy-directory): No need to test with `file-subdir-of-p' after
5231 creating dir.
5232 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5233 to `file-equal-p'.
96b49301 5234
44e97401
GM
52352012-02-28 Glenn Morris <rgm@gnu.org>
5236
5237 * shell.el (shell-mode):
5238 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5239 * play/landmark.el (landmark-font-lock-face-O):
5240 * play/handwrite.el (handwrite):
5241 * play/gomoku.el (gomoku-O):
5242 * net/browse-url.el (browse-url-browser-display):
5243 * international/mule.el (define-charset):
5244 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5245 * filesets.el (filesets-find-file-delay):
5246 * eshell/em-xtra.el (eshell-xtra):
5247 * eshell/em-unix.el (eshell-grep):
5248 * emulation/viper.el (viper-mode):
5249 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5250 * emacs-lisp/easymenu.el (easy-menu-define):
5251 * calendar/timeclock.el (timeclock-use-display-time):
5252 * bs.el (bs-mode):
5253 * bookmark.el (bookmark-save-flag):
5254 Doc fix (standardize possessive apostrophe usage).
5255
c98c6276
CY
52562012-02-27 Chong Yidong <cyd@gnu.org>
5257
bf7f9bc5
JB
5258 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5259 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5260
c98c6276
CY
5261 * font-lock.el (font-lock-specified-p): Rename from
5262 font-lock-spec-present. Callers changed.
5263
9c62cd04 52642012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5265
bf7f9bc5
JB
5266 * emacs-lisp/package.el (package-compute-transaction):
5267 Handle holding a package version to t in package-load-list.
8ac9e529 5268
530739c9
MA
52692012-02-26 Michael Albinus <michael.albinus@gmx.de>
5270
5271 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5272 (tramp-get-inode, tramp-get-device): Use cached values.
5273
487915d7
AM
52742012-02-26 Alan Mackenzie <acm@muc.de>
5275
5276 Check there is a font-lock specification before doing initial
5277 fontification.
5278
5279 * font-core.el (font-lock-mode): Move the conditional from
5280 :after-hook to font-lock-initial-fontify.
5281 (font-lock-default-function): Move the check for a specification
5282 to font-lock-spec-present.
5283
dc9924b8 5284 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5285 (font-lock-spec-present): New function.
5286
4fd96557
JB
52872012-02-26 Jim Blandy <jimb@red-bean.com>
5288
5289 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5290 (gdb-send): Apply it to the operand of the '-interpreter-exec
5291 console' command, so that we can pass arguments with (say) quotes
5292 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5293
9a4888c0
CY
52942012-02-26 Chong Yidong <cyd@gnu.org>
5295
07498861
CY
5296 * help-fns.el (describe-function-1): Clarify description of
5297 remapping (Bug#10844).
5298
9a4888c0
CY
5299 * files.el (files-equal-p): Doc fix.
5300 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5301 and quit the loop once a mismatch is found.
5302
ea8fb88d
JB
53032012-02-25 Juanma Barranquero <lekktu@gmail.com>
5304
5305 * bs.el (bs--show-with-configuration): Don't throw an error
5306 if the window cannot be split; otherwise, subsequent calls to
5307 bs-show fail, restoring a stale window config. (Bug#10882)
5308
525795c1
JD
53092012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5310
5311 * term/ns-win.el (global-map): Bind ns-drag-file to
5312 ns-find-file (Bug#5855, Bug#10050).
5313
f008086f
AS
53142012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5315
5316 * calendar/parse-time.el (parse-time-string): Allow extractor to
5317 return nil.
5318
a3fcfa99
MA
53192012-02-25 Michael Albinus <michael.albinus@gmx.de>
5320
91027d08
JB
5321 * net/tramp.el (tramp-file-name-for-operation):
5322 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5323
5324 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5325 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5326 Add COPY-CONTENTS argument.
a3fcfa99 5327
67b0de11
CY
53282012-02-25 Chong Yidong <cyd@gnu.org>
5329
5330 Add custom groups for VC backends, for consistency with vc-bzr.
5331
5332 * vc/vc-arch.el (vc-arch):
5333 * vc/vc-cvs.el (vc-cvs):
5334 * vc/vc-git.el (vc-git):
5335 * vc/vc-hg.el (vc-hg):
5336 * vc/vc-mtn.el (vc-mtn):
5337 * vc/vc-rcs.el (vc-rcs):
5338 * vc/vc-sccs.el (vc-sccs):
5339 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5340 All relevant defcustoms reassigned.
5341
3c9dfce6
CY
53422012-02-25 Chong Yidong <cyd@gnu.org>
5343
1339bf43
CY
5344 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5345
3c9dfce6
CY
5346 * term/x-win.el (x-initialize-window-system): Reduce default for
5347 x-selection-timeout to 5 seconds (Bug#8869).
5348
25b2e303 53492012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5350
ec70a47d
GM
5351 * files.el (files-equal-p, file-subdir-of-p): New functions.
5352 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5353 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5354 * dired-aux.el (dired-copy-file-recursive): Same.
5355 (dired-create-files): Modify destination when source is equal to
5356 dest when copying files.
53a46cd0 5357 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5358
914260cd
MA
53592012-02-24 Michael Albinus <michael.albinus@gmx.de>
5360
5361 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5362 (Bug#10874)
5363
2cb228f7
AM
53642012-02-23 Alan Mackenzie <acm@muc.de>
5365
5366 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5367 parameter "after-hook:" to allow the expansion to run code after
5368 the execution of the mode hooks.
5369
5370 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5371 from font-lock-mode-internal.
2cb228f7 5372
91027d08 5373 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5374 :after-hook.
5375
8f0fde21
SM
53762012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5377
3e88618b
SM
5378 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5379 (completion--cache-all-sorted-completions): New function.
5380 (completion-all-sorted-completions): Use it.
5381 (completion--do-completion, minibuffer-force-complete):
5382 Use it to re-instate the flush hook.
5383
8f0fde21
SM
5384 * icomplete.el (icomplete-completions): Replace last fix with a better
5385 one (bug#10850).
5386
8e911f6f
DG
53872012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5388
5389 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5390 when it might call us back infinitely (bug#10797).
5391
49fe4321
GM
53922012-02-23 Glenn Morris <rgm@gnu.org>
5393
5394 * minibuffer.el (completion-category-overrides): Doc fix.
5395
b291b572
SM
53962012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5399 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5400
31a9ef2e
GM
54012012-02-23 Glenn Morris <rgm@gnu.org>
5402
5e6e6794 5403 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5404 (authors-obsolete-files-regexps, authors-ignored-files)
5405 (authors-ambiguous-files, authors-renamed-files-alist):
5406 Add more entries.
5407
0bd1e074
JL
54082012-02-23 Juri Linkov <juri@jurta.org>
5409
5410 * isearch.el (isearch-occur): Sync interactive spec with occur's
5411 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5412
b617673c
JL
5413 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5414
19e9789e
JL
54152012-02-22 Juri Linkov <juri@jurta.org>
5416
5417 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5418 (ucs-insert): Doc fix. Check for hex digits in the string.
5419 Don't display `nil' in the error message. (Bug#10857)
5420
f41ce09d
AM
54212012-02-22 Alan Mackenzie <acm@muc.de>
5422
7a71b18d 5423 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5424
ac2eceee
GM
54252012-02-22 Glenn Morris <rgm@gnu.org>
5426
5427 * ffap.el (ffap-c-path):
5428 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5429
abd1f678
CY
54302012-02-22 Chong Yidong <cyd@gnu.org>
5431
5432 * custom.el (load-theme): Doc fix.
5433
f25aef2e
GM
54342012-02-22 Glenn Morris <rgm@gnu.org>
5435
5436 * dired-x.el (dired-guess-shell-alist-default):
5437 Remove escape sequences from nroff output. (Bug#172)
5438
5f8dc2ca
GM
54392012-02-21 Glenn Morris <rgm@gnu.org>
5440
6ff86ec4
GM
5441 * vc/emerge.el (emerge-defvar-local):
5442 Set `permanent-local' property rather than unused `preserved'.
5443
be3223a3 5444 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5445 (picture-mode-map): Use it. (Bug#10860)
5446 (picture-mode): Doc fix.
5447
3fe58f4f
JB
54482012-02-21 Juanma Barranquero <lekktu@gmail.com>
5449
5450 * newcomment.el (uncomment-region-default): Remove unused binding.
5451
f9a998c3
GM
54522012-02-21 Glenn Morris <rgm@gnu.org>
5453
5454 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5455 (picture-self-insert, picture-tab-chars): Doc fix.
5456 (picture-mode-map): Fix C-a, C-e.
5457
c6029348
GM
54582012-02-20 Glenn Morris <rgm@gnu.org>
5459
5460 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5461
ab1ce9d7
LL
54622012-02-20 Leo Liu <sdl.web@gmail.com>
5463
5464 * icomplete.el (icomplete-completions): Check FROM arg before
5465 passing to substring (Bug#10850).
5466
0fd40f89
CY
54672012-02-19 Chong Yidong <cyd@gnu.org>
5468
5469 * comint.el: Require ansi-color.
5470 (comint-output-filter-functions): Add ansi-color-process-output.
5471
5472 * ansi-color.el: Don't set comint-output-filter-functions; it is
5473 now in the initial value defined in comint.el.
5474 (ansi-color-apply-face-function): New variable.
5475 (ansi-color-apply-on-region): Use it.
5476 (ansi-color-apply-overlay-face): New function.
5477
5478 * shell.el (shell): No need to require ansi-color.
5479 (shell-mode): Use ansi-color-apply-face-function to highlight
5480 color escapes using font-lock-face property (Bug#10835).
5481
20af2394
CY
54822012-02-19 Chong Yidong <cyd@gnu.org>
5483
5484 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5485 mode-line formats (Bug#10839).
5486
e23a3fbe
GM
54872012-02-18 Glenn Morris <rgm@gnu.org>
5488
b474519e
GM
5489 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5490
5491 * mail/undigest.el (unforward-rmail-message): Doc fix.
5492
e23a3fbe
GM
5493 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5494
57939ff4
EZ
54952012-02-18 Eli Zaretskii <eliz@gnu.org>
5496
5497 * international/characters.el (script-list): Sync with the latest
5498 Unicode Character Database.
5499
0c23686e
AS
55002012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5501
5502 * international/titdic-cnv.el: Remove duplicate coding tag.
5503 * language/cham.el: Likewise.
5504 * language/tai-viet.el: Likewise.
5505
6818b449
GM
55062012-02-18 Glenn Morris <rgm@gnu.org>
5507
5508 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5509 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5510 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5511 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5512 * calendar/holidays.el (holiday-bahai-holidays)
5513 (calendar-holidays, list-holidays):
5514 Use utf-8 Bahá'í in doc-strings, menus, etc.
5515
0311a3fc
TH
55162012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5517
5518 * saveplace.el (save-place-ignore-files-regexp): New variable
5519 allowing for excluding files from saving their location of point.
5520 The default value matches the temporary commit message editing
5521 files from Git, SVN, Bazaar, and Mercurial.
5522 (save-place-to-alist): Use it.
5523
d209e2fb 55242012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5525 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * newcomment.el (uncomment-region-default): Don't leave extra space
5528 when an arg is provided (bug#8150).
5529
ee0ce425
TZ
55302012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5531
eb864a71 5532 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5533
95ddf442
GM
55342012-02-17 Glenn Morris <rgm@gnu.org>
5535
5536 * net/socks.el: Require network-stream. (Bug#10599)
5537
48dd1e39 55382012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5539
5540 * international/charprop.el:
5541 * international/uni-name.el:
5542 * international/uni-old-name.el:
5543 * international/uni-comment.el: Regenerate.
5544
d68cd087
GM
55452012-02-16 Glenn Morris <rgm@gnu.org>
5546
5547 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5548 Interactively in calendar buffer, give an error if not on a date.
5549
13932042
GM
55502012-02-15 Glenn Morris <rgm@gnu.org>
5551
5552 * shell.el (shell-delimiter-argument-list):
5553 Revert 2011-02-17 change. (Bug#8027)
5554
c3a70e2b
CY
55552012-02-15 Chong Yidong <cyd@gnu.org>
5556
60236b0d
CY
5557 * minibuffer.el (completion-at-point-functions): Doc fix.
5558
c3a70e2b
CY
5559 * custom.el (defcustom): Doc fix; note use of defvar.
5560
9f26dc24
GM
55612012-02-15 Glenn Morris <rgm@gnu.org>
5562
5563 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5564 Doc fixes.
5565
6546b134
GM
55662012-02-14 Glenn Morris <rgm@gnu.org>
5567
5568 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5569
d29b2b4c
LI
55702012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5571
5572 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5573 way the ports list is computed.
835bdcba
LI
5574 (smtpmail-query-smtp-server): Prompt the user for a port number if
5575 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5576
08dcdbc9
TZ
55772012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5578
5579 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5580
2605051a
GM
55812012-02-13 Glenn Morris <rgm@gnu.org>
5582
5583 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5584
7ee99f32
TZ
55852012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5586
5587 * net/gnutls.el (gnutls-trustfiles): New variable.
5588 (gnutls-negotiate): Use it.
5589
5f0af64f
LI
55902012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5591
5592 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5593 does its stuff if Gnus is running.
5594
c14fcc95
AM
55952012-02-13 Alan Mackenzie <acm@muc.de>
5596
5597 Fix a loop in c-set-fl-decl-start.
5598
7a71b18d 5599 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5600 c-backward-syntactic-ws actually moves backwards.
5601
142b4d90
LL
56022012-02-13 Leo Liu <sdl.web@gmail.com>
5603
5604 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5605 beginning so that all \C-o chars are removed.
5606
fa9958a6
TZ
56072012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5608
dc9924b8 5609 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5610
0bc5886a
AM
56112012-02-12 Alan Mackenzie <acm@muc.de>
5612
5613 Fix infinite loop with long macros.
4d6769e1 5614 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5615
d4bd55e7
CY
56162012-02-12 Chong Yidong <cyd@gnu.org>
5617
5618 * window.el (display-buffer): Doc fix (Bug#10785).
5619
66f3fe22
GM
56202012-02-12 Glenn Morris <rgm@gnu.org>
5621
bd7da63e
GM
5622 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5623 (x-disown-selection-internal, x-get-selection-internal):
5624 Sync docs with the xselect.c versions.
5625
66f3fe22
GM
5626 * allout-widgets.el: Add missing license notice.
5627
3e0d2fa7
GM
56282012-02-11 Glenn Morris <rgm@gnu.org>
5629
cfecdf09
GM
5630 * select.el (x-get-selection-internal, x-own-selection-internal)
5631 (x-disown-selection-internal):
5632 * x-dnd.el (x-get-selection-internal): Update declarations.
5633
6d216d7f
GM
5634 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5635
2bed3f04
GM
5636 * window.el (window-sides-slots):
5637 * tool-bar.el (tool-bar-position):
5638 * term/xterm.el (xterm-extra-capabilities):
5639 * ses.el (ses-self-reference-early-detection):
5640 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5641 (verilog-auto-wire-type)
5642 (verilog-auto-delete-trailing-whitespace)
5643 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5644 (verilog-auto-tieoff-declaration):
5645 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5646 (sql-oracle-statement-starters, sql-oracle-scan-on):
5647 * progmodes/prolog.el (prolog-align-comments-flag)
5648 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5649 (prolog-left-indent-regexp, prolog-paren-indent-p)
5650 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5651 (prolog-types, prolog-mode-specificators)
5652 (prolog-determinism-specificators, prolog-directives)
5653 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5654 (prolog-electric-dot-flag)
5655 (prolog-electric-dot-full-predicate-template)
5656 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5657 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5658 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5659 (prolog-program-switches, prolog-prompt-regexp)
5660 (prolog-debug-on-string, prolog-debug-off-string)
5661 (prolog-trace-on-string, prolog-trace-off-string)
5662 (prolog-zip-on-string, prolog-zip-off-string)
5663 (prolog-use-standard-consult-compile-method-flag)
5664 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5665 (prolog-imenu-max-lines, prolog-info-predicate-index)
5666 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5667 (prolog-char-quote-workaround):
5668 * progmodes/cc-vars.el (c-defun-tactic):
5669 * net/tramp.el (tramp-encoding-command-interactive)
5670 (tramp-local-end-of-line):
5671 * net/soap-client.el (soap-client):
5672 * net/netrc.el (netrc-file):
5673 * net/gnutls.el (gnutls):
5674 * minibuffer.el (completion-category-overrides)
5675 (completion-cycle-threshold)
5676 (completion-pcm-complete-word-inserts-delimiters):
5677 * man.el (Man-name-local-regexp):
5678 * mail/feedmail.el (feedmail-display-full-frame):
5679 * international/characters.el (glyphless-char-display-control):
5680 * eshell/em-ls.el (eshell-ls-date-format):
5681 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5682 (lisp-lambda-list-keyword-parameter-indentation)
5683 (lisp-lambda-list-keyword-parameter-alignment):
5684 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5685 * dired-x.el (dired-omit-verbose):
5686 * cus-theme.el (custom-theme-allow-multiple-selections):
5687 * calc/calc.el (calc-highlight-selections-with-faces)
5688 (calc-lu-field-reference, calc-lu-power-reference)
5689 (calc-note-threshold):
5690 * battery.el (battery-mode-line-limit):
5691 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5692 (archive-7z-update):
5693 * allout.el (allout-prefixed-keybindings)
5694 (allout-unprefixed-keybindings)
5695 (allout-inhibit-auto-fill-on-headline)
5696 (allout-flattened-numbering-abbreviation):
5697 * allout-widgets.el (allout-widgets-auto-activation)
5698 (allout-widgets-icons-dark-subdir)
5699 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5700 (allout-widgets-theme-dark-background)
5701 (allout-widgets-theme-light-background)
5702 (allout-widgets-item-image-properties-emacs)
5703 (allout-widgets-item-image-properties-xemacs)
5704 (allout-widgets-run-unit-tests-on-load)
5705 (allout-widgets-time-decoration-activity)
5706 (allout-widgets-hook-error-post-time)
5707 (allout-widgets-track-decoration):
5708 Add missing :version tags to new defcustoms and defgroups.
5709
5fec1b8e
GM
5710 * progmodes/sql.el (sql-ansi-statement-starters)
5711 (sql-oracle-statement-starters): Add custom type.
5712
3e0d2fa7
GM
5713 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5714 (prolog-system-version): Give it a type.
5715
90b671e2
EZ
57162012-02-11 Eli Zaretskii <eliz@gnu.org>
5717
5718 * term/pc-win.el (x-select-text, x-selection-owner-p)
5719 (x-own-selection-internal, x-disown-selection-internal)
5720 (x-get-selection-internal): Sync doc strings and argument lists
5721 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5722
5eac0c02
LL
57232012-02-11 Leo Liu <sdl.web@gmail.com>
5724
5725 * progmodes/python.el (python-end-of-statement): Fix infinite
5726 loop. (Bug#10788)
5727
f82cb659
GM
57282012-02-10 Glenn Morris <rgm@gnu.org>
5729
5730 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5731 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5732
cc26d239
LI
57332012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5734
5735 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5736 about SMTP before checking the From header.
5737
91027d08 5738 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5739 into own function for reuse by emacsbug.el.
5740
1be3ca5a
LL
57412012-02-10 Leo Liu <sdl.web@gmail.com>
5742
5743 * subr.el (condition-case-unless-debug): Rename from
5744 condition-case-no-debug. All callers changed.
5745 (with-demoted-errors): Fix caller.
5746
5747 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5748 * nxml/rng-valid.el (rng-do-some-validation):
5749 * emacs-lisp/package.el (package-refresh-contents)
5750 (package-menu-execute):
5751 * desktop.el (desktop-create-buffer):
91027d08 5752 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5753
b011fbfe
GM
57542012-02-10 Glenn Morris <rgm@gnu.org>
5755
b2096d72
GM
5756 * textmodes/bibtex.el:
5757 Add missing :version tags for new/changed defcustoms.
5758
b011fbfe
GM
5759 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5760
4c7e65bf
LI
57612012-02-09 Lars Ingebrigtsen <larsi@rusty>
5762
5763 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5764 (smtpmail-via-smtp): Use it, or fall back on the From address.
5765 (smtpmail-send-it): Ditto.
5766
f3934f6f
SM
57672012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5770 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5771 (byte-compile-tmp-var): New const.
5772 (byte-compile-defvar): Use it to minimize .elc size.
5773 Just use `defvar' rather than simulate it (bug#10761).
5774
a075a2c5
GM
57752012-02-09 Glenn Morris <rgm@gnu.org>
5776
cf3aa21b
GM
5777 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5778
354998cd
GM
5779 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5780 Add :version tags.
5781
dc9924b8
SM
5782 * progmodes/compile.el (compilation-error-screen-columns)
5783 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5784
dab3703d
GM
5785 * vc/log-view.el (log-view-toggle-entry-display):
5786 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5787
3f88cd72
GM
5788 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5789 (report-emacs-bug-can-use-xdg-email):
5790 (report-emacs-bug-insert-to-mailer): Doc fixes.
5791 (report-emacs-bug): Message fix.
5792
d95b247d
GM
5793 * net/browse-url.el (browse-url-can-use-xdg-open)
5794 (browse-url-xdg-open): Doc fixes.
5795
a075a2c5
GM
5796 * electric.el (electric-indent-mode, electric-pair-mode)
5797 (electric-layout-rules, electric-layout-mode): Doc fixes.
5798 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5799
ffb6157e
MR
58002012-02-08 Martin Rudalics <rudalics@gmx.at>
5801
5802 * server.el (server-unselect-display): Don't inadvertently kill
5803 the current buffer. (Bug#10729)
5804
e1ac4066
GM
58052012-02-08 Glenn Morris <rgm@gnu.org>
5806
34e8a2da
GM
5807 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5808 (sql-list-table): Doc fixes.
5809
b4ac6e8c
GM
5810 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5811 Comment out (does nothing).
5812
e1ac4066
GM
5813 * completion.el (dynamic-completion-mode):
5814 * dirtrack.el (dirtrack-debug-mode):
5815 * electric.el (electric-layout-mode):
5816 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5817 * face-remap.el (text-scale-mode, buffer-face-mode):
5818 * iimage.el (iimage-mode):
5819 * image-mode.el (image-transform-mode):
5820 * minibuffer.el (completion-in-region-mode):
5821 * scroll-lock.el (scroll-lock-mode):
5822 * simple.el (next-error-follow-minor-mode):
5823 * tar-mode.el (tar-subfile-mode):
5824 * tooltip.el (tooltip-mode):
5825 * vcursor.el (vcursor-use-vcursor-map):
5826 * wid-browse.el (widget-minor-mode):
5827 * emulation/tpu-edt.el (tpu-edt-mode):
5828 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5829 * international/iso-ascii.el (iso-ascii-mode):
5830 * language/thai-util.el (thai-word-mode):
5831 * mail/supercite.el (sc-minor-mode):
5832 * net/goto-addr.el (goto-address-mode):
5833 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5834 * progmodes/cwarn.el (cwarn-mode):
5835 * progmodes/flymake.el (flymake-mode):
5836 * progmodes/glasses.el (glasses-mode):
5837 * progmodes/hideshow.el (hs-minor-mode):
5838 * progmodes/pascal.el (pascal-outline-mode):
5839 * textmodes/enriched.el (enriched-mode):
5840 * vc/smerge-mode.el (smerge-mode):
5841 Doc fixes (minor mode argument).
5842
5e0d957f
EZ
58432012-02-07 Eli Zaretskii <eliz@gnu.org>
5844
5845 * ls-lisp.el (ls-lisp-sanitize): New function.
5846 (ls-lisp-insert-directory): Use it to fix or remove any elements
5847 in file-alist with missing attributes. (Bug#4673)
5848
98d7371e
AM
58492012-02-07 Alan Mackenzie <acm@muc.de>
5850
5851 Fix spurious recognition of c-in-knr-argdecl.
5852
5853 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5854 putative K&R region.
5855
667ced3a
AM
58562012-02-07 Alan Mackenzie <acm@muc.de>
5857
eb864a71
LM
5858 * progmodes/cc-engine.el (c-forward-objc-directive):
5859 Prevent looping in "#pragma mark @implementation".
667ced3a 5860
5b77774d
MA
58612012-02-07 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * notifications.el (notifications-on-closed-signal): Make `reason'
5864 optional. (Bug#10744)
5865
af008560
GM
58662012-02-07 Glenn Morris <rgm@gnu.org>
5867
60d47423
GM
5868 * emacs-lisp/easy-mmode.el (define-minor-mode):
5869 Doc fixes for the macro and the mode it defines.
5870
dd605cc4
GM
5871 * image.el (imagemagick-types-inhibit): Doc fix.
5872
af008560
GM
5873 * cus-start.el (imagemagick-render-type): Add it.
5874
5cc59a37
LI
58752012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5876
4d6769e1
JB
5877 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5878 Set the default at load time, too, so that `font-lock-fontify-buffer'
5879 can be called without setting up the entire mode first. This fixes
5880 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5881
9a6dd747
CY
58822012-02-06 Chong Yidong <cyd@gnu.org>
5883
2d16b285
CY
5884 * simple.el (list-processes--refresh): Delete exited processes
5885 (Bug#8094).
5886
171e9b6e
CY
5887 * comint.el (comint-next-prompt): next-single-char-property-change
5888 and prev-single-char-property-change never return nil (Bug#8657).
5889
9a6dd747
CY
5890 * custom.el (defcustom): Doc fix (Bug#9711).
5891
aa4589a7
CY
58922012-02-05 Chong Yidong <cyd@gnu.org>
5893
5c2a252f
CY
5894 * cus-edit.el (custom-variable-reset-backup): Quote the value
5895 before storing it in the customized-value property (Bug#6712).
4aab9006 5896 (custom-display): Add a customization type tag.
983b9602 5897 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5898
aa4589a7
CY
5899 * wid-edit.el (widget-field-value-get): New optional arg to
5900 suppress trailing whitespace truncation.
5901 (character): Use it (Bug#2689).
5902
1ff980ae
AS
59032012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5904
5905 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5906 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5907
03988c98
CY
59082012-02-05 Chong Yidong <cyd@gnu.org>
5909
eeb6cc88
CY
5910 * cus-edit.el (custom-variable-value-create): For mismatched
5911 types, show the current value (Bug#7600).
5912
03988c98
CY
5913 * custom.el (defcustom): Doc fix.
5914
f8cdeef0
GM
59152012-02-05 Glenn Morris <rgm@gnu.org>
5916
5917 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5918
0696d255
JB
59192012-02-05 Juanma Barranquero <lekktu@gmail.com>
5920
5921 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5922 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5923 (pp-last-sexp): Use `looking-at-p'.
5924
34c99998
GM
59252012-02-04 Glenn Morris <rgm@gnu.org>
5926
8f05da42
GM
5927 * files.el (revert-buffer):
5928 Doc fix (mention revert-buffer-in-progress-p).
5929
f160676e
GM
5930 * emacs-lisp/ert-x.el (ert-simulate-command):
5931 Check deferred-action-list (which is obsolete) is bound.
5932
c7291ad9
GM
5933 * subr.el (with-wrapper-hook): Doc fixes.
5934
34c99998
GM
5935 * simple.el (filter-buffer-substring-functions)
5936 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5937
6283a7d3
LL
59382012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5939
5940 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5941 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5942
e96e3013
LL
59432012-02-04 Leo Liu <sdl.web@gmail.com>
5944
5945 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5946
8ded50f2
GM
59472012-02-04 Glenn Morris <rgm@gnu.org>
5948
82ff1d13
GM
5949 * image.el (image-extension-data): Add obsolete alias.
5950
987a0a16
GM
5951 * isearch.el (isearch-update): Doc fix.
5952
ea32ef46
GM
5953 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5954
8ded50f2
GM
5955 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5956
eea14f31
GM
59572012-02-03 Glenn Morris <rgm@gnu.org>
5958
5959 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5960 (image-animate-timeout): Doc fix.
5961
5962 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5963
12f381b7
GM
59642012-02-02 Glenn Morris <rgm@gnu.org>
5965
953cebf5
GM
5966 * server.el (server-auth-dir): Doc fix.
5967 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5968
12f381b7
GM
5969 * subr.el (run-mode-hooks): Doc fix.
5970
953a8c3b
JL
59712012-02-02 Juri Linkov <juri@jurta.org>
5972
5973 * image-mode.el (image-toggle-display-image): Remove tautological
5974 `major-mode' from the `derived-mode-p' test.
5975
c5d3843c
KH
59762012-02-02 Kenichi Handa <handa@m17n.org>
5977
9f6e692e 5978 * composite.el (compose-region): Cancel previous change.
c5d3843c 5979
159462d4 59802012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5981
5982 * composite.el (compose-region, compose-string): Signal error for
5983 a null string component (Bug#6988).
5984
9f562668
CY
59852012-02-01 Chong Yidong <cyd@gnu.org>
5986
e2cef717
CY
5987 * view.el (view-buffer-other-window, view-buffer-other-frame):
5988 Handle special modes like view-buffer (Bug#10650).
5989 (view-buffer): Simplify.
5990
9f562668
CY
5991 * frame.el (set-frame-font): Tweak meaning of third argument.
5992
9f6e692e
JB
5993 * dynamic-setting.el (font-setting-change-default-font):
5994 Use set-frame-font (Bug#9982).
9f562668 5995
781acb9f
GM
59962012-02-01 Glenn Morris <rgm@gnu.org>
5997
6035be52
GM
5998 * progmodes/compile.el (compilation-internal-error-properties):
5999 Respect compilation-first-column in the "*compilation*" buffer.
6000
781acb9f
GM
6001 * emacs-lisp/easy-mmode.el (define-minor-mode):
6002 Relax :variable's test for a named function.
6003
abbceb00
AM
60042012-01-31 Alan Mackenzie <acm@muc.de>
6005
6006 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6007 off by one error.
6008
fce3fdeb
CY
60092012-01-31 Chong Yidong <cyd@gnu.org>
6010
6011 * frame.el (set-frame-font): New arg ALL-FRAMES.
6012
6013 * menu-bar.el (menu-set-font): Use set-frame-font.
6014
6015 * faces.el (face-spec-reset-face): Don't apply unspecified
6016 attribute values to the default face.
6017
47893581
JB
60182012-01-31 Juanma Barranquero <lekktu@gmail.com>
6019
6020 * progmodes/cwarn.el (cwarn): Remove dead link.
6021 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6022 Remove * from defcustom docstrings.
6023 (turn-on-cwarn-mode): Make obsolete.
6024 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6025 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6026
e58e988a
GM
60272012-01-31 Glenn Morris <rgm@gnu.org>
6028
60dc2671 6029 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6030 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6031 Allow named functions to be used as the cdr of :variable.
e58e988a 6032
7a3f511d
GM
60332012-01-30 Glenn Morris <rgm@gnu.org>
6034
6035 * emacs-lisp/authors.el (authors-fixed-entries):
6036 Remove reference to deleted file rnewspost.el.
6037
cb882333
JB
60382012-01-29 Juanma Barranquero <lekktu@gmail.com>
6039
6040 * window.el (window-with-parameter): Remove unused variable `windows'.
6041 (window--side-check): Remove unused variable `code'.
6042 (window--resize-siblings): Remove unused variable `first'.
6043 (adjust-window-trailing-edge): Remove unused variable `failed'.
6044 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6045 Use `let', not `let*'.
6046 (balance-windows-2): Remove unused variable `found'.
6047 (window--state-put-2): Remove unused variable `splits'.
6048 (window-state-put): Remove unused variable `selected'.
6049 (same-window-p): Use `string-match-p'.
6050 (display-buffer-assq-regexp): Remove unused variable `value'.
6051 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6052 Mark argument ALIST as ignored.
6053 (pop-to-buffer): Remove unused variable `old-window'.
6054
907201af
EZ
60552012-01-29 Eli Zaretskii <eliz@gnu.org>
6056
6057 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6058 and .lzma compressed files.
6059
ea162670
CY
60602012-01-29 Chong Yidong <cyd@gnu.org>
6061
5b95ee8a
CY
6062 * frame.el (window-system-default-frame-alist): Doc fix.
6063
ea162670
CY
6064 * dynamic-setting.el (font-setting-change-default-font): Don't
6065 change the default face if SET-FONT argument is non-nil (Bug#9982).
6066
d6e6f4b1
SB
60672012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6068
6069 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6070
0f29fa41 60712012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6072
6073 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6074 breakpoints in files outside current directory (Bug#6098).
6075
db174434
CY
60762012-01-29 Chong Yidong <cyd@gnu.org>
6077
6b25e4e2
SE
6078 * progmodes/python.el: Require ansi-color at top-level.
6079
6df6ae42
JB
6080 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6081 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6082 (lisp-mode-abbrev-table): Add doc.
6083 (lisp-mode-variables): Don't set local-abbrev-table.
6084 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6085
e70ee681
RW
60862012-01-28 Roland Winkler <winkler@gnu.org>
6087
6088 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6089
ace88aa2
RW
60902012-01-28 Roland Winkler <winkler@gnu.org>
6091
6092 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6093 (bibtex-set-dialect): Use it. Either set global values of
6094 dialect-dependent variables or bind these variables buffer-locally
6095 (Bug#10254).
6096 (bibtex-mode): Call bibtex-set-dialect via
6097 hack-local-variables-hook.
eb864a71
LM
6098 (bibtex-dialect): Update docstring.
6099 Add safe-local-variable predicate.
ace88aa2
RW
6100 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6101 bibtex-set-dialect.
6102 (bibtex-mode-map): Define menu for each dialect.
6103 (bibtex-entry): Fix docstring.
6104
93376c5b
CY
61052012-01-28 Chong Yidong <cyd@gnu.org>
6106
6107 * eshell/esh-arg.el (eshell-quote-argument): New function.
6108
6109 * eshell/esh-ext.el (eshell-invoke-batch-file):
6110 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6111 first arg to eshell-parse-command (Bug#10523).
6112
4372494f
DA
61132012-01-28 Drew Adams <drew.adams@oracle.com>
6114
6115 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6116 `default-directory' is non-nil.
6117
4d4ec1f8
EZ
61182012-01-28 Eli Zaretskii <eliz@gnu.org>
6119
6120 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6121 line that displays system-configuration-options. (Bug#9924)
6122
7c188927
DA
61232012-01-28 Drew Adams <drew.adams@oracle.com>
6124
6125 * descr-text.el (describe-char): Show information about POS, in
6126 addition to information about the character at POS. Improve and
6127 update the doc string. Change "code point" to "code point in
6128 charset", to avoid confusion with the character's Unicode code
6129 point shown above that. (Bug#10129)
6130
e0da685a
EZ
61312012-01-28 Eli Zaretskii <eliz@gnu.org>
6132
6133 * descr-text.el (describe-char): Show the raw character, not only
6134 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6135 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6136 for the reasons.
6137
70550acf
PH
61382012-01-28 Phil Hagelberg <phil@hagelb.org>
6139
eb864a71
LM
6140 * emacs-lisp/package.el (package-install):
6141 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6142
0ce8e868
CY
61432012-01-28 Chong Yidong <cyd@gnu.org>
6144
cb882333
JB
6145 * emacs-lisp/package.el (package-maybe-load-descriptor):
6146 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6147 (package-maybe-load-descriptor): Use it.
6148 (package-download-transaction): Fully load required packages
6149 inside the loop, so that `require' calls work (Bug#10593).
6150 (package-install): No need to call package-initialize now.
6151
2e7f3bea
CY
61522012-01-28 Chong Yidong <cyd@gnu.org>
6153
6e9bad14
CY
6154 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6155
f823b8ca
CY
6156 * tooltip.el (tooltip-mode): Doc fix.
6157 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6158
2680c309
CY
6159 * frame.el (set-cursor-color): Doc fix (Bug#352).
6160
d7a9e63b
CY
6161 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6162 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6163
2e7f3bea
CY
6164 * cus-edit.el (custom-buffer-create-internal): Fix search button
6165 action (Bug#10542).
2ae01800 6166 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6167
fc4f7a23
EW
61682012-01-27 Eduard Wiebe <usenet@pusto.de>
6169
6170 * dired.el (dired-mark-files-regexp):
6171 Include any subdirectory components. (Bug#10445)
6172
7dd37071
ML
61732012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6174
6175 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6176 Handle [host]:port syntax. (Bug#10533)
6177
a268160b
AH
61782012-01-27 Alex Harsanyi <harsanyi@mac.com>
6179
6180 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6181
e43273ef
GM
61822012-01-26 Glenn Morris <rgm@gnu.org>
6183
6184 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6185 * term.el (term-raw-escape-map): Use Control-X-prefix.
6186 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6187
1edf595d
MR
61882012-01-25 Martin Rudalics <rudalics@gmx.at>
6189
6190 * window.el (window-state-get, window--state-get-1): Don't deal
6191 with fixed-sizeness of windows. Simplify code.
6192
fa8eafef
JC
61932012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6194
6df6ae42
JB
6195 * window.el (window--state-get-1, window--state-put-2):
6196 Don't save and restore the mark.
fa8eafef 6197
0b21c100
CY
61982012-01-25 Chong Yidong <cyd@gnu.org>
6199
6200 * custom.el (custom-variable-p): Doc fix.
6201
5ae1a6c8
GM
62022012-01-25 Glenn Morris <rgm@gnu.org>
6203
40047858
GM
6204 * dired.el (dired-goto-file): Handle some of the more common
6205 characters that `ls -b' escapes. (Bug#10596)
6206
5ddce96c
GM
6207 * progmodes/compile.el (compilation-next-error-function):
6208 Respect compilation-first-column in the "*compilation*" buffer.
6209 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6210
5ae1a6c8
GM
6211 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6212
b559f1a9
GM
62132012-01-24 Glenn Morris <rgm@gnu.org>
6214
6215 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6216
6725d21a
JD
62172012-01-24 Julien Danjou <julien@danjou.info>
6218
6219 * color.el (color-rgb-to-hsl): Fix value computing.
6220 (color-hue-to-rgb): New function.
6221 (color-hsl-to-rgb): New function.
6222 (color-clamp, color-saturate-hsl, color-saturate-name)
6223 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6224 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6225
70df4bbe
GM
62262012-01-24 Glenn Morris <rgm@gnu.org>
6227
6228 * vc/vc-rcs.el (vc-rcs-create-tag):
6229 * vc/vc-sccs.el (vc-sccs-create-tag):
6230 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6231
802a2ae2
ML
62322012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6233
6234 * eshell/esh-util.el (eshell-read-hosts-file):
6235 Skip comment lines. (Bug#10549)
6236
d7128bb1
ML
6237 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6238
d1a5c3b4
JB
62392012-01-23 Juanma Barranquero <lekktu@gmail.com>
6240
2724d9c7
JB
6241 * subr.el (display-delayed-warnings): Doc fix.
6242 (collapse-delayed-warnings): New function to collapse identical
6243 adjacent warnings.
6244 (delayed-warnings-hook): Add it.
d1a5c3b4 6245
a5509865
MA
62462012-01-22 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6249
a5509865
MA
6250 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6251 (tramp-default-user-alist): Don't add "pscp".
6252 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6253 property "login-as", if set. (Bug#10530)
6254
cc6d5805
MA
62552012-01-21 Michael Albinus <michael.albinus@gmx.de>
6256
6257 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6258 "plink1" and "psftp". (Bug#10530)
6259
62602012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6261
6262 * international/mule-cmds.el (prefer-coding-system): Show a
6263 warning message if the default value of file-name-coding-system
6264 was not changed.
6265
f0960428
JC
62662012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6267
cb882333
JB
6268 * windmove.el (windmove-reference-loc):
6269 Fix windmove-reference-loc miscalculation.
f0960428 6270
dd6f2a63
JB
62712012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6272
6273 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6274 default unit.
6275
7b447e9b
GM
62762012-01-21 Glenn Morris <rgm@gnu.org>
6277
117a9ea1
GM
6278 * international/mule.el (auto-coding-alist): Add .tbz.
6279
7b447e9b
GM
6280 * files.el (local-enable-local-variables): Doc fix.
6281 (inhibit-local-variables-regexps): Rename from
6282 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6283 Doc fix. Add some extensions from auto-coding-alist.
6284 (inhibit-local-variables-suffixes):
6285 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6286 (inhibit-local-variables-p):
6287 New function, extracted from set-auto-mode-1.
6288 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6289 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6290 (hack-local-variables): Doc fix. Make the mode-only case
6291 respect enable-local-variables and friends.
6292 Respect inhibit-local-variables-regexps for file-locals, but
6293 not for directory-locals.
6294 (set-visited-file-name):
6295 Take account of inhibit-local-variables-regexps.
6296 Whether it applies may change as the file name is changed.
6297 * jka-cmpr-hook.el (jka-compr-install):
6298 * jka-compr.el (jka-compr-uninstall):
6299 Update for inhibit-first-line-modes-suffixes name change.
6300
dd6e3cdd
MR
63012012-01-20 Martin Rudalics <rudalics@gmx.at>
6302
6303 * help-macro.el (make-help-screen): Temporarily restore original
6304 binding for minor-mode-map-alist (Bug#10454).
6305
0d0deb38
JD
63062012-01-19 Julien Danjou <julien@danjou.info>
6307
6308 * color.el (color-name-to-rgb): Use the white color to find the max
6309 color component value and return correctly computed values.
6310 (color-name-to-rgb): Add missing float conversion for max value.
6311
34a02f46
MR
63122012-01-19 Martin Rudalics <rudalics@gmx.at>
6313
6314 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6315 special state value for window-persistent-parameters.
6316 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6317 (window--state-put-2): Reset all window parameters to nil before
6318 assigning values of persistent parameters.
6319
606c44c4
AM
63202012-01-18 Alan Mackenzie <acm@muc.de>
6321
6322 Eliminate sluggishness and hangs in fontification of "semicolon
6323 deserts".
6324
cb882333
JB
6325 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6326 Change value 10000 -> 3000.
606c44c4
AM
6327 (c-state-safe-place): Reformulate so it doesn't stack up an
6328 infinite number of wrong entries in c-state-nonlit-pos-cache.
6329 (c-determine-limit-get-base, c-determine-limit): New functions to
6330 determine backward search limits disregarding literals.
6331 (c-find-decl-spots): Amend commenting.
6332 (c-cheap-inside-bracelist-p): New function which detects "={".
6333
6334 * progmodes/cc-fonts.el
6335 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6336 backward search.
6337 (c-font-lock-declarations): Fix an occurrence of point being
6338 undefined. Check additionally for point being in a bracelist or
6339 near a macro invocation without a semicolon so as to avoid a
6340 fruitless time consuming search for a declarator. Give a more
6341 precise search limit for declarators using the new
6342 c-determine-limit.
6343
f3860cea
GM
63442012-01-18 Glenn Morris <rgm@gnu.org>
6345
6346 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6347 (set-auto-mode): Doc fixes.
6348
1db03b16
GM
63492012-01-17 Glenn Morris <rgm@gnu.org>
6350
0e6038be
GM
6351 * isearch.el (search-nonincremental-instead): Fix doc typo.
6352
1db03b16
GM
6353 * dired.el (dired-insert-directory): Handle newlines in directory name.
6354 (dired-build-subdir-alist): Unescape newlines in directory name.
6355
4cb0aa75
MA
63562012-01-17 Michael Albinus <michael.albinus@gmx.de>
6357
6358 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6359 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6360 (tramp-action-terminal): Use it. (Bug#10530)
6361
1d00653d
SM
63622012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6365
6a6ee00d
MR
63662012-01-16 Martin Rudalics <rudalics@gmx.at>
6367
6368 * window.el (window-state-ignored-parameters): Remove variable.
6369 (window--state-get-1): Rename argument MARKERS to IGNORE.
6370 Handle persistent window parameters. Make copy of clone-of
6371 parameter only if requested. (Bug#10348)
6372 (window--state-put-2): Install a window parameter only if it has
6373 a non-nil value or an existing parameter shall be overwritten.
6374
97912def
MA
63752012-01-15 Michael Albinus <michael.albinus@gmx.de>
6376
6377 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6378
688070a5
EZ
63792012-01-14 Eli Zaretskii <eliz@gnu.org>
6380
6381 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6382 don't pass the (nil) value of `upnode' to string-match.
6383
301afadc
CY
63842012-01-14 Chong Yidong <cyd@gnu.org>
6385
6386 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6387 Fix values recognized by the cursorBlink resource.
301afadc 6388
9e5788aa
PE
63892012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6390
6391 * epg.el (epg--make-temp-file): Avoid permission race condition
6392 when running on old Emacs versions (bug#10403).
6393
3cdb7f5a
GM
63942012-01-14 Glenn Morris <rgm@gnu.org>
6395
6396 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6397
8c82b1b4
AM
63982012-01-13 Alan Mackenzie <acm@muc.de>
6399
6400 Fix filling for when filladapt mode is enabled.
6401
6402 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6403 c-mask-paragraph, pass in `fill-paragraph' rather than
6404 `fill-region-as-paragraph'. (This is a reversion of a previous
6405 change.)
eb864a71
LM
6406 * progmodes/cc-mode.el (c-basic-common-init):
6407 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6408
e517eda4
GM
64092012-01-13 Glenn Morris <rgm@gnu.org>
6410
1498536e
GM
6411 * dired.el (dired-switches-escape-p): New function.
6412 (dired-insert-directory): Use dired-switches-escape-p.
6413 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6414
e517eda4
GM
6415 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6416
328f984d
GM
64172012-01-12 Glenn Morris <rgm@gnu.org>
6418
6419 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6420 changes in adaptive-fill-regexp. (Bug#10276)
6421
2cc769a8
AM
64222012-01-11 Alan Mackenzie <acm@muc.de>
6423
6424 Fix Emacs bug #10463 - put `widen's around the critical spots.
6425
1d00653d 6426 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6427 widen around each invocation of c-state-pp-to-literal. Remove an
6428 unused let variable.
6429
e52c37fa
GM
64302012-01-11 Glenn Morris <rgm@gnu.org>
6431
6432 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6433 Doc fix.
e52c37fa 6434
96f8741e
CY
64352012-01-10 Chong Yidong <cyd@gnu.org>
6436
1d00653d
SM
6437 * net/network-stream.el (network-stream-open-starttls):
6438 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6439 response to the capability command.
6440
b09a806e
GM
64412012-01-10 Glenn Morris <rgm@gnu.org>
6442
6443 * mail/unrmail.el (unrmail): Tweak previous change.
6444
7655cb66
CY
64452012-01-09 Chong Yidong <cyd@gnu.org>
6446
6447 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6448
9d5a8f0b
AM
64492012-01-08 Alan Mackenzie <acm@muc.de>
6450
6451 Optimise font locking in long enum definitions.
6452
6453 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6454 arm to a cond form to handle enums.
6455 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6456 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6457
9a0115ab 64582012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6459
6460 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6461 (Bug#10401)
6bb72cbd 6462
f186bb95
LMI
64632012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464
29232a68
LMI
6465 * faces.el (set-face-attribute): Clarify the meaning of the nil
6466 frame (bug#10294).
6467
4e5d086d
LMI
6468 * subr.el (with-selected-frame): Mention that the selected frame
6469 is restored (bug#9980).
6470
8e66aebe
LMI
6471 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6472 (bug#9759).
6473
cd394be1 6474 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6475 (password-read): Don't autoload unused function.
6476
adf4e762
JB
64772012-01-07 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * progmodes/which-func.el (which-func-mode): Turn into a
6480 non-interactive function and mark as obsolete (bug#10428).
6481
89bd9ccd
CY
64822012-01-06 Chong Yidong <cyd@gnu.org>
6483
6484 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6485 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6486 functions, along with 1 and -1.
6487
4afee9d5
EZ
64882012-01-06 Eli Zaretskii <eliz@gnu.org>
6489
6490 * time.el (display-time-load-average)
6491 (display-time-default-load-average): Doc fixes. See the thread
6492 starting at
6493 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6494 for the details.
6495
536aea70
GM
64962012-01-06 Glenn Morris <rgm@gnu.org>
6497
665ae865
GM
6498 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6499 has no messages. (Bug#10377)
6500
c869783d
GM
6501 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6502 than Info-edit. (Bug#10385)
6503
2bb4227e
GM
6504 * time.el (display-time-load-average, display-time-next-load-average):
6505 Doc fixes.
6506
7d5944b9
GM
6507 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6508 local setting of buffer-read-only to the input buffer. (Bug#10419)
6509
536aea70
GM
6510 * calendar/calendar.el (calendar-mode):
6511 Locally set scroll-margin to 0. (Bug#10379)
6512
7dccca16
UM
65132012-01-06 Ulrich Mueller <ulm@gentoo.org>
6514
6515 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6516
afbb7930
GM
65172012-01-05 Glenn Morris <rgm@gnu.org>
6518
6519 * eshell/em-unix.el (diff-no-select): Autoload it.
6520 (eshell/diff): Use diff-no-select. (Bug#10420)
6521
04482335
CY
65222012-01-05 Chong Yidong <cyd@gnu.org>
6523
7baca3bc
CY
6524 * shell.el (shell-dynamic-complete-functions): Revert last change.
6525 (shell-command-completion-function): New function.
6526 (shell-completion-vars): Use it to implement
6527 shell-completion-execonly (Bug#10417).
6528
04482335
CY
6529 * custom.el (enable-theme): Don't set custom-safe-themes.
6530
1d00653d
SM
6531 * cus-theme.el (custom-theme-merge-theme):
6532 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6533
bb5aa5d6
MM
65342012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6535
6536 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6537 first prompt in `sql-interacive-mode'.
6538 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6539 keywords.
6df6ae42 6540 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6541 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6542 context of original buffer. Invoke `sql-login-hook'.
6543
a7183d7c
EZ
65442012-01-04 Eli Zaretskii <eliz@gnu.org>
6545
6546 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6547 letters in cite-prefix.
6548
a1eacd1e
LMI
65492012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6550
6551 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6552
787cdb34
CY
65532012-01-03 Chong Yidong <cyd@gnu.org>
6554
1d00653d
SM
6555 * shell.el (shell-dynamic-complete-functions):
6556 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6557 comint-filename-completion first (Bug#10417).
6558
30710442
RS
65592012-01-02 Richard Stallman <rms@gnu.org>
6560
6561 * battery.el (battery-status-function):
6562 Detect when to use battery-yeeloong-sysfs.
6563 (battery-echo-area-format): Add string for Yeeloong.
6564 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6565 (battery-yeeloong-sysfs): New function.
6566
f75bfc33
CY
65672012-01-02 Chong Yidong <cyd@gnu.org>
6568
6569 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6570 (dirtrack): Merge code for handling relative filenames in prompt
6571 from shell-dir-cookie-watcher.
6572 (dirtrack-debug-message): New arg to avoid excess format calls.
6573
6574 * shell.el (shell-dir-cookie-re): Variable deleted.
6575 (shell-dir-cookie-watcher): Function deleted.
6576 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6577 with dirtrack-mode.
6578
651e947e
EZ
65792012-01-01 Eli Zaretskii <eliz@gnu.org>
6580
1d00653d
SM
6581 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6582 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6583 libgnutls-26.dll.
6584
94d4c7dc
AS
65852011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6586
6587 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6588
8d43f3cd
EZ
65892011-12-31 Eli Zaretskii <eliz@gnu.org>
6590
6591 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6592 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6593
98c8795a
MA
65942011-12-29 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6597 also for alternative shells.
6598 (tramp-open-connection-setup-interactive-shell): Check, whether
6599 the shell is a busybox.
6600 (tramp-send-command): Don't suppress multiple prompts for
6601 busyboxes, it hurts.
6602
51281b32
CY
66032011-12-28 Chong Yidong <cyd@gnu.org>
6604
6605 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6606 (gdb-get-source-file): Move mode line update to
6607 gdb-get-source-file (Bug#10087).
6608
2170cb53
CY
66092011-12-25 Chong Yidong <cyd@gnu.org>
6610
6611 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6612 gud-gdb-marker-filter without taking it as an argument.
6613 (gud-gdb-run-command-fetch-lines): Caller changed.
6614 (gud-gdb-completion-function): New variable.
6615 (gud-gdb-completion-at-point): Use it.
6616 (gud-gdb-completions-1): Split from gud-gdb-completions.
6617
6618 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6619 function as separate arguments.
6620 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6621 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6622 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6623 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6624 (gdb-stopped, def-gdb-auto-update-trigger)
6625 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6626 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6627 Callers changed.
2170cb53
CY
6628 (gud-gdbmi-completions): New function.
6629 (gdb): Use it for generating the completion table.
6630
be8b11bb
AM
66312011-12-24 Alan Mackenzie <acm@muc.de>
6632
6633 Introduce a mechanism to widen the region used in context font
1d00653d 6634 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6635
1d00653d
SM
6636 * progmodes/cc-langs.el (c-before-font-lock-functions):
6637 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6638 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6639 functions to be run just before context (etc.) font locking.
6640
6641 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6642 New, functionality extracted from
be8b11bb 6643 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6644 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6645 (c-after-change): Set c-in-after-change-fontification.
6646 (c-set-fl-decl-start): Rejig its interface, so it can be called
6647 from both after-change and context fontifying.
b81d40f0
JB
6648 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6649 New functions.
6650 (c-standard-font-lock-fontify-region-function): New variable.
6651 (c-font-lock-fontify-region): New function.
be8b11bb 6652
341cf6ac
JL
66532011-12-24 Juri Linkov <juri@jurta.org>
6654
6655 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6656 (Bug#10348)
6657
bffcee0a
MA
66582011-12-23 Michael Albinus <michael.albinus@gmx.de>
6659
6660 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6661 existence of source file. (Bug#10325)
6662
cb5e207c
AM
66632011-12-23 Alan Mackenzie <acm@muc.de>
6664
6665 Fix unstable fontification inside templates.
6666
b81d40f0
JB
6667 * progmodes/cc-langs.el (c-before-font-lock-functions):
6668 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6669 additionally has c-set-fl-decl-start. The other languages (apart
6670 from AWK) have that as a single entry.
6671
b81d40f0
JB
6672 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6673 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6674 c-set-fl-decl-start.
6675
b81d40f0
JB
6676 * progmodes/cc-mode.el (c-common-init, c-after-change):
6677 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6678 (c-set-fl-decl-start): New function, extracted from
6679 c-font-lock-enclosing-decls and enhanced.
6680
60ff536c
JB
66812011-12-23 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6684
1c4757d6
JL
66852011-12-22 Juri Linkov <juri@jurta.org>
6686
6687 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6688
d031f2c7
CY
66892011-12-22 Chong Yidong <cyd@gnu.org>
6690
6691 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6692
bace743a
DA
66932011-12-21 Drew Adams <drew.adams@oracle.com>
6694
6695 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6696
728a1f2b
JC
66972011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6698
6699 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6700
0d373f73
TZ
67012011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6702
fec0aaa4
TZ
6703 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6704 highlighting and support. Fix up comments for capitalization.
6705 (cfengine-mode-debug): New var.
6706 (cfengine3-mode): Change the modeline indicator to "CFE3".
6707 (cfengine3-font-lock-keywords): Improve defun highlighting.
6708 (cfengine2-actions): Rename from `cfengine-actions'.
6709 (cfengine2-font-lock-keywords): Rename from
6710 `cfengine-font-lock-keywords'.
6711 (cfengine2-imenu-expression): Rename from
6712 `cfengine-imenu-expression'.
6713 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6714 (cfengine2-beginning-of-defun): Rename from
6715 `cfengine-beginning-of-defun'.
6716 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6717 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6718 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6719 modeline indicator to "CFE2".
6720 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6721 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6722
bc86f573
CY
67232011-12-21 Chong Yidong <cyd@gnu.org>
6724
6725 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6726 filename argument.
6727
d45ba96b
MR
67282011-12-20 Martin Rudalics <rudalics@gmx.at>
6729
6730 * window.el (window-normalize-buffer-to-display): Remove.
6731 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6732
a6198c90
CY
67332011-12-19 Chong Yidong <cyd@gnu.org>
6734
6735 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6736 Don't signal an error in a predicate function; return non-nil.
6737 (vc-dir-mark-file): Move the error here.
6738 (vc-dir-mark-unmark): If acting on the region, keep going if one
6739 of the entries cannot be marked/unmarked.
6740 (vc-dir-mark-all-files): If current entry is a directory, mark
6741 only child files, as documented.
6742
34c5fb55
VB
67432011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6744
6745 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6746 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6747 addition.
6748
c803b2b7
JD
67492011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6750
6751 * term/ns-win.el (ns-get-selection-internal)
6752 (ns-store-selection-internal): Declare.
1154d12e
JB
6753 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6754 Declare as obsolete.
6755 (ns-get-pasteboard, ns-paste-secondary):
6756 Use ns-get-selection-internal.
6757 (ns-set-pasteboard, ns-copy-including-secondary):
6758 Use ns-store-selection-internal.
c803b2b7 6759
9cff91f8 67602011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6761
6762 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6763 (vc-deduce-fileset): Doc fix.
99a289d9 6764
f16c898a
AS
67652011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6766
6767 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6768
763237c4
SS
67692011-12-13 Sam Steingold <sds@gnu.org>
6770
6771 * man.el (Man-getpage-in-background): When running under a
6772 window-system, ignore $MANWIDTH and $COLUMNS.
6773
5fc1c122
KH
67742011-12-15 Kenichi Handa <handa@m17n.org>
6775
6776 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6777 (setup-ethiopic-environment-internal): Comment out key-binding for
6778 ethio-toggle-punctuation.
6779
13d49cbb
AM
67802011-12-13 Alan Mackenzie <acm@muc.de>
6781
898169a2
AM
6782 Add the switch statement to AWK Mode.
6783
7a71b18d 6784 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6785 "default" to the keywords regexp.
6786
7a71b18d 6787 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6788 expression as the rest.
1d00653d
SM
6789 (c-nonlabel-token-key): Allow string literals for AWK.
6790 Refactor for the other modes.
898169a2 6791
13d49cbb 6792 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6793 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6794 routines. Limit backward searching in c-font-lock-enclosing.decl.
6795
6796 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6797 pp-state and literal type in addition to the limits.
1d00653d 6798 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6799 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6800 (c-slow-in-literal, c-fast-in-literal): Remove.
6801 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6802
6803 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6804 being in a literal. Add a limit for backward searching.
6805
6806 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6807 c-slow-in-literal.
6808
15e0efc7
SM
68092011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6812
454592a6
MR
68132011-12-13 Martin Rudalics <rudalics@gmx.at>
6814
6815 * window.el (delete-other-windows): Use correct frame in call to
6816 window-with-parameter.
6817
87393f26
DP
68182011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6819
6820 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6821 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6822 (makefile-gmake-statements, makefile-makepp-statements):
6823 Use it and add new makepp keywords.
6824 (makefile-makepp-font-lock-keywords): Add new patterns.
6825 (makefile-match-function-end): Match new [...] and [[...]].
6826
11636b22
JB
68272011-12-11 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * ses.el (ses-call-printer-return, ses-cell-property-get)
6830 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6831 (ses-create-cell-variable, ses-reset-header-string)
6832 (ses-cell-set-formula, ses-repair-cell-reference-all)
6833 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6834 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6835 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6836 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6837 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6838 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6839 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6840 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6841 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6842 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6843 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6844 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6845
cf018193
VB
68462011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6847
6848 * ses.el: The overall change is to add cell renaming, that is
6849 setting fancy names for cell symbols other than name matching
6850 "\\`[A-Z]+[0-9]+\\'" regexp .
6851 (ses-create-cell-variable): New defun.
6852 (ses-relocate-formula): Relocate formulas only for cells the
6853 symbols of which are not renamed, i.e. symbols whose names do not
6854 match regexp "\\`[A-Z]+[0-9]+\\'".
6855 (ses-relocate-all): Relocate values only for cells the symbols of
6856 which are not renamed.
6857 (ses-load): Create cells variables as the (ses-cell ...) are read,
6858 in order to check row col consistency with cell symbol name only
6859 for cells that are not renamed.
6860 (ses-replace-name-in-formula): New defun.
6861 (ses-rename-cell): New defun.
6862
ee957461
CY
68632011-12-11 Chong Yidong <cyd@gnu.org>
6864
6865 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6866 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6867
9a9e9ef0
MR
68682011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6869
6870 * window.el (other-window): Fix docstring.
6871
92a8eba5
EZ
68722011-12-10 Eli Zaretskii <eliz@gnu.org>
6873
6874 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6875 `from' or `to' address before taking its substring.
6876 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6877 encoded name is chopped in the middle of the encoded string, and
6878 thus displayed encoded.
6879
e152e577
JB
68802011-12-10 Juanma Barranquero <lekktu@gmail.com>
6881
6882 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6883
e5d84bfe
EZ
68842011-12-10 Eli Zaretskii <eliz@gnu.org>
6885
6886 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6887 to use texinfo-update-node and commands that call it if the
6888 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6889 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6890 (texinfo-all-menus-update, texinfo-master-menu)
6891 (texinfo-update-node, texinfo-every-node-update)
6892 (texinfo-multiple-files-update): Doc fix. Warn against updating
6893 all the @node lines.
6894 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6895 argument is numeric. Explain better in the doc string what the
6896 function really does.
6897 (texinfo-insert-master-menu-list): Improve the error message
6898 displayed if there's no menu in the Top node.
6899 (Bug#2975) See also this thread:
e5d84bfe
EZ
6900 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6901
1d84e9bb
MG
69022011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6903
6904 * speedbar.el (speedbar-supported-extension-expressions):
6905 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6906
382c953b
JB
69072011-12-09 Juanma Barranquero <lekktu@gmail.com>
6908
6909 * printing.el (pr-mode-alist):
6910 * simple.el (filter-buffer-substring-functions)
6911 (completion-list-insert-choice-function):
6912 * window.el (window-with-parameter, window-atom-root)
6913 (window-sides-slots, window-size-fixed, window-min-delta)
6914 (window-max-delta, window--resize-mini-window)
6915 (window--resize-child-windows-normal, window-tree)
6916 (delete-other-windows, quit-window, split-window)
6917 (display-buffer-record-window, special-display-buffer-names)
6918 (special-display-regexps, special-display-popup-frame)
6919 (same-window-p, split-window-sensibly)
6920 (display-buffer-overriding-action, display-buffer-alist)
6921 (display-buffer-base-action, display-buffer, switch-to-buffer)
6922 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6923 (fit-window-to-buffer, recenter-positions)
6924 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6925 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6926 and remove unneeded backslashes in docstrings.
6927
39c9faef
SM
69282011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6929
98449af8
SM
6930 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6931
39c9faef
SM
6932 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6933 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6934 end in ".mk".
6935 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6936 when reading the makefile (bug#10116).
6937
86ed9fdc
SM
69382011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6941 (bug#10116).
6942
5580f89d
GM
69432011-12-06 Glenn Morris <rgm@gnu.org>
6944
6945 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6946
28d3917c
CY
69472011-12-06 Chong Yidong <cyd@gnu.org>
6948
6949 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6950
a98edce9
JB
69512011-12-06 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * textmodes/table.el (table-shorten-cell): Fix typo.
6954
e65adfac
CG
69552011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6956
6957 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6958
71cc0b74
EZ
69592011-12-05 Eli Zaretskii <eliz@gnu.org>
6960
6961 * descr-text.el (describe-char): Fix display of strong
6962 right-to-left characters and directional embeddings and overrides.
6963
6964 * simple.el (what-cursor-position): Fix display of codepoints of
6965 strong right-to-left characters.
6966
315bc30d
CY
69672011-12-05 Chong Yidong <cyd@gnu.org>
6968
6969 * faces.el (read-color): Doc fix.
6970
58a70b94
GM
69712011-12-05 Glenn Morris <rgm@gnu.org>
6972
6973 * align.el (align--set-marker): Add doc-string.
6974 Don't try to move something that is not a marker. (Bug#10216)
6975
5158face
GM
69762011-12-04 Glenn Morris <rgm@gnu.org>
6977
6978 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6979 overly zealous deletion of trailing whitespace.
6980
520fca41
JB
69812011-12-04 Juanma Barranquero <lekktu@gmail.com>
6982
6983 * server.el (server-delete-client): On Windows, do not try to delete
6984 the only terminal.
6985 (server-process-filter): On Windows, treat requests for a tty frame as
6986 if they were for a GUI frame if the running server is in GUI mode.
6987
5e605a2e
GM
69882011-12-03 Glenn Morris <rgm@gnu.org>
6989
6990 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6991
5c3fe83f
SM
69922011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6f5e57e7
SM
6994 * electric.el: Streamline electric-indent's hook.
6995 (electric-indent-chars): Revert to simple list.
6996 (electric-indent-functions): New var.
6997 (electric-indent-post-self-insert-function): Use it.
6998
5c3fe83f
SM
6999 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7000 there's no inferior buffer (bug#10196).
7001 (prolog-consult-compile): Don't use toggle-read-only.
7002
6bdac736
MA
70032011-12-02 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7006 interrupt. (Bug#10187)
7007
6131ba7f
SM
70082011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7009
99c79fee
SM
7010 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7011 (bug#9160).
7012
6131ba7f
SM
7013 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7014 (bug#10191).
7015
cb0a02ea
JL
70162011-12-02 Juri Linkov <juri@jurta.org>
7017
7018 * info.el (Info-search): Display "end of manual" when Isearch
7019 reaches the end of single-file Info manual. (Bug#9918)
7020
66e0570c
EZ
70212011-12-02 Eli Zaretskii <eliz@gnu.org>
7022
7023 * isearch.el (isearch-message-prefix): Run the input method part
7024 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7025
02b16839
JL
70262011-12-02 Juri Linkov <juri@jurta.org>
7027
7028 * isearch.el (isearch-occur): Use `word-search-regexp' for
7029 `isearch-word'.
7030 (isearch-search-and-update): Add condition for `isearch-word' and
7031 call `word-search-regexp'. (Bug#10145)
7032
0b950688
GM
70332011-12-01 Glenn Morris <rgm@gnu.org>
7034
7035 * eshell/em-hist.el (eshell-hist-initialize):
7036 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7037 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7038
9505c3c7
SM
70392011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7042
1bbe96b2 70432011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7044
a1beca85
SM
7045 * progmodes/verilog-mode.el (verilog-pretty-expr):
7046 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7047 verilog, such as += *= and the like.
7048 (verilog-assignment-operator-re): Regular expression to find the
7049 assigment operator in a verilog assignment.
7050 (verilog-assignment-operation-re): Regular expression to find an
7051 assignment statement for pretty-expr.
7052 (verilog-in-attribute-p): Query returns true if point is in an
7053 attribute context; used to skip these for expression line up from
7054 pretty-expr.
7055 (verilog-in-parameter-p): Query returns true if point is in an
7056 parameter definition context; used to skip these for expression
7057 line up from pretty-expr.
7058 (verilog-in-parenthesis-p): Query returns true if point is in a
7059 parenthetical expression, specifically ( ) but not [ ] or { };
7060 used by pretty-expr.
7061 (verilog-just-one-space): If there is no space, don't add one.
7062 (verilog-get-lineup-indent-2): Specifically skip just attribute
7063 contexts for expression lineup, rather than skipping all
7064 parenthetical expressions.
7065 (verilog-calculate-indent): Fix comment, and fix indent.
7066 (verilog-do-indent): Indent declarations in lists (suggested by
7067 Joachim Lechner).
7068 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7069 skeleton items.
7070 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7071 by Alain Mellan).
7072
1bbe96b2 70732011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7074
7075 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7076 parameters with embedded comments. Reported by Ray Stevens.
7077 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7078 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7079 Reported by Tim Holt.
7080 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7081 instantiated by upper module causing wrong expansion until AUTOed a
7082 second time. Reported by K C Buckenmaier.
7083 (verilog-diff-auto): Fix showing .* as a difference when
7084 `verilog-auto-star-save' off. Reported by Dan Dever.
7085 (verilog-auto-reset, verilog-read-always-signals)
7086 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7087 temporary signals in reset list if
7088 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7089 style to each signal's assignment type, bug381.
7090 Reported by Thomas Esposito.
6288f0ca
WS
7091 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7092 (verilog-uvm-statement-re): Support UVM indentation and
7093 highlighting, with old OVM keywords only.
a1beca85 7094 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7095 Support AUTOTIEOFF creating non-wire data types.
7096 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7097 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7098 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7099 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7100 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7101 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7102 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7103 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7104 non-numeric vector width. Reported by Alex Reed.
7105 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7106 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7107 (verilog-auto-delete-trailing-whitespace):
7108 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7109 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7110 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7111 Fix verilog-scan-cache corruption when running user AUTO expansion
7112 hooks that call indentation routines.
7113 (verilog-simplify-range-expression): Fix typo ignoring lower case
7114 identifiers.
7115 (verilog-delete-auto): Fix delete-autos to also remove user created
7116 automatics, as long as they start with AUTO.
7117 (verilog-batch-diff-auto, verilog-diff-auto)
7118 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7119 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7120 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7121 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7122 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7123 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7124 is disabled and its cache will get corrupt, causing AUTOS not to
7125 expand. Instead use only -quick functions.
7126 (verilog-scan-region): Fix scanning over escaped quotes.
7127 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7128 (verilog-re-search-backward-quick)
7129 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7130 related functions now ignore strings, to fix misparsing of strings
7131 with magic comments embedded in them.
a1beca85
SM
7132 (verilog-read-auto-template):
7133 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7134 Reported by Brad Dobbie.
7135 (verilog-read-auto-template):
7136 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7137 Reported by Brad Dobbie.
6288f0ca
WS
7138 (verilog-auto-inst, verilog-auto-inst-param)
7139 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7140 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7141 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7142 debugging templates without merge conflicts, bug357.
7143 Reported by Brad Dobbie.
7144 (verilog-read-auto-template):
7145 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7146 Reported by Brad Dobbie.
7147 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7148 abbrevs so user won't be asked to save.
7149 (verilog-read-auto-lisp-present): Fix to start at beginning of
7150 buffer in case called outside of verilog-auto.
7151 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7152 to "X-2". Reported by Matthew Myers.
7153 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7154 all inputs from module templates. Reported by Leith Johnson.
7155 (verilog-module-inside-filename-p): Fix locating programs as with
7156 modules.
7157 (verilog-auto-inst-port): Fix vl-width expressions when using
7158 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7159 (verilog-decls-get-regs, verilog-decls-get-signals,
7160 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7161 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7162 verilog-read-decls): Combine reg and wire structures into one var
7163 structure to represent SystemVerilog concepts.
7164 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7165 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7166 (verilog-auto-wire-type, verilog-insert-definition):
7167 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7168 SystemVerilog "logic" keyword instead of "wire"/"reg".
7169 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7170 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7171 ifdef or generate if so there's not a driver conflict).
7172 Reported by Matthew Myers.
7173 (verilog-auto-declare-nettype, verilog-insert-definition):
7174 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7175 `default_nettype none. Reported by Julian Gorfajn.
7176 (verilog-read-always-signals-recurse, verilog-read-decls)
7177 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7178 malformed end statement, bug325. Reported by Joshua Wise and
7179 Andrew Drake.
7180 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7181 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7182 when expanding .* in interfaces, bug320.
7183 Reported by Pierre-David Pfister.
6288f0ca 7184 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7185 name and open parenthesis, bug317.
7186 Reported by Pierre-David Pfister.
6288f0ca
WS
7187 (verilog-simplify-range-expression): Fix simplification of
7188 multiplications inside AUTOWIRE connections, bug303.
7189 (verilog-auto-inst-port): Support parameter expansion in
7190 multidimensional arrays.
7191 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7192 after "assert property". Reported by Julian Gorfajn.
7193 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7194 with multiplication, bug303.
7195 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7196 Reported by Jan Frode Lonnum.
7197
1bbe96b2
GM
71982011-11-30 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7201 (hfy-shell-file-name, hfy-shell):
7202 * international/fontset.el (x-decompose-font-name): Fix typos.
7203
72042011-11-29 Ken Brown <kbrown@cornell.edu>
7205
7206 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7207 (gdb-version): Remove defvar.
7208 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7209 (gdb-gud-context-command, gdb-non-stop-handler)
7210 (gdb-current-context-command, gdb-stopped): Use it.
7211 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7212 (gdb-non-stop-handler): Don't enable pretty-printing here.
7213 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7214 non-stop mode. Use the following.
7215 (gdb-check-target-async): New defun.
7216 (gud-watch, gdb-stopped): Fix whitespace.
7217 (gdb-get-source-file): Don't try to display the source file if
7218 `gdb-main-file' is nil.
7219
72202011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * align.el: Try to generate fewer markers (bug#10047).
7223 (align--set-marker): New macro.
7224 (align-region): Use it.
7225
c935221f
SM
72262011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7229
e70b5064
CY
72302011-11-29 Chong Yidong <cyd@gnu.org>
7231
7232 * indent.el (indent-for-tab-command, indent-according-to-mode):
7233 Doc fix.
7234 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7235
f3af92b7
MA
72362011-11-29 Michael Albinus <michael.albinus@gmx.de>
7237
7238 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7239 aware of remote file names. (Bug#10124)
7240
ed472be9
CY
72412011-11-29 Chong Yidong <cyd@gnu.org>
7242
7243 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7244
24510c22
SM
72452011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * files.el (find-file): Don't use force-same-window (bug#10144).
7248 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7249 use pop-to-buffer if the selected window can't be used.
7250 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7251
c60c3703
EZ
72522011-11-28 Eli Zaretskii <eliz@gnu.org>
7253
7254 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7255 special-mode-map.
7256
e95def75
CY
72572011-11-28 Chong Yidong <cyd@gnu.org>
7258
7259 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7260
c3f1c606
NR
72612011-11-27 Nick Roberts <nickrob@snap.net.nz>
7262
7263 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7264 gdb-get-source-file-list on gdb-create-source-file-list.
7265
00db469c
EZ
72662011-11-26 Eli Zaretskii <eliz@gnu.org>
7267
7268 * whitespace.el (whitespace-newline): Use a different foreground
7269 color for 16-color light-background displays.
7270
4ad3bc2a
CY
72712011-11-24 Chong Yidong <cyd@gnu.org>
7272
7273 * window.el (display-buffer--special-action): Doc fix.
7274
e9fce1ac
JB
72752011-11-25 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7278 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7279 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7280 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7281 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7282 (avl-tree-stack-first):
7283 * emacs-lisp/cconv.el (cconv--analyse-use):
7284 * net/gnutls.el (gnutls-negotiate): Fix typos.
7285
cb825e5d
GM
72862011-11-24 Glenn Morris <rgm@gnu.org>
7287
3adbe224
GM
7288 * lpr.el (lpr-windows-system, lpr-lp-system):
7289 * mail/binhex.el (binhex-begin-line):
7290 * progmodes/grep.el (grep-history, grep-find-history):
7291 * textmodes/flyspell.el:
7292 * vc/pcvs-defs.el (cvs-global-menu):
7293 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7294 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7295 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7296
321decc8
GM
7297 * net/tls.el: Fix case of "GnuTLS".
7298
420b63ad
GM
7299 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7300
cb825e5d
GM
7301 * version.el (emacs-build-system): Give it a doc-string.
7302
a0649f08
JL
73032011-11-24 Juri Linkov <juri@jurta.org>
7304
7305 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7306
c0bc0fd4
GM
73072011-11-24 Glenn Morris <rgm@gnu.org>
7308
7309 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7310 if called on a non-mime message just toggle the headers. (Bug#8006)
7311
20db1522
JB
73122011-11-24 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7315 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7316 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7317 (allout-rebullet-heading, allout-open-sibtopic)
7318 (allout-toggle-current-subtree-encryption)
7319 (allout-toggle-subtree-encryption, allout-encrypt-string)
7320 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7321 (allout-distinctive-bullets-string, allout-auto-activation):
7322 * window.el (window-normalize-buffer-to-display):
7323 * progmodes/verilog-mode.el (verilog-batch-indent):
7324 * textmodes/bibtex.el (bibtex-field-braces-opt)
7325 (bibtex-field-strings-opt):
7326 * vc/cvs-status.el (cvs-tree-merge):
7327 Fix typos.
7328
7262a87c
MA
73292011-11-23 Michael Albinus <michael.albinus@gmx.de>
7330
7331 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7332 `non-essential' to t, in order to avoid remote connections.
7333
283430a1
EZ
73342011-11-23 Eli Zaretskii <eliz@gnu.org>
7335
a1beca85
SM
7336 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7337 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7338 case-insensitively.
7339
d2992a38
ML
73402011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7341
7342 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7343
50419064
GM
73442011-11-23 Glenn Morris <rgm@gnu.org>
7345
da94eca1
GM
7346 * paths.el (rmail-file-name): Reformat the doc-string so that it
7347 is picked up.
7348
9aac4de2
GM
7349 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7350 (rmail-auto-file): Ignore case in the "special" field names,
7351 as mail-fetch-field does for all others.
7352
8038d2d2
GM
7353 * mail/rmail.el (rmail-forward):
7354 * mail/rmailkwd.el (rmail-set-label):
7355 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7356 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7357
f3fe222a
GM
7358 * mail/rmail.el (rmail-current-message): Doc fix.
7359
50419064
GM
7360 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7361
28109f49
SM
73622011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7365
394c65f1
GM
73662011-11-22 Glenn Morris <rgm@gnu.org>
7367
7368 * mail/rmailmm.el (test-rmail-mime-handler)
7369 (test-rmail-mime-bulk-handler)
7370 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7371
f2a0aa3a
JL
73722011-11-21 Juri Linkov <juri@jurta.org>
7373
1154d12e
JB
7374 * calc/calc.el (calc-read-key-sequence):
7375 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7376
9c34a344
LMI
73772011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7378
7379 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7380 Tell the caller that the next line needs recomputation, even
7381 though it doesn't start a sexp (bug#10094).
7382
f04a3be9
SM
73832011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7386
7978747f
SM
73872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7388
f04a3be9
SM
7389 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7390 Use force-same-window.
7978747f 7391
fe7a3057
JB
73922011-11-20 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * descr-text.el (describe-char-unicode-data):
7395 * json.el (json-string-escape):
7396 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7397 (Footnote-unicode, Footnote-style-p):
7398 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7399
24901d61
CY
74002011-11-20 Chong Yidong <cyd@gnu.org>
7401
7402 * window.el (replace-buffer-in-windows): Restore interactive spec.
7403
bac7ff22
SM
74042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7405
24f3d7b9
SM
7406 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7407
bac7ff22
SM
7408 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7409 (byte-compile-global-not-obsolete-vars): New var.
7410 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7411 Use it.
7412 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7413
cd1181db
JB
74142011-11-20 Juanma Barranquero <lekktu@gmail.com>
7415
7416 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7417 * progmodes/pascal.el (electric-pascal-equal):
7418 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7419 * xml.el (xml-substitute-special): Fix typos.
7420
7fb18e9e
GM
74212011-11-20 Glenn Morris <rgm@gnu.org>
7422
7423 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7424 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7425 Doc fixes.
7426 (rmail-decode-mime-charset): Mark as obsolete.
7427
7428 * mail/rmailsum.el (rmail-message-regexp-p-1):
7429 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7430 Before using mime functions, check they are set. (Bug#10077)
7431
d5a6b3ba
JL
74322011-11-19 Juri Linkov <juri@jurta.org>
7433
7434 * info.el (Info-finder-find-node): Use `package--builtins' instead
7435 of `package-alist'. Use node names formed by the pattern "Keyword "
7436 and the keyword name.
7437
e981b61f
AS
74382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7439
1d00653d 7440 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7441
3ffbc301
JL
74422011-11-19 Juri Linkov <juri@jurta.org>
7443
7444 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7445 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7446 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7447 `old-history', `old-history-forward'. Add let-binding
7448 `window-selected'. Remove calls to `kill-buffer',
7449 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7450 before calling `Info-find-node', so `Info-find-node-2' will reread
7451 the Info file. Restore window positions only when `window-selected'
7452 is non-nil.
7453
30c62133
JL
74542011-11-19 Juri Linkov <juri@jurta.org>
7455
7456 * isearch.el (isearch-lazy-highlight-new-loop):
7457 Remove condition `(not isearch-error)'. (Bug#9918)
7458
7459 * misearch.el (multi-isearch-search-fun): Add condition
7460 `(not bound)' to ignore lazy-highlighting search.
7461 Add the search-failed message "end of multi" when the end of
7462 multi-sequence is reached. Uncapitalize the search-failed
7463 message "Repeat for next buffer".
7464
7465 * info.el (Info-search): Add the search-failed message
7466 "end of the manual" when the end of the manual is reached
7467 in Isearch mode.
7468
645ca9cf
JL
74692011-11-19 Juri Linkov <juri@jurta.org>
7470
7471 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7472 Use non-destructive `remove' instead of `delete' because
7473 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7474 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7475
df754f66
JL
74762011-11-19 Juri Linkov <juri@jurta.org>
7477
7478 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7479 to nil instead of binding `search-ring' and `regexp-search-ring'.
7480 (Bug#9185)
7481
0e23d96a
EZ
74822011-11-19 Eli Zaretskii <eliz@gnu.org>
7483
7484 * simple.el (line-move): Force movement by logical lines for any
7485 hscrolled window, not only when auto-hscroll-mode is on.
7486 (line-move-visual): Update doc string to that effect. (Bug#10076)
7487
8a6ccb66
AS
74882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7489
7490 * language/european.el (macintosh): Define as alias for mac-roman.
7491
49ae5b39
EZ
74922011-11-19 Eli Zaretskii <eliz@gnu.org>
7493
7494 * mail/rmailmm.el (rmail-mime-display-header)
7495 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7496 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7497 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7498 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7499 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7500 of a raw aref.
7501 (rmail-mime-entity-segment): To get past the tagline, move forward
7502 2 more lines, to account for the 2 empty lines that precede and
7503 follow the line with the buttons.
7504 (rmail-mime-update-tagline): Move one more line, to get past the
7505 empty line that follows the buttons in the tagline. (Bug#9520)
7506
c56cad4a
MR
75072011-11-19 Martin Rudalics <rudalics@gmx.at>
7508
7509 * window.el (window-max-delta-1, window-min-delta-1)
7510 (window-min-size-1, window-state-get-1, window-state-put-1)
7511 (window-state-put-2): Use "window--" prefix.
7512
cbe71af3
SM
75132011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7514
2ad52c60
SM
7515 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7516 (smie-warning-count): New var.
7517 (smie-set-prec2tab): Use it.
7518 (smie-bnf->prec2): Improve warnings. Add docstring.
7519 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7520 (smie-bnf--set-class): New function.
7521 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7522 corner case.
7523
6944dbc1
SM
7524 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7525 (compilation-error-properties, compilation-move-to-column):
7526 Handle compilation-first-column while in the target buffer.
7527
c400c4d7
SM
7528 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7529 Don't hardcode point-min==1.
7530
6dbe3e96
SM
7531 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7532 (eshell-rewrite-for-command): Remove workaround.
7533 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7534 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7535 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7536
cbe71af3
SM
7537 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7538
a8e1496d
GM
75392011-11-17 Glenn Morris <rgm@gnu.org>
7540
7541 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7542 Ignore buffer-local generated-autoload-file if it is the same
7543 as the global value. (Bug#10049)
7544
df85d315
JB
75452011-11-17 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7548 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7549 (reftex-toc-previous-heading, reftex-toc-max-level)
7550 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7551 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7552 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7553 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7554 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7555 (reftex-toc-rename-label, reftex-toc-visit-location)
7556 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7557 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7558 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7559 leaving "*toc*" only for references to the buffer.
7560
a0c2d0ae
MR
75612011-11-17 Martin Rudalics <rudalics@gmx.at>
7562
7563 * window.el (window-resize, delete-window, split-window):
7564 Replace window-splits by window-combination-resize.
1d00653d 7565 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7566
35c0bac8
GM
75672011-11-17 Glenn Morris <rgm@gnu.org>
7568
7569 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7570 Make bash entry derive from sh entry, not shell entry.
7571
d0c8fc8a
MA
75722011-11-16 Michael Albinus <michael.albinus@gmx.de>
7573
7262a87c
MA
7574 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7575 local file name.
7576
7877f373
JB
75772011-11-16 Juanma Barranquero <lekktu@gmail.com>
7578
7579 * menu-bar.el (menu-bar-file-menu):
7580 * printing.el (pr-ps-utility):
7581 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7582 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7583 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7584 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7585 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7586 (icalendar--convert-cyclic-to-ical)
7587 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7588 (icalendar--convert-ical-to-diary)
7589 (icalendar--convert-recurring-to-diary)
7590 (icalendar--convert-non-recurring-all-day-to-diary)
7591 (icalendar-import-format-sample):
7592 * progmodes/idlw-shell.el (idlwave-shell-mode):
7593 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7594 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7595 (vhdl-ps-print-init): Fix typos.
7596
10649b82
KM
75972011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7598
9d0cfcd6
GM
7599 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7600 FSF and collapse date sequence, obscure author/maintainer email address
7601 better, remove extra version line, track relocation of author's webpage.
10649b82 7602
9d0cfcd6
GM
7603 * progmodes/python.el (python-pdbtrack-input-prompt)
7604 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7605 regular python pdb prompts. Adjustments shamelessly taken exactly as
7606 suggested in EmacsWiki page (tiny change):
7607 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7608
58179cce
JB
76092011-11-16 Juanma Barranquero <lekktu@gmail.com>
7610
7611 * expand.el (expand-pos, expand-index, expand-point):
7612 Remove redundant info from docstring.
7613 (expand-add-abbrevs): Doc fix.
7614 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7615 (expand-sample-perl-mode-expand-list): Fix typos.
7616
7617 * net/dbus.el (dbus-event-member-name):
7618 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7619 * term/pc-win.el (msdos-create-frame-with-faces):
7620 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7621
b6f67890
MR
76222011-11-16 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (split-window, window-state-get-1)
7625 (window-state-put-1, window-state-put-2): Rename occurrences of
7626 window-nest to window-combination-limit.
1d00653d 7627 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7628
ce7ddba0
CY
76292011-11-16 Chong Yidong <cyd@gnu.org>
7630
7631 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7632 regexp (Bug#10033).
7633
3ae704f4
SM
76342011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7637 `completing-read' will remove *Completions* and will preserve
7638 current-buffer for us.
7639 (tmm-add-prompt): Users of *Completions* will always (re)set its
7640 major mode.
7641 (tmm-old-comp-map): Remove.
7642
6ad1cdde
GM
76432011-11-16 Glenn Morris <rgm@gnu.org>
7644
7645 * mail/rmailedit.el: Require rmailmm when compiling.
7646 (rmail-old-mime-state): New declaration.
7647 (rmail-edit-current-message): If editing a mime message,
7648 edit the "raw" message from the mbox buffer.
7649 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7650
d20faa20
GM
76512011-11-15 Glenn Morris <rgm@gnu.org>
7652
7653 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7654 which wasn't being used. Add optional arg to force given state.
7655 (rmail-mime): Add optional arg to force given state.
7656
c7015153
JB
76572011-11-15 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7660 * frame.el (display-mm-dimensions-alist):
7661 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7662 (outline-move-subtree-down):
7663 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7664 (newsticker--treeview-do-get-node):
7665 * net/quickurl.el (quickurl-list-buffer-name):
7666 * progmodes/dcl-mode.el (dcl-mode):
7667 * progmodes/gdb-mi.el (gdb-mapcar*):
7668 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7669
45261b50
GM
76702011-11-15 Glenn Morris <rgm@gnu.org>
7671
7672 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7673 in a boolean sense, so just make it a boolean, and fix the doc.
7674 (rmail-show-mime-function, rmail-mime-feature)
7675 (rmail-require-mime-maybe): Doc fixes.
7676 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7677
7678 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7679
0d26e0b6
JB
76802011-11-15 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7683 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7684 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7685 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7686
447f30f6
GM
76872011-11-15 Glenn Morris <rgm@gnu.org>
7688
672b871d
GM
7689 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7690 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7691 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7692 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7693 (rmail-mime, rmail-show-mime): Doc fixes.
7694
f6aa5bb1
GM
7695 * term/ns-win.el (mode-line-frame-identification):
7696 Leave it alone. (Bug#10051)
7697
947cd66b
GM
7698 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7699
447f30f6
GM
7700 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7701 Handle empty buffers. (Bug#9978)
7702
0b381c7e
JB
77032011-11-14 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * international/mule.el (define-charset):
7706 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7707 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7708 * progmodes/verilog-mode.el (verilog-backward-token):
7709 * textmodes/ispell.el (lookup-words):
7710 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7711
71e027ac
GM
77122011-11-14 Glenn Morris <rgm@gnu.org>
7713
56632ce4
GM
7714 * progmodes/executable.el
7715 (executable-make-buffer-file-executable-if-script-p):
7716 Handle file-modes returning nil.
7717
40500957
GM
7718 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7719 message - not necessary, and causes problems. (Bug#9831)
7720
071c2340
GM
7721 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7722
d3cfca60
GM
7723 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7724
71e027ac
GM
7725 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7726 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7727 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7728
89d61221
MR
77292011-11-12 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (window-resize, delete-window): Use window-splits
7732 variable instead of function.
7733 (window-state-get-1, window-state-put-2, window-state-put):
7734 Don't deal with windows' splits status.
7735
98282f6f
GM
77362011-11-12 Glenn Morris <rgm@gnu.org>
7737
7738 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7739 (apropos-documentation): Doc fixes.
7740
40a8bdf6
JB
77412011-11-11 Juanma Barranquero <lekktu@gmail.com>
7742
7743 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7744 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7745
65bd19ff
SM
77462011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * electric.el (electric-indent-post-self-insert-function): Make it
7749 possible for a char to only indent in some circumstances.
7750 (electric-indent-mode): Simplify.
7751
54f9154c
MR
77522011-11-11 Martin Rudalics <rudalics@gmx.at>
7753
7754 * window.el (windows-with-parameter): Remove unused function.
7755 (windows-at-side): Rename to window-at-side-list.
7756 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7757 (window-side-check, window-size-ignore, window-size-fixed-1)
7758 (window-in-direction-2): Prefix with "window--".
7759 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7760
68cbc58b
GM
77612011-11-11 Glenn Morris <rgm@gnu.org>
7762
7763 * subr.el (eval-after-load): If FILE is already loaded,
7764 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7765
b2621720
GM
77662011-11-10 Glenn Morris <rgm@gnu.org>
7767
9a4de110
GM
7768 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7769 Call svn via vc-svn-command rather than vc-do-command.
7770 (vc-svn-command): Add --non-interactive. (Bug#9993)
7771 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7772
b2621720
GM
7773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7774 Add toggle-read-only. (Bug#7292)
7775 * files.el (toggle-read-only): Mention that it should only
7776 be used interactively. (Bug#10006)
7777
1dce7193
SM
77782011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7779
d9ac1a1e
SM
7780 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7781 Adjust regexp for OCaml warnings.
7782
0c325082
SM
7783 * electric.el (electric-pair-post-self-insert-function): Let user
7784 turn it off buffer-locally (bug#9932).
7785
90132c14
SM
7786 * progmodes/python.el (python-beginning-of-statement):
7787 Rewrite (bug#2703).
7788
1dce7193
SM
7789 * progmodes/compile.el: Better handle TABs (bug#9749).
7790 (compilation-internal-error-properties)
7791 (compilation-next-error-function): Obey the target buffer's
7792 compilation-error-screen-columns.
7793
c4e7c63a
JB
77942011-11-09 Juanma Barranquero <lekktu@gmail.com>
7795
7796 * progmodes/meta-mode.el: Remove obsolete comments.
7797 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7798 Fix typos in docstrings.
7799
2cffd681
MR
78002011-11-09 Martin Rudalics <rudalics@gmx.at>
7801
7802 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7803 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7804 (window--resizable): New function. Make all callers of
7805 window-resizable call window--resizable instead.
7806 (window-resizable): Rewrite in terms of window--resizable.
7807
0edcba87
GM
78082011-11-08 Glenn Morris <rgm@gnu.org>
7809
7810 * progmodes/delphi.el (delphi-mode-syntax-table):
7811 Let define-derived-mode define a proper syntax table. (Bug#9994)
7812
4b0d61e3
SM
78132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * window.el: Stay away from defsubst.
7816 (window-list-no-nils): Remove.
7817 (window-state-get-1, window-state-get): Use backquote instead.
7818
cd394be1 78192011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7820
4b0d61e3 7821 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7822 Fix incorrect use of default argument in `completing-read'.
7823
e1c2c6f2
MR
78242011-11-08 Martin Rudalics <rudalics@gmx.at>
7825
7826 * window.el (display-buffer-function, special-display-function):
7827 Mention display-buffer-record-window but do not mention
7828 help-setup parameter in doc-strings.
b3f4a882 7829 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7830
105216ed
CY
78312011-11-08 Chong Yidong <cyd@gnu.org>
7832
7833 * window.el (window-total-height, window-total-width): Doc fix.
7834 (window-body-size): Move from C.
7835 (window-body-height, window-body-width): Move to C.
7836
0a9f9ab5
SM
78372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * window.el: Make special-display like display-buffer-alist (bug#9532).
7840 (display-buffer--special-action): New function, morphed
7841 from display-buffer--special.
7842 (display-buffer): Use it to handle special-display-buffers at higher
7843 priority (just after display-buffer-alist).
7844 (display-buffer-fallback-action, display-buffer--other-frame-action)
7845 (pop-to-buffer-same-window): Remove display-buffer--special.
7846
a769dd15
GM
78472011-11-07 Glenn Morris <rgm@gnu.org>
7848
7849 * calendar/cal-menu.el (cal-menu-set-date-title):
7850 Do nothing if not in a calendar. (Bug#9976)
7851
05a61ee3
SM
78522011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * files.el (find-file): Always use selected-window.
7855
be7f5545
MR
78562011-11-07 Martin Rudalics <rudalics@gmx.at>
7857
7858 * window.el (window-combinations): Make WINDOW argument
7859 mandatory. Rewrite doc-string.
7860 (walk-window-subtree, window-atom-check, window-min-delta)
7861 (window-max-delta, window--resize-this-window)
7862 (window--resize-root-window-vertically, window-tree)
7863 (balance-windows, window-state-put): Rewrite doc-strings as to
7864 not mention the term "subwindow".
7865 (window--resize-subwindows-skip-p): Rename to
7866 window--resize-child-windows-skip-p.
7867 (window--resize-subwindows-normal): Rename to
7868 window--resize-child-windows-normal.
7869 (window--resize-subwindows): Rename to
7870 window--resize-child-windows.
7871 (window-or-subwindow-p): Rename to window--in-subtree-p.
7872
3c6702ef
ML
78732011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7874
7875 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7876 Ensure that mbox format messages end in two newlines (Bug#9974).
7877
49745b39
CY
78782011-11-06 Chong Yidong <cyd@gnu.org>
7879
7880 * window.el (window-combination-p): Function deleted; its
7881 side-effect is not used in any existing code.
7882 (window-combinations, window-combined-p): Call window-*-child
7883 directly.
7884
24300f5f
CY
78852011-11-05 Chong Yidong <cyd@gnu.org>
7886
7887 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7888 (window-size-ignore, window-state-get): Callers changed.
7889 (window-normalize-window): Rename from window-normalize-any-window.
7890 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7891 (window-normalize-live-window): Delete.
447f16b8
CY
7892 (window-combination-p, window-combined-p, window-combinations)
7893 (walk-window-subtree, window-atom-root, window-min-size)
7894 (window-sizable, window-sizable-p, window-size-fixed-p)
7895 (window-min-delta, window-max-delta, window-resizable)
7896 (window-resizable-p, window-full-height-p, window-full-width-p)
7897 (window-current-scroll-bars, window-point-1, set-window-point-1)
7898 (window-at-side-p, window-in-direction, window-resize)
7899 (adjust-window-trailing-edge, maximize-window, minimize-window)
7900 (window-deletable-p, delete-window, delete-other-windows)
7901 (record-window-buffer, unrecord-window-buffer)
7902 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7903 (quit-window, split-window, window-state-put)
7904 (set-window-text-height, fit-window-to-buffer)
7905 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7906
89bd5ee1
EZ
79072011-11-04 Eli Zaretskii <eliz@gnu.org>
7908
53479029
EZ
7909 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7910 rfc2047-decode-string.
7911 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7912 warnings.
7913
89bd5ee1
EZ
7914 * window.el (window-body-height, window-body-width): Mention in
7915 the doc string that the return values are in frame's canonical
7916 units. (Bug#9949)
7917
bd17fdee
AM
79182011-11-03 Alan Mackenzie <acm@muc.de>
7919
7920 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7921 change in cc-engine.el.
7922
acc825c5
SM
79232011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7926
1885e5b8
MR
79272011-11-02 Martin Rudalics <rudalics@gmx.at>
7928
7929 * window.el (quit-window): Call unrecord-window-buffer after
7930 showing another buffer in the window. (Bug#9937)
acc825c5 7931 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7932
ebe06da9
JB
79332011-11-02 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7936 Accept status with more than 9 shelves. (Bug#9935)
7937 Reported by Colin D Bennett <colin@gibibit.com>.
7938
4ee88440
MR
79392011-11-01 Martin Rudalics <rudalics@gmx.at>
7940
7941 * help.el (with-help-window): Don't reference
7942 temp-buffer-show-specifiers in doc-string.
7943
08e1d82c
AS
79442011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7945
7946 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7947 menu-item.
7948
84bd6e9e
VJL
79492011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7950
7951 * whitespace.el: New version 13.2.2.
7952 (whitespace-newline-mode): Disable properly. Reported by Sarah
7953 <EmacsWiki>.
7954
dba0634a
UJ
79552011-10-30 Ulf Jasper <ulf.jasper@web.de>
7956
7957 * net/newst-treeview.el: Remove "Time-stamp".
7958 (newsticker--group-manage-orphan-feeds): Do not call
7959 newsticker--treeview-tree-update.
db22a3c2
JB
7960 (newsticker-treeview-update, newsticker-treeview):
7961 Call newsticker--treeview-tree-update if necessary.
dba0634a 7962
3d8daefe
MR
79632011-10-30 Martin Rudalics <rudalics@gmx.at>
7964
7965 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7966 (window-iso-combinations): Remove "iso-" infix.
7967 Suggested by Chong Yidong.
3d8daefe
MR
7968 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7969 (window-max-delta-1, window-resize, window--resize-siblings)
7970 (window--resize-this-window, adjust-window-trailing-edge)
7971 (split-window, balance-windows-1)
7972 (shrink-window-if-larger-than-buffer):
7973 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7974 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7975
1bc4c3ae
SM
79762011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7979 in place (bug#9907).
7980 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7981 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7982 (eshell-structure-basic-command, eshell-rewrite-while-command)
7983 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7984 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7985 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7986 (eshell-do-pipelines-synchronously, eshell-eval-command):
7987 Use backquotes and prefer setq to set.
7988 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7989 (eshell-macrop): Use functionp.
c1e2f5fa 7990 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7991
30b65d9c
CY
79922011-10-30 Chong Yidong <cyd@gnu.org>
7993
7994 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7995 instead of set-mark (Bug#9810).
7996
2d197ffb
CY
79972011-10-30 Chong Yidong <cyd@gnu.org>
7998
7999 * window.el (split-window-below, split-window-right): Rename from
8000 split-window-above-each-other and split-window-side-by-side
8001 respectively. All callers changed.
8002 (split-window-sensibly, split-window-sensibly): Use them.
8003 (split-window-keep-point): Doc fix.
8004
8005 * isearch.el: Add isearch-scroll property to split-window-below
8006 and split-window-right.
8007
8008 * follow.el (follow-mode):
8009 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8010 * progmodes/ada-xref.el (ada-gdb-application):
8011 * emulation/vip.el (vip-buffer-in-two-windows):
8012 * image-dired.el (image-dired-dired-with-window-configuration):
8013 * dired-x.el (dired-do-find-marked-files):
8014 * dired.el (dired-pop-to-buffer):
8015 * bs.el (bs--show-with-configuration):
8016 * vc/emerge.el (emerge-setup-windows):
8017 * textmodes/two-column.el (2C-two-columns):
8018 * textmodes/reftex-toc.el (reftex-toc):
8019 * progmodes/gdb-mi.el (gdb-setup-windows):
8020 * progmodes/fortran.el (fortran-window-create):
8021 * net/newst-treeview.el (newsticker--treeview-window-init):
8022 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8023 * emulation/tpu-edt.el (tpu-gold-map):
8024 * emulation/crisp.el (crisp-mode-map):
8025 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8026
38bb2ca8
CY
80272011-10-29 Chong Yidong <cyd@gnu.org>
8028
aa4de341
CY
8029 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8030
e1eb5385
CY
8031 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8032
5d2ece3c
CY
8033 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8034 forged Ispell output (Bug#7904).
8035
38bb2ca8
CY
8036 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8037
d0af9f77
SM
80382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * doc-view.el: Avoid ugly errors about not finding nil.
8041 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8042 (doc-view-dvipdf-program, doc-view-unoconv-program)
8043 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8044 Avoid nil or absolute file name as default value.
8045 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8046
52bedd34
AM
80472011-10-28 Alan Mackenzie <acm@muc.de>
8048
db22a3c2 8049 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8050
7e43cfa5
AM
80512011-10-28 Alan Mackenzie <acm@muc.de>
8052
8053 Amend the handling of c-beginning/end-of-defun in nested declaration
8054 scopes.
8055
52bedd34
AM
8056 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8057 cc-langs.el. Change it to a defcustom.
7e43cfa5 8058
52bedd34
AM
8059 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8060 cc-vars.el.
7e43cfa5 8061
d0af9f77
SM
8062 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8063 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8064
52bedd34 8065 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8066 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8067 (c-widen-to-enclosing-decl-scope): New function.
8068 (c-while-widening-to-decl-block): New macro.
8069 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8070 outward for defun boundaries, and correspondingly change symbol
8071 `respect-enclosure' to `go-outward'.
8072 (c-declaration-limits): Change algorithm to report only the "innermost"
8073 defun's boundaries.
8074
1a2ce9ee
DD
80752011-10-28 Deniz Dogan <deniz@dogan.se>
8076
8077 * net/rcirc.el (rcirc-mode): Use hard newlines.
8078
bc97a826
AM
80792011-10-28 Alan Mackenzie <acm@muc.de>
8080
8081 Amend to indent and fontify macros "which include their own semicolon"
8082 correctly, using the "virtual semicolon" mechanism.
8083
52bedd34 8084 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8085
d0af9f77 8086 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8087 Recode to scan one line at a time rather than having \n and \r
58179cce 8088 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8089 (c-forward-label): Amend for virtual semicolons.
58179cce 8090 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8091
52bedd34
AM
8092 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8093 of the new C macros.
bc97a826 8094
52bedd34 8095 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8096 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8097 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8098 (c-opt-cpp-macro-define): Make into a full language variable.
8099 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8100 AWK Mode (including \n, \r) removed, no longer needed.
8101
d0af9f77
SM
8102 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8103 Invoke c-make-macro-with-semi-re.
bc97a826 8104
52bedd34
AM
8105 * progmodes/cc-vars.el (c-macro-with-semi-re):
8106 (c-macro-names-with-semicolon): New variables.
58179cce 8107 (c-make-macro-with-semi-re): New function.
bc97a826 8108
7a6c0941
SM
81092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * vc/log-edit.el: Fill empty field rather than adding new one.
8112 (log-edit-add-field): New function.
8113 (log-edit-insert-changelog): Use it.
8114
b0c4cdcf
ML
81152011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8116
8117 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8118
ee1f1da9
SM
81192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8122 (gdb--check-interpreter): New function.
8123 (gdb): Use it.
8124
51bc5f8b
GM
81252011-10-27 Glenn Morris <rgm@gnu.org>
8126
416a2c45
GM
8127 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8128 (least-positive-float, least-negative-float)
8129 (least-positive-normalized-float, least-negative-normalized-float)
8130 (float-epsilon, float-negative-epsilon):
8131 Remove unnecessary declarations.
8132
8133 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8134 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8135 (least-positive-float, least-negative-float)
8136 (least-positive-normalized-float, least-negative-normalized-float)
8137 (float-epsilon, float-negative-epsilon): Add doc-strings,
8138 based on those in cl.texi.
8139
51bc5f8b
GM
8140 * files.el (set-visited-file-name): If the major-mode changed,
8141 reload the local variables. (Bug#9796)
8142
15de15c6
CY
81432011-10-27 Chong Yidong <cyd@gnu.org>
8144
8145 * subr.el (change-major-mode-after-body-hook): New hook.
8146 (run-mode-hooks): Run it.
8147
ee1f1da9
SM
8148 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8149 Use change-major-mode-before-body-hook.
15de15c6
CY
8150
8151 * simple.el (fundamental-mode):
8152 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8153 change introducing fundamental-mode-hook.
8154
5430d399
JB
81552011-10-26 Juanma Barranquero <lekktu@gmail.com>
8156
acc825c5 8157 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8158
ad74a69e
MA
81592011-10-26 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8162 tramp.el explicitly. (Bug#7583)
ad74a69e 8163
71d4c2a5
SM
81642011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * progmodes/octave-mod.el:
8167 * progmodes/octave-inf.el: Update maintainer.
8168
b1f6fa26
CY
81692011-10-26 Chong Yidong <cyd@gnu.org>
8170
8171 * subr.el (with-wrapper-hook): Rewrite doc.
8172
3f04efd6
MA
81732011-10-25 Michael Albinus <michael.albinus@gmx.de>
8174
8175 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8176 filenames "/method:foo:". (Bug#9793)
3f04efd6 8177
410488d3
SM
81782011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8181 (bug#9865).
8182
c1ebb47e
GM
81832011-10-24 Glenn Morris <rgm@gnu.org>
8184
8185 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8186
7f5c46c7
MA
81872011-10-24 Michael Albinus <michael.albinus@gmx.de>
8188
8189 * notifications.el: Add the requirement of a running D-Bus session
8190 bus to the Commentary.
8191
db2440b6
JL
81922011-10-24 Juri Linkov <juri@jurta.org>
8193
8194 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8195 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8196 (Bug#9364)
8197
feecf435
JL
81982011-10-24 Juri Linkov <juri@jurta.org>
8199
8200 * info.el (Info-following-node-name-re): Add newline to the list
8201 of allowed characters for leading space. (Bug#9824)
8202
a3839de2
SM
82032011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8204
acc825c5
SM
8205 * progmodes/octave-inf.el (inferior-octave-mode-map):
8206 Fix C-c C-h binding.
a3839de2
SM
8207 * progmodes/octave-mod.el (octave-help): Remove.
8208
09388e76
MA
82092011-10-23 Michael Albinus <michael.albinus@gmx.de>
8210
8211 Sync with Tramp 2.2.3.
8212
8213 * net/tramp-cache.el (top): Pacify byte-compiler using
8214 `init-file-user' and `site-run-file'.
8215
8216 * net/trampver.el: Update release number.
8217
86c60681
CY
82182011-10-23 Chong Yidong <cyd@gnu.org>
8219
8220 * files.el (toggle-read-only): Remove obsolete comment about
8221 version control.
8222
8223 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8224 for toggle-read-only. Note that this hasn't called vc-next-action
8225 since 2008-05-02, though it wasn't documented at the time.
8226
a3839de2
SM
8227 * vc/ediff-init.el (ediff-toggle-read-only-function):
8228 Use toggle-read-only.
86c60681 8229
cd5495ff
AM
82302011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8231
8232 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8233 of c-parse-state.
8234
00b77525 8235 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8236 correct faulty logical expression.
cd5495ff
AM
8237 (c-parse-state-state, c-record-parse-state-state):
8238 (c-replay-parse-state-state): New defvar/defuns.
8239 (c-debug-parse-state): Use new functions.
8240
42ee24ed
MR
82412011-10-22 Martin Rudalics <rudalics@gmx.at>
8242
8243 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8244 last fix. Use window-in-direction correctly.
42ee24ed 8245
a7dee7e7
CY
82462011-10-21 Chong Yidong <cyd@gnu.org>
8247
8248 * progmodes/idlwave.el (idlwave-mode):
8249 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8250 require-final-newline; that's done in prog-mode.
8251 Suggested by Stefan Monnier.
a7dee7e7 8252
e07b9a6d
MR
82532011-10-21 Martin Rudalics <rudalics@gmx.at>
8254
8255 * mouse.el (mouse-drag-window-above)
8256 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8257 (mouse-drag-mode-line-1, mouse-drag-header-line)
8258 (mouse-drag-vertical-line-rightward-window): Remove.
8259 (mouse-drag-line): New function.
8260 (mouse-drag-mode-line, mouse-drag-header-line)
8261 (mouse-drag-vertical-line): Call mouse-drag-line.
8262 * window.el (window-at-side-p, windows-at-side): New functions.
8263
7e1361d9
UM
82642011-10-21 Ulrich Mueller <ulm@gentoo.org>
8265
8266 * tar-mode.el (tar-grind-file-mode):
8267 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8268
30fcaf3a
CY
82692011-10-21 Chong Yidong <cyd@gnu.org>
8270
8271 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8272 * progmodes/vera-mode.el (vera-mode):
8273 Use mode-require-final-newline.
30fcaf3a 8274
516eddb0
GM
82752011-10-20 Glenn Morris <rgm@gnu.org>
8276
db22a3c2 8277 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8278
10d5f513
CS
82792011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8280
8281 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8282
ac6c8639
CY
82832011-10-20 Chong Yidong <cyd@gnu.org>
8284
8285 * emulation/cua-base.el (cua-mode):
8286 * mail/footnote.el (footnote-mode):
8287 * mail/mailabbrev.el (mail-abbrevs-mode):
8288 * net/xesam.el (xesam-minor-mode):
8289 * progmodes/bug-reference.el (bug-reference-mode):
8290 * progmodes/cap-words.el (capitalized-words-mode):
8291 * progmodes/compile.el (compilation-minor-mode)
8292 (compilation-shell-minor-mode):
8293 * progmodes/gud.el (gud-tooltip-mode):
8294 * progmodes/hideif.el (hide-ifdef-mode):
8295 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8296 * progmodes/subword.el (subword-mode):
8297 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8298 * progmodes/which-func.el (which-function-mode):
8299 * term/tvi970.el (tvi970-set-keypad-mode):
8300 * term/vt100.el (vt100-wide-mode):
8301 * textmodes/flyspell.el (flyspell-mode):
8302 * textmodes/ispell.el (ispell-minor-mode):
8303 * textmodes/nroff-mode.el (nroff-electric-mode):
8304 * textmodes/paragraphs.el (use-hard-newlines):
8305 * textmodes/refill.el (refill-mode):
8306 * textmodes/reftex.el (reftex-mode):
8307 * textmodes/rst.el (rst-minor-mode):
8308 * textmodes/sgml-mode.el (html-autoview-mode)
8309 (sgml-electric-tag-pair-mode):
8310 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8311 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8312 * emulation/crisp.el (crisp-mode):
8313 * emacs-lisp/eldoc.el (eldoc-mode):
8314 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8315 minor mode behavior.
8316
aa42ab43
JL
83172011-10-19 Juri Linkov <juri@jurta.org>
8318
8319 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8320 the list of hard-coded chars with escape-glyph face.
8321
89400f1d
SM
83222011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8325
305c07f6
MA
83262011-10-19 Michael Albinus <michael.albinus@gmx.de>
8327
8328 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8329 running process.
8330
13754b54
GM
83312011-10-19 Glenn Morris <rgm@gnu.org>
8332
8333 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8334 Ignore ignored files. (Bug#9726)
8335
06e21633
CY
83362011-10-19 Chong Yidong <cyd@gnu.org>
8337
8338 Doc fix for minor modes, stating that an omitted argument enables
8339 the mode unconditionally when called from Lisp.
8340
8341 * abbrev.el (abbrev-mode):
8342 * allout.el (allout-mode):
8343 * autoinsert.el (auto-insert-mode):
8344 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8345 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8346 (global-auto-revert-mode):
8347 * battery.el (display-battery-mode):
8348 * composite.el (global-auto-composition-mode)
8349 (auto-composition-mode):
8350 * delsel.el (delete-selection-mode):
8351 * desktop.el (desktop-save-mode):
8352 * dired-x.el (dired-omit-mode):
8353 * dirtrack.el (dirtrack-mode):
8354 * doc-view.el (doc-view-minor-mode):
8355 * double.el (double-mode):
8356 * electric.el (electric-indent-mode, electric-pair-mode):
8357 * emacs-lock.el (emacs-lock-mode):
8358 * epa-hook.el (auto-encryption-mode):
8359 * follow.el (follow-mode):
8360 * font-core.el (font-lock-mode):
8361 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8362 * help.el (temp-buffer-resize-mode):
8363 * hilit-chg.el (highlight-changes-mode)
8364 (highlight-changes-visible-mode):
8365 * hi-lock.el (hi-lock-mode):
8366 * hl-line.el (hl-line-mode, global-hl-line-mode):
8367 * icomplete.el (icomplete-mode):
8368 * ido.el (ido-everywhere):
8369 * image-file.el (auto-image-file-mode):
8370 * image-mode.el (image-minor-mode):
8371 * iswitchb.el (iswitchb-mode):
8372 * jka-cmpr-hook.el (auto-compression-mode):
8373 * linum.el (linum-mode):
8374 * longlines.el (longlines-mode):
8375 * master.el (master-mode):
8376 * mb-depth.el (minibuffer-depth-indicate-mode):
8377 * menu-bar.el (menu-bar-mode):
8378 * minibuf-eldef.el (minibuffer-electric-default-mode):
8379 * mouse-sel.el (mouse-sel-mode):
8380 * msb.el (msb-mode):
8381 * mwheel.el (mouse-wheel-mode):
8382 * outline.el (outline-minor-mode):
8383 * paren.el (show-paren-mode):
8384 * recentf.el (recentf-mode):
8385 * reveal.el (reveal-mode, global-reveal-mode):
8386 * rfn-eshadow.el (file-name-shadow-mode):
8387 * ruler-mode.el (ruler-mode):
8388 * savehist.el (savehist-mode):
8389 * scroll-all.el (scroll-all-mode):
8390 * scroll-bar.el (scroll-bar-mode):
8391 * server.el (server-mode):
8392 * shell.el (shell-dirtrack-mode):
8393 * simple.el (auto-fill-mode, transient-mark-mode)
8394 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8395 (line-number-mode, column-number-mode, size-indication-mode)
8396 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8397 * strokes.el (strokes-mode):
8398 * time.el (display-time-mode):
8399 * t-mouse.el (gpm-mouse-mode):
8400 * tool-bar.el (tool-bar-mode):
8401 * tooltip.el (tooltip-mode):
8402 * type-break.el (type-break-mode-line-message-mode)
8403 (type-break-query-mode):
8404 * view.el (view-mode):
8405 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8406 (global-whitespace-mode, global-whitespace-newline-mode):
8407 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8408
a3839de2
SM
8409 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8410 Fix autogenerated docstring.
06e21633 8411
5214e501
JL
84122011-10-19 Juri Linkov <juri@jurta.org>
8413
8414 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8415 by checking environment variables "DESKTOP_SESSION" and
8416 "XDG_CURRENT_DESKTOP". (Bug#9779)
8417
195f8db9
JL
84182011-10-19 Juri Linkov <juri@jurta.org>
8419
8420 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8421 (browse-url-chromium-program, browse-url-chromium-arguments):
8422 New defcustoms.
8423 (browse-url-default-browser): Check for `browse-url-chromium' and
8424 call `browse-url-chromium-program'.
8425 (browse-url-chromium): New command. (Bug#9779)
8426
343a34ff
JB
84272011-10-18 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * facemenu.el (list-colors-duplicates): On Windows, detect more
8430 duplicates by assuming that only colors matching "^System" are
8431 special "system colors". (Bug#9722)
8432
6978a151
SM
84332011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8436 to distinguish the author from the committer.
8437
6a80b297
MA
84382011-10-18 Michael Albinus <michael.albinus@gmx.de>
8439
8440 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8441
b31a5677
JK
84422011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8443
8444 * international/mule.el (sgml-html-meta-auto-coding-function):
8445 Add support for detecting encoding in HTML5 specified only as
8446 <meta charset="UTF-8">. Implementation just makes http-equiv and
8447 content-type parts from HTML4 encoding string optional. (Bug#9716)
8448
80c6d77f
GM
84492011-10-18 Glenn Morris <rgm@gnu.org>
8450
8451 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8452
08b0fee8
CY
84532011-10-18 Chong Yidong <cyd@gnu.org>
8454
8455 * faces.el (cursor): Doc fix.
8456
67e729a5
CY
84572011-10-17 Chong Yidong <cyd@gnu.org>
8458
8459 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8460
343a34ff 84612011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8462
8463 * dirtrack.el (dirtrack): Support shell buffers with path
8464 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8465
0bc06380
TZ
84662011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8467
8468 * json.el: Bump version to 1.3 and note change in History.
8469 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8470
8b79f3e0
SM
84712011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8472
5a7c536b
SM
8473 * comint.el (comint-insert-input, comint-send-input)
8474 (comint-get-old-input-default, comint-backward-matching-input)
8475 (comint-next-prompt): Use nil instead of `input' for field property of
8476 past user input (bug#114).
8477
96a8a0df
SM
8478 * minibuffer.el (completion--replace): Inherit surrounding properties
8479 (bug#114).
8480 (minibuffer-complete-and-exit): Use it.
8481
8b79f3e0
SM
8482 * comint.el (comint--table-subvert): Quote the all-completions output
8483 (bug#9160).
8484
b8f7ff0d
MR
84852011-10-17 Martin Rudalics <rudalics@gmx.at>
8486
8b79f3e0 8487 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8488
b8f7ff0d 8489 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8490 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8491 entries and separate them from frame entries.
8492
c235b555
GM
84932011-10-15 Glenn Morris <rgm@gnu.org>
8494
8495 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8496 Doc fixes.
8497
6bbfa6e1
CY
84982011-10-15 Chong Yidong <cyd@stupidchicken.com>
8499
8b79f3e0
SM
8500 * net/network-stream.el (network-stream-open-starttls):
8501 Improve detection of failure due to lack of TLS support.
ec5c990d 8502
6bbfa6e1
CY
8503 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8504 putting the input text in front and in bold.
8505
98488977
SM
85062011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8507
3d1337be
SM
8508 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8509
ee0b45e4
SM
8510 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8511 empty buffer.
8512
98488977
SM
8513 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8514 unread-command-events rather than pushing yet-another event.
8515
186f4720
EZ
85162011-10-14 Eli Zaretskii <eliz@gnu.org>
8517
8518 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8519 the explanation of the possible choices. Make the options passed
8520 to completing-read shorter.
8521
8b7a997c
AM
85222011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8523
8524 * textmodes/flyspell.el (flyspell-large-region): Make sure
8525 extended character mode is used if defined (Bug#1339).
8526
12587bbb
EZ
85272011-10-13 Eli Zaretskii <eliz@gnu.org>
8528
8529 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8530 character info for LRE, LRO, RLE, and RLO characters by appending
8531 an invisible PDF.
12587bbb 8532
bad41229
SM
85332011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8536 even in case of error; add debug spec; simplify data flow.
8537 (with-timeout-handler): Remove.
8538
28dbc92f
MA
85392011-10-12 Michael Albinus <michael.albinus@gmx.de>
8540
8541 Fix Bug#6019, Bug#9315.
8542
8543 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8544 complete `buffer-file-name', the local file name part could look
8545 remotely (for example on VMS).
8546
8547 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8548 `tramp-run-real-handler'.
8549 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8550 already quoted by '"'.
8551
8552 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8553 Let `file-name-handler-alist' be nil, the local file name part
8554 could look remotely (for example on VMS).
8555
e1b0b23a
SM
85562011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8559 from here...
8560 (flyspell-post-command-hook): ...to here.
8561
a120bde9
SM
85622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8565 if not needed.
8566 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8567 using completion. Protect against "slow" callers.
8568 Remove the "message hack".
8569
7ce7717b
JL
85702011-10-11 Juri Linkov <juri@jurta.org>
8571
8572 * isearch.el (isearch-lazy-highlight-word): New variable.
8573 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8574 Use it. (Bug#9727)
8575
c02ee9d6
GM
85762011-10-11 Glenn Morris <rgm@gnu.org>
8577
8578 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8579 like f90-previous-statement does.
8580
93e616fd 85812011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8582
1f190e73 8583 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8584 only in interactive use, to avoid error.
8585
af7b6078
SM
85862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * minibuffer.el (completion-file-name-table): Fix last change,
8589 i.e. ignore normal errors but not the other ones.
8590
0563dae9
MR
85912011-10-10 Martin Rudalics <rudalics@gmx.at>
8592
8593 * window.el (special-display-buffer-names)
8594 (special-display-regexps): Remove some remnants of earlier
8595 changes from doc-strings.
366ca7f3
MR
8596 (quit-windows-on): New function.
8597
8598 * vc/vc.el (vc-revert, vc-rollback):
8599 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8600 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8601 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8602
49677495
MR
86032011-10-09 Martin Rudalics <rudalics@gmx.at>
8604
8605 * window.el (frame-auto-hide-function): Add version tag.
8606 (Bug#9699)
8607
56f2d1e1
MA
86082011-10-09 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8611 condition.
8612
112a6592
LL
86132011-10-09 Leo Liu <sdl.web@gmail.com>
8614
8615 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8616 (Bug#9701)
8617
0812589b
GM
86182011-10-08 Glenn Morris <rgm@gnu.org>
8619
8620 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8621 before the first code statement zero indent. (Bug#9690)
8622
b2b0776e
CY
86232011-10-08 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * simple.el (count-words-region): Always count in the region.
8626 Report the number of lines and characters too.
8627 (count-words): New command, which counts in the buffer if the
8628 region is inactive, as count-words-region used to.
8629 (count-words--message): New function. Handle plurals.
8630 (count-lines-region): Make it an alias for count-words-region.
8631
8632 * bindings.el (esc-map): Replace count-lines-region with
8633 count-words-region.
8634
c557cd6b
MR
86352011-10-08 Martin Rudalics <rudalics@gmx.at>
8636
8637 * window.el (window--delete): Delete dedicated frame
8638 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8639 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8640
61a57ef4 86412011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8642
3a7d293b 8643 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8644
c3833279
CY
86452011-10-07 Chong Yidong <cyd@stupidchicken.com>
8646
8647 * bindings.el ([M-left],[M-right]): Bind to left-word and
8648 right-word respectively.
8649
21ce8245
GM
86502011-10-07 Glenn Morris <rgm@gnu.org>
8651
8652 * cus-start.el (debug-on-quit): Fix custom type.
8653
6d823bb2
LMI
86542011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655
0181e193
LMI
8656 * subr.el (define-key-after): Clarify that the function is not
8657 useful for non-menu keymaps.
8658
6d823bb2
LMI
8659 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8660
8e3459ce 86612011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8662
21ce8245 8663 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8664 in current minibuffer (Fix bug with recursive minibuffers).
8665
a1c2d21e
CY
86662011-10-06 Chong Yidong <cyd@stupidchicken.com>
8667
8668 * progmodes/gdb-mi.el (gdb): Doc fix.
8669
5a4cf282
MR
86702011-10-05 Martin Rudalics <rudalics@gmx.at>
8671
8672 * window.el (frame-auto-hide-function): New option replacing
8673 frame-auto-delete. Suggested by Stefan Monnier.
8674 (window--delete): Call frame-auto-hide-function instead of
8675 investigating frame-auto-delete.
c96111ea
MR
8676 (window-point-1, set-window-point-1): New functions.
8677 (window-in-direction, record-window-buffer, window-state-get-1)
8678 (display-buffer-record-window): Use window-point-1 instead of
8679 window-point.
8680 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8681
9854542e
SM
86822011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8685
8943cfb0
GM
86862011-10-05 Glenn Morris <rgm@gnu.org>
8687
8688 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8689 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8690
647ab967
LL
86912011-10-05 Leo Liu <sdl.web@gmail.com>
8692
8693 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8694 works with buffer object.
8695
3ddfbced
SM
86962011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * mpc.el (mpc-tool-bar-map): Add labels.
8699
bdfa5dd2
GM
87002011-10-04 Glenn Morris <rgm@gnu.org>
8701
8702 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8703
0e2070b5
MR
87042011-10-04 Martin Rudalics <rudalics@gmx.at>
8705
8706 * window.el (window--delete): New function.
8707 (frame-auto-delete): Resuscitate option.
8708 (bury-buffer, replace-buffer-in-windows)
8709 (quit-window): Rewrite using window--delete.
8710 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8711 Pass display-buffer-mark-dedicated to window--display-buffer-2
8712 (Bug#9639).
8713
3dc61a09
SM
87142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8715
915a9b64
SM
8716 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8717 returns a list (bug#9554). Add remote file name completion.
8718 * comint.el (comint--table-subvert): Curry and get quote&unquote
8719 functions as arguments.
8720 (comint--complete-file-name-data): Adjust call accordingly.
8721 * pcomplete.el (pcomplete--table-subvert): Remove.
8722 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8723
3dc61a09
SM
8724 * minibuffer.el (completion-table-case-fold): Use currying.
8725 (completion--styles-type, completion--cycling-threshold-type):
8726 New constants.
8727 (completion-styles, completion-category-overrides)
8728 (completion-cycle-threshold): Use them.
8729 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8730 completion-table-case-fold.
8731
8ea0a993
SB
87322011-10-03 Stephen Berman <stephen.berman@gmx.net>
8733
8734 * minibuffer.el (completion-category-overrides): Fix type of styles
8735 and add more user friendly tags (bug#9660).
8736
8c24b7f6
SM
87372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8740 (mule-input-method-string): New widget.
8741 (default-input-method, language-info-custom-alist): Use it.
8742
428fe61a
SM
87432011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8744
32c1fffd
SM
8745 * pcomplete.el: Require comint.
8746 (pcomplete--common-suffix): Remove.
8747 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8748 (pcomplete--table-subvert): Sync with comint--table-subvert.
8749 (pcomplete--entries): Use comint-completion-file-name-table.
8750 * comint.el (comint-unquote-filename): Simplify.
8751 (comint-completion-file-name-table): New function (bug#9616).
8752 (comint--complete-file-name-data): Use it.
8753
428fe61a
SM
8754 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8755 (pcmpl-gnu-tar-buffer): Remove.
8756 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8757 around. Make sure pcomplete-suffix-list is only changed temporarily.
8758 Don't look inside the tar's file if it's too large.
428fe61a 8759
04c52e2f
CY
87602011-10-01 Chong Yidong <cyd@stupidchicken.com>
8761
ce3cefcc
CY
8762 * cus-edit.el (custom-mode-map):
8763 * epa.el (epa-key-list-mode-map):
8764 * man.el (Man-mode-map):
8765 * startup.el (splash-screen-keymap):
8766 * simple.el (special-mode-map): Use scroll-up-command and
8767 scroll-down-command.
8768
8769 * progmodes/idlw-help.el (idlwave-help-mode-map):
8770 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8771 * net/newst-plainview.el (newsticker-mode-map):
8772 * emulation/ws-mode.el (wordstar-mode-map):
8773 * emulation/vi.el (vi-com-map):
8774 * calc/calc-graph.el (calc-graph-show-dumb):
8775 * term/sun.el (terminal-init-sun):
8776 * term/ns-win.el (global-map):
8777 * progmodes/grep.el (grep-mode-map):
8778 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8779 * mail/rmail.el (rmail-mode-map):
8780 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8781
04c52e2f
CY
8782 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8783 custom-safe-themes as special.
8784
79adf8c8
JD
87852011-10-01 Julien Danjou <julien@danjou.info>
8786
8787 * notifications.el (notifications-notify): Fix docstring.
8788
63bd50d3
PS
87892011-10-01 Per Starbäck <per@starback.se>
8790
8791 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8792
199e4c7e
MR
87932011-09-30 Martin Rudalics <rudalics@gmx.at>
8794
8795 * startup.el (command-line-1): Fix last fix by inserting
8796 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8797 (Bug#9605) and (Bug#9636)
199e4c7e 8798
fe5f08dd
EZ
87992011-09-29 Eli Zaretskii <eliz@gnu.org>
8800
8801 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8802 window is hscrolled, move by logical lines. (Bug#9607)
8803 (line-move-visual): Update the doc string to the above effect.
8804
b5516bbd
MR
88052011-09-29 Martin Rudalics <rudalics@gmx.at>
8806
ccee00c0
MR
8807 * window.el (display-buffer-record-window): When WINDOW is the
8808 selected window use `point' instead of `window-point'. (Bug#9626)
8809
b5516bbd
MR
8810 * startup.el (command-line-1): Use insert-before-markers when
8811 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8812
b5516bbd
MR
8813 * help.el (help-window): Remove variable.
8814
52aa0014
GM
88152011-09-29 Glenn Morris <rgm@gnu.org>
8816
8817 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8818
df9a7357
JB
88192011-09-29 Juanma Barranquero <lekktu@gmail.com>
8820
8821 * descr-text.el (describe-char-categories): Accept category
8822 descriptions more than one line long.
8823
a8406c20
SM
88242011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8825
88d9610c
SM
8826 * simple.el (delete-trailing-whitespace): Fix last change.
8827
a5daf810
SM
8828 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8829 Don't confuse "y => 3" as the beginning of a `y' operation.
8830
a8406c20
SM
8831 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8832 object has more than 4 slots (bug#9613).
8833
a239d4e9
JB
88342011-09-28 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * subr.el (with-output-to-temp-buffer):
8837 * net/quickurl.el (quickurl, quickurl-browse-url):
8838 Fix typos in docstrings.
8839
693fbdb6
EZ
88402011-09-27 Eli Zaretskii <eliz@gnu.org>
8841
8842 * minibuffer.el (completion-styles)
8843 (completion-category-overrides): Cross reference each other in doc
8844 strings.
8845
8b457e28
GM
88462011-09-27 Glenn Morris <rgm@gnu.org>
8847
8848 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8849 to split-string. (Bug#9606)
8850
85a16208
LMI
88512011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8852
8853 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8854 (bug#9615).
8855
502f9ebd
CY
88562011-09-27 Chong Yidong <cyd@stupidchicken.com>
8857
8858 * emacs-lisp/package.el (list-packages): Fix echo area message.
8859
7690bdea
LL
88602011-09-27 Leo Liu <sdl.web@gmail.com>
8861
8862 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8863
e2ee6f30
MA
88642011-09-25 Michael Albinus <michael.albinus@gmx.de>
8865
8866 * net/dbus.el (dbus-unregister-object): Don't release services for
8867 registered signals. (Bug#9581)
8868
f3f98342
TZ
88692011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8870
8871 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8872 function that picks between cfengine 2 and 3 support
8873 automatically. Update docs accordingly.
8874
dd7aa8dd
KH
88752011-09-22 Kenichi Handa <handa@m17n.org>
8876
8877 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8878 ZERO.
8879 (indian-itrans-v5-table-for-tamil): New variable.
8880 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8881
3f2b07f8
KM
88822011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8883
8884 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8885 that's true if the current command involved collapsing of text.
8886 It's reset to false at the beginning of the next command.
8887 (allout-post-command-business): Move the cursor to the beginning
8888 of entry if the cursor is hidden and collapsing activity just
8889 happened.
8890
371d6a61
CY
88912011-09-24 Chong Yidong <cyd@stupidchicken.com>
8892
8893 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8894 tracking (Bug#9541).
8895
2ac2721a
UJ
88962011-09-24 Ulf Jasper <ulf.jasper@web.de>
8897
8898 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8899 (newsticker-show-news): Automatically load html rendering package
8900 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8901 because w3m-fill-column is let-bound" and the error "Symbol's value
8902 as variable is void: w3m-fill-column".
2ac2721a 8903
fac7ae53
MA
89042011-09-24 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8907 Release services only if they are defined. (Bug#9581)
8908
e08b633b
RS
89092011-09-23 Richard Stallman <rms@gnu.org>
8910
e488d29c
RS
8911 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8912 distinguish start of paragraph from start of its text.
8913
19c38752
RS
8914 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8915
e08b633b
RS
8916 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8917 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8918 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8919
0a39f27e
AS
89202011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8921
8922 * international/mule-diag.el (mule-diag): Insert a newline after
8923 each fontset description.
8924
db4e950d
SM
89252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * simple.el (delete-trailing-whitespace):
8928 Document last change; simplify.
8929
eca3f3ea
PW
89302011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8931
d68e189a
PW
8932 * simple.el (delete-trailing-whitespace): Also delete
8933 extra newlines at the end of the buffer.
8934
eca3f3ea
PW
8935 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8936 (picture-newline): Use forward-line so as to ignore fields.
8937
01c157cc
SM
89382011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * subr.el (with-wrapper-hook): Fix edebug spec.
8941
022de23e
LMI
89422011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8943
8944 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8945 (bug#4538).
8946
91683089
MA
89472011-09-23 Michael Albinus <michael.albinus@gmx.de>
8948
eca3f3ea
PW
8949 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8950 Fix nasty bug using wrong cached values.
91683089 8951
5bdd6fa4
AM
89522011-09-23 Alan Mackenzie <acm@muc.de>
8953
8954 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8955
97adfb97
CY
89562011-09-23 Chong Yidong <cyd@stupidchicken.com>
8957
8958 * window.el (pop-to-buffer): Ensure right window is selected if we
8959 chose another frame.
8960
d4ef2b50
EZ
89612011-09-22 Eli Zaretskii <eliz@gnu.org>
8962
8963 * simple.el (what-cursor-position): Use get-char-property-change
8964 and next-single-char-property-change, to be able to show display
8965 properties that come from overlays as well as text properties.
8966
72258fe5
CY
89672011-09-22 Chong Yidong <cyd@stupidchicken.com>
8968
8969 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8970
8971 * cmuscheme.el (run-scheme, switch-to-scheme):
8972 * cus-edit.el (customize-group, custom-buffer-create)
8973 (customize-browse):
8974 * info.el (info):
8975 * shell.el (shell):
8976 * mail/sendmail.el (mail):
8977 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8978
8f098516
RS
89792011-09-22 Richard Stallman <rms@gnu.org>
8980
8981 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8982 move back only to line beg, don't move back over blank lines.
8983
e74f1bb6
MA
89842011-09-22 Michael Albinus <michael.albinus@gmx.de>
8985
8986 * files.el (copy-directory): Set directory attributes only in case
8987 they could be retrieved from the source directory. (Bug#9565)
8988
bfeef8b6
DK
89892011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8990
8991 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8992 (hs-find-block-beginning, hs-hide-level-recursive):
8993 Ignore strings as well as comments. (Bug#9502)
8994
7e423bb8
AS
89952011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8996
8997 * progmodes/sql.el (sql-comint-postgres):
8998 Convert port number to a string. (Bug#9566)
8999
b4d72fcf
MR
90002011-09-22 Martin Rudalics <rudalics@gmx.at>
9001
9002 * window.el (quit-window): Undedicate window when switching to
9003 previous buffer. Reported by Thierry Volpiatto
9004 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9005 (special-display-popup-frame): When popping up a new frame reset
9006 its previous buffers to nil. Simplify code.
b4d72fcf 9007
a7b88dc6
MA
90082011-09-21 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9011 and process filter, as done also in `shell-command'.
9012
cf4eacfd
MR
90132011-09-21 Martin Rudalics <rudalics@gmx.at>
9014
eca3f3ea 9015 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9016 Call set-window-start with NOFORCE argument t.
9017 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9018 (quit-window): Reword doc-string. Handle new format of
9019 quit-restore parameter. Don't delete window if it has a
9020 previous buffer we can show instead of the present one.
9021 (display-buffer-record-window): Rewrite using a new format for
9022 the quit-restore window parameter
9023 (special-display-popup-frame, display-buffer-same-window)
9024 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9025 (display-buffer-pop-up-window, display-buffer-use-some-window):
9026 Adapt symbol passed to display-buffer-record-window.
9027 * help.el (help-window-setup): Handle new format of quit-restore
9028 parameter.
9029
8d28cb95
SM
90302011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9031
94ab793f
SM
9032 * faces.el (face-list): Fix docstring (bug#9564).
9033
8d28cb95
SM
9034 * window.el (display-buffer--action-function-custom-type):
9035 Don't include internal functions in the Custom interface.
9036
3820edeb
JL
90372011-09-20 Juri Linkov <juri@jurta.org>
9038
9039 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9040 (Info-forward-node, Info-backward-node, Info-next-preorder)
9041 (Info-last-preorder): Use it. (Bug#9528)
9042
5147931d
JL
90432011-09-20 Juri Linkov <juri@jurta.org>
9044
9045 * info.el (Info-last-preorder): Visit last menu item only when
9046 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9047
cf499a1a
JD
90482011-09-20 Julien Danjou <julien@danjou.info>
9049
9050 * password-cache.el (password-cache-remove): Remove entries even if the
9051 value is nil, so that password with a nil value (negative caching) is
9052 possible to invalidate.
9053
f84e2fe2
LM
90542011-09-20 Lawrence Mitchell <wence@gmx.li>
9055
9056 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9057 all whitespace around breakpoint. (Bug#9553)
9058 (f90-find-breakpoint): Only break at whitespace inside a comment.
9059
78054a46
SM
90602011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * minibuffer.el (completion-file-name-table): Keep track of errors.
9063 (completion-table-with-predicate): Handle the case where pred1 is nil.
9064 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9065
345083b2
SM
90662011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9067
e24e27be
SM
9068 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9069 (debugger-return-value): Signal an error if the debugging context does
9070 not await any return value.
9071
345083b2
SM
9072 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9073 * image-mode.el (image-toggle-display-text)
9074 (image-toggle-display-image): Stay away from evil `intangible'.
9075
08d355e3
LL
90762011-09-19 Leo Liu <sdl.web@gmail.com>
9077
9078 * replace.el (occur-revert-arguments): Make it permanent-local.
9079 (occur-mode): Don't call font-lock-defontify.
9080
f01da43f
CY
90812011-09-19 Chong Yidong <cyd@stupidchicken.com>
9082
9083 * net/ldap.el (ldap-search-internal): Don't push empty search
9084 result (Bug#9508).
9085
b6072fa6
SM
90862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9089
443d6696
MA
90902011-09-19 Michael Albinus <michael.albinus@gmx.de>
9091
9092 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9093 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9094
7cc6e154
JL
90952011-09-18 Juri Linkov <juri@jurta.org>
9096
9097 * buff-menu.el (Buffer-menu-mode-map):
9098 * dired.el (dired-mode-map):
9099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9100 (lisp-interaction-mode-map):
9101 * emacs-lisp/package.el (package-menu-mode-map):
9102 * epa.el (epa-key-list-mode-map):
9103 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9104 (menu-bar-options-menu):
9105 * outline.el (outline-mode-menu-bar-map):
9106 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9107 * vc/vc-dir.el (vc-dir-menu-map):
9108 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9109 Capitalize non-function content words in menu item strings.
9110
9111 * dired.el (dired-mode-map): Add menu item for
9112 `image-dired-dired-toggle-marked-thumbs'.
9113
80302a81
JL
91142011-09-18 Juri Linkov <juri@jurta.org>
9115
9116 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9117 to `isearch-case-fold-search' and restore its original value
9118 after the `isearch-mode' call.
9119
46c5cf66
JL
91202011-09-18 Juri Linkov <juri@jurta.org>
9121
9122 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9123 because `zgrep' returns 1 for successful matches (bug#9226).
9124
d18b513b
JL
91252011-09-18 Juri Linkov <juri@jurta.org>
9126
9127 * info.el (Info-extract-menu-node-name): Check the second match
9128 for empty string (second test-case of bug#9528).
9129 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9130 intermediate nodes to the history (first test-case of bug#9528).
9131
72753f87
JL
91322011-09-18 Juri Linkov <juri@jurta.org>
9133
9134 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9135 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9136
c9384295
JL
91372011-09-18 Juri Linkov <juri@jurta.org>
9138
1154d12e
JB
9139 * info.el (Info-file-supports-index-cookies):
9140 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9141 outputs one more line for long file names (bug#4142).
c9384295 9142
d473dce8
CY
91432011-09-18 Chong Yidong <cyd@stupidchicken.com>
9144
9145 * newcomment.el (comment-normalize-vars): If prompting for
9146 comment-start, set comment-start-skip too (Bug#8424).
9147
2176854d
JB
91482011-09-18 Johan Bockgård <bojohan@gnu.org>
9149
9150 * icomplete.el: Fix previous fix of Bug#5849.
9151 (icomplete-mode): Don't set completion-show-inline-help.
9152 (icomplete-minibuffer-setup): Set completion-show-inline-help
9153 locally during icompletion.
9154
3aace4e4
CY
91552011-09-18 Chong Yidong <cyd@stupidchicken.com>
9156
c940224f
CY
9157 * woman.el (woman2-process-escapes): Don't delete unrecognized
9158 escapes (Bug#7843).
9159
3aace4e4
CY
9160 * files.el (inhibit-first-line-modes-regexps): Add image files.
9161 (hack-local-variables-prop-line): Return nil for malformed
9162 prop-lines (Bug#9044).
9163
710dec63
MA
91642011-09-18 Michael Albinus <michael.albinus@gmx.de>
9165
9166 * net/tramp.el (top): Don't require 'shell.
9167 (tramp-methods): Fix docstring.
9168 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9169 Return complete remote file name. Handle "smb" case.
9170 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9171 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9172
9173 * net/tramp-compat.el (top): Require 'shell.
9174
9175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9176 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9177 `tramp-current-host'.
9178 (tramp-get-remote-tmpdir): Remove.
9179
9180 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9181 `tramp-tmpdir' entries.
9182 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9183 (tramp-smb-handle-file-attributes): Ignore errors.
9184 (tramp-smb-wait-for-output): Check also for process end.
9185
5d5ac8ec
LMI
91862011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9187
9188 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9189 when sending QUIT (bug#9312).
9190
8c0f49f0
CY
91912011-09-17 Chong Yidong <cyd@stupidchicken.com>
9192
9193 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9194 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9195 occur-mode-display-occurrence.
9196 (occur-edit-mode): Add usage message.
9197 (occur-cease-edit): New command.
9198 (occur-after-change-function): Use text properties to find the
9199 position of the prefix text.
9200 (occur-engine): Set stickiness of prefix text properties.
9201
8f1383f7
GM
92022011-09-17 Glenn Morris <rgm@gnu.org>
9203
9204 * progmodes/etags.el (complete-tag):
9205 Fix call to completion-in-region. (Bug#9526)
9206
744ba0e3
JL
92072011-09-17 Juri Linkov <juri@jurta.org>
9208
9209 * textmodes/ispell.el (ispell-word): Add to the error message
9210 the word, ispell program name and current dictionary (bug#9121).
9211 (ispell-tex-arg-end): Capitalize "error" in the error message.
9212
d9bbf400
AS
92132011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9216 check. (Bug#4251)
9217
8da11505
JL
92182011-09-17 Juri Linkov <juri@jurta.org>
9219
9220 * window.el (window-safe-min-height, window-safe-min-width):
9221 Fix typos (followup to bug#9522).
9222
a91adc7e
SJ
92232011-09-17 Sven Joachim <svenjoac@gmx.de>
9224
9225 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9226
064f328a
EZ
92272011-09-16 Eli Zaretskii <eliz@gnu.org>
9228
9229 * simple.el (line-move): If goal-column is set, move by logical
9230 lines, not by display lines. (Bug#971)
9231 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9232 to reflect the above change.
9233
e69df516
SM
92342011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * image.el (imagemagick-register-types): Use regexp-opt.
9237
cbb0f9ab
CY
92382011-09-15 Chong Yidong <cyd@stupidchicken.com>
9239
9240 * window.el (display-buffer-base-action): Rename from
9241 display-buffer-default-action. Make default value empty.
9242 (display-buffer-overriding-action): Convert to defvar.
9243 (display-buffer-fallback-action): New var.
9244
25322144
CY
92452011-09-15 Chong Yidong <cyd@stupidchicken.com>
9246
9247 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9248 declaration.
9249 (package--add-to-archive-contents): If there is a duplicate entry
9250 with an older version, remove it.
9251 (package-menu-mark-delete, package-menu-mark-install)
9252 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9253 (package-menu-mark-obsolete-for-deletion):
9254 Use package-menu-get-status instead of a regexp search.
25322144
CY
9255 (package-menu-get-status): Use tabulated-list-entry.
9256 (package-menu-mark-upgrades): New command.
d770725a 9257 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9258 (package-menu-execute): Do installation before deletion.
9259 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9260 instead of checking major-mode.
9261 (package-menu--find-upgrades): New function.
9262
7520339c
LMI
92632011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9264
9265 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9266 passwords in the log buffer.
65a046c4
LMI
9267 (smtpmail-process-filter): Update the process marker so that the
9268 "broken by peer" status message is inserted in the right place.
7520339c 9269
d3c30954
SM
92702011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9271
3fe48822
SM
9272 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9273 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9274 bibtex-completion-at-point-function.
9275 (bibtex-completion-at-point-function): Use them.
9276
1b8b3954
SM
9277 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9278
d3c30954
SM
9279 * mpc.el (mpc-constraints-tag-lookup): New function.
9280 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9281 also to browser "album|playlist".
9282
72779976
JL
92832011-09-14 Juri Linkov <juri@jurta.org>
9284
9285 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9286 (isearch-edit-string): Use length of `isearch-string' when
9287 `isearch-fail-pos' returns nil.
9288 (isearch-message): Remove duplicate code and call
9289 `isearch-fail-pos' with arg `t'.
9290
a0bf2bcd
CY
92912011-09-14 Chong Yidong <cyd@stupidchicken.com>
9292
17bb0a2d
CY
9293 * replace.el (occur-mode-goto-occurrence): Don't force using other
9294 window (Bug#9499).
9295
a0bf2bcd
CY
9296 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9297
f678e0b6
MR
92982011-09-14 Martin Rudalics <rudalics@gmx.at>
9299
9300 * window.el (display-buffer-window): Remove.
9301 (display-buffer-record-window): Use help-setup window parameter
9302 instead of variable display-buffer-window.
9303 (display-buffer-function, special-display-buffer-names)
9304 (special-display-function): Mention help-setup parameter instead
9305 of display-buffer-window in doc-string.
d3c30954
SM
9306 * help.el (help-window-setup): New argument help-window.
9307 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9308 Reword some messages.
9309 (with-help-window): Pass window used for displaying the buffer
9310 to help-window-setup. Don't set display-buffer-window.
9311
8e39b2e8
GM
93122011-09-13 Glenn Morris <rgm@gnu.org>
9313
9314 * emacs-lisp/debug.el (debugger-make-xrefs):
9315 Preserve point. (Bug#9462)
9316
85e9c04b
CY
93172011-09-13 Chong Yidong <cyd@stupidchicken.com>
9318
9319 * window.el (window-deletable-p): Use next-frame.
9320
1b36ed6a
MR
93212011-09-13 Martin Rudalics <rudalics@gmx.at>
9322
9323 * window.el (window-auto-delete): Remove.
9324 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9325 dedication and previous buffers.
1b36ed6a
MR
9326 (switch-to-prev-buffer): Don't delete window.
9327 (delete-windows-on): Delete a window's frame if and only if the
9328 window is dedicated.
9329 (replace-buffer-in-windows): Delete buffer's window or frame if
9330 and only if window is dedicated.
9331 (quit-window): Handle quit-restore as before last change.
4d61f28d 9332 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9333
ef8ef9fb
CY
93342011-09-13 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * window.el (window-deletable-p): Never delete the last frame on a
9337 given terminal.
9338
b2cba41e
GM
93392011-09-13 Glenn Morris <rgm@gnu.org>
9340
9341 * help.el (describe-key-briefly): Copy previous standard-output change.
9342
51553db6 93432011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9344
9345 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9346
b7556719
GM
93472011-09-13 Glenn Morris <rgm@gnu.org>
9348
9349 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9350 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9351
64b51947
CY
93522011-09-12 Chong Yidong <cyd@stupidchicken.com>
9353
9354 * dired-aux.el (dired-mark-read-string): Don't return default
9355 value on empty input (Bug#9361).
9356 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9357 Omit initial minibuffer contents.
9358 (dired-do-chmod): Signal an error on empty input.
9359 (dired-mark-read-string): Don't return default on empty input.
9360
9361 * files.el (file-modes-symbolic-to-number): Doc fix.
9362
393a301e
SM
93632011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * international/mule-cmds.el (ucs-completions): Remove.
9366 (read-char-by-name): Use complete-with-action instead; add metadata.
9367
fa5660f9
CY
93682011-09-11 Chong Yidong <cyd@stupidchicken.com>
9369
9370 * window.el (display-buffer--action-function-custom-type)
9371 (display-buffer--action-custom-type): New vars.
9372 (display-buffer-alist, display-buffer-default-action)
9373 (display-buffer-overriding-action): Add defcustom types.
9374
4a592f66
CY
9375 * frame.el (delete-other-frames): Doc fix (Bug#276).
9376
73d56dbd
LMI
93772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9380
37ac18a3
CY
93812011-09-11 Chong Yidong <cyd@stupidchicken.com>
9382
9383 Change modes that used same-window-* vars to use switch-to-buffer.
9384
9385 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9386 Use switch-to-buffer.
9387
9388 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9389 (customize-browse, custom-buffer-create-other-window):
9390 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9391
9392 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9393 (Info-prev, Info-up, Info-speedbar-goto-node)
9394 (info-display-manual): Use switch-to-buffer.
9395 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9396
9397 * mail/sendmail.el (mail): Use switch-to-buffer.
9398 (mail-recover): Use switch-to-buffer-other-window.
9399
9400 * cmuscheme.el (run-scheme, switch-to-scheme):
9401 * ielm.el (ielm):
9402 * shell.el (shell):
9403 * net/rlogin.el (rlogin):
9404 * net/telnet.el (telnet, rsh):
9405 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9406
10195bd6
AS
94072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9410
b322f63a
LMI
94112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9412
39d7fed6
LMI
9413 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9414 so don't mention it (bug#9301).
ba5a81f1 9415 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9416
ee0e9f11
LMI
9417 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9418 match `x', `w32' and `ns', like the manual says (bug#9029).
9419
0b1c89c1 9420 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9421 (process-kill-buffer-query-function): Mention the buffer name in
9422 the query.
0b1c89c1 9423
77549ea8
LMI
9424 * image-mode.el (image-next-line): The line parameter is mandatory
9425 (bug#9258).
9426
803ef892
LMI
9427 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9428 which can be useful (bug#9301).
9429
12980837
LMI
9430 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9431
91054f8f
LMI
9432 * subr.el (match-string): Mention that the current buffer should
9433 be the same as the search was done in (bug#9282).
9434
b322f63a
LMI
9435 * facemenu.el: Disable the remove-* commands if the mark isn't
9436 active (bug#9162).
9437
3199b96f
CY
94382011-09-10 Chong Yidong <cyd@stupidchicken.com>
9439
9440 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9441 of display-buffer.
9442 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9443
9444 * replace.el (occur-mode-goto-occurrence)
9445 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9446 and display-buffer.
9447
9448 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9449 display-buffer.
9450
9451 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9452 special-display and same-window variables.
9453 (mail-other-window): Use switch-to-buffer-other-window.
9454 (mail-other-frame): USe switch-to-buffer-other-frame.
9455
393a301e
SM
9456 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9457 Use display-buffer-other-frame.
3199b96f
CY
9458 (gdb-display-gdb-buffer): Use pop-to-buffer.
9459
9460 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9461
9462 * progmodes/python.el: Don't set same-window-buffer-names.
9463
9464 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9465
9466 * window.el (display-buffer-alist): Add *Python*.
9467
8319e0bf
CY
94682011-09-10 Chong Yidong <cyd@stupidchicken.com>
9469
9470 * window.el (display-buffer-alist): Add entry for buffers
9471 previously handled same-window-*.
9472 (display-buffer-alist, display-buffer-default-action)
9473 (display-buffer-overriding-action): Mark as risky.
9474 (display-buffer-alist): Document action function changes.
9475 (display-buffer--same-window-action)
9476 (display-buffer--other-frame-action): New variables.
9477 (switch-to-buffer, display-buffer-other-frame): Use them.
9478 (display-buffer): Rename reuse-frame entry to reusable-frames.
9479 (display-buffer-reuse-selected-window): Function deleted.
9480 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9481 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9482 (display-buffer-special): New function.
9483 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9484 display-buffer-reuse-or-pop-window. Split off special-display
9485 part into display-buffer-special.
9486 (display-buffer-use-some-window): Don't perform any special
9487 pop-up-frames handling.
9488 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9489 (display-buffer--maybe-same-window): Rename from
0d3ff375 9490 display-buffer-maybe-same-window.
8319e0bf 9491
919a69aa
CY
9492 * info.el: Don't set same-window-regexps.
9493 (info-setup): New function.
9494 (info-other-window, info): Call it.
9495
9496 * cus-edit.el: Don't set same-window-regexps.
9497 (customize-group): New argument.
9498 (customize-group-other-window): Use it.
9499 (customize-face, customize-face-other-window): Likewise.
9500 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9501
8319e0bf
CY
9502 * net/rlogin.el:
9503 * net/telnet.el:
9504 * progmodes/gud.el: Don't set same-window-regexps.
9505
9506 * cmuscheme.el:
9507 * ielm.el:
9508 * shell.el:
9509 * mail/sendmail.el:
9510 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9511
25173000
JL
95122011-09-10 Juri Linkov <juri@jurta.org>
9513
9514 * isearch.el (isearch-edit-string): Remove obsolete mention of
9515 `C-w' (`isearch-yank-word-or-char') from docstring.
9516 (isearch-query-replace): Fix typo in docstring (bug#9466).
9517
056e44ef
JL
95182011-09-10 Juri Linkov <juri@jurta.org>
9519
9520 * paren.el (show-paren-function): Don't show escaped parens.
9521 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9522
c3760c17
EZ
95232011-09-10 Eli Zaretskii <eliz@gnu.org>
9524
9525 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9526 (mm-default-file-encoding): Remove autoload forms, they are
9527 replaced with autoload cookies in mml.el and mm-encode.el.
9528 (mail-add-attachment): New command.
9529 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9530 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9531 the doc string.
9532 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9533
fece895e
RT
95342011-09-10 Reuben Thomas <rrt@sc3d.org>
9535
e69df516
SM
9536 * simple.el (count-words-region): Use buffer if there's no region
9537 (bug#9429).
fece895e 9538
5e68ce4a
JL
95392011-09-09 Juri Linkov <juri@jurta.org>
9540
9541 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9542 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9543 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9544
0a6b9622
AM
95452011-09-09 Alan Mackenzie <acm@muc.de>
9546
9547 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9548 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9549
14a29deb
EZ
95502011-09-09 Eli Zaretskii <eliz@gnu.org>
9551
9552 Fix for Savannah bug#9392.
9553 * simple.el (mail-encode-mml): New defvar.
9554
9555 * mail/rmail.el (mail-encode-mml): Add a defvar.
9556 (rmail-enable-mime-composing): Default to t.
9557 (rmail-forward): Use MIME method of forwarding only if both
9558 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9559 Set mail-encode-mml non-nil if the MIME method was used.
9560
9561 * mail/sendmail.el (mml-to-mime): Add autoload form.
9562 (mail-encode-mml): Add a defvar.
9563 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9564 to nil.
9565 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9566 message through mml-to-mime, and reset mail-encode-mml to nil.
9567
28c45130
GM
95682011-09-09 Glenn Morris <rgm@gnu.org>
9569
9570 * woman.el (woman-if-body): When processing an .el block,
9571 do not delete the next .el block as well. (Bug#9447)
69f4b618 9572 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9573
9b1c252e
MR
95742011-09-08 Martin Rudalics <rudalics@gmx.at>
9575
9576 * window.el (window-deletable-p): Make sure window is live before
9577 invoking window-prev-buffers.
9578
567457e3
LL
95792011-09-08 Leo Liu <sdl.web@gmail.com>
9580
9581 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9582
97f05794
JL
95832011-09-08 Juri Linkov <juri@jurta.org>
9584
9585 * progmodes/compile.el (compilation-environment): Make it
9586 a defcustom (bug#8340).
9587
8b0874b5
MR
95882011-09-08 Martin Rudalics <rudalics@gmx.at>
9589
9590 * window.el (frame-auto-delete): Rename to window-auto-delete.
9591 Make it control auto-deletion of windows and/or frames.
9592 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9593 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9594 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9595 Rewrite handling of case when window/frame can be deleted.
9596 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9597 argument t. (Bug#9456)
8b0874b5 9598
4feb6e73
CY
95992011-09-07 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * help-mode.el (help-mode): Restore autoload.
9602
91ab9c13
JL
96032011-09-07 Juri Linkov <juri@jurta.org>
9604
9605 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9606 `compilation-environment'. Set buffer-local
9607 `compilation-environment' to `thisenv' later after (funcall mode).
9608 (Bug#8340)
9609
9610 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9611 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9612 instead of replacing its value. (Bug#8340)
9613
0527e251
JL
96142011-09-07 Juri Linkov <juri@jurta.org>
9615
9616 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9617 based on text properties put by `grep-filter' instead of matching
9618 escape sequences.
9619 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9620 to the value of `grep-error-screen-columns' (bug#9438).
9621
249f792c
JL
96222011-09-07 Juri Linkov <juri@jurta.org>
9623
9624 * simple.el (next-error-highlight, next-error-highlight-no-select):
9625 Doc fix (bug#9432).
9626
ff7271b9
OT
96272011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9628
9629 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9630 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9631
183fc730
LL
96322011-09-07 Leo Liu <sdl.web@gmail.com>
9633
9634 * net/rcirc.el (rcirc-mode): Conditionally initialize
9635 rcirc-input-ring.
9636
77694924
SM
96372011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * emacs-lisp/find-func.el (find-function-C-source): Only set
9640 find-function-C-source-directory after checking that we found a source
9641 file there (bug#9440).
9642
d809b8eb
AM
96432011-09-06 Alan Mackenzie <acm@muc.de>
9644
9645 * isearch.el (isearch-other-meta-char): Wherever a key list is
9646 unread, "unread" the prefix arg, too. This fixes bug #8901.
9647
453de99f
OG
96482011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9649
9650 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9651
90439906
JL
96522011-09-05 Juri Linkov <juri@jurta.org>
9653
9654 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9655
f62bd846
JL
96562011-09-05 Juri Linkov <juri@jurta.org>
9657
9658 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9659 keeping point where processing of grep matches begins, and
9660 continue to delete remaining escape sequences from the same point.
9661 (grep-filter): Make leading zero optional in "0?1;31m" because
9662 git-grep emits "\033[1;31m" escape sequences unlike expected
9663 "\033[01;31m" as GNU Grep does (bug#9408).
9664 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9665
045820ec
JL
96662011-09-05 Juri Linkov <juri@jurta.org>
9667
9668 * subr.el (y-or-n-p): Capitalize "yes".
9669
f5e29b9b
MA
96702011-09-04 Michael Albinus <michael.albinus@gmx.de>
9671
9672 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9673 `tramp-cache-unload-hook' where appropriate.
9674 (tramp-methods): Rename `tramp-remote-sh' to
9675 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9676 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9677
9678 * net/tramp-sh.el (top): Don't require 'shell.
9679 (tramp-methods): Add `tramp-remote-shell' and
9680 `tramp-remote-shell-args' entries.
9681 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9682 (tramp-sh-handle-shell-command): Remove.
9683 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9684 Use `tramp-remote-shell'.
9685
2784c434
CY
96862011-09-03 Chong Yidong <cyd@stupidchicken.com>
9687
393a301e 9688 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9689 (sendmail-query-once): Save directly to send-mail-function.
9690 Update message-send-mail-function too.
9691
9692 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9693
464cdf56
CS
96942011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9695
9696 * progmodes/python.el (python-mode-map): Use correct function to
9697 start python interpreter from menu-bar (as reported by Geert
9698 Kloosterman).
9699 (inferior-python-mode-map): Fix typo.
393a301e 9700 (python-shell-map): Remove.
464cdf56 9701
d37e5c87
DD
97022011-09-03 Deniz Dogan <deniz@dogan.se>
9703
9704 * net/rcirc.el (rcirc-print): Simplify code for
9705 rcirc-scroll-show-maximum-output. There is no need to walk
9706 through all windows to find the right one.
9707
f3ada0ee
CS
97082011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9709
9710 * help.el (help-return-method): Doc fix.
9711
1f3c99ca
MR
97122011-09-03 Martin Rudalics <rudalics@gmx.at>
9713
9714 * window.el (window-deletable-p): Don't return a non-nil value
9715 when there's a buffer that was shown in the window before.
9716 (Bug#9419)
393a301e
SM
9717 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9718 Set window's previous buffers to nil.
1f3c99ca 9719
a3cf097f
EZ
97202011-09-03 Eli Zaretskii <eliz@gnu.org>
9721
9722 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9723 newline before and after the tag line, so it doesn't interfere
9724 with determining the paragraph direction of bidirectional text.
9725
3d03de90
LL
97262011-09-03 Leo Liu <sdl.web@gmail.com>
9727
9728 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9729
c3313451
CY
97302011-09-02 Chong Yidong <cyd@stupidchicken.com>
9731
393a301e 9732 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9733 (pop-to-buffer): Change interactive spec. Pass second argument
9734 directly to display-buffer.
9735 (display-buffer): Fix interactive spec. Use functionp to
9736 distinguish between a function and a list of functions.
9737
9738 * abbrev.el (edit-abbrevs):
9739 * arc-mode.el (archive-extract):
9740 * autoinsert.el (auto-insert):
9741 * bookmark.el (bookmark-bmenu-list):
9742 * files.el (find-file):
9743 * view.el (view-buffer):
9744 * progmodes/compile.el (compilation-goto-locus):
9745 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9746
89894cd8
CY
97472011-09-02 Chong Yidong <cyd@stupidchicken.com>
9748
9749 * window.el (display-buffer-alist): Doc fix.
9750 (display-buffer): Add docstring. Don't treat
9751 display-buffer-default specially.
9752 (display-buffer-reuse-selected-window)
9753 (display-buffer-same-window, display-buffer-maybe-same-window)
9754 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9755 (display-buffer-pop-up-window)
9756 (display-buffer-reuse-or-pop-window)
9757 (display-buffer-use-some-window): New functions.
9758 (display-buffer-default-action): Use them.
393a301e 9759 (display-buffer-default): Delete.
89894cd8
CY
9760 (pop-to-buffer-1): Fix choice of actions.
9761
ae0bc9fb
SM
97622011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * minibuffer.el (completion--insert-strings): Don't get confused by
9765 completion entries that end with an LF char.
9766
e9d90883
EZ
97672011-09-01 Eli Zaretskii <eliz@gnu.org>
9768
9769 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9770
437014c8
CY
97712011-09-01 Chong Yidong <cyd@stupidchicken.com>
9772
9773 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9774 (display-buffer-same-window, display-buffer-other-window):
9775 New functions.
437014c8
CY
9776 (pop-to-buffer-1): New function. Use the above.
9777 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9778 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9779
9780 * view.el (view-buffer-other-window, view-buffer-other-frame):
9781 Just use pop-to-buffer.
9782
a5e063d5
TV
97832011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9784
9785 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9786
793d32bb
WH
97872011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9788
9789 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9790
d65e4c15
RS
97912011-08-31 Richard Stallman <rms@gnu.org>
9792
9793 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9794 of the separation of rmail-view-buffer from rmail-buffer.
9795 If you say no to "replace original", the decrypt is in the
9796 view buffer. If you say yes, the decrypt goes into the
9797 rmail buffer also.
9798
f818cd2a
MR
97992011-08-31 Martin Rudalics <rudalics@gmx.at>
9800
9801 * window.el (display-buffer-window): Rewrite doc-string.
9802 (display-buffer-record-window): New function.
9803 (display-buffer-macro-specifiers)
9804 (display-buffer-even-window-sizes, display-buffer-set-height)
9805 (display-buffer-set-width, display-buffer-in-window)
9806 (display-buffer-reuse-window, display-buffer-split-specifiers)
9807 (display-buffer-side-specifiers, display-buffer-split-window-1)
9808 (display-buffer-split-window, display-buffer-split-atom-window)
9809 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9810 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9811 (display-buffer-other-window-means-other-frame)
9812 (display-buffer-normalize-special)
9813 (display-buffer-normalize-default)
9814 (display-buffer-normalize-argument)
9815 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9816 (display-buffer-normalize-specifiers, display-buffer-frame)
9817 (display-buffer-same-window, display-buffer-same-frame)
9818 (display-buffer-other-window)
9819 (display-buffer-same-frame-other-window)
9820 (display-buffer-other-frame, pop-to-buffer-same-window)
9821 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9822 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9823 (switch-to-buffer-same-frame)
9824 (switch-to-buffer-other-window-same-frame)
9825 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9826 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9827 (display-buffer-alist-set): Remove.
9828 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9829 (special-display-regexps, special-display-function):
9830 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9831 parameter.
9832 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9833 (special-display-frame-alist, special-display-popup-frame)
9834 (same-window-buffer-names, same-window-regexps, same-window-p)
9835 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9836 (split-window-preferred-function, split-height-threshold)
9837 (split-width-threshold, window-splittable-p)
9838 (split-window-sensibly, window--try-to-split-window)
9839 (window--frame-usable-p, even-window-heights)
9840 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9841 (window--display-buffer-2, display-buffer-other-frame):
9842 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9843 (display-buffer-default, display-buffer-assq-regexp): New functions.
9844 (display-buffer-alist): Rewrite doc-string.
9845 (display-buffer-default-action)
9846 (display-buffer-overriding-action): New variables.
9847 (display-buffer, switch-to-buffer): Rewrite.
9848 (pop-to-buffer): Restore Emacs 23 behavior but use
9849 window-normalize-buffer-to-display.
9850 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9851 Restore Emacs 23 behavior but use
9852 window-normalize-buffer-to-switch-to.
9853 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9854 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9855 Rewrite using Emacs 23 options.
f818cd2a 9856
5bc3b51d
MA
98572011-08-31 Michael Albinus <michael.albinus@gmx.de>
9858
9859 * net/tramp.el (tramp-root-regexp): Remove.
9860 (tramp-completion-file-name-regexp-unified)
9861 (tramp-completion-file-name-regexp-separate)
9862 (tramp-completion-file-name-regexp-url): Don't use leading volume
9863 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9864 (tramp-drop-volume-letter): Simplify definition.
9865 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9866
b1a4f8e1
SM
98672011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9870 (bug#9356).
9871
5664fa7b
RT
98722011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9873
b1a4f8e1 9874 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9875
9a45d6c3
JL
98762011-08-29 Juri Linkov <juri@jurta.org>
9877
9878 * isearch.el (isearch-done): Don't display message "Mark saved"
9879 when arg `edit' is non-nil to prevent its flicker in the echo area.
9880
fb87e0fb
CY
98812011-08-28 Chong Yidong <cyd@stupidchicken.com>
9882
9883 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9884 obsolete packages for deletion.
9885
09ac1c2a
CS
98862011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9887
9888 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9889 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9890 view-mode from help-mode.
9891 (help-xref-override-view-map): Remove.
9892 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9893 view-mode is not used anymore.
9894
7a1ff57f
CY
98952011-08-28 Chong Yidong <cyd@stupidchicken.com>
9896
9897 * server.el (server-port): Doc fix.
9898
b9696605
CY
9899 * cus-theme.el (custom-theme-choose-mode): Inherit from
9900 special-mode (Bug#9124).
9901 (custom-theme-choose-mode-map): Add special-mode to parent.
9902
ef8cdf8c
AM
99032011-08-28 Alan Mackenzie <acm@muc.de>
9904
9905 * progmodes/cc-fonts.el
9906 (c-make-font-lock-BO-decl-search-function): New function.
9907 (c-basic-matchers-after - "Fontify the clauses after various
9908 keywords"): Extract the three keyword lists for the 3 erroneous
9909 constructs from the list of four, and use the new function above
9910 in place of an old one.
9911
27de4e20
DD
99122011-08-28 Deniz Dogan <deniz@dogan.se>
9913
9914 * net/rcirc.el (rcirc-insert-prev-input)
9915 (rcirc-insert-next-input): Remove unused argument.
9916
356a3681
SM
99172011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9920
3fc9b218
AM
99212011-08-27 Alan Mackenzie <acm@muc.de>
9922
9923 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9924 handle function pointer parameters properly.
9925
538a061c
MR
99262011-08-27 Martin Rudalics <rudalics@gmx.at>
9927
9928 * window.el (display-buffer-reuse-window): Fix case where
9929 selected window was reused with non-nil OTHER-WINDOW argument.
9930 (Bug#9381)
9931
35b1c40c
DD
99322011-08-27 Deniz Dogan <deniz@dogan.se>
9933
9934 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9935 oftc's NickServ messages.
9936
2f6a3e79
GM
99372011-08-27 Glenn Morris <rgm@gnu.org>
9938
9939 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9940
7254299e
CY
99412011-08-26 Chong Yidong <cyd@stupidchicken.com>
9942
9943 * emacs-lisp/package.el (package-install): Call package-initialize
9944 if called interactively.
9945
f8ccf167
LL
99462011-08-26 Leo Liu <sdl.web@gmail.com>
9947
9948 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9949
3e8cd5ce
JL
99502011-08-25 Juri Linkov <juri@jurta.org>
9951
9952 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9953 `search-whitespace-regexp' (bug#9364).
9954
93eb7113
JL
99552011-08-25 Juri Linkov <juri@jurta.org>
9956
9957 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9958 `regexp-search-ring' to their global values to protect from
9959 updating by `read-from-minibuffer' (bug#9185).
9960
f65d1611
JL
99612011-08-25 Juri Linkov <juri@jurta.org>
9962
9963 * textmodes/ispell.el (ispell-command-loop): Add newline
9964 at the end of the "Use option `i'..." line.
9965
f1cf7a31
JL
99662011-08-25 Juri Linkov <juri@jurta.org>
9967
9968 * battery.el (display-battery-mode): If `battery-status-function'
9969 or `battery-mode-line-format' is nil, display the message and set
9970 `display-battery-mode' to nil (bug#9363).
9971
0c95fcf7
EZ
99722011-08-25 Eli Zaretskii <eliz@gnu.org>
9973
9974 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9975 bidi-string-mark-left-to-right; they are unnecessary now.
9976
a2ebe600
DD
99772011-08-25 Deniz Dogan <deniz@dogan.se>
9978
9979 * net/quickurl.el: Documentation typo fixes.
9980
e4ed06f1
CY
99812011-08-25 Chong Yidong <cyd@stupidchicken.com>
9982
9983 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9984
e5f1c99e
GM
99852011-08-25 Glenn Morris <rgm@gnu.org>
9986
b2948976
GM
9987 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9988
e5f1c99e
GM
9989 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9990 (smtpmail-via-smtp): Handle nil response from smtp.
9991
f22f4808
JL
99922011-08-24 Juri Linkov <juri@jurta.org>
9993
9994 * proced.el (proced-marked): Inherit from `error' instead of
9995 `font-lock-warning-face'.
9996
9997 * ibuffer.el (ibuffer-marked-face): Change default face from
9998 `font-lock-warning-face' to `warning'.
9999 (ibuffer-deletion-face): Change default face from
10000 `font-lock-type-face' to `error'.
10001
10002 * battery.el (battery-update): Use the face `error' instead of
10003 `font-lock-warning-face' (bug#6117).
10004
6a93965e
JL
100052011-08-24 Juri Linkov <juri@jurta.org>
10006
10007 * faces.el (success): Change face color from "Green3" to
10008 "ForestGreen" on light background (bug#9353).
10009
1ed43b09
CY
100102011-08-24 Chong Yidong <cyd@stupidchicken.com>
10011
5664fa7b
RT
10012 * window.el (quit-window): Rename from quit-restore-window.
10013 Use same arglist as old quit-window.
1ed43b09
CY
10014 (frame-auto-delete): Doc fix.
10015
10016 * view.el (view-mode-exit): Use quit-window.
10017
11dcdbb2
JL
100182011-08-24 Juri Linkov <juri@jurta.org>
10019
10020 * isearch.el (isearch-ring-adjust1): Start visiting previous
10021 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10022 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10023 for empty search string (when the last search string is reused
10024 automatically) to adjust the isearch ring to the last element and
10025 prepare the correct index for further M-p commands (bug#9185).
10026
de62b4df
KH
100272011-08-24 Kenichi Handa <handa@m17n.org>
10028
10029 * international/ucs-normalize.el: If decomposition property of
10030 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10031 nil.
10032 (nfd, nfkd): Likewise.
10033
963b492b
SM
100342011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10037 from process filters aren't reliably transmitted to the surrounding
10038 accept-process-output.
10039 (mpc-proc-check): New function.
10040 (mpc-proc-sync): Use it (bug#8293)
10041
93b6b5e1
SM
100422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10043
10044 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10045 Add compatibility functions (bug#9313).
10046
bca633fb
EZ
100472011-08-23 Eli Zaretskii <eliz@gnu.org>
10048
b177498a
EZ
10049 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10050
6df6ae42 10051 * international/uni-bidi.el: Regenerate.
bca633fb 10052
0902a04e
KH
100532011-08-23 Kenichi Handa <handa@m17n.org>
10054
10055 * international/charprop.el:
10056 * international/uni-bidi.el:
10057 * international/uni-category.el:
10058 * international/uni-combining.el:
10059 * international/uni-comment.el:
10060 * international/uni-decimal.el:
10061 * international/uni-decomposition.el:
10062 * international/uni-digit.el:
10063 * international/uni-lowercase.el:
10064 * international/uni-mirrored.el:
10065 * international/uni-name.el:
10066 * international/uni-numeric.el:
10067 * international/uni-old-name.el:
10068 * international/uni-titlecase.el:
10069 * international/uni-uppercase.el: Regenerate.
10070
3bbf23bc
MR
100712011-08-23 Martin Rudalics <rudalics@gmx.at>
10072
10073 * help.el (help-window-setup): Fix message displayed when other
10074 window is reused. (Bug#9341)
10075
b3fd59bd
SM
100762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10077
1802e444
SM
10078 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10079 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10080
b3fd59bd
SM
10081 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10082 Mark obsolete.
10083 * shell.el (shell-parse-pcomplete-arguments): New function.
10084 (shell-completion-vars): Use it instead (bug#9160).
10085
4eb61348
SM
100862011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10087
867cab74
SM
10088 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10089 strings and comments (bug#9333).
10090
4eb61348
SM
10091 * emacs-lisp/debug.el (debug-arglist): New function.
10092 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10093 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10094
262a1439
JL
100952011-08-22 Juri Linkov <juri@jurta.org>
10096
56ee679c
JL
10097 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10098 Revert regexp that highlights output switches to its old
10099 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10100
262a1439
JL
10101 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10102 to check for empty output (bug#9226).
10103
f13f86fb
CY
101042011-08-22 Chong Yidong <cyd@stupidchicken.com>
10105
10106 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10107 symbol-constituent as the default, as that stops font-lock from
10108 working properly (Bug#8843).
10109
c65c9622
LMI
101102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10111
10112 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10113 `coding-system-for-*' around the process open call to avoid
10114 auth-source side effects.
e7f2c178 10115 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10116 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10117 probe hangs.
c65c9622 10118
23a8a5ab
CY
101192011-08-21 Chong Yidong <cyd@stupidchicken.com>
10120
ff98b2dd
CY
10121 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10122
23a8a5ab
CY
10123 * emacs-lisp/find-func.el (find-function-noselect): New arg
10124 lisp-only.
10125
10126 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10127 signal an error for built-in functions (Bug#6664).
10128
f5e3c598
LMI
101292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10130
10131 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10132 (smtpmail-try-auth-methods): Use it.
10133
a3f2468a
CY
101342011-08-21 Chong Yidong <cyd@stupidchicken.com>
10135
2c34e8da
CY
10136 * font-lock.el (font-lock-fontify-region)
10137 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10138 (font-lock-default-unfontify-buffer)
10139 (font-lock-default-fontify-region)
10140 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10141
b3fd59bd
SM
10142 * progmodes/compile.el (compilation-error-properties):
10143 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10144 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10145 `ant' regexp.
ee31aabc 10146
a3f2468a
CY
10147 * net/browse-url.el (browse-url-firefox): Don't call
10148 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10149
8e999f70
GM
101502011-08-20 Glenn Morris <rgm@gnu.org>
10151
c21a496a
GM
10152 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10153
59ee0542
GM
10154 * tutorial.el (tutorial--default-keys): Update some default bindings.
10155
8e999f70
GM
10156 * files.el (hack-local-variables): Fully ignore case for "mode:".
10157
e3715033
AM
101582011-08-20 Alan Mackenzie <acm@muc.de>
10159
10160 Resolve invalid use of a regexp in regexp-opt.
10161
4d61f28d
JB
10162 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10163 detection for a java annotation.
e3715033 10164
4d61f28d 10165 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10166 detection for a java annotation.
10167
4d61f28d
JB
10168 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10169 handling for java.
e3715033
AM
10170 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10171
04ed2e9c
CY
101722011-08-20 Chong Yidong <cyd@stupidchicken.com>
10173
10174 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10175 (Bug#9274).
10176
826cee64
AM
101772011-08-20 Alan Mackenzie <acm@muc.de>
10178
58179cce 10179 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10180 such a construct. Mainly for when jit-lock etc. starts a chunk
10181 here.
10182
58179cce 10183 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10184 variable.
58179cce 10185 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10186 c-make-font-lock-search-function.
10187 (c-make-font-lock-search-function): Use the above function.
10188 (c-make-font-lock-context-search-function): New function.
10189 (c-cpp-matchers): Enhance the preprocessor expression case with
10190 the above function
10191 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10192 which takes an expression.
10193
10194 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10195
13009bd8
MR
101962011-08-20 Martin Rudalics <rudalics@gmx.at>
10197
10198 * window.el (display-buffer-reuse-window)
10199 (display-buffer-pop-up-window): Don't reuse or split a side
10200 window.
10201
9234ff7f
GM
102022011-08-19 Glenn Morris <rgm@gnu.org>
10203
10204 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10205 Downcase "Mode:". (Bug#9331)
9234ff7f 10206
f635daa1
CY
102072011-08-18 Chong Yidong <cyd@stupidchicken.com>
10208
10209 * international/characters.el: Add L and R categories.
10210
10211 * subr.el (bidi-string-mark-left-to-right): Rename from
10212 string-mark-left-to-right. Use category search.
10213
10214 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10215
bc987f8b
JL
102162011-08-18 Juri Linkov <juri@jurta.org>
10217
10218 * faces.el (error, warning, success): New faces with definitions
10219 copied from old default values of `font-lock-warning-face',
10220 `compilation-warning', `compilation-info' (bug#6117).
10221
10222 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10223
10224 * progmodes/compile.el (compilation-error): Inherit from `error'.
10225 (compilation-warning): Inherit from `warning'.
10226 (compilation-info): Inherit from `success'.
10227
10228 * dired.el (dired-marked): Inherit from `warning'.
10229 (dired-flagged): Inherit from `error'.
10230
57173b96
LMI
102312011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10232
3e79eb87
LMI
10233 * mail/smtpmail.el (auth-source): Require to avoid problems with
10234 binding variables (bug#9298). Also clean up some unused
10235 autoloads.
10236
b3fd59bd
SM
10237 * net/network-stream.el (network-stream-open-starttls):
10238 Support using starttls.el without using gnutls-cli.
57173b96 10239
02b404de
JL
102402011-08-17 Juri Linkov <juri@jurta.org>
10241
10242 * progmodes/grep.el (rgrep): Handle the case when
10243 `grep-find-command' is a cons cell (bug#9278).
10244
8c9177f2
MR
102452011-08-17 Martin Rudalics <rudalics@gmx.at>
10246
10247 * window.el (display-buffer-pop-up-frame): Run frame creation
10248 function with BUFFER current (as special-display-popup-frame
10249 does). Reported by Drew Adams.
10250
3644a0ab
DU
102512011-08-17 Daiki Ueno <ueno@unixuser.org>
10252
10253 * epa-mail.el: Simplify GnuPG group expansion using
10254 epg-expand-group.
10255 (epa-mail-group-alist, epa-mail-group-modtime)
10256 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10257 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10258 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10259 Remove.
10260
5e617bc2 102612011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10262
10263 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10264
9c4aeabf
AM
102652011-08-16 Alan Mackenzie <acm@muc.de>
10266
10267 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10268 Correct, to avoid the inside of macros.
10269
3a99bf64
RS
102702011-08-16 Richard Stallman <rms@gnu.org>
10271
04963aa8
RS
10272 * epa-mail.el: Handle GnuPG group definitions.
10273 (epa-mail-group-alist, epa-mail-group-modtime)
10274 (epa-mail-gnupg-conf-file): New variables.
10275 (epa-mail-parse-groups, epa-mail-sync-groups)
10276 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10277 (epa-mail-expand-recipients): New functions.
10278 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10279
177549d0
RS
10280 * mail/rmail.el (rmail-epa-decrypt): New command.
10281
fe38beef
RS
10282 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10283 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10284 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10285 (epa-decrypt-armor-in-region): Make error message clearer.
10286
934eacb9
SM
102872011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10290 and "a2b" to "ab" for `prefix'.
10291
d024fb4e
CY
102922011-08-14 Chong Yidong <cyd@stupidchicken.com>
10293
10294 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10295 filter groups.
de148fee
CY
10296 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10297 Fourquet (Bug#8804).
d024fb4e 10298
62f1ca49
JB
102992011-08-12 Juanma Barranquero <lekktu@gmail.com>
10300
10301 * startup.el (argi): Declare as global variable (bug#9275).
10302
9ccaaa4b
CY
103032011-08-12 Chong Yidong <cyd@stupidchicken.com>
10304
10305 * subr.el (string-mark-left-to-right): Search the entire string
10306 for RTL script, not just the terminating character. Doc fix.
10307
a3dae87a
SM
103082011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10309
6cd18349
SM
10310 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10311 New function.
10312 (js--regexp-literal, js-syntax-propertize-function): Remove.
10313 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10314 (js-mode-map): Don't rebind electric keys.
10315 (js-insert-and-indent): Remove.
10316 (js-mode): Setup electric-layout and electric-indent instead.
10317
a3dae87a
SM
10318 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10319
9d5cb631
DU
103202011-08-12 Daiki Ueno <ueno@unixuser.org>
10321
10322 * epa.el (epa-progress-callback-function): Fix the logic of
10323 displaying progress.
10324 * epa-file.el (epa-file-insert-file-contents): Make progress
10325 display more user-friendly.
10326 (epa-file-write-region): Ditto.
10327
3e26a4a2
CY
103282011-08-10 Chong Yidong <cyd@stupidchicken.com>
10329
10330 * subr.el (string-mark-left-to-right): New function.
10331
10332 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10333 Use string-mark-left-to-right.
10334 (list-buffers-noselect): Caller changed.
10335
a3dae87a
SM
10336 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10337 Use string-mark-left-to-right.
3e26a4a2
CY
10338 (tabulated-list-print): Recenter after moving point.
10339
ac8cf6e6
JL
103402011-08-10 Juri Linkov <juri@jurta.org>
10341
10342 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10343 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10344 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10345
8d96c9a4
CY
103462011-08-09 Chong Yidong <cyd@stupidchicken.com>
10347
10348 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10349 (Bug#7554).
10350
7be1c708 103512011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10352
10353 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10354 character. (Bug#6594)
10355
37e11a63
CY
103562011-08-08 Chong Yidong <cyd@stupidchicken.com>
10357
839dde57
CY
10358 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10359 (image-dired--with-db-file): New macro.
10360 (image-dired-write-tags, image-dired-remove-tag)
10361 (image-dired-create-gallery-lists, image-dired-write-comments)
10362 (image-dired-get-comment, image-dired-mark-tagged-files)
10363 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10364 (image-dired-gallery-generate): Use insert-file-contents.
10365
37e11a63
CY
10366 * time.el (display-time-world-list, display-time-world-display):
10367 * time-stamp.el (time-stamp-string):
10368 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10369 set-time-zone-rule (Bug#7337).
10370
0b4946c4
DU
103712011-08-08 Daiki Ueno <ueno@unixuser.org>
10372
10373 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10374 (epg-error-to-string, epg-errors-to-string): New function.
10375 (epg-wait-for-completion): Reverse errors list.
10376 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10377 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10378 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10379 (epg-sign-keys, epg-generate-key-from-file)
10380 (epg-generate-key-from-string): Format errors by using
10381 epg-errors-to-string (bug#9255).
10382 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10383
75bfc667
JL
103842011-08-07 Juri Linkov <juri@jurta.org>
10385
10386 * faces.el (list-faces-display): Remove extra angle bracket
10387 from `help-mode-map'.
10388
10389 * info.el (Info-history-toc-nodes): Doc fix.
10390
10391 * longlines.el (longlines-mode): Doc fix.
10392
673e08bb
SM
103932011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10394
4640dd88
SM
10395 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10396 of statements and in a few more cases (bug#9183).
10397
673e08bb
SM
10398 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10399 New functions.
10400 (cl-transform-lambda): Use them (bug#9239).
10401
89b3f019
MR
104022011-08-05 Martin Rudalics <rudalics@gmx.at>
10403
10404 * window.el (display-buffer-same-window)
10405 (display-buffer-same-frame, display-buffer-other-window)
10406 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10407 (pop-to-buffer-other-window)
10408 (pop-to-buffer-same-frame-other-window)
10409 (pop-to-buffer-other-frame): Make them defuns.
10410 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10411
640c8776
SM
104122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * subr.el (make-composed-keymap): Move from C. Change calling
10415 convention, and improve docstring to bring attention to a subtle point.
10416 * minibuffer.el (completing-read-default): Adjust accordingly.
10417
63648a95
MA
104182011-08-03 Michael Albinus <michael.albinus@gmx.de>
10419
10420 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10421 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10422
10423 * net/trampver.el: Update release number.
10424
b796c9b7
SM
104252011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10428 "in" (bug#9190).
10429
2239d7d5
LMI
104302011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10431
e07dd7c3
LMI
10432 * mail/sendmail.el (sendmail-query-once): Restore the current
10433 buffer after querying (bug#9074).
10434
0e6a2bd7
LMI
10435 * dired.el (dired-flagged): Use different faces for marked and
10436 flagged files (bug#6117).
10437
ce887515
LMI
10438 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10439 (bug#4433).
10440
92f2affc
LMI
10441 * ido.el (ido-mode): Switch off the message if called
10442 non-interactively.
10443
57d5aff0
LMI
10444 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10445 before 587, since it appears that that's more likely to work for
10446 more people.
10447
98cd6c18 10448 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10449 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10450 exist.
10451
b96dec83
LMI
10452 * info.el: Remove the `Info-beginning-of-buffer' function
10453 (bug#8325).
10454
b796c9b7
SM
10455 * net/network-stream.el (network-stream-open-starttls):
10456 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10457
d90e2ea0
MR
104582011-08-01 Martin Rudalics <rudalics@gmx.at>
10459
10460 * window.el (display-buffer-in-window): Don't set dedicated status
10461 of window here (Bug#9215).
10462 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10463 (display-buffer-pop-up-side-window)
b796c9b7 10464 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10465
cca09170
SM
104662011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10469 before binding generated-autoload-file.
10470
027b979c
DD
104712011-08-01 Deniz Dogan <deniz@dogan.se>
10472
10473 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10474
3c7ee4f3
MA
104752011-07-30 Michael Albinus <michael.albinus@gmx.de>
10476
10477 Sync with Tramp 2.2.2.
10478
10479 * net/trampver.el: Update release number.
10480
2cc8e51a
JL
104812011-07-30 Juri Linkov <juri@jurta.org>
10482
10483 * dired-aux.el (dired-touch-initial): Remove function.
10484 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10485 current time, and `default' to the last modification time of the
10486 current marked file (bug#6887).
10487
a514d856
JM
104882011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10489
10490 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10491 numeric argument to read-number (bug#9163).
a514d856 10492
8a7eddd7
MA
104932011-07-27 Michael Albinus <michael.albinus@gmx.de>
10494
10495 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10496 connection process, it could be nil.
10497
1ddd96f5
LL
104982011-07-27 Leo Liu <sdl.web@gmail.com>
10499
10500 Simplify url handling in rcirc-mode.
10501
10502 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10503 (rcirc-browse-url-at-mouse): Remove.
10504 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10505
b248a85d
AM
105062011-07-26 Alan Mackenzie <acm@muc.de>
10507
10508 Fontify bitfield declarations properly.
10509
10510 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10511 (c-symbol-chars): Now exported as a lang variable.
10512 (c-not-primitive-type-keywords): New lang variable.
10513
10514 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10515 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10516 parsed as a bitfield declaration.
b248a85d 10517
b796c9b7
SM
10518 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10519 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10520 (c-punctuation-in): New function.
10521 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10522 declarations properly.
10523
68575ab0
UJ
105242011-07-26 Ulf Jasper <ulf.jasper@web.de>
10525
10526 * calendar/icalendar.el (icalendar--all-events): Take care of
10527 multiple vcalendars in a single file.
b796c9b7 10528 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10529
0f0a88b9
DD
105302011-07-25 Deniz Dogan <deniz@dogan.se>
10531
10532 * image.el (insert-image): Clarifying docstring.
10533
0b3f36df
MA
105342011-07-24 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10537 `tramp-send-command-and-check' if there is no error.
10538 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10539
a9901f61
AM
105402011-07-22 Alan Mackenzie <acm@muc.de>
10541
10542 Prevent cc-langs.elc being loaded at run time.
10543
10544 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10545 cc-langs.
10546
4d61f28d 10547 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10548 "(require 'cc-langs)". Quote a form so it will evaluate at
10549 (cc-mode's) compilation time.
10550
11d074b2
MA
105512011-07-22 Michael Albinus <michael.albinus@gmx.de>
10552
10553 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10554 loading. (Bug#9114)
10555
938b94c8
MR
105562011-07-21 Martin Rudalics <rudalics@gmx.at>
10557
10558 * window.el (display-buffer-pop-up-window)
10559 (display-buffer-pop-up-side-window)
10560 (display-buffer-in-side-window): Call display-buffer-set-height
10561 and display-buffer-set-width after setting the new window's
b796c9b7 10562 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10563
bfa4f190
SS
105642011-07-20 Sam Steingold <sds@gnu.org>
10565
10566 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10567 (etags-tags-included-tables): Call `convert-standard-filename' on
10568 the file names contained in TAGS so that windows Emacs can handle
10569 TAGS files created by cygwin ctags.
10570
8ca42262
LMI
105712011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
10573 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10574 which apparently didn't work.
10575
5db2afd2 105762011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10577
5db2afd2
RW
10578 * proced.el (proced-send-signal): For *Marked Processes* buffer
10579 put point at beginning of buffer.
10580
92e15d10
SB
105812011-07-19 Stephen Berman <stephen.berman@gmx.net>
10582
10583 * proced.el (proced-format): Make header lines align with the text
10584 (bug#1779).
10585
1bfd59e5
LMI
105862011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
10588 * view.el (view-buffer): Allow running in `special' modes if we're
10589 visiting a file (bug#8615).
10590
f5aae37c
MR
105912011-07-19 Martin Rudalics <rudalics@gmx.at>
10592
10593 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10594 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10595 New functions.
f5aae37c
MR
10596 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10597 more accurately.
10598
bf2c1571
AM
105992011-07-18 Alan Mackenzie <acm@muc.de>
10600
10601 Fontify declarators properly when, e.g., a jit-lock chunk begins
10602 inside a declaration.
10603
10604 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10605
b796c9b7
SM
10606 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10607 New function.
bf2c1571
AM
10608 (c-complex-decl-matchers): Insert reference to
10609 c-font-lock-enclosing-decls.
10610
10611 * progmodes/cc-engine.el (c-backward-single-comment):
10612 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10613 to nil around calls to (forward-comment -1).
10614
4e190b80
LMI
106152011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10616
12dc863d
LMI
10617 * image.el (put-image): Doc typo fix.
10618
a762e966
LMI
10619 * progmodes/etags.el (tags-search): Doc typo fix.
10620
4e190b80
LMI
10621 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10622 password if we get errors 550 to 554.
10623
f019fb21
LMI
106242011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10625
b796c9b7 10626 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10627
81746738
LMI
10628 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10629 indentation character (bug#6380).
10630
3ee3a1b5
LMI
10631 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10632
c82f64de
LMI
10633 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10634 to clarify what the problem is (bug#4291).
10635
f019fb21
LMI
10636 * simple.el (current-kill): Clarify what
10637 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10638 (auto-fill-mode): Document `auto-fill-function' in relation to
10639 `auto-fill-mode' (bug#2470).
f019fb21 10640
0794775d
LM
106412011-07-16 Lawrence Mitchell <wence@gmx.li>
10642
10643 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10644 method if slot is read-only (bug#9035).
10645
be39b8cc
MR
106462011-07-16 Martin Rudalics <rudalics@gmx.at>
10647
b796c9b7 10648 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10649 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10650 selected before, see discussion of (Bug#8615), (Bug#6954).
10651 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10652
6ccf7859
GM
106532011-07-15 Glenn Morris <rgm@gnu.org>
10654
10655 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10656 Respect help-form.
6ccf7859 10657
87e86684
LM
106582011-07-09 Lawrence Mitchell <wence@gmx.li>
10659
10660 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10661 (gnutls-negotiate): Use it.
10662
d6066239
LMI
106632011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
b796c9b7
SM
10665 * net/gnutls.el (gnutls-negotiate):
10666 Upcase `gnutls-algorithm-priority'.
d6066239 10667
bd23ebc0
GM
106682011-07-15 Glenn Morris <rgm@gnu.org>
10669
c65bca65
GM
10670 * jka-compr.el (jka-compr-verbose): Move from here...
10671 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10672 Add missing :version tag.
10673 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10674
478615cc
LMI
106752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10676
7b41decb
LMI
10677 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10678 (gnutls-negotiate): Use it.
10679
dbc44fcd
LMI
10680 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10681
06789f97
LMI
10682 * info.el (Info-beginning-of-buffer): New command.
10683 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10684 announcing `b' as the key (bug#8325).
ab896c37 10685 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10686
c39da690
LMI
10687 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10688
3aa5f34b
LMI
10689 * international/mule-cmds.el
10690 (describe-specified-language-support): Make the error message
10691 clearer (bug#8905).
10692
4bf0979f
LMI
10693 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10694
478615cc
LMI
10695 * isearch.el (isearch-barrier): Add a doc string, since it's
10696 mentioned in a function doc string (bug#8678).
10697
75c68aa1
MR
106982011-07-15 Martin Rudalics <rudalics@gmx.at>
10699
10700 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10701 buffer argument (Bug#9083) and self-identifying label argument.
10702
a7c33da2
GM
107032011-07-15 Glenn Morris <rgm@gnu.org>
10704
10705 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10706
2f5c6024
LMI
107072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10708
10709 * man.el (Man-fontify-manpage): Fix message when formatting the
10710 man page (bug#7929).
10711
0bb23927 107122011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10713
10714 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10715 argument LRM; if non-nil, append an invisible LRM character to the
10716 buffer name.
10717 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10718 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10719 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10720 paragraph direction.
cce4b0a7 10721
621ef9ab
LMI
107222011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10723
d1583c48
LMI
10724 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10725 the man page name (bug#7929).
10726
6a57fb5f
LMI
10727 * image.el (put-image): Mention the `put-image' overlay property
10728 (bug#7834).
10729
d7956b14
LMI
10730 * scroll-bar.el (set-scroll-bar-mode): Mention that
10731 `scroll-bar-mode' lists the values (bug#7772).
10732
5b2d4a66
LMI
10733 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10734 command (bug#7729).
10735
7509a874
LMI
10736 * rect.el (apply-on-rectangle): Return the point after the last
10737 operation.
10738 (string-rectangle): Go to the point after the last operation
10739 (bug#7522).
10740
4fe74b19
LMI
10741 * printing.el (pr-toggle-region): Clarify the documentation
10742 slightly (bug#7493).
10743
b796c9b7
SM
10744 * time.el (display-time-update):
10745 Allow `display-time-mail-function' to return nil (bug#7158).
10746 Fix suggested by Detlev Zundel.
ab283561 10747
fc233c9d
LMI
10748 * vc/diff.el (diff): Clarify the order the file names are read
10749 (bug#7111).
10750
43f5740b
LMI
10751 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10752 the doc string (bug#7015).
10753
f2182a76
LMI
10754 * font-lock.el (font-lock-maximum-decoration): Mention what
10755 numeric levels mean (bug#6935).
10756
621ef9ab
LMI
10757 * startup.el (initial-buffer-choice): Don't mention the `none'
10758 selection, which is against policy.
10759
adc47434
MR
107602011-07-14 Martin Rudalics <rudalics@gmx.at>
10761
b796c9b7
SM
10762 * window.el (display-buffer-normalize-special):
10763 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10764
7e5bfb8f
EZ
107652011-07-14 Eli Zaretskii <eliz@gnu.org>
10766
10767 * subr.el (version<, version<=, version=): Mention "-CVS" and
10768 "-12345" alpha version numbers.
10769
27fa387a
CY
107702011-07-14 Chong Yidong <cyd@stupidchicken.com>
10771
10772 * bindings.el: Add advertised binding for set-mark-command
10773 (Bug#5772).
10774
8bdfa064
CY
107752011-07-14 Chong Yidong <cyd@stupidchicken.com>
10776
10777 * bindings.el (mode-line-other-buffer):
10778 * bookmark.el (bookmark-bmenu-2-window):
10779 * bs.el (bs-cycle-next, bs-cycle-previous):
10780 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10781 switch-to-buffer.
10782
10783 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10784 Delete.
8bdfa064 10785
5eba16a3
JB
107862011-07-14 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * follow.el (follow-debug-message, follow-redisplay):
10789 * jka-cmpr-hook.el (with-auto-compression-mode):
10790 Fix typos in docstrings.
10791
15853710
LMI
107922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10793
a28e4607
LMI
10794 * subr.el (with-silent-modifications): Clarify somewhat what the
10795 macro inhibits (bug#6525).
10796
15853710
LMI
10797 * simple.el (eval-expression): Note what it does if called
10798 interactively (bug#6495).
10799
bee0fcef
CY
108002011-07-13 Chong Yidong <cyd@stupidchicken.com>
10801
b796c9b7
SM
10802 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10803 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10804
10805 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10806 Remove switch-to-buffer.
10807
58274504
LMI
108082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10809
bd2fcc8d
LMI
10810 * files.el (make-directory): Clarify that an error will be raised
10811 if there's an error (bug#6397).
10812
0f04b32c
LMI
10813 * startup.el (initial-buffer-choice): Add `none' as a choice
10814 (bug#6234).
10815
465c5fc8
LMI
10816 * subr.el (add-hook): Clarify section about buffer-local hooks
10817 (bug#6218).
10818
58274504
LMI
10819 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10820
bead9a43
JB
108212011-07-13 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * tabify.el (untabify): Preserve the current column so that point
10824 doesn't move (bug#6032).
10825
3af98a7b
LMI
108262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10827
b796c9b7
SM
10828 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10829 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10830
6240145a
GM
108312011-07-13 Glenn Morris <rgm@gnu.org>
10832
10833 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10834 (dired-insert-directory): Give a message the first time
10835 if ls is found not to support --dired.
10836
1d8c2ccc
LMI
108372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10838
10839 * simple.el (toggle-truncate-lines): Clarify what is toggled
10840 (bug#5580). Text by Drew Adams.
10841
5fc4038e
CY
108422011-07-13 Chong Yidong <cyd@stupidchicken.com>
10843
10844 * simple.el (blink-matching-open): Make the error message from the
10845 last change less verbose.
10846
bf6012e5
DN
108472011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10848
10849 * font-lock.el (font-lock-comment-face): Use the high contrast
10850 "yellow" color for font-lock-comment-face on low color terminals
10851 using a dark background color (bug#4221).
10852
343c3b5a
LMI
108532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10854
7e9505c5
LMI
10855 * dired.el (dired-insert-set-properties): Make the doc string
10856 reflect what it does now (bug#5325).
10857
c26fdcf5
LMI
10858 * simple.el (blink-matching-open): Say that we were unable to find
10859 the match within the limit, if we're limited (bug#5122).
10860
bb388cc5
LMI
10861 * international/mule-cmds.el (prefer-coding-system): Add an
10862 example (bug#4869).
10863
343c3b5a
LMI
10864 * progmodes/etags.el (tags-search): Document `file-list-form'
10865 (bug#4731).
10866
2a517d45
LM
108672011-07-13 Lawrence Mitchell <wence@gmx.li>
10868
10869 * net/browse-url.el (browse-url-default-browser)
10870 (browse-url-browser-function): Make the default browser choice a
10871 bit more logical (bug#4300). Also clean up the doc string.
10872
b6c78ef2
JB
108732011-07-13 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10876 binary endings (bug#4440).
10877
1c4dd947
LMI
108782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10879
a2014063
LMI
10880 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10881 which can be pretty annoying (bug#8971).
10882
9c9c2d88
LMI
10883 * jka-compr.el (jka-compr-verbose): New variable, and use
10884 throughout (bug#8971).
10885
1c4dd947
LMI
10886 * info.el (Info-find-file): Fall back on the installation
10887 directory if we can't find the info node anywhere else.
10888
a1c9f41b
SO
108892011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10890
10891 * vc/vc.el (vc-revert-file):
10892 Don't set file time-stamp in the past. (Bug#5181)
10893
536f3d36
LMI
108942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10895
7152b011
LMI
10896 * files.el (after-find-file): Give a better error message when
10897 trying to find a symlink that points to a file that doesn't exist
10898 (bug#4398).
10899
536f3d36
LMI
10900 * progmodes/cc-vars.el: Remove (probably) misleading comment
10901 (bug#4396).
10902
460c0fba
JB
109032011-07-12 Johan Bockgård <bojohan@gnu.org>
10904
10905 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10906
7a6bda45
CY
109072011-07-12 Chong Yidong <cyd@stupidchicken.com>
10908
10909 * mouse-sel.el: Hack restoring functionality, while keeping
10910 compatibility with 2010-07-03 changes to mouse selection.
10911 (mouse-sel-primary-overlay): New var.
10912 (mouse-sel-selection-alist): Use it.
10913 (mouse-sel-mode): Doc fix; remove points that are default features
10914 of mouse.el.
10915
c79598ef
JB
109162011-07-12 Johan Bockgård <bojohan@gnu.org>
10917
10918 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10919 Fix previous fix (bug#2490).
10920
ff8be6ef
RW
109212011-07-12 Roland Winkler <winkler@gnu.org>
10922
b796c9b7
SM
10923 * textmodes/bibtex.el (bibtex-initialize):
10924 Use pop-to-buffer-same-window.
ff8be6ef
RW
10925 (bibtex-search-entries): Fix interactive call.
10926
296ba3ee
LMI
109272011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10928
f5242a02 10929 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10930 Fontise bytecomp Error lines more correctly (bug#2490).
10931 Fix suggested by Johan Bockgård.
f5242a02 10932
296ba3ee
LMI
10933 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10934
10935 * dired-x.el (dired-guess-default): Use `delete-dups'.
10936
f69fd0d2
CY
109372011-07-12 Chong Yidong <cyd@stupidchicken.com>
10938
10939 * dired.el (dired-mark-prompt):
10940 * dired-aux.el (dired-read-shell-command): Doc fix.
10941
eab5dc07
LMI
109422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10943
b796c9b7
SM
10944 * mail/sendmail.el (sendmail-query-once):
10945 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10946 emacs -Q.
10947
10948 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10949
eab5dc07
LMI
10950 * cus-edit.el (custom-file): Take an optional no-error variable.
10951 (customize-save-variable): Set the variable, and give a warning if
10952 running under "emacs -q".
10953
a1e65d42
JB
109542011-07-11 Juanma Barranquero <lekktu@gmail.com>
10955
10956 * loadhist.el (unload-feature-special-hooks):
10957 Add `auto-coding-functions', `fill-nobreak-predicate' and
10958 `find-directory-functions' (bug#5327).
10959
1d52da10
LMI
109602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10961
be958f1d
LMI
10962 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10963
5bedb26c
LMI
10964 * cus-edit.el (custom-guess-name-alist): -alist variables should
10965 use the `alist' type (bug#3120). Suggested by Drew Adams.
10966
1d52da10
LMI
10967 * printing.el: Add documentation to all the `pr-toggle-' commands.
10968
cd394be1 109692011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10970
10971 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10972 backends where it makes sense (bug#2623).
10973
dcc88d8a
LMI
109742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10975
c3de9feb
LMI
10976 * dired-x.el (dired-guess-default): Remove duplicate shell command
10977 entries (bug#2028).
8a93078b 10978 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10979 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10980
dcc88d8a
LMI
10981 * subr.el (remove-duplicates): New conveniency function.
10982
505e3645
LMI
109832011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10984
10985 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10986 (bug#1526).
10987
109882011-07-10 Martin Rudalics <rudalics@gmx.at>
10989
10990 * window.el (display-buffer-normalize-default): Don't invert
10991 meaning of even-window-heights. Reported by Eli Zaretskii
10992 <eliz@gnu.org>.
10993
455e4fa1
BR
109942011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10995
10996 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10997
8e0bc3e9
CY
109982011-07-10 Chong Yidong <cyd@stupidchicken.com>
10999
11000 * window.el (display-buffer): Fix arguments to
11001 display-buffer-reuse-window in last change.
11002
fa7c3228
CY
11003 * faces.el (link): Use a less saturated blue on light backgrounds.
11004
11005 * startup.el (fancy-startup-text, fancy-about-text)
11006 (fancy-startup-tail): Use font-lock faces, for background safety.
11007
c0a7f300
BN
110082011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11009
b796c9b7
SM
11010 * emulation/viper-cmd.el (viper-change-state-to-vi):
11011 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11012
4dc2a129
MR
110132011-07-09 Martin Rudalics <rudalics@gmx.at>
11014
11015 * window.el (display-buffer-default-specifiers): Remove.
11016 (display-buffer-macro-specifiers): Remove default specifiers.
11017 (display-buffer-alist): Default to nil.
b796c9b7 11018 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11019 (display-buffer-pop-up-window): Allow splitting internal
11020 windows. Check whether a live window was created.
11021 (display-buffer-other-window-means-other-frame)
11022 (display-buffer-normalize-arguments): Rename to
11023 display-buffer-normalize-argument and rewrite. Set the
11024 other-window specifier.
11025 (display-buffer-normalize-special): New function.
11026 (display-buffer-normalize-options): Rename to
11027 display-buffer-normalize-default and rewrite.
11028 (display-buffer-normalize-options-inhibit): Remove.
11029 (display-buffer-normalize-specifiers): Rewrite.
11030 (display-buffer): Process other-window specifier and call
11031 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11032 more faithfully.
b796c9b7 11033 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11034 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11035 (display-buffer-in-window, display-buffer-alist-set):
11036 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11037 <tassilo@member.fsf.org>.
11038
2d43b8c9
LL
110392011-07-09 Leo Liu <sdl.web@gmail.com>
11040
11041 * register.el (insert-register): Restore accidental change on
11042 2011-06-26. (Bug#9028)
11043
7f9b7c53
GM
110442011-07-09 Glenn Morris <rgm@gnu.org>
11045
11046 * subr.el (remq): Handle the empty list. (Bug#9024)
11047
f042cfd8
AS
110482011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11049
11050 * mail/sendmail.el (send-mail-function): No longer delay custom
11051 initialization.
11052 * custom.el (custom-initialize-delay): Doc fix.
11053
856b2f11
SM
110542011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11057
afae1d68
MA
110582011-07-08 Michael Albinus <michael.albinus@gmx.de>
11059
11060 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11061 human-friendly prompt.
11062
0757af94
SM
110632011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11066 provided by a particular plugin.
11067
d760b731
LMI
110682011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11069
11070 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11071 save customizations (with "emacs -Q"), just set the variable
11072 instead of erroring out.
11073
11074 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11075
cd79ce90
JL
110762011-07-08 Juri Linkov <juri@jurta.org>
11077
11078 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11079 (archive-zip-update-case): Use 7z if found by `executable-find'.
11080 The order of searching the available programs is the same as in
11081 `archive-zip-extract' (bug#8968).
11082
14cc04aa
CY
110832011-07-07 Chong Yidong <cyd@stupidchicken.com>
11084
11085 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11086 (menu-bar-options-menu): Tweak descriptions.
11087
0a1848ec
LMI
110882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11089
11090 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11091 menu items into verb phrases (bug#1421). Also refill to fit under
11092 80 columns.
11093
f5bd0689
CY
110942011-07-07 Chong Yidong <cyd@stupidchicken.com>
11095
538e85c6
CY
11096 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11097 (Info-read-node-name): Doc fix (Bug#1084).
11098
f5bd0689
CY
11099 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11100 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11101 (end-of-sexp, beginning-of-sexp)
11102 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11103 (forward-symbol, forward-same-syntax, word-at-point)
11104 (sentence-at-point): Doc fix (Bug#1144).
11105
56ec5115
LMI
111062011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107
f3f8e37f
LMI
11108 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11109 should cover it (bug#1281).
11110
0757af94 11111 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11112
e9fce1ac 11113 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11114 negotiation fails, then possibly try again with a non-encrypted
11115 connection (bug#9017).
11116
56ec5115
LMI
11117 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11118 be used.
11119
c2f9aec8
RS
111202011-07-07 Richard Stallman <rms@gnu.org>
11121
11122 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11123 property, and handle its changed format.
11124 Look for the correct line number.
11125 Use file's line contents (but not past first =) to find
11126 correct line in message.
11127
ef7b981d 111282011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11129
11130 * international/characters.el (build-unicode-category-table):
11131 Delete it.
0757af94 11132 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11133
0757af94 11134 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11135 to src/chartab.c.
11136 (get-char-code-property): Call unicode-property-table-internal to
11137 load a file. Call get-unicode-property-internal where necessary.
11138 (put-char-code-property): Call unicode-property-table-internal to
11139 load a file. Call put-unicode-property-internal where necessary.
11140 put-unicode-property-internal where necessary.
0757af94
SM
11141 (char-code-property-description):
11142 Call unicode-property-table-internal to load a file.
c805dec0
KH
11143
11144 * international/charprop.el:
11145 * international/uni-bidi.el:
11146 * international/uni-category.el:
11147 * international/uni-combining.el:
11148 * international/uni-comment.el:
11149 * international/uni-decimal.el:
11150 * international/uni-decomposition.el:
11151 * international/uni-digit.el:
11152 * international/uni-lowercase.el:
11153 * international/uni-mirrored.el:
11154 * international/uni-name.el:
11155 * international/uni-numeric.el:
11156 * international/uni-old-name.el:
11157 * international/uni-titlecase.el:
11158 * international/uni-uppercase.el: Regenerate.
11159
11160 * loadup.el: Load international/charprop.el before
11161 international/characters.
11162
e14b388a
CY
111632011-07-07 Chong Yidong <cyd@stupidchicken.com>
11164
11165 * window.el (next-buffer, previous-buffer): Signal an error if
11166 called from a minibuffer window.
11167
11168 * bindings.el: Revert 2011-07-04 change.
11169
354cf0ba
RS
111702011-07-06 Richard Stallman <rms@gnu.org>
11171
11172 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11173 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11174 Treat markers like ints.
11175 (rmail-mime-entity): Doc fix.
11176
a48868a7
LMI
111772011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
4906cd3d
LMI
11179 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11180 defcustom again for backwards compatibility.
11181
e0457abe
LMI
11182 * simple.el (shell-command-on-region): Fill.
11183
d67f7e1f
LMI
11184 * dired-aux.el (dired-kill-line): Add a doc string.
11185
fe204702
LMI
11186 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11187 to "\\sw\\|\\s_" (bug#358).
11188
a48868a7
LMI
11189 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11190 (dired-unmark-backward): Ditto.
11191 (dired-flag-backup-files): Ditto.
11192
11193 * dired-x.el (dired-mark-sexp): Ditto.
11194
aa8a705c
RS
111952011-07-06 Richard Stallman <rms@gnu.org>
11196
11197 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11198 (rmail-mime-entity): New arg TRUNCATED.
11199 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11200 New functions.
11201 (rmail-mime-save): Warn if entity is truncated.
11202 (rmail-mime-toggle-hidden): Likewise, for showing.
11203 (rmail-mime-process-multipart): Record when an entity is truncated.
11204
a9a936b9
RS
11205 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11206 if ENTITY is a string.
11207
1f2b92cb
LMI
112082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209
f4f73198 11210 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11211 of faces when `M-C-x'-ing their definitions (bug#8378).
11212 Also clean up the code slightly.
f4f73198 11213
12b16734 11214 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11215 because that makes the colors go away.
12b16734 11216
f0691d22
LMI
11217 * mail/sendmail.el (send-mail-function): Change the default to
11218 `sendmail-query-once'.
9e87df06 11219 (sendmail-query-once): Add an autoload cookie.
f0691d22 11220
1f2b92cb
LMI
11221 * net/network-stream.el (network-stream-open-starttls): Try using
11222 a plain connection even if the server offered STARTTLS, and we
11223 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11224 capability. This should make smtpmail.el work in slightly more
11225 configurations.
11226
1cdd2a1b
MA
112272011-07-06 Michael Albinus <michael.albinus@gmx.de>
11228
11229 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11230 New defun.
11231 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11232
fbcc67e2
MM
112332011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11234
11235 * progmodes/sql.el: Version 3.0
0757af94 11236 (sql-product-alist): Add product :completion-object,
fbcc67e2 11237 :completion-column, and :statement attributes.
0757af94 11238 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11239 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11240 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11241 ansi keywords.
11242 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11243 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11244 (sql-oracle-show-reserved-words): New function for development.
11245 (sql-product-font-lock): Simplify for source code buffers.
11246 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11247 New functions.
11248 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11249 (sql-mode-map): Add statement movement functions.
11250 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11251 New variable.
fbcc67e2
MM
11252 (sql-statement-regexp, sql-beginning-of-statement)
11253 (sql-end-of-statement, sql-signum): New functions.
0757af94 11254 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11255 (sql-show-sqli-buffer): Bug fix.
11256 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11257 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11258 with sql-interactive-mode.
11259 (sql-save-connection): Save buffer local settings.
0757af94 11260 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11261 (sql-product-interactive): Bug fix.
11262 (sql-preoutput-hold): New variable.
11263 (sql-interactive-remove-continuation-prompt): Bug fixes.
11264 (sql-debug-redirect): New variable.
11265 (sql-str-literal): New function.
11266 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11267 Redesign.
fbcc67e2
MM
11268 (sql-oracle-save-settings, sql-oracle-restore-settings)
11269 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11270 (sql-completion-object, sql-completion-column)
11271 (sql-completion-sqlbuf): New variables.
11272 (sql-build-completions-1, sql-build-completions)
11273 (sql-try-completion): New functions.
11274 (sql-read-table-name): Use them.
11275 (sql-contains-names): New buffer local variable.
11276 (sql-list-all, sql-list-table): Use it.
11277 (sql-oracle-completion-types): New variable.
11278 (sql-oracle-completion-object, sql-sqlite-completion-object)
11279 (sql-postgres-completion-object): New functions.
11280
d4eaeab1
GM
112812011-07-06 Glenn Morris <rgm@gnu.org>
11282
11283 * window.el (pop-to-buffer): Doc fix.
11284
322b7dab 112852011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11286
11287 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11288
322b7dab 112892011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11290
322b7dab 11291 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11292
322b7dab 11293 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11294
605dd5bf
CY
112952011-07-05 Chong Yidong <cyd@stupidchicken.com>
11296
11297 * button.el (button): Inherit from link face. Suggested by Dan
11298 Nicolaescu.
11299
7dbfa719
SM
113002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11301
3db614b0
SM
11302 * progmodes/gdb-mi.el: Fit in 80 columns.
11303 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11304 switch-to-buffer.
11305
7dbfa719
SM
11306 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11307 if imenu is simply not configured (bug#8941).
11308
919d884a
KM
113092011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11310
11311 * allout.el (allout-post-undo-hook): New allout outline-change
11312 event hook to signal undo activity.
11313 (allout-post-command-business): Run allout-post-undo-hook if an
11314 undo just occurred.
7dbfa719
SM
11315 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11316 * allout-widgets.el (allout-widgets-after-undo-function):
11317 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11318 in the vicinity of an undo.
11319 (allout-widgets-mode): Include allout-widgets-after-undo-function
11320 on the new allout-post-undo-hook.
11321
450a0f09
SM
113222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11325 Let define-derived-mode define it.
11326 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11327 cycles of abbrev-table inheritance (bug#8998).
11328
2de69e00
RW
113292011-07-05 Roland Winkler <winkler@gnu.org>
11330
11331 * textmodes/bibtex.el: Add support for biblatex.
11332 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11333 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11334 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11335 (bibtex-entry-alist, bibtex-field-alist): New variables.
11336 (bibtex-entry-field-alist): Obsolete alias for
11337 bibtex-BibTeX-entry-alist.
11338 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11339 (bibtex-set-dialect): New command.
11340 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11341 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11342 Bind via bibtex-set-dialect.
2de69e00
RW
11343 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11344 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11345 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11346 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11347 Define via bibtex-set-dialect.
450a0f09
SM
11348 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11349 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11350 (bibtex-vec-push, bibtex-vec-incr): New functions.
11351 (bibtex-format-entry, bibtex-field-list)
11352 (bibtex-print-help-message, bibtex-validate)
11353 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11354
2dcdbdd9
SM
113552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * progmodes/compile.el (compilation-goto-locus):
11358 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11359 * bs.el (bs-cycle-next, bs-cycle-previous):
11360 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11361 * bindings.el (mode-line-other-buffer):
11362 * autoinsert.el (auto-insert):
11363 * arc-mode.el (archive-extract):
11364 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11365
b27640fe
JB
113662011-07-05 Juanma Barranquero <lekktu@gmail.com>
11367
11368 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11369 Fix check of `emacs-lock-unlockable-modes'.
11370 Coerce true values of `emacs-lock--try-unlocking' to t.
11371
53bbe3ad
JB
113722011-07-05 Juanma Barranquero <lekktu@gmail.com>
11373
11374 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11375 * emacs-lock.el: New file.
11376
1d3cdbc7
JD
113772011-07-05 Julien Danjou <julien@danjou.info>
11378
11379 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11380 than `boundp' to check if face is set.
11381
9173deec
JB
113822011-07-05 Juanma Barranquero <lekktu@gmail.com>
11383
11384 * register.el (registerv-make):
11385 * window.el (window-min-height): Fix typos in docstrings.
11386
869795d6
JD
113872011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11388
9173deec 11389 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11390 Update doc string.
11391
b768cdcd
JB
113922011-07-04 Juanma Barranquero <lekktu@gmail.com>
11393
11394 * server.el (server-execute): Catch quit and call
11395 `server-return-error' to pass the error back to emacsclient and
11396 close the connection (bug#8942).
11397
13aa217b
KM
113982011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11399
11400 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11401 insecure exception for current topic. Also note that auto-saves
11402 are handled differently.
11403
5d3385a0 11404 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11405 State variables for tracking auto-save inhibition situation.
11406
11407 (allout-write-contents-hook-handler): Rename from
11408 'allout-write-file-hook-handler', and describe how it depends on
11409 write-contents-functions sensitivity to non-nil value to prevent
11410 file write.
11411
11412 (allout-auto-save-hook-handler): Remove. auto-save does not check
11413 this in individual buffers, only in the starting buffer, so this
11414 is not the right way for us to inhibit auto-save in a buffer
11415 according to its condition.
11416
11417 (allout-mode): Use new allout-write-contents-hook-handler, and
11418 only with write-contents-functions. Remove auto-save provisions -
11419 they're implemented elsewhere.
11420
11421 (allout-before-change-handler): If undo is in progress, note that
11422 for attention of allout-post-command-business.
11423
11424 (allout-post-command-business): If the command we're following was
11425 an undo, check for change in the status of encrypted items and
11426 adjust auto-save inhibitions accordingly.
11427
11428 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11429 according to whether there are or aren't any plain-text topics
11430 pending encryption.
11431
2dcdbdd9 11432 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11433 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11434 if there are plain-text topics pending encryption.
13aa217b
KM
11435
11436 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11437 buffer-saved-size and some allout state to not inhibit auto-saves
11438 if there are no longer any plain-text topics pending encryption.
11439
0757af94
SM
11440 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11441 No longer provide for exemption of the current topic.
13aa217b 11442
ac89b32c
JL
114432011-07-04 Juri Linkov <juri@jurta.org>
11444
11445 Add 7z operations to delete and save changed members (bug#8968).
11446 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11447 New defcustoms.
11448 (archive-7z-write-file-member): New function.
11449 (archive-7z-summarize): Fix the number of dashes in the
11450 listing output.
11451
8fa39615
SM
114522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11455 (bug#8958).
11456
2f11b3f1
CY
114572011-07-04 Chong Yidong <cyd@stupidchicken.com>
11458
d66fef2b
CY
11459 * bindings.el: Ignore next-buffer and previous-buffer in
11460 minibuffer-local-map.
11461
2f11b3f1
CY
11462 * font-lock.el (font-lock-builtin-face): Change light background
11463 color to dark slate blue (Bug#6693).
11464
f932a347
WD
114652011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11466
11467 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11468
c8af70e1
SM
114692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11472 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11473 Add switch-to-buffer.
11474
f158badc
LMI
114752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11476
11477 * isearch.el (isearch-search-fun-function): Clarify further the
11478 meaning of the function returned.
11479
6d95bd46
MA
114802011-07-04 Michael Albinus <michael.albinus@gmx.de>
11481
11482 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11483
11484 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11485 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11486 Use it.
11487 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11488 `tramp-default-remote-path' does not exist.
11489 (tramp-send-command-and-read): New optional argument NOERROR.
11490 (tramp-open-connection-setup-interactive-shell)
11491 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11492 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11493 (tramp-process-sentinel): Flush also process' connection property.
11494 (tramp-sh-handle-start-file-process): Do not set process
11495 sentinel. It is done now ...
11496 (tramp-maybe-open-connection): ... here. (Bug#8929)
11497
909e6b67
MK
114982011-07-04 MON KEY <monkey@sandpframing.com>
11499
11500 * play/animate.el (animate-string): Doc fixes and allow changing
11501 the buffer name (bug#5417).
11502
115032011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504
c8af70e1 11505 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11506
f34755dc
PE
115072011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11508
396cec72
PE
11509 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11510 This is simpler and helps future-proof the code.
11511 (timer-until): Use time-subtract and float-time.
08235028 11512 (timer--time-less-p): Use time-less-p.
f34755dc 11513
56e6cc31
JB
115142011-07-04 Juanma Barranquero <lekktu@gmail.com>
11515
3abb79e5
JB
11516 * type-break.el (timep): Use the value of `float-time' to avoid a
11517 byte-compiler warning.
11518
56e6cc31
JB
11519 * server.el (server-eval-and-print): Return any result, even nil.
11520
7b9430b4
PE
115212011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11522
11523 * type-break.el: Accept time formats that the builtins accept.
11524 (timep, type-break-time-difference): Accept any format that
11525 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11526 This is simpler and helps future-proof the code.
11527 (type-break-time-difference): Round rather than ignoring
11528 subseconds components.
11529
3034e9e7
LMI
115302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11531
11532 * info.el (Info-apropos-matches): Make non-interactive, since it
11533 doesn't seem to do anything useful as a command (bug#8829).
11534
1485f4c0
CY
115352011-07-03 Chong Yidong <cyd@stupidchicken.com>
11536
11537 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11538 Move from faces.el.
1485f4c0
CY
11539 (frame-default-terminal-background): New function.
11540
11541 * custom.el (custom-push-theme): Don't record faces in `changed'
11542 theme; this doesn't work correctly for per-frame face settings.
11543 (disable-theme): Use face-set-after-frame-default to reset faces.
11544 (custom--frame-color-default): New function.
11545
9fa3dd45
LMI
115462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11547
c8af70e1 11548 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11549 (bug#8769).
11550
6cbbc20c
KR
115512011-03-29 Kevin Ryde <user42@zip.com.au>
11552
11553 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11554 `perl-Test2' extend to match possible "fail #N" rep count
11555 (bug#8377).
11556
c7f98048
LMI
115572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
65676592
LMI
11559 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11560 `smtpmail-via-smtp' now returns the error instead of nil.
11561
c7f98048
LMI
11562 * isearch.el (isearch-search-fun-function): Clarify the doc string
11563 (bug#8101).
11564
56e6cc31 115652011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11566
11567 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11568 unnecessary spaces (bug#8987).
11569
2b216704
LMI
115702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571
11572 * net/network-stream.el (open-network-stream): Use the
11573 :end-of-capability command thoughout.
11574
115752011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11576
11577 * net/network-stream.el (open-network-stream): Add the
11578 :end-of-capability command parameter, used by pop3.el.
11579
36adf6ce
LMI
115802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11581
1ca0da0e
LMI
11582 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11583
fc00f69c
LMI
11584 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11585 for list)" (bug#6475).
11586
28fd8759 11587 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11588 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11589 an error (bug#6297).
11590
0dd8b6da
LMI
11591 * man.el (Man-reference-regexp): Allow matching possible
11592 word-wrapped references (bug#6289).
11593
ce1438d6
LMI
11594 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11595 for consistency with the other vc buffers (bug#6197).
11596 (vc-checkin): Ditto.
11597
11598 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11599
36adf6ce
LMI
11600 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11601
e83cc1f7
LMI
116022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11603
8a20ca4c
LMI
11604 * custom.el (defcustom): Clarify that :set is only used in the
11605 Customize user interface (bug#6089).
11606
83319045
LMI
11607 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11608 associated with a file, refuse to run instead of erroring out
11609 (bug#6084).
11610
a8392169
LMI
11611 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11612 the doc string, since it appears that using `fill-column' always
11613 controls the width (bug#7845).
11614
e83cc1f7
LMI
11615 * simple.el (shell-command-on-region): Say where the error output
11616 went if `shell-command-default-error-buffer' is set (bug#6857).
11617
e47ca23b
KM
116182011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11619
11620 * allout.el (allout-yank-processing): Adjust cursor position for
11621 backwards-deleted space.
11622
11623 (allout-rebullet-heading): Register changes with
11624 allout-exposure-changed-hook, so the modified topic is properly
11625 decorated.
11626
5cf56143
LMI
116272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11628
08549772
LMI
11629 * minibuffer.el (completion-in-region): Document PREDICATE
11630 (bug#7136).
11631
48e96771
LMI
11632 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11633 of keyword/argument pairs (bug#6904).
11634
c8af70e1
SM
11635 * replace.el (multi-occur):
11636 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11637
e17d05e2
LMI
116382011-07-02 Drew Adams <drew.adams@oracle.com>
11639
11640 * dired.el (dired-mark-if): Make the message about whether it's
11641 marking or unmarking clearer (bug#8523).
11642
063b0e45
LMI
116432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11644
11645 * disp-table.el (display-table-print-array): New function.
11646 (describe-display-table): Use it to print the vectors more pretty
11647 (Bug#8859).
11648
28545e04
MR
116492011-07-02 Martin Rudalics <rudalics@gmx.at>
11650
11651 * window.el (window-state-get-1): Don't assign clone numbers.
11652 Add clone-of item to list of window parameters.
11653 (window-state-put-2): Don't process clone numbers.
11654 (display-buffer-alist): Fix doc-string.
11655
3349e122
SM
116562011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * subr.el (remq): Don't allocate if it's not needed.
11659 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11660 (keymap--merge-bindings): New functions.
11661 (keymap-canonicalize): Use them to refine the canonicalization.
11662 * minibuffer.el (minibuffer-local-completion-map)
11663 (minibuffer-local-must-match-map): Move initialization from C.
11664 (minibuffer-local-filename-completion-map): Move initialization from C;
11665 don't inherit from anything here.
11666 (minibuffer-local-filename-must-match-map): Make obsolete.
11667 (completing-read-default): Use make-composed-keymap to combine
11668 minibuffer-local-filename-completion-map with either
11669 minibuffer-local-must-match-map or
11670 minibuffer-local-filename-completion-map.
11671
d224ac83
GM
116722011-07-01 Glenn Morris <rgm@gnu.org>
11673
3de63bf8
GM
11674 * type-break.el (type-break-time-sum): Use dolist.
11675
d224ac83
GM
11676 * textmodes/flyspell.el (flyspell-word-search-backward):
11677 Replace CL function.
11678
1a1e3f32
SM
116792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11680
fe3f64d5
SM
11681 * mouse.el (mouse--strip-first-event): New function.
11682 (function-key-map): Use it to map fringe clicks to normal clicks
11683 by default.
11684
eb604e34
SM
11685 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11686 (vc-bzr-revision-completion-table): Add support for annotate and date.
11687
1a1e3f32
SM
11688 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11689 inherit from parent.
11690
5bd35902
LMI
116912011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11692
ace6c69c 11693 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11694 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11695
191e2bed
LMI
11696 * dired.el (dired-mode): Fix up the doc string as suggested by
11697 Drew Adams (bug#8817).
11698
5bd35902
LMI
11699 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11700 cookie, since the manual says that it should be possible to add
11701 this function to `find-file-hook' (bug#8709).
11702
eee8207a
TZ
117032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11704
11705 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11706 here. Noted Ted Zlatanov as the maintainer.
11707 (cfengine-common-settings, cfengine-common-syntax): New functions
11708 to set up common things between `cfengine-mode' and
11709 `cfengine3-mode'.
11710 (cfengine3-mode): New mode.
11711 (cfengine3-defuns cfengine3-defuns-regex
11712 (cfengine3-class-selector-regex cfengine3-category-regex)
11713 (cfengine3-vartypes cfengine3-font-lock-keywords)
11714 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11715 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11716
36b148cf
MA
117172011-07-01 Michael Albinus <michael.albinus@gmx.de>
11718
11719 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11720
11721 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11722
0bf4ba9a
MR
117232011-07-01 Martin Rudalics <rudalics@gmx.at>
11724
11725 * window.el (same-window-buffer-names, same-window-regexps)
11726 (same-window-p, special-display-frame-alist)
11727 (special-display-popup-frame, special-display-function)
11728 (special-display-buffer-names, special-display-regexps)
11729 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11730 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11731 (split-window-preferred-function, split-height-threshold)
11732 (split-width-threshold, even-window-heights)
11733 (display-buffer-mark-dedicated, window-splittable-p)
11734 (split-window-sensibly, window-safely-shrinkable-p):
11735 Un-obsolete.
11736 (display-buffer): Don't spread args with function specifier
11737 because special-display-popup-frame won't like it.
11738
35837f51
PE
117392011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11740
d0672f86
PE
11741 Time-stamp simplifications and fixes.
11742 These improve accuracy slightly, and future-proof the code
11743 against some potential changes to current-time format.
11744
b9444d97
PE
11745 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11746 by using time-since and float-time.
11747
0ef923dc
PE
11748 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11749 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11750 + NNN microseconds".
11751
2f81380d
PE
11752 * type-break.el (type-break-time-sum): Rewrite using time-add.
11753
845b5c3e
PE
11754 * play/hanoi.el (hanoi-current-time-float): Remove.
11755 All uses replaced by float-time.
11756
ee6f1be0
PE
11757 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11758 This yields a more-accurate answer.
11759 (rng-time-to-float): Remove; no longer needed.
11760
fe955043
PE
11761 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11762
5777162a
PE
11763 * calendar/timeclock.el (timeclock-seconds-to-time):
11764 Defalias to seconds-to-time, since they're the same thing.
11765
3103f8b6 11766 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11767 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11768 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11769
0e61a35f
SM
117702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * window.el (bury-buffer): Don't iconify the only frame.
11773 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11774 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11775
ddd63a1e
CY
117762011-07-01 Chong Yidong <cyd@stupidchicken.com>
11777
0e61a35f
SM
11778 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11779 Add mouse-yank-primary.
ddd63a1e 11780
055f4923
TZ
117812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11782
11783 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11784
6a2fb145
SM
117852011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11788 (find-library-name): Use it to find relative load names when provided
11789 absolute file name (bug#8803).
11790
fd4983f2
LMI
117912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11792
887d14ad
LMI
11793 * textmodes/flyspell.el (flyspell-word): Consider words that
11794 differ only in case as potential doublons (bug#5687).
11795
c53dc7fc
LMI
11796 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11797 Remove two rather uninteresting debugging-like messages to make
11798 debbugs.el more silent.
11799
fd4983f2
LMI
11800 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11801 a password-like phrase.
11802
7a71b18d 118032011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11804
11805 * progmodes/cc-guess.el: New file.
11806
6a2fb145 11807 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11808
11809 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11810 derived from `c-basic-common-init'.
11811
11812 * progmodes/cc-mode.el (top-level): Require cc-guess.
11813 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11814
1fa280a3
LM
118152011-06-30 Lawrence Mitchell <wence@gmx.li>
11816
11817 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11818
e6597158
AM
118192011-06-30 Alan Mackenzie <acm@muc.de>
11820
1fa280a3
LM
11821 * progmodes/cc-engine.el (c-guess-continued-construct):
11822 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11823 lock is disabled. Name this case as "CASE G".
11824
68ba37fb
KM
118252011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11826
11827 * allout.el (allout-yank-processing): Fix injection of extra space
11828 between bullet and non-whitespace character in first topic when
11829 pasting, ensuring that the actual spacing in the pasted topic
11830 following the bullet char is preserved. This extra space was
11831 causing pasted encrypted topics to get a decrypted status even
11832 when the content was actually still encrypted. Now the decryption
11833 status from before the paste is preserved.
11834
11835 (allout-flag-region): Set all allout overlays so they evaporate
11836 when reduced to zero length (evanescent), to prevent overlay
11837 leakage.
11838
887a0b34
GM
118392011-06-30 Glenn Morris <rgm@gnu.org>
11840
94b9acce
GM
11841 * w32-fns.el (w32-charset-info-alist): Declare.
11842
1d9b46d4
GM
11843 * find-dired.el (find-grep-options): Simplify.
11844
cc232200
GM
11845 * term/ns-win.el (ns-set-resource): Declare.
11846
28e77c46
GM
11847 * ses.el (row, col): Declare dynamic variables honestly.
11848
887a0b34
GM
11849 * textmodes/reftex-parse.el (index-tags): Declare.
11850
658d8eb8
CY
118512011-06-30 Chong Yidong <cyd@stupidchicken.com>
11852
11853 * cus-edit.el (customize-push-and-save): New function.
11854
11855 * files.el (hack-local-variables-confirm): Use it.
11856
1fa280a3
LM
11857 * custom.el (load-theme): New arg NO-CONFIRM.
11858 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11859 (custom-enabled-themes): Doc fix.
11860
11861 * cus-theme.el (customize-create-theme)
11862 (custom-theme-merge-theme): Callers to load-theme changed.
11863
bb617717
LMI
118642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11865
d61bdd5d
LMI
11866 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11867 short URLs have at least one dot in them (bug #7614).
11868
bb617717
LMI
11869 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11870 nil, because using a pty is apparently too slow (bug #895).
11871
2f31f37a
LMI
118722011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * mail/sendmail.el (sendmail-query-once): New function.
11875 (sendmail-query-once-function): New variable.
11876
3076b24e
GM
118772011-06-29 Glenn Morris <rgm@gnu.org>
11878
faf2a174
GM
11879 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11880
3076b24e
GM
11881 * ses.el (top-level): Require cl when compiling.
11882 (ses-set-localvars): Fix error statement.
11883 Call it at compile time to silence a storm of warnings.
11884
5386012d
MR
118852011-06-29 Martin Rudalics <rudalics@gmx.at>
11886
11887 * window.el (normalize-live-buffer): Rename to
11888 window-normalize-buffer.
11889 (normalize-live-frame): Rename to window-normalize-frame.
11890 (normalize-any-window): Rename to window-normalize-any-window.
11891 (normalize-live-window): Rename to window-normalize-live-window.
11892 (make-window-atom): Rename to window-make-atom.
11893 (window-resize-reset): Rename to window--resize-reset.
11894 (window-resize-reset-1): Rename to window--resize-reset-1.
11895 (resize-mini-window): Rename to window--resize-mini-window.
11896 (resize-subwindows-skip-p): Rename to
11897 window--resize-subwindows-skip-p.
11898 (resize-subwindows-normal): Rename to
11899 window--resize-subwindows-normal.
11900 (resize-subwindows): Rename to window--resize-subwindows.
11901 (resize-other-windows): Rename to window--resize-siblings.
11902 (resize-this-window): Rename to window--resize-this-window.
11903 (resize-root-window): Rename to window--resize-root-window.
11904 (resize-root-window-vertically): Rename to
11905 window--resize-root-window-vertically.
11906 (normalize-buffer-to-display): Rename to
11907 window-normalize-buffer-to-display.
11908 (normalize-buffer-to-switch-to): Rename to
11909 window-normalize-buffer-to-switch-to.
11910 Correspondingly update all callers of the functions listed
11911 above.
11912 (display-buffer-alist, display-buffer-normalize-arguments)
11913 (display-buffer-normalize-options, display-buffer)
11914 (display-buffer-alist-set): Use "function" instead of
11915 "fun-with-args".
11916
1176868d
CY
119172011-06-28 Chong Yidong <cyd@stupidchicken.com>
11918
11919 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11920 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11921 debbugs.gnu.org. Mention acknowledgment email.
11922
20a7a65f
LMI
119232011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11924
11925 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11926 buffer multibyteness, since it shouldn't matter.
11927
5f45cca5
MR
119282011-06-28 Martin Rudalics <rudalics@gmx.at>
11929
11930 * window.el (display-buffer-in-side-window): Handle dedicated
11931 windows as in display-buffer-reuse-window.
11932 (display-buffer-normalize-alist): Use value of override
11933 specifier.
11934 (display-buffer-normalize-specifiers): Use value of
11935 other-window-means-other-frame specifier.
11936 (display-buffer-alist): Rewrite some texts in widgets.
11937 (display-buffer): Spread arguments when calling function
11938 specified by fun-with-args.
11939
ad85fe1f
DD
119402011-06-28 Deniz Dogan <deniz@dogan.se>
11941
1fa280a3
LM
11942 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11943 Unnest `let'.
da68c4c8 11944
ad85fe1f
DD
11945 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11946 selectors (Bug#5732).
ec49bd31 11947 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11948
a08cc025
JA
119492011-06-27 Jari Aalto <jari.aalto@cante.net>
11950
11951 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11952 (eshell-ls-date-format): New defcustom.
11953 (eshell-ls-file): Use it.
11954
e2b551c5
SM
119552011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11958
8982b231
KY
119592011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11960
11961 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11962 (ange-ftp-make-tmp-name): New arg.
11963 (ange-ftp-file-local-copy): Use it.
11964
36c9fa27
J
119652011-06-27 Jambunathan K <kjambunathan@gmail.com>
11966
11967 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11968 no-conversion (Bug#8870).
11969
d68443dc
MR
119702011-06-27 Martin Rudalics <rudalics@gmx.at>
11971
11972 * window.el (window-right, window-left, window-child)
11973 (window-child-count, window-last-child)
11974 (window-iso-combination-p, walk-window-tree-1)
11975 (window-atom-check-1, window-tree-1, delete-window)
11976 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11977 new naming conventions - window-vchild, window-hchild,
11978 window-next and window-prev are now called window-top-child,
11979 window-left-child, window-next-sibling and window-prev-sibling
11980 respectively.
d615d6d2
MR
11981 (resize-window-reset): Rename to window-resize-reset.
11982 (resize-window-reset-1): Rename to window-resize-reset-1.
11983 (resize-window): Rename to window-resize.
11984 (window-min-height, window-min-width)
11985 (resize-mini-window, resize-this-window, resize-root-window)
11986 (resize-root-window-vertically, adjust-window-trailing-edge)
11987 (enlarge-window, shrink-window, maximize-window)
11988 (minimize-window, delete-window, quit-restore-window)
11989 (split-window, balance-windows, balance-windows-area-adjust)
11990 (balance-windows-area, window-state-put-2)
11991 (display-buffer-even-window-sizes, display-buffer-set-height)
11992 (display-buffer-set-width, set-window-text-height)
11993 (fit-window-to-buffer): Rename all "resize-window" prefixed
11994 calls to use the "window-resize" prefix convention.
11995 (display-buffer-alist): Fix symbol for label specifier.
11996 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11997 corresponding specifier.
11998 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11999
b6458526
VB
120002011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12001
12002 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12003 convention.
12004 (ses-call-printer): Does not pass an empty string to formatter when the
12005 cell is empty to keep from barking printer Calc math-format-value.
12006
d31fd9ac
RS
120072011-06-27 Richard Stallman <rms@gnu.org>
12008
43d5bf84
RS
12009 * battery.el (battery-mode-line-limit): New variable.
12010 (battery-update): Handle it.
12011
d31fd9ac
RS
12012 * mail/rmailmm.el (rmail-mime-process-multipart):
12013 Handle truncated messages.
12014
819a6054
GM
120152011-06-27 Glenn Morris <rgm@gnu.org>
12016
12017 * progmodes/flymake.el (flymake-err-line-patterns):
12018 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12019
cedc73f2
VB
120202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12021
819a6054 12022 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12023 (ses--clean-!, ses--clean-_): New functions.
12024 (ses-range): Add configurability of readout order, and conversion
12025 to Calc vector.
12026
5e5d49b6
VB
12027 * ses.el (ses-repair-cell-reference-all): New function.
12028 (ses-cell-symbol): Set macro as safe, so that it can be used in
12029 formulas.
12030
56e6cc31 12031 * ses.el: Update cycle detection algorithm.
90ca8b49 12032 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12033 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12034 (ses-set-localvars): New function.
12035 (ses-make-cell): Add property-list as a cell element.
12036 (ses-cell-property-get-fun, ses-cell-property-get)
12037 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12038 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12039 New functions.
90ca8b49
VB
12040 (ses-cell-property-set, ses-cell-property-pop)
12041 (ses-cell-property-get-handle): New macro.
12042 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12043 New aliases, used for code readability.
12044 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12045 cycle detection.
12046 (ses-self-reference-early-detection): New defcustom.
fac916bf 12047 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12048 (ses-mode): Use ses-set-localvars.
12049 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12050 before lauching the update processing.
12051 (ses-initialize-Dijkstra-attempt): New function.
12052 (ses-recalculate-cell): Update for cycle detection based on
12053 Dijkstra algorithm.
12054
2bb63e81
VB
12055 * ses.el: Fix commenting and indenting convention.
12056
c9d29fb8
SM
120572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * bs.el (bs-cycle-next): Complete last change.
12060
d8e4b68b
JB
120612011-06-27 Drew Adams <drew.adams@oracle.com>
12062
12063 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12064
40098786
LMI
120652011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12066
c9d29fb8
SM
12067 * net/network-stream.el (network-stream-open-starttls):
12068 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12069 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12070
40098786
LMI
12071 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12072 to binary to possibly avoid line encoding issues on Windows (among
12073 other things).
12074
468d09d4
LMI
120752011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12076
12077 * net/network-stream.el (open-network-stream): Return an :error
12078 saying what the problem was, if possible.
12079
12080 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12081 server.
12082
12083 * net/network-stream.el (network-stream-open-starttls): If we
12084 wanted to use STARTTLS, and the server offered it, but we weren't
12085 able to because we had no STARTTLS support, then close the connection.
12086 (open-network-stream): Return an :error element, if present.
12087
16f07dd7
CY
120882011-06-26 Chong Yidong <cyd@stupidchicken.com>
12089
88821ca0
CY
12090 * hl-line.el (hl-line-sticky-flag): Doc fix.
12091 (global-hl-line-sticky-flag): New option (Bug#8323).
12092 (global-hl-line-highlight): Obey it.
12093
16f07dd7
CY
12094 * vc/vc.el (vc-revert-show-diff): Default to t.
12095
6b5ccddf
KM
120962011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12097
c9d29fb8
SM
12098 * allout-widgets.el (allout-widgets-post-command-business):
12099 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12100 undecorated when an isearch is continued past, and isearch
12101 automatically collapses them. This leads to "widget leaks", where
12102 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12103 hidden widgets can slow down cursor travel, substantially.
12104 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12105 so we're doing without this nicety.
12106
12107 (allout-widgets-tally-string): Don't try to do a hash-table-count
12108 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12109 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12110 *Messages* when allout-widgets-maintain-tally is t.
12111
355f2e07
MR
121122011-06-26 Martin Rudalics <rudalics@gmx.at>
12113
12114 * window.el (display-buffer-normalize-argument): Rename to
12115 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12116 LABEL argument. Respect special-display-function when popping up
12117 a new frame. Fix code searching for a window showing the buffer
12118 on another frame.
c9d29fb8
SM
12119 (display-buffer-normalize-specifiers):
12120 Call display-buffer-normalize-arguments.
355f2e07
MR
12121 (display-buffer-in-window): Don't undedicate the window if its
12122 buffer remains the same.
12123 Reported by Drew Adams <drew.adams@oracle.com>.
12124 (display-buffer-alist): Add choice for same-window macro
12125 specfier.
12126 (display-buffer): Mention special meaning of LABEL argument in
12127 doc-string. Fix quoting. Don't pop up a new frame even as
12128 fallback.
12129
7ca8fc42
JB
121302011-06-26 Juanma Barranquero <lekktu@gmail.com>
12131
12132 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12133 avoid deleting the current window in some cases (bug#8911).
12134
bc312254
AS
121352011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12136
12137 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12138 (Bug#8934)
12139
2db18f3f
LMI
121402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
c9d29fb8
SM
12142 * net/network-stream.el (network-stream-open-starttls):
12143 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12144 (network-stream-open-tls): Ditto.
12145
6302e0d3
LL
121462011-06-26 Leo Liu <sdl.web@gmail.com>
12147
12148 * register.el (registerv): New struct.
12149 (registerv-make): New function.
c9d29fb8
SM
12150 (jump-to-register, describe-register-1, insert-register):
12151 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12152 struct. (Bug#8415)
12153
5fdd4046
CY
121542011-06-26 Chong Yidong <cyd@stupidchicken.com>
12155
2afef60a
CY
12156 * vc/vc.el (vc-revert-show-diff): New defcustom.
12157 (vc-diff-internal): New arg specifying diff buffer.
12158 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12159 reuse an existing *vc-diff* buffer (Bug#8927).
12160
5fdd4046
CY
12161 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12162
e93db24a
GM
121632011-06-26 Glenn Morris <rgm@gnu.org>
12164
12165 * progmodes/f90.el (f90-critical-indent): New option.
12166 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12167 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12168 (f90-mode): Doc fix.
12169 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12170 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12171 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12172 (f90-match-end): Handle block, critical.
12173
eefff499
GM
121742011-06-25 Glenn Morris <rgm@gnu.org>
12175
f6ba4cc9
GM
12176 * calendar/diary-lib.el (diary-included-files): Doc fix.
12177 (diary-include-files): New function, extracted from
12178 diary-include-other-diary-files and diary-mark-included-diary-files.
12179 (diary-include-other-diary-files, diary-mark-included-diary-files):
12180 Just call diary-include-files.
12181 (diary-mark-entries): Reset diary-included-files on first call.
12182
16712304
GM
12183 * calendar/diary-lib.el (diary-mark-entries)
12184 (diary-mark-included-diary-files):
12185 Visit included diary-files in temp buffers.
12186
5d8e0d43
GM
12187 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12188 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12189 (f90-start-block-re, f90-imenu-generic-expression)
12190 (f90-looking-at-program-block-start, f90-no-block-limit):
12191 Add support for submodules.
12192
ccf7a5d5
GM
12193 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12194 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12195
11fdef7d 121962011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12197
12198 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12199 buffer-file-type before setting its value, to avoid disastrous
eefff499 12200 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12201
74f53697
JB
122022011-06-25 Juanma Barranquero <lekktu@gmail.com>
12203
12204 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12205
12206 * ses.el (ses-unload-function):
12207 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12208
12209 * proced.el (proced-unload-function):
12210 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12211
18a4ce5e
AR
122122011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12213
12214 * server.el (server-create-window-system-frame): Add parameters arg.
12215 (server-process-filter): Doc fix. Handle frame-parameters.
12216
519d22cc
JB
122172011-06-25 Juanma Barranquero <lekktu@gmail.com>
12218
12219 Fix bug#8730, bug#8781.
12220
12221 * loadhist.el (unload--set-major-mode): New function.
12222 (unload-feature): Use it.
12223
12224 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12225 (python-unload-function): New function.
12226
c206f5b0
SM
122272011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12230
f9ad64f3
GS
122312011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12232
12233 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12234 the candidates list.
12235
7d0da90e
JB
122362011-06-24 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12239
14b4e83d
RS
122402011-06-23 Richard Stallman <rms@gnu.org>
12241
12242 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12243 (rmail-variables): Set next-error-move-function.
12244 (rmail-what-message): Take argument POS.
12245 (rmail-next-error-move): New function.
12246
273d2baf
SM
122472011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12250 messages for adjacent non-terminals.
12251
56c2cc9a
RS
122522011-06-23 Richard Stallman <rms@gnu.org>
12253
12254 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12255 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12256 (rmail-start-mail): Don't specify use of rmail-mail-return;
12257 that's done by mail-bury now.
12258 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12259
d59eb518
MA
122602011-06-23 Michael Albinus <michael.albinus@gmx.de>
12261
12262 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12263 SIZE is a number.
12264
02cfc6d6
MR
122652011-06-23 Martin Rudalics <rudalics@gmx.at>
12266
12267 * window.el (get-lru-window, get-mru-window)
12268 (get-largest-window): Never return a minibuffer window.
12269 (display-buffer-pop-up-window): Fix a bug that could lead to
12270 reusing the minibuffer window.
12271 (display-buffer): Pass original specifier argument to
12272 display-buffer-function instead of the normalized one.
12273 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12274
4e323265
LL
122752011-06-22 Leo Liu <sdl.web@gmail.com>
12276
12277 * minibuffer.el (completing-read-function)
12278 (completing-read-default): Move from minibuf.c
12279
7a70468f
RS
122802011-06-22 Richard Stallman <rms@gnu.org>
12281
50718fc2
RS
12282 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12283 to Rmail even if not started by a special Rmail command.
12284
7a70468f
RS
12285 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12286 Copy the buffer currently showing just one message.
12287
297dde5a
RW
122882011-06-22 Roland Winkler <winkler@gnu.org>
12289
12290 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12291 (bibtex-clean-entry): First delete the old key so that a
12292 customized algorithm for generating the new key does not get
12293 confused by the old key.
12294 (bibtex-url): Obey regexp of first step.
12295 (bibtex-search-entries): Do not use add-to-list with local
12296 list-var.
12297
97bb1093
LMI
122982011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12299
12300 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12301 stored a user name, then query for the password first, instead of
12302 waiting for SMTP to give an error message and the trying again.
12303
1c0f1a19
JD
123042011-06-22 Lawrence Mitchell <wence@gmx.li>
12305
12306 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12307 BUFFER in call-process.
12308
396f7c9d
LMI
123092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12310
12311 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12312 QUIT twice.
ddb7ffee
LMI
12313 (smtpmail-try-auth-methods): Require user name and password from
12314 auth-source.
396f7c9d 12315
8998d1b3
MR
123162011-06-22 Martin Rudalics <rudalics@gmx.at>
12317
12318 * window.el (display-buffer-default-specifiers)
12319 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12320 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12321 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12322
12323 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12324 (special-display-frame-alist, special-display-popup-frame):
12325 Remove duplicate declarations. These are now in window.el.
12326
4ea31e07
LMI
123272011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12328
c9d29fb8
SM
12329 * mail/smtpmail.el (smtpmail-via-smtp):
12330 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12331 server supports it. SMTP servers that support STARTTLS commonly
12332 require it.
12333
12334 * net/network-stream.el (network-stream-open-starttls): Support
12335 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12336 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12337
95f41d9a
LMI
12338 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12339 upgrades with `open-network-stream', and rely solely on
12340 auth-source for all credentials. Big changes throughout the file,
12341 but in particular:
c9d29fb8
SM
12342 (smtpmail-auth-credentials): Remove.
12343 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12344 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12345 MAIL FROM, too.
95f41d9a 12346
c9d29fb8
SM
12347 * net/network-stream.el (network-stream-open-starttls):
12348 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12349 STARTTLS.
12350 (auth-source): Require.
12351 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12352 (network-stream-certificate): Change cert-cert to cert and
12353 cert-key to key.
4ea31e07 12354
065ec2c7
MA
123552011-06-21 Michael Albinus <michael.albinus@gmx.de>
12356
12357 * net/tramp-cache.el (top): Don't load the persistency file when
12358 "emacs -Q" has been called.
12359
cd93b359
DR
123602011-06-21 Tim Harper <timcharper@gmail.com>
12361
d8e4b68b
JB
12362 * term/ns-win.el (ns-initialize-window-system):
12363 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12364 resource to NO as it is not yet supported by the NS port.
12365
ae9c0411
JB
123662011-06-21 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12369 (list-dynamic-libraries): ...not here.
12370
7f3f739f
LL
123712011-06-21 Leo Liu <sdl.web@gmail.com>
12372
12373 * subr.el (sha1): Implement sha1 using secure-hash.
12374
327c8fb1
MR
123752011-06-21 Martin Rudalics <rudalics@gmx.at>
12376
12377 * window.el (display-buffer-alist): In default value do not
12378 enforce searching a window on any but the selected frame.
12379 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12380 (display-buffer-select-window): Remove function.
12381 (display-buffer-in-window): When a window on another frame gets
12382 reused, do not select it any more but just raise its frame if
12383 necessary (Bug#8851) and (Bug#8856).
12384 (display-buffer-normalize-options): Handle pop-up-frames related
12385 options more faithfully.
12386 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12387 window if it is on another frame.
c9d29fb8
SM
12388 (display-buffer-alist, display-buffer-default-specifiers):
12389 Don't make new frame unsplittable by default.
9e9de014
MR
12390 (display-buffer-normalize-argument): Fix doc-string typo and use
12391 'same-frame-other-window instead of 'other-window when associating
12392 with display-buffer-macro-specifiers.
327c8fb1 12393
7cf3f556
VB
123942011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12395
12396 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12397 New functions.
12398 (5x5-mode-map, 5x5-mode-menu): Bind them.
12399 (5x5-draw-grid): Tweak the solver's rendering.
12400
60a406cf
SM
124012011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12404 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12405
d8e4b68b 124062011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12407
12408 * menu-bar.el: Use function variable instead of switch-to-buffer.
12409 (menu-bar-select-buffer-function): New variable.
60a406cf 12410 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12411
478d6f95
SM
124122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12415 variable's status.
12416
ca530739
JD
124172011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12418
12419 * x-dnd.el (x-dnd-version-from-flags)
12420 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12421 and long as number (Bug#8899).
12422 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12423
bcd70d97
SM
124242011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12425
60a406cf 12426 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12427 (completion-try-completion, completion-all-completions): Compute the
12428 metadata argument if it's missing; make it optional (bug#8795).
12429
60a406cf 12430 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12431 (widget-complete): Use new :completion-function property.
12432 (widget-completions-at-point): New function.
12433 (default): Use :completion-function instead of :complete.
60a406cf
SM
12434 (widget-default-completions): Rename from widget-default-complete;
12435 Rewrite.
bcd70d97
SM
12436 (widget-string-complete, widget-file-complete, widget-color-complete):
12437 Remove functions.
12438 (file, symbol, function, variable, coding-system, color):
12439 * international/mule-cmds.el (default-input-method, charset)
12440 (language-info-custom-alist):
12441 * cus-edit.el (face): Use new property :completions.
12442
12443 * progmodes/pascal.el (pascal-completions-at-point): New function.
12444 (pascal-mode): Use it.
12445 (pascal-mode-map): Use completion-at-point.
12446 (pascal-toggle-completions): Make obsolete.
12447 (pascal-complete-word, pascal-show-completions):
12448 * progmodes/octave-mod.el (octave-complete-symbol):
12449 Redefine as obsolete alias.
12450 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12451 Signal absence of completion info for old Octave,
12452 (inferior-octave-complete): Redefine as obsolete alias.
12453 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12454 (meta-completions-at-point): Rename from meta-complete-symbol and
12455 adapt it for use on completion-at-point-functions.
12456 (meta-common-mode): Use it.
12457 (meta-looking-at-backward, meta-match-buffer): Remove.
12458 (meta-complete-symbol): Redefine as obsolete alias.
12459 (meta-common-mode-map): Use completion-at-point.
12460 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12461 (makefile-mode-map): Use completion-at-point.
12462 (makefile-completions-at-point): Rename from makefile-complete and
12463 adapt it for use on completion-at-point-functions.
12464 (makefile-mode): Use it.
12465 (makefile-complete): Redefine as obsolete alias.
12466
aebf69c8
DD
124672011-06-20 Deniz Dogan <deniz@dogan.se>
12468
12469 * net/rcirc.el: Delete trailing whitespaces once and for all.
12470
bfbbb27d
DC
124712011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12472
12473 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12474
d264a46b
CY
124752011-06-19 Chong Yidong <cyd@stupidchicken.com>
12476
4ca009e5
CY
12477 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12478
d264a46b
CY
12479 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12480
fbf5b3ce
MR
124812011-06-19 Martin Rudalics <rudalics@gmx.at>
12482
12483 * window.el (display-buffer-other-window-means-other-frame):
12484 Call display-buffer-normalize-alist.
12485 (display-buffer-normalize-specifiers-1): Rename to
12486 display-buffer-normalize-argument. New argument other-frame.
12487 Rewrite.
12488 (display-buffer-normalize-specifiers-2): Rename to
12489 display-buffer-normalize-options.
12490 (display-buffer-normalize-alist-1): New function.
12491 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12492 display-buffer-normalize-alist.
12493 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12494 (display-buffer-normalize-options-inhibit): New variable.
12495 (display-buffer-normalize-specifiers): Rewrite calling
12496 display-buffer-normalize-alist,
12497 display-buffer-normalize-argument, and
12498 display-buffer-normalize-options. Don't call the latter if
12499 display-buffer-normalize-options-inhibit is non-nil.
12500 (frame-auto-delete): New option.
12501 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12502 (window-list-no-nils, window-state-ignored-parameters)
12503 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12504 (window-state-put-1, window-state-put-2, window-state-put):
12505 New functions.
9a028c23
MR
12506 (display-buffer-normalize-options): Move special-display-p group
12507 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12508
6d10d800
CY
125092011-06-18 Chong Yidong <cyd@stupidchicken.com>
12510
6420d28b
CY
12511 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12512 groups (Bug#8776).
12513 (rx-submatch-n): New function.
12514 (rx): Document it.
12515
ddb8b596
CY
12516 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12517 (Bug#8768).
12518
12519 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12520
77080289
CY
12521 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12522
61dfb316
CY
12523 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12524 anytime existing face settings are present (Bug#8889).
12525
6d10d800
CY
12526 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12527 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12528 Remove unused argument.
12529
be3fb2b8
MR
125302011-06-18 Martin Rudalics <rudalics@gmx.at>
12531
bcd70d97
SM
12532 * window.el (display-buffer-default-specifiers):
12533 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12534 pop-up-window-min-width, and another reuse-window specifier
12535 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12536 (display-buffer-normalize-specifiers-2):
12537 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12538 pop-up-windows is unset. Add a reuse-window specifier for the
12539 case popping up a new window fails.
12540 (special-display-popup-frame): Remove double quoting.
28dec25a 12541 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12542
1c6d8c76
SM
125432011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12546 according to comint-completion-addsuffix.
12547
12548 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12549 (pcomplete-suffix-list): Mark as obsolete.
12550 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12551 pcomplete-seen in the closure.
12552 (pcomplete-comint-setup): Setup completion-at-point as well.
12553 (pcomplete--entries): New function.
12554 (pcomplete--env-regexp): New var.
12555 (pcomplete-entries): Rewrite to work with partial-completion and
12556 without relying on pcomplete-suffix-list.
12557 (pcomplete-pare-list): Remove, unused.
12558
25aef8b8
MR
125592011-06-17 Martin Rudalics <rudalics@gmx.at>
12560
12561 * window.el (display-buffer-alist): Set pop-up-window-min-height
12562 and pop-up-window-min-width in default value. Reported by
12563 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12564 other-window-means-other-frame.
12565 (display-buffer-macro-specifiers): Comment out entry for
12566 other-window specifier.
12567 (display-buffer-other-window-means-other-frame): New function.
12568 (display-buffer-normalize-specifiers-1): New arguments
12569 buffer-name and label. Treat other-window case specially.
12570 (display-buffer-normalize-specifiers-2): Treat other-window case
12571 specially.
12572 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12573 (display-buffer-normalize-specifiers):
12574 Call display-buffer-normalize-specifiers-3.
25aef8b8 12575
dbad4f69
MR
125762011-06-17 Martin Rudalics <rudalics@gmx.at>
12577
12578 * window.el (same-window-p): Fix two typos introduced when
12579 adding with-no-warnings.
d1067961
MR
12580 (display-buffer-normalize-specifiers-1): Don't check
12581 pop-up-frames for 'unset initialization.
12582 (display-buffer-normalize-specifiers-2): Major rewrite using
12583 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12584 (pop-up-frames, display-buffer-reuse-frames)
12585 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12586 Suggested by David Engster <deng@randomsample.de>.
12587 (even-window-heights): Initialize to 'unset.
12588 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12589 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12590 other window case.
dbad4f69 12591
9b9c9e3a
MR
125922011-06-16 Martin Rudalics <rudalics@gmx.at>
12593
bcd70d97
SM
12594 * window.el (display-buffer-normalize-specifiers-1):
12595 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12596 second argument of display-buffer (Bug#8865).
981d5c09
MR
12597 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12598 (switch-to-buffer-other-window-same-frame)
12599 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12600 Adams (Bug#8875).
9c2755e9
MR
12601 (display-buffer): Don't check noninteractive when calling
12602 display-buffer-pop-up-frame.
12603 (display-buffer-pop-up-frame): Never pop up a frame in
12604 noninteractive mode (Bug#8857).
67222e1d
MR
12605 (enlarge-window, shrink-window): Don't report an error when the
12606 window can't be resized as requested (Bug#8862).
9b9c9e3a 12607
2b75be67
SM
126082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12609
9ffdd3ba
SM
12610 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12611
cb581a67
SM
12612 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12613
2b75be67
SM
12614 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12615
8c0e3589
AM
126162011-06-15 Alan Mackenzie <acm@muc.de>
12617
cb581a67
SM
12618 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12619 for declarators, disable knr checking to speed up for normal files.
12620 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12621
b96e6cde
LMI
126222011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
4bba86e6
LMI
12624 * net/network-stream.el (open-network-stream): Add the keyword
12625 :always-query-capabilities for the case where you want to force a
12626 `plain' network connection, but the protocol still requires the
12627 capabilitiy command (i.e., SMTP and EHLO).
12628
2b75be67 12629 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12630 consistency with other `-live-p' functions.
12631
efdcdbf8
SM
126322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12633
12634 * window.el (same-window-buffer-names, same-window-regexps)
12635 (special-display-frame-alist, special-display-popup-frame)
12636 (special-display-function, special-display-buffer-names)
12637 (special-display-regexps, pop-up-frame-alist)
12638 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12639 (pop-up-windows, split-window-preferred-function)
12640 (split-height-threshold, split-width-threshold, even-window-heights)
12641 (display-buffer-mark-dedicated): Don't encourage the use of
12642 display-buffer-alist from Elisp code.
12643
c5cde042
DN
126442011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12645
12646 * progmodes/python.el (python-mode): Derive from prog-mode.
12647 * progmodes/ps-mode.el (ps-mode):
12648 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12649 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12650 * progmodes/ld-script.el (ld-script-mode): Likewise.
12651
baa1c9ab
MR
126522011-06-15 Martin Rudalics <rudalics@gmx.at>
12653
12654 * window.el (display-buffer-alist): Trim default value to avoid
12655 popping up a new frame (Bug#8857) or reusing an arbitrary window
12656 on another frame.
12657 (display-buffer): Do not fall back on popping up a new frame in
12658 batch mode (Bug#8857).
12659
c5dd5a51
CY
126602011-06-14 Chong Yidong <cyd@stupidchicken.com>
12661
12662 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12663 (custom-theme-summary): New function.
12664 (customize-themes): Use it.
12665
d647b7c4
GM
126662011-06-13 Glenn Morris <rgm@gnu.org>
12667
12668 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12669
9481c002
MR
126702011-06-13 Martin Rudalics <rudalics@gmx.at>
12671
357f93d2
MR
12672 * help.el (help-window): Remove variable.
12673 (help-window-point-marker, temp-buffer-max-height)
12674 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12675 (help-print-return-message): Don't set help-window.
12676 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12677 (help-window-setup-finish): Remove.
12678 (help-window-display-message, help-window-setup)
12679 (with-help-window): Major rewrite based on new
12680 display-buffer-window variable.
12681
12682 * help-mode.el (help-mode-finish): Remove help-window related
12683 code.
12684
12685 * view.el (view-exits-all-viewing-windows): Remove reference to
12686 view-return-to-alist in doc-string.
12687 (view-return-to-alist): Make obsolete.
12688 (view-buffer): Call pop-to-buffer-same-window and remove
12689 undo-window code.
12690 (view-buffer-other-window): Call pop-to-buffer-other-window and
12691 simplify code. Ignore second argument.
12692 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12693 simplify code. Ignore second argument.
12694 (view-return-to-alist-update): Make obsolete.
12695 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12696 Rewrite using quit-restore window parameters.
2b75be67
SM
12697 (view-mode-exit): Rename second argument to EXIT-ONLY.
12698 Rewrite using quit-restore-window.
357f93d2
MR
12699 (View-exit, View-exit-and-edit, View-leave, View-quit)
12700 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12701 appropriate arguments.
12702 (view-end-message): Use quit-restore window parameter.
12703
9481c002
MR
12704 * window.el (display-buffer-function): Rewrite doc-string.
12705 (display-buffer-window, display-buffer-alist): New variables.
12706 (display-buffer-split-specifiers)
12707 (display-buffer-side-specifiers)
12708 (display-buffer-macro-specifiers): New constants.
12709 (display-buffer-even-window-sizes, display-buffer-set-height)
12710 (display-buffer-set-width, display-buffer-select-window)
12711 (display-buffer-in-window, display-buffer-reuse-window)
12712 (display-buffer-split-window-1, display-buffer-split-window)
12713 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12714 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12715 (display-buffer-in-side-window, normalize-buffer-to-display)
12716 (display-buffer-normalize-specifiers-1)
12717 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12718 (display-buffer-normalize-specifiers, display-buffer-frame):
12719 New functions.
9481c002
MR
12720 (display-buffer): Major rewrite.
12721 (display-buffer-other-window, display-buffer-other-frame)
12722 (pop-to-buffer, switch-to-buffer-other-window)
12723 (switch-to-buffer-other-frame): Rewrite.
12724 (display-buffer-same-window, display-buffer-same-frame)
12725 (display-buffer-same-frame-other-window)
12726 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12727 (pop-to-buffer-other-window)
12728 (pop-to-buffer-same-frame-other-window)
12729 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12730 (switch-to-buffer-other-window-same-frame): New functions.
12731 (same-window-p, special-display-p): Rewrite disabling warnings.
12732 Make obsolete.
12733 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12734 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12735 Make obsolete
12736 (same-window-buffer-names, same-window-regexps)
12737 (special-display-frame-alist, special-display-popup-frame)
12738 (special-display-function, special-display-buffer-names)
12739 (special-display-regexps, pop-up-frame-alist)
12740 (pop-up-frame-function, split-window-preferred-function)
12741 (split-height-threshold, split-width-threshold)
12742 (even-window-heights): Make obsolete.
12743
9db51aca
GM
127442011-06-12 Glenn Morris <rgm@gnu.org>
12745
12746 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12747 Misc simplifications.
9db51aca 12748
39cffb44
MR
127492011-06-12 Martin Rudalics <rudalics@gmx.at>
12750
12751 * window.el (window-safely-shrinkable-p): Restore function which
12752 was inadvertently removed in change from 2011-06-11. Declare as
12753 obsolete.
12754
2b75be67
SM
12755 * calendar/calendar.el (calendar-generate-window):
12756 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12757 window-safely-shrinkable-p.
12758
a8955be7
GM
127592011-06-12 Glenn Morris <rgm@gnu.org>
12760
12761 * progmodes/fortran.el (fortran-mode-syntax-table):
12762 * progmodes/f90.el (f90-mode-syntax-table):
12763 Set % to punctuation. (Bug#8820)
12764 (f90-find-tag-default): Remove, no longer needed.
12765
f0d4059d
DC
127662011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12767
12768 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12769
1100a63c
CY
127702011-06-11 Chong Yidong <cyd@stupidchicken.com>
12771
12772 * image.el (image-animated-p): Return animation delay in seconds.
12773 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12774 (image-animate-timeout): Remove DELAY argument. Don't assume
12775 every subimage has the same delay; get it from image-animated-p.
12776 (image-animate): Caller changed.
12777
def722bf
MA
127782011-06-11 Michael Albinus <michael.albinus@gmx.de>
12779
12780 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12781 to ignored backtrace functions.
12782
0a2bb1a9
GM
127832011-06-11 Glenn Morris <rgm@gnu.org>
12784
12785 * calendar/appt.el (appt-disp-window-function): Doc fix.
12786 (appt-check): Handle overlapping appointments. (Bug#8337)
12787
6198ccd0
MR
127882011-06-11 Martin Rudalics <rudalics@gmx.at>
12789
12790 * window.el (window-tree-1, window-tree): New functions, moving
12791 the latter to window.el.
12792 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12793 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12794 (bw-refresh-edges): Remove.
12795 (balance-windows-1, balance-windows-2): New functions.
12796 (balance-windows): Rewrite in terms of window tree functions,
12797 balance-windows-1 and balance-windows-2.
12798 (bw-adjust-window): Remove.
12799 (balance-windows-area-adjust): New function with functionality of
12800 bw-adjust-window but using resize-window.
2b75be67
SM
12801 (set-window-text-height): Rewrite doc-string.
12802 Use normalize-live-window and resize-window.
12803 (enlarge-window-horizontally, shrink-window-horizontally):
12804 Rename argument to DELTA.
6198ccd0
MR
12805 (window-buffer-height): New function.
12806 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12807 Rewrite using new window resize routines.
2b75be67
SM
12808 (kill-buffer-and-window, mouse-autoselect-window-select):
12809 Use ignore-errors instead of condition-case.
6198ccd0
MR
12810 (quit-window): Call delete-frame instead of delete-windows-on
12811 for the only buffer on frame.
12812
9397e56f
MR
128132011-06-10 Martin Rudalics <rudalics@gmx.at>
12814
12815 * loadup.el (top-level): Load window before files for the sake
12816 of replace-buffer-in-windows.
12817
12818 * files.el (read-buffer-to-switch)
12819 (switch-to-buffer-other-window)
2b75be67
SM
12820 (switch-to-buffer-other-frame, display-buffer-other-frame):
12821 Move to window.el.
9397e56f
MR
12822
12823 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12824 (previous-buffer): Move to window.el.
12825
12826 * bindings.el (unbury-buffer): Move to window.el.
12827
12828 * window.el (delete-other-windows-vertically): Move after
12829 definition of delete-other-windows.
12830 (other-window, delete-windows-on, replace-buffer-in-windows):
12831 Move here from window.c.
12832 (record-window-buffer, unrecord-window-buffer)
12833 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12834 (switch-to-next-buffer): New functions.
12835 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12836 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12837 (previous-buffer): Move here from simple.el.
12838 Call switch-to-prev-buffer.
9397e56f
MR
12839 (bury-buffer): Move here from buffer.c. Switch to previous
12840 buffer when window cannot be deleted.
12841 (unbury-buffer): Move here from bindings.el.
12842 (ctl-x-map): Move binding for other-window from window.c to
12843 here.
12844 (read-buffer-to-switch, switch-to-buffer-other-window)
12845 (switch-to-buffer-other-frame): Move here from files.el.
12846 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12847 (switch-to-buffer): Move here from buffer.c.
12848 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12849
562dd5e9
MR
128502011-06-10 Martin Rudalics <rudalics@gmx.at>
12851
12852 * window.el (window-min-height, window-min-width): Move here
12853 from window.c. Add defcustoms and rewrite doc-strings.
12854 (resize-mini-window, resize-window): New functions.
12855 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12856 Move here from window.c.
12857 (maximize-window, minimize-window): New functions.
12858 (delete-window, delete-other-windows, split-window): Move here
12859 from window.c.
12860 (window-split-min-size): New function.
12861 (split-window-keep-point): Mention split-window-above-each-other
12862 instead of split-window-vertically.
2b75be67 12863 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12864 Rename split-window-vertically to split-window-above-each-other
12865 and provide defalias for old definition.
12866 (split-window-side-by-side, split-window-horizontally):
12867 Rename split-window-horizontally to split-window-side-by-side
12868 and provide defalias for the old definition.
562dd5e9
MR
12869 (ctl-x-map): Move bindings for delete-window,
12870 delete-other-windows and enlarge-window here from window.c.
12871 Replace bindings for split-window-vertically and
12872 split-window-horizontally by bindings for
12873 split-window-above-each-other and split-window-side-by-side.
12874
12875 * cus-start.el (all): Remove entries for window-min-height and
12876 window-min-width. Add entries for window-splits and
12877 window-nest.
12878
f0da764a
GM
128792011-06-09 Glenn Morris <rgm@gnu.org>
12880
80675c21
GM
12881 * calendar/appt.el (appt-mode-line): New function.
12882 (appt-check, appt-disp-window): Use it.
12883
f0da764a
GM
12884 * files.el (hack-one-local-variable-eval-safep):
12885 Allow minor-modes with explicit +/-1 arguments.
12886
59f623b7
TZ
128872011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12888
12889 * term/xterm.el (xterm): Add defgroup.
12890 (xterm-extra-capabilities): Add defcustom to supply known xterm
12891 capabilities, skip querying them, or query them (default).
12892 (terminal-init-xterm): Use it.
12893 (terminal-init-xterm-modify-other-keys): New function to set up
12894 modifyOtherKeys support to simplify `terminal-init-xterm'.
12895
9aab8e0d
MR
128962011-06-09 Martin Rudalics <rudalics@gmx.at>
12897
12898 * window.el (resize-window-reset, resize-window-reset-1)
12899 (resize-subwindows-skip-p, resize-subwindows-normal)
12900 (resize-subwindows, resize-other-windows, resize-this-window)
12901 (resize-root-window, resize-root-window-vertically)
12902 (window-deletable-p, window-or-subwindow-p)
12903 (frame-root-window-p): New functions.
12904
e8b08aee
GM
129052011-06-09 Glenn Morris <rgm@gnu.org>
12906
12907 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12908 (ange-ftp-get-files): Use it.
12909
254c37a5
AK
129102011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12911
12912 * mail/sendmail.el (mail-recover-1, mail-recover):
12913 * files.el (recover-file, recover-session):
12914 Handle dired-listing-switches not being just a single short option.
12915
35d7dbd3
GM
129162011-06-09 Glenn Morris <rgm@gnu.org>
12917
12918 * calendar/appt.el (appt-display-message, appt-disp-window):
12919 Handle lists of appointments.
12920
387522b2
MR
129212011-06-08 Martin Rudalics <rudalics@gmx.at>
12922
2b75be67
SM
12923 * window.el (one-window-p): Move down in code.
12924 Rewrite doc-string.
12925 (window-current-scroll-bars): Rewrite doc-string.
12926 Normalize live window argument.
387522b2
MR
12927 (walk-windows, get-window-with-predicate, count-windows):
12928 Rewrite doc-string. Use window-list-1.
12929 (window-in-direction-2, window-in-direction, get-mru-window):
12930 New functions.
12931
d8e4b68b 129322011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12933
12934 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12935 Doc fix (Bug#8713).
12936
129372011-06-08 Chong Yidong <cyd@stupidchicken.com>
12938
12939 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12940
129412011-06-08 Juanma Barranquero <lekktu@gmail.com>
12942
12943 * loadhist.el (unload-feature-special-hooks):
12944 Add `comint-output-filter-functions'.
12945
0de12c52
IK
129462011-06-08 Ivan Kanis <gnu@kanis.fr>
12947
12948 * calendar/appt.el (appt-check): Move some initializations into the let.
12949
f3d1777e
MR
129502011-06-08 Martin Rudalics <rudalics@gmx.at>
12951
12952 * window.el (window-height): Defalias to window-total-height.
12953 (window-width): Defalias to window-body-width.
12954
18af70d0
CY
129552011-06-07 Chong Yidong <cyd@stupidchicken.com>
12956
12957 * image-mode.el (image-toggle-animation): New command.
12958 (image-mode-map): Bind it to RET.
12959 (image-mode): Update message.
12960 (image-toggle-display-image): Avoid a spurious cache flush.
12961 (image-transform-rotation): Doc fix.
12962 (image-transform-properties): Return quickly in the normal case.
12963 (image-animate-loop): Rename from image-animate-max-time.
12964
2b75be67 12965 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12966 (create-animated-image): Remove unnecessary function.
12967 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12968 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12969 (image-animate-timer): Use car-safe.
12970 (image-animate-timeout): Rename argument.
12971
190b47e6
MR
129722011-06-07 Martin Rudalics <rudalics@gmx.at>
12973
12974 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12975 window.c. Rename first argument to ALL-FRAMES.
12976 Rephrase doc-strings.
12977 (get-buffer-window-list): Rewrite using window-list-1.
12978 Rephrase doc-string.
a1511caf
MR
12979 (window-safe-min-height, window-safe-min-width): New constants.
12980 (window-size-ignore, window-min-size, window-min-size-1)
12981 (window-sizable, window-sizable-p, window-size-fixed-1)
12982 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12983 (window-max-delta-1, window-max-delta, window-resizable)
12984 (window-resizable-p, window-total-height, window-total-width)
12985 (window-body-width): New functions.
12986 (window-full-height-p, window-full-width-p): Rewrite using
12987 window-total-size.
12988 (window-body-height): Rewrite using window-body-size.
190b47e6 12989
85cc1f11
MR
129902011-06-06 Martin Rudalics <rudalics@gmx.at>
12991
12992 * window.el (window-right, window-left, window-child)
12993 (window-child-count, window-last-child, window-any-p)
12994 (normalize-live-buffer, normalize-live-frame)
12995 (normalize-any-window, normalize-live-window)
12996 (window-iso-combination-p, window-iso-combined-p)
12997 (window-iso-combinations)
12998 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12999 (windows-with-parameter, window-with-parameter)
13000 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13001 (window-atom-check, window-side-check, window-check):
13002 New functions.
85cc1f11
MR
13003 (ignore-window-parameters, window-sides, window-sides-vertical)
13004 (window-sides-slots): New variables.
13005 (window-size-fixed): Move down in code. Minor doc-string fix.
13006
e7156492
AS
130072011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13008
13009 * comint.el (comint-dynamic-complete-as-filename)
13010 (comint-dynamic-complete-filename): Correctly call
13011 completion-in-region.
13012
7e821d0d
DD
130132011-06-05 Deniz Dogan <deniz@dogan.se>
13014
13015 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13016 in last change.
13017
ac09b8a1
DD
130182011-06-05 Deniz Dogan <deniz@dogan.se>
13019
13020 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13021 (rcirc): Use it to prompt for encryption.
13022
34699b85
RW
130232011-06-05 Roland Winkler <winkler@gnu.org>
13024
13025 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13026 (bibtex-search-entries): New command bound to C-c C-a.
13027 (bibtex-display-entries): New function.
13028
004dedd3
RW
130292011-06-05 Roland Winkler <winkler@gnu.org>
13030
13031 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13032 (bibtex-insert-kill): After yanking insert newline if necessary.
13033 (bibtex-initialize): Call bibtex-string-files-init only once.
13034 (bibtex-mode): Do not call easy-menu-add.
13035 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13036 (bibtex-yank): Set arg properly if nil.
13037
022fe7ce
RW
130382011-06-05 Roland Winkler <winkler@gnu.org>
13039
2b75be67
SM
13040 * textmodes/bibtex.el (bibtex-search-entry-globally):
13041 New variable.
022fe7ce
RW
13042 (bibtex-search-entry): Use it.
13043
b7c3692a
RW
130442011-06-05 Roland Winkler <winkler@gnu.org>
13045
13046 * textmodes/bibtex.el (bibtex-entry-format): New option
13047 sort-fields.
13048 (bibtex-format-entry, bibtex-reformat): Honor this option.
13049 (bibtex-parse-entry): Return fields in proper order.
13050
8eda563d
JB
130512011-06-05 Juanma Barranquero <lekktu@gmail.com>
13052
13053 * doc-view.el (doc-view-remove-if): Move computation of result out
13054 of `dolist' to silence misleading lexical-binding warning.
13055
7dbe3dbc
CY
130562011-06-04 Chong Yidong <cyd@stupidchicken.com>
13057
13058 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13059 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13060
0c33dd17
MA
130612011-06-04 Michael Albinus <michael.albinus@gmx.de>
13062
13063 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13064 "SunOS 5.10".
13065
f8f91c2b
MA
130662011-06-04 Michael Albinus <michael.albinus@gmx.de>
13067
13068 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13069 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13070 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13071 (tramp-parse-putty):
13072 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13073 (tramp-completion-function-alist-ssh)
13074 (tramp-completion-function-alist-telnet)
13075 (tramp-completion-function-alist-su)
13076 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13077 cookie.
13078
13079 * net/tramp-ftp.el:
13080 * net/tramp-sh.el:
13081 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13082 load "tramp.el" `tramp-set-completion-function'.
13083
e17d9003
SM
130842011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * shell.el: Require and use pcomplete.
13087 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13088 (shell-completion-vars): Set pcomplete-default-completion-function.
13089
6c4cab03
DD
130902011-06-04 Deniz Dogan <deniz@dogan.se>
13091
13092 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13093 `memq' (Bug#8799).
13094
ea9fafe0
SM
130952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13098
b3e945d3
JB
130992011-06-02 Juanma Barranquero <lekktu@gmail.com>
13100
13101 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13102 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13103 * vc/log-view.el (log-view-beginning-of-defun):
13104 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13105 (smerge-refine-forward, smerge-refine-chopup-region):
13106 Silence warning for unused `dotimes' counter variables.
13107
7d520089
SM
131082011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * net/tramp.el (tramp-with-progress-reporter): Rename from
13111 with-progress-reporter. Use `declare'.
13112 * net/tramp-smb.el:
13113 * net/tramp-sh.el:
13114 * net/tramp-gvfs.el: Update all uses.
13115
a1c2400f
JB
131162011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13117
13118 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13119 buffer isn't killed before making it current.
13120
2403c841
SM
131212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 Silence various byte-compiler warnings.
13124 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13125 `access-type' and new obsolescence format.
13126 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13127 new format.
13128 (byte-compile-check-variable): New `access-type' argument.
13129 Only warn if the access-type is obsolete.
13130 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13131 (byte-compile-variable-set): Adjust callers.
13132 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13133 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13134 setting it as obsolete.
13135 * simple.el (minibuffer-completing-symbol):
13136 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13137 access as obsolete.
13138 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13139 obsolete yet.
13140 * international/quail.el (quail-mouse-choose-completion): Remove unused
13141 code referring to obsolete var.
13142 (quail-choose-completion-string): Remove.
13143 * server.el (server-clients-with, server-kill-buffer-query-function)
13144 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13145 * proced.el (proced-send-signal):
13146 * emacs-lisp/lisp.el (lisp-complete-symbol):
13147 Replace completion-annotate-function with completion-extra-properties.
13148
2462470b
SM
131492011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13150
fb5b2591
SM
13151 * simple.el (goto-line): Use read-number.
13152 (overriding-map-is-bound): Remove.
13153 (saved-overriding-map): Change default.
13154 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13155 Take the map as argument.
13156 (universal-argument, negative-argument, digit-argument): Use it.
13157 (restore-overriding-map): Adjust.
13158 (do-auto-fill): Use fill-forward-paragraph.
13159 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13160
fd6fa53f
SM
13161 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13162 (minibuffer-inactive-mode): New major mode.
13163 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13164 the *Messages* buffer" hack.
13165 (mouse-popup-menubar): Don't burp if the event is a normal key.
13166
2462470b
SM
13167 Miscellaneous tweaks.
13168 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13169 lexical scoping as in subr.el's dolist and dotimes.
13170 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13171 Silence compiler warning.
13172 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13173 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13174 * international/ccl.el (ccl-compile): Trivial simplification.
13175 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13176 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13177 `printflag' argument.
13178 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13179 Purecopy the whole obsolescence data.
13180
108bf785
LL
131812011-06-01 Leo Liu <sdl.web@gmail.com>
13182
13183 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13184 improve doc-string as suggested by Marco Pessotto
13185 <melmothx@gmail.com>.
13186 (rcirc-print): Fix last change.
13187
30a23501
SM
131882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * minibuffer.el (complete-with-action): Return nil for the metadata and
13191 boundaries of non-functional tables.
13192 (completion-table-dynamic): Return nil for the metadata.
13193 (completion-table-with-terminator): Add default case, using
13194 complete-with-action.
13195 (completion--metadata): New function.
13196 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13197 to try and avoid pathological performance problems.
13198 (completion--embedded-envvar-table): Return `category' metadata.
13199
bcd54f83
LMI
132002011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13201
13202 * subr.el (process-alive-p): New tiny convenience function.
13203
e227544d
SM
132042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13207 content but also its previous major mode.
13208
e8296fdc
HE
132092011-05-31 Helmut Eller <eller.helmut@gmail.com>
13210
4d61f28d 13211 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13212 *Backtrace* buffer when we exit with C-M-c.
13213
620c53a6
SM
132142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * minibuffer.el: Add metadata method to completion tables.
13217 (completion-category-overrides): New defcustom.
13218 (completion-metadata, completion--field-metadata)
13219 (completion-metadata-get, completion--styles)
13220 (completion--cycle-threshold): New functions.
13221 (completion-try-completion, completion-all-completions):
13222 Add `metadata' argument to choose completion-styles.
13223 (completion--do-completion): Use metadata to choose cycling.
13224 (completion-all-sorted-completions): Use metadata for sorting.
13225 Remove :completion-cycle-penalty which is not needed any more.
13226 (completion--try-word-completion): Add `metadata' argument.
13227 (minibuffer-completion-help): Check metadata for annotation function
13228 and sorting.
13229 (completion-file-name-table): Return `category' metadata.
13230 (minibuffer-completing-file-name): Make obsolete.
13231 * simple.el (minibuffer-completing-symbol): Make obsolete.
13232 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13233 completion-try-completion.
13234
1257e755
SM
132352011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13238
3767e706
LL
132392011-05-30 Leo Liu <sdl.web@gmail.com>
13240
13241 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13242 (rcirc-print): Decode all incoming messages (bug#8744).
13243 (rcirc-decode-coding-system): Allow value nil for automatic coding
13244 system detection.
3767e706 13245
d1a5d56a
GM
132462011-06-01 Glenn Morris <rgm@gnu.org>
13247
13248 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13249
e8cbec34
CY
132502011-05-29 Chong Yidong <cyd@stupidchicken.com>
13251
13252 * image.el (image-animate-max-time): Allow nil and t values.
13253 Default to nil.
13254 (create-animated-image): Doc fix.
13255 (image-animate-start): Remove second arg; just use
13256 image-animate-max-time.
13257 (image-animate-timeout): Doc fix. Args changed.
13258
13259 * image-mode.el (image-toggle-display-image): Ensure that the
13260 image spec passed to the animate timer is the same object as in
58179cce 13261 the buffer's display property (Bug#6981).
e8cbec34
CY
13262 (image-transform-properties): Doc fix.
13263
13264 * image.el (image-animate-max-time): Default to nil.
13265
159daf87
MR
132662011-05-29 Martin Rudalics <rudalics@gmx.at>
13267
13268 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13269 entire buffer list (Bug#8184).
13270
d66c4c7c
CY
132712011-05-29 Chong Yidong <cyd@stupidchicken.com>
13272
13273 * image.el (imagemagick-types-inhibit)
13274 (imagemagick-register-types): Doc fix.
13275
80aec780
DD
132762011-05-29 Deniz Dogan <deniz@dogan.se>
13277
13278 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13279 default.
13280
1dd3c2d9
CY
132812011-05-29 Chong Yidong <cyd@stupidchicken.com>
13282
13283 * select.el: Don't perform clipboard-manager saving in hooks;
13284 leave the hooks empty.
13285
60e56523
LL
132862011-05-28 Leo Liu <sdl.web@gmail.com>
13287
13288 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13289 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13290 (occur-edit-mode): New major mode (Bug#8463).
13291 (occur-after-change-function): New function.
13292 (occur-engine): Give Occur tags a read-only property.
13293
2b1e1a22
KR
132942011-05-28 Kevin Ryde <user42@zip.com.au>
13295
13296 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13297
5d344e88
CY
132982011-05-28 Chong Yidong <cyd@stupidchicken.com>
13299
8e6ca83d
CY
13300 * bindings.el (help-echo): Make the initial non-indicator dash
13301 empty on graphical terminals (Bug#7295).
13302
5d344e88
CY
13303 * files.el (auto-mode-alist): Move config rule after the
13304 in-stripping one (Bug#8547).
13305
bfbbace7
CY
13306 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13307
fbeba6e2
CY
13308 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13309 setting (Bug#8740).
13310
60ed8c72
AA
133112011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13312
4ac619f0
AA
13313 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13314 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13315 (Bug#8539).
60ed8c72 13316
23db196e
CY
133172011-05-28 Chong Yidong <cyd@stupidchicken.com>
13318
13319 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13320
5012f24c
DK
133212011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13322
13323 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13324 (hs-hide-block-at-point, hs-find-block-beginning)
13325 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13326 (Bug#8279).
13327
6a639b16
GM
133282011-05-28 Glenn Morris <rgm@gnu.org>
13329
13330 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13331
d43eaf2c
CY
133322011-05-28 Chong Yidong <cyd@stupidchicken.com>
13333
5199bde1
CY
13334 * help-fns.el (describe-function-1): If the function is a derived
13335 major mode, print the parent mode.
13336
d43eaf2c
CY
13337 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13338 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13339
423428a8
SM
133402011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13341
0ff8e1ba 13342 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13343 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13344 * progmodes/etags.el (tags-completion-at-point-function):
13345 * info-look.el (info-lookup-completions-at-point): Mark as
13346 non-exclusive.
13347 (info-complete): Adjust accordingly.
13348
423428a8
SM
13349 * info-look.el: Convert to lexical-binding and completion-at-point.
13350 (info-lookup-completions-at-point): New function.
13351 (info-complete): Use it and completion-in-region.
13352
b74aa22b
DA
133532011-05-28 Drew Adams <drew.adams@oracle.com>
13354
13355 * isearch.el: Let M-e start with point at the first mismatched char.
13356 (isearch-fail-pos): New function.
13357 (isearch-edit-string): Use it.
13358
66e2e71d
DK
133592011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13360
13361 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13362
b1890b0f 133632011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13364
13365 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13366 traversal functions for avl-trees.
13367 (avl-tree--stack): New struct.
13368 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13369 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13370 (avl-tree--do-enter): Add optional `updatefun' arg.
13371 Change return value.
eb95d01d 13372 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13373 (avl-tree--do-delete): Add `test' and `nilflag' args.
13374 Change return value.
eb95d01d
TC
13375 (avl-tree-member): Add optional `nilflag'
13376 (avl-tree-member-p): New function.
13377 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13378 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13379 (avl-tree-stack-empty-p): New functions.
13380
3769ddcf
TC
13381 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13382 avl-tree--del-balance1 and make it work both ways.
13383 (avl-tree--del-balance2): Remove.
13384 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13385 make it work both ways.
13386 (avl-tree--enter-balance2): Remove.
13387 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13388 New macros.
13389 (avl-tree--mapc, avl-tree-map): Add direction argument.
13390
eb95d01d 133912011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13392
13393 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13394
a9f737ee
CY
133952011-05-27 Chong Yidong <cyd@stupidchicken.com>
13396
13397 * select.el: Support clipboard managers with built-in function
13398 x-clipboard-manager-save, via delete-frame-functions and
13399 kill-emacs-hook.
13400 (xselect-convert-to-targets): Add MULTIPLE target to list.
13401 (xselect-convert-to-save-targets): New function.
13402
c92a1e54
KH
134032011-05-27 Kenichi Handa <handa@m17n.org>
13404
13405 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13406 let-binding rfc2047-encode-encoded-words to nil.
13407
e145f188
GM
134082011-05-27 Glenn Morris <rgm@gnu.org>
13409
5ec8a862
GM
13410 * mail/emacsbug.el: Don't require url-util.
13411
4b29d9fb
GM
13412 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13413
e145f188
GM
13414 * files.el (set-auto-mode):
13415 Also respect mode: entries at the end of the file. (Bug#8586)
13416
7d15102b
GM
134172011-05-26 Glenn Morris <rgm@gnu.org>
13418
98f593b8
GM
13419 * files.el (hack-local-variables-prop-line, hack-local-variables):
13420 Downcase mode names, as seems to be traditional.
27b48e63 13421 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13422
7d15102b
GM
13423 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13424 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13425
51d5b4ec
JD
134262011-05-25 Julien Danjou <julien@danjou.info>
13427
13428 * textmodes/rst.el (rst-define-level-faces): Do not define face
13429 symbol if it is already defined.
13430
91513f63
VB
134312011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13432
13433 * play/5x5.el (5x5-new-game, 5x5-randomize):
13434 Reset 5x5-solver-output to nil when a new grid is cast.
13435 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13436 these debugging traces, as defmacro breaks the compiled code.
13437
4d90d6d0
DK
134382011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13439
13440 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13441
e1b90ef6
LL
134422011-05-24 Leo Liu <sdl.web@gmail.com>
13443
13444 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13445 (vc-bzr-sha1): Adapt.
13446
d8e4b68b 13447 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13448
13449 * bindings.el: Provide sha1 feature.
13450
db0406bb 134512011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13452
13453 * mail/sendmail.el: Require `rfc2047'.
13454 (mail-insert-from-field): Do not perform RFC2047 encoding.
13455 (mail-encode-header): New function.
13456 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13457 buffer to the return value of select-message-coding-system.
13458 Call mail-encode-header.
b8d747b9
KH
13459
13460 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13461
db0406bb 134622011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13463
4d90d6d0
DK
13464 * mail/supercite.el (sc-default-cite-frame):
13465 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13466
eb8a5e9b
GM
134672011-05-24 Glenn Morris <rgm@gnu.org>
13468
f8630703
GM
13469 * progmodes/python.el (brm-menu): Declare.
13470
8831bbed
GM
13471 * emulation/viper.el (viper-set-hooks): Declare.
13472
eb8a5e9b
GM
13473 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13474 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13475 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13476 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13477 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13478 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13479
a2a25d24
SM
134802011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13481
13482 Add an :exit-function for completion-at-point.
13483
13484 * minibuffer.el (completion--done): New fun.
13485 (completion--do-completion): Use it. New arg `expect-exact'.
13486 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13487 since completion--do-completion does it for us now.
13488 (minibuffer-force-complete): Use completion--done and
13489 completion--replace. Handle sole-completion case with more care.
13490 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13491 (completion-extra-properties): New var.
13492 (completion-annotate-function): Make obsolete.
13493 (minibuffer-completion-help): Adjust accordingly.
13494 Use completion-list-insert-choice-function.
13495 (completion-at-point, completion-help-at-point):
13496 Bind completion-extra-properties.
13497 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13498 * simple.el (completion-list-insert-choice-function): New var.
13499 (completion-setup-function): Preserve it.
13500 (choose-completion): Pay attention to it, shuffle the code a bit.
13501 (choose-completion-string): New arg `insert-function'.
13502
13503 * textmodes/bibtex.el: Convert to lexical binding.
13504 (bibtex-mode-map): Use completion-at-point.
13505 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13506 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13507 (bibtex-complete): Define as obsolete alias.
13508 (bibtex-complete-internal): Remove.
13509 (bibtex-format-entry): Remove unused sub-group in regexp.
13510 * shell.el (shell--command-completion-data)
13511 (shell-environment-variable-completion):
13512 * pcomplete.el (pcomplete-completions-at-point):
13513 * comint.el (comint--complete-file-name-data): Use :exit-function
13514 instead of completion-table-with-terminator so it also works for
13515 choose-completion.
13516
e44e373d
SM
135172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13518
4f91a816
SM
13519 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13520
782fc819
SM
13521 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13522 (bug#8710).
13523
e44e373d
SM
13524 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13525
381987c3
KM
135262011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13527
13528 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13529 customization variable and implement: If non-nil, auto-fill will
13530 be inhibited while on topic's header line.
13531
b776bc70
VB
135322011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13533
13534 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13535 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13536 always have a solution in grid size = 5 cases.
13537 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13538 (5x5-solver-output, 5x5-log-buffer): New vars.
13539 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13540 Make these variables buffer local to achieve 5x5 multi-session-ness.
13541 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13542 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13543 (5x5-solve-suggest): New funs.
13544 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13545 randomize a grid so that we ensure that there is always a solution.
13546 (5x5-make-random-grid): Allow other movement than flipping.
13547
7de88b6e
KR
135482011-05-23 Kevin Ryde <user42@zip.com.au>
13549
13550 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13551 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13552 advice and passes PREDICATE.
13553
b1ef1257
SM
135542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13555
bbca48fe
SM
13556 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13557 byte-compile-lambda if it's actually a lambda.
13558
b1ef1257
SM
13559 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13560 Fix function quoting. Use backquote better.
13561
92a9cc65
YS
135622011-05-22 Yuanle Song <sylecn@gmail.com>
13563
13564 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13565 matching (Bug#8516).
13566
f0fb8059
JA
135672011-01-22 Jari Aalto <jari.aalto@cante.net>
13568
13569 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13570 different face (Bug#8178).
13571
d5b44c93
CY
135722011-05-22 Chong Yidong <cyd@stupidchicken.com>
13573
13574 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13575 defface (Bug#8144).
13576
79106a44
SM
135772011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13578
9c848d8a
SM
13579 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13580 funcall as well (bug#8712). Warn when performing those conversions.
13581 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13582
79106a44
SM
13583 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13584
88dfa756
GM
135852011-05-22 Glenn Morris <rgm@gnu.org>
13586
13587 * files.el (hack-local-variables-prop-line): Small simplifications.
13588 (hack-local-variables, hack-local-variables-prop-line):
13589 If MODE-ONLY, return the mode, rather than just `t'.
13590
b7cf2c79
SM
135912011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13594
3f1a8558
GM
135952011-05-21 Glenn Morris <rgm@gnu.org>
13596
7e4ccca3
GM
13597 * files.el (hack-local-variables-prop-line, hack-local-variables):
13598 If only interested in the mode, don't bother doing the other stuff.
13599
637d46ca
GM
13600 * image-mode.el (image-after-revert-hook):
13601 Redraw all frames on which the image is visible. (Bug#8567)
13602
973d955b
GM
13603 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13604
3f1a8558
GM
13605 * wid-edit.el (widget-checklist-match-inline):
13606 Fix 2011-04-19 change. (Bug#8649)
13607
96479927
SM
136082011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13609
1dcf791f
SM
13610 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13611 Also allow singlespace after single-letter capitals followed by a dot.
13612
96479927
SM
13613 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13614 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13615
35fd0881
N
136162011-05-20 Nix <nix@esperi.org.uk>
13617
13618 * files.el (basic-save-buffer-2):
13619 Fix handling of break-hardlink-on-save with non-existent files.
13620
82745640
DD
136212011-05-19 Deniz Dogan <deniz@dogan.se>
13622
13623 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13624 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13625
4a720484
GM
136262011-05-19 Glenn Morris <rgm@gnu.org>
13627
d1f21341
GM
13628 * progmodes/f90.el (f90-type-def-re):
13629 Handle "type, bind(c)". (Bug#8691)
13630
4a720484
GM
13631 * emacs-lisp/autoload.el (batch-update-autoloads):
13632 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13633
2fb0a219
MA
136342011-05-18 Michael Albinus <michael.albinus@gmx.de>
13635
13636 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13637 property for the correct connection in case of multihops.
13638
e565dd37
GM
136392011-05-18 Glenn Morris <rgm@gnu.org>
13640
c2571358 13641 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13642 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13643
e565dd37
GM
13644 Rationalize calendar handling of day and month abbrev-arrays.
13645 * calendar/calendar.el (calendar-customized-p): New function.
13646 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13647 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13648 Add :set function.
13649 (calendar-abbrev-length, calendar-day-abbrev-array)
13650 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13651 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13652 Elements may no longer be nil.
13653 (calendar-day-name, calendar-month-name):
13654 Update for changed nature of abbrev arrays.
13655 * calendar/diary-lib.el (diary-name-pattern):
13656 Update for changed nature of abbrev arrays.
13657 (diary-mark-entries-1): Update calendar-make-alist calls.
13658 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13659 * calendar/cal-html.el (cal-html-day-abbrev-array):
13660 Simply inherit from calendar-day-abbrev-array.
13661
1d99a745
SM
136622011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * progmodes/grep.el (grep-mode): Disable default
13665 compilation-directory-matcher setting (bug#8684).
13666
7c1d9aa0
MA
136672011-05-17 Michael Albinus <michael.albinus@gmx.de>
13668
13669 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13670 instead of "head" and "tail". There were problems with SunOS 5.9,
13671 and it performs better.
13672
3952e9d8
GM
136732011-05-17 Glenn Morris <rgm@gnu.org>
13674
2dd12e7f
GM
13675 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13676
e4157b9c
GM
13677 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13678 Replace obsolete function.
13679
8e249bbd
GM
13680 * shell.el (pcomplete-parse-arguments-function): Declare.
13681
3952e9d8
GM
13682 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13683 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13684 (appt-check): Doc fixes.
13685 (appt-disp-window-function, appt-delete-window-function):
13686 Remove needless special case in custom :type.
13687 (appt-display-count): Default to 0, not nil.
13688 (appt-check): Reset appt-display-count to 0, not nil.
13689
c71a0d48 136902011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13691
c71a0d48
GM
13692 * progmodes/python.el (python-font-lock-keywords):
13693 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13694
31d55be9
SM
136952011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13698
3bfacb2f
KR
136992011-05-16 Kevin Ryde <user42@zip.com.au>
13700
13701 * info-look.el (makefile-automake-mode): New setups, looking in
13702 automake manual, then makefile-mode.
13703 (makefile-mode): Remove automake manual, have it just in
13704 makefile-automake-mode since there's various things different or
13705 not relevant to plain make.
13706 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13707 believe a hypothetical automake-mode would go to makefile-mode,
13708 not the other way around.
13709
c8e83751
CY
137102011-05-15 Chong Yidong <cyd@stupidchicken.com>
13711
5e9e35cd
CY
13712 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13713 hunk-end tags (Bug#8672).
13714
c8e83751
CY
13715 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13716 vc-annotate-show-diff-revision-at-line (Bug#8671).
13717
50b23e5a
GM
137182011-05-14 Glenn Morris <rgm@gnu.org>
13719
7210a739
GM
13720 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13721 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13722 (change-log-font-lock-keywords): Also handle multiple author lines
13723 with leading tabs. (Bug#8644)
7210a739 13724
4691905a
GM
13725 * calendar/appt.el (appt-check): Rename some local variables.
13726 Some simplification/reordering.
13727
50b23e5a
GM
13728 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13729 (feedmail-sendmail-f-doesnt-sell-me-out)
13730 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13731 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13732 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13733 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13734 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13735 (feedmail-binmail-gnulinuxish-template):
13736 Rename from feedmail-binmail-linuxish-template.
13737 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13738 Use insert-buffer-substring.
13739
215cda7c
BC
137402011-05-14 Bill Carpenter <bill@carpenter.org>
13741
13742 * mail/feedmail.el (feedmail-patch-level): Increase.
13743 (feedmail-debug): New custom group.
13744 (feedmail-confirm-outgoing-timeout)
13745 (feedmail-sendmail-f-doesnt-sell-me-out)
13746 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13747 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13748 (feedmail-sender-line, feedmail-from-line)
13749 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13750 (feedmail-spray-this-address)
215cda7c
BC
13751 (feedmail-spray-address-fiddle-plex-list)
13752 (feedmail-queue-use-send-time-for-date)
13753 (feedmail-queue-use-send-time-for-message-id)
13754 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13755 (feedmail-buffer-eating-function):
13756 Doc fixes.
13757 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13758 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13759 (feedmail-message-action-scroll-down): New functions.
13760 (feedmail-queue-directory, feedmail-queue-draft-directory):
13761 Use expand-file-name.
13762 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13763 Remove C-v help entry.
13764 (feedmail-queue-buffer-file-name): New variable.
13765 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13766 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13767 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13768 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13769 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13770 (feedmail-message-action-toggle-spray)
13771 (feedmail-run-the-queue-no-prompts)
13772 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13773 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13774 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13775 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13776 (feedmail-envelope-deducer, feedmail-fiddle-from)
13777 (feedmail-fiddle-sender, feedmail-default-date-generator)
13778 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13779 (feedmail-fiddle-spray-address)
13780 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13781 (feedmail-fiddle-list-of-fiddle-plexes)
13782 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13783 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13784 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13785 Change default. Doc fix.
13786 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13787 (feedmail-binmail-linuxish-template): New constant.
13788 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13789 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13790 (feedmail-send-it): Add debug call.
13791 Use feedmail-queue-buffer-file-name, and
13792 feedmail-send-it-immediately-wrapper.
13793 (feedmail-message-action-send): Add debug call.
13794 Use feedmail-send-it-immediately-wrapper.
13795 (feedmail-queue-express-to-queue): Add debug call.
13796 Run feedmail-queue-express-hook.
13797 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13798 (feedmail-message-action-help-blat):
13799 Rename from feedmail-queue-send-edit-prompt-help-first.
13800 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13801 Check line-endings. Handle errors better.
13802 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13803 Doc fix. Add debug call.
13804 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13805 Use feedmail-queue-send-edit-prompt-inner.
13806 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13807 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13808 from feedmail-queue-send-edit-prompt.
13809 (feedmail-queue-send-edit-prompt-help)
13810 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13811 (feedmail-tidy-up-slug): Add debug call.
13812 Respect feedmail-queue-slug-suspect-regexp.
13813 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13814 (feedmail-dump-message-to-queue): Add debug call.
13815 Expand queue-directory.
13816 (feedmail-dump-message-to-queue): Change message slightly.
13817 Use feedmail-say-chatter.
13818 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13819 (feedmail-send-it-immediately-wrapper): New function.
13820 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13821 Insert empty string rather than newline. Handle full-frame case.
13822 Use catch/throw. Use feedmail-say-chatter.
13823 (feedmail-fiddle-from): Try mail-host-address.
13824 (feedmail-default-message-id-generator): Doc fix.
13825 Bind system-time-locale. Handle missing end.
13826 (feedmail-fiddle-x-mailer): Add debug call.
13827 Handle feedmail-x-mailer-line being nil.
13828 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13829 Add debug call. Use buffer-substring-no-properties.
13830 (feedmail-say-debug, feedmail-say-chatter): New functions.
13831 (feedmail-find-eoh): Give an explicit error.
13832
42c7e61e
UJ
138332011-05-13 Ulf Jasper <ulf.jasper@web.de>
13834
c2571358 13835 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13836 family from helvetica to sans.
c2571358 13837 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13838 etc/images/newsticker.
13839
c2571358 13840 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13841 family from helvetica to sans.
13842
13843 * net/newst-plainview.el (newsticker-new-item-face)
13844 (newsticker-old-item-face, newsticker-immortal-item-face)
13845 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13846 (newsticker-statistics-face): Change default family from
42c7e61e 13847 helvetica to sans.
c2571358 13848 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13849 etc/images/newsticker.
13850
5d3385a0
JB
13851 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13852 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13853 auto-marking.
13854
8497a297
DV
138552011-05-13 Didier Verna <didier@xemacs.org>
13856
13857 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13858 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13859 TODO entries.
8497a297
DV
13860 (lisp-lambda-list-keyword-parameter-indentation)
13861 (lisp-lambda-list-keyword-parameter-alignment)
13862 (lisp-lambda-list-keyword-alignment): New customizable user options.
13863 (lisp-indent-defun-method): Improve docstring.
13864 (extended-loop-p): Fix comment.
13865 (lisp-indent-lambda-list-keywords-regexp): New variable.
13866 (lisp-indent-lambda-list): New function.
13867 (lisp-indent-259): Use it.
13868 (lisp-indent-defmethod): Support for more than one
13869 method qualifier and properly indent methods lambda-lists.
13870 (defgeneric): Provide a missing common-lisp-indent-function property.
13871
f278f87f
SM
138722011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13875 bounds for the empty string (bug#8667).
13876
5233edd7
GM
138772011-05-13 Glenn Morris <rgm@gnu.org>
13878
5237a44f
GM
13879 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13880
8340026c 13881 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13882 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13883
5233edd7 13884 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13885 (appt-time-msg-list): Doc fix.
a5464014 13886 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13887
92d10796
AS
138882011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13889
13890 * progmodes/ld-script.el (ld-script-keywords)
13891 (ld-script-builtins): Update keywords list.
13892
914a0ae1
SM
138932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13894
c89be45f
SM
13895 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13896
914a0ae1
SM
13897 * shell.el (shell-completion-vars): New function.
13898 (shell-mode):
13899 * simple.el (read-shell-command): Use it.
13900 (blink-matching-open): No need for " [...]" in minibuffer-message.
13901
98dc3df3
GM
139022011-05-12 Glenn Morris <rgm@gnu.org>
13903
13904 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13905 (appt-check): Simplify.
13906
d2fc7e3d 139072011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13908
4d61f28d 13909 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13910 literal "/dev/null".
13911
d2fc7e3d 139122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13913
13914 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13915 Fix typo.
13916
d2fc7e3d 139172011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13918
3f254caa
SM
13919 * progmodes/which-func.el (which-function):
13920 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13921 which might not be defined (Bug#8260).
13922
d45885f7
GM
139232011-05-12 Glenn Morris <rgm@gnu.org>
13924
13925 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13926 Let byte-compile-initial-macro-environment always take precedence.
13927
488086f4
SM
139282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * net/rcirc.el: Add support for SSL/TLS connections.
13931 (rcirc-server-alist): New field `encryption'.
13932 (rcirc): Check `encryption' settings.
13933 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13934 Merge make-local-variable into `set'.
13935 (rcirc--connection-open-p): New function.
13936 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13937 the process is not a network process (e.g. running gnutls-cli).
13938 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13939 Make rcirc-(en|de)code-coding-system local here.
13940 (rcirc-mode): Merge make-local-variable into `set'.
13941 (rcirc-parent-buffer): Make permanent buffer-local.
13942 (rcirc-multiline-minor-mode): Don't do it here.
13943 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13944 there's no server buffer.
13945
7d3b9d44
GM
139462011-05-11 Glenn Morris <rgm@gnu.org>
13947
f64049c6
GM
13948 * newcomment.el (comment-kill): Prefix "unused" local.
13949
93c9df73
GM
13950 * term/w32console.el (get-screen-color): Declare.
13951
7d3b9d44
GM
13952 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13953 Handle symbol elements of byte-compile-initial-macro-environment.
13954
9e2dd53f
LL
139552011-05-10 Leo Liu <sdl.web@gmail.com>
13956
488086f4
SM
13957 * bookmark.el (bookmark-bmenu-mode-map):
13958 Bind bookmark-bmenu-search to `/'.
8b340240 13959
9e2dd53f 13960 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13961 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13962 (Footnote-unicode): New function.
13963 (footnote-style-alist): Add unicode style to the list.
13964 (footnote-style): Doc fix.
9e2dd53f 13965
79b70037
GM
139662011-05-10 Jim Meyering <meyering@redhat.com>
13967
13968 Fix doubled-word typos.
13969 * international/quail.el (quail-insert-kbd-layout): and and -> and
13970 * kermit.el: and and -> and
13971 * net/ldap.el (ldap-search-internal): to to -> to
13972 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13973 * progmodes/js.el (js-mode): and and -> and
13974 * textmodes/artist.el (artist-move-to-xy): at at -> at
13975 (artist-draw-region-trim-line-endings): if if -> if
13976 And Safetyc -> Safety.
13977 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13978
b8f82dc1 139792011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13980 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13981
13982 * files.el (hack-one-local-variable-eval-safep):
13983 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13984
4f99f44b
GM
139852011-05-10 Glenn Morris <rgm@gnu.org>
13986
13987 * calendar/diary-lib.el (diary-list-entries-hook)
13988 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13989 (diary-nongregorian-marking-hook, diary-list-entries)
13990 (diary-include-other-diary-files, diary-mark-entries)
13991 (diary-mark-included-diary-files): Doc fixes.
13992
84f29e6b
JB
139932011-05-09 Juanma Barranquero <lekktu@gmail.com>
13994
13995 * misc.el: Require tabulated-list.el during compilation.
13996
9bedd73a
CY
139972011-05-09 Chong Yidong <cyd@stupidchicken.com>
13998
488086f4
SM
13999 * progmodes/compile.el (compilation-start):
14000 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14001 (compilation-filter-hook): Doc fix.
14002
797c735c
DD
140032011-05-09 Deniz Dogan <deniz@dogan.se>
14004
14005 * wdired.el: Remove outdated installation comment. Fix usage
14006 comment.
14007
5f4b1dfe
JB
140082011-05-09 Juanma Barranquero <lekktu@gmail.com>
14009
14010 * misc.el: Implement new command `list-dynamic-libraries'.
14011 (list-dynamic-libraries--loaded-only-p): New variable.
14012 (list-dynamic-libraries--refresh): New function.
14013 (list-dynamic-libraries): New command.
14014
4c44026c
CY
140152011-05-09 Chong Yidong <cyd@stupidchicken.com>
14016
488086f4
SM
14017 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14018 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14019 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14020 higher priority to avoid clobbering by gnu.
14021
027f966d
CY
140222011-05-08 Chong Yidong <cyd@stupidchicken.com>
14023
14024 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14025 if the face has existing theme settings (Bug#8454).
14026
085f5d7d
CY
140272011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14028
488086f4
SM
14029 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14030 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14031
2a86a00c
RS
14032 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14033 special file names `.' and `..' (Bug#8259).
14034
d9c54a06
CY
140352011-05-08 Chong Yidong <cyd@stupidchicken.com>
14036
488086f4
SM
14037 * progmodes/grep.el (grep-mode-font-lock-keywords):
14038 Remove buffer-changing entries.
d9c54a06
CY
14039 (grep-filter): New function.
14040 (grep-mode): Add it to compilation-filter-hook.
14041
14042 * progmodes/compile.el (compilation-filter-hook)
14043 (compilation-filter-start): New defvars.
14044 (compilation-filter): Call compilation-filter-hook prior to
14045 updating the process mark.
14046
c4662635
SM
140472011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14050
b0512a1d
EZ
140512011-05-07 Eli Zaretskii <eliz@gnu.org>
14052
605c9376
EZ
14053 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14054 mailclient-send-it even if window-system is nil. (Bug#8595)
14055
c4662635
SM
14056 * term/w32console.el (terminal-init-w32console):
14057 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14058 background-mode. (Bug#8597)
14059
d1dc2cc2
SM
140602011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14063 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14064 New functions.
14065 (defgeneric, eieio--defmethod): Use them.
14066 (eieio-defgeneric): Remove.
14067 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14068
915d1300
GM
140692011-05-07 Glenn Morris <rgm@gnu.org>
14070
a3961c3e
GM
14071 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14072 Use let rather than let*.
14073 (timeclock-find-discrep): Remove unused local.
14074
314347b9
GM
14075 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14076
915d1300
GM
14077 * calendar/appt.el (appt-time-msg-list): Doc fix.
14078
275b59b0
NF
140792011-05-06 Noah Friedman <friedman@splode.com>
14080
14081 * apropos.el (apropos-print-doc): Only use
14082 emacs-lisp-docstring-fill-column when it is bound to an integer,
14083 per that variable's documentation.
14084
6c19f744
SM
140852011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14088 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14089
60f884b2
GM
140902011-05-06 Glenn Morris <rgm@gnu.org>
14091
5006e634
GM
14092 * calendar/appt.el (appt-message-warning-time): Doc fix.
14093 (appt-warning-time-regexp): New option.
14094 (appt-make-list): Respect appt-message-warning-time.
14095
548d0a63
GM
14096 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14097 New options.
14098 (diary-add-to-list): Strip comments from the displayed string.
14099 (diary-mode): Set comment-start and comment-end.
14100
60f884b2
GM
14101 * vc/diff-mode.el (smerge-refine-subst): Declare.
14102 (diff-refine-hunk): Don't require smerge-mode when compiling.
14103
989681bb
JB
141042011-05-06 Juanma Barranquero <lekktu@gmail.com>
14105
14106 * simple.el (list-processes): Return nil as the docstring says.
14107
a6bc05e1
MA
141082011-05-05 Michael Albinus <michael.albinus@gmx.de>
14109
14110 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14111 to "".
14112 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14113 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14114 determining of binary transfer. (Bug#7383)
14115
23c22e9a
MA
141162011-05-05 Michael Albinus <michael.albinus@gmx.de>
14117
c4662635
SM
14118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14119 Fix port computation bug. (Bug#8618)
23c22e9a 14120
0bff894f
GM
141212011-05-05 Glenn Morris <rgm@gnu.org>
14122
b8296902
GM
14123 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14124
1f522ce8
GM
14125 * simple.el (shell-dynamic-complete-functions)
14126 (comint-dynamic-complete-functions): Declare.
14127
cf5bee67
GM
14128 * net/network-stream.el (gnutls-negotiate):
14129 * simple.el (tabulated-list-print): Fix declarations.
14130
14131 * progmodes/gud.el (syntax-symbol, syntax-point):
14132 Remove unnecessary and incorrect declarations.
14133
0bff894f
GM
14134 * emacs-lisp/check-declare.el (check-declare-scan):
14135 Handle byte-compile-initial-macro-environment in bytecomp.el
14136
9869b3ae
SM
141372011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 Fix earlier half-done eieio-defmethod change (bug#8338).
14140 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14141 Streamline and change calling convention.
14142 (defmethod): Adjust accordingly and simplify.
14143 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14144 new eieio--defmethod.
14145 (slot-boundp): Minor CSE simplification.
14146
9c1d5ac5
MZ
141472011-05-05 Milan Zamazal <pdm@zamazal.org>
14148
14149 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14150 (glasses-make-readable): Use glasses-separate-capital-groups.
14151
455c834e
JB
141522011-05-05 Juanma Barranquero <lekktu@gmail.com>
14153
14154 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14155 (warning-series): Doc fix.
14156 (display-warning): Don't try to create the buffer if we just found it.
14157
9ed7c8cb
CY
141582011-05-04 Chong Yidong <cyd@stupidchicken.com>
14159
14160 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14161 (autoload-find-generated-file): New function.
14162 (generate-file-autoloads): Bind generated-autoload-file to
14163 buffer-file-name.
9869b3ae
SM
14164 (update-file-autoloads, update-directory-autoloads):
14165 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14166 output file (Bug#7989).
14167 (batch-update-autoloads): Doc fix.
14168
0898ca10
JB
141692011-05-04 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14172
31dfb76c
GM
141732011-05-04 Glenn Morris <rgm@gnu.org>
14174
f330b642
GM
14175 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14176 function, so it follows changes in calendar-date-style.
14177 (diary-fancy-date-matcher): New function.
14178 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14179 (diary-fancy-font-lock-fontify-region-function):
14180 Use diary-fancy-date-pattern as a function.
14181
31dfb76c
GM
14182 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14183 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14184
48e79d6a
TZ
141852011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14186
14187 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14188 instead of positional arguments. Allow :keylist and :crlfiles
14189 arguments.
14190 (open-gnutls-stream): Call it.
14191
14192 * net/network-stream.el (network-stream-open-starttls): Adjust to
14193 call `gnutls-negotiate' with :process and :hostname arguments.
14194
dd5a5ee0
SM
141952011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14196
ef80fc09
SM
14197 * minibuffer.el (completion--message): New function.
14198 (completion--do-completion, minibuffer-complete)
14199 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14200 (completion--do-completion): Don't ignore completion-auto-help when in
14201 icomplete-mode.
14202
dd5a5ee0
SM
14203 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14204 internal encoding (e.g. tibetan zero is not whitespace).
14205 (global-whitespace-mode): Prefer save-current-buffer.
14206 (whitespace-trailing-regexp): Remove useless save-match-data.
14207 (whitespace-empty-at-bob-regexp): Minor simplification.
14208
b7d22a83
CY
142092011-05-03 Chong Yidong <cyd@stupidchicken.com>
14210
14211 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14212
5192af46
AM
142132011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14214
14215 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14216 Use `concat' to create string for insertion.
5192af46 14217
5767d190
SM
142182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14221 Avoid open-line which runs post-self-insert-hook.
14222 (bibtex-fill-entry): Remove unused `end' var.
14223
bf242939
AM
142242011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14225
5767d190
SM
14226 * textmodes/ispell.el (ispell-add-per-file-word-list):
14227 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14228
25666126
LL
142292011-05-03 Leo Liu <sdl.web@gmail.com>
14230
14231 * isearch.el (isearch-yank-pop): New command.
5767d190 14232 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14233 (isearch-forward): Mention it.
14234
52d3c2d0
SM
142352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14236
1bcace58
SM
14237 * simple.el (minibuffer-complete-shell-command): Remove.
14238 (minibuffer-local-shell-command-map): Use completion-at-point.
14239 (read-shell-command): Setup completion vars here instead.
14240 (read-expression-map): Bind TAB to symbol completion.
14241
52d3c2d0
SM
14242 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14243 error directly rather via storing it into `results'.
14244
35813471
LL
142452011-05-02 Leo Liu <sdl.web@gmail.com>
14246
14247 * vc/diff.el: Fix description.
14248
e793a940
LMI
142492011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14250
14251 * server.el (server-eval-at): New function.
14252
8de66e05
LMI
142532011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14254
14255 * net/network-stream.el (open-network-stream): Take a :nowait
14256 parameter and pass it on to `make-network-process'.
14257 (network-stream-open-plain): Ditto.
14258
dcb79f20
AS
142592011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14260
14261 * faces.el (face-spec-set-match-display): Don't match toolkit
14262 options on terminal frames.
14263
14a7fbd8
SM
142642011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14265
7eabc1be
SM
14266 * progmodes/pascal.el: Use lexical binding.
14267 (pascal-mode-map): Remove author preferences.
14268
14a7fbd8
SM
14269 * pcomplete.el (pcomplete-std-complete): Don't abuse
14270 completion-at-point.
14271
50f84510
JB
142722011-04-28 Juanma Barranquero <lekktu@gmail.com>
14273
6e087a44
JB
14274 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14275 removing code that has been dead since 1991 or so.
14276
50f84510
JB
14277 * startup.el (command-line): When warning about "_emacs", use a
14278 delayed warning to allow the user to filter it out.
14279
0ba690bd
DD
142802011-04-28 Deniz Dogan <deniz@dogan.se>
14281
14282 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14283 user has not joined.
14284
08abfaad
SM
142852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14288 aren't any completions at point.
14289
638f053a
JB
142902011-04-28 Juanma Barranquero <lekktu@gmail.com>
14291
14292 * subr.el (display-delayed-warnings): New function.
14293 (delayed-warnings-hook): New variable.
14294
8fff8daa
SM
142952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14296
08abfaad
SM
14297 * minibuffer.el (completion-at-point, completion-help-at-point):
14298 Don't presume that a given completion-at-point-function will always
14299 use the same calling convention.
14300
8fff8daa
SM
14301 * pcomplete.el (pcomplete-completions-at-point):
14302 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14303 pcomplete-seen is non-nil.
14304 (pcomplete-comint-setup): Also recognize the new comint/shell
14305 completion functions.
14306 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14307 pcomplete-seen is non-nil.
14308
841a1577 143092011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14310
841a1577 14311 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14312 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14313 the first character in the entry. This allows for code to add its
211ec907
UJ
14314 own uid to the entry.
14315 (icalendar--convert-float-to-ical): Add export of
14316 `diary-float'-entries save for those with the optional DAY
14317 argument.
14318
2a782793
DC
143192011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14320
14321 * subr.el (shell-quote-argument): Use alternate escaping strategy
14322 when we spot a variable reference in a string.
14323
0438ce91
DC
143242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14325
14326 * cus-start.el (all): Define customization for debug-on-event.
14327
841a1577 143282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14329
14330 * subr.el (shell-quote-argument): Escape correctly under Windows.
14331
d090ed6c
SM
143322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14335
bfd31217
MA
143362011-04-25 Michael Albinus <michael.albinus@gmx.de>
14337
d090ed6c
SM
14338 * net/tramp.el (tramp-process-actions): Add POS argument.
14339 Delete region between POS and (pos).
bfd31217 14340
d090ed6c
SM
14341 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14342 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14343 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14344
14345 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14346 position in `tramp-process-actions' call.
14347
14348 * net/trampver.el: Update release number.
14349
e92f3bd3
SM
143502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14351
850256b5
SM
14352 * custom.el (defcustom): Obey lexical-binding.
14353
e92f3bd3
SM
14354 Fix octave-inf completion problems reported by Alexander Klimov.
14355 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14356 Inherit from octave-mode-syntax-table.
14357 (inferior-octave-mode): Set info-lookup-mode.
14358 (inferior-octave-completion-at-point): New function.
14359 (inferior-octave-complete): Use it and completion-in-region.
14360 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14361 comint-filename-completion.
14362 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14363 symbol elements which shouldn't be word elements.
14364 (octave-font-lock-keywords, octave-beginning-of-defun)
14365 (octave-function-header-regexp): Adjust regexps accordingly.
14366 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14367
cd22b309
JB
143682011-04-25 Juanma Barranquero <lekktu@gmail.com>
14369
14370 * net/gnutls.el (gnutls-errorp): Declare before first use.
14371
8b492194
TZ
143722011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14373
14374 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14375 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14376 default trustfile exists before going to use it. Add missing
5a5fa834 14377 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14378 Reported by Claudio Bley <claudio.bley@gmail.com>.
14379 (open-gnutls-stream): Add usage example.
14380
14381 * net/network-stream.el (network-stream-open-starttls): Give host
14382 parameter to `gnutls-negotiate'.
14383 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14384 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14385
841a1577 143862011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14387
cd22b309
JB
14388 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14389 Use correct match group (bug#8438).
05842630 14390
3ba7869c
CY
143912011-04-24 Chong Yidong <cyd@stupidchicken.com>
14392
512e3ae1
CY
14393 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14394 (package-menu--generate): New arg specifying packages to show.
14395 (package-menu-refresh, package-menu-execute, list-packages):
14396 Callers changed.
14397 (package-show-package-list): New function, replacing deleted
14398 package--list-packages (renamed because it is non-internal).
14399
14400 * finder.el (finder-list-matches): Use package-show-package-list
14401 instead of deleted package--list-packages.
14402
e92f3bd3
SM
14403 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14404 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14405 (vc-annotate-mode-map): Bind it to RET.
14406
7031be6d
UR
144072011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14408
14409 * progmodes/etags.el (next-file): Don't use set-buffer to change
14410 buffers (Bug#8478).
14411
4ef177aa
CY
144122011-04-24 Chong Yidong <cyd@stupidchicken.com>
14413
c8d173eb
CY
14414 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14415
4ef177aa
CY
14416 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14417 (apropos-accumulator): Doc fix.
14418 (apropos-function, apropos-macro, apropos-command)
14419 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14420 (apropos-plist): Add face property.
14421 (apropos-symbols-internal): Fix indentation.
14422 (apropos-print): Simplify help, and recognize apropos-multi-type.
14423 (apropos-print-doc): Use button-type-get to extract the button's
14424 face property. Fill docstring (Bug#8352).
14425
4ffd0d6b 144262011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14427
14428 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14429
c6c32125 14430 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14431 (mpuz-mode-map): Use mapc.
c6c32125
JB
14432 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14433 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14434 Fix typos in docstrings.
14435
58d468b4
JB
14436 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14437 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14438
6470c3c6
JB
14439 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14440
4ffd0d6b 144412011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14442
14443 * minibuffer.el (completion--do-completion): Avoid the "Next char
14444 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14445
3ad8bad0
CY
14446 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14447 mouse-2 into unread-command-events, it is interpreted correctly.
14448
71d73c9c 14449 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14450 (image-toggle-display): Doc fix.
71d73c9c 14451
841a1577 144522011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14453
4ffd0d6b
GM
14454 * textmodes/page.el (what-page): Use line-number-at-pos to
14455 calculate line number (Bug#6825).
6e1dbaa9 14456
c2fb1b60
JB
144572011-04-22 Juanma Barranquero <lekktu@gmail.com>
14458
14459 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14460 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14461 Pass argument NO-DEFAULT to `find-tag-interactive'.
14462
e02f48d7
JB
144632011-04-22 Juanma Barranquero <lekktu@gmail.com>
14464
14465 Lexical-binding cleanup.
14466
14467 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14468 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14469 * progmodes/ada-prj.el (ada-prj-initialize-values)
14470 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14471 (ada-prj-show-value):
14472 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14473 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14474 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14475 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14476 * progmodes/bug-reference.el (bug-reference-push-button):
14477 * progmodes/fortran.el (fortran-line-length):
14478 * progmodes/glasses.el (glasses-change):
14479 * progmodes/octave-mod.el (octave-fill-paragraph):
14480 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14481 (python-pdbtrack-grub-for-buffer, python-sentinel):
14482 * progmodes/sql.el (sql-save-connection):
14483 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14484 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14485 Mark unused parameters.
14486
14487 * progmodes/compile.el (compilation--flush-directory-cache)
14488 (compilation--flush-parse, compile-internal): Mark unused parameters.
14489 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14490 (compilation-next-error-function): Remove unused variable `timestamp'.
14491
14492 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14493 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14494
14495 * progmodes/dcl-mode.el (dcl-end-of-command):
14496 Remove unused variable `start'.
14497 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14498 (dcl-option-value-basic, dcl-option-value-offset)
14499 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14500 Mark unused parameters.
14501 (dcl-save-local-variable): Remove unused variable `val'.
14502 (mode): Declare.
14503
14504 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14505 Mark unused parameters.
14506 (delphi-ignore-changes): Move before first use.
14507 (delphi-charset-token-at): Remove unused variable `start'.
14508 (delphi-else-start): Remove unused variable `if-count'.
14509 (delphi-comment-block-start, delphi-comment-block-end):
14510 Remove unused variable `kind'.
14511 (delphi-indent-line): Remove unused variable `new-point'.
14512
14513 * progmodes/ebrowse.el (ebrowse-files-list)
14514 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14515 Mark unused parameters. Don't quote `lambda'.
14516 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14517 Don't quote `lambda'.
14518 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14519 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14520 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14521 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14522 Use `ignore-errors'.
14523 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14524 (ebrowse-view/find-file-and-search-pattern)
14525 (ebrowse-view/find-member-declaration/definition):
14526 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14527 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14528 Rename parameter PREFIX-ARG to PREFIX.
14529 (ebrowse-tags-read-name): Remove unused variables `start' and
14530 `member-info'.
14531 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14532 to `tags-file'.
14533
14534 * progmodes/etags.el (local-find-tag-hook): Declare.
14535 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14536 Mark unused parameters.
14537
14538 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14539 (executable-interpret): Mark unused parameter.
14540
14541 * progmodes/flymake.el (flymake-process-sentinel)
14542 (flymake-after-change-function)
14543 (flymake-create-temp-with-folder-structure)
14544 (flymake-get-include-dirs-dot): Mark unused parameters.
14545 (flymake-safe-delete-directory): Remove unused variable `err'.
14546
14547 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14548 (speedbar-timer-fn, speedbar-line-text)
14549 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14550 (speedbar-center-buffer-smartly): Declare functions.
14551 (gdb-find-watch-expression): Remove unused variable `array'.
14552 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14553 (gdb-starting): Mark unused parameters.
14554 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14555 (gdb-table-string): Remove unused variable `res'.
14556 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14557 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14558 (gdb-display-buffer): Remove unused variable `cur-size'.
14559
14560 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14561 allow lexical-binding compilation.
14562 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14563 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14564 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14565 Mark unused parameters.
14566 (gud-gdb-marker-filter): Remove unused variable `match'.
14567 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14568 lambda expressions and funcall them, instead of using `fset'.
14569
14570 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14571 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14572
14573 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14574 variable `header-beg'; use `let'.
14575
14576 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14577 `restart', `last-sexp' and `at-do'.
14578
14579 * progmodes/js.el (js--debug): Mark unused parameter.
14580 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14581 (js--splice-into-items): Remove unused variable `item'.
14582 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14583
14584 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14585 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14586 (makefile-complete): Remove unused variable `try'.
14587 (makefile-fill-paragraph, makefile-match-function-end):
14588 Mark unused parameters.
14589
14590 * progmodes/octave-inf.el (inferior-octave-complete):
14591 Remove unused variable `proc'.
14592 (inferior-octave-output-digest): Mark unused parameter.
14593
14594 * progmodes/perl-mode.el (perl-calculate-indent):
14595 Remove unused variable `err'.
14596
14597 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14598 (prolog-indent-line): Mark unused parameters.
14599 (prolog-indent-line): Remove unused variable `beg'.
14600
14601 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14602 (reporter-dont-compact-list): Declare.
14603
14604 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14605 Remove unused variable `char'.
14606 (sh-debug): Mark unused parameter.
14607 (sh-get-indent-info): Remove unused variable `start'.
14608 (sh-calculate-indent): Remove unused variable `var'.
14609
14610 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14611 (simula-electric-keyword): Remove unused variable `null'.
14612 (simula-search-backward, simula-search-forward): Remove unused
14613 variables `begin' and `end'.
14614
14615 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14616 Remove unused variable `pos'.
14617 (vera-electric-tab, vera-comment-uncomment-region):
14618 Mark unused parameters.
14619 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14620
7ede3b65
CY
146212011-04-22 Chong Yidong <cyd@stupidchicken.com>
14622
14623 * emacs-lisp/package.el (package--builtins, package-alist)
14624 (package-load-descriptor, package-built-in-p, package-activate)
14625 (define-package, package-installed-p)
14626 (package-compute-transaction, package-buffer-info)
14627 (package--push): Doc fix. Distinguish more clearly between
14628 version strings and version lists.
14629
121656e9
JB
146302011-04-21 Juanma Barranquero <lekktu@gmail.com>
14631
14632 Lexical-binding cleanup.
14633
14634 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14635 (5x5-make-mutate-best):
14636 * play/fortune.el (fortune-in-buffer):
14637 * play/gomoku.el (gomoku-init-display):
14638 * play/solitaire.el (solitaire, solitaire-do-check):
14639 * play/tetris.el (tetris-default-update-speed-function):
14640 Mark unused parameters.
14641
14642 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14643 (bubbles--shift): Remove unused variable `char-org'.
14644 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14645 (bubbles--show-images): Remove unused variable `char'.
14646
14647 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14648 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14649 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14650 (decipher-analyze-buffer): Use ?\s.
14651 (decipher-make-checkpoint): Remove unused variable `mapping'.
14652
14653 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14654
14655 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14656 Remove unused variable `result'; use `let'.
14657
14658 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14659 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14660 (gametree-children-shown-p, gametree-compute-reduced-score):
14661 Use `ignore-errors'.
14662
14663 * play/handwrite.el (ps-lpr-switches): Declare.
14664 (handwrite): Remove unused variables `pmin' and `lastp'.
14665
14666 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14667
14668 * play/landmark.el (landmark-init-display)
14669 (landmark-update-naught-weights): Mark unused parameters.
14670 (landmark-y): Remove unused variable `noise'. Simplify.
14671 (landmark-human-plays): Remove unused variable `score'.
14672
14673 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14674 (mpuz-try-proposal): Remove unused variable `game'.
14675
14676 * play/zone.el (life-patterns): Declare.
14677
80f499c7
JB
146782011-04-20 Juanma Barranquero <lekktu@gmail.com>
14679
14680 * vc/vc.el (ediff-vc-internal): Declare function.
14681
024ff170
SM
146822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14683
c0a193ea
SM
14684 * shell.el: Use lexical-binding and std completion UI.
14685 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14686 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14687 comint-preoutput-filter-functions rather than on
14688 comint-output-filter-functions.
14689 (shell-command-completion, shell--command-completion-data)
14690 (shell-filename-completion, shell-environment-variable-completion)
14691 (shell-c-a-p-replace-by-expanded-directory): New functions.
14692 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14693 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14694 (shell-dynamic-complete-environment-variable): Use them.
14695 (shell-dynamic-complete-as-environment-variable)
14696 (shell-dynamic-complete-as-command): Remove.
14697 (shell-match-partial-variable): Match past point.
14698 * comint.el: Clean up use of completion-at-point-functions.
14699 (comint-completion-at-point): New function.
14700 (comint-mode): Use it completion-at-point-functions.
14701 (comint-dynamic-complete): Make it obsolete.
14702 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14703 (comint-c-a-p-replace-by-expanded-history): New function.
14704 (comint-dynamic-complete-functions)
14705 (comint-replace-by-expanded-history): Use it.
14706 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14707 termination strings. Try harder to avoid second try-completion.
14708 (completion-in-region-mode-map): Disable bindings that don't work yet.
14709
2dbaa080
SM
14710 * comint.el: Use lexical-binding. Require CL.
14711 (comint-dynamic-complete-functions): Use comint-filename-completion.
14712 (comint-completion-addsuffix): Tweak custom type.
14713 (comint-filename-completion, comint--common-suffix)
14714 (comint--common-quoted-suffix, comint--table-subvert)
14715 (comint--complete-file-name-data): New functions.
14716 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14717 (comint-dynamic-list-filename-completions): Use them.
14718 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14719
2dbaa080
SM
14720 * minibuffer.el (completion-in-region-mode):
14721 Keep completion-in-region-mode--predicate global.
14722 (completion-in-region--postch):
14723 Assume completion-in-region-mode--predicate is not null.
14724
c79a6f38
SM
14725 * progmodes/flymake.el (flymake-start-syntax-check-process):
14726 Obey `dir'. Simplify.
14727
024ff170
SM
14728 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14729 we're in VC after all.
14730
1c6c854e
CS
147312011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14732
14733 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14734 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14735 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14736
bed7f140
SM
147372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14738
332e62ab
SM
14739 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14740 add sanity check.
14741
bed7f140
SM
14742 * obsolete/erc-hecomplete.el: Make obsolete.
14743 * obsolete/: Standardize obsolescence info in the header.
14744
f195c582
GM
147452011-04-20 Glenn Morris <rgm@gnu.org>
14746
14747 * calendar/solar.el (solar-horizontal-coordinates):
14748 Use the longitude argument rather than `calendar-longitude'.
14749 (solar-date-next-longitude): Remove unused locals.
14750
cb79b8c0
VJL
147512011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14752
14753 * whitespace.el: New version 13.2.1.
14754
147552011-04-20 felix <EmacsWiki> (tiny change)
14756
d8e4b68b 14757 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14758 switching between major modes on a file.
14759
602ea69d
SM
147602011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14761
14762 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14763 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14764 multi-line comments as well.
14765
06b60517
JB
147662011-04-19 Juanma Barranquero <lekktu@gmail.com>
14767
14768 Lexical-binding cleanup.
14769
14770 * arc-mode.el (archive-mode-revert):
14771 * cmuscheme.el (scheme-interactively-start-process):
14772 * custom.el (custom-initialize-delay):
14773 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14774 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14775 * emacs-lock.el (emacs-lock-clear-sentinel):
14776 * ezimage.el (defezimage):
14777 * follow.el (follow-avoid-tail-recenter):
14778 * fringe.el (set-fringe-mode-1):
14779 * generic-x.el (bat-generic-mode-compile):
14780 * help-mode.el (help-info-variable, help-do-xref)
14781 (help-mode-revert-buffer):
14782 * help.el (view-emacs-todo):
14783 * iswitchb.el (iswitchb-completion-help):
14784 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14785 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14786 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14787 * locate.el (locate-update):
14788 * longlines.el (longlines-encode-region)
14789 (longlines-after-change-function):
14790 * outline.el (outline-isearch-open-invisible):
14791 * ps-def.el (declare-function, charset-dimension, char-width)
14792 (encode-char):
14793 * ps-mule.el (ps-mule-plot-string):
14794 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14795 (recentf-edit-list-select, recentf-edit-list-validate)
14796 (recentf-open-files-action):
14797 * rect.el (delete-whitespace-rectangle-line)
14798 (rectangle-number-line-callback):
14799 * register.el (window-configuration-to-register)
14800 (frame-configuration-to-register):
14801 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14802 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14803 (xselect-convert-to-targets, xselect-convert-to-delete)
14804 (xselect-convert-to-filename, xselect-convert-to-charpos)
14805 (xselect-convert-to-lineno, xselect-convert-to-colno)
14806 (xselect-convert-to-os, xselect-convert-to-host)
14807 (xselect-convert-to-user, xselect-convert-to-class)
14808 (xselect-convert-to-name, xselect-convert-to-integer)
14809 (xselect-convert-to-atom, xselect-convert-to-identity):
14810 * subr.el (declare, ignore, process-kill-without-query)
14811 (text-clone-maintain):
14812 * terminal.el (te-get-char, te-tic-sentinel):
14813 * tool-bar.el (tool-bar-make-keymap):
14814 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14815 * type-break.el (type-break-mode, type-break-noninteractive-query):
14816 * view.el (View-back-to-mark):
14817 * wid-browse.el (widget-browse-action, widget-browse-widget)
14818 (widget-browse-widgets, widget-browse-sexp):
14819 * widget.el (define-widget-keywords):
14820 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14821 Mark unused parameters.
14822
14823 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14824 (align-areas): Remove unused variable `look'.
14825 (align-region): Remove unused variables `real-end' and `pos-list'.
14826
14827 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14828
14829 * bindings.el (mode-line-modified, mode-line-remote):
14830 Mark unused parameters.
14831 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14832
14833 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14834 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14835
14836 * comint.el (comint-history-isearch-pop-state)
14837 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14838 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14839 (comint-substitute-in-file-name): Doc fix.
14840
14841 * completion.el (cmpl-statistics-block): Mark unused parameter.
14842 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14843 (save-completions-to-file, load-completions-from-file):
14844 Remove unused local variable `e'.
14845
14846 * composite.el (compose-chars): Remove unused variable `len'.
14847 (lgstring-insert-glyph): Remove unused variable `g'.
14848 (compose-glyph-string): Remove unused variables `ascent',
14849 `descent', `lbearing' and `rbearing'.
14850 (compose-glyph-string-relative): Remove unused variables
14851 `lbearing', `rbearing' and `wadjust'.
14852 (compose-gstring-for-graphic): Remove unused variables `header',
14853 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14854 (compose-gstring-for-terminal): Remove unused variables `header'
14855 and `nchars'. Use `let', not `let*'.
14856
14857 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14858 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14859 (Custom-buffer-done, custom-buffer-create-internal)
14860 (custom-browse-visibility-action, custom-browse-group-tag-action)
14861 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14862 (widget-magic-mouse-down-action, custom-toggle-parent)
14863 (custom-add-parent-links, custom-toggle-hide-variable)
14864 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14865 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14866 (custom-face-menu-create, custom-variable-menu-create, get)
14867 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14868 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14869 (customize-apropos): Remove unused variable `tests'.
14870 (custom-group-value-create): Remove unused variable `hidden-p'.
14871 (sort-fold-case): Declare.
14872
14873 * cus-theme.el (custom-reset-standard-faces-list)
14874 (custom-reset-standard-variables-list): Declare.
14875 (customize-create-theme, custom-theme-revert, custom-theme-write)
14876 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14877 Mark unused parameters.
14878
14879 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14880
14881 * delim-col.el (delimit-columns-max): Move defvar before first use.
14882
14883 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14884 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14885
14886 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14887 (auto-insert): Declare.
14888 (desktop-restore-file-buffer): Rename desktop-* parameters;
14889 mark unused ones.
14890 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14891 (desktop-buffer): Rename desktop-* parameters.
14892
14893 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14894 (dframe-reposition-frame-xemacs, dframe-help-echo)
14895 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14896 Mark unused parameters.
14897
14898 * dired-aux.el (backup-extract-version-start, overwrite-query)
14899 (overwrite-backup-query, rename-regexp-query)
14900 (rename-non-directory-query): Declare.
14901 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14902 (dired-add-entry): Remove unused variable `orig-file-name'.
14903 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14904 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14905 `dired-copy-preserve-time' directly.
14906 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14907 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14908
14909 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14910 (dired-virtual-revert, dired-make-relative-symlink):
14911 Mark unused parameters.
14912 (manual-program): Declare.
14913 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14914 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14915 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14916
14917 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14918
14919 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14920
14921 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14922 Declare.
14923
14924 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14925
14926 * electric.el (Electric-command-loop): Rename parameter
14927 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14928
14929 * expand.el (expand-in-literal): Remove unused variable `here'.
14930
14931 * facemenu.el (facemenu-add-new-color):
14932 Remove unused variable `docstring'.
14933
14934 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14935 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14936 (face-attr-construct): Mark unused parameter. Doc fix.
14937 (read-color): Remove unused variable `hex-string'.
14938
14939 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14940 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14941 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14942 (display-buffer-other-frame): Remove unused variable `old-window'.
14943 (kill-buffer-hook): Declare.
14944 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14945 Mark unused parameters.
14946 (after-find-file): Pass 1 to `auto-save-mode', not t.
14947
14948 * files-x.el (auto-insert): Declare.
14949 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14950
14951 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14952 variable `buf'. Mark unused parameter.
06b60517
JB
14953 (find-lisp-insert-directory): Mark unused parameter.
14954
14955 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14956 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14957 (format-common-tail): Remove, unused.
14958 (format-deannotate-region): Remove unused variable `loc'.
14959 (format-annotate-region): Remove unused variable `p'.
14960 (format-annotate-single-property-change): Remove unused variables
14961 `default' and `tail'.
14962
14963 * forms.el (read-file-filter): Declare.
14964 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14965
14966 * frame.el (frame-creation-function-alist): Mark unused parameter.
14967 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14968
14969 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14970 Remove unused parameters.
14971 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14972 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14973
14974 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14975 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14976 (hfy-prepare-tag-map): Mark unused parameters.
14977 (htmlfontify-buffer): Use `called-interactively-p'.
14978
14979 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14980 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14981 (ibuffer-do-occur): Mark unused parameters.
14982 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14983 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14984
14985 * ibuffer.el: Don't quote `lambda'.
14986 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14987 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14988 Mark unused parameters.
14989
14990 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14991 (ido-completing-read): Mark unused parameters.
14992 (ido-copy-current-word): Mark unused parameters;
14993 remove unused variable `name'.
14994 (ido-sort-merged-list): Remove unused parameter `dirs'.
14995
14996 * ielm.el (ielm-input-sender): Mark unused parameter.
14997 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14998 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14999 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15000 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15001 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15002
15003 * image-dired.el (image-dired-display-thumbs): Remove unused
15004 variables `curr-file' and `count'.
15005 (image-dired-remove-tag): Remove unused variable `start'.
15006 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15007 variable `curr-file'
15008 (image-dired-rotate-original): Remove unused variable `temp-file'.
15009 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15010 Remove unused variable `file'.
15011 (image-dired-gallery-generate): Remove unused variable `curr'.
15012 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15013
15014 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15015
15016 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15017
15018 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15019
15020 * isearch.el (minibuffer-history-symbol): Declare.
15021 (isearch-edit-string): Remove unused variable `err'.
15022 (isearch-message-prefix, isearch-message-suffix):
15023 Mark unused parameters.
15024
15025 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15026
15027 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15028
15029 * makesum.el (double-column): Remove unused variable `cnt'.
15030
15031 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15032 (ido-ignore-item-temp-list): Declare.
15033
15034 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15035 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15036 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15037 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15038 `mouse-col-delta'.
15039
15040 * mouse-sel.el (mouse-extend-internal):
15041 Remove unused variable `orig-window-frame'.
15042
15043 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15044 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15045 Move declarations before first use.
15046 (pcomplete-opt): Mark unused parameters; doc fix.
15047
15048 * proced.el (proced-revert): Mark unused parameter.
15049 (proced-send-signal): Remove unused variable `err'.
15050
15051 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15052 Rename parameter PREFIX-ARG to ARG.
15053 (ps-basic-plot-string, ps-basic-plot-whitespace):
15054 Mark unused parameters.
15055
15056 * replace.el (replace-count): Define.
15057 (occur-revert-function): Mark unused parameters.
15058 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15059 (isearch-case-fold-search, isearch-string): Declare.
15060 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15061 bind `case-fold-search'. Remove unused variables `beg' and `end',
15062 and simplify.
15063 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15064 COUNT and bind `replace-count'.
15065 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15066 to COUNT.
15067
15068 * savehist.el (print-readably, print-string-length): Declare.
15069
15070 * shadowfile.el (shadow-expand-cluster-in-file-name):
15071 Remove unused variable `cluster'.
15072 (shadow-copy-file): Remove unused variable `i'.
15073 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15074 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15075 (shadow-define-literal-group, shadow-define-regexp-group)
15076 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15077
15078 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15079 (shell): Use `called-interactively-p'.
15080 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15081
15082 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15083 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15084 (delete-backward-char): Remove unused variable `ocol'.
15085 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15086 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15087 (event-apply-hyper-modifier, event-apply-shift-modifier)
15088 (event-apply-control-modifier, event-apply-meta-modifier):
15089 Mark unused parameters.
15090 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15091 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15092
15093 * speedbar.el (speedbar-ignored-directory-expressions)
15094 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15095 (speedbar-find-file, speedbar-dir-follow)
15096 (speedbar-directory-buttons-follow, speedbar-tag-find)
15097 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15098 (speedbar-buffers-line-directory, speedbar-buffer-click):
15099 Mark unused parameters.
15100 (speedbar-tag-file): Remove unused variable `mode'.
15101 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15102
15103 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15104
15105 * talk.el (talk): Remove unused variable `display'.
15106
15107 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15108 (tar-write-region-annotate): Mark unused parameter.
15109
15110 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15111 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15112 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15113 warning by another.
15114
15115 * time-stamp.el (time-stamp-string-preprocess):
15116 Remove unused variable `require-padding'.
15117
15118 * tree-widget.el (widget-glyph-enable): Declare.
15119 (tree-widget-action): Mark unused parameter.
15120
15121 * w32-fns.el (x-get-selection): Mark unused parameter.
15122 (autoload-make-program, generated-autoload-file): Declare.
15123
15124 * wdired.el (wdired-revert): Mark unused parameters.
15125 (wdired-xcase-word): Remove unused variable `err'.
15126
15127 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15128 (whitespace-help-scroll): Remove unused variable `data-help'.
15129
15130 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15131 (widget-image-insert, widget-after-change, default)
15132 (widget-default-format-handler, widget-default-notify)
15133 (widget-default-prompt-value, widget-info-link-action)
15134 (widget-url-link-action, widget-function-link-action)
15135 (widget-variable-link-action, widget-file-link-action)
15136 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15137 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15138 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15139 (widget-insert-button-action, widget-delete-button-action, visibility)
15140 (widget-documentation-link-action, widget-documentation-string-action)
15141 (widget-const-prompt-value, widget-regexp-match, symbol)
15142 (widget-coding-system-prompt-value)
15143 (widget-key-sequence-value-to-external, sexp)
15144 (widget-sexp-value-to-internal, character, vector, cons)
15145 (widget-choice-prompt-value, widget-boolean-prompt-value)
15146 (widget-color--choose-action): Mark unused parameters.
15147 (widget-item-match-inline, widget-choice-match-inline)
15148 (widget-checklist-match, widget-checklist-match-inline)
15149 (widget-group-match): Rename parameter VALUES to VALS.
15150 (widget-field-value-set): Remove unused variable `size'.
15151 (widget-color-action): Remove unused variables `value' and `start'.
15152
15153 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15154 variable `dir'. Doc fix.
06b60517
JB
15155 (windmove-find-other-window): Don't pass it.
15156
15157 * window.el (count-windows): Mark unused parameter.
15158 (bw-adjust-window): Remove unused variable `err'.
15159
15160 * woman.el (woman-file-name): Remove unused variable `default'.
15161 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15162 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15163 (global-font-lock-mode): Declare.
15164 (woman-decode-region): Mark unused parameter.
15165 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15166
15167 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15168 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15169 (x-dnd-handle-moz-url): Remove unused variable `title'.
15170 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15171
15172 * xml.el (xml-parse-tag, xml-parse-attlist):
15173 Remove unused variable `pos'.
15174
bc4f7f3d
GM
151752011-04-19 Glenn Morris <rgm@gnu.org>
15176
15177 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15178 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15179 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15180 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15181 * calendar/cal-html.el (cal-html-insert-minical):
15182 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15183 (calendar-mark-date-pattern):
15184 Prefix "unused" locals.
15185
15186 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15187 optional argument `style'.
15188
15189 * calendar/appt.el (appt-make-list):
15190 * calendar/cal-china.el (calendar-chinese-date-string):
15191 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15192 (diary-hebrew-yahrzeit):
15193 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15194 * calendar/calendar.el (calendar-generate-window):
15195 * calendar/time-date.el (time-to-days):
15196 Remove unused local variables.
15197
16a43933
CY
151982011-04-18 Chong Yidong <cyd@stupidchicken.com>
15199
15200 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15201 glyphless-char-display table.
15202 (tabulated-list-glyphless-char-display): New var.
15203
7eed1860
SS
152042011-04-18 Sam Steingold <sds@gnu.org>
15205
15206 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15207 to acknowledgments.
15208
4d2d1ccd
GM
152092011-04-17 Glenn Morris <rgm@gnu.org>
15210
15211 * calendar/diary-lib.el (diary-sexp-entry):
15212 * calendar/holidays.el (holiday-sexp):
15213 Set debug-on-error rather than the removed stack-trace-on-error.
15214
239da61d
GM
152152011-04-16 Glenn Morris <rgm@gnu.org>
15216
15217 * progmodes/f90.el: Use lexical-binding.
15218 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15219
8b05752a
SM
152202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15221
daca8ba5
SM
15222 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15223 (mail-mode): Setup mailalias completion here instead.
15224 * mail/mailalias.el: Use lexical-binding.
15225 (pattern, mailalias-done): Declare dynamic.
15226 (mail-completion-at-point-function): New function, from mail-complete.
15227 (mail-complete): Use it.
15228 (mail-completion-expand): New function.
15229 (mail-get-names): Use it.
15230 (mail-directory, mail-directory-process, mail-directory-stream):
15231 Don't use `pattern' for lexically bound arg.
15232
6f542485
SM
15233 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15234
037e7c3f
SM
15235 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15236 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15237 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15238
8b05752a
SM
15239 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15240 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15241 (byte-interactive-p): Define them again, for use when inlining
15242 old code.
15243
49093f60
JB
152442011-04-15 Juanma Barranquero <lekktu@gmail.com>
15245
15246 * loadup.el: Use `string-to-number', not `string-to-int'.
15247
b5b8e7de
SM
152482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15251 gud-gdb-complete-command.
15252 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15253 (gud-gdb-completion-at-point): New function.
15254 (gud-gdb-completions): Remove.
15255
f42efeb5
MA
152562011-04-14 Michael Albinus <michael.albinus@gmx.de>
15257
49093f60
JB
15258 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15259 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15260 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15261 whether `executable-find' is bound.
f42efeb5
MA
15262
15263 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15264
e240cc21
SM
152652011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * minibuffer.el (completion-in-region-mode-predicate)
15268 (completion-in-region-mode--predicate): New vars.
15269 (completion-in-region, completion-in-region--postch)
15270 (completion-in-region-mode): Use them.
15271 (completion--capf-wrapper): Also return the hook function.
15272 (completion-at-point, completion-help-at-point):
15273 Adjust and provide a predicate.
c2bd2ab0
SM
15274
15275 Preserve arg names for advice of subr and lexical functions (bug#8457).
15276 * help-fns.el (help-function-arglist): Consolidate the subr and
15277 new-byte-code cases. Add argument `preserve-names' to extract names
15278 from the docstring when needed.
15279 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15280 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15281 (ad-arglist): Use help-function-arglist's new arg.
15282 (ad-definition-type): Use cond.
15283
c183f693
JB
152842011-04-13 Juanma Barranquero <lekktu@gmail.com>
15285
06641a47
JB
15286 * autorevert.el (auto-revert-handler):
15287 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15288 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15289 Don't quote lambda.
15290
c183f693
JB
15291 * image-mode.el (image-transform-set-scale):
15292 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15293
1e3b6001
G
152942011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15295
15296 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15297 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15298 Upgrades via gnutls-cli are too slow to be done opportunistically.
15299
2d6af8dd
JB
153002011-04-12 Juanma Barranquero <lekktu@gmail.com>
15301
15302 * dframe.el (dframe-current-frame): Remove spurious quote.
15303
c0749a51
GM
153042011-04-12 Glenn Morris <rgm@gnu.org>
15305
088d0d61
GM
15306 * calendar/cal-tex.el (cal-tex-end-document):
15307 Try to automatically use latin1 input if needed.
15308
c0749a51
GM
15309 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15310 Don't try to cons a mark onto an empty element.
15311
5c90fde0
LL
153122011-04-11 Leo Liu <sdl.web@gmail.com>
15313
15314 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15315 buffers.
15316 (ido-kill-buffer-at-head): Support killing virtual buffers.
15317
369e974d
CY
153182011-04-10 Chong Yidong <cyd@stupidchicken.com>
15319
15320 * minibuffer.el (completion-show-inline-help): New var.
15321 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15322 (minibuffer-force-complete, minibuffer-complete-word):
15323 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15324
15325 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15326 to avoid interference from inline help (Bug#5849).
15327
37f1c930
LL
153282011-04-10 Leo Liu <sdl.web@gmail.com>
15329
099c39a4
JB
15330 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15331 Fix typo.
37f1c930 15332
a32d4040
CY
153332011-04-09 Chong Yidong <cyd@stupidchicken.com>
15334
15335 * image-mode.el (image-toggle-display-image): Signal an error if
15336 not in Image mode.
15337 (image-transform-mode, image-transform-resize)
15338 (image-transform-set-rotation): Doc fix.
daca8ba5 15339 (image-transform-set-resize): Delete.
a32d4040
CY
15340 (image-transform-set-scale, image-transform-fit-to-height)
15341 (image-transform-fit-to-width): Handle image-toggle-display-image
15342 and image-transform-resize directly.
15343
099c39a4 153442011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15345
15346 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15347 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15348 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15349 (doc-view-mode-map): Add bindings for the new functions.
15350
099c39a4 153512011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15352
4d61f28d 15353 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15354 Fix typo in docstring.
15355
3726838a
EZ
153562011-04-08 Eli Zaretskii <eliz@gnu.org>
15357
04f33f1e
EZ
15358 * files.el (file-size-human-readable): Produce one digit after
15359 decimal, like "ls -lh" does.
15360
15361 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15362 the file size representation.
15363
3726838a
EZ
15364 * simple.el (list-processes): If async subprocesses are not
15365 available, error out with a clear error message.
15366
cbb59342
CY
153672011-04-08 Chong Yidong <cyd@stupidchicken.com>
15368
15369 * help.el (help-form-show): New function, to be called from C.
15370 Put help-form output in a buffer named differently than *Help*.
15371
e3971c44
EZ
153722011-04-08 Eli Zaretskii <eliz@gnu.org>
15373
15374 * files.el (file-size-human-readable): New function.
15375
15376 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15377 computing the representation inline. Don't require `cl'.
15378
12544bbe
GM
153792011-04-08 Glenn Morris <rgm@gnu.org>
15380
a1de6c6a
GM
15381 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15382
3c4671f4
GM
15383 * net/browse-url.el (browse-url-firefox):
15384 Test system-type, not system-configuration.
15385
b605679c
GM
15386 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15387 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15388 Use log-edit-empty-buffer-p. (Bug#7598)
15389
56442f0c
GM
15390 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15391 (rlogin-mode-map): Initialize in the defvar.
15392 (rlogin): Use ignore-errors.
15393
12544bbe
GM
15394 * replace.el (occur-mode-map): Some fixes for menu items.
15395
eb237b0f
AH
153962011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15397
15398 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15399
7d668f2c
CY
154002011-04-06 Chong Yidong <cyd@stupidchicken.com>
15401
e67a13ab
CY
15402 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15403 issuing unused warnings.
15404
15405 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15406 macro directly.
15407
7d668f2c
CY
15408 * simple.el: Lisp reimplement of list-processes. Based on an
15409 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15410 (process-menu-mode): New major mode.
15411 (list-processes--refresh, list-processes):
15412 (process-menu-visit-buffer): New functions.
15413
15414 * files.el (save-buffers-kill-emacs): Don't assume any return
15415 value of list-processes, which is undocumented anyway.
15416
a83ec3c9
CY
154172011-04-06 Chong Yidong <cyd@stupidchicken.com>
15418
15419 * emacs-lisp/tabulated-list.el: New file.
15420
e91a96fe
CY
15421 * emacs-lisp/package.el: Use Tabulated List mode.
15422 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15423 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15424 table format using Tabulated List mode variables.
15425 (package--push): New macro, replacing package-list-maybe-add.
15426 (package-menu--generate): Use package--push. Renamed from
15427 package--generate-package-list.
15428 (package-menu-refresh, list-packages): Use it.
daca8ba5 15429 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15430 Return insertion data instead of inserting it directly.
099c39a4
JB
15431 (package-menu-describe-package, package-menu-execute):
15432 Use tabulated-list-get-id.
e91a96fe
CY
15433 (package-menu-mark-delete, package-menu-mark-install)
15434 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15435 (package-menu-mark-obsolete-for-deletion):
15436 Use tabulated-list-put-tag.
e91a96fe
CY
15437 (package--list-packages, package-menu-revert)
15438 (package-menu-get-package, package-menu-get-version)
15439 (package-menu-sort-by-column): Functions deleted.
15440 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15441 (package-menu--status-predicate, package-menu--version-predicate)
15442 (package-menu--name-predicate)
15443 (package-menu--description-predicate): Handle arguments in the
15444 Tabulated List format.
15445 (package-list-packages-no-fetch): Call list-packages.
15446
3e214b50
JB
154472011-04-06 Juanma Barranquero <lekktu@gmail.com>
15448
15449 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15450 (after-find-file): Don't bind it.
3e214b50
JB
15451 (revert-buffer-in-progress-p): New variable.
15452 (revert-buffer): Bind it.
15453 Pass nil for `after-find-file-from-revert-buffer'.
15454
15455 * saveplace.el (save-place-find-file-hook): Use new variable
15456 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15457
3f0f1700
GM
154582011-04-06 Glenn Morris <rgm@gnu.org>
15459
c0274801
GM
15460 * Makefile.in (AUTOGEN_VCS): New variable.
15461 (autoloads): Use $AUTOGEN_VCS.
15462
3f0f1700
GM
15463 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15464 * calendar/calendar.el (calendar-mode-map):
15465 Check for toolkit scroll bars. (Bug#8305)
15466
41ea9e48
CY
154672011-04-05 Chong Yidong <cyd@stupidchicken.com>
15468
15469 * minibuffer.el (completion-in-region--postch)
15470 (completion-in-region-mode): Remove unnecessary messages.
15471
6194c800
JB
154722011-04-05 Juanma Barranquero <lekktu@gmail.com>
15473
33256f14
JB
15474 * font-lock.el (font-lock-refresh-defaults):
15475 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15476 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15477
6194c800
JB
15478 * info.el (Info-directory-list, Info-read-node-name-2)
15479 (Info-split-parameter-string): Doc fixes.
15480 (Info-virtual-nodes): Reflow docstring.
15481 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15482 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15483 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15484 Fix typos in docstrings.
15485 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15486 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15487 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15488 (Info-restore-desktop-buffer): Mark unused parameters.
15489 (Info-directory-find-file, Info-directory-find-node)
15490 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15491 (Info-virtual-index-find-node, Info-apropos-find-file)
15492 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15493 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15494 (Info-virtual-index): Remove unused local variable `nodename'.
15495
b87a8200 154962011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15497
b87a8200
DD
15498 * net/rcirc.el: Update my e-mail address.
15499 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15500
3b2ff876
CY
155012011-04-05 Chong Yidong <cyd@stupidchicken.com>
15502
15503 * startup.el (command-line): Save the cursor's theme-face
15504 directly, instead of using face-override-spec.
15505
15506 * custom.el (load-theme): Minor optimization in assigning faces.
15507
8d17e7ca
JB
155082011-04-04 Juanma Barranquero <lekktu@gmail.com>
15509
15510 * help-fns.el (describe-variable): Complete all variables having
15511 documentation, including keywords.
15512 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15513
2fbc1934
JB
155142011-04-04 Juanma Barranquero <lekktu@gmail.com>
15515
15516 Convert to lexical-binding.
15517
15518 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15519 (bs--get-marked-string, bs--get-modified-string)
15520 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15521 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15522 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15523
15524 * ehelp.el (electric-help-execute-extended)
15525 (electric-help-ctrl-x-prefix):
15526 * hexl.el (hexl-revert-buffer-function):
15527 * linum.el (linum-after-change, linum-after-scroll):
15528 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15529
15530 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15531
74f50695
DU
155322011-04-04 Daiki Ueno <ueno@unixuser.org>
15533
15534 * epa-dired.el:
15535 * epa-mail.el:
15536 * epa-hook.el:
15537 * epa-file.el:
15538 * epa.el:
15539 * epg.el: Use lexical binding.
15540
c11325f7
CY
155412011-04-03 Chong Yidong <cyd@stupidchicken.com>
15542
0d9e9a12
CY
15543 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15544
c11325f7 15545 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15546 dictionary case for flyspell-mark-duplications-exceptions.
15547 Use regexp matching for languages.
c11325f7
CY
15548 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15549 default dictionary (Bug#7926).
15550
da91b5f2
CY
155512011-04-02 Chong Yidong <cyd@stupidchicken.com>
15552
099c39a4
JB
15553 * emacs-lisp/package.el (package--with-work-buffer):
15554 Recognize https URLs.
da91b5f2 15555
099c39a4
JB
15556 * net/network-stream.el: Move from gnus/proto-stream.el.
15557 Change prefix to network-stream throughout.
da91b5f2
CY
15558 (open-protocol-stream): Merge into open-network-stream, leaving
15559 open-protocol-stream as an alias. Handle nil BUFFER args.
15560
15561 * subr.el (open-network-stream): Move to net/network-stream.el.
15562
afa8e9f6
GM
155632011-04-02 Glenn Morris <rgm@gnu.org>
15564
1d2e369d
GM
15565 * find-dired.el (find-exec-terminator): New option.
15566 (find-ls-option): Test for -ls support.
15567 (find-ls-subdir-switches): Test for -b in find-ls-option.
15568 (find-dired, find-grep-dired): Doc fixes.
15569 (find-dired): Use find-exec-terminator.
15570
8abb7da8 15571 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15572 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15573 (find-name-arg): Remove purecopy.
8abb7da8 15574
f3ca7378
GM
15575 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15576 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15577 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15578 accordingly. Don't add the null-device if not needed.
15579
afa8e9f6
GM
15580 * files.el (save-some-buffers): Doc fix.
15581
35eae264
EZ
155822011-04-02 Eli Zaretskii <eliz@gnu.org>
15583
15584 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15585
26b51db5
JB
155862011-04-01 Juanma Barranquero <lekktu@gmail.com>
15587
15588 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15589 Use `dolist' rather than `mapcar'.
15590
7200d79c
SM
155912011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15592
03408648 15593 Add lexical binding.
7200d79c 15594
03408648
SM
15595 * subr.el (apply-partially): Use new closures rather than CL.
15596 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15597 (dolist, dotimes): Use slightly different expansion for lexical code.
15598 (functionp): Move to C.
15599 (letrec): New macro.
15600 (with-wrapper-hook): Use it and apply-partially instead of CL.
15601 (eval-after-load): Preserve lexical-binding.
15602 (save-window-excursion, with-output-to-temp-buffer): Turn them
15603 into macros.
7200d79c 15604
03408648
SM
15605 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15606
15607 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15608 than the arglist.
15609 (help-add-fundoc-usage): Don't add `Not documented'.
15610 (help-function-arglist): Handle closures, subroutines, and new
15611 byte-code-functions.
15612 (help-make-usage): Remove leading underscores.
15613 (describe-function-1): Handle closures.
15614 (describe-variable): Use special-variable-p for completion.
15615
15616 * files.el (lexical-binding): Declare safe.
f488fb65 15617
03408648
SM
15618 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15619 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15620 (pcase): Add `let' pattern.
15621 Change memoization so it actually works.
15622 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15623 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15624 <let>: New case.
f488fb65 15625
03408648
SM
15626 * emacs-lisp/macroexp.el: Use lexical binding.
15627 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15628 Don't convert ' to #' without checking that it's indeed quoting
15629 a lambda.
15630
15631 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15632 Use eval-sexp-add-defvars.
03408648
SM
15633 (eval-sexp-add-defvars): New fun.
15634
15635 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15636
15637 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15638 Don't autoload.
15639 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15640 than the internal `byte-compile-lambda'.
15641 (defmethod): Don't hide code under quotes.
15642 (eieio-defmethod): New `code' argument.
15643
15644 * emacs-lisp/eieio-comp.el: Remove.
15645
15646 * emacs-lisp/edebug.el (edebug-eval-defun)
15647 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15648 (edebug-toggle): Avoid `eval'.
15649
15650 * emacs-lisp/disass.el (disassemble-internal): Handle new
15651 `closure' objects.
15652 (disassemble-1): Handle new byte codes.
15653
15654 * emacs-lisp/cl.el (pushnew): Silence warning.
15655
15656 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15657 (cl-byte-compile-throw): Remove.
15658 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15659
15660 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15661 closures.
15662
15663 * emacs-lisp/cconv.el: New file.
15664
15665 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15666 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15667 (byte-compile-initial-macro-environment):
15668 Handle declare-function here.
15669 (byte-compile--lexical-environment): New var.
15670 (byte-stack-ref, byte-stack-set, byte-discardN)
15671 (byte-discardN-preserve-tos): New lap codes.
15672 (byte-interactive-p): Don't use any more.
15673 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15674 New macros.
15675 (byte-compile-lapcode): Use them and handle new lap codes.
15676 (byte-compile-obsolete): Remove.
15677 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15678 (byte-compile-arglist-warn): Check late def of inlinable funs.
15679 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15680 since they should have been expanded by now.
15681 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15682 (byte-compile-from-buffer): Remove unused second arg.
15683 (byte-compile-preprocess): New function.
15684 (byte-compile-toplevel-file-form): New function to distinguish
15685 file-form calls from outside from file-form calls from hunk-handlers.
15686 (byte-compile-file-form): Simplify.
15687 (byte-compile-file-form-defsubst): Remove.
15688 (byte-compile-file-form-defmumble): Simplify now that
15689 byte-compile-lambda always returns a byte-code-function.
15690 (byte-compile): Preprocess.
15691 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15692 Remove, not used any more.
15693 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15694 (byte-compile-make-args-desc): New funs.
15695 (byte-compile-lambda): Handle lexical functions. Always return
15696 a byte-code-function.
15697 (byte-compile-reserved-constants): New var, to make up room for
15698 closed-over variables.
15699 (byte-compile-constants-vector): Obey it.
15700 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15701 (byte-compile-macroexpand-declare-function): New function.
15702 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15703 byte-code-functions.
15704 (byte-compile-form): Check obsolescence here.
15705 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15706 (byte-compile-variable-ref): Remove.
15707 (byte-compile-dynamic-variable-op): New fun.
15708 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15709 (byte-compile-variable-set): New funs.
15710 (byte-compile-discard): Add 2 args.
15711 (byte-compile-stack-ref, byte-compile-stack-set)
15712 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15713 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15714 macroexpand-all instead.
15715 (byte-compile-quote-form): Remove.
15716 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15717 (byte-compile-bind, byte-compile-unbind): New funs.
15718 (byte-compile-let): Handle let* and lexical binding.
15719 (byte-compile-let*): Remove.
15720 (byte-compile-catch, byte-compile-unwind-protect)
15721 (byte-compile-track-mouse, byte-compile-condition-case):
15722 Handle a new :fun-body form, used for lexical scoping.
15723 (byte-compile-save-window-excursion)
15724 (byte-compile-with-output-to-temp-buffer): Remove.
15725 (byte-compile-defun): Simplify.
15726 (byte-compile-stack-adjustment): New fun.
15727 (byte-compile-out): Use it.
15728 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15729
15730 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15731 handler any more.
15732
15733 * emacs-lisp/byte-opt.el: Use lexical binding.
15734 (byte-inline-lapcode): Remove (to bytecomp).
15735 (byte-compile-inline-expand): Pay attention to inlining to/from
15736 lexically bound code.
15737 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15738 any more.
15739 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15740 any more and don't call compiler-macros.
15741 (byte-compile-splice-in-already-compiled-code): Remove.
15742 (byte-code): Don't inline any more.
15743 (disassemble-offset): Receive `bytes' as argument rather than via
15744 dynamic scoping.
15745 (byte-compile-tag-number): Declare before first use.
15746 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15747 `return' even if make-spliceable.
15748 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15749 obsolete interactive-p.
15750 (byte-optimize-lapcode): Optimize new lap-codes.
15751 Don't trip up on new form of `byte-constant' lap code.
15752
15753 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15754
15755 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15756
15757 * custom.el (custom-initialize-default, custom-declare-variable):
15758 Use `defvar'.
15759
15760 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15761 New variables.
15762 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15763 (COMPILE_FIRST): Add macroexp and cconv.
15764 * makefile.w32-in: Mirror changes in Makefile.in.
15765
15766 * vc/cvs-status.el:
15767 * vc/diff-mode.el:
15768 * vc/log-edit.el:
15769 * vc/log-view.el:
15770 * vc/smerge-mode.el:
15771 * textmodes/bibtex-style.el:
090bd7cb 15772 * textmodes/css-mode.el:
03408648
SM
15773 * startup.el:
15774 * uniquify.el:
da91b5f2
CY
15775 * minibuffer.el:
15776 * newcomment.el:
15777 * reveal.el:
15778 * server.el:
15779 * mpc.el:
15780 * emacs-lisp/smie.el:
15781 * doc-view.el:
15782 * dired.el:
03408648
SM
15783 * abbrev.el: Use lexical binding.
15784
0f0c1f27
EZ
157852011-04-01 Eli Zaretskii <eliz@gnu.org>
15786
15787 * info.el (info-display-manual): New function.
15788
c82b2579
SM
157892011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15792
221ddf68
TH
157932011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15794
15795 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15796 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15797
cba6e77e
GM
157982011-03-31 Glenn Morris <rgm@gnu.org>
15799
e040639f
GM
15800 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15801
cba6e77e
GM
15802 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15803
6d0f1c9e
CS
158042011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15805
15806 * progmodes/python.el (python-default-interpreter)
15807 (python-python-command-args, python-jython-command-args)
15808 (python-which-shell, python-which-args, python-which-bufname)
15809 (python-file-queue, python-comint-output-filter-function)
15810 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15811 variables and functions.
15812
3e2d70fd
SM
158132011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15814
15815 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15816 (completion-in-region-mode): New minor mode.
15817 (completion-in-region): Use it.
15818 (completion-in-region--data, completion-in-region-mode-map): New vars.
15819 (completion-in-region--postch): New function.
15820 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15821 New vars.
15822 (completion--capf-wrapper): New function.
15823 (completion-at-point): Use it to track well-behavedness of
15824 hook functions.
15825 (completion-help-at-point): New command.
15826
f3e4086c
JM
158272011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15828
15829 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15830 syntax class to search for whitespace on a single line
15831 (Message-ID: <4D938140.4030905@redhat.com>).
15832
eb7ffc14
LL
158332011-03-30 Leo Liu <sdl.web@gmail.com>
15834
15835 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15836 New commands.
15837 (edit-abbrevs-map): Bind them here.
15838 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15839
d806ab68
KM
158402011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15841
15842 * allout.el (allout-hide-by-annotation, allout-flag-region):
15843 Reduce possibility of overlay leakage by making them volatile.
15844
15845 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15846 hash is not shared between buffers. Mode initialization is
15847 responsible for giving it a useful starting value.
15848 (allout-item-span): Reduce possibility of overlay leakage by
15849 making them volatile.
15850 (allout-widgets-count-buttons-in-region): Add diagnostic function
15851 for tracking down button overlay leaks.
15852
ea622834
LL
158532011-03-29 Leo Liu <sdl.web@gmail.com>
15854
15855 * ido.el (ido-read-internal): Use the default history var
15856 minibuffer-history if no HISTORY is specified.
15857
b62f8267
G
158582011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15859
03408648
SM
15860 * net/imap.el (imap-shell-open, imap-process-connection-type):
15861 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15862 Kerberos, SSL, other subprocesses.
15863
947b6566
LL
158642011-03-28 Leo Liu <sdl.web@gmail.com>
15865
15866 * abbrev.el (abbrev-table-empty-p): New function.
15867 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15868 nonempty ones. (Bug#5937)
15869
5ffb62aa
JD
158702011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15871
15872 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15873
7a097943
LL
158742011-03-27 Leo Liu <sdl.web@gmail.com>
15875
15876 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15877 for foreground and background colors.
15878 (ansi-color-make-color-map): Adapt.
15879
c5b40130
LL
158802011-03-25 Leo Liu <sdl.web@gmail.com>
15881
1f48f7d2
LL
15882 * midnight.el (midnight-time-float): Remove. Note it calculates
15883 the microsecond component incorrectly and seconds-to-time does the
15884 same job.
625897ec 15885 Remove redundant (require 'timer).
1f48f7d2 15886
c5b40130
LL
15887 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15888 (ido-completions): Remove unused arguments. (Bug#8329)
15889
d86d2721
SM
158902011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * minibuffer.el (completion--flush-all-sorted-completions):
15893 Remove itself from hook.
15894 (completion-at-point): Let the functions perform the completion
15895 immediately and return nil or t.
15896 * comint.el (comint-dynamic-complete-functions): Now identical to
15897 completion-at-point-functions.
15898 (comint-dynamic-list-input-ring): Remove unused var `index'.
15899 (comint--match-partial-filename, comint--unquote&expand-filename):
15900 New funs, split from comint-match-partial-filename.
15901 (comint-dynamic-complete): Use completion-at-point.
15902 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15903
e8974c48
DA
159042011-03-24 Drew Adams <drew.adams@oracle.com>
15905
15906 * thingatpt.el: Support `defun'.
15907
def71b5e
LL
159082011-03-23 Leo Liu <sdl.web@gmail.com>
15909
cb5af48e
LL
15910 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15911
def71b5e
LL
15912 * help-mode.el (help-mode-finish): Tweak regexp.
15913
927c53e7
GM
159142011-03-23 Glenn Morris <rgm@gnu.org>
15915
18d05bed
GM
15916 * eshell/esh-opt.el (eshell-eval-using-options):
15917 Do not bind unused local variable `eshell-option-stub'.
15918
927c53e7
GM
15919 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15920
9d0da923
JB
159212011-03-22 Juanma Barranquero <lekktu@gmail.com>
15922
15923 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15924 keymap variable in `with-no-warnings' to avoid a warning when the
15925 keymap has been already `defconst'ed.
15926
4b978a67
LL
159272011-03-22 Leo Liu <sdl.web@gmail.com>
15928
15929 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15930 encode all chars in abbrevs; otherwise use emacs-mule or
15931 utf-8-emacs. (Bug#8308)
15932
5fd62452
JB
159332011-03-22 Juanma Barranquero <lekktu@gmail.com>
15934
0b1596c6
JB
15935 * simple.el (backward-delete-char-untabify):
15936 Avoid warning about using `delete-backward-char'.
15937
5fd62452
JB
15938 * image.el (image-type-file-name-regexps): Make it variable.
15939 `imagemagick-register-types' modifies it, and the user may want
15940 to add new extensions for known image types.
15941 (imagemagick-register-types): Throw error if not using ImageMagick.
15942
0b4e93f1
LL
159432011-03-22 Leo Liu <sdl.web@gmail.com>
15944
15945 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15946 located before rcirc-prompt-end-marker.
15947 (rcirc-complete): Error if point is not after rcirc prompt.
15948 Handle the case when table is nil.
9882e214 15949 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15950
fccee4ab
CY
159512011-03-22 Chong Yidong <cyd@stupidchicken.com>
15952
15953 * custom.el (custom--inhibit-theme-enable): Make it affect only
15954 custom-theme-set-variables and custom-theme-set-faces.
15955 (provide-theme): Ignore custom--inhibit-theme-enable.
15956 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15957 (custom-enabling-themes): Delete variable.
d86d2721
SM
15958 (enable-theme): Accept only loaded themes as arguments.
15959 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15960 (custom-enabled-themes): Forbid themes from setting this.
15961 Eliminate use of custom-enabling-themes.
15962 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15963
af896da6
LL
159642011-03-21 Leo Liu <sdl.web@gmail.com>
15965
15966 * ido.el (ido-read-internal): Add ido-selected to history instead
15967 of user input.
15968
78f64af0
SM
159692011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15970
15971 * subr.el (deferred-action-list, deferred-action-function):
15972 Mark obsolete.
15973
b16ac1ec
LL
159742011-03-21 Leo Liu <sdl.web@gmail.com>
15975
810f7698
LL
15976 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15977 change on 2011-02-13 (bug#8309).
15978
b16ac1ec
LL
15979 * minibuffer.el (read-file-name-function): Change default value.
15980 (read-file-name--defaults): Rename from read-file-name-defaults.
15981 (read-file-name-default): Rename from read-file-name.
15982 (read-file-name): Call read-file-name-function.
15983
4e05e67e
GM
159842011-03-21 Glenn Morris <rgm@gnu.org>
15985
15986 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15987 Doc fixes.
15988
4359915b
CY
159892011-03-21 Chong Yidong <cyd@stupidchicken.com>
15990
15991 * cus-theme.el: Add missing provide statement.
15992 (customize-create-theme): Extract theme value correctly.
15993 (custom-theme-visit-theme): Autoload.
15994 (customize-create-theme): Prompt before inserting default faces.
15995
1fe275ee
JB
159962011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15997
15998 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15999 units and musical notes.
16000
cd394be1 160012011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16002
16003 * ido.el (ido-read-internal): Use completing-read-default.
16004 (ido-completing-read): Fix compatibility with completing-read.
16005
7d476bde
CO
160062011-03-20 Christian Ohler <ohler@gnu.org>
16007
16008 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16009 (ert-delete-all-tests): Use `called-interactively-p' rather than
16010 `interactive-p'.
16011 (ert--make-xrefs-region): Respect END.
16012
fe0fb33e
CY
160132011-03-19 Chong Yidong <cyd@stupidchicken.com>
16014
ff854b0b
CY
16015 * dired-aux.el (dired-create-directory): Signal an error if the
16016 directory already exists (Bug#8246).
16017
fe0fb33e
CY
16018 * facemenu.el (list-colors-display): Call list-faces-display
16019 inside with-help-window.
16020 (list-colors-print): Use display property to align the final
16021 column, instead of checking window-width.
16022
576bce32
EZ
160232011-03-19 Eli Zaretskii <eliz@gnu.org>
16024
4d61f28d 16025 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16026 windows-nt systems.
16027 (emerge-protect-metachars): Quote correctly for ms-dos and
16028 windows-nt systems.
16029
89c41d68 160302011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16031
16032 * info.el (info-initialize): Replace all uses of `:' with
16033 path-separator for compatibility with non-Unix systems.
16034 Cache quoting of path-separator. (Bug#8258)
16035
b14e3e21 160362011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16037
16038 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16039 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16040 (mouse-avoidance-mode): Fix typos in docstrings.
16041
4525ce3e
CY
160422011-03-19 Chong Yidong <cyd@stupidchicken.com>
16043
16044 * startup.el (package-subdirectory-regexp): Move from package.el.
16045 Omit \\` and \\', and let callers add them.
16046
16047 * emacs-lisp/package.el (package-strip-version)
16048 (package-load-all-descriptors): Add \\` and \\' to
16049 package-subdirectory-regexp before using it.
16050 (package-untar-buffer): New arg DIR; ensure that file untars only
16051 into this expected directory. Remove superfluous delete-region.
16052 (package-unpack): Caller changed.
16053 (package-tar-file-info): Use package-subdirectory-regexp.
16054
a904a09a 160552011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16056
a904a09a
SM
16057 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16058 diff-mode-shared-map (bug#8284).
16059 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16060
160612011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16062
16063 * calendar/time-date.el (format-seconds): Use assoc instead of
16064 assoc-string, since assoc-string doesn't exist in XEmacs.
16065
171fc304
JB
160662011-03-17 Juanma Barranquero <lekktu@gmail.com>
16067
16068 * custom.el (custom-known-themes): Reflow docstring.
16069 (custom-theme-load-path): Fix typo in docstring.
16070 (load-theme): Fix typo in error message.
16071 (custom-available-themes, custom-variable-theme-value):
16072 Use `let', not `let*'.
16073
d71990a1
JB
160742011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16075
16076 * calc/README: Mention inclusion of musical notes.
16077
16078 * calc/calc-units.el (calc-lu-quant): Rename from
16079 `calc-logunits-quantity'.
16080 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16081 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16082 (calc-db): Rename from `calc-dblevel'.
16083 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16084 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16085 (calc-np): Rename from `calc-nplevel'.
16086 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16087 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16088 (calc-lu-plus): Rename from `calc-logunits-add'.
16089 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16090 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16091 (calc-lu-minus): Rename from `calc-logunits-sub'.
16092 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16093 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16094 (calc-lu-times): Rename from `calc-logunits-mul'.
16095 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16096 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16097 (calc-lu-divide): Rename from `calc-logunits-div'.
16098 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16099 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16100
16101 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16102 functions being autoloaded.
16103
16104 * calc/calc.el (calc-lu-power-reference): Rename from
16105 `calc-logunits-power-reference'.
16106 (calc-lu-field-reference): Rename from
16107 `calc-logunits-field-reference'.
16108
7a71b18d
GM
16109 * calc/calc-help.el (calc-l-prefix-help):
16110 Mention musical note functions.
d71990a1 16111
40c2934b
SM
161122011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * minibuffer.el (completion-all-sorted-completions):
16115 Use :completion-cycle-penalty text property if present.
16116
b0911414
KM
161172011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16118
16119 * allout.el (allout-yank-processing): Adjust for new rebulleting
16120 regime so bullet being yanked is used without prompting the user
16121 for a choice.
16122
8a05b668
JB
161232011-03-16 Juanma Barranquero <lekktu@gmail.com>
16124
16125 * startup.el (command-line): Warn the user that _emacs is deprecated.
16126
5ba5fb81
JB
161272011-03-16 Juanma Barranquero <lekktu@gmail.com>
16128
16129 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16130 (delphi-verbose, delphi-comment-face, delphi-string-face)
16131 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16132 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16133 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16134 (delphi-new-comment-line, delphi-font-lock-defaults)
16135 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16136 Fix typos in docstrings.
16137
2dab465b
KM
161382011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16139
5ba5fb81 16140 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16141 Invert the roles of character and string values for INSTEAD, so a
16142 string is used for the more common case of a defaulting prompt.
16143
0adf5618
SM
161442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * progmodes/ruby-mode.el (ruby-backward-sexp):
16147 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16148 * play/gamegrid.el (gamegrid-make-face):
16149 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16150 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16151 * notifications.el (notifications-notify):
16152 * net/xesam.el (xesam-search-engines):
16153 * net/quickurl.el (quickurl-list-insert):
16154 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16155
d72700e5
CY
161562011-03-15 Chong Yidong <cyd@stupidchicken.com>
16157
16158 * startup.el (command-line): Update package subdirectory regexp.
16159
49c5410a
SM
161602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16161
c6eee9aa
SM
16162 * allout.el (allout-abbreviate-flattened-numbering)
16163 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16164
49c5410a
SM
16165 * subr.el (read-char-choice): Only show the cursor after the prompt,
16166 not after the answer.
16167
047b2bb9
KR
161682011-03-15 Kevin Ryde <user42@zip.com.au>
16169
16170 * help-fns.el (variable-at-point): Skip leading quotes, if any
16171 (bug#8253).
16172
0a57d256
SM
161732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16174
16175 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16176 warning message.
16177
77c992bc
MA
161782011-03-14 Michael Albinus <michael.albinus@gmx.de>
16179
16180 * shell.el (shell): When called interactively, offer to change the
16181 shell file name on remote hosts.
16182
eebc475d
TZ
161832011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16184
16185 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16186 integration for LDAP parameters. The host, base, user or binddn,
16187 and secret tokens can be specified in a netrc file, for instance.
16188 This is optional because an `auth-source' parameter must be
16189 specified in the search attributes.
16190
9d05d1ba
JB
161912011-03-13 Juanma Barranquero <lekktu@gmail.com>
16192
16193 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16194
09d9db2c
GM
161952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16196
16197 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16198 into declaration. Remove redundant and harmful binding.
16199
162002011-03-12 Eli Zaretskii <eliz@gnu.org>
16201
16202 * files.el (file-ownership-preserved-p): Pass `integer' as an
16203 explicit 2nd argument to `file-attributes'. If the file's owner
16204 is the Administrators group on Windows, and the current user is
16205 Administrator, consider that a match.
16206
16207 * server.el (server-ensure-safe-dir): Consider server directory
16208 safe on MS-Windows if its owner is the Administrators group while
16209 the current Emacs user is Administrator. Use `=' to compare
16210 numerical UIDs, since they could be integers or floats.
16211
219bd536
JB
162122011-03-12 Juanma Barranquero <lekktu@gmail.com>
16213
16214 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16215
f3afd36b
MA
162162011-03-12 Michael Albinus <michael.albinus@gmx.de>
16217
16218 Sync with Tramp 2.2.1.
16219
16220 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16221
16222 * net/trampver.el: Update release number.
16223
3aaaa6f1
SM
162242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16225
94642599
SM
16226 * progmodes/compile.el (compilation--previous-directory): Fix up
16227 various nil/dead-marker mismatches (bug#8014).
16228 (compilation-directory-properties, compilation-error-properties):
16229 Don't call it at a position past the one we're about to change.
16230
3aaaa6f1
SM
16231 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16232 Disable obsolescence warnings in the file that declares it.
16233
14239447
KM
162342011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16235
099c39a4
JB
16236 * allout-widgets.el (allout-widgets-tally):
16237 Initialize allout-widgets-tally as a hash table rather than nil to
16238 prevent mode-line redisplay warnings. Also, clarify the module
16239 description and fix a comment typo.
14239447 16240
135e287c
JB
162412011-03-11 Juanma Barranquero <lekktu@gmail.com>
16242
16243 * help-fns.el (describe-variable): Don't complete keywords.
16244 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16245
ffbf300e
CY
162462011-03-10 Chong Yidong <cyd@stupidchicken.com>
16247
ba08b241
CY
16248 * emacs-lisp/package.el (package-version-join): Impose a standard
16249 string representation for pre/alpha/beta version lists.
16250 (package-unpack-single): Standardize the directory name by passing
16251 it through package-version-join.
16252 (package-strip-rcs-id): Accept any version string that does not
16253 signal an error in version-to-list.
ffbf300e 16254
f346fd6b
MA
162552011-03-10 Michael Albinus <michael.albinus@gmx.de>
16256
16257 * simple.el (delete-trailing-whitespace): Return nil for the
16258 benefit of `write-file-functions'.
16259
ccb55d27
GM
162602011-03-10 Glenn Morris <rgm@gnu.org>
16261
5ceaac0c
GM
16262 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16263
02da65ff
GM
16264 * vc/vc-git.el (vc-git-program): New option.
16265 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16266 (vc-git--call): Use it.
16267
b2f603cc
GM
16268 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16269
5772caab
GM
16270 * cus-edit.el (Custom-newline): If no button at point, look
16271 for a subgroup button at start-of-line. (Bug#2298)
16272
ccb55d27
GM
16273 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16274
ec6ecaed
JD
162752011-03-10 Julien Danjou <julien@danjou.info>
16276
16277 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16278 `cursor-type' is nil.
16279
9d5aa01d
JB
162802011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16281
16282 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16283
b6a5875b
KM
162842011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16285
7a71b18d 16286 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16287 preserves the existing header prefix, rebulleting it if necessary,
16288 rather than replacing it. This is necessary for proper operation
16289 of cooperative addons like allout-widgets.
1154d12e
JB
16290 (allout-make-topic-prefix, allout-rebullet-heading):
16291 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16292 value as alternate bullet to be used, instead of prompting the user
16293 for a bullet character.
b6a5875b 16294
ee545c35
MA
162952011-03-09 Michael Albinus <michael.albinus@gmx.de>
16296
d86d2721
SM
16297 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16298 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16299 `tramp-default-port'.
16300
c47971d7
DD
163012011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16302
16303 * net/rcirc.el (rcirc-handler-001): Remove useless
16304 with-rcirc-process-buffer.
16305 (rcirc-check-auth-status): Swap arguments to string-match.
16306
13522cb4
GM
163072011-03-09 Glenn Morris <rgm@gnu.org>
16308
0be6f4f1
GM
16309 * shell.el (shell-mode):
16310 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16311
13522cb4
GM
16312 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16313 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16314
515de2e3
CY
163152011-03-08 Chong Yidong <cyd@stupidchicken.com>
16316
16317 * emacs-lisp/package.el (package-refresh-contents)
16318 (package-menu-execute): Use condition-case-no-debug.
16319
b511b994
MA
163202011-03-08 Michael Albinus <michael.albinus@gmx.de>
16321
16322 * simple.el (shell-command-to-string): Use `process-file'.
16323
16324 * emacs-lisp/package.el (package-tar-file-info): Handle also
16325 remote files.
16326
d86d2721
SM
16327 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16328 Use `equal' for upload base check.
b511b994 16329
25bbfb31
AM
163302011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16331
16332 * textmodes/texinfo.el (texinfo-environments):
16333 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16334
be996521
GM
163352011-03-08 Glenn Morris <rgm@gnu.org>
16336
e9c8529f
GM
16337 * cus-start.el (cursor-in-non-selected-windows):
16338 Fix :set quoting oddness. (Bug#8192)
16339
be996521
GM
16340 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16341 in some setf expressions. (Bug#2159)
16342
2bb5649e
CY
163432011-03-08 Chong Yidong <cyd@stupidchicken.com>
16344
16345 * custom.el (custom-available-themes): Return themes in
16346 alphabetical order.
16347
33383987 16348See ChangeLog.15 for earlier changes.
e3d51b27
MR
16349
16350;; Local Variables:
16351;; coding: utf-8
e3d51b27
MR
16352;; End:
16353
acaf905b 16354 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16355
16356 This file is part of GNU Emacs.
16357
16358 GNU Emacs is free software: you can redistribute it and/or modify
16359 it under the terms of the GNU General Public License as published by
16360 the Free Software Foundation, either version 3 of the License, or
16361 (at your option) any later version.
16362
16363 GNU Emacs is distributed in the hope that it will be useful,
16364 but WITHOUT ANY WARRANTY; without even the implied warranty of
16365 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16366 GNU General Public License for more details.
16367
16368 You should have received a copy of the GNU General Public License
16369 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.