Auto-commit of loaddefs files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a464a6c7
SM
12012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 More CL cleanups and reduction of use of cl.el.
4 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
12 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
13 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
14 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
15 * eshell/em-cmpl.el, eshell/em-banner.el:
16 * calendar/parse-time.el: Use cl-lib.
17 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
18 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
19 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
20 * term/ns-win.el, term.el, shell.el, ps-samp.el:
21 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
22 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
23 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
24 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
25 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
26 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
27 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
28 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
29 `lambda' rather than with `quote'.
30 (eshell-do-opt): Adjust accordingly.
31 (eshell-process-option): Simplify.
32 * eshell/esh-var.el:
33 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
34 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
35 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
36 to `pcase--dontcare'.
37 * emacs-lisp/cl.el (labels): Mark obsolete.
38 (cl--letf, letf): Move to cl-lib.
39 (cl--letf*, letf*): Remove.
40 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
41 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
42 (cl-progv): Rewrite.
43 (cl--letf, cl-letf): Move from cl.el.
44 (cl-letf*): New macro.
45 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
46
7ad4afe1
MA
472012-07-11 Michael Albinus <michael.albinus@gmx.de>
48
49 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
50
9af57756
CY
512012-07-11 Chong Yidong <cyd@gnu.org>
52
53 * vc/log-edit.el (log-edit-vc-backend): New variable.
54 (log-edit): Doc fix.
55
56 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
57 argument of log-edit to set up all local variables.
58 (vc-start-logentry): New optional arg specifying VC backend.
59
60 * vc/vc.el (vc-checkin): Use it.
61 (vc-deduce-fileset): Handle Log Edit buffers.
62 (vc-diff): Make first argument optional too.
63
64 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
65
8477cc7a
MA
662012-07-10 Michael Albinus <michael.albinus@gmx.de>
67
68 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
69 command, just in case. The function is not needed anymore.
70 (eshell-external-command): Do not call `eshell-remote-command'.
71
19faa8e8
SM
722012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
73
f58e0fd5
SM
74 Reduce use of (require 'cl).
75 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
76 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
77 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
78 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
79 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
80 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
81 * battery.el, avoid.el, abbrev.el: Use cl-lib.
82 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
83 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
84 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
85 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
86 * calculator.el, autorevert.el, apropos.el: Don't require CL.
87 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
88 (byte-compile-unfold-bcf, byte-compile-check-variable):
89 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
90 (byte-compile-nilconstp):
91 * emacs-lisp/autoload.el (make-autoload): Use pcase.
92 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
93
2519d43a
SM
94 * emacs-lisp/gv.el (cond): Make it a valid place.
95 (if): Simplify slightly.
96
19faa8e8
SM
97 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
98 (pcase--self-quoting-p): New function.
99 (pcase--u1): Use it.
100
c4907a5e
GM
1012012-07-10 Glenn Morris <rgm@gnu.org>
102
103 * emacs-lisp/authors.el (authors-fixed-entries):
104 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
105
c4444d16
PE
1062012-07-09 Paul Eggert <eggert@cs.ucla.edu>
107
108 Rename configure.in to configure.ac (Bug#11603).
109 * emacs-lisp/authors.el (authors-canonical-file-name):
110 * progmodes/autoconf.el (autoconf-mode):
111 Prefer configure.ac to configure.in.
112
d75be97d
CY
1132012-07-08 Chong Yidong <cyd@gnu.org>
114
01ac65bd
CY
115 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
116 Implement the mouse-1-click-follows-link handling properly.
117
118 * info.el (Info-link-keymap): Use follow-link mechanism for
119 header-line links (Bug#374).
120
d75be97d
CY
121 * simple.el (deactivate-mark): Do not set the primary selection
122 if another program has acquired it (Bug#11772).
123
87a92845 1242012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
125
126 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
127 (woman-decode-region): Replace escaped-escapes without destroying
128 bold or underline (Bug#11552).
87a92845 129 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 130
621b9d6c
CY
1312012-07-07 Chong Yidong <cyd@gnu.org>
132
133 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
134 (interprogram-cut-function, interprogram-paste-function):
135 Mention that we typically mean the clipboard.
621b9d6c 136
133a11fc
GM
1372012-07-06 Glenn Morris <rgm@gnu.org>
138
0d27a45e
GM
139 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
140
133a11fc
GM
141 * files.el (toggle-read-only): Restrict message to interactive use.
142
07b151f1
MA
1432012-07-06 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
146
147 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
148
211b896b
GM
1492012-07-06 Glenn Morris <rgm@gnu.org>
150
50394322
GM
151 * Makefile.in (compile-one-process): Rename from "recompile".
152
211b896b
GM
153 * Makefile.in (bzr-update): "compile" is the same as "recompile
154 autoloads", but parallelizable, so use that instead.
155
4737eec9
DG
1562012-07-06 Dmitry Gutov <dgutov@yandex.ru>
157
158 * window.el (quit-window): Always restore window height when
159 it's saved in quit-restore parameter.
160
226c3633 1612012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
162
163 * simple.el (kill-whole-line): Doc tweak.
164
226c3633 1652012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
166
167 * files.el (file-relative-name): Compare file names
168 case-insensitively if on MS-Windows or MS-DOS, or if
169 read-file-name-completion-ignore-case is non-nil. Don't use
170 case-fold-search for this purpose. (Bug#11827)
171
226c3633 1722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 173
19faa8e8
SM
174 * calendar/cal-dst.el (calendar-current-time-zone):
175 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 176
60198fc9
GM
1772012-07-06 Glenn Morris <rgm@gnu.org>
178
179 * Makefile.in (cvs-update): Remove old alias.
180
957b3189
MA
1812012-07-05 Michael Albinus <michael.albinus@gmx.de>
182
183 Sync with Tramp 2.2.6-pre.
184
185 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
186 compatible declaration.
187
19faa8e8
SM
188 * net/tramp-cmds.el (tramp-append-tramp-buffers):
189 Protect `list-load-path-shadows' call.
957b3189
MA
190
191 * net/tramp-compat.el (top): Require packages, which aren't
192 autoloaded anymore for XEmacs. Protect call of
193 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
194 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
195 it hurts at least for SXEmacs.
196 (tramp-compat-temporary-file-directory): In XEmacs, there is no
197 standard-value for `temporary-file-directory'.
198
199 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
200 Redirect stderr to /dev/null.
201 (tramp-sh-handle-write-region): uid and gid can be floats.
202 Reported by Russell Sim <russell.sim@gmail.com>.
203 (tramp-sh-handle-vc-registered): Hide errors.
204 (tramp-vc-file-name-handler): Use dummy results for `process-file'
205 and `start-file-process'.
206 (tramp-maybe-open-connection): Check also whether `non-essential'
207 is bound.
208
566df3fc
CY
2092012-07-04 Chong Yidong <cyd@gnu.org>
210
211 * xml.el (xml--parse-buffer): Use xml-syntax-table.
212 (xml-parse-tag): Likewise, and avoid changing entity tables.
213 (xml-syntax-table): Define from scratch, making sure not to give
214 x2000 and other Unicode spaces whitespace syntax, since those are
215 not spaces in XML.
216 (xml-parse-fragment): Delete unused function.
217 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
218 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
219 (xml-entity-ref, xml-pe-reference-re)
220 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
221 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
222 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
223 (xml-entity-value-re): Use syntax references in regexps where
224 possible; no need to define inside a let-binding.
225 (xml-parse-dtd): Use xml-pe-reference-re.
226 (xml-entity-or-char-ref-re): New defconst.
227 (xml-parse-string, xml-substitute-special): Use it.
228
30eabd7a
SM
2292012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
230
0781098a
SM
231 * files.el (locate-dominating-file): Allow `name' to be a predicate.
232 (find-file--read-only): New function.
233 (find-file-read-only, find-file-read-only-other-window)
234 (find-file-read-only-other-frame): Use it.
235 (insert-file-contents-literally): Don't `fset'.
236 (get-free-disk-space): Use locate-dominating-file.
237
b5771c0d
SM
238 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
239 function is already compiled.
240
30eabd7a
SM
241 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
242
b4886f6e
MA
2432012-07-03 Michael Albinus <michael.albinus@gmx.de>
244
245 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
246 files on the same host.
247
b9d82339
AS
2482012-07-03 Andreas Schwab <schwab@linux-m68k.org>
249
250 * help-fns.el (describe-function-1): Only call
251 help-fns--autoloaded-p when we have a file name. (Bug#11848)
252
a76e6535
CY
2532012-07-03 Chong Yidong <cyd@gnu.org>
254
255 * xml.el: Protect parser against XML bombs.
256 (xml-entity-expansion-limit): New variable.
257 (xml-parse-string, xml-substitute-special): Use it.
258 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
259
b544fef2
GM
2602012-07-03 Glenn Morris <rgm@gnu.org>
261
262 * progmodes/bug-reference.el (bug-reference-bug-regexp):
263 Allow linking to specific messages in debbugs reports (eg 123#5).
264
a7aef6f5
CY
2652012-07-02 Chong Yidong <cyd@gnu.org>
266
267 * xml.el: Fix entity and character reference expansion, allowing
268 them to expand into markup as per XML spec.
269 (xml-default-ns): New variable.
270 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
271 (xml-parse-region): Make first two arguments optional.
272 Discard text properties.
273 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
274 All callers changed.
a7aef6f5
CY
275 (xml-parse-tag): Call xml-parse-tag-1. For backward
276 compatibility, this function should not modify buffer contents.
277 (xml-parse-tag-1): Fix opening-tag regexp.
278 (xml-parse-string): Rewrite, handling entity and character
279 references properly.
280 (xml--entity-replacement-text): Signal an error if a parameter
281 entity is undefined.
282
3df31c9f
SM
2832012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
284
2b5208f1
SM
285 * comint.el (comint-output-filter): Filter out repeated prompts.
286
3df31c9f
SM
287 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
288 and file-name-absolute-p.
289 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
290 internal calls.
291
e3ac1281
PE
2922012-07-02 Paul Eggert <eggert@cs.ucla.edu>
293
294 Spelling fixes.
295 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
296 Rename from byte-compile--refiy-function. All uses changed.
297
fbf2e7ad
CY
2982012-07-01 Chong Yidong <cyd@gnu.org>
299
300 * xml.el (xml--parse-buffer): New function. Move most of
301 xml-parse-region here.
302 (xml-parse-region): Copy region into a temporary buffer, since
303 parameter entity substitution requires changing buffer contents.
304 Use xml--parse-buffer.
305 (xml-parse-file): Use xml--parse-buffer.
306 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 307 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 308
9bf0aa15
GM
3092012-06-30 Glenn Morris <rgm@gnu.org>
310
bbce2853
GM
311 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
312
9bf0aa15
GM
313 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
314 Remove outdated and unnecessary dbus declarations.
315
0d23c240
EZ
3162012-06-30 Eli Zaretskii <eliz@gnu.org>
317
318 * emacs-lisp/timer.el (timer-until): Subtract results of
319 float-time, instead of taking float-time of the result of
320 time-subtract, since float-time signals an error for negative time
321 arguments.
322
b3218de1
CY
3232012-06-30 Chong Yidong <cyd@gnu.org>
324
325 * xml.el (xml-*-re): Convert defvars into defconsts, and
326 eval-and-compile them so eval-and-compile works on derivatives.
327 (xml--entity-replacement-text): Use eval-and-comple.
328
a40c87a0
MA
3292012-06-30 Michael Albinus <michael.albinus@gmx.de>
330
331 * vc/vc-git.el (vc-git-registered): Use cache property
332 `git-registered'.
333 (vc-git-mode-line-string): Call `vc-working-revision' instead of
334 `vc-git-working-revision' in order to benefit from the cache.
335 (vc-git-root): Use cache property `git-root'.
336
ac87de97
DG
3372012-06-30 Dmitry Gutov <dgutov@yandex.ru>
338
339 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
340 removed (likely outside Emacs).
341
ac10fe06
SM
3422012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
343
3df31c9f 344 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 345
7f3fbd5d
CY
3462012-06-30 Chong Yidong <cyd@gnu.org>
347
348 * xml.el: Implement XML parameter entities.
349 (xml-parameter-entity-alist): New variable.
350 (xml-parse-region, xml-parse-fragment): Preserve previous values
351 of xml-entity-alist and xml-parameter-entity-alist, so that
352 repeated calls on different documents do not change them.
353 (xml-parse-tag): Fix doctype regexp.
354 (xml--entity-replacement-text): New function.
355 (xml-parse-dtd): Use it. Don't handle system entities; doing that
356 properly requires url retrieval which is unimplemented.
357 (xml-escape-string): Doc fix.
358
3cfbebba
SM
3592012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
362
2af3565e
DA
3632012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
364
365 * fringe.el (fringe-mode): Doc fix.
366
929df0e7
MA
3672012-06-29 Michael Albinus <michael.albinus@gmx.de>
368
369 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
370 is non-nil.
371 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
372 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
373
c8d3a25c 3742012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 375
c8d3a25c
GM
376 * calendar/cal-dst.el (calendar-current-time-zone):
377 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 378
c8d3a25c 3792012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
380
381 * progmodes/which-func.el (which-func-format):
382 Add mouse-face. (Bug#11698)
383
c8d3a25c
GM
3842012-06-29 Leo Liu <sdl.web@gmail.com>
385
386 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
387
3882012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * minibuffer.el (minibuffer-confirm-exit-commands):
391 Add completion-at-point (bug#11725).
392
3932012-06-29 Glenn Morris <rgm@gnu.org>
394
395 * progmodes/f90.el (f90-font-lock-keywords-2):
396 Add some preprocessor elements. (Bug#10499)
397
3982012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * progmodes/cperl-mode.el (cperl-update-syntaxification):
401 Use syntax-propertize (bug#11739).
402
2badeec4
JB
4032012-06-28 Juanma Barranquero <lekktu@gmail.com>
404
405 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
406
ae4969c2
JD
4072012-06-28 Julien Danjou <julien@danjou.info>
408
409 * term.el (term-handle-colors-array): Use a set of new faces to
410 color the terminal. Also uses :inverse-video property.
411 (term-default-fg-color): Set to nil by default, deprecate in favor
412 of `term-face'.
413 (term-default-bg-color): Set to nil by default, deprecate in favor
414 of `term-face'.
415 (term-current-face): Use `term-face' by default.
416 (term-bold-attribute): Variable deleted.
417
1c9bd870
GM
4182012-06-28 Glenn Morris <rgm@gnu.org>
419
420 * simple.el (completion-list-mode-finish):
421 Don't use toggle-read-only. (Since completion-list-mode has
422 a special mode-class, it wasn't doing anything extra anyway.)
423
c207708c
SM
4242012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 Make inlining of other-mode interpreted functions work (bug#11799).
427 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
428 (byte-compile): Use it to fix compilation of lexical-binding closures.
429 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
430 function, if needed.
431
3fd56834
SM
4322012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
433
04901786
SM
434 * help-mode.el (help-make-xrefs): Don't just withstand
435 cyclic-variable-indirection but any error in documentation-property.
436
1ec4b7b2
SM
437 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
438 memory use.
439 * bindings.el (bindings--define-key): New function.
440 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
441 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
442 * bindings.el: Use it to purecopy define-key bindings.
443
e309e2a5
SM
444 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
445
d5c6faf9
SM
446 * emacs-lisp/cl.el (flet): Mark obsolete.
447 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
448 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
449 * progmodes/js.el (js-c-fill-paragraph):
450 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
451 (ebrowse-switch-member-buffer-to-derived-class):
452 * play/5x5.el (5x5-solver): Use cl-flet.
453
6e9590e2
SM
454 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
455 (cl--symbol-function): New macro.
456 (cl--letf, cl--letf*): Use it.
457
3fd56834
SM
458 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
459 Strip "toggle-" if any.
460
35ff222c
GM
4612012-06-27 Glenn Morris <rgm@gnu.org>
462
1ba6038a
GM
463 * info.el (Info-default-directory-list): Move here from paths.el.
464 * paths.el: Remove file, which is now empty.
465 * loadup.el: No longer load "paths".
466
0ea0e51b
GM
467 * custom.el (custom-initialize-delay): Doc fix.
468
35ff222c
GM
469 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
470 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
471 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
472 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
473 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
474 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
475 * eshell/eshell.el (eshell-defgroup): Remove alias.
476
c89926a5
CY
4772012-06-27 Chong Yidong <cyd@gnu.org>
478
479 * help.el (help-enable-auto-load): New variable.
480
481 * help-fns.el (help-fns--autoloaded-p): New function.
482 (describe-function-1): Refer to a function as "autoloaded" if it
483 was autoloaded at any time in the past. Perform autoloading if
484 help-enable-auto-load is non-nil.
485
cc06e7e7
EZ
4862012-06-26 Eli Zaretskii <eliz@gnu.org>
487
488 * makefile.w32-in (compile, compile-always): Depend on
489 update-subdirs, not on subdirs.el. Otherwise, several different
490 sub-targets of 'bootstrap' running in parallel could
491 simultaneously write to subdirs.el, producing a garbled file.
492
d2c32364
SS
4932012-06-26 Sam Steingold <sds@gnu.org>
494
495 * files.el (file-name-base): New convenience function.
0d14cc21
GM
496 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
497 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
498 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
499 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
500 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
501 * textmodes/tex-mode.el: Use it.
502 Did not touch cedet and org because they are maintained elsewhere.
503
5cf983b2
MR
5042012-06-26 Martin Rudalics <rudalics@gmx.at>
505
506 * calendar/calendar.el (calendar-exit): Don't try to delete or
507 iconify last frame. See:
508 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
509
8c4f2952
JD
5102012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
511
512 * server.el (server-process-filter): Remember dir in the
513 process's `server-client-directory' properties.
514
772b2e2c
CY
5152012-06-24 Chong Yidong <cyd@gnu.org>
516
517 * xml.el (xml-parse-tag): Correctly handle comment embedded in
518 non-tag text.
519
711b11e1
JB
5202012-06-23 Juanma Barranquero <lekktu@gmail.com>
521
522 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
523
dc5d230c
SM
5242012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * help-fns.el (describe-variable): Don't croak when doc is not found.
527 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
528 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
529 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
530 * emacs-lisp/smie.el (smie-next-sexp): CSE.
531 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
532 ((lambda ..) ..).
533 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
534
136e1c1d
CY
5352012-06-23 Chong Yidong <cyd@gnu.org>
536
e8c1cabf
CY
537 * info.el (Info-mouse-follow-link): Accept symbol values of
538 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
539 (Info-fontify-node): Use Info-link-keymap for all navigation
540 buttons, with link-args property to perform the desired action.
541 (Info-link-keymap): Doc fix.
542 (Info-next-link-keymap, Info-prev-link-keymap)
543 (Info-up-link-keymap): Delete now-unused keymaps.
544
0e9e6c6a
CY
5452012-06-23 Chong Yidong <cyd@gnu.org>
546
05e89fea
CY
547 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
548
0e9e6c6a
CY
549 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
550 system abbrevs.
551
552 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
553
e33c6771
SM
5542012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
555
b68581e2
SM
556 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
557 (bug#11719).
558
e33c6771
SM
559 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
560 the requote function doesn't work properly (bug#11714).
561
7117e105
GM
5622012-06-23 Glenn Morris <rgm@gnu.org>
563
564 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
565
36cec983
SM
5662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 Further GV/CL cleanups.
569 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
570 gv-expander.
571 (gv--defun-declaration): New function.
572 (defun-declarations-alist): Use it.
573 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
574 (gv-place): Autoload.
575 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
576 original definition of dotimes and dolist.
577 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
578 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
579 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
580 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
581 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
582 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
583 to the function's definition.
584 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
585 * window.el:
586 * files.el:
587 * faces.el:
588 * env.el: Don't use CL.
589
d35af63c
PE
5902012-06-22 Paul Eggert <eggert@cs.ucla.edu>
591
592 Support higher-resolution time stamps (Bug#9000).
593
594 * calendar/time-date.el (with-decoded-time-value): New arg
595 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
596 (encode-time-value): New optional arg PICO. New type 3.
597 (time-to-seconds) [!float-time]: Support the new picoseconds
598 component if it's used.
599 (seconds-to-time, time-subtract, time-add):
600 Support ps-resolution time stamps as well.
601
602 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
603 (timerp): Timer vectors now have length 9, not 8.
604 (timer--time): Support new-style (4-part) time stamps.
605 (timer-next-integral-multiple-of-time): Time stamps now have
606 picosecond resolution, so take a bit more care about rounding.
607 (timer-relative-time, timer-inc-time): New optional arg psecs.
608 (timer-set-time-with-usecs): Set psecs to 0.
609 (timer--activate): Check psecs component, too.
610
611 * proced.el (proced-time-lessp): Support ps-resolution stamps.
612
ac77b21a
SM
6132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
614
f143bfe3
SM
615 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
616 Move the non-essential binding to the post/pre-command-hook where it is
617 more obviously correct.
618
ac77b21a
SM
619 * subr.el (read-passwd): Don't use a history at all.
620 * savehist.el (savehist-save): Remove password saved accidentally
621 because of the above bug.
622
76386c5a
BG
6232012-06-22 Bastien Guerry <bzg@gnu.org>
624
625 * files.el (toggle-read-only): Display a message telling whether
626 the buffer is read-only or not (bug#11726).
627
2ee3d7f0
SM
6282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * emacs-lisp/gv.el: New file.
631 * subr.el (push, pop): Extend to generalized variables.
632 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
633 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
634 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
635 gv-define-simple-setter, and gv-define-expander.
636 Remove setf-methods defined in gv. Rename cl-setf -> setf.
637 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
638 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
639 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
640 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
641 gv-letplace.
642 (cl-defstruct): Don't define setf-method any more.
643 * emacs-lisp/cl.el (flet): Don't autoload.
644 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
645 (define-setf-expander, defsetf, define-modify-macro)
646 (cl-struct-setf-expander): Move from cl-lib.el.
647 * emacs-lisp/syntax.el:
648 * emacs-lisp/ewoc.el:
649 * emacs-lisp/smie.el:
650 * emacs-lisp/cconv.el:
651 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
652 (timer--time): Use gv-define-simple-setter.
653 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
654 to avoid coding-system problems in subr.el. Adjust all users.
655 (macroexp--maxsize, macroexp-small-p): New functions.
656 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
657 * scroll-bar.el (scroll-bar-mode):
658 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
659 (normal-erase-is-backspace-mode): Don't use the `eq' place.
660 * winner.el (winner-configuration, winner-make-point-alist)
661 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
662 * files.el (locate-file-completion-table): Avoid list*.
663
c5695d1d
CY
6642012-06-22 Chong Yidong <cyd@gnu.org>
665
666 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
667 (dired-create-files): Doc fix (Bug#11329).
668 (dired-do-copy): Doc fix (Bug#11334).
669 (dired-mark-read-string): Doc fix (Bug#11553).
670
2ee3d7f0
SM
671 * dired.el (dired-recursive-copies, dired-recursive-deletes):
672 Doc fix (Bug#11326).
c5695d1d
CY
673 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
674 (dired-dwim-target): Doc fix.
675
676 * wdired.el (wdired-mode): Doc fix.
677
89b5595a
GM
6782012-06-22 Glenn Morris <rgm@gnu.org>
679
575db3f1
GM
680 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
681 (pcmpl-rpm-cache-stamp-file): New constant.
682 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
683 (pcmpl-rpm-packages): Optionally cache list of packages.
684
a4c8dd51
GM
685 * pcmpl-rpm.el (pcmpl-rpm): New group.
686 (pcmpl-rpm-query-options): New option.
687 (pcmpl-rpm-packages): No need to inline it.
688 Use pcmpl-rpm-query-options.
689
89b5595a
GM
690 * calendar/calendar.el (calendar-in-read-only-buffer):
691 Avoid some needless mode changes.
692
e76f0800
CY
6932012-06-21 Chong Yidong <cyd@gnu.org>
694
695 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
696 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 697 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 698
297a8f1d
CY
6992012-06-20 Chong Yidong <cyd@gnu.org>
700
701 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
702
d34c18b1
DR
7032012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
704
705 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
706 (bug#11201).
707
32f7f28e
CY
7082012-06-20 Chong Yidong <cyd@gnu.org>
709
710 * term.el (term-window-width): Handle the case of a missing right
711 fringe (Bug#8837).
712 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
713 (term-mode): Use define-derived-mode. Minor cleanups.
714 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
715 (term-move-columns, term-insert-char, term-emulate-terminal)
716 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 717
493c6688
MA
7182012-06-20 Michael Albinus <michael.albinus@gmx.de>
719
d34c18b1
DR
720 * net/ange-ftp.el (ange-ftp-get-passwd):
721 Bind `enable-recursive-minibuffers'.
493c6688
MA
722 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
723
3f06ecf4
DR
7242012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
725
726 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
727
68f12411
GM
7282012-06-19 Glenn Morris <rgm@gnu.org>
729
730 * progmodes/python.el (python-mode): Derive from prog-mode.
731
b3820318
KG
7322012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
733
734 * emulation/edt.el (edt-default-menu-bar-update-buffers)
735 (edt-user-menu-bar-update-buffers): New functions.
736 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
737
c6bf3022
CY
7382012-06-19 Chong Yidong <cyd@gnu.org>
739
740 * subr.el (with-selected-window): Preserve the selected window's
741 terminal's top-frame (Bug#4702).
742
743 * window.el (save-selected-window): Likewise.
744
25f09295
SM
7452012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * progmodes/python.el (python-rx-constituents): Move backquote.
748 (python-skeleton-define, python-define-auxiliary-skeleton):
749 Use `declare'.
750
6b11952a
MA
7512012-06-18 Michael Albinus <michael.albinus@gmx.de>
752
753 * minibuffer.el (read-file-name-default): Revert the patch from
754 2012-06-17.
755
ee4b1330
SM
7562012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
759 (pcase--u1, pcase--q1): Don't use apply-partially.
760
35647f79
GM
7612012-06-18 Glenn Morris <rgm@gnu.org>
762
763 * progmodes/python.el (python-proc, python-buffer)
764 (python-send-receive, python-send-string): Fix obsolete versions.
765
24b0cff0
MR
7662012-06-18 Martin Rudalics <rudalics@gmx.at>
767
768 * window.el (special-display-p): Completely remove stringp
769 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
770
29855149
MA
7712012-06-17 Michael Albinus <michael.albinus@gmx.de>
772
773 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
774
775 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
776
777 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
778 * net/tramp-sh.el (tramp-maybe-open-connection):
779 Throw if `non-essential' is non-nil.
780
07463363
MR
7812012-06-17 Martin Rudalics <rudalics@gmx.at>
782
783 * window.el (special-display-p): Signal an error if BUFFER-NAME
784 is not a string (Bug#11713).
785
48d1354e
PE
7862012-06-17 Paul Eggert <eggert@cs.ucla.edu>
787
788 * progmodes/python.el (python-info-beginning-of-backslash):
789 Rename from python-info-beginning-of-backlash, as a spelling fix.
790
eb4a8a9a
CY
7912012-06-17 Chong Yidong <cyd@gnu.org>
792
793 * term.el (term-emulate-terminal): If term-check-size is called,
794 move point to the process mark without resetting point (Bug#4635).
795
ddfbf826 7962012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
797
798 * international/mule-cmds.el (mule-menu-keymap)
799 (set-language-environment, set-locale-environment): Doc tweaks.
800
9b0e3eba
AA
8012012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
802
803 * cus-face.el (custom-face-attributes): Add wave-style underline
804 attribute.
805 * faces.el (set-face-attribute): Update docstring to describe
806 wave-style underline attribute.
807
771e3eae
CY
8082012-06-16 Chong Yidong <cyd@gnu.org>
809
810 * term/xterm.el (terminal-init-xterm): Discard input before
811 querying background mode (Bug#10959).
812
7ae2ea10
SM
8132012-06-16 Stefan Merten <smerten@oekonux.de>
814
815 * textmodes/rst.el: Added and corrected some comments.
816 (rst-re-alist-def): Improve symbol syntax.
817 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
818 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
819 (rst-official-version, rst-official-cvs-rev): Update version
820 information.
7ae2ea10 821
b6974efa
JB
8222012-06-15 Juanma Barranquero <lekktu@gmail.com>
823
824 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
825 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
826
8826d473
GM
8272012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
828
829 * progmodes/python.el: New python.el merge.
830 (python-guess-indent): Obsolete var.
831 (python-indent-guess-indent-offset): New defcustom.
832 (python-indent): Obsolete var.
833 (python-indent-offset): New defcustom.
834 (python-python-command, python-jython-command): Delete var.
835 (python-shell-interpreter): New defcustom.
836 (python-pdbtrack-do-tracking-p): Delete var.
837 (python-pdbtrack-activate): New defcustom.
838 (python-use-skeletons): Obsolete var.
839 (python-skeleton-autoinsert): New defcustom.
840 (inferior-python-filter-regexp, python-continuation-offset)
841 (python-honour-comment-indentation, python-indent-string-contents)
842 (python-jython-packages, python-mode-hook)
843 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
844 (python-shell-prompt-alist)
845 (python-source-modes): Delete defcustoms.
846 (python-check-buffer-name, python-eldoc-setup-code)
847 (python-eldoc-string-code, python-ffap-setup-code)
848 (python-ffap-string-code, python-fill-comment-function)
849 (python-fill-decorator-function, python-fill-paren-function)
850 (python-fill-string-function, python-imenu-include-defun-type)
851 (python-imenu-make-tree, python-imenu-subtree-root-label)
852 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
853 (python-shell-compilation-regexp-alist)
854 (python-shell-completion-module-string-code)
855 (python-shell-completion-pdb-string-code)
856 (python-shell-completion-setup-code)
857 (python-shell-completion-string-code)
858 (python-shell-enable-font-lock, python-shell-exec-path)
859 (python-shell-extra-pythonpaths)
860 (python-shell-internal-buffer-name, python-shell-interpreter-args)
861 (python-shell-process-environment)
862 (python-shell-prompt-block-regexp)
863 (python-shell-prompt-output-regexp)
864 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
865 (python-shell-send-setup-max-wait, python-shell-setup-codes)
866 (python-shell-virtualenv-path): New defcustoms.
867 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
868 (inferior-python-mode-syntax-table, python--prompt-regexp)
869 (python-buffer, python-command python-python-command)
870 (python-default-template, python-imports, python-indent-index)
871 (python-indent-list, python-indent-list-length)
872 (python-mode-running, python-pdbtrack-is-tracking-p)
873 (python-preoutput-continuation, python-preoutput-leftover)
874 (python-preoutput-result, python-preoutput-skip-next-prompt)
875 (python-prev-dir/file, python-recursing)
876 (python-saved-check-command, python-version-checked)
877 (python-which-func-length-limit)
878 (view-return-to-alist): Delete vars.
879 (python-check-custom-command, python-dotty-syntax-table)
880 (python-imenu-index-alist, python-indent-current-level)
881 (python-indent-dedenters, python-indent-levels)
882 (python-nav-beginning-of-defun-regexp)
883 (python-nav-list-defun-positions-cache)
884 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
885 (python-shell-internal-buffer)
886 (python-skeleton-available): New vars.
887 (def-python-skeleton): Delete macro.
888 (python-skeleton-define): New macro.
889 (python-define-auxiliary-skeleton, python-rx): New macros.
890 (python-insert-class): Delete command.
891 (python-skeleton-class): New command.
892 (python-insert-def): Delete command.
893 (python-skeleton-def): New command.
894 (python-insert-for): Delete command.
895 (python-skeleton-for): New command.
896 (python-insert-if): Delete command.
897 (python-skeleton-if): New command.
898 (python-insert-try/except, python-insert-try/finally): Delete commands.
899 (python-skeleton-try): New command.
900 (python-insert-while): Delete command.
901 (python-skeleton-while): New command.
902 (python-backspace): Delete command.
903 (python-indent-dedent-line-backspace): New command.
904 (python-electric-colon): Delete command.
905 (python-indent-electric-colon): New command.
906 (python-guess-indent): Delete command.
907 (python-indent-guess-indent-offset): New command.
908 (python-shift-left): Delete command.
909 (python-indent-shift-left): New command.
910 (python-shift-right): Delete command.
911 (python-indent-shift-right): New command.
912 (python-find-function): Delete command.
913 (python-nav-jump-to-defun): New command.
914 (python-next-statement): Delete command.
915 (python-nav-forward-sentence): New command.
916 (python-previous-statement): Delete command.
917 (python-nav-backward-sentence): New command.
918 (python-fill-paragraph): Delete command.
919 (python-fill-paragraph-function): New command.
920 (python-send-buffer): Delete command.
921 (python-shell-send-buffer): New command.
922 (python-send-defun): Delete command.
923 (python-shell-send-defun): New command.
924 (python-send-region, python-send-region-and-go): Delete commands.
925 (python-shell-send-region)
926 (python-shell-switch-to-shell): New commands.
927 (python-send-string): Delete command.
928 (python-shell-send-string): New command.
929 (python-switch-to-python): Delete command.
930 (python-shell-switch-to-shell): New command.
931 (python-describe-symbol): Delete command.
932 (python-eldoc-at-point): New command.
933 (python--set-prompt-regexp, python-args-to-list)
934 (python-after-info-look, python-check-version)
935 (python-check-comint-prompt, python-find-imports)
936 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
937 (python-unload-function, python-expand-template)
938 (python-maybe-jython, python-preoutput-filter)
939 (python-pdbtrack-get-source-buffer)
940 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
941 (python-pdbtrack-toggle-stack-tracking)
942 (python-pdbtrack-track-stack-file, python-initial-text)
943 (python-first-word, python-comment-line-p, python-send-command)
944 (python-setup-brm, python-sentinel, python-set-proc)
945 (python-skip-out, python-input-filter, python-outdent-p)
946 (python-outline-level, python-backslash-continuation-line-p)
947 (python-end-of-block, python-end-of-statement, python-mark-block)
948 (python-beginning-of-block, python-beginning-of-statement)
949 (python-blank-line-p, python-beginning-of-string)
950 (python-open-block-statement-p): Delete functions.
951 (python-indent-line, python-indent-line-1): Delete functions.
952 (python-indent-line): New function.
953 (python-indentation-levels): Delete function.
954 (python-indent-calculate-levels): New function.
955 (python-proc): Delete function.
956 (python-shell-get-process): New function.
957 (python-send-receive): Delete function.
958 (python-shell-send-string-no-output): New function.
959 (python-module-path): Delete function.
960 (python-ffap-module-path): New function.
961 (python-completion-at-point)
962 (python-symbol-completions): Delete functions.
963 (python-completion-complete-at-point): New function.
964 (python-load-file): Delete function.
965 (python-shell-send-file): New function.
966 (python-calculate-indentation): Delete function.
967 (python-indent-calculate-indentation): New function.
968 (python-skip-comments/blanks): Delete function.
969 (python-util-forward-comment): New function.
970 (python-continuation-line-p): Delete function.
971 (python-info-continuation-line-p): New function.
972 (python-which-func, python-current-defun): Delete function.
973 (python-info-current-defun): New function.
974 (python-beginning-of-defun): Delete function.
975 (python-nav-beginning-of-defun): New function.
976 (python-close-block-statement-p)
977 (python-block-end-p): Delete function.
978 (python-info-closing-block): New function.
979 (python-comint-output-filter-function)
980 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
981 (python-fill-comment, python-fill-decorator, python-fill-paren)
982 (python-fill-string, python-imenu-make-element-tree)
983 (python-imenu-make-tree, python-imenu-tree-assoc)
984 (python-indent-context, python-indent-dedent-line)
985 (python-indent-line-function)
986 (python-indent-post-self-insert-function)
987 (python-indent-toggle-levels)
988 (python-info-assignment-continuation-line-p)
989 (python-info-beginning-of-backlash)
990 (python-info-block-continuation-line-p)
991 (python-info-closing-block-message)
992 (python-info-line-ends-backslash-p)
993 (python-info-looking-at-beginning-of-defun)
994 (python-info-ppss-context, python-info-ppss-context-type)
995 (python-nav-list-defun-positions, python-nav-read-defun)
996 (python-nav-sentence-end, python-nav-sentence-start)
997 (python-pdbtrack-comint-output-filter-function)
998 (python-pdbtrack-set-tracked-buffer)
999 (python-shell-calculate-exec-path)
1000 (python-shell-calculate-process-environment)
1001 (python-shell-completion--do-completion-at-point)
1002 (python-shell-completion--get-completions)
1003 (python-shell-completion-complete-at-point)
1004 (python-shell-completion-complete-or-indent)
1005 (python-shell-get-or-create-process)
1006 (python-shell-get-process-name)
1007 (python-shell-internal-get-or-create-process)
1008 (python-shell-internal-get-process-name)
1009 (python-shell-internal-send-string, python-shell-make-comint)
1010 (python-shell-parse-command, python-shell-send-setup-code)
1011 (python-skeleton-add-menu-items)
1012 (python-util-clone-local-variables, python-util-position)
1013 (run-python-internal, python-indentation-levels)
1014 (python-nav-beginning-of-defun)
1015 (python-completion-complete-at-point): New functions.
1016 (run-python): Change arguments. New API requirements.
1017
4302f5ba
SM
10182012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1019
f38ea36d
SM
1020 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1021 (bug#11649).
1022
1023 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1024 (macroexp--expand-all): Use it.
1025
4302f5ba
SM
1026 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1027 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1028 Use `cl-function' instead.
1029
33377562
JB
10302012-06-14 Juanma Barranquero <lekktu@gmail.com>
1031
1032 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1033 Suggested by Stefan Monnier while discussing bug#11657.
1034
54c5ba1a
SS
10352012-06-14 Sam Steingold <sds@gnu.org>
1036
1037 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1038
f9f1b1fe
AS
10392012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1040
1041 * play/doctor.el (doctor-doc): Remove parameter and use
1042 doctor-sent instead of sent.
1043 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1044
a81068ba
SM
10452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1046
5a315f9c
SM
1047 * files.el: Require cl-lib.
1048 (file-name-non-special): Replace case -> cl-case.
1049
1050 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1051
a81068ba
SM
1052 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1053 mapping from #' to function*.
1054
8cca9703
CY
10552012-06-13 Chong Yidong <cyd@gnu.org>
1056
1057 * mouse.el (mouse-drag-track): Do not set the mark if the user
1058 releases the mouse without selecting anything (Bug#11588).
1059
a12ac9d7
SM
10602012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1061
ccf1dc18
SM
1062 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1063 as well (bug#11646).
1064
ef62b23d
SM
1065 * loadup.el: Count byte-code functions as well.
1066
c4c8444a
SM
1067 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1068 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1069
a12ac9d7
SM
1070 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1071 (bug#11649). Add cl-defun and cl-defmacro.
1072
87e6e64f
DA
10732012-06-13 Drew Adams <drew.adams@oracle.com>
1074
1075 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1076 Fix last change.
1077
682cefaf
MA
10782012-06-13 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1081 Otherwise, it blocks in batch mode.
1082
773e1f08
JB
10832012-06-13 Juanma Barranquero <lekktu@gmail.com>
1084
1085 * help-mode.el (bookmark-make-record-default): Declare.
1086
60057926
CY
10872012-06-13 Chong Yidong <cyd@gnu.org>
1088
1089 * emacs-lisp/package.el (list-packages): Compute a list of
1090 packages that are newly-available since the last list-packages
1091 invocation.
1092 (package-menu--new-package-list): New var.
1093 (package-menu--generate, package-menu--print-info)
1094 (package-menu--status-predicate, package-menu-mark-install):
1095 Handle new status label "new".
1096
ad4d226c
SM
10972012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1100 conversion to backquotes.
1101
f1a4e679
CY
11022012-06-12 Chong Yidong <cyd@gnu.org>
1103
1104 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1105 Rename from gud-inhibit-global-bindings.
1106
1107 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1108
1109 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1110 hook from nxml-glyph-set-hook.
1111
1112 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1113 declaration.
1114
1115 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1116
1117 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1118 Convert to defcustom.
1119
0c9e42b5
DA
11202012-06-12 Drew Adams <drew.adams@oracle.com>
1121
1122 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1123 New functions.
1124 (help-mode): Use them.
1125
09e06855
GM
11262012-06-11 Glenn Morris <rgm@gnu.org>
1127
1128 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1129 Use preprocessor face for directives.
1130 (fortran-directive-re): Doc fix.
1131
71adb94b
SM
11322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1133
2eb87922
SM
1134 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1135 conversion to backquotes (bug#11652).
1136
71adb94b
SM
1137 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1138 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1139 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1140 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1141 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1142 (cl-ninth, cl-tenth): Mark them as inlinable.
1143 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1144 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1145 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1146 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1147 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1148 (cl-list*, cl-adjoin): Don't put an autoload manually.
1149 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1150 (cl--compiler-macro-list*): Add autoload cookie.
1151 (cl--compiler-macro-cXXr): New function.
2eb87922 1152
71adb94b
SM
1153 * help-fns.el (help-fns--compiler-macro): New function extracted from
1154 describe-function-1; follow aliases and use `compiler-macro' property.
1155 (describe-function-1): Use it.
1156
a6674402
CY
11572012-06-11 Chong Yidong <cyd@gnu.org>
1158
1159 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1160 is uninstalled, if imagemagick is installed.
1161
bb3faf5b
SM
11622012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emacs-lisp/cl-lib.el: Use lexical-binding.
1165 (cl-map-extents, cl-maclisp-member): Remove.
1166 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1167 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1168 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1169 * emacs-lisp/cl-extra.el: Use lexical-binding.
1170 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1171 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1172 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1173 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1174 * emacs-lisp/cl-seq.el: Use lexical-binding.
1175 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1176 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1177 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1178 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1179 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1180 CL's internals.
1181
2fe4b125
MA
11822012-06-11 Michael Albinus <michael.albinus@gmx.de>
1183
1184 Sync with Tramp 2.2.6-pre.
1185
1186 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1187 `print-length' and `print-level' to nil, in order to avoid
1188 truncation. Reported by Christopher Schmidt
1189 <christopher@ristopher.com>.
1190
1191 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1192
1193 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1194 New defmacro.
1195 (tramp-compat-copy-directory): Add optional argument
1196 COPY-CONTENTS. It is not handled yet.
1197
1198 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1199 (tramp-ftp-file-name-p): Simplify.
1200
1201 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1202 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1203 connection vector.
1204
1205 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1206 (tramp-methods): Do not use `tramp-password-end-of-line'.
1207 (tramp-completion-function-alist-putty): Handle UNIX case.
1208 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1209 (tramp-do-file-attributes-with-stat)
1210 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1211 gid as real numbers. They could run out of integer range on cygwin.
1212 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1213 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1214 (tramp-open-connection-setup-interactive-shell):
1215 Use `tramp-cleanup'. Move check for busyboxes ...
1216 (tramp-find-shell): ... here. Simplify implementation.
1217 Set "remote-shell" property also for alternative shells.
1218 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1219 If failing, a regular file would be written otherwise.
1220 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1221 (tramp-find-inline-encoding): Cache the coding commands in the
1222 process cache. Apply test command on the remote side, if defined.
1223 (tramp-find-inline-compress): Cache the compress commands in the
1224 process cache.
1225 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1226 when requested. Handle hops.
1227 (tramp-current-connection): New defvar.
87e6e64f
DA
1228 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1229 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1230 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1231 (tramp-get-inline-compress, tramp-get-inline-coding):
1232 Read connection properties from the process cache.
2fe4b125
MA
1233
1234 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1235 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1236 New defconsts.
2fe4b125
MA
1237 (tramp-smb-prompt): Extend for powershell prompt.
1238 (tramp-smb-file-name-handler-alist): Add handlers for
1239 `process-file', `shell-command' and `start-file-process'.
1240 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1241 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1242 (tramp-smb-file-name-p): Simplify.
1243 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1244 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1245 (tramp-smb-shell-quote-argument): New defuns.
1246 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1247 Implement using "tar". By this, time-stamps are preserved.
1248 (tramp-smb-handle-copy-file): Handle also the case of directories.
1249 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1250 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1251 Use `tramp-get-connection-buffer').
2fe4b125
MA
1252 (tramp-smb-handle-rename-file): Use "rename", when source and
1253 target are on the same share.
87e6e64f
DA
1254 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1255 Use `tramp-smb-server-version'.
2fe4b125
MA
1256 (tramp-smb-wait-for-output): Remove prompt.
1257
1258 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1259 (tramp-methods, tramp-rsh-end-of-line):
1260 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1261 (tramp-save-ad-hoc-proxies): New defcustom.
1262 (tramp-completion-function-alist): Adapt docstring.
1263 (tramp-default-password-end-of-line): Remove defcustom.
1264 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1265 (tramp-user-regexp, tramp-file-name-regexp-unified)
1266 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1267 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1268 (tramp-remote-file-name-spec-regexp): New defconst.
1269 (tramp-file-name-structure): Extend structure for hops.
1270 (tramp-get-method-parameter): Move up.
1271 (tramp-file-name-p, tramp-dissect-file-name)
1272 (with-parsed-tramp-file-name): Handle hops.
1273 (tramp-file-name-hop): New defun.
1274 (tramp-make-tramp-file-name): New optional arg HOP.
1275 (tramp-message-show-progress-reporter-message): New defvar.
1276 (tramp-with-progress-reporter): Use it. We cannot use
1277 `tramp-message-show-message' here, because this suppresses also
1278 error buffers.
1279 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1280 `tramp-message-show-message' is nil.
1281 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1282 (tramp-cleanup): New defun.
1283 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1284 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1285 an error unchanged.
1286 (tramp-completion-handle-file-name-all-completions): Handle hops.
1287 Fix an error when called from ido.
1288 (tramp-completion-dissect-file-name): Use better local variable
1289 name. Add hop to the vector.
1290 (tramp-handle-insert-file-contents): Use progress-reporter for the
1291 whole scenario.
1292 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1293 to `t'.
1294 (tramp-check-for-regexp): Simplify search.
1295 (tramp-enter-password): Remove it. Move implementation ...
1296 (tramp-action-password): ... here.
1297 (tramp-mode-string-to-int, tramp-local-host-p)
1298 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1299 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1300 Set tramp-autoload cookie.
2fe4b125
MA
1301
1302 * net/trampver.el: Update release number.
1303
13042012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1305 Michael Albinus <michael.albinus@gmx.de>
1306
1307 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1308 (tramp-parse-group, tramp-parse-file)
1309 (tramp-parse-shostkeys-sknownhosts): New defuns.
1310 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1311 (tramp-parse-shosts-group, tramp-parse-sconfig)
1312 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1313 (tramp-parse-sknownhosts, tramp-parse-hosts)
1314 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1315 Use them.
1316 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1317 (tramp-parse-putty-group): Don't narrow.
1318 (tramp-parse-putty): Make a loop.
1319 (tramp-file-name-handler): Catch the `suppress' signal.
1320
72834e10
CY
13212012-06-11 Chong Yidong <cyd@gnu.org>
1322
1323 * image.el (imagemagick-register-types): Put the ImageMagick entry
1324 at the end of image-type-file-name-regexps.
1325
a4712e11
JB
13262012-06-11 Johan Bockgård <bojohan@gnu.org>
1327
1328 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1329 (pcase, pcase-let*, pcase-dolist): Use them.
1330
82ad98e3
SM
13312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * emacs-lisp/pcase.el (pcase--let*): New function.
1334 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1335 (pcase--expand): Use macroexp-let².
1336
f80efb86
SM
13372012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1340 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1341 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1342 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1343 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1344 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1345
31ca4639 13462012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1347
31ca4639
CY
1348 * mail/rmail.el (rmail-yank-current-message): Leave point at
1349 correct position. (Bug#11660)
94f0aa34 1350
31ca4639 13512012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1352
31ca4639 1353 * allout-widgets.el: Fix code header.
9e1b8ec4 1354
31ca4639 13552012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1356
f80efb86
SM
1357 * cus-edit.el (customize-changed-options-previous-release):
1358 Bump to 24.1.
31ca4639 1359
642b6d30
AS
13602012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1361
1362 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1363
4f5d2ba1
CY
13642012-06-09 Chong Yidong <cyd@gnu.org>
1365
1366 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1367
e75852fd
MR
13682012-06-09 Martin Rudalics <rudalics@gmx.at>
1369
1370 * window.el (special-display-popup-frame): Don't use
1371 window--display-buffer (Bug#11651).
1372
1e48e282
EZ
13732012-06-09 Eli Zaretskii <eliz@gnu.org>
1374
8a26b487
EZ
1375 Fix parallel builds: make sure loaddefs.el is not being written
1376 while Lisp files are compiled.
1377 (compile): Don't depend on 'mh-autoloads'.
1378 (compile-CMD, compile-SH): Depend on 'autoloads'.
1379 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1380
1e48e282
EZ
1381 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1382
6175e34b
CY
13832012-06-09 Chong Yidong <cyd@gnu.org>
1384
1385 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1386 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1387 Doc fixes (Bug#11225).
1388
d9857e53
SM
13892012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1392 a function if there's a clear indication that it has a compiler-macro.
1393 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1394 (macro-declarations-alist): Add arglist to declaration functions.
1395 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1396 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1397 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1398 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1399 Also add autoload to find the compiler macro.
1400 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1401 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1402 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1403 (cl--compiler-macro-get): New functions, replacing calls to
1404 cl-define-compiler-macro.
1405 (cl-typep) [compiler-macro]: Use macroexp-let².
1406
f81298f8 14072012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1408
1409 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1410 string properly, fixes Bug#11473.
1411
4b56d0fe
CY
14122012-06-08 Chong Yidong <cyd@gnu.org>
1413
1414 * faces.el (set-face-attribute): Doc fix.
1415 (modify-face): Don't use :bold and :italic.
1416 (error, warning, success): Tweak definitions.
1417
1418 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1419 (custom-modified, custom-set, custom-changed, custom-themed)
1420 (custom-saved, custom-button, custom-button-mouse)
1421 (custom-button-pressed, custom-state, custom-comment-tag)
1422 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1423 (custom-group-subtitle): Use new-style face specs.
1424 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1425 (custom-set-face, custom-changed-face, custom-saved-face)
1426 (custom-button-face, custom-button-pressed-face)
1427 (custom-documentation-face, custom-state-face)
1428 (custom-comment-face, custom-comment-tag-face)
1429 (custom-variable-tag-face, custom-variable-button-face)
1430 (custom-face-tag-face, custom-group-tag-face-1)
1431 (custom-group-tag-face): Remove obsolete face alias.
1432
1433 * epa.el (epa-validity-high, epa-validity-medium)
1434 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1435 (epa-field-name, epa-field-body):
1436 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1437 (font-lock-keyword-face, font-lock-builtin-face)
1438 (font-lock-function-name-face, font-lock-variable-name-face)
1439 (font-lock-type-face, font-lock-constant-face):
1440 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1441 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1442 * speedbar.el (speedbar-button-face, speedbar-file-face)
1443 (speedbar-directory-face, speedbar-tag-face)
1444 (speedbar-selected-face, speedbar-highlight-face)
1445 (speedbar-separator-face):
1446 * whitespace.el (whitespace-newline, whitespace-space)
1447 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1448 (whitespace-line, whitespace-space-before-tab)
1449 (whitespace-space-after-tab, whitespace-indentation)
1450 (whitespace-empty):
1451 * emulation/cua-base.el (cua-global-mark):
1452 * eshell/em-prompt.el (eshell-prompt):
1453 * net/newst-plainview.el (newsticker-new-item-face)
1454 (newsticker-old-item-face, newsticker-immortal-item-face)
1455 (newsticker-obsolete-item-face, newsticker-date-face)
1456 (newsticker-statistics-face, newsticker-default-face):
1457 * net/newst-reader.el (newsticker-feed-face)
1458 (newsticker-extra-face, newsticker-enclosure-face):
1459 * net/newst-treeview.el (newsticker-treeview-face)
1460 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1461 (newsticker-treeview-immortal-face)
1462 (newsticker-treeview-obsolete-face)
1463 (newsticker-treeview-selection-face):
1464 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1465 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1466 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1467 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1468 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1469 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1470 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1471 (mpuz-text):
1472 * progmodes/vera-mode.el (vera-font-lock-number)
1473 (vera-font-lock-function, vera-font-lock-interface):
1474 * textmodes/table.el (table-cell): Use new-style face specs, and
1475 don't use the old :bold and :italic attributes.
1476
1477 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1478 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1479 (ebrowse-member-class, ebrowse-progress): Likewise.
1480 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1481 (ebrowse-file-name-face, ebrowse-default-face)
1482 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1483 (ebrowse-progress-face): Remove obsolete faces.
1484
1485 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1486 Inherit from error and warning faces respectively.
1487
1488 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1489 Likewise.
f80efb86
SM
1490 (flyspell-incorrect-face, flyspell-duplicate-face):
1491 Remove obsolete aliases.
4b56d0fe 1492
03310646
MA
14932012-06-08 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1496 Avoid infloop.
1497
513749ee
SM
14982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * startup.el (argv, argi): Make lexically scoped.
1501 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1502 * emacs-lisp/cl-macs.el: Use lexical-binding.
1503 Rename cl-bind-* to cl--bind-*.
1504 * files.el: Don't require `cl' since it doesn't use it.
1505 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1506
595ef4ad
JB
15072012-06-08 Juanma Barranquero <lekktu@gmail.com>
1508
1509 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1510 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1511 instead of calling external sort utility.
1512 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1513
e9f66fcb
EZ
15142012-06-08 Eli Zaretskii <eliz@gnu.org>
1515
1516 * descr-text.el (describe-char): Mention how to insert the
1517 character, if the current input method doesn't support it.
1518 See the discussion in this thread for the details:
1519 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1520
3d10db47
SS
15212012-06-08 Sam Steingold <sds@gnu.org>
1522
1523 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1524 XF86Back to previous-buffer.
1525 (minibuffer-local-map): Bind them to next-history-element and
1526 previous-history-element respectively.
1527 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1528 help-go-back respectively.
1529 * info.el (Info-mode-map): Bind them to Info-history-forward and
1530 Info-history-back respectively.
1531 These are the keys next to Up on the ThinkPad keyboard.
1532
de7e2b36
SM
15332012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1536 * emacs-lisp/cl-macs.el: Provide itself.
1537 (cl--labels-convert-cache): New var.
1538 (cl--labels-convert): New function.
1539 (cl-flet, cl-labels): New implementation with new semantics, relying on
1540 lexical-binding.
1541 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1542 (cl-closure-vars, cl--function-convert-cache)
1543 (cl--function-convert): Move from cl-macs.el.
1544 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1545 rename by removing the "cl-" prefix.
1546 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1547
6fa6c4ae
SM
15482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1551 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1552 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1553 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1554 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1555 (cl-hash-table-count): Add old compatibility aliases.
1556
1557 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1558 Use macroexpand-all-environment instead.
1559 (cl--old-macroexpand): New var.
1560 (cl--sm-macroexpand): New function.
1561 (cl-symbol-macrolet): Use it during macro expansion.
1562 (cl--function-convert-cache): New var.
1563 (cl--function-convert): New function, extracted from
1564 cl-macroexpand-all.
1565 (cl-lexical-let): Use it.
1566
1567 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1568 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1569 (cl-member): Remove old alias.
1570
1571 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1572 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1573 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1574 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1575 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1576 (cl-macroexpand-cmacs): Remove var.
1577 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1578 Use macroexpand-all instead.
1579
4dd1c416
SM
15802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1583 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1584 (macroexp-copyable-p): New functions and macros.
1585 * emacs-lisp/edebug.el (edebug-unwrap):
1586 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1587 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1588 (pcase--let*): Remove.
1589 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1590 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1591 macroexp-const-p instead.
1592 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1593
1594 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1595 instead of "cl-" for internal definitions. Use macroexp-const-p.
1596 (cl-old-bc-file-form): Remove var.
1597 (cl-const-exprs-p): Remove fun.
1598 (cl-labels, cl-macrolet): Use backquote.
1599 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1600 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1601 (cl-define-setf-expander): Rename from cl-define-setf-method.
1602 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1603
1604 * international/mule-cmds.el: Don't require CL.
1605 (view-hello-file): Don't use `letf'.
1606
ed8bd4d7
SM
16072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1608
7287f2f3
SM
1609 * tmm.el (tmm-prompt): Use string-prefix-p.
1610 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1611 (tmm-add-prompt): Use minibuffer-completion-help.
1612 (tmm-delete-map): Remove.
1613
ed8bd4d7
SM
1614 * subr.el (kbd): Make it its own function.
1615
7b4cdbf4
SM
16162012-06-07 Stefan Merten <smerten@oekonux.de>
1617
1618 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1619 Silence compiler warnings. Fix versions.
ed8bd4d7 1620 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1621 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1622 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1623 (rst-package-emacs-version-alist): Correct Emacs version to
1624 represent major merge with upstream.
ed8bd4d7 1625 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1626
2b48d721
GM
16272012-06-06 Glenn Morris <rgm@gnu.org>
1628
1629 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1630 Only print environment variables if set.
1631
fa779ab0
SM
16322012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1635 (macroexp--cons): Rename from maybe-cons.
1636 (macroexp--accumulate): Rename from macroexp-accumulate.
1637 (macroexp--all-forms): Rename from macroexpand-all-forms.
1638 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1639 (macroexp--expand-all): Rename from macroexpand-all-1.
1640
628299e0
SS
16412012-06-06 Sam Steingold <sds@gnu.org>
1642
1643 * calendar/calendar.el (calendar-in-read-only-buffer):
1644 Call `special-mode' to enable the standard read-only keybindings.
1645
b7bb5838
SM
16462012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1649 with "loading" messages (bug#11635).
1650
dfb308ba
MA
16512012-06-06 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * files.el (enable-remote-dir-locals): New option.
1654 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1655
0372ee92
MA
1656 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1657 Ensure, that the temp directory is local.
1658
1659 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1660 `temporary-file-directory'.
1661
eed0bb91
MA
1662 * progmodes/python.el (python-send-region): Ensure, that the
1663 temporary file is created also in the remote case.
1664
7a58f64d
GM
16652012-06-06 Glenn Morris <rgm@gnu.org>
1666
f7dd4e98
GM
1667 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1668 (vc-rcs-update-changelog): Use it.
1669
090bd7cb 1670 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1671
7a58f64d
GM
1672 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1673 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1674 (vc-sccs-diff): Replace use of the external vcdiff script.
1675
daed4003
GM
16762012-06-05 Glenn Morris <rgm@gnu.org>
1677
1678 * ledit.el: Move to obsolete/.
1679
48c455c7
SS
16802012-06-05 Sam Steingold <sds@gnu.org>
1681
1682 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1683 patch (Bug#11140).
1684
57a7d507
SM
16852012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1686
090bd7cb 1687 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1688
53aacf21
SM
1689 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1690 compiler-macro expansion.
1691
57a7d507
SM
1692 Add native compiler-macro support.
1693 * emacs-lisp/macroexp.el (macroexpand-all-1):
1694 Support compiler-macros directly. Properly follow aliases and apply
1695 the compiler macros more thoroughly.
1696 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1697 macroexpand now properly follows aliases.
1698 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1699 (cl-compiler-macroexpand): Use new prop.
1700 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1701
1702 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1703
51a5f9d8
MR
17042012-06-05 Martin Rudalics <rudalics@gmx.at>
1705
1706 * window.el (get-lru-window, get-mru-window, get-largest-window):
1707 New argument NOT-SELECTED to avoid picking the selected window.
1708 (window--display-buffer-1, window--display-buffer-2): Replace by
1709 new function window--display-buffer
1710 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1711 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1712 Use window--display-buffer.
51a5f9d8
MR
1713 (display-buffer-use-some-window): Remove temporary dedication
1714 hack by calling get-lru-window and get-largest-window with
1715 NOT-SELECTED argument non-nil. Call window--display-buffer.
1716
08f9f738
GM
17172012-06-05 Glenn Morris <rgm@gnu.org>
1718
1719 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1720 Replace external vcdiff script.
1721
e364a2b7
SM
17222012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1725
041df390
CY
17262012-06-04 Chong Yidong <cyd@gnu.org>
1727
e364a2b7
SM
1728 * image.el (imagemagick-types-inhibit): Revert last change.
1729 Add INFO and M.
47b36b94 1730 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1731
7c1898a7
SM
17322012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/cl-lib.el: Rename from cl.el.
1735 * emacs-lisp/cl.el: New compatibility file.
1736 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1737 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1738 to obey the "cl-" prefix.
1739 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1740
0c3461de
GM
17412012-06-03 Glenn Morris <rgm@gnu.org>
1742
1e266c88
GM
1743 * emacs-lisp/authors.el (authors-aliases): Addition.
1744
0c3461de
GM
1745 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1746 Fix :version.
1747
d8a52e15
SM
17482012-06-03 Stefan Merten <smerten@oekonux.de>
1749
1750 * textmodes/rst.el: Add comments.
1751 (rst-transition, rst-adornment): New faces.
1752 (rst-adornment-faces-alist): Make default safe to reevaluate.
1753 Fixes
1754 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1755 Improve customization tags.
1756 (rst-define-level-faces): Clarify meaning.
1757
5205d6f6
CY
17582012-06-03 Chong Yidong <cyd@gnu.org>
1759
1760 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1761 (compilation-mode-line-run, compilation-mode-line-exit):
1762 New faces.
5205d6f6
CY
1763 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1764
757ee657
JD
17652012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1766
7c1898a7
SM
1767 * progmodes/which-func.el (which-func-update-ediff-windows):
1768 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1769
5f2c76c6
CY
17702012-06-03 Chong Yidong <cyd@gnu.org>
1771
1772 * bindings.el: Remove explicit help text from format-mode-line.
1773 It is now supplied by mode-line-default-help-echo.
1774 (mode-line-front-space, mode-line-end-spaces)
1775 (mode-line-misc-info): New variables.
1776 (mode-line-modes, mode-line-position): Move the default value to
1777 the variable definition.
1778 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1779 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1780 (mode-line-modified-help-echo): New functions.
1781 (mode-line-mule-info, mode-line-modified): Use them.
1782 (mode-line-eol-desc, propertized-buffer-identification):
1783 Consistency fixes for help text.
cbe46e5f
CY
1784 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1785 set-buffer-file-coding-system (Bug#289).
1786 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1787
f2d6a3df
SM
17882012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * simple.el (execute-extended-command): Set real-this-command
1791 (bug#11506).
1792
37269466
CY
17932012-06-02 Chong Yidong <cyd@gnu.org>
1794
1795 Remove incorrect uses of "modeline" in comments, docstrings, and
1796 function/variable names (Bug#10329).
1797
1798 * cus-edit.el (mode-line):
1799 * dframe.el (dframe-mouse-hscroll):
1800 * emacs-lisp/re-builder.el:
1801 * emacs-lisp/easy-mmode.el (define-minor-mode):
1802 * frame.el (set-frame-name):
1803 * help.el (lookup-minor-mode-from-indicator):
1804 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1805 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1806 (c-toggle-hungry-state):
1807 * progmodes/antlr-mode.el (antlr-language-alist):
1808 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1809 * progmodes/vhdl-mode.el (vhdl-mode):
1810 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1811 * term/ns-win.el (ns-face-at-pos):
1812 * term/sup-mouse.el (sup-mouse-report):
1813 * textmodes/flyspell.el (flyspell-mode-line-string):
1814 * textmodes/ispell.el (ispell-highlight-face):
1815 * textmodes/reftex-global.el:
1816 * vc/vc-arch.el (vc-arch-mode-line-string):
1817 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1818 * vc/vc-git.el (vc-git-mode-line-string):
1819 * vc/vc-hooks.el (vc-display-status)
1820 (vc-default-mode-line-string):
1821 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1822
1823 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1824
1825 * dired.el (dired-sort-set-mode-line): Rename from
1826 dired-sort-set-modeline. All callers changed.
1827
1828 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1829 eshell-status-in-modeline.
1830
1831 * foldout.el (foldout-mode-line-string): Rename from
1832 foldout-modeline-string. All callers changed.
1833 (foldout-update-mode-line): Rename from foldout-update-modeline.
1834
1835 * subr.el (redraw-modeline): Make into obsolete alias.
1836
1837 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1838 timeclock-modeline-display. Make old name an alias.
1839 (timeclock-update-mode-line): Likewise. All callers changed.
1840 (timeclock-mode-line-display): No need to check before using
1841 add-hook.
1842 (timeclock-relative, timeclock-day-over-hook)
1843 (timeclock-use-elapsed, timeclock-mode-string)
1844 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1845
1846 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1847 crisp-mode-modeline-string.
1848
1849 * play/solitaire.el (solitaire-build-mode-line): Rename from
1850 solitaire-build-modeline. All callers changed.
1851
1852 * play/zone.el (zone-hiding-mode-line): Rename from
1853 zone-hiding-modeline. All callers changed.
1854 (zone): Remove unusued `modeline-hidden-level' property.
1855
1856 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1857 xscheme-modeline-initialize. All callers changed.
1858
1859 * strokes.el (strokes-lighter): Rename from
1860 strokes-modeline-string.
1861
1862 * textmodes/sgml-mode.el (html-face-tag-alist)
1863 (html-tag-face-alist): Use mode-line face instead of obsolete
1864 alias modeline.
1865
42152ee4
SM
18662012-06-02 Stefan Merten <smerten@oekonux.de>
1867
1868 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1869 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1870
95f520b5
CY
18712012-06-02 Chong Yidong <cyd@gnu.org>
1872
1873 * image.el (imagemagick-enabled-types): Rename from
1874 imagemagick-types-enable. Add many more types.
1875 (imagemagick-types-inhibit): Change default to nil.
1876 (imagemagick-filter-types): Caller changed.
1877
4a5f187a
SM
18782012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1879
03fef3e6
SM
1880 * emacs-lisp/cl-macs.el: Use backquotes.
1881 (cl-transform-function-property): Use eval-and-compile rather than
1882 abusing `require'.
1883 (defstruct): Use declare-function instead of with-no-warnings.
1884
4a5f187a
SM
1885 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1886 (byte-compile-output-docform): Re-add the print-circle bindings.
1887 (byte-compile-fix-header): Use #$ just because it's shorter.
1888 (byte-compile-output-file-form): Remove defun/defmacro.
1889
bd56924f
MR
18902012-06-01 Martin Rudalics <rudalics@gmx.at>
1891
1892 * simple.el (choose-completion): Remove now obsolete binding for
1893 owindow.
1894
046e38ce
MA
18952012-06-01 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1898 in order to avoid "Stack overflow in regexp matcher".
1899
32d72c2f
GM
19002012-05-31 Glenn Morris <rgm@gnu.org>
1901
1902 * image.el: For clarity, call imagemagick-register-types at
1903 top-level, rather than relying on a custom :initialize.
1904 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1905 (imagemagick-filter-types): New function. (Bug#7406)
1906 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1907 If disabling support, remove elements altogether rather
1908 than using an impossible regexp.
1909 (imagemagick-types-inhibit): Give it the default init function.
1910
dd41169b
SM
19112012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1912
4a5f187a
SM
1913 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1914 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1915
efc00ab1 19162012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1917
1918 * desktop.el (desktop-read): Clear previous and next buffers for
1919 all windows and bury *Messages* buffer (bug#11556).
1920
500fcedc
SM
19212012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 Add `declare' for `defun'. Align `defmacro's with it.
1924 * emacs-lisp/easy-mmode.el (define-minor-mode)
1925 (define-globalized-minor-mode): Don't autoload the var definitions.
1926 * emacs-lisp/byte-run.el: Use lexical-binding.
1927 (defun-declarations-alist, macro-declarations-alist): New vars.
1928 (defmacro, defun): Use them.
1929 (make-obsolete, define-obsolete-function-alias)
1930 (make-obsolete-variable, define-obsolete-variable-alias):
1931 Use `declare'.
1932 (macro-declaration-function): Mark obsolete.
1933 * emacs-lisp/autoload.el: Use lexical-binding.
1934 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1935
6e8a1786
AM
19362012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1937
1938 * textmodes/ispell.el (ispell-with-no-warnings):
1939 Define as a macro.
500fcedc
SM
1940 (ispell-kill-ispell, ispell-change-dictionary):
1941 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1942 `interactive-p'.
1943
61b108cc
SM
19442012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1947 (macro-declaration-function): Move var from C code.
1948 (macro-declaration-function): Define function with defalias.
1949 * emacs-lisp/macroexp.el (macroexpand-all-1):
1950 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1951 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1952 defun/defmacro any more.
1953 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1954 Provide fallback for unknown arglist.
1955 (byte-compile-arglist-warn): Change calling convention.
1956 (byte-compile-output-file-form): Move print-vars binding.
1957 (byte-compile-output-docform): Simplify accordingly.
1958 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1959 (byte-compile-defmacro-declaration): Remove.
1960 (byte-compile-file-form-defmumble): Generalize to defalias.
1961 (byte-compile-output-as-comment): Return byte-positions.
1962 Simplify callers accordingly.
1963 (byte-compile-lambda): Use `assert'.
1964 (byte-compile-defun, byte-compile-defmacro): Remove.
1965 (byte-compile-file-form-defalias):
1966 Use byte-compile-file-form-defmumble.
1967 (byte-compile-defalias-warn): Remove.
1968
6d3f7c2f
SM
19692012-05-29 Stefan Merten <smerten@oekonux.de>
1970
1971 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1972 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1973
1974 (rst-mode-abbrev-table): Merge definition.
1975 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1976 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1977
6dbaa1c7
UJ
19782012-05-29 Ulf Jasper <ulf.jasper@web.de>
1979
1980 * calendar/icalendar.el
1981 (icalendar-export-region): Export UID properly.
1982
d209e2fb 19832012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1984 * calendar/icalendar.el (icalendar-import-format):
1985 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1986 (icalendar-import-format-uid): New.
1987 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1988 Export UID.
1989
6876a58d
SM
19902012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1993 different alternative patterns.
1994 (pcase-codegen): Be more careful to preserve identity.
1995 (pcase--u1): Don't forget to mark vars as used.
1996
1997 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1998 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1999 (byte-compile-from-buffer): ...rather than here.
2000
2001 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2002 functions from byte-compile-function-environment.
2003
46b7967e
TN
20042012-05-29 Troels Nielsen <bn.troels@gmail.com>
2005
2006 * window.el (window-deletable-p): Avoid deleting the root window
2007 of a frame with an active minibuffer.
2008
69d565e2
MR
20092012-05-29 Martin Rudalics <rudalics@gmx.at>
2010
2011 * simple.el (choose-completion): Use quit-window (Bug#11567).
2012
a149fa51
CY
20132012-05-29 Chong Yidong <cyd@gnu.org>
2014
2015 * whitespace.el (whitespace-cleanup): Fix usage of
2016 whitespace-empty-at-bob-regexp (Bug#11492).
2017
2b311310
AH
20182012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2019
2020 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2021 revert (Bug#11488).
2022
b9cb2387
JL
20232012-05-29 Juri Linkov <juri@jurta.org>
2024
2025 * isearch.el (isearch-mode-map): Bind `M-s _' to
2026 `isearch-toggle-symbol'. Bind `M-s c' to
2027 `isearch-toggle-case-fold'.
2028 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2029 (isearch-forward): Add `M-s _' to the docstring.
2030 (isearch-forward-symbol, isearch-toggle-case-fold)
2031 (isearch-symbol-regexp): New functions. (Bug#11381)
2032
d5e61c1c
JL
20332012-05-29 Juri Linkov <juri@jurta.org>
2034
2035 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2036 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2037 a function, call it to get the regexp.
2038 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2039 property `isearch-message-prefix' instead of the string "word ".
2040 (isearch-search-fun-default): For the case of `isearch-word',
2041 return a lambda that calls re-search-forward/re-search-backward
2042 with a regexp returned by `word-search-regexp' or by the function
2043 in `isearch-word'.
2044
8cbd80f7
JL
20452012-05-29 Juri Linkov <juri@jurta.org>
2046
2047 * isearch.el (isearch-search-fun-default): New function.
2048 (isearch-search-fun): Move default part to the new function
2049 `isearch-search-fun-default'.
2050 (isearch-search-fun-function): Set the default value to
2051 `isearch-search-fun-default'. (Bug#11381)
2052
2053 * comint.el (comint-history-isearch-end):
2054 Use `isearch-search-fun-default'.
2055 (comint-history-isearch-search): Use `isearch-search-fun-default'
2056 and remove spacial case for `isearch-word'.
2057 (comint-history-isearch-wrap): Remove spacial case for
2058 `isearch-word'.
2059
2060 * hexl.el (hexl-isearch-search-function):
2061 Use `isearch-search-fun-default'.
2062
2063 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2064 Use `word-search-regexp' for `isearch-word'.
2065
2066 * misearch.el (multi-isearch-search-fun):
2067 Use `isearch-search-fun-default'.
2068
2069 * simple.el (minibuffer-history-isearch-search):
2070 Use `isearch-search-fun-default' and remove spacial case for
2071 `isearch-word'.
2072 (minibuffer-history-isearch-wrap): Remove spacial case for
2073 `isearch-word'.
2074
2075 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2076 Remove spacial case for `isearch-word'.
2077 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2078
85c8c5b6
AM
20792012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2080
2081 Decrease XEmacs incompatibilities.
2082 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2083 Use `string-match'.
2084 (flyspell-delete-region-overlays): Use alternative definition for
2085 XEmacs.
2086 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2087 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2088 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2089 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2090 `define-obsolete-face-alias' under XEmacs, but old method.
2091
2092 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2093 `with-no-warnings' definition or Emacs alias.
2094 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2095 (ispell-word): Do not use `region-p' if XEmacs.
2096
8cab9efc
AM
20972012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2098
2099 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2100 Check for `ispell-dictionary-base-alist' instead of full
2101 `ispell-dictionary-alist'.
2102 (ispell-init-process): Show spellchecker when starting new Ispell
2103 process.
2104
fda91268
RZ
21052012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2108 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2109
694ea8e3
JB
21102012-05-27 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * version.el (motif-version-string, gtk-version-string)
2113 (ns-version-string): Declare.
2114
e4d4f539
JL
21152012-05-27 Juri Linkov <juri@jurta.org>
2116
2117 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2118 after the `eval-defun-1' specialcaseing
2119 like in `edebug-eval-defun' (bug#10181).
2120
2121 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2122 like in `eval-defun-1'.
2123
33017faf 21242012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2125
fda91268
RZ
2126 * mail/sendmail.el (mail-yank-region):
2127 Recognize rmail-yank-current-message in addition to insert-buffer.
2128 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2129 a *mail* buffer created through rmail-start-mail with sendmail as
2130 mail-user-agent.
2131
33017faf
GM
21322012-05-27 Chong Yidong <cyd@gnu.org>
2133
2134 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2135 Default to 256 (Bug#11267).
2136
2137 * help.el (describe-mode): Doc fix.
2138
04188bb9
GM
21392012-05-26 Glenn Morris <rgm@gnu.org>
2140
38264cc9
GM
2141 * w32-fns.el (w32-init-info): Remove.
2142 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2143
eb7afdad
GM
2144 * info.el (info-initialize): For self-contained NS builds, put the
2145 included info/ directory at the front. (Bug#2791)
2146
04188bb9
GM
2147 * paths.el (Info-default-directory-list): Make it a defcustom,
2148 mainly so that we can use custom-initialize-delay.
2149
a179e3f7
SM
21502012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2151
43416392
SM
2152 * subr.el (buffer-has-markers-at): Mark obsolete.
2153
a179e3f7 2154 * subr.el (lambda): Use declare.
43416392 2155
a179e3f7
SM
2156 * emacs-lisp/lisp-mode.el (lambda):
2157 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2158
34a008d9
AH
21592012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2160
2161 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2162
0a3b289f
GM
21632012-05-26 Glenn Morris <rgm@gnu.org>
2164
2165 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2166
758c81e8
GM
21672012-05-25 Glenn Morris <rgm@gnu.org>
2168
f9f334f0
GM
2169 * paths.el: Remove no-byte-compile.
2170 * loadup.el: No need to load paths.el uncompiled.
2171
87eb79c2
GM
2172 * image.el (imagemagick-types-inhibit): Doc fix.
2173
758c81e8
GM
2174 * version.el: Remove no-byte-compile and associated formatting.
2175 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2176 is ancient code from when there was an "inc-vers.el".
2177
e7e85dc0
SM
21782012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * progmodes/gdb-mi.el: Minor style changes.
2181 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2182 Turn into minor modes.
2183 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2184 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2185 (gdb-shell): Remove unneeded let-binding.
2186 (gdb-get-many-fields): Eliminate O(n²) behavior.
2187
f31237a4
EZ
21882012-05-25 Eli Zaretskii <eliz@gnu.org>
2189
2190 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2191 platforms that don't link in fontset.c.
2192
bc1b21bb
JL
21932012-05-25 Juri Linkov <juri@jurta.org>
2194
2195 Use the same diff color scheme as in modern VCSes (bug#10181).
2196
2197 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2198 to avoid confusion with `diff-added' that now uses green colors.
2199 (diff-removed): Use shades of red.
2200 (diff-added): Use shades of green.
2201 (diff-changed): Leave just the yellow color.
2202 (diff-use-changed-face): New variable.
2203 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2204 how to highlight context diff changes.
2205 (diff-refine-change): Use shades of yellow.
2206 (diff-refine-removed): New face that uses shades of red.
2207 (diff-refine-added): New face that uses shades of green.
2208 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2209 `diff-refine-removed' in the call to `smerge-refine-subst'
2210 depending on the value of `diff-use-changed-face'.
2211
2212 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2213 (smerge-other): Use shades of green.
2214 (smerge-base): Use shades of yellow.
2215 (smerge-refined-change): Empty face.
2216 (smerge-refined-removed): New face that uses shades of red.
2217 (smerge-refined-added): New face that uses shades of green.
2218 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2219 args `props-r' and `props-a', and use them. Doc fix.
2220 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2221 on its value use different faces `smerge-refined-change',
2222 `smerge-refined-removed', `smerge-refined-added' in the call to
2223 `smerge-refine-subst'.
2224
2225 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2226 Add face condition `min-colors 88' with shades of red.
2227 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2228 `min-colors 88' with shades of green.
2229 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2230 `min-colors 88' with shades of yellow.
2231
6df9112c
GM
22322012-05-24 Glenn Morris <rgm@gnu.org>
2233
ead5edc0
GM
2234 * paths.el (prune-directory-list, remote-shell-program): Move to...
2235 * files.el (prune-directory-list, remote-shell-program): ...here.
2236 For the latter, delay initialization, prefer ssh, just search PATH.
2237
f18b81e6
GM
2238 * paths.el (term-file-prefix): Move to faces.el (the only user).
2239 * faces.el (term-file-prefix): Move here, make it a defcustom.
2240
ee2f89a6
GM
2241 * paths.el (news-directory, news-path, news-inews-program):
2242 Move to gnus/nnspool.el.
61a583ca 2243
f8815e4c
GM
2244 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2245
c8f3b42c
GM
2246 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2247 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2248 Make the latter a defcustom, with a delayed initialization.
2249
6df9112c
GM
2250 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2251 These were deleted from Gnus itself late 2010.
2252
5dadff36
JB
22532012-05-22 Juanma Barranquero <lekktu@gmail.com>
2254
9e1701c6
JB
2255 * progmodes/which-func.el (which-func-ff-hook):
2256 Check against user-error, not error.
2257
bd7239f5 2258 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2259 cl-specs.el, which no longer exists.
2260
3290526d
GM
22612012-05-22 Glenn Morris <rgm@gnu.org>
2262
2263 * info.el (info-emacs-bug): New command.
2264 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2265 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2266
ff0c3cfb
GM
22672012-05-21 Glenn Morris <rgm@gnu.org>
2268
2269 * makefile.w32-in (update-subdirs-SH):
2270 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2271
5814f126
SM
22722012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2273
a52c0aa0
SM
2274 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2275
5814f126
SM
2276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2277 Simplify Maven regexp, and make sure the file can't start with a space
2278 (bug#11517).
2279
b847032c
GM
22802012-05-21 Glenn Morris <rgm@gnu.org>
2281
2282 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2283 Scrap superfluous subshells.
2284
3858bfe7
SM
22852012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2288 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2289
d14b0029
JB
22902012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2291
2292 * calc/calc.el (calc-ensure-consistent-units): New variable.
2293
a52c0aa0
SM
2294 * calc/calc-units.el (math-consistent-units-p)
2295 (math-check-unit-consistency): New functions.
2296 (calc-quick-units, calc-convert-units):
2297 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2298 is non-nil.
d14b0029
JB
2299 (calc-extract-units): Fix typo.
2300
60c4db3a
SM
23012012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2302
77f3b62e
SM
2303 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2304
60c4db3a
SM
2305 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2306 (flyspell-default-deplacement-commands): Don't spell check after
2307 repeated window/frame switches (e.g. triggered by mouse-movement).
2308 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2309 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2310 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2311 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2312 Remove unused vars.
2313 (flyspell-get-casechars, flyspell-get-not-casechars):
2314 Simplify; Don't bother removing a ] just to add it back.
2315 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2316
d209e2fb 23172012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2318
2319 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2320 New functions.
bd7239f5 2321 (math-function-table): Add support for more C functions.
b1a10716 2322
3f1b25b5
AM
23232012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2324
090bd7cb
JB
2325 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2326 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2327 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2328
b581bb5c
SM
23292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2332 their respective macro declarations.
2333 * skeleton.el (define-skeleton):
2334 * progmodes/compile.el (define-compilation-mode):
2335 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2336 (define-ibuffer-filter):
2337 * emacs-lisp/generic.el (define-generic-mode):
2338 * emacs-lisp/easy-mmode.el (define-minor-mode)
2339 (define-globalized-minor-mode):
2340 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2341 * emacs-lisp/byte-run.el (defsubst):
2342 * custom.el (deftheme): Add doc-string metadata.
2343
70b8ef8f
SM
23442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2347
b1198e17
SM
23482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2349
9abdc45d
SM
2350 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2351
b1198e17
SM
2352 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2353 * emacs-lisp/cl-macs.el: Idem.
2354 * emacs-lisp/cl-specs.el: Remove.
2355
4735906a
SM
23562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 Minor renaming of internal CL functions and variables.
2359 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2360 (cl--position): Rename from cl-position.
2361 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2362 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2363 (cl--random-state): Rename from *random-state*.
2364
ac348012
SM
23652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2368 parens around the arg list (bug#11499).
2369
a0a79cde
JL
23702012-05-17 Juri Linkov <juri@jurta.org>
2371
2372 * isearch.el (word-search-regexp, word-search-backward)
2373 (word-search-forward, word-search-backward-lax)
2374 (word-search-forward-lax): Move functions from search.c
2375 (bug#10145, bug#11381).
2376
65034a51
AM
23772012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2378
090bd7cb
JB
2379 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2380 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2381 Delay for otherchars as for normal word components.
65034a51 2382
1a72a195
SM
23832012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * minibuffer.el (completion--sifn-requote): Fix last change.
2386 (minibuffer-local-must-match-filename-map):
2387 Move define-obsolete-variable-alias before its var.
2388
fdb058c2
SM
23892012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2390
c41045e6
SM
2391 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2392
036dfb8b
SM
2393 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2394 behavior.
2395 (completion--string-equal-p): New function.
2396 (completion--twq-all): Use it to get better assertion failure data.
2397
2473256d
SM
2398 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2399 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2400 (shell--requote-argument): New functions.
2401 (shell-completion-vars): Use them.
2402 (shell--parse-pcomplete-arguments): Rename from
2403 shell-parse-pcomplete-arguments.
2404 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2405 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2406 Obey comint-file-name-quote-list.
2407
fdb058c2
SM
2408 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2409 (smie-indent-keyword): Use it.
2410
51fa99f1
SM
24112012-05-14 Stefan Merten <smerten@oekonux.de>
2412
2413 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2414
e18afed7 24152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2416
2417 * net/rlogin.el (rlogin-mode-map): Fix last change.
2418
e18afed7 24192012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2420
2421 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2422 the following \r\n using a single `process-send-string', since the
2423 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2424 with two `process-send-string's (Bug#11444).
8633b1f4 2425
e18afed7 24262012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2427
fdb058c2
SM
2428 * shell.el (shell-parse-pcomplete-arguments):
2429 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2430
2d21d7f6
WJ
24312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2432
e18afed7 2433 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2434 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2435 (image-transform-width, image-transform-fit-width): New functions.
2436 (image-transform-properties): Use them.
2437 (image-transform-check-size): New function.
2438 (image-toggle-display-image): Use it (for testing).
2439 (image-transform-set-rotation): Reduce angle mod 360.
2440 Delete obsolete comment.
2441
7102e6d0
WJ
24422012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2443
2444 * image-mode.el: Fix scaling (bug#11399).
2445 (image-transform-resize): Doc fix.
2446 (image-transform-properties): Default scale is 1 and height should
2447 be an integer.
2448
06bc5e6e
SM
24492012-05-13 Johan Bockgård <bojohan@gnu.org>
2450
2451 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2452 than hard-coding `car', to fix misbehavior when moving forward.
2453
0ae03b6a
CY
24542012-05-13 Chong Yidong <cyd@gnu.org>
2455
2456 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2457 (tabulated-list-entries, tabulated-list-padding)
2458 (tabulated-list-sort-key): Make permanent-local.
2459
2460 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2461 (electric-buffer-list): Put electric buffer menu
2462 command descriptions in this docstring, instead of the docstring
2463 of electric-buffer-menu-mode. Code cleanups.
2464 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2465 Electric-buffer-menu-mode.
2466 (electric-buffer-update-highlight): Minor code cleanup.
2467
205a7391
MA
24682012-05-13 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2471 (Bug#11447)
2472
e5bd0a28
SM
24732012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 Move define-obsolete-variable-alias before the var's definition.
2476 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2477 * tooltip.el (tooltip-hook):
2478 * textmodes/reftex-toc.el (reftex-toc-map):
2479 * textmodes/reftex-sel.el (reftex-select-label-map)
2480 (reftex-select-bib-map):
2481 * textmodes/reftex-index.el (reftex-index-map)
2482 (reftex-index-phrases-map):
2483 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2484 * progmodes/meta-mode.el (meta-mode-map):
2485 * novice.el (disabled-command-hook):
2486 * loadhist.el (unload-hook-features-list):
2487 * frame.el (blink-cursor):
2488 * files.el (find-file-not-found-hooks, write-file-hooks)
2489 (write-contents-hooks):
2490 * emulation/tpu-edt.el (GOLD-map):
2491 * emacs-lock.el (emacs-lock-from-exiting):
2492 * emacs-lisp/generic.el (generic-font-lock-defaults):
2493 * emacs-lisp/chart.el (chart-map):
2494 * dos-fns.el (register-name-alist):
2495 * dired-x.el (dired-omit-files-p):
2496 * desktop.el (desktop-enable):
2497 * cus-edit.el (custom-mode-hook):
2498 * buff-menu.el (buffer-menu-mode-hook):
2499 * bookmark.el (bookmark-read-annotation-text-func)
2500 (bookmark-exit-hooks):
2501 * allout.el (allout-mode-deactivate-hook)
2502 (allout-exposure-change-hook, allout-structure-added-hook)
2503 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2504 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2505 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2506 comes before the corresponding variable's definition.
2507
ac59c2f6
CY
25082012-05-12 Chong Yidong <cyd@gnu.org>
2509
2510 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2511 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2512 (Buffer-menu-mode-map): Bind it.
2513 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2514
dee6c9a3
SM
25152012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2171cea5
SM
2517 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2518 (prolog-upper-case-string, prolog-lower-case-string)
2519 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2520 (prolog-use-smie, prolog-smie-grammar): New vars.
2521 (prolog-smie-forward-token, prolog-smie-backward-token)
2522 (prolog-smie-rules): New funs.
2523 (prolog-comment-indent): Remove.
2524 (prolog-mode-variables): Use default comment indentation instead.
2525 Setup SMIE.
2526 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2527 (prolog-mode): Don't call them any more.
2528 (prolog-electric-colon, prolog-electric-dash)
2529 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2530
aa0382bd
SM
2531 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2532
dbacb4bd
SM
2533 * minibuffer.el (completion--twq-all): Again, allow case differences.
2534
13bdd94c
SM
2535 * term.el: Move keymap initialization code to be more idiomatic.
2536 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2537 (term-terminal-menu): Move initialization into declaration.
2538 (term-escape-char): Let the user set it in her .emacs.
2539
ff46c759
SM
2540 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2541 Provide SMIE-based indentation (not enabled by default yet).
2542 (sh-mode-map): Don't bind electric keys.
2543 Use electric-pair-mode instead of skeleton-pair.
2544 (sh-assignment-regexp): Fit within 80 columns.
2545 (sh-indent-supported): Specify actual shell name instead of boolean.
2546 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2547 (sh-maybe-here-document): Use it. Make obsolete.
2548 (sh-electric-here-document-mode) New minor mode.
2549 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2550 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2551 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2552 (sh-smie-rc-grammar, sh-use-smie): New vars.
2553 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2554 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2555 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2556 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2557 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2558 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2559 (sh-set-shell): Use smie-setup if requested.
2560
dee6c9a3
SM
2561 * term.el (term-set-escape-char): Properly set term-escape-char.
2562 See http://stackoverflow.com/questions/10524656.
2563
9f9aa044
CY
25642012-05-10 Chong Yidong <cyd@gnu.org>
2565
2566 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2567 Use url-generic-parse-url, and handle host names and Windows
2568 filenames properly.
2569 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2570 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2571 URL schemes to work on.
2572 (ffap--toggle-read-only): New function.
2573 (ffap-read-only, ffap-read-only-other-window)
2574 (ffap-read-only-other-frame): Use it.
2575 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2576 necessary for ffap-url-unwrap-remote.
2577
836d29b3
DA
25782012-05-10 Dave Abrahams <dave@boostpro.com>
2579
2580 * cus-start.el (create-lockfiles): Add it.
2581
00fd78ed
CY
25822012-05-09 Chong Yidong <cyd@gnu.org>
2583
2584 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2585 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2586
666b903b 25872012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2588
2589 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2590
666b903b 25912012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2592
2593 * ansi-color.el (ansi-color-process-output): Check for validity of
2594 comint-last-output-start before using it. This avoids a bad
2595 interaction with gdb-mi's input/output buffer.
2596
666b903b 25972012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2598
2599 * files.el (dir-locals-read-from-file):
2600 Mention dir-locals in any error message.
2601
666b903b 26022012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2603
2604 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2605 package (Bug#11410).
2606
f677562b
CY
2607 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2608 variables into description.
2609
666b903b 26102012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2611
2612 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2613 shell-delimiter-argument-list (bug#11348).
2614 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2615
b499d8d0
JB
26162012-05-09 Juanma Barranquero <lekktu@gmail.com>
2617
8f6b6da8
JB
2618 * textmodes/rst.el: Silence byte-compiler warnings.
2619 (rst-re-alist, rst-reset-section-caches): Move around.
2620 (rst-re): Use `characterp', not `char-valid-p'.
2621 (font-lock-beg, font-lock-end): Declare.
2622
4824146a
JB
2623 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2624 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2625
b499d8d0
JB
2626 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2627
ad89bb83
GM
26282012-05-08 Glenn Morris <rgm@gnu.org>
2629
2630 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2631
8bba5a75
SM
26322012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2633
49ed9c8e
SM
2634 * vc/log-edit.el: Add GNU coding standards highlighting.
2635 (log-edit-font-lock-gnu-style)
2636 (log-edit-font-lock-gnu-keywords): New vars.
2637 (log-edit-font-lock-keywords): New fun.
2638 (log-edit-mode): Don't fold case in font-lock.
2639 (log-edit-font-lock-keywords): Do not assume case-folding.
2640
07d00b56
SM
2641 * imenu.el: Misc cleanup. Make docstrings out of comments.
2642 Use lexical-binding.
2643 (imenu--index-alist, imenu--last-menubar-index-alist)
2644 (imenu-menubar-modified-tick): Use defvar-local.
2645 (imenu--split-menu): Remove unused var.
2646 (imenu--cleanup-seen): Declare as global.
2647 (imenu--cleanup): Use dolist.
2648
8bba5a75
SM
2649 * subr.el (defvar-local): Add debug spec and doc-string position.
2650
5075bdb5
GM
26512012-05-08 Glenn Morris <rgm@gnu.org>
2652
090bd7cb 2653 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2654 * language/english.el, language/georgian.el, language/greek.el:
2655 * language/japanese.el, language/khmer.el, language/korean.el:
2656 * language/lao.el, language/misc-lang.el, language/romanian.el:
2657 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2658 * language/thai.el, language/utf-8-lang.el:
2659 Remove no-byte-compile setting.
2660
5075bdb5
GM
2661 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2662
06f679a7
AH
26632012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2664
2665 * progmodes/make-mode.el (makefile-browse):
2666 Remove unnecessary interactive. (Bug#11324)
2667
03794570
GM
26682012-05-07 Glenn Morris <rgm@gnu.org>
2669
af8630f4
GM
2670 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2671
03794570
GM
2672 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2673
f0809a9d
SM
26742012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2675
28be5ce7
SM
2676 * loadup.el: Preload newcomment.el.
2677 * newcomment.el: Move autoload-only code to toplevel.
2678
f0809a9d
SM
2679 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2680 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2681 Handle new :right-align column property.
2682 (tabulated-list-print-col): Idem, plus use `display' text-property to
2683 try and preserve alignment for variable pitch fonts.
2684
1241b724
CY
26852012-05-07 Chong Yidong <cyd@gnu.org>
2686
2687 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2688 (tabulated-list-use-header-line): New var.
2689 (tabulated-list-init-header): Use it.
2690 (tabulated-list-print-fake-header): New function.
2691 (tabulated-list-print): Use it.
2692 (tabulated-list-sort-button-map): Add non-header-line commands.
2693 (tabulated-list-init-header): Add column name property to basic
2694 labels as well.
2695 (tabulated-list-col-sort): Handle non-header-line button case.
2696 (tabulated-list--sort-by-column-name): Fix a corner case.
2697
f0809a9d
SM
2698 * buff-menu.el (list-buffers--refresh):
2699 Handle Buffer-menu-use-header-line.
1241b724 2700
e5f9458f
CY
27012012-05-06 Chong Yidong <cyd@gnu.org>
2702
2703 * buff-menu.el: Convert to Tabulated List mode.
2704 (Buffer-menu-buffer+size-width): Make obsolete.
2705 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2706 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2707 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2708 documentation into docstring of buffer-menu.
2709 (Buffer-menu-toggle-files-only): Add an informative message.
2710 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2711 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2712 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2713 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2714 (Buffer-menu-execute, Buffer-menu-select)
2715 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2716 (Buffer-menu-bury): Use Tabulated List machinery.
2717 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2718 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2719 Delete.
e5f9458f
CY
2720 (list-buffers--refresh): New function.
2721 (list-buffers-noselect): Use it.
2722 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2723 (Buffer-menu--pretty-file-name): New helper functions.
2724
2725 * loadup.el: Preload tabulated-list.
2726
2727 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2728 tabulated-list-sort-column.
2729 (tabulated-list-init-header): Add the initial aligning space even
2730 if tabulated-list-padding is zero.
2731
e129292c
CS
27322012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2733
2734 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2735 whose cdr is not a cons cell correctly (bug#11038).
2736
6632d361
CY
27372012-05-06 Chong Yidong <cyd@gnu.org>
2738
e129292c
CS
2739 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2740 Accept additional plist in column descriptors.
6632d361
CY
2741 (tabulated-list-init-header): Obey it.
2742 (tabulated-list-get-entry): New function.
2743 (tabulated-list-put-tag): Use it. Use string-width instead of
2744 length.
2745 (tabulated-list--column-number): New function.
2746 (tabulated-list-print): Use it.
e129292c
CS
2747 (tabulated-list-print-col): New function.
2748 Set `tabulated-list-column-name' property on each column's text.
6632d361 2749 (tabulated-list-print-entry): Use it.
e129292c
CS
2750 (tabulated-list-delete-entry, tabulated-list-set-col):
2751 New functions.
6632d361
CY
2752 (tabulated-list-sort-column): New command (Bug#11337).
2753
3cc99f68
CY
2754 * buff-menu.el (list-buffers): Move C-x C-b binding from
2755 buff-menu.el to bindings.el.
2756
2757 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2758 :advertised-binding feature.
2759
52b61776
TN
27602012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2761
2762 * progmodes/compile.el (compilation-internal-error-properties):
2763 Calculate start position correctly when end-col is set but
2764 end-line is not (Bug#11382).
2765
ebfe2597
WJ
27662012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2767
2768 * man.el (Man-unindent): Use text-property-default-nonsticky to
2769 prevent untabify from inheriting face properties (Bug#11408).
2770
6d3f7c2f
SM
27712012-05-05 Stefan Merten <smerten@oekonux.de>
2772
2773 * textmodes/rst.el: Major merge with upstream development up to
2774 Docutils SVN r7399 / rst.el V1.2.1.
2775
2776 Clarify maintainership and authors.
2777
2778 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2779 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2780 (rst-official-version, rst-official-cvs-rev, rst-version)
2781 (rst-package-emacs-version-alist): New functions and variables
2782 for version information.
2783
2784 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2785 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2786 (rst-mode-syntax-table, rst-mode): New and corrected functions
2787 and variables representing reStructuredText features.
2788
2789 (rst-re): New function for reStructuredText regexes. Use in
2790 many places.
2791
2792 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2793 (rst-mode-map): Rebind keys.
2794
2795 (rst-mode-lazy, rst-font-lock-keywords)
2796 (rst-font-lock-extend-region)
2797 (rst-font-lock-extend-region-internal)
2798 (rst-font-lock-extend-region-extend)
2799 (rst-font-lock-find-unindented-line-limit)
2800 (rst-font-lock-find-unindented-line-match)
2801 (rst-adornment-level, rst-font-lock-adornment-level)
2802 (rst-font-lock-adornment-match)
2803 (rst-font-lock-handle-adornment-pre-match-form)
2804 (rst-font-lock-handle-adornment-matcher): Major revision of
2805 font-locking. Integrate with other code. Use `jit-lock-mode'.
2806
2807 (rst-preferred-adornments, rst-adjust-hook)
2808 (rst-new-adornment-down, rst-preferred-bullets)
2809 (rst-preferred-bullets, rst-indent, rst-indent-width)
2810 (rst-indent-field, rst-indent-literal-normal)
2811 (rst-indent-literal-minimized, rst-indent-comment): Change,
2812 extend and improve customization.
2813
2814 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2815 (rst-normalize-cursor-position, rst-get-decoration)
2816 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2817 (rst-rstrip, rst-toc-insert-find-delete-contents)
2818 (rst-shift-fill-region, rst-compute-bullet-tabs)
2819 (rst-debug-print-tabs, rst-debug-mark-found)
2820 (rst-shift-region-guts, rst-shift-region-right)
2821 (rst-shift-region-left, rst-use-char-classes)
2822 (rst-font-lock-keywords-function)
2823 (rst-font-lock-indentation-point)
2824 (rst-font-lock-find-unindented-line-begin)
2825 (rst-font-lock-find-unindented-line-end)
2826 (rst-font-lock-find-unindented-line)
2827 (rst-font-lock-adornment-point, rst-font-lock-level)
2828 (rst-adornment-level-alist): Remove functions and variables.
2829
2830 (rst-compare-adornments, rst-get-adornment-match)
2831 (rst-suggest-new-adornment, rst-get-adornments-around)
2832 (rst-adornment-complete-p, rst-get-next-adornment)
2833 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2834 (rst-straighten-adornments): Standardize function names to
2835 use "adornment" instead of "decoration". Correct callers.
2836 Similar standardizing in many places.
2837
2838 (rst-update-section, rst-adjust, rst-promote-region)
2839 (rst-enumerate-region, rst-bullet-list-region)
2840 (rst-repeat-last-character): Correct use of `interactive'.
2841
2842 (rst-classify-adornment, rst-find-all-adornments)
2843 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2844 (rst-find-leftmost-column, rst-repeat-last-character):
2845 Refactor functions.
2846
2847 (rst-find-title-line, rst-reset-section-caches)
2848 (rst-get-adornments-around, rst-adjust-adornment-work)
2849 (rst-arabic-to-roman, rst-roman-to-arabic)
2850 (rst-insert-list-pos, rst-insert-list-new-item)
2851 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2852 New functions.
2853
2854 (rst-all-sections, rst-section-hierarchy)
2855 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2856 New variables.
2857
2858 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2859 configuration instead of only buffer. Change where necessary.
2860
2861 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2862 (rst-shift-region, rst-adaptive-fill): New functions for
2863 indentation and filling.
2864
2865 (rst-comment-line-break, rst-comment-indent)
2866 (rst-comment-insert-comment, rst-comment-region)
2867 (rst-uncomment-region): New functions for handling comments.
2868
2869 (rst-compile): Quote shell arguments.
2870
2871 (rst-compile-pdf-preview, rst-compile-slides-preview):
2872 Delete temporary files after use.
2873
a43f98b3
GM
28742012-05-05 Glenn Morris <rgm@gnu.org>
2875
48176e8b
GM
2876 * calendar/cal-html.el: Optionally include holidays in the output.
2877 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2878 (cal-html-holidays): New option.
2879 (cal-html-css-default): Add holiday entry.
2880 (holiday-in-range): Autoload it.
2881 (cal-html-htmlify-entry): Add optional class argument.
2882 (cal-html-htmlify-list): Add optional holidays argument.
2883 (cal-html-insert-agenda-days): Include holidays in the output.
2884 (cal-html-one-month): Maybe include holidays.
2885
a43f98b3
GM
2886 * calendar/holidays.el (holiday-in-range):
2887 Move here from cal-tex-list-holidays.
2888 * calendar/cal-tex.el (cal-tex-list-holidays):
2889 Make it an obsolete alias for holiday-in-range. Update all callers.
2890
fef9d149 28912012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2892
2893 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2894 Nextstep.
2895
248da2f4
RW
28962012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2897
2898 * files.el (file-auto-mode-skip): New var.
2899 (set-auto-mode-1): Use it.
2900
f95e9344
SM
29012012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2902
df96ab1e
SM
2903 * repeat.el: Use lexical-binding.
2904 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2905 (repeat-undo-count): Remove.
2906 (repeat):
2907 * progmodes/octave-mod.el (octave-abbrev-start):
2908 * progmodes/f90.el (f90-abbrev-start):
2909 * face-remap.el (text-scale-adjust):
2910 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2911
5342bb06
SM
2912 * emacs-lisp/pcase.el (pcase--let*): New function.
2913 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2914 a bit more.
2915 (pcase--split-pred): Be more clever about ruling out overlap between
2916 a predicate and some constant pattern.
2917 (pcase--q1): Use `null' instead of (eq foo nil).
2918
f95e9344
SM
2919 * subr.el (setq-local, defvar-local): New macros.
2920 (kbd): Redefine as an alias.
2921 (with-selected-window): Leave unrelated frames alone.
2922 (set-temporary-overlay-map): New function.
2923
71873e2b
SM
29242012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * subr.el (user-error): New function.
2927 * window.el (switch-to-buffer):
2928 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2929 (smerge-match-conflict):
2930 * simple.el (previous-matching-history-element)
2931 (next-matching-history-element, goto-history-element, undo-more)
2932 (undo-start):
2933 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2934 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2935 (next-file, tags-loop-scan, list-tags, complete-tag):
2936 * progmodes/compile.el (compilation-loop):
2937 * mouse.el (mouse-minibuffer-check):
2938 * man.el (Man-bgproc-sentinel, Man-goto-page):
2939 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2940 (Info-history-forward, Info-follow-reference, Info-menu)
2941 (Info-extract-menu-item, Info-extract-menu-counting)
2942 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2943 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2944 (Info-next-reference, Info-prev-reference, Info-index)
2945 (Info-index-next, Info-follow-nearest-node)
2946 (Info-copy-current-node-name):
2947 * imenu.el (imenu--make-index-alist)
2948 (imenu-default-create-index-function, imenu-add-to-menubar):
2949 * files.el (basic-save-buffer, recover-file):
2950 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2951 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2952 (checkdoc-message-text, checkdoc-defun):
2953 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2954 * cus-edit.el (customize-changed-options, customize-rogue)
2955 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2956 (custom-variable-mark-to-reset-standard)
2957 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2958 (custom-file):
2959 * completion.el (check-completion-length):
2960 * comint.el (comint-search-arg)
2961 (comint-previous-matching-input-string-position)
2962 (comint-previous-matching-input)
2963 (comint-replace-by-expanded-history-before-point, comint-send-input)
2964 (comint-copy-old-input, comint-backward-matching-input)
2965 (comint-goto-process-mark, comint-set-process-mark):
2966 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2967 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2968
8a61ee22
SM
29692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2970
66408d1e
SM
2971 * dabbrev.el (dabbrev--ignore-case-p): New function.
2972 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2973 Use it.
2974
8a61ee22
SM
2975 * files.el (automount-dir-prefix): Mark as obsolete.
2976
3c74813a
GM
29772012-05-04 Glenn Morris <rgm@gnu.org>
2978
2979 * patcomp.el, play/bruce.el: Move to obsolete/.
2980
0bfcf5c5
PE
29812012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2982
2983 Fix minor Y10k bugs.
2984 * arc-mode.el (archive-unixdate):
2985 * autoinsert.el (auto-insert-alist):
2986 * calc/calc-forms.el (math-this-year):
2987 * emacs-lisp/copyright.el (copyright-current-year)
2988 (copyright-update-year, copyright):
2989 * tar-mode.el (tar-clip-time-string):
2990 * time.el (display-time-update):
2991 Don't assume years have 4 digits.
2992
78f3273a
CY
29932012-05-04 Chong Yidong <cyd@gnu.org>
2994
2995 * dos-w32.el (file-name-buffer-file-type-alist)
2996 (direct-print-region-use-command-dot-com):
2997 * ffap.el (ffap-menu-regexp):
2998 * find-file.el (ff-special-constructs):
2999 * follow.el (follow-debug):
3000 * forms.el (forms--debug):
3001 * iswitchb.el (iswitchb-all-frames):
3002 * ido.el (ido-all-frames):
3003 * emacs-lisp/timer.el (timer-max-repeats):
3004 * mail/feedmail.el (feedmail-mail-send-hook)
3005 (feedmail-mail-send-hook-queued):
3006 * mail/footnote.el (footnote-signature-separator):
3007 * mail/mailabbrev.el (mail-alias-separator-string)
3008 (mail-abbrev-mode-regexp):
3009 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3010 * progmodes/idlwave.el (idlwave-libinfo-file)
3011 (idlwave-default-completion-case-is-down)
3012 (idlwave-library-routines): Convert defvars to defcustoms.
3013
3014 * mail/rmail.el (rmail-decode-mime-charset):
3015 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3016 (idlwave-shell-fix-inserted-breaks)
3017 (idlwave-shell-activate-alt-keybindings)
3018 (idlwave-shell-use-breakpoint-glyph):
3019 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3020
f7ae6719
SM
30212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3024
47086495
WS
30252012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3026
3027 * progmodes/verilog-mode.el (font-lock-keywords):
3028 Fix mis-highligting auto. Reported by Craig Barner.
3029 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3030 defines from global name space. Reported by Dan Dever.
3031 (verilog-auto-reset, verilog-auto-reset-widths)
3032 (verilog-auto-tieoff): Support using unbased numbers for
3033 AUTORESET and AUTOTIEOFF.
3034 (verilog-submit-bug-report): Update variable list.
3035 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3036 parenthesis from not matching. Reported by Michael Rytting.
3037 (verilog-auto-template-lint): Fix hash error when linting modules
3038 with no used templates.
3039 (verilog-warn, verilog-warn-error)
3040 (verilog-warn-fatal): When non-interactive report multiple
3041 warnings before exiting. Suggested by Brad Dobbie.
3042 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3043 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3044 to report unused template errors. Reported by Brad Dobbie.
3045 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3046 nets, bug438. Reported by Vns Blore.
3047 (verilog-auto-inout-module, verilog-auto-reg)
3048 (verilog-read-decls, verilog-read-sub-decls-sig)
3049 (verilog-signals-edit-wire-reg, verilog-signals-with):
3050 Fix passing of Verilog data types in ANSI input/output ports
3051 such as "output logic" into the AUTOs. Special case "wire" and
3052 "reg" for backwards compatibility presuming Verilog 2001.
3053 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3054 (verilog-preprocess): Fix replication of preprocess output.
3055 Reported by Brad Dobbie.
3056 (verilog-auto-inst-interfaced-ports):
3057 Create verilog-auto-inst-interfaced-ports, bug429.
3058 Reported by Julian Gorfajn.
3059 (verilog-after-save-font-hook)
3060 (verilog-before-save-font-hook): New variable.
3061 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3062 (verilog-save-font-mods): Wrap disabling fontification, reported
3063 by David Rogoff.
3064 (verilog-do-indent, verilog-pretty-declarations-auto)
3065 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3066 Reported by Pierre-David Pfister.
3067 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3068 of class declarations, bug292. Reported by Kevin Heilman.
3069 (verilog-read-decls): Fix 'parameter type' not appearing in
3070 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3071 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3072 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3073 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3074 Reported by David Kravitz.
3075
30762012-05-03 Michael McNamara <mac@mail.brushroad.com>
3077
3078 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3079 assignment with tests in ifs and for loops.
3080 (verilog-extended-complete-re, verilog-complete-reg): Change so
3081 that DPI inport functions don't look like fuction declarations.
3082 (verilog-pretty-expr): Don't line up assignment
3083 operations to the test and increment in if and for loops
3084 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3085 that DPI inport functions don't look like fuction declarations.
47086495 3086
2e51d4b5
KH
30872012-05-03 Kenichi Handa <handa@m17n.org>
3088
3089 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3090 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3091 (Bug#11282).
3092
2bd785a2
SM
30932012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * emacs-lisp/bytecomp.el
3096 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3097 since cconv.el might have introduced :fun-body, internal-make-closure,
3098 and friends for bytecomp to handle (bug#11391).
3099 * custom.el (defcustom): Avoid ((λ ..) ..).
3100
99d27583
SM
31012012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3104
55a71479
JB
31052012-05-02 Juanma Barranquero <lekktu@gmail.com>
3106
3107 * notifications.el (dbus-debug):
3108 * term/linux.el (gpm-mouse-enable):
3109 * term/screen.el (xterm-register-default-colors): Declare.
3110
7b97c764
CY
31112012-05-02 Chong Yidong <cyd@gnu.org>
3112
2bc356d7
CY
3113 * cus-start.el (gc-cons-percentage, exec-suffixes)
3114 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3115 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3116 (make-cursor-line-fully-visible, void-text-area-pointer)
3117 (font-list-limit): Add customization data.
3118
7b97c764
CY
3119 * allout.el (allout-exposure-change-functions)
3120 (allout-structure-added-functions)
3121 (allout-structure-deleted-functions)
3122 (allout-structure-shifted-functions): Rename abnormal hooks from
3123 *-hook, and convert to defcustoms.
5d3385a0
JB
3124 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3125 Convert to defcustoms.
7b97c764
CY
3126 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3127
3128 * allout-widgets.el: Hook callers changed.
3129
90207a15 31302012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3131
3132 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3133 the yanked message in preference to the default value of
3134 buffer-file-coding-system.
3135
90207a15 31362012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3137
5d3385a0
JB
3138 * window.el (display-buffer--action-function-custom-type):
3139 Fix entry.
d9558cad 3140
90207a15 31412012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3142
3143 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3144
d80ac57b
GM
31452012-05-01 Glenn Morris <rgm@gnu.org>
3146
976f7668
GM
3147 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3148
beb83b5a
GM
3149 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3150
d80ac57b
GM
3151 * cus-edit.el (custom-variable-documentation): Simplify with format.
3152
b593d6a9
AH
31532012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3154 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * simple.el (suggest-key-bindings, execute-extended-command):
3157 Move from keyboard.c.
3158
782fbf2a
CY
31592012-05-01 Chong Yidong <cyd@gnu.org>
3160
3161 * follow.el: Eliminate advice.
3162 (set-process-filter, process-filter, sit-for): Advice deleted.
3163 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3164 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3165 Vars deleted.
782fbf2a
CY
3166 (follow-auto): Use a :set function.
3167 (follow-mode): Rewritten. Don't advise process filters.
3168 (follow-switch-to-current-buffer-all, follow-scroll-up)
3169 (follow-scroll-down): Assume follow-mode is bound.
3170 (follow-comint-scroll-to-bottom)
3171 (follow-align-compilation-windows): New functions.
3172 (follow--window-sorter): New function.
3173 (follow-all-followers): Use it to explicitly sort windows by their
3174 positions; don't make assumptions about next-window order.
3175 (follow-windows-start-end, follow-delete-other-windows-and-split)
3176 (follow-calc-win-start): Doc fix.
3177 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3178 vertical-motion unnecessarily.
3179 (follow-adjust-window): New function.
3180 (follow-post-command-hook): Use it.
3181 (follow-call-set-process-filter, follow-call-process-filter)
3182 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3183 (follow-stop-intercept-process-output, follow-generic-filter):
3184 Functions deleted.
3185 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3186 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3187 New functions, replacing advice on scroll-bar-* commands.
87233a14 3188 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3189
3190 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3191 (comint-postoutput-scroll-to-bottom): Use it.
3192 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3193
290af740
GM
31942012-05-01 Glenn Morris <rgm@gnu.org>
3195
3196 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3197 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3198 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3199 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3200 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3201 Remove no-byte-compile setting.
3202
6eac8dc9
SM
32032012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3206 all-completions code to not return a number in the last cdr.
3207
9cc7819c
LL
32082012-04-30 Leo Liu <sdl.web@gmail.com>
3209
3210 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3211 read-only error.
3212
c93b886f
CY
32132012-04-29 Chong Yidong <cyd@gnu.org>
3214
3215 * follow.el (follow-calc-win-end): Rewrite to handle partial
3216 screen lines correctly (Bug#8390).
3217 (follow-avoid-tail-recenter): Minor cleanup.
3218
8b6c19f4
SM
32192012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 Avoid the obsolete `assoc' package.
3222 * speedbar.el (speedbar-refresh): Avoid adelete.
3223 (speedbar-file-lists): Simplify and avoid aput.
3224 * man.el (Man--sections, Man--refpages): New vars, replacing
3225 Man-sections-alist and Man-refpages-alist.
3226 (Man-build-section-alist, Man-build-references-alist):
3227 Use them; avoid aput.
3228 (Man--last-section, Man--last-refpage): New vars.
3229 (Man-follow-manual-reference): Use them.
3230 Use the `default' arg of completing-read.
3231 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3232
c5bb7569
CY
32332012-04-27 Chong Yidong <cyd@gnu.org>
3234
d1d2e2e8
CY
3235 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3236
15cd8efd
CY
3237 * startup.el (x-apply-session-resources): New function.
3238
3239 * term/ns-win.el (ns-initialize-window-system):
3240 * term/w32-win.el (w32-initialize-window-system):
3241 * term/x-win.el (x-initialize-window-system): Use it to properly
3242 set menu-bar-mode and other vars from X resources, even if the
3243 initial frame is not a window-system frame (Bug#2299).
3244
c5bb7569
CY
3245 * subr.el (read-key): Avoid running filter function when setting
3246 up temporary tool bar entries (Bug#9922).
3247
a8e7d6d7 32482012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3249
3250 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3251 (Bug#11344)
3252
a8e7d6d7 32532012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3254
3255 * select.el (xselect--encode-string): New function, split from
3256 xselect-convert-to-string.
3257 (xselect-convert-to-string): Use it.
3258 (xselect-convert-to-filename, xselect-convert-to-os)
3259 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3260 returned strings are properly encoded (Bug#11315).
3261
a8e7d6d7 32622012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3263
3264 * simple.el (delete-active-region): Move to killing custom group.
3265
a8e7d6d7 32662012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3267
3268 * progmodes/which-func.el (which-func-current): Quote %
3269 characters for mode-line processing.
3270
578c1d4b 32712012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3272
3273 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3274 reaching eob (Bug#11286).
3275
a8e7d6d7 32762012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3277
3278 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3279 (gdb): Make it buffer-local and init to zero.
3280 (gdb-control-commands-regexp): New variable.
3281 (gdb-send): Don't wrap in "-interpreter-exec console" if
3282 gdb-control-level is positive. Increment gdb-control-level
3283 whenever the command matches gdb-control-commands-regexp, and
3284 decrement it each time the command is "end". (Bug#11279)
3285
a8e7d6d7 32862012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3287
3288 * window.el (adjust-window-trailing-edge, enlarge-window)
3289 (shrink-window, window-resize):
3290 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3291 windows (Bug#11276).
3292
b3608390
CY
32932012-04-27 Chong Yidong <cyd@gnu.org>
3294
3295 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3296 fix "missing prefix" warning. All callers changed.
b3608390 3297
797e6e88
SM
32982012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/assoc.el: Move to obsolete/.
3301
e95a67dc
SM
33022012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3303
657c21e4 3304 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3305
3306 * term/ns-win.el (ns-define-service):
3307 * progmodes/pascal.el (pascal-goto-defun):
3308 * progmodes/js.el (js--read-tab):
3309 * progmodes/etags.el (tags-lazy-completion-table):
3310 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3311 * emacs-lisp/ewoc.el (ewoc--wrap):
3312 * emacs-lisp/assoc.el (aput, adelete, amake):
3313 * doc-view.el (doc-view-convert-current-doc):
3314 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3315
cb3e7ae0
CY
33162012-04-26 Chong Yidong <cyd@gnu.org>
3317
dce04f7f
CY
3318 * image.el (image-type-from-buffer): Only return supported image
3319 type (Bug#9045).
3320
cb3e7ae0
CY
3321 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3322 value, for symmetry with diff-end-of-hunk.
3323 (diff-split-hunk, diff-find-source-location)
3324 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3325 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3326 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3327 compute the relevant hunk or file properly (Bug#6005).
3328 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3329
0d42eb3e
SM
33302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * vc/vc-mtn.el:
3333 * vc/vc-hg.el:
3334 * vc/vc-git.el:
3335 * vc/vc-dir.el:
3336 * vc/vc-cvs.el:
3337 * vc/vc-bzr.el:
3338 * vc/vc-arch.el:
3339 * vc/vc.el: Replace lexical-let by lexical-binding.
3340 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3341 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3342 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3343
f08ae1c9
CY
33442012-04-26 Chong Yidong <cyd@gnu.org>
3345
8b71081d
CY
3346 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3347 (diff-mode-shared-map): Bind it to / and [remap undo].
3348
f08ae1c9
CY
3349 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3350 (ediff-window-setup-function): Use it as the default, to set up
3351 windows based on whether the current frame is graphical (Bug#2138).
3352 (ediff-choose-window-setup-function-automatically): Make obsolete.
3353
3354 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3355
ef24141c
SM
33562012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3357
cc356a5d
SM
3358 * ffap.el: Remove old code for obsolete package.
3359 (ffap-complete-as-file-p): Remove.
3360
b4ff4f1f
SM
3361 Use completion-table-with-quoting for comint and pcomplete.
3362 * comint.el (comint--unquote&requote-argument)
3363 (comint--unquote-argument, comint--requote-argument): New functions.
3364 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3365 (comint-quote-filename): Use regexp-opt-charset.
3366 (comint--common-suffix, comint--common-quoted-suffix)
3367 (comint--table-subvert): Remove.
3368 (comint-unquote-function, comint-requote-function): New vars.
3369 (comint--complete-file-name-data): Use them with
3370 completion-table-with-quoting.
3371 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3372 * pcomplete.el (pcomplete-arg-quote-list)
3373 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3374 (pcomplete-unquote-argument-function): Default to non-nil.
3375 (pcomplete-unquote-argument): Simplify.
3376 (pcomplete--common-quoted-suffix): Remove.
3377 (pcomplete-requote-argument-function): New var.
3378 (pcomplete--common-suffix): New function.
3379 (pcomplete-completions-at-point): Use completion-table-with-quoting
3380 and completion-table-subvert.
3381
79c4eeb4
SM
3382 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3383 (minibuffer--double-dollars): Preserve properties.
3384 (completion--sifn-requote): New function.
3385 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3386
ef24141c
SM
3387 * minibuffer.el: Add support for completion of quoted/escaped data.
3388 (completion-table-with-quoting, completion-table-subvert): New funs.
3389 (completion--twq-try, completion--twq-all): New functions.
3390 (completion--nth-completion): New function.
3391 (completion-try-completion, completion-all-completions): Use it.
3392
784e7d6e
LL
33932012-04-25 Leo Liu <sdl.web@gmail.com>
3394
dd2ac746
SM
3395 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3396 Use compilation-message if available to find real filename.
784e7d6e 3397
07875ee7
CY
33982012-04-25 Chong Yidong <cyd@gnu.org>
3399
3400 * vc/diff-mode.el (diff-setup-whitespace): New function.
3401 (diff-mode): Use it.
3402
3403 * vc/diff.el (diff-sentinel):
3404 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3405 Whitespace mode variables based on diff style (Bug#8612).
3406
5055880d
LL
34072012-04-25 Leo Liu <sdl.web@gmail.com>
3408
daf75653
LL
3409 * progmodes/python.el (python-send-region): Add suffix .py to the
3410 temp file.
3411
5055880d
LL
3412 * files.el (auto-mode-alist): Use javascript-mode instead.
3413
db9b177b
AH
34142012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3415
ef24141c 3416 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3417
090bd7cb 3418 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3419 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3420 references, see Bug#9.
ef24141c 3421 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3422 when receiving a fault reply.
ef24141c 3423 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3424
090bd7cb 3425 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3426 (soap-inspect-simple-type): New function.
db9b177b 3427
090bd7cb 3428 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3429 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3430 (soap-decode-basic-type, soap-encode-basic-type):
3431 support unsignedInt and double basic types.
db9b177b 3432 (soap-resolve-references-for-simple-type)
ef24141c
SM
3433 (soap-parse-simple-type, soap-encode-simple-type): New function.
3434 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3435
090bd7cb 3436 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3437 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3438 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3439 the local name of "soapenc:Array".
3440 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3441 decoding integer, byte and anyURI xsd types.
3442
1fc6097b
CY
34432012-04-25 Chong Yidong <cyd@gnu.org>
3444
3445 * cus-edit.el (custom-buffer-create-internal): Update header text.
3446
afc6df87
EZ
34472012-04-25 Eli Zaretskii <eliz@gnu.org>
3448
3449 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3450 settings on 'system-type', not on 'window-system'. On MS-Windows,
3451 set interactive-mode on in GDB.
3452
dfbd787f
SM
34532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3456 (ruby-syntax-propertize-regexp): Remove.
3457 (ruby-syntax-propertize-function): Split regexp into chunks.
3458 Match following code directly.
3459
85222d44
DG
34602012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3461
51a8ea2a
DG
3462 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3463 (ruby-syntax-propertize-regexp): New function.
3464 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3465 by a special keyword.
3466
85222d44
DG
3467 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3468 (ruby-syntax-general-delimiters-goto-beg)
3469 (ruby-syntax-propertize-general-delimiters): New functions.
3470 (ruby-syntax-propertize-function): Use them to handle GDL.
3471 (ruby-font-lock-keywords): Move old handling of GDL...
3472 (ruby-font-lock-syntactic-keywords): .. to here.
3473 (ruby-calculate-indent): Adjust indentation for GDL.
3474
b613912b
MA
34752012-04-24 Michael Albinus <michael.albinus@gmx.de>
3476
b5380639
MA
3477 * notifications.el (top): Remove unneeded declarations.
3478 (notifications-specification-version): Change to "1.2".
e43042fe 3479 (notifications-interface, notifications-notify-method)
b613912b
MA
3480 (notifications-close-notification-method): Fix docstring.
3481 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3482 (notifications-notify): Add :action-items, :resident and
3483 :transient hints. Change "image_data" to "image-data" and
3484 "image_path" to "image-path".
b613912b
MA
3485 (notifications-get-capabilities): New defun.
3486
257440aa
LL
34872012-04-24 Leo Liu <sdl.web@gmail.com>
3488
3489 * progmodes/python.el: Move hideshow setup to the end.
3490
b1bac16e
MR
34912012-04-24 Martin Rudalics <rudalics@gmx.at>
3492
3493 * window.el (handle-select-window): Clear echo area since this is
3494 no more done by read_char (Bug#11304).
3495
d81bd059
SM
34962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3499 and `/ M' to filter-derived-mode.
3500 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3501 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3502 (ibuffer-mark-by-mode): Use default rather than initial-input.
3503 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3504
c4cf6d91
IA
35052012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3506
3507 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3508 (ibuffer-filter-by-derived-mode): New filter.
3509 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3510
7511ded8
CY
35112012-04-23 Andreas Politz <politza@fh-trier.de>
3512
3513 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3514
775c916b
CY
35152012-04-23 Chong Yidong <cyd@gnu.org>
3516
3517 * cus-edit.el (customize-apropos, customize-apropos-options):
3518 Disable matching of non-option variables (Bug#11176).
3519 (customize-option, customize-option-other-window)
3520 (customize-changed-options): Doc fix.
3521 (customize-apropos-options, customize-apropos-faces)
3522 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3523
3524 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3525 Fix word list splitting (Bug#11132).
46c71e23
CY
3526 (apropos-symbol, apropos-keybinding, apropos-label)
3527 (apropos-property, apropos-function-button)
3528 (apropos-variable-button, apropos-misc-button): New faces.
3529 (apropos-symbol-face, apropos-keybinding-face)
3530 (apropos-label-face, apropos-property-face, apropos-match-face):
3531 Variables removed (Bug#8396).
3532 (apropos-library-button, apropos-format-plist, apropos-print)
3533 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3534
2df41f9c
MA
35352012-04-23 Michael Albinus <michael.albinus@gmx.de>
3536
3537 * net/xesam.el (xesam-mode-map): Use let-bound map in
3538 initialization. (Bug#11292)
3539
da00640a
AM
35402012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3541
3542 Preserve ispell session localwords when switching back to
3543 original buffer.
3544
090bd7cb
JB
3545 * textmodes/ispell.el (ispell-buffer-session-localwords):
3546 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3547 (ispell-kill-ispell): add option 'clear to delete session
3548 localwords.
3549 (ispell-command-loop, ispell-change-dictionary)
3550 (ispell-buffer-local-words): Preserve session localwords when
3551 needed.
3552
090bd7cb
JB
3553 * textmodes/flyspell.el (flyspell-process-localwords)
3554 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3555
f621ccf5
AM
35562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3557
090bd7cb
JB
3558 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3559 using obsolete `translation-table-for-input'.
ef24141c
SM
3560 (ispell-word, ispell-process-line, ispell-complete-word):
3561 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3562
c2d1019e
CY
35632012-04-22 Chong Yidong <cyd@gnu.org>
3564
3565 * cus-edit.el (custom-variable-menu)
3566 (custom-variable-reset-saved, custom-face-menu)
3567 (custom-face-reset-saved): If there is no saved value, make the
3568 "reset-saved" operation bring back the default (Bug#9509).
3569 (custom-face-state): Properly detect themed faces.
3570
eeddc531
CY
3571 * faces.el (face-spec-set): Stop supporting deprecated form of
3572 third arg.
3573
dcbf5805
MA
35742012-04-22 Michael Albinus <michael.albinus@gmx.de>
3575
3576 Move functions from C to Lisp. Make non-blocking method calls
3577 the default. Implement further D-Bus standard interfaces.
3578
ef24141c
SM
3579 * net/dbus.el (dbus-message-internal): Declare function.
3580 Remove unneeded function declarations.
dcbf5805
MA
3581 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3582 (dbus-message-type-method-return, dbus-message-type-error)
3583 (dbus-message-type-signal): Declare variables. Remove local
3584 definitions.
3585 (dbus-interface-dbus, dbus-interface-peer)
3586 (dbus-interface-introspectable, dbus-interface-properties)
3587 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3588 Adapt docstring.
3589 (dbus-interface-objectmanager): New defconst.
3590 (dbus-call-method, dbus-call-method-asynchronously)
3591 (dbus-send-signal, dbus-method-return-internal)
3592 (dbus-method-error-internal, dbus-register-service)
3593 (dbus-register-signal, dbus-register-method): New defuns, moved
3594 from dbusbind.c
3595 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3596 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3597 New defuns.
dcbf5805
MA
3598 (dbus-call-method-non-blocking): Make it an obsolete function.
3599 (dbus-unregister-object, dbus-unregister-service)
3600 (dbus-handle-event, dbus-register-property)
3601 (dbus-property-handler): Obey the new structure of
3602 `bus-registered-objects'.
3603 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3604 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3605 Use `dbus-call-method'.
3606
cf20dee0
CY
36072012-04-22 Chong Yidong <cyd@gnu.org>
3608
3609 * cus-edit.el (custom-commands, custom-reset-menu)
3610 (Custom-reset-standard): Tweak labels.
3611 (custom-reset-button-menu): Change default to t.
3612 (custom-buffer-create-internal): For the custom-reset-button-menu
3613 case, put the revert button first.
3614 (custom-group-subtitle): New face.
3615 (custom-group-value-create): Align docstring to a specific column.
3616
3617 * wid-edit.el (widget-documentation-link-add): Don't handle
3618 indentation in this function.
3619 (widget-documentation-string-indent-to): New function.
3620 (widget-documentation-string-value-create): Use it.
3621
3622 * autorevert.el (auto-revert):
3623 * epg-config.el (epg):
3624 * ibuffer.el (ibuffer):
3625 * mpc.el (mpc):
3626 * ses.el (ses):
3627 * eshell/eshell.el (eshell):
3628 * net/ange-ftp.el (ange-ftp):
3629 * progmodes/ebnf2ps.el (postscript):
3630 * progmodes/flymake.el (flymake):
3631 * progmodes/prolog.el (prolog):
3632 * progmodes/verilog-mode.el (verilog-mode):
3633 * progmodes/which-func.el (which-func):
3634 * term/xterm.el (xterm):
3635 * textmodes/picture.el (picture):
3636 * textmodes/tildify.el (tildify):
3637 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3638 customization buffers.
3639
583e23bd
AM
36402012-04-22 Alan Mackenzie <acm@muc.de>
3641
3642 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3643 Adding a ) can hide the resulting (..) from searches. Fix it.
3644 Bound the backward search to the position of the existing (.
3645
7dd51bf1
JB
36462012-04-21 Juanma Barranquero <lekktu@gmail.com>
3647
3648 * progmodes/verilog-mode.el (verilog-mode): Check whether
3649 which-func-modes is t before adding verilog-mode.
3650 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3651
d64a438f
LL
36522012-04-21 Leo Liu <sdl.web@gmail.com>
3653
7dd51bf1 3654 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3655
081e8d65
MV
36562012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3657
3658 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3659 filling of the last column of a table (Bug#5635).
3660 (woman-find-next-control-line): New arg, specifying an additional
3661 regexp component for the control line.
3662 (woman2-roff-buffer): Use it.
3663 (woman-break-table): New function.
3664 (woman2-TS): Use it.
3665
36662012-04-21 Chong Yidong <cyd@gnu.org>
3667
3668 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3669 (woman-horizontal-escapes, woman-negative-vertical-space)
3670 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3671 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3672
ed571ccb
SM
36732012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * minibuffer.el (completion-file-name-table): Complete user names.
3676
39773899
LL
36772012-04-20 Leo Liu <sdl.web@gmail.com>
3678
3679 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3680 and pcase-let*.
3681
de6ff46d
CY
36822012-04-20 Chong Yidong <cyd@gnu.org>
3683
3684 * server.el (server-execute): Respect initial-buffer-choice if it
3685 is a string and there are no files to open (Bug#2825).
3686 (server-create-window-system-frame, server-create-tty-frame):
3687 Don't switch buffers here.
2d0e8e61
CY
3688 (server-process-filter): Only try to open a window system frame if
3689 compiled with graphical support (Bug#8314).
de6ff46d 3690
54071013
DN
36912012-04-20 Dan Nicolaescu <dann@gnu.org>
3692
3693 * battery.el (battery-echo-area-format): Display remaining time
3694 for sysfs backend too (Bug#11269).
3695 (battery-linux-sysfs): Fix conditional for the charge.
3696
f30d612a
CY
36972012-04-20 Chong Yidong <cyd@gnu.org>
3698
c07a4c0b 3699 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3700 (gdb-inferior-io--init-proc): New function.
3701 (gdb-init-1): Use it.
3702 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3703 responsible for allocating a new pty and hooking it to gdb when
3704 the old pty gets an EIO due to process exit.
3705 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3706 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3707 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3708
2116e93c
EZ
37092012-04-20 Eli Zaretskii <eliz@gnu.org>
3710
3711 * window.el (window-min-size, window-sizable, window-min-delta)
3712 (window-max-delta, window--resizable, window-resizable)
3713 (window-total-size, window-full-height-p, window-full-width-p)
3714 (window-in-direction, window--resize-mini-window, window-resize)
3715 (window--resize-child-windows-normal)
3716 (window--resize-child-windows, window--resize-siblings)
3717 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3718 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3719
c07a4c0b 37202012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3721
ef24141c
SM
3722 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3723 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3724 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3725 pty process (Bug#11273).
3726 (gdb-update): New arg to suppress talking to the gdb process.
3727 (gdb-done-or-error): Use it.
3728 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3729 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3730 sentinel not being called.
3731
3732 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3733
d02766ab
CY
3734 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3735
c07a4c0b 37362012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3737
3738 * net/network-stream.el (open-network-stream): Doc fix.
3739
c07a4c0b 37402012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3741
3742 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3743
c07a4c0b 37442012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3745
3746 Ensure searching for keywords is case sensitive.
3747
3748 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3749 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3750 (c-defun-name, c-mark-function, c-cpp-define-name)
3751 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3752 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3753
ef24141c
SM
3754 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3755 Bind case-fold-search to nil.
f0f6bc35 3756
c07a4c0b 37572012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3758
3759 * mail/sendmail.el (mail-bury): Call return action with the right
3760 Rmail buffer (Bug#11242).
3761
9a864fa2
CY
3762 * server.el (server-process-filter): Handle corner case where both
3763 tty and nowait options are present (Bug#11102).
3764
539aa513
EZ
37652012-04-20 Eli Zaretskii <eliz@gnu.org>
3766
3767 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3768 (top level): Put into the executable the ident-style '$Id:' tag on
3769 windows-nt as well.
539aa513 3770
cfc7d5da
SM
37712012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * electric.el (electric-indent-post-self-insert-function): Check that
3774 electric-indent-mode is enabled in current buffer.
3775
5b01685c
JB
37762012-04-19 Juanma Barranquero <lekktu@gmail.com>
3777
3778 * imenu.el (imenu-progress-message): Restore; it is "used" in
3779 erc/erc-imenu.el and net/snmp-mode.el.
3780
4d6769e1
JB
37812012-04-19 Juanma Barranquero <lekktu@gmail.com>
3782
3783 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3784 (mouse-avoidance-nudge-mouse): Remove unused binding.
3785
3786 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3787
3788 * descr-text.el (describe-char):
3789 * progmodes/python.el (python-describe-symbol):
3790 Don't call `toggle-read-only', set `buffer-read-only'.
3791
3792 * imenu.el (imenu-default-goto-function): Mark unused args.
3793 (imenu-progress-message): Remove obsolete macro; all callers changed.
3794
3795 * subr.el (keymap-canonicalize): Remove unused binding.
3796 (read-passwd): Mark unused arg.
3797
3798 * tutorial.el (tutorial--display-changes): Remove unused binding.
3799 (tutorial--save-tutorial-to): Remove unused variable.
3800
3801 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3802 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3803 (package-generate-autoloads, package-menu--generate)
3804 (package-menu--find-upgrades): Remove unused bindings.
3805
3806 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3807 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3808 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3809 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3810 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3811 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3812 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3813 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3814 (cua-delete-char-rectangle): Mark unused args.
3815 (cua-align-rectangle): Remove unused binding.
3816
3817 * mail/rmail.el (compilation--message->loc)
3818 (epa--find-coding-system-for-mime-charset): Declare.
3819
3820 * net/dbus.el (dbus-register-service): Declare.
3821 (dbus-name-owner-changed-handler): Remove unused binding.
3822
3823 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3824 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3825 (nxml-scan-backward-within): Mark unused arg.
3826 (nxml-dynamic-markup-word): Remove unused binding.
3827
3828 * mouse.el (mouse-menu-major-mode-map):
3829 * emacs-lisp/authors.el (authors-scan-change-log)
3830 (authors-add-to-author-list):
3831 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3832 * emacs-lisp/smie.el (smie-auto-fill):
3833 * mail/sendmail.el (mail-bury):
3834 * mail/unrmail.el (unrmail):
3835 * net/tls.el (open-tls-stream):
3836 * textmodes/picture.el (picture-mouse-set-point):
3837 Remove unused bindings.
3838
8c8fc5df
MA
38392012-04-19 Michael Albinus <michael.albinus@gmx.de>
3840
3841 * net/tramp.el (tramp-action-password): Let-bind
3842 `enable-recursive-minibuffers' to t.
3843
a77b0ac9
SS
38442012-04-18 Sam Steingold <sds@gnu.org>
3845
3846 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3847 instead of 'string to accommodate values like [f11].
3848 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3849 * progmodes/gdb-mi.el: Likewise.
3850
12a106a9
LL
38512012-04-18 Leo Liu <sdl.web@gmail.com>
3852
3853 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3854 current buffer.
3855 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3856 LOCAL is nil.
3857
bc6494ef
CY
38582012-04-18 Chong Yidong <cyd@gnu.org>
3859
3860 * simple.el (line-move): Use forward-line if in batch mode
3861 (Bug#11053).
3862
c09c46b2
CS
38632012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3864
3865 * files.el (after-find-file): Do not try to add a final newline if
3866 the buffer is read-only (Bug#11156).
3867
5f6530ea
RS
38682012-04-17 Richard Stallman <rms@gnu.org>
3869
3870 * mail/rmail.el (rmail-start-mail):
3871 Pass (rmail-mail-return...) for the return-action.
3872 Pass (rmail-yank-current-message...) for the yank-action.
3873 (rmail-yank-current-message): New function.
3874 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3875 (rmail-reply): Likewise.
3876 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3877
3878 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3879 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3880 buffer, not newbuf.
3881
197b6f3c
JB
38822012-04-17 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * server.el (server-ensure-safe-dir): Simplify.
3885
2311d8e5 38862012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3887
2311d8e5
GM
3888 * emacs-lisp/smie.el: Provide smarter auto-filling.
3889 (smie-auto-fill): New function.
3890 (smie-setup): Use it.
98fb480e 3891
2311d8e5
GM
3892 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3893
38942012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3895
3896 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3897 (comment-indent): Use it.
3898
2311d8e5 38992012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3900
3901 * ses.el: The overall change is to add cell renaming, that is
3902 setting fancy names for cell symbols other than name matching
3903 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3904 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3905 (ses-create-cell-variable): New defun.
2311d8e5 3906 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3907 (ses-relocate-formula): Relocate formulas only for cells the
3908 symbols of which are not renamed, i.e. symbols whose names do not
3909 match regexp "\\`[A-Z]+[0-9]+\\'".
3910 (ses-relocate-all): Relocate values only for cells the symbols of
3911 which are not renamed.
3912 (ses-load): Create cells variables as the (ses-cell ...) are read,
3913 in order to check row col consistency with cell symbol name only
3914 for cells that are not renamed.
3915 (ses-replace-name-in-formula): New defun.
3916 (ses-rename-cell): New defun.
4bdf2ad2 3917
fc72b15c
PO
39182012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3919
3920 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3921 New option (bug#11118).
3922 (perl-calculate-indent): Respect it.
3923
12e10e61
GM
39242012-04-17 Glenn Morris <rgm@gnu.org>
3925
3926 * dired-aux.el (dired-mark-read-string): Doc fix.
3927
30009afd
DA
39282012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3929
3930 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3931 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3932
41f03f4d
GM
39332012-04-17 Glenn Morris <rgm@gnu.org>
3934
3935 * mouse.el (mouse-drag-track):
3936 * speedbar.el (speedbar-frame-mode):
3937 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3938
f45f90f3
LL
39392012-04-16 Leo Liu <sdl.web@gmail.com>
3940
3941 * progmodes/python.el: Trivial cleanup.
3942
94ee8db5
GM
39432012-04-16 Glenn Morris <rgm@gnu.org>
3944
121b8917
GM
3945 * vc/vc.el (vc-string-prefix-p):
3946 * vc/pcvs-util.el (cvs-string-prefix-p):
3947 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3948 * mpc.el (mpc-string-prefix-p):
3949 Make all of these into obsolete aliases for string-prefix-p.
3950 Update callers.
3951 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3952
1197ecfa
GM
3953 * textmodes/two-column.el: Move custom options to the start.
3954 (frame-width): Remove compat definition.
3955 (2C-associate-buffer, 2C-dissociate):
3956 Use with-current-buffer rather than save-excursion.
3957 (2C-dissociate): Force a mode-line update.
3958 (2C-autoscroll): Use ignore-errors.
3959
099e7202
GM
3960 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3961 Autoload trivia.
3962
bf350d6a
GM
3963 * emacs-lisp/cl-extra.el (*random-state*):
3964 Remove unnecessary declaration.
3965
0e829eab
GM
3966 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3967
e3ad7552
GM
3968 * play/cookie1.el (cookie-snarf):
3969 Give an explicit error if input file cannot be read.
3970
68892d27
GM
3971 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3972
20f0c46d
GM
3973 * progmodes/perl-mode.el (c-macro-expand):
3974 Remove unnecessary autoload (it is in loaddefs.el).
3975
5a0978ce
GM
3976 * textmodes/picture.el (picture-desired-column)
3977 (picture-update-desired-column): Convert comments to doc-strings.
3978 (picture-substitute): Remove function.
3979 (picture-mode-map): Initialize in the defvar.
3980
6b955486
GM
3981 * woman.el: Remove eval-after-load for tar-mode.
3982 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3983 (woman-tar-extract-file): Autoload it.
3984
94ee8db5
GM
3985 * frame.el (automatic-hscrolling): Make this alias obsolete.
3986
177eca34
AM
39872012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3988
090bd7cb 3989 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3990 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3991 (ispell-dictionary-base-alist): Revert to original XEmacs
3992 friendly version for default. [:alpha:] will be added in
090bd7cb 3993 `ispell-set-spellchecker-params' if needed.
177eca34 3994
c505aaeb
CY
39952012-04-16 Chong Yidong <cyd@gnu.org>
3996
3997 * image.el (imagemagick--extension-regexp): New variable.
3998 (imagemagick-register-types): Use it.
3999 (imagemagick-types-inhibit): Add :set function. Allow new value
4000 of t to inhibit all types.
4001
4002 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4003 so we can preload it.
4004
4005 * loadup.el (fboundp): Preload regexp-opt, needed by
4006 imagemagick-register-types.
4007
60efac0f
CY
40082012-04-15 Chong Yidong <cyd@gnu.org>
4009
4010 * frame.el (scrolling): Remove nearly unused customization group.
4011
4012 * scroll-all.el (scroll-all-mode): Move to windows group.
4013
5dd1713e
CY
40142012-04-15 Chong Yidong <cyd@gnu.org>
4015
4016 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4017
e6fd457e
CY
40182012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4021 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4022
e153c136
GM
40232012-04-15 Glenn Morris <rgm@gnu.org>
4024
4025 * simple.el (process-file-side-effects): Doc fix.
4026
e6fd457e 40272012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4028
4029 * international/mule-cmds.el (set-language-environment): Doc fix.
4030
3603c3b1
JB
40312012-04-14 Juanma Barranquero <lekktu@gmail.com>
4032
4033 * server.el (server-auth-key, server-generate-key): Doc fixes.
4034 (server-get-auth-key): Doc fix. Use `string-match-p'.
4035 (server-start): Reflow docstring.
4036
e6de100c
LI
40372012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4038
4039 * server.el (server-generate-key): `called-interactively-p'
4040 requires a parameter.
4041
29734c21
MN
40422012-04-14 Michal Nazarewicz <mina86@mina86.com>
4043
4044 * server.el (server-auth-key): New variable.
75f1671a 4045 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4046 (server-start): Use the new variable and functions to allow
4047 setting a permanent server key (bug#9423).
4048
d65c9521
LL
40492012-04-14 Leo Liu <sdl.web@gmail.com>
4050
4051 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4052
5ae255c7
PE
40532012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4054
4055 Spelling fixes.
4056 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4057 Emacs uses American spelling.
4058
d5e6342e
JB
40592012-04-14 Juanma Barranquero <lekktu@gmail.com>
4060
4061 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4062 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4063 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4064 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4065
ab036cd7
SM
40662012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * progmodes/which-func.el (which-func-modes): Change default.
4069
35dc09a1 40702012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4071
4072 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4073 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4074
35dc09a1 40752012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4076
4077 * custom.el (custom-theme-set-variables): Doc fix.
4078
35dc09a1 40792012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4080
4081 * international/mule.el (set-auto-coding-for-load): Doc fix.
4082
35dc09a1 40832012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4084
35dc09a1
GM
4085 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4086 imenu work again for Objective C Mode. Correct the *-index values,
4087 these having been disturbed by a previous change in 2011-08.
57f845ee 4088
0de3da9f
AM
4089 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4090 Correct two search limits.
4091
35dc09a1 40922012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4093
4094 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4095
35dc09a1 40962012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4097
4098 * international/characters.el: Fix sorting.
4099
35dc09a1 41002012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4101
4102 * international/characters.el: Add more missing Latin case pairs.
4103
35dc09a1 41042012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4105
4106 * files.el (dir-locals-set-class-variables): Doc fix.
4107
35dc09a1 41082012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4109
3f1b5bf8
EZ
4110 * international/characters.el: Add set-case-syntax-pair call for
4111 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4112 counterpart. (Bug#11209)
4113
9f847f41
EZ
4114 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4115
35dc09a1 41162012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4117
4118 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4119
35dc09a1 41202012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4121
35dc09a1
GM
4122 * textmodes/ispell.el (ispell-dictionary-base-alist):
4123 Add data for Hebrew.
e2627d21 4124
35dc09a1 41252012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4126
35dc09a1
GM
4127 * net/rcirc.el (rcirc-cmd-quit):
4128 Revert 2012-03-18 change (Bug#11192).
5c14e333 4129
35dc09a1 41302012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4131
4132 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4133
35dc09a1 41342012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4135
4517fe3a
SM
4136 * minibuffer.el (completion-in-region-mode-map):
4137 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4138
b472a594
VD
41392012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4140
4141 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4142
09b95ce3
MY
41432012-04-13 Masatake YAMATO <yamato@redhat.com>
4144
4145 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4146 to allow `C-M-f' and `C-M-b' to move to the nearest path
4147 separator (bug#9511).
4148
4b63a9ca
LI
41492012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4150
4151 * avoid.el: Require cl when compiling. And also move the
4152 `provide' to the end.
4153
7b55b8bf
TV
41542012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4155
4156 * avoid.el (mouse-avoidance-banish-position): New variable.
4157 (mouse-avoidance-banish-destination): Use it (bug#10165).
4158
adedaa1f
LL
41592012-04-13 Leo Liu <sdl.web@gmail.com>
4160
4161 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4162
70e74021
KB
41632012-04-13 Ken Brown <kbrown@cornell.edu>
4164
4165 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4166 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4167 (browse-url-filename-alist): For the same reason, don't modify
4168 file:// URLs on Cygwin.
4169
e75e89ba
SM
41702012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4173 the region on shift if the binding is already shifted (bug#11221).
4174
82f289a4
GM
41752012-04-12 Glenn Morris <rgm@gnu.org>
4176
4177 * mail/mailpost.el: Move to obsolete/.
4178
d333dc4c
DA
41792012-04-12 Drew Adams <drew.adams@oracle.com>
4180
4181 * imenu.el (imenu--generic-function): Ignore invisible definitions
4182 (bug#10123).
4183
0d15b5ba
VD
41842012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4185
4186 * hexl.el (hexl-bits): New variable.
4187 (hexl-options): Mention the variable in the doc string.
75f1671a 4188 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4189 (hexl-mode): Mention the new variable.
75f1671a
JB
4190 (hexl-mode, hexl-current-address, hexl-current-address):
4191 Use the displen.
0d15b5ba
VD
4192 (hexl-ascii-start-column): New function.
4193 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4194 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4195
64a440db
AM
41962012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4197
4198 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4199 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4200 the encoding, as expected by hunspell.
4201
6decb6c2
SM
42022012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * battery.el (battery--linux-sysfs-regexp): New const.
4205 (battery-status-function): Use it. Remove yeeloong special case.
4206 (battery-yeeloong-sysfs): Remove.
4207 (battery-echo-area-format): Remove yeeloong special case.
4208
088be6fb
SM
42092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4210
6622e416
SM
4211 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4212 Reported by Noah Friedman.
4213
088be6fb
SM
4214 * subr.el (read-passwd): Use read-string.
4215
b49f886e
LMI
42162012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4217
4218 * vcursor.el (vcursor-move): Increase the priority of the overlay
4219 (bug#9663).
4220
a63067fc
DD
42212012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4222
4223 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4224 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4225
ac3cf14a
WS
42262012-04-11 William Stevenson <yhvh2000@gmail.com>
4227
4228 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4229 define-minor-mode (bug#10760).
4230
c4fc691b 42312012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4232
4d6769e1 4233 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4234 that directories matching `grep-find-ignored-files' won't be
4235 pruned (bug#10351).
4236
af23e2e5
CY
42372012-04-11 Chong Yidong <cyd@gnu.org>
4238
4239 * startup.el (command-line): Remove support for long-obsolete
4240 variable font-lock-face-attributes.
4241
ab7ce8c1
GM
42422012-04-11 Glenn Morris <rgm@gnu.org>
4243
4244 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4245
de8c03dc
SM
42462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * window.el (window--state-get-1): Obey window-point-insertion-type.
4249
050cc68b
LB
42502012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4251
4252 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4253 to previous function when point is on the first character of a
75f1671a 4254 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4255
a38c310c
GM
42562012-04-11 Glenn Morris <rgm@gnu.org>
4257
effed0c2
GM
4258 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4259 not just file-errors.
4260
a38c310c
GM
4261 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4262 (vc-bzr-sha1): Use internal sha1.
4263
0221e323
SM
42642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4267
43956923
SG
42682012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4269
4270 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4271 that start in the middle of the line (bug#10496).
4272
6a8c9eaf
DN
42732012-04-10 Dan Nicolaescu <dann@gnu.org>
4274
4275 * battery.el (battery-linux-proc-acpi): Only one battery is
4276 discharged at a time, but that seems to confuse battery.el when
4277 computing `rate-type' for the battery not being discharged
4278 (bug#10332).
4279
1930bf5d
SM
42802012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4281
2a718f6f
SM
4282 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4283
599430d0
SM
4284 * international/quail.el: Use dolist and simplify.
4285 (quail-define-package, quail-update-keyboard-layout)
4286 (quail-define-rules): Use dolist.
4287 (quail-insert-kbd-layout, quail-get-translation): CSE.
4288
a2754b6c
SM
4289 * tmm.el: Use dolist, remove left over hook.
4290 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4291 Use dolist.
4292 (calendar-load-hook): Don't mess with it.
4293
1930bf5d
SM
4294 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4295 Use derived-mode-p. Run the diff asynchronously.
4296
9f67961c
LMI
42972012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4298
4299 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4300
2a8ce227
JB
43012012-04-10 Juanma Barranquero <lekktu@gmail.com>
4302
4303 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4304 (list-dynamic-libraries--loaded): New function.
4305 (list-dynamic-libraries--refresh): Use it.
4306
8f33b5f8
NW
43072012-04-10 Nathan Weizenbaum <nweiz@google.com>
4308
1930bf5d
SM
4309 * progmodes/python.el (python-fill-paragraph):
4310 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4311 disabled (bug#7018).
4312
b12f0439
L
43132012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4314
1930bf5d 4315 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4316 DOS/MS Windows for the Baltic languages. There are still plenty
4317 of texts written in this encoding/codepage (bug#6519).
b12f0439 4318
57c3bd01
GM
43192012-04-10 Glenn Morris <rgm@gnu.org>
4320
4321 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4322 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4323
6c3eab30
FA
43242012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4325
1930bf5d 4326 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4327 next-line "n" and previous-line "p" in order to make recentf more
4328 consistent with ibuffer, dired or org-mode (bug#9387).
4329
24d78a88
LMI
43302012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4331
bc72b5d9
LMI
4332 * image.el (put-image): Return the overlay created instead of the
4333 optional input string (bug#7834). Note that this may break code
4334 that is (for some reason or other) depending on `put-image'
4335 returning the string.
4336
bd2dba5a
LMI
4337 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4338
74beb59f
LMI
4339 * simple.el (zap-to-char): Allow zapping using input methods
4340 (bug#1580).
4341
24d78a88
LMI
4342 * textmodes/fill.el (fill-region): Leave point and mark where they
4343 were before filling (bug#5399).
4344
263f20cd
GM
43452012-04-09 Glenn Morris <rgm@gnu.org>
4346
4347 * version.el (emacs-bzr-get-version):
4348 Handle lightweight checkouts of local branches.
4349
58d1f797
AS
43502012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4351
263f20cd 4352 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4353
b4d3bc10
CY
43542012-04-09 Chong Yidong <cyd@gnu.org>
4355
4356 * custom.el (custom-variable-p): Return nil for non-symbol
4357 arguments instead of signaling an error.
4358 (user-variable-p): Obsolete alias for custom-variable-p.
4359
4360 * apropos.el (apropos-variable):
4361 * files-x.el (read-file-local-variable):
4362 * simple.el (set-variable):
4363 * woman.el (woman-mini-help):
4364 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4365
fd06db5d
GM
43662012-04-09 Glenn Morris <rgm@gnu.org>
4367
e5fcdb5e
GM
4368 * startup.el (normal-top-level): Don't look for leim-list.el
4369 in places where it will not be found. (Bug#910)
4370
fd06db5d
GM
4371 * international/mule-cmds.el (set-default-coding-systems):
4372 * files.el (normal-mode):
4373 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4374 This function was removed with ucs-tables.el in 2008.
4375
b39bb7e1
EZ
43762012-04-08 Eli Zaretskii <eliz@gnu.org>
4377
4378 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4379 ispell-encoding8-command to "-i", without a trailing space.
4380 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4381 separate command-line arguments, to specify the encoding, since
4382 that's how hunspell expects it.
4383
5c5b8e23
GM
43842012-04-08 Glenn Morris <rgm@gnu.org>
4385
4386 * loadup.el: Load bindings before cus-start.
4387 This reduces somewhat the number of "rogue" settings in emacs -Q.
4388
a1ed8b05
GM
43892012-04-07 Glenn Morris <rgm@gnu.org>
4390
4391 * version.el (emacs-bzr-get-version): New function.
dfae128a 4392 (emacs-bzr-version): New variable.
a1ed8b05
GM
4393 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4394 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4395
b142f158
EZ
43962012-04-07 Eli Zaretskii <eliz@gnu.org>
4397
dfae128a
GM
4398 * international/uni-bidi.el, international/uni-category.el:
4399 * international/uni-combining.el, international/uni-decimal.el:
4400 * international/uni-decomposition.el, international/uni-digit.el:
4401 * international/uni-lowercase.el, international/uni-mirrored.el:
4402 * international/uni-name.el, international/uni-numeric.el:
4403 * international/uni-titlecase.el, international/uni-uppercase.el:
4404 Update for Unicode 6.1.
b142f158 4405
9078ead6
EZ
44062012-04-07 Eli Zaretskii <eliz@gnu.org>
4407
4408 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4409
f23d2c7d
LMI
44102012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
4412 * window.el (shrink-window): Mention the `window-min-height'
4413 variable in the doc string.
4414
0a0a3573
BG
44152012-04-05 Bastien Guerry <bzg@altern.org>
4416
4417 * color.el (color-lighten-name): Fix typo.
4418
e5248ac9
SM
44192012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * server.el (server--on-display-p): New function.
4422 (server--on-display-p): Use it.
4423
b4243e22
GV
44242012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4425
4426 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4427 (bug#11145).
4428
305d9f44
SM
44292012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * comint.el (comint--common-quoted-suffix): Check string boundary
4432 before comparing (bug#11158).
4433 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4434
3d439cd1
CY
44352012-04-04 Chong Yidong <cyd@gnu.org>
4436
321cc491
CY
4437 * minibuffer.el (completion-extra-properties): Doc fix.
4438
3d439cd1
CY
4439 * subr.el (delayed-warnings-hook): Doc fix.
4440
2d562c0f
DU
44412012-04-04 Daiki Ueno <ueno@unixuser.org>
4442
4443 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4444 selection (Bug#11159).
4445 (epa-insert-keys): Inform that the default public key will be
4446 exported if no key is selected.
4447
4443f204
RS
44482012-04-04 Richard Stallman <rms@gnu.org>
4449
4450 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4451
529c06b6
CY
44522012-04-03 Chong Yidong <cyd@gnu.org>
4453
4454 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4455 mail-insert-file, not its obsolete alias mail-attach-file.
4456
66b907dc
MA
44572012-04-03 Michael Albinus <michael.albinus@gmx.de>
4458
4459 * notifications.el (notifications-notify): Fix docstring.
4460
c0ea195d
GM
44612012-04-02 Glenn Morris <rgm@gnu.org>
4462
4463 * emacs-lisp/authors.el (authors-aliases): Another addition.
4464
5ca64e00
MA
44652012-04-02 Michael Albinus <michael.albinus@gmx.de>
4466
4467 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4468 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4469 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4470
42ee526b
CY
44712012-04-01 Chong Yidong <cyd@gnu.org>
4472
4473 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4474 Handle root directory properly.
4475 (copy-directory): Caller changed.
4476
4477 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4478 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4479
0b021094
GM
44802012-03-31 Glenn Morris <rgm@gnu.org>
4481
40f86458
GM
4482 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4483
7019c177
GM
4484 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4485
a1daddd6
GM
4486 * calendar/calendar.el (calendar-window-list)
4487 (calendar-hide-window): Restore. (Bug#11140)
4488 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4489
0b021094
GM
4490 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4491
40311efc
TV
44922012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4493
4494 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4495 Check if file is a symlink (Bug#10489).
4496
4497 * files.el (copy-directory): Likewise.
4498
5319014e
CY
44992012-03-30 Chong Yidong <cyd@gnu.org>
4500
4501 * image.el (imagemagick-types-inhibit)
4502 (imagemagick-register-types): Doc fix.
4503
935d1290
AM
45042012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4505
090bd7cb 4506 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4507 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4508 and treats ~word as ordinary words in pipe mode.
935d1290 4509
61c6e8fd
GM
45102012-03-30 Glenn Morris <rgm@gnu.org>
4511
4512 * tutorial.el (help-with-tutorial): Ensure local variables don't
4513 happen to make the buffer read-only. (Bug#11127)
4514
81fdff00
SM
45152012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4518 (perl-calculate-indent): Return `noindent' in strings.
4519
6e7a6ec0
SS
45202012-03-28 Sam Steingold <sds@gnu.org>
4521
4522 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4523 instead of the broken adhockery which does not prevent calendar
4524 buffers from being displayed at random after exit.
4525 (calendar-window-list, calendar-hide-window): Remove the broken
4526 adhockery.
4527
fee88ca0
GM
45282012-03-28 Glenn Morris <rgm@gnu.org>
4529
4530 * replace.el (query-replace-map): Doc fix.
4531
38de3354
AS
45322012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4533
4534 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4535 contents. (Bug#11109)
4536
b973155e
SM
45372012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4540 (bug#11077).
4541 (avl-tree--check, avl-tree--check-node): New funs.
4542
dcb6e7b3
MR
45432012-03-27 Martin Rudalics <rudalics@gmx.at>
4544
4545 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4546 (switch-to-prev-buffer, switch-to-next-buffer):
4547 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4548 showing a buffer already is done on the same frame.
4549
b4fa35fa
GM
45502012-03-27 Glenn Morris <rgm@gnu.org>
4551
4552 * startup.el (mail-host-address): Doc fix.
4553
f9210e18
SM
45542012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4557 than 197 variables.
4558
c0bf7753
AF
45592012-03-26 Ami Fischman <ami@fischman.org>
4560
4561 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4562
33da7b16
GM
45632012-03-26 Glenn Morris <rgm@gnu.org>
4564
02243d9d
GM
4565 * files.el (save-buffers-kill-emacs): Doc fix.
4566
33da7b16
GM
4567 * startup.el (normal-top-level, command-line, command-line-1):
4568 Give them doc strings.
4569
e5a69fd0
EZ
45702012-03-25 Eli Zaretskii <eliz@gnu.org>
4571
4572 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4573 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4574
9a69676a
CY
45752012-03-25 Chong Yidong <cyd@gnu.org>
4576
4125cb8b
CY
4577 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4578 theme if it was previously enabled before (Bug#11031).
4579
dd470960
CY
4580 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4581 spec with custom-face-get-current-spec if its :shown-value is not
4582 determined yet (Bug#9337).
4125cb8b 4583 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4584
9a69676a
CY
4585 * button.el (button-at): Minor addition to docstring.
4586
6e7e90fa
SL
45872012-03-24 Simon Leinen <simon.leinen@gmail.com>
4588
4589 * vc/vc.el (vc-merge): Fix a prompt.
4590
f06e2758
CY
45912012-03-24 Chong Yidong <cyd@gnu.org>
4592
4593 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4594 point (Bug#9623).
4595
6e7e90fa
SL
4596 * button.el (button-at): Minor addition to docstring.
4597
b9d0879b
SM
45982012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * newcomment.el (comment-choose-indent): No space after BOL.
4601
e71cebb3
SS
46022012-03-22 Sam Steingold <sds@gnu.org>
4603
4604 * window.el (switch-to-prev-buffer): Revert last patch because the
4605 bug turned out to be an advertised feature (Elisp manual 28.14).
4606
335aff35
GM
46072012-03-22 Glenn Morris <rgm@gnu.org>
4608
4609 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4610 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4611
c676576a
LMI
46122012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4613
4614 * net/network-stream.el (network-stream-open-starttls): Make error
4615 message under Windows be less misleading.
4616
126f3d39
LW
46172012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4618
4619 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4620 understands (bug#9942).
4621
64fee311
CY
46222012-03-22 Chong Yidong <cyd@gnu.org>
4623
4624 * simple.el (end-of-visible-line): Handle return value of
4625 next-single-property-change properly (Bug#9371).
4626
a640d29a
KH
46272012-03-22 Kenichi Handa <handa@m17n.org>
4628
4629 * international/quail.el (quail-insert-kbd-layout): Fix previous
4630 change. To avoid unwanted bidi reordering, use
4631 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4632
39675016
DG
46332012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4634
4635 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4636 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4637 (ruby-beginning-of-indent): Be more careful with the difference
4638 between word-boundary and symbol boundary.
4639 (ruby-mode-syntax-table): Make : a symbol constituent.
4640
0a6934fc 46412012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4642
3d008e4f
SM
4643 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4644
0a6934fc
SM
46452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4646
af67c9d7
SM
4647 * progmodes/etags.el (tags-completion-at-point-function):
4648 Improve last fix.
4649
1acad97c
SM
4650 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4651
e298b5da
SS
46522012-03-21 Sam Steingold <sds@gnu.org>
4653
4654 * progmodes/etags.el (tags-completion-at-point-function):
4655 Avoid the error when point is inside the pattern.
4656
91d82a70
JY
46572012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4658
4659 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4660 line (Bug#10855).
4661
69188b79
CY
46622012-03-21 Drew Adams <drew.adams@oracle.com>
4663
4664 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4665
99fc91fe
AK
46662012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4667
4668 * ido.el (ido-set-current-directory, ido-read-internal)
4669 (ido-choose-completion-string, ido-completion-help): Handle nil
4670 value of ido-completion-buffer (Bug#11008).
4671
087bbb4c
SS
46722012-03-21 Sam Steingold <sds@gnu.org>
4673
4674 * window.el (switch-to-prev-buffer): Do not switch to a visible
4675 window previous buffer, just like with the frame previous buffers.
4676
fb5b8aca
CY
46772012-03-21 Chong Yidong <cyd@gnu.org>
4678
4679 * faces.el (make-face, make-empty-face, copy-face):
4680 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4681 Doc fixes.
4682
dc9924b8
SM
46832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4686 (widget-complete): Remove broken use of it.
4687
f0bcceb9
CY
46882012-03-20 Chong Yidong <cyd@gnu.org>
4689
dc9924b8
SM
4690 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4691 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4692 characters.
4693
ee52ebf3
TH
46942012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4695
4696 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4697 to draw rectangles, not squares. (Regression introduced by revno
4698 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4699
4c5779ab
CY
47002012-03-18 Chong Yidong <cyd@gnu.org>
4701
4702 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4703 it is not yet defined (for temacs).
4704
15360934
LL
47052012-03-18 Leo Liu <sdl.web@gmail.com>
4706
dc9924b8 4707 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4708
d9a8eb66
EZ
47092012-03-17 Eli Zaretskii <eliz@gnu.org>
4710
4711 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4712 (ispell-choices-win-default-height, ispell-silently-savep)
4713 (ispell-dictionary-alist, ispell-encoding8-command)
4714 (ispell-check-version, ispell-aspell-find-dictionary)
4715 (ispell-valid-dictionary-list, ispell-words-keyword)
4716 (ispell-get-word, ispell-internal-change-dictionary)
4717 (ispell-region, ispell-skip-region-list)
4718 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4719 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4720 (ispell-message-text-end, ispell-message)
4721 (ispell-buffer-local-parsing): Doc fix.
4722
f02ff80d
J
47232012-03-13 Jambunathan K <kjambunathan@gmail.com>
4724
4725 * htmlfontify.el: Add support for code block fontification for ODT
4726 export (Bug #9914).
4727 (hfy-optimisations): Define new option
4728 `body-text-only'
4729 (hfy-fontify-buffer): Honor above setting.
4730 (hfy-begin-span, hfy-end-span): New routines factored out form
4731 `hfy-fontify-buffer'.
4732 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4733 that permit insertion of custom tags.
4734 (hfy-fontify-buffer): Use above handlers.
4735 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4736 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4737 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4738 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4739 bind a special variable `hfy-user-sheet-assoc'.
4740 (htmlfontify-string): New defun.
4741 (hfy-compile-face-map): Make sure that the last char in the
4742 buffer is correctly fontified.
4743 (hfy-face-resolve-face): Whitespace only change.
4744
9ac7a13f
EZ
47452012-03-17 Eli Zaretskii <eliz@gnu.org>
4746
4747 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4748 message more clear.
4749
e2b5bdd7
LL
47502012-03-16 Leo Liu <sdl.web@gmail.com>
4751
4752 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4753
2e492df3
AM
47542012-03-16 Alan Mackenzie <acm@muc.de>
4755
4756 Further optimise the handling of large macros.
4757
4758 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4759 limit to a call of `c-literal-limits'.
4760 (c-determine-+ve-limit): New function.
dc9924b8
SM
4761 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4762 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4763 In CASE 5B, restrict a search limit to 500.
4764 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4765
4766 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4767 Restrict macro bounds to +-500 from after-change's BEG END.
4768
50e94f0c
LL
47692012-03-16 Leo Liu <sdl.web@gmail.com>
4770
4771 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4772
6f09f6ed
AH
47732012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4774
4775 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4776 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4777
c7e73d51
GM
47782012-03-16 Glenn Morris <rgm@gnu.org>
4779
da986230
GM
4780 * view.el (view-buffer, view-buffer-other-window)
4781 (view-buffer-other-frame): Doc fixes re special mode-class.
4782
0835f01e
GM
4783 * subr.el (eval-after-load): If named feature is provided not from
4784 a file, run after-load forms. (Bug#10946)
4785
c7e73d51
GM
4786 * calendar/calendar.el (calendar-insert-at-column):
4787 Handle non-unit-width characters a bit better. (Bug#10978)
4788
3f2eafd1
CY
47892012-03-15 Chong Yidong <cyd@gnu.org>
4790
4791 * emacs-lisp/ring.el (ring-extend): New function.
4792 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4793
4794 * comint.el (comint-read-input-ring)
4795 (comint-add-to-input-history): Grow comint-input-ring lazily.
4796
103af3fe
SM
47972012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4798
663b1677
SM
4799 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4800 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4801
103af3fe
SM
4802 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4803 (imenu-add-to-menubar): Don't add a redundant index.
4804 (imenu-update-menubar): Handle a dynamically composed keymap.
4805
899cb7cb
KY
48062012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4807
4808 * mail/sendmail.el (mail-encode-header):
4809 Bind rfc2047-encode-encoded-words to nil.
4810
3809f91d
GM
48112012-03-13 Glenn Morris <rgm@gnu.org>
4812
4813 * calendar/calendar.el (calendar-string-spread):
4814 Handle non-unit-width characters a bit better. (Bug#10978)
4815
9e345a01
LL
48162012-03-13 Leo Liu <sdl.web@gmail.com>
4817
4818 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4819 directory and file as argument (Bug#10822).
4820
4a07df36
KS
48212012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4822
4823 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4824 For dynamically generated code, follow $PC.
4825 (gdb-disassembly-handler-custom): Handle no function name case.
4826
4aaa9356
TL
48272012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4828
4829 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4830 * emulation/ws-mode.el (ws-query-replace):
4831 * sort.el (sort-regexp-fields):
4832 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4833
225979da
SM
48342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * dabbrev.el: Fix cycle completion order (bug#10963).
4837 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4838 (dabbrev-completion): Don't use an obarray; provide
4839 a cycle-sort-function.
4840
e2f1fdab
LL
48412012-03-12 Leo Liu <sdl.web@gmail.com>
4842
dc9924b8 4843 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4844 (kill-do-not-save-duplicates): Doc fix.
4845
b19490ed
SM
48462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * dabbrev.el: Fix cycle completion (bug#10963).
4849 Use lexical binding and wrap to 80 columns.
4850 (dabbrev-completion): Delay computing the list of completions.
4851
4b05d722
KH
48522012-03-12 Kenichi Handa <handa@m17n.org>
4853
4854 * international/quail.el (quail-insert-kbd-layout): Surround each
4855 row by LRO and PDF instead of inserting many LRMs. Pad the left
4856 and right of each non-spacing marks. Insert invisible space
4857 between lower and upper characters to prevent composition.
4858
dbbc2e69
SM
48592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * minibuffer.el (minibuffer-complete): Don't get confused when the
4862 function is run twice via different commands (bug#10958).
4863 (complete-with-action): Fix docstring.
4864
292112ed
CY
48652012-03-12 Chong Yidong <cyd@gnu.org>
4866
5d1ac394
CY
4867 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4868 (nxml-completion-at-point-function): New function.
4869 (nxml-mode): Use it.
4870 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4871
292112ed
CY
4872 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4873 Load generated autoloads file before byte compiling (Bug#10970).
4874 (package--make-autoloads-and-compile): New helper fun.
4875
4098f8f7
CS
48762012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4877
4878 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4879
8f754691
MA
48802012-03-11 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * autorevert.el (auto-revert-handler): Ensure, that
4883 file-readable-p is applied only for local files or in
4884 auto-revert-tail-mode.
4885
e29ab36b
AS
48862012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4887
dbbc2e69
SM
4888 * server.el (server-eval-at): Handle non-tcp connections.
4889 Decode result string.
ad0bf5b6 4890
e29ab36b
AS
4891 * server.el (server-msg-size): New constant.
4892 (server-reply-print): New function.
4893 (server-eval-and-print): Use it.
4894 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4895 Handle -print-nonl.
4896
de5939ba
CS
48972012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4898
4899 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4900 (Bug#10987).
4901
0c93eabf
CY
49022012-03-11 Chong Yidong <cyd@gnu.org>
4903
397a688f
CY
4904 * simple.el (goto-line): Doc fix (Bug#9938).
4905
2cc775f9
CY
4906 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4907
0c93eabf
CY
4908 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4909 when finished (Bug#10963).
4910
c491fa41
MR
49112012-03-11 Martin Rudalics <rudalics@gmx.at>
4912
4913 * window.el (split-window-below): Fix bug in case where
4914 split-window-keep-point is nil (Bug#10971).
4915
300e8fa5
JL
49162012-03-11 Juri Linkov <juri@jurta.org>
4917
4918 * replace.el (replace-highlight): Set isearch-word to nil
4919 unconditionally. (Bug#10887)
4920
dbf6c5a1
EZ
49212012-03-10 Eli Zaretskii <eliz@gnu.org>
4922
4923 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4924 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4925 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4926 (mairix-widget-create-query): Add usage information about mairix
4927 search forms: negating words, searching for substrings, etc.
4928
b9e501de
JP
49292012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4930
4931 * international/fontset.el (font-encoding-alist): Add an entry for
4932 ksx1001 (Bug#5667).
4933
92795c91
RS
49342012-03-10 Richard Stallman <rms@gnu.org>
4935
1694e6c1
RS
4936 * mail/sendmail.el (mail-encode-header):
4937 Set rfc2047-encode-encoded-words.
4938
607e8555
RS
4939 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4940
de3bc99a
RS
4941 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4942 view buffer means not swapped.
4943 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4944 (rmail-write-region-annotate): Error if real text has disappeared.
4945
92795c91
RS
4946 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4947
699bd04e
CY
49482012-03-10 Chong Yidong <cyd@gnu.org>
4949
4950 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4951 * emulation/cua-base.el (cua--init-keymaps):
4952 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4953
570a1714
MR
49542012-03-10 Martin Rudalics <rudalics@gmx.at>
4955
dbbc2e69
SM
4956 * speedbar.el (speedbar-unhighlight-one-tag-line):
4957 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4958
82dcf4e4
CY
49592012-03-10 Chong Yidong <cyd@gnu.org>
4960
7a2c7ca7
CY
4961 * minibuffer.el (completion-in-region, completion-help-at-point):
4962 Give the completion field overlay a high priority (Bug#6830).
4963
82dcf4e4
CY
4964 * dired.el (dired-goto-file): Recognize absolute file name
4965 listings (Bug#7126).
4966 (dired-goto-file-1): New helper function.
4967 (dired-toggle-read-only): Inhibit warnings.
4968
052e28ac
MA
49692012-03-09 Michael Albinus <michael.albinus@gmx.de>
4970
75f1671a 4971 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4972 there are no properties.
4973
95d5e396
LL
49742012-03-09 Leo Liu <sdl.web@gmail.com>
4975
4976 * savehist.el (savehist-printable): Stricter check for string
4977 value (Bug#10937).
4978
3f018d6d
EZ
49792012-03-09 Eli Zaretskii <eliz@gnu.org>
4980
dbbc2e69
SM
4981 * mail/smtpmail.el (smtpmail-send-it):
4982 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4983 valid mbox format.
4984
f7fd3d79
GM
49852012-03-09 Glenn Morris <rgm@gnu.org>
4986
4987 * files.el (dir-locals-find-file):
4988 Don't check result is regular, readable.
4989 (dir-locals-read-from-file): Demote errors.
4990
6ff6e72f
EZ
49912012-03-08 Eli Zaretskii <eliz@gnu.org>
4992
dbbc2e69
SM
4993 * international/quail.el (quail-insert-kbd-layout):
4994 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4995 layout cell, to prevent their reordering by bidi display engine.
4996 For details, see the discussion in
4997 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4998
9cec7834
AM
49992012-03-08 Alan Mackenzie <acm@muc.de>
5000
5001 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5002 the starting position; make it extend the marked region when
5003 invoked repeatedly - all under appropriate circumstances.
5004 Fixes bugs #5525, #10906.
5005
9a40b8d4
GM
50062012-03-08 Glenn Morris <rgm@gnu.org>
5007
5008 * files.el (locate-dominating-file, dir-locals-find-file):
5009 Undo 2012-03-06 change.
5010
7a08ed35
EZ
50112012-03-07 Eli Zaretskii <eliz@gnu.org>
5012
dbbc2e69
SM
5013 * international/quail.el (quail-help):
5014 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5015 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5016 for the reason.
5017
5aca4f71 50182012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5019
5020 Avoid superfluous registering of signals. (Bug#10807)
5021
5022 * notifications.el (notifications-on-action-object)
5023 (notifications-on-close-object): New defvars.
5024 (notifications-on-action-signal, notifications-on-closed-signal):
5025 Unregister the signal if not needed any longer.
5026 (notifications-notify): Register `notifications-action-signal' or
5027 `notifications-closed-signal', if :on-action or :on-close has been
5028 passed as argument.
5029
78e8b10a
CY
50302012-03-07 Chong Yidong <cyd@gnu.org>
5031
5032 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5033 non-X platforms.
5034
69481eb8
GM
50352012-03-06 Glenn Morris <rgm@gnu.org>
5036
5037 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5038 (x-disown-selection-internal, x-get-selection-internal):
5039 Doc fix (add arglist signatures). (Bug#10783)
5040
133b8e11
KS
50412012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5042
5043 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5044 Handle breakpoints with no "type".
5045
99a83064
GM
50462012-03-06 Glenn Morris <rgm@gnu.org>
5047
5048 * files.el (locate-dominating-file): Add optional predicate argument.
5049 (dir-locals-find-file): Make use of above change.
5050
17798e78
TTN
50512012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5052
5053 * info.el (Info-insert-dir): Also try "dir.gz".
5054
eb182446
GM
50552012-03-06 Glenn Morris <rgm@gnu.org>
5056
8f2114ee
GM
5057 * files.el (dir-locals-find-file):
5058 Ignore non-readable or non-regular files. (Bug#10928)
5059
eb182446
GM
5060 * files.el (locate-dominating-file): Doc fix.
5061
24679323
AS
50622012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5063
5064 * calendar/calendar.el (calendar-set-mode-line):
5065 `getenv' returns a string. (Bug#10951)
5066
01d972a9
LL
50672012-03-05 Leo Liu <sdl.web@gmail.com>
5068
109aa8a9
LL
5069 * simple.el (backward-delete-char-untabify): Constrain point to
5070 field (Bug#10939).
5071
01d972a9
LL
5072 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5073
10607bea
CY
50742012-03-05 Chong Yidong <cyd@gnu.org>
5075
5076 * simple.el (count-words): If called from Lisp, return the word
5077 count, for symmetry with `count-lines'. Arglist changed.
5078 (count-words--message): Args changed. Consolidate counting code
5079 from count-words and count-words-region.
5080 (count-words-region): Caller changed.
5081 (count-lines-region): Make it an obsolete alias.
5082
5dd11cfe
TH
50832012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5084
5085 * saveplace.el (save-place-to-alist)
5086 (save-place-ignore-files-regexp): Allow value nil to disable this
5087 feature.
5088
c349f4e6
CY
50892012-03-04 Chong Yidong <cyd@gnu.org>
5090
5091 * faces.el (face-spec-reset-face): For the default face, reset the
5092 attributes to default values (Bug#10748).
5093
e627be4c
LMI
50942012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
5096 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5097 previous patch: Check `message-send-mail-function', and not the
5098 default function (bug#10897).
5099
ebeabff4
MA
51002012-03-04 Michael Albinus <michael.albinus@gmx.de>
5101
a41a6cf4
MA
5102 * notifications.el (notifications-on-action-signal)
5103 (notifications-on-closed-signal): Check for unique service name of
5104 incoming event. Fix error in removing entry.
ebeabff4 5105 (top): Register for signals with wildcard service name.
a41a6cf4 5106 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5107
c1ca42b4
CY
51082012-03-04 Chong Yidong <cyd@gnu.org>
5109
dc9924b8 5110 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5111
ea16568d
GM
51122012-03-04 Glenn Morris <rgm@gnu.org>
5113
5114 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5115 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5116 (expand-abbrev, define-abbrev-table): Doc fixes.
5117
fbae4637
LMI
51182012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5119
5120 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5121 `message-default-send-mail-function' and not `send-mail-function'
5122 when doing the prompting for `sendmail-query-once' before sending
5123 in Message buffers (bug#10897).
5124
a1e7225c
LMI
5125 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5126 This is inconsistent with all the other stream functions, which leave
5127 the setting up to the higher levels (if so wanted) (bug#10931).
5128
56d093a9
AM
51292012-03-02 Alan Mackenzie <acm@muc.de>
5130
5131 Depessimize the handling of very large macros.
5132
5133 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5134 (c-macro-cache-syntactic): New variables to implement a one
5135 element macro cache.
5136 (c-invalidate-macro-cache): New function.
5137 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5138 Adapt to use the new cache.
5139 (c-state-safe-place): Use better the cache of safe positions.
5140 (c-state-semi-nonlit-pos-cache)
5141 (c-state-semi-nonlit-pos-cache-limit):
5142 New variables for...
5143 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5144 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5145 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5146 Use c-state-semi-safe-place.
56d093a9 5147
dbbc2e69
SM
5148 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5149 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5150
817e5c3d
MA
51512012-03-02 Michael Albinus <michael.albinus@gmx.de>
5152
dbbc2e69
SM
5153 * jka-compr.el (jka-compr-call-process):
5154 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5155 not remote.
5156
a032a702
MA
51572012-03-01 Michael Albinus <michael.albinus@gmx.de>
5158
5159 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5160 access of FILE2, if FILE1 does not exist.
5161
99a54f21
MA
5162 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5163 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5164
5165 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5166 Add "PAGER=" to `process-environment'.
5167
f6561e1f
MM
51682012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5169
5170 * progmodes/sql.el: Bug fix
5171 (sql-get-login-ext): Save login values in globals.
5172 (sql-get-login): Use new version of `sql-get-login-ext'.
5173 (sql-interactive-mode): Set global `sql-connection' to nil.
5174 (sql-connect): Set global values for connection.
5175 (sql-product-interactive): Save global values as buffer local.
5176
2d44d9cc
LL
51772012-02-29 Leo Liu <sdl.web@gmail.com>
5178
5179 * abbrev.el (define-abbrevs): Reset sys to nil.
5180
96b49301 51812012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5182
bf7f9bc5
JB
5183 * files.el (file-equal-p): Rename from `files-equal-p'.
5184 Return nil when one or both files don't exist.
96b49301 5185 (file-subdir-of-p): Now only top directory must exists,
5186 return nil if it doesn't.
bf7f9bc5
JB
5187 (copy-directory): No need to test with `file-subdir-of-p' after
5188 creating dir.
5189 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5190 to `file-equal-p'.
96b49301 5191
44e97401
GM
51922012-02-28 Glenn Morris <rgm@gnu.org>
5193
5194 * shell.el (shell-mode):
5195 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5196 * play/landmark.el (landmark-font-lock-face-O):
5197 * play/handwrite.el (handwrite):
5198 * play/gomoku.el (gomoku-O):
5199 * net/browse-url.el (browse-url-browser-display):
5200 * international/mule.el (define-charset):
5201 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5202 * filesets.el (filesets-find-file-delay):
5203 * eshell/em-xtra.el (eshell-xtra):
5204 * eshell/em-unix.el (eshell-grep):
5205 * emulation/viper.el (viper-mode):
5206 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5207 * emacs-lisp/easymenu.el (easy-menu-define):
5208 * calendar/timeclock.el (timeclock-use-display-time):
5209 * bs.el (bs-mode):
5210 * bookmark.el (bookmark-save-flag):
5211 Doc fix (standardize possessive apostrophe usage).
5212
c98c6276
CY
52132012-02-27 Chong Yidong <cyd@gnu.org>
5214
bf7f9bc5
JB
5215 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5216 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5217
c98c6276
CY
5218 * font-lock.el (font-lock-specified-p): Rename from
5219 font-lock-spec-present. Callers changed.
5220
9c62cd04 52212012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5222
bf7f9bc5
JB
5223 * emacs-lisp/package.el (package-compute-transaction):
5224 Handle holding a package version to t in package-load-list.
8ac9e529 5225
530739c9
MA
52262012-02-26 Michael Albinus <michael.albinus@gmx.de>
5227
5228 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5229 (tramp-get-inode, tramp-get-device): Use cached values.
5230
487915d7
AM
52312012-02-26 Alan Mackenzie <acm@muc.de>
5232
5233 Check there is a font-lock specification before doing initial
5234 fontification.
5235
5236 * font-core.el (font-lock-mode): Move the conditional from
5237 :after-hook to font-lock-initial-fontify.
5238 (font-lock-default-function): Move the check for a specification
5239 to font-lock-spec-present.
5240
dc9924b8 5241 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5242 (font-lock-spec-present): New function.
5243
4fd96557
JB
52442012-02-26 Jim Blandy <jimb@red-bean.com>
5245
5246 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5247 (gdb-send): Apply it to the operand of the '-interpreter-exec
5248 console' command, so that we can pass arguments with (say) quotes
5249 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5250
9a4888c0
CY
52512012-02-26 Chong Yidong <cyd@gnu.org>
5252
07498861
CY
5253 * help-fns.el (describe-function-1): Clarify description of
5254 remapping (Bug#10844).
5255
9a4888c0
CY
5256 * files.el (files-equal-p): Doc fix.
5257 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5258 and quit the loop once a mismatch is found.
5259
ea8fb88d
JB
52602012-02-25 Juanma Barranquero <lekktu@gmail.com>
5261
5262 * bs.el (bs--show-with-configuration): Don't throw an error
5263 if the window cannot be split; otherwise, subsequent calls to
5264 bs-show fail, restoring a stale window config. (Bug#10882)
5265
525795c1
JD
52662012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5267
5268 * term/ns-win.el (global-map): Bind ns-drag-file to
5269 ns-find-file (Bug#5855, Bug#10050).
5270
f008086f
AS
52712012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5272
5273 * calendar/parse-time.el (parse-time-string): Allow extractor to
5274 return nil.
5275
a3fcfa99
MA
52762012-02-25 Michael Albinus <michael.albinus@gmx.de>
5277
91027d08
JB
5278 * net/tramp.el (tramp-file-name-for-operation):
5279 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5280
5281 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5282 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5283 Add COPY-CONTENTS argument.
a3fcfa99 5284
67b0de11
CY
52852012-02-25 Chong Yidong <cyd@gnu.org>
5286
5287 Add custom groups for VC backends, for consistency with vc-bzr.
5288
5289 * vc/vc-arch.el (vc-arch):
5290 * vc/vc-cvs.el (vc-cvs):
5291 * vc/vc-git.el (vc-git):
5292 * vc/vc-hg.el (vc-hg):
5293 * vc/vc-mtn.el (vc-mtn):
5294 * vc/vc-rcs.el (vc-rcs):
5295 * vc/vc-sccs.el (vc-sccs):
5296 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5297 All relevant defcustoms reassigned.
5298
3c9dfce6
CY
52992012-02-25 Chong Yidong <cyd@gnu.org>
5300
1339bf43
CY
5301 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5302
3c9dfce6
CY
5303 * term/x-win.el (x-initialize-window-system): Reduce default for
5304 x-selection-timeout to 5 seconds (Bug#8869).
5305
25b2e303 53062012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5307
ec70a47d
GM
5308 * files.el (files-equal-p, file-subdir-of-p): New functions.
5309 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5310 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5311 * dired-aux.el (dired-copy-file-recursive): Same.
5312 (dired-create-files): Modify destination when source is equal to
5313 dest when copying files.
53a46cd0 5314 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5315
914260cd
MA
53162012-02-24 Michael Albinus <michael.albinus@gmx.de>
5317
5318 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5319 (Bug#10874)
5320
2cb228f7
AM
53212012-02-23 Alan Mackenzie <acm@muc.de>
5322
5323 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5324 parameter "after-hook:" to allow the expansion to run code after
5325 the execution of the mode hooks.
5326
5327 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5328 from font-lock-mode-internal.
2cb228f7 5329
91027d08 5330 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5331 :after-hook.
5332
8f0fde21
SM
53332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5334
3e88618b
SM
5335 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5336 (completion--cache-all-sorted-completions): New function.
5337 (completion-all-sorted-completions): Use it.
5338 (completion--do-completion, minibuffer-force-complete):
5339 Use it to re-instate the flush hook.
5340
8f0fde21
SM
5341 * icomplete.el (icomplete-completions): Replace last fix with a better
5342 one (bug#10850).
5343
8e911f6f
DG
53442012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5345
5346 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5347 when it might call us back infinitely (bug#10797).
5348
49fe4321
GM
53492012-02-23 Glenn Morris <rgm@gnu.org>
5350
5351 * minibuffer.el (completion-category-overrides): Doc fix.
5352
b291b572
SM
53532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5356 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5357
31a9ef2e
GM
53582012-02-23 Glenn Morris <rgm@gnu.org>
5359
5e6e6794 5360 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5361 (authors-obsolete-files-regexps, authors-ignored-files)
5362 (authors-ambiguous-files, authors-renamed-files-alist):
5363 Add more entries.
5364
0bd1e074
JL
53652012-02-23 Juri Linkov <juri@jurta.org>
5366
5367 * isearch.el (isearch-occur): Sync interactive spec with occur's
5368 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5369
b617673c
JL
5370 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5371
19e9789e
JL
53722012-02-22 Juri Linkov <juri@jurta.org>
5373
5374 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5375 (ucs-insert): Doc fix. Check for hex digits in the string.
5376 Don't display `nil' in the error message. (Bug#10857)
5377
f41ce09d
AM
53782012-02-22 Alan Mackenzie <acm@muc.de>
5379
7a71b18d 5380 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5381
ac2eceee
GM
53822012-02-22 Glenn Morris <rgm@gnu.org>
5383
5384 * ffap.el (ffap-c-path):
5385 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5386
abd1f678
CY
53872012-02-22 Chong Yidong <cyd@gnu.org>
5388
5389 * custom.el (load-theme): Doc fix.
5390
f25aef2e
GM
53912012-02-22 Glenn Morris <rgm@gnu.org>
5392
5393 * dired-x.el (dired-guess-shell-alist-default):
5394 Remove escape sequences from nroff output. (Bug#172)
5395
5f8dc2ca
GM
53962012-02-21 Glenn Morris <rgm@gnu.org>
5397
6ff86ec4
GM
5398 * vc/emerge.el (emerge-defvar-local):
5399 Set `permanent-local' property rather than unused `preserved'.
5400
be3223a3 5401 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5402 (picture-mode-map): Use it. (Bug#10860)
5403 (picture-mode): Doc fix.
5404
3fe58f4f
JB
54052012-02-21 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * newcomment.el (uncomment-region-default): Remove unused binding.
5408
f9a998c3
GM
54092012-02-21 Glenn Morris <rgm@gnu.org>
5410
5411 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5412 (picture-self-insert, picture-tab-chars): Doc fix.
5413 (picture-mode-map): Fix C-a, C-e.
5414
c6029348
GM
54152012-02-20 Glenn Morris <rgm@gnu.org>
5416
5417 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5418
ab1ce9d7
LL
54192012-02-20 Leo Liu <sdl.web@gmail.com>
5420
5421 * icomplete.el (icomplete-completions): Check FROM arg before
5422 passing to substring (Bug#10850).
5423
0fd40f89
CY
54242012-02-19 Chong Yidong <cyd@gnu.org>
5425
5426 * comint.el: Require ansi-color.
5427 (comint-output-filter-functions): Add ansi-color-process-output.
5428
5429 * ansi-color.el: Don't set comint-output-filter-functions; it is
5430 now in the initial value defined in comint.el.
5431 (ansi-color-apply-face-function): New variable.
5432 (ansi-color-apply-on-region): Use it.
5433 (ansi-color-apply-overlay-face): New function.
5434
5435 * shell.el (shell): No need to require ansi-color.
5436 (shell-mode): Use ansi-color-apply-face-function to highlight
5437 color escapes using font-lock-face property (Bug#10835).
5438
20af2394
CY
54392012-02-19 Chong Yidong <cyd@gnu.org>
5440
5441 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5442 mode-line formats (Bug#10839).
5443
e23a3fbe
GM
54442012-02-18 Glenn Morris <rgm@gnu.org>
5445
b474519e
GM
5446 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5447
5448 * mail/undigest.el (unforward-rmail-message): Doc fix.
5449
e23a3fbe
GM
5450 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5451
57939ff4
EZ
54522012-02-18 Eli Zaretskii <eliz@gnu.org>
5453
5454 * international/characters.el (script-list): Sync with the latest
5455 Unicode Character Database.
5456
0c23686e
AS
54572012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5458
5459 * international/titdic-cnv.el: Remove duplicate coding tag.
5460 * language/cham.el: Likewise.
5461 * language/tai-viet.el: Likewise.
5462
6818b449
GM
54632012-02-18 Glenn Morris <rgm@gnu.org>
5464
5465 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5466 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5467 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5468 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5469 * calendar/holidays.el (holiday-bahai-holidays)
5470 (calendar-holidays, list-holidays):
5471 Use utf-8 Bahá'í in doc-strings, menus, etc.
5472
0311a3fc
TH
54732012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5474
5475 * saveplace.el (save-place-ignore-files-regexp): New variable
5476 allowing for excluding files from saving their location of point.
5477 The default value matches the temporary commit message editing
5478 files from Git, SVN, Bazaar, and Mercurial.
5479 (save-place-to-alist): Use it.
5480
d209e2fb 54812012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5482 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * newcomment.el (uncomment-region-default): Don't leave extra space
5485 when an arg is provided (bug#8150).
5486
ee0ce425
TZ
54872012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5488
eb864a71 5489 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5490
95ddf442
GM
54912012-02-17 Glenn Morris <rgm@gnu.org>
5492
5493 * net/socks.el: Require network-stream. (Bug#10599)
5494
48dd1e39 54952012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5496
5497 * international/charprop.el:
5498 * international/uni-name.el:
5499 * international/uni-old-name.el:
5500 * international/uni-comment.el: Regenerate.
5501
d68cd087
GM
55022012-02-16 Glenn Morris <rgm@gnu.org>
5503
5504 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5505 Interactively in calendar buffer, give an error if not on a date.
5506
13932042
GM
55072012-02-15 Glenn Morris <rgm@gnu.org>
5508
5509 * shell.el (shell-delimiter-argument-list):
5510 Revert 2011-02-17 change. (Bug#8027)
5511
c3a70e2b
CY
55122012-02-15 Chong Yidong <cyd@gnu.org>
5513
60236b0d
CY
5514 * minibuffer.el (completion-at-point-functions): Doc fix.
5515
c3a70e2b
CY
5516 * custom.el (defcustom): Doc fix; note use of defvar.
5517
9f26dc24
GM
55182012-02-15 Glenn Morris <rgm@gnu.org>
5519
5520 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5521 Doc fixes.
5522
6546b134
GM
55232012-02-14 Glenn Morris <rgm@gnu.org>
5524
5525 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5526
d29b2b4c
LI
55272012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5528
5529 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5530 way the ports list is computed.
835bdcba
LI
5531 (smtpmail-query-smtp-server): Prompt the user for a port number if
5532 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5533
08dcdbc9
TZ
55342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5535
5536 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5537
2605051a
GM
55382012-02-13 Glenn Morris <rgm@gnu.org>
5539
5540 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5541
7ee99f32
TZ
55422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5543
5544 * net/gnutls.el (gnutls-trustfiles): New variable.
5545 (gnutls-negotiate): Use it.
5546
5f0af64f
LI
55472012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5548
5549 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5550 does its stuff if Gnus is running.
5551
c14fcc95
AM
55522012-02-13 Alan Mackenzie <acm@muc.de>
5553
5554 Fix a loop in c-set-fl-decl-start.
5555
7a71b18d 5556 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5557 c-backward-syntactic-ws actually moves backwards.
5558
142b4d90
LL
55592012-02-13 Leo Liu <sdl.web@gmail.com>
5560
5561 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5562 beginning so that all \C-o chars are removed.
5563
fa9958a6
TZ
55642012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5565
dc9924b8 5566 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5567
0bc5886a
AM
55682012-02-12 Alan Mackenzie <acm@muc.de>
5569
5570 Fix infinite loop with long macros.
4d6769e1 5571 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5572
d4bd55e7
CY
55732012-02-12 Chong Yidong <cyd@gnu.org>
5574
5575 * window.el (display-buffer): Doc fix (Bug#10785).
5576
66f3fe22
GM
55772012-02-12 Glenn Morris <rgm@gnu.org>
5578
bd7da63e
GM
5579 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5580 (x-disown-selection-internal, x-get-selection-internal):
5581 Sync docs with the xselect.c versions.
5582
66f3fe22
GM
5583 * allout-widgets.el: Add missing license notice.
5584
3e0d2fa7
GM
55852012-02-11 Glenn Morris <rgm@gnu.org>
5586
cfecdf09
GM
5587 * select.el (x-get-selection-internal, x-own-selection-internal)
5588 (x-disown-selection-internal):
5589 * x-dnd.el (x-get-selection-internal): Update declarations.
5590
6d216d7f
GM
5591 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5592
2bed3f04
GM
5593 * window.el (window-sides-slots):
5594 * tool-bar.el (tool-bar-position):
5595 * term/xterm.el (xterm-extra-capabilities):
5596 * ses.el (ses-self-reference-early-detection):
5597 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5598 (verilog-auto-wire-type)
5599 (verilog-auto-delete-trailing-whitespace)
5600 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5601 (verilog-auto-tieoff-declaration):
5602 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5603 (sql-oracle-statement-starters, sql-oracle-scan-on):
5604 * progmodes/prolog.el (prolog-align-comments-flag)
5605 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5606 (prolog-left-indent-regexp, prolog-paren-indent-p)
5607 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5608 (prolog-types, prolog-mode-specificators)
5609 (prolog-determinism-specificators, prolog-directives)
5610 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5611 (prolog-electric-dot-flag)
5612 (prolog-electric-dot-full-predicate-template)
5613 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5614 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5615 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5616 (prolog-program-switches, prolog-prompt-regexp)
5617 (prolog-debug-on-string, prolog-debug-off-string)
5618 (prolog-trace-on-string, prolog-trace-off-string)
5619 (prolog-zip-on-string, prolog-zip-off-string)
5620 (prolog-use-standard-consult-compile-method-flag)
5621 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5622 (prolog-imenu-max-lines, prolog-info-predicate-index)
5623 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5624 (prolog-char-quote-workaround):
5625 * progmodes/cc-vars.el (c-defun-tactic):
5626 * net/tramp.el (tramp-encoding-command-interactive)
5627 (tramp-local-end-of-line):
5628 * net/soap-client.el (soap-client):
5629 * net/netrc.el (netrc-file):
5630 * net/gnutls.el (gnutls):
5631 * minibuffer.el (completion-category-overrides)
5632 (completion-cycle-threshold)
5633 (completion-pcm-complete-word-inserts-delimiters):
5634 * man.el (Man-name-local-regexp):
5635 * mail/feedmail.el (feedmail-display-full-frame):
5636 * international/characters.el (glyphless-char-display-control):
5637 * eshell/em-ls.el (eshell-ls-date-format):
5638 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5639 (lisp-lambda-list-keyword-parameter-indentation)
5640 (lisp-lambda-list-keyword-parameter-alignment):
5641 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5642 * dired-x.el (dired-omit-verbose):
5643 * cus-theme.el (custom-theme-allow-multiple-selections):
5644 * calc/calc.el (calc-highlight-selections-with-faces)
5645 (calc-lu-field-reference, calc-lu-power-reference)
5646 (calc-note-threshold):
5647 * battery.el (battery-mode-line-limit):
5648 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5649 (archive-7z-update):
5650 * allout.el (allout-prefixed-keybindings)
5651 (allout-unprefixed-keybindings)
5652 (allout-inhibit-auto-fill-on-headline)
5653 (allout-flattened-numbering-abbreviation):
5654 * allout-widgets.el (allout-widgets-auto-activation)
5655 (allout-widgets-icons-dark-subdir)
5656 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5657 (allout-widgets-theme-dark-background)
5658 (allout-widgets-theme-light-background)
5659 (allout-widgets-item-image-properties-emacs)
5660 (allout-widgets-item-image-properties-xemacs)
5661 (allout-widgets-run-unit-tests-on-load)
5662 (allout-widgets-time-decoration-activity)
5663 (allout-widgets-hook-error-post-time)
5664 (allout-widgets-track-decoration):
5665 Add missing :version tags to new defcustoms and defgroups.
5666
5fec1b8e
GM
5667 * progmodes/sql.el (sql-ansi-statement-starters)
5668 (sql-oracle-statement-starters): Add custom type.
5669
3e0d2fa7
GM
5670 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5671 (prolog-system-version): Give it a type.
5672
90b671e2
EZ
56732012-02-11 Eli Zaretskii <eliz@gnu.org>
5674
5675 * term/pc-win.el (x-select-text, x-selection-owner-p)
5676 (x-own-selection-internal, x-disown-selection-internal)
5677 (x-get-selection-internal): Sync doc strings and argument lists
5678 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5679
5eac0c02
LL
56802012-02-11 Leo Liu <sdl.web@gmail.com>
5681
5682 * progmodes/python.el (python-end-of-statement): Fix infinite
5683 loop. (Bug#10788)
5684
f82cb659
GM
56852012-02-10 Glenn Morris <rgm@gnu.org>
5686
5687 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5688 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5689
cc26d239
LI
56902012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5691
5692 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5693 about SMTP before checking the From header.
5694
91027d08 5695 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5696 into own function for reuse by emacsbug.el.
5697
1be3ca5a
LL
56982012-02-10 Leo Liu <sdl.web@gmail.com>
5699
5700 * subr.el (condition-case-unless-debug): Rename from
5701 condition-case-no-debug. All callers changed.
5702 (with-demoted-errors): Fix caller.
5703
5704 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5705 * nxml/rng-valid.el (rng-do-some-validation):
5706 * emacs-lisp/package.el (package-refresh-contents)
5707 (package-menu-execute):
5708 * desktop.el (desktop-create-buffer):
91027d08 5709 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5710
b011fbfe
GM
57112012-02-10 Glenn Morris <rgm@gnu.org>
5712
b2096d72
GM
5713 * textmodes/bibtex.el:
5714 Add missing :version tags for new/changed defcustoms.
5715
b011fbfe
GM
5716 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5717
4c7e65bf
LI
57182012-02-09 Lars Ingebrigtsen <larsi@rusty>
5719
5720 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5721 (smtpmail-via-smtp): Use it, or fall back on the From address.
5722 (smtpmail-send-it): Ditto.
5723
f3934f6f
SM
57242012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5727 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5728 (byte-compile-tmp-var): New const.
5729 (byte-compile-defvar): Use it to minimize .elc size.
5730 Just use `defvar' rather than simulate it (bug#10761).
5731
a075a2c5
GM
57322012-02-09 Glenn Morris <rgm@gnu.org>
5733
cf3aa21b
GM
5734 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5735
354998cd
GM
5736 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5737 Add :version tags.
5738
dc9924b8
SM
5739 * progmodes/compile.el (compilation-error-screen-columns)
5740 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5741
dab3703d
GM
5742 * vc/log-view.el (log-view-toggle-entry-display):
5743 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5744
3f88cd72
GM
5745 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5746 (report-emacs-bug-can-use-xdg-email):
5747 (report-emacs-bug-insert-to-mailer): Doc fixes.
5748 (report-emacs-bug): Message fix.
5749
d95b247d
GM
5750 * net/browse-url.el (browse-url-can-use-xdg-open)
5751 (browse-url-xdg-open): Doc fixes.
5752
a075a2c5
GM
5753 * electric.el (electric-indent-mode, electric-pair-mode)
5754 (electric-layout-rules, electric-layout-mode): Doc fixes.
5755 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5756
ffb6157e
MR
57572012-02-08 Martin Rudalics <rudalics@gmx.at>
5758
5759 * server.el (server-unselect-display): Don't inadvertently kill
5760 the current buffer. (Bug#10729)
5761
e1ac4066
GM
57622012-02-08 Glenn Morris <rgm@gnu.org>
5763
34e8a2da
GM
5764 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5765 (sql-list-table): Doc fixes.
5766
b4ac6e8c
GM
5767 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5768 Comment out (does nothing).
5769
e1ac4066
GM
5770 * completion.el (dynamic-completion-mode):
5771 * dirtrack.el (dirtrack-debug-mode):
5772 * electric.el (electric-layout-mode):
5773 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5774 * face-remap.el (text-scale-mode, buffer-face-mode):
5775 * iimage.el (iimage-mode):
5776 * image-mode.el (image-transform-mode):
5777 * minibuffer.el (completion-in-region-mode):
5778 * scroll-lock.el (scroll-lock-mode):
5779 * simple.el (next-error-follow-minor-mode):
5780 * tar-mode.el (tar-subfile-mode):
5781 * tooltip.el (tooltip-mode):
5782 * vcursor.el (vcursor-use-vcursor-map):
5783 * wid-browse.el (widget-minor-mode):
5784 * emulation/tpu-edt.el (tpu-edt-mode):
5785 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5786 * international/iso-ascii.el (iso-ascii-mode):
5787 * language/thai-util.el (thai-word-mode):
5788 * mail/supercite.el (sc-minor-mode):
5789 * net/goto-addr.el (goto-address-mode):
5790 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5791 * progmodes/cwarn.el (cwarn-mode):
5792 * progmodes/flymake.el (flymake-mode):
5793 * progmodes/glasses.el (glasses-mode):
5794 * progmodes/hideshow.el (hs-minor-mode):
5795 * progmodes/pascal.el (pascal-outline-mode):
5796 * textmodes/enriched.el (enriched-mode):
5797 * vc/smerge-mode.el (smerge-mode):
5798 Doc fixes (minor mode argument).
5799
5e0d957f
EZ
58002012-02-07 Eli Zaretskii <eliz@gnu.org>
5801
5802 * ls-lisp.el (ls-lisp-sanitize): New function.
5803 (ls-lisp-insert-directory): Use it to fix or remove any elements
5804 in file-alist with missing attributes. (Bug#4673)
5805
98d7371e
AM
58062012-02-07 Alan Mackenzie <acm@muc.de>
5807
5808 Fix spurious recognition of c-in-knr-argdecl.
5809
5810 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5811 putative K&R region.
5812
667ced3a
AM
58132012-02-07 Alan Mackenzie <acm@muc.de>
5814
eb864a71
LM
5815 * progmodes/cc-engine.el (c-forward-objc-directive):
5816 Prevent looping in "#pragma mark @implementation".
667ced3a 5817
5b77774d
MA
58182012-02-07 Michael Albinus <michael.albinus@gmx.de>
5819
5820 * notifications.el (notifications-on-closed-signal): Make `reason'
5821 optional. (Bug#10744)
5822
af008560
GM
58232012-02-07 Glenn Morris <rgm@gnu.org>
5824
60d47423
GM
5825 * emacs-lisp/easy-mmode.el (define-minor-mode):
5826 Doc fixes for the macro and the mode it defines.
5827
dd605cc4
GM
5828 * image.el (imagemagick-types-inhibit): Doc fix.
5829
af008560
GM
5830 * cus-start.el (imagemagick-render-type): Add it.
5831
5cc59a37
LI
58322012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5833
4d6769e1
JB
5834 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5835 Set the default at load time, too, so that `font-lock-fontify-buffer'
5836 can be called without setting up the entire mode first. This fixes
5837 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5838
9a6dd747
CY
58392012-02-06 Chong Yidong <cyd@gnu.org>
5840
2d16b285
CY
5841 * simple.el (list-processes--refresh): Delete exited processes
5842 (Bug#8094).
5843
171e9b6e
CY
5844 * comint.el (comint-next-prompt): next-single-char-property-change
5845 and prev-single-char-property-change never return nil (Bug#8657).
5846
9a6dd747
CY
5847 * custom.el (defcustom): Doc fix (Bug#9711).
5848
aa4589a7
CY
58492012-02-05 Chong Yidong <cyd@gnu.org>
5850
5c2a252f
CY
5851 * cus-edit.el (custom-variable-reset-backup): Quote the value
5852 before storing it in the customized-value property (Bug#6712).
4aab9006 5853 (custom-display): Add a customization type tag.
983b9602 5854 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5855
aa4589a7
CY
5856 * wid-edit.el (widget-field-value-get): New optional arg to
5857 suppress trailing whitespace truncation.
5858 (character): Use it (Bug#2689).
5859
1ff980ae
AS
58602012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5861
5862 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5863 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5864
03988c98
CY
58652012-02-05 Chong Yidong <cyd@gnu.org>
5866
eeb6cc88
CY
5867 * cus-edit.el (custom-variable-value-create): For mismatched
5868 types, show the current value (Bug#7600).
5869
03988c98
CY
5870 * custom.el (defcustom): Doc fix.
5871
f8cdeef0
GM
58722012-02-05 Glenn Morris <rgm@gnu.org>
5873
5874 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5875
0696d255
JB
58762012-02-05 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5879 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5880 (pp-last-sexp): Use `looking-at-p'.
5881
34c99998
GM
58822012-02-04 Glenn Morris <rgm@gnu.org>
5883
8f05da42
GM
5884 * files.el (revert-buffer):
5885 Doc fix (mention revert-buffer-in-progress-p).
5886
f160676e
GM
5887 * emacs-lisp/ert-x.el (ert-simulate-command):
5888 Check deferred-action-list (which is obsolete) is bound.
5889
c7291ad9
GM
5890 * subr.el (with-wrapper-hook): Doc fixes.
5891
34c99998
GM
5892 * simple.el (filter-buffer-substring-functions)
5893 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5894
6283a7d3
LL
58952012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5896
5897 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5898 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5899
e96e3013
LL
59002012-02-04 Leo Liu <sdl.web@gmail.com>
5901
5902 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5903
8ded50f2
GM
59042012-02-04 Glenn Morris <rgm@gnu.org>
5905
82ff1d13
GM
5906 * image.el (image-extension-data): Add obsolete alias.
5907
987a0a16
GM
5908 * isearch.el (isearch-update): Doc fix.
5909
ea32ef46
GM
5910 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5911
8ded50f2
GM
5912 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5913
eea14f31
GM
59142012-02-03 Glenn Morris <rgm@gnu.org>
5915
5916 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5917 (image-animate-timeout): Doc fix.
5918
5919 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5920
12f381b7
GM
59212012-02-02 Glenn Morris <rgm@gnu.org>
5922
953cebf5
GM
5923 * server.el (server-auth-dir): Doc fix.
5924 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5925
12f381b7
GM
5926 * subr.el (run-mode-hooks): Doc fix.
5927
953a8c3b
JL
59282012-02-02 Juri Linkov <juri@jurta.org>
5929
5930 * image-mode.el (image-toggle-display-image): Remove tautological
5931 `major-mode' from the `derived-mode-p' test.
5932
c5d3843c
KH
59332012-02-02 Kenichi Handa <handa@m17n.org>
5934
9f6e692e 5935 * composite.el (compose-region): Cancel previous change.
c5d3843c 5936
159462d4 59372012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5938
5939 * composite.el (compose-region, compose-string): Signal error for
5940 a null string component (Bug#6988).
5941
9f562668
CY
59422012-02-01 Chong Yidong <cyd@gnu.org>
5943
e2cef717
CY
5944 * view.el (view-buffer-other-window, view-buffer-other-frame):
5945 Handle special modes like view-buffer (Bug#10650).
5946 (view-buffer): Simplify.
5947
9f562668
CY
5948 * frame.el (set-frame-font): Tweak meaning of third argument.
5949
9f6e692e
JB
5950 * dynamic-setting.el (font-setting-change-default-font):
5951 Use set-frame-font (Bug#9982).
9f562668 5952
781acb9f
GM
59532012-02-01 Glenn Morris <rgm@gnu.org>
5954
6035be52
GM
5955 * progmodes/compile.el (compilation-internal-error-properties):
5956 Respect compilation-first-column in the "*compilation*" buffer.
5957
781acb9f
GM
5958 * emacs-lisp/easy-mmode.el (define-minor-mode):
5959 Relax :variable's test for a named function.
5960
abbceb00
AM
59612012-01-31 Alan Mackenzie <acm@muc.de>
5962
5963 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5964 off by one error.
5965
fce3fdeb
CY
59662012-01-31 Chong Yidong <cyd@gnu.org>
5967
5968 * frame.el (set-frame-font): New arg ALL-FRAMES.
5969
5970 * menu-bar.el (menu-set-font): Use set-frame-font.
5971
5972 * faces.el (face-spec-reset-face): Don't apply unspecified
5973 attribute values to the default face.
5974
47893581
JB
59752012-01-31 Juanma Barranquero <lekktu@gmail.com>
5976
5977 * progmodes/cwarn.el (cwarn): Remove dead link.
5978 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5979 Remove * from defcustom docstrings.
5980 (turn-on-cwarn-mode): Make obsolete.
5981 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5982 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5983
e58e988a
GM
59842012-01-31 Glenn Morris <rgm@gnu.org>
5985
60dc2671 5986 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5987 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5988 Allow named functions to be used as the cdr of :variable.
e58e988a 5989
7a3f511d
GM
59902012-01-30 Glenn Morris <rgm@gnu.org>
5991
5992 * emacs-lisp/authors.el (authors-fixed-entries):
5993 Remove reference to deleted file rnewspost.el.
5994
cb882333
JB
59952012-01-29 Juanma Barranquero <lekktu@gmail.com>
5996
5997 * window.el (window-with-parameter): Remove unused variable `windows'.
5998 (window--side-check): Remove unused variable `code'.
5999 (window--resize-siblings): Remove unused variable `first'.
6000 (adjust-window-trailing-edge): Remove unused variable `failed'.
6001 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6002 Use `let', not `let*'.
6003 (balance-windows-2): Remove unused variable `found'.
6004 (window--state-put-2): Remove unused variable `splits'.
6005 (window-state-put): Remove unused variable `selected'.
6006 (same-window-p): Use `string-match-p'.
6007 (display-buffer-assq-regexp): Remove unused variable `value'.
6008 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6009 Mark argument ALIST as ignored.
6010 (pop-to-buffer): Remove unused variable `old-window'.
6011
907201af
EZ
60122012-01-29 Eli Zaretskii <eliz@gnu.org>
6013
6014 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6015 and .lzma compressed files.
6016
ea162670
CY
60172012-01-29 Chong Yidong <cyd@gnu.org>
6018
5b95ee8a
CY
6019 * frame.el (window-system-default-frame-alist): Doc fix.
6020
ea162670
CY
6021 * dynamic-setting.el (font-setting-change-default-font): Don't
6022 change the default face if SET-FONT argument is non-nil (Bug#9982).
6023
d6e6f4b1
SB
60242012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6025
6026 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6027
0f29fa41 60282012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6029
6030 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6031 breakpoints in files outside current directory (Bug#6098).
6032
db174434
CY
60332012-01-29 Chong Yidong <cyd@gnu.org>
6034
6b25e4e2
SE
6035 * progmodes/python.el: Require ansi-color at top-level.
6036
6df6ae42
JB
6037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6038 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6039 (lisp-mode-abbrev-table): Add doc.
6040 (lisp-mode-variables): Don't set local-abbrev-table.
6041 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6042
e70ee681
RW
60432012-01-28 Roland Winkler <winkler@gnu.org>
6044
6045 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6046
ace88aa2
RW
60472012-01-28 Roland Winkler <winkler@gnu.org>
6048
6049 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6050 (bibtex-set-dialect): Use it. Either set global values of
6051 dialect-dependent variables or bind these variables buffer-locally
6052 (Bug#10254).
6053 (bibtex-mode): Call bibtex-set-dialect via
6054 hack-local-variables-hook.
eb864a71
LM
6055 (bibtex-dialect): Update docstring.
6056 Add safe-local-variable predicate.
ace88aa2
RW
6057 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6058 bibtex-set-dialect.
6059 (bibtex-mode-map): Define menu for each dialect.
6060 (bibtex-entry): Fix docstring.
6061
93376c5b
CY
60622012-01-28 Chong Yidong <cyd@gnu.org>
6063
6064 * eshell/esh-arg.el (eshell-quote-argument): New function.
6065
6066 * eshell/esh-ext.el (eshell-invoke-batch-file):
6067 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6068 first arg to eshell-parse-command (Bug#10523).
6069
4372494f
DA
60702012-01-28 Drew Adams <drew.adams@oracle.com>
6071
6072 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6073 `default-directory' is non-nil.
6074
4d4ec1f8
EZ
60752012-01-28 Eli Zaretskii <eliz@gnu.org>
6076
6077 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6078 line that displays system-configuration-options. (Bug#9924)
6079
7c188927
DA
60802012-01-28 Drew Adams <drew.adams@oracle.com>
6081
6082 * descr-text.el (describe-char): Show information about POS, in
6083 addition to information about the character at POS. Improve and
6084 update the doc string. Change "code point" to "code point in
6085 charset", to avoid confusion with the character's Unicode code
6086 point shown above that. (Bug#10129)
6087
e0da685a
EZ
60882012-01-28 Eli Zaretskii <eliz@gnu.org>
6089
6090 * descr-text.el (describe-char): Show the raw character, not only
6091 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6092 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6093 for the reasons.
6094
70550acf
PH
60952012-01-28 Phil Hagelberg <phil@hagelb.org>
6096
eb864a71
LM
6097 * emacs-lisp/package.el (package-install):
6098 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6099
0ce8e868
CY
61002012-01-28 Chong Yidong <cyd@gnu.org>
6101
cb882333
JB
6102 * emacs-lisp/package.el (package-maybe-load-descriptor):
6103 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6104 (package-maybe-load-descriptor): Use it.
6105 (package-download-transaction): Fully load required packages
6106 inside the loop, so that `require' calls work (Bug#10593).
6107 (package-install): No need to call package-initialize now.
6108
2e7f3bea
CY
61092012-01-28 Chong Yidong <cyd@gnu.org>
6110
6e9bad14
CY
6111 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6112
f823b8ca
CY
6113 * tooltip.el (tooltip-mode): Doc fix.
6114 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6115
2680c309
CY
6116 * frame.el (set-cursor-color): Doc fix (Bug#352).
6117
d7a9e63b
CY
6118 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6119 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6120
2e7f3bea
CY
6121 * cus-edit.el (custom-buffer-create-internal): Fix search button
6122 action (Bug#10542).
2ae01800 6123 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6124
fc4f7a23
EW
61252012-01-27 Eduard Wiebe <usenet@pusto.de>
6126
6127 * dired.el (dired-mark-files-regexp):
6128 Include any subdirectory components. (Bug#10445)
6129
7dd37071
ML
61302012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6131
6132 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6133 Handle [host]:port syntax. (Bug#10533)
6134
a268160b
AH
61352012-01-27 Alex Harsanyi <harsanyi@mac.com>
6136
6137 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6138
e43273ef
GM
61392012-01-26 Glenn Morris <rgm@gnu.org>
6140
6141 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6142 * term.el (term-raw-escape-map): Use Control-X-prefix.
6143 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6144
1edf595d
MR
61452012-01-25 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (window-state-get, window--state-get-1): Don't deal
6148 with fixed-sizeness of windows. Simplify code.
6149
fa8eafef
JC
61502012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6151
6df6ae42
JB
6152 * window.el (window--state-get-1, window--state-put-2):
6153 Don't save and restore the mark.
fa8eafef 6154
0b21c100
CY
61552012-01-25 Chong Yidong <cyd@gnu.org>
6156
6157 * custom.el (custom-variable-p): Doc fix.
6158
5ae1a6c8
GM
61592012-01-25 Glenn Morris <rgm@gnu.org>
6160
40047858
GM
6161 * dired.el (dired-goto-file): Handle some of the more common
6162 characters that `ls -b' escapes. (Bug#10596)
6163
5ddce96c
GM
6164 * progmodes/compile.el (compilation-next-error-function):
6165 Respect compilation-first-column in the "*compilation*" buffer.
6166 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6167
5ae1a6c8
GM
6168 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6169
b559f1a9
GM
61702012-01-24 Glenn Morris <rgm@gnu.org>
6171
6172 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6173
6725d21a
JD
61742012-01-24 Julien Danjou <julien@danjou.info>
6175
6176 * color.el (color-rgb-to-hsl): Fix value computing.
6177 (color-hue-to-rgb): New function.
6178 (color-hsl-to-rgb): New function.
6179 (color-clamp, color-saturate-hsl, color-saturate-name)
6180 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6181 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6182
70df4bbe
GM
61832012-01-24 Glenn Morris <rgm@gnu.org>
6184
6185 * vc/vc-rcs.el (vc-rcs-create-tag):
6186 * vc/vc-sccs.el (vc-sccs-create-tag):
6187 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6188
802a2ae2
ML
61892012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6190
6191 * eshell/esh-util.el (eshell-read-hosts-file):
6192 Skip comment lines. (Bug#10549)
6193
d7128bb1
ML
6194 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6195
d1a5c3b4
JB
61962012-01-23 Juanma Barranquero <lekktu@gmail.com>
6197
2724d9c7
JB
6198 * subr.el (display-delayed-warnings): Doc fix.
6199 (collapse-delayed-warnings): New function to collapse identical
6200 adjacent warnings.
6201 (delayed-warnings-hook): Add it.
d1a5c3b4 6202
a5509865
MA
62032012-01-22 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6206
a5509865
MA
6207 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6208 (tramp-default-user-alist): Don't add "pscp".
6209 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6210 property "login-as", if set. (Bug#10530)
6211
cc6d5805
MA
62122012-01-21 Michael Albinus <michael.albinus@gmx.de>
6213
6214 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6215 "plink1" and "psftp". (Bug#10530)
6216
62172012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6218
6219 * international/mule-cmds.el (prefer-coding-system): Show a
6220 warning message if the default value of file-name-coding-system
6221 was not changed.
6222
f0960428
JC
62232012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6224
cb882333
JB
6225 * windmove.el (windmove-reference-loc):
6226 Fix windmove-reference-loc miscalculation.
f0960428 6227
dd6f2a63
JB
62282012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6229
6230 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6231 default unit.
6232
7b447e9b
GM
62332012-01-21 Glenn Morris <rgm@gnu.org>
6234
117a9ea1
GM
6235 * international/mule.el (auto-coding-alist): Add .tbz.
6236
7b447e9b
GM
6237 * files.el (local-enable-local-variables): Doc fix.
6238 (inhibit-local-variables-regexps): Rename from
6239 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6240 Doc fix. Add some extensions from auto-coding-alist.
6241 (inhibit-local-variables-suffixes):
6242 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6243 (inhibit-local-variables-p):
6244 New function, extracted from set-auto-mode-1.
6245 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6246 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6247 (hack-local-variables): Doc fix. Make the mode-only case
6248 respect enable-local-variables and friends.
6249 Respect inhibit-local-variables-regexps for file-locals, but
6250 not for directory-locals.
6251 (set-visited-file-name):
6252 Take account of inhibit-local-variables-regexps.
6253 Whether it applies may change as the file name is changed.
6254 * jka-cmpr-hook.el (jka-compr-install):
6255 * jka-compr.el (jka-compr-uninstall):
6256 Update for inhibit-first-line-modes-suffixes name change.
6257
dd6e3cdd
MR
62582012-01-20 Martin Rudalics <rudalics@gmx.at>
6259
6260 * help-macro.el (make-help-screen): Temporarily restore original
6261 binding for minor-mode-map-alist (Bug#10454).
6262
0d0deb38
JD
62632012-01-19 Julien Danjou <julien@danjou.info>
6264
6265 * color.el (color-name-to-rgb): Use the white color to find the max
6266 color component value and return correctly computed values.
6267 (color-name-to-rgb): Add missing float conversion for max value.
6268
34a02f46
MR
62692012-01-19 Martin Rudalics <rudalics@gmx.at>
6270
6271 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6272 special state value for window-persistent-parameters.
6273 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6274 (window--state-put-2): Reset all window parameters to nil before
6275 assigning values of persistent parameters.
6276
606c44c4
AM
62772012-01-18 Alan Mackenzie <acm@muc.de>
6278
6279 Eliminate sluggishness and hangs in fontification of "semicolon
6280 deserts".
6281
cb882333
JB
6282 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6283 Change value 10000 -> 3000.
606c44c4
AM
6284 (c-state-safe-place): Reformulate so it doesn't stack up an
6285 infinite number of wrong entries in c-state-nonlit-pos-cache.
6286 (c-determine-limit-get-base, c-determine-limit): New functions to
6287 determine backward search limits disregarding literals.
6288 (c-find-decl-spots): Amend commenting.
6289 (c-cheap-inside-bracelist-p): New function which detects "={".
6290
6291 * progmodes/cc-fonts.el
6292 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6293 backward search.
6294 (c-font-lock-declarations): Fix an occurrence of point being
6295 undefined. Check additionally for point being in a bracelist or
6296 near a macro invocation without a semicolon so as to avoid a
6297 fruitless time consuming search for a declarator. Give a more
6298 precise search limit for declarators using the new
6299 c-determine-limit.
6300
f3860cea
GM
63012012-01-18 Glenn Morris <rgm@gnu.org>
6302
6303 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6304 (set-auto-mode): Doc fixes.
6305
1db03b16
GM
63062012-01-17 Glenn Morris <rgm@gnu.org>
6307
0e6038be
GM
6308 * isearch.el (search-nonincremental-instead): Fix doc typo.
6309
1db03b16
GM
6310 * dired.el (dired-insert-directory): Handle newlines in directory name.
6311 (dired-build-subdir-alist): Unescape newlines in directory name.
6312
4cb0aa75
MA
63132012-01-17 Michael Albinus <michael.albinus@gmx.de>
6314
6315 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6316 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6317 (tramp-action-terminal): Use it. (Bug#10530)
6318
1d00653d
SM
63192012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6322
6a6ee00d
MR
63232012-01-16 Martin Rudalics <rudalics@gmx.at>
6324
6325 * window.el (window-state-ignored-parameters): Remove variable.
6326 (window--state-get-1): Rename argument MARKERS to IGNORE.
6327 Handle persistent window parameters. Make copy of clone-of
6328 parameter only if requested. (Bug#10348)
6329 (window--state-put-2): Install a window parameter only if it has
6330 a non-nil value or an existing parameter shall be overwritten.
6331
97912def
MA
63322012-01-15 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6335
688070a5
EZ
63362012-01-14 Eli Zaretskii <eliz@gnu.org>
6337
6338 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6339 don't pass the (nil) value of `upnode' to string-match.
6340
301afadc
CY
63412012-01-14 Chong Yidong <cyd@gnu.org>
6342
6343 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6344 Fix values recognized by the cursorBlink resource.
301afadc 6345
9e5788aa
PE
63462012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6347
6348 * epg.el (epg--make-temp-file): Avoid permission race condition
6349 when running on old Emacs versions (bug#10403).
6350
3cdb7f5a
GM
63512012-01-14 Glenn Morris <rgm@gnu.org>
6352
6353 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6354
8c82b1b4
AM
63552012-01-13 Alan Mackenzie <acm@muc.de>
6356
6357 Fix filling for when filladapt mode is enabled.
6358
6359 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6360 c-mask-paragraph, pass in `fill-paragraph' rather than
6361 `fill-region-as-paragraph'. (This is a reversion of a previous
6362 change.)
eb864a71
LM
6363 * progmodes/cc-mode.el (c-basic-common-init):
6364 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6365
e517eda4
GM
63662012-01-13 Glenn Morris <rgm@gnu.org>
6367
1498536e
GM
6368 * dired.el (dired-switches-escape-p): New function.
6369 (dired-insert-directory): Use dired-switches-escape-p.
6370 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6371
e517eda4
GM
6372 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6373
328f984d
GM
63742012-01-12 Glenn Morris <rgm@gnu.org>
6375
6376 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6377 changes in adaptive-fill-regexp. (Bug#10276)
6378
2cc769a8
AM
63792012-01-11 Alan Mackenzie <acm@muc.de>
6380
6381 Fix Emacs bug #10463 - put `widen's around the critical spots.
6382
1d00653d 6383 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6384 widen around each invocation of c-state-pp-to-literal. Remove an
6385 unused let variable.
6386
e52c37fa
GM
63872012-01-11 Glenn Morris <rgm@gnu.org>
6388
6389 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6390 Doc fix.
e52c37fa 6391
96f8741e
CY
63922012-01-10 Chong Yidong <cyd@gnu.org>
6393
1d00653d
SM
6394 * net/network-stream.el (network-stream-open-starttls):
6395 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6396 response to the capability command.
6397
b09a806e
GM
63982012-01-10 Glenn Morris <rgm@gnu.org>
6399
6400 * mail/unrmail.el (unrmail): Tweak previous change.
6401
7655cb66
CY
64022012-01-09 Chong Yidong <cyd@gnu.org>
6403
6404 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6405
9d5a8f0b
AM
64062012-01-08 Alan Mackenzie <acm@muc.de>
6407
6408 Optimise font locking in long enum definitions.
6409
6410 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6411 arm to a cond form to handle enums.
6412 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6413 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6414
9a0115ab 64152012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6416
6417 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6418 (Bug#10401)
6bb72cbd 6419
f186bb95
LMI
64202012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
29232a68
LMI
6422 * faces.el (set-face-attribute): Clarify the meaning of the nil
6423 frame (bug#10294).
6424
4e5d086d
LMI
6425 * subr.el (with-selected-frame): Mention that the selected frame
6426 is restored (bug#9980).
6427
8e66aebe
LMI
6428 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6429 (bug#9759).
6430
cd394be1 6431 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6432 (password-read): Don't autoload unused function.
6433
adf4e762
JB
64342012-01-07 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * progmodes/which-func.el (which-func-mode): Turn into a
6437 non-interactive function and mark as obsolete (bug#10428).
6438
89bd9ccd
CY
64392012-01-06 Chong Yidong <cyd@gnu.org>
6440
6441 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6442 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6443 functions, along with 1 and -1.
6444
4afee9d5
EZ
64452012-01-06 Eli Zaretskii <eliz@gnu.org>
6446
6447 * time.el (display-time-load-average)
6448 (display-time-default-load-average): Doc fixes. See the thread
6449 starting at
6450 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6451 for the details.
6452
536aea70
GM
64532012-01-06 Glenn Morris <rgm@gnu.org>
6454
665ae865
GM
6455 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6456 has no messages. (Bug#10377)
6457
c869783d
GM
6458 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6459 than Info-edit. (Bug#10385)
6460
2bb4227e
GM
6461 * time.el (display-time-load-average, display-time-next-load-average):
6462 Doc fixes.
6463
7d5944b9
GM
6464 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6465 local setting of buffer-read-only to the input buffer. (Bug#10419)
6466
536aea70
GM
6467 * calendar/calendar.el (calendar-mode):
6468 Locally set scroll-margin to 0. (Bug#10379)
6469
7dccca16
UM
64702012-01-06 Ulrich Mueller <ulm@gentoo.org>
6471
6472 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6473
afbb7930
GM
64742012-01-05 Glenn Morris <rgm@gnu.org>
6475
6476 * eshell/em-unix.el (diff-no-select): Autoload it.
6477 (eshell/diff): Use diff-no-select. (Bug#10420)
6478
04482335
CY
64792012-01-05 Chong Yidong <cyd@gnu.org>
6480
7baca3bc
CY
6481 * shell.el (shell-dynamic-complete-functions): Revert last change.
6482 (shell-command-completion-function): New function.
6483 (shell-completion-vars): Use it to implement
6484 shell-completion-execonly (Bug#10417).
6485
04482335
CY
6486 * custom.el (enable-theme): Don't set custom-safe-themes.
6487
1d00653d
SM
6488 * cus-theme.el (custom-theme-merge-theme):
6489 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6490
bb5aa5d6
MM
64912012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6492
6493 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6494 first prompt in `sql-interacive-mode'.
6495 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6496 keywords.
6df6ae42 6497 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6498 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6499 context of original buffer. Invoke `sql-login-hook'.
6500
a7183d7c
EZ
65012012-01-04 Eli Zaretskii <eliz@gnu.org>
6502
6503 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6504 letters in cite-prefix.
6505
a1eacd1e
LMI
65062012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507
6508 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6509
787cdb34
CY
65102012-01-03 Chong Yidong <cyd@gnu.org>
6511
1d00653d
SM
6512 * shell.el (shell-dynamic-complete-functions):
6513 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6514 comint-filename-completion first (Bug#10417).
6515
30710442
RS
65162012-01-02 Richard Stallman <rms@gnu.org>
6517
6518 * battery.el (battery-status-function):
6519 Detect when to use battery-yeeloong-sysfs.
6520 (battery-echo-area-format): Add string for Yeeloong.
6521 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6522 (battery-yeeloong-sysfs): New function.
6523
f75bfc33
CY
65242012-01-02 Chong Yidong <cyd@gnu.org>
6525
6526 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6527 (dirtrack): Merge code for handling relative filenames in prompt
6528 from shell-dir-cookie-watcher.
6529 (dirtrack-debug-message): New arg to avoid excess format calls.
6530
6531 * shell.el (shell-dir-cookie-re): Variable deleted.
6532 (shell-dir-cookie-watcher): Function deleted.
6533 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6534 with dirtrack-mode.
6535
651e947e
EZ
65362012-01-01 Eli Zaretskii <eliz@gnu.org>
6537
1d00653d
SM
6538 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6539 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6540 libgnutls-26.dll.
6541
94d4c7dc
AS
65422011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6543
6544 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6545
8d43f3cd
EZ
65462011-12-31 Eli Zaretskii <eliz@gnu.org>
6547
6548 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6549 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6550
98c8795a
MA
65512011-12-29 Michael Albinus <michael.albinus@gmx.de>
6552
6553 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6554 also for alternative shells.
6555 (tramp-open-connection-setup-interactive-shell): Check, whether
6556 the shell is a busybox.
6557 (tramp-send-command): Don't suppress multiple prompts for
6558 busyboxes, it hurts.
6559
51281b32
CY
65602011-12-28 Chong Yidong <cyd@gnu.org>
6561
6562 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6563 (gdb-get-source-file): Move mode line update to
6564 gdb-get-source-file (Bug#10087).
6565
2170cb53
CY
65662011-12-25 Chong Yidong <cyd@gnu.org>
6567
6568 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6569 gud-gdb-marker-filter without taking it as an argument.
6570 (gud-gdb-run-command-fetch-lines): Caller changed.
6571 (gud-gdb-completion-function): New variable.
6572 (gud-gdb-completion-at-point): Use it.
6573 (gud-gdb-completions-1): Split from gud-gdb-completions.
6574
6575 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6576 function as separate arguments.
6577 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6578 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6579 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6580 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6581 (gdb-stopped, def-gdb-auto-update-trigger)
6582 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6583 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6584 Callers changed.
2170cb53
CY
6585 (gud-gdbmi-completions): New function.
6586 (gdb): Use it for generating the completion table.
6587
be8b11bb
AM
65882011-12-24 Alan Mackenzie <acm@muc.de>
6589
6590 Introduce a mechanism to widen the region used in context font
1d00653d 6591 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6592
1d00653d
SM
6593 * progmodes/cc-langs.el (c-before-font-lock-functions):
6594 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6595 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6596 functions to be run just before context (etc.) font locking.
6597
6598 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6599 New, functionality extracted from
be8b11bb 6600 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6601 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6602 (c-after-change): Set c-in-after-change-fontification.
6603 (c-set-fl-decl-start): Rejig its interface, so it can be called
6604 from both after-change and context fontifying.
b81d40f0
JB
6605 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6606 New functions.
6607 (c-standard-font-lock-fontify-region-function): New variable.
6608 (c-font-lock-fontify-region): New function.
be8b11bb 6609
341cf6ac
JL
66102011-12-24 Juri Linkov <juri@jurta.org>
6611
6612 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6613 (Bug#10348)
6614
bffcee0a
MA
66152011-12-23 Michael Albinus <michael.albinus@gmx.de>
6616
6617 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6618 existence of source file. (Bug#10325)
6619
cb5e207c
AM
66202011-12-23 Alan Mackenzie <acm@muc.de>
6621
6622 Fix unstable fontification inside templates.
6623
b81d40f0
JB
6624 * progmodes/cc-langs.el (c-before-font-lock-functions):
6625 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6626 additionally has c-set-fl-decl-start. The other languages (apart
6627 from AWK) have that as a single entry.
6628
b81d40f0
JB
6629 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6630 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6631 c-set-fl-decl-start.
6632
b81d40f0
JB
6633 * progmodes/cc-mode.el (c-common-init, c-after-change):
6634 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6635 (c-set-fl-decl-start): New function, extracted from
6636 c-font-lock-enclosing-decls and enhanced.
6637
60ff536c
JB
66382011-12-23 Juanma Barranquero <lekktu@gmail.com>
6639
6640 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6641
1c4757d6
JL
66422011-12-22 Juri Linkov <juri@jurta.org>
6643
6644 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6645
d031f2c7
CY
66462011-12-22 Chong Yidong <cyd@gnu.org>
6647
6648 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6649
bace743a
DA
66502011-12-21 Drew Adams <drew.adams@oracle.com>
6651
6652 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6653
728a1f2b
JC
66542011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6655
6656 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6657
0d373f73
TZ
66582011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6659
fec0aaa4
TZ
6660 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6661 highlighting and support. Fix up comments for capitalization.
6662 (cfengine-mode-debug): New var.
6663 (cfengine3-mode): Change the modeline indicator to "CFE3".
6664 (cfengine3-font-lock-keywords): Improve defun highlighting.
6665 (cfengine2-actions): Rename from `cfengine-actions'.
6666 (cfengine2-font-lock-keywords): Rename from
6667 `cfengine-font-lock-keywords'.
6668 (cfengine2-imenu-expression): Rename from
6669 `cfengine-imenu-expression'.
6670 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6671 (cfengine2-beginning-of-defun): Rename from
6672 `cfengine-beginning-of-defun'.
6673 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6674 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6675 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6676 modeline indicator to "CFE2".
6677 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6678 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6679
bc86f573
CY
66802011-12-21 Chong Yidong <cyd@gnu.org>
6681
6682 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6683 filename argument.
6684
d45ba96b
MR
66852011-12-20 Martin Rudalics <rudalics@gmx.at>
6686
6687 * window.el (window-normalize-buffer-to-display): Remove.
6688 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6689
a6198c90
CY
66902011-12-19 Chong Yidong <cyd@gnu.org>
6691
6692 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6693 Don't signal an error in a predicate function; return non-nil.
6694 (vc-dir-mark-file): Move the error here.
6695 (vc-dir-mark-unmark): If acting on the region, keep going if one
6696 of the entries cannot be marked/unmarked.
6697 (vc-dir-mark-all-files): If current entry is a directory, mark
6698 only child files, as documented.
6699
34c5fb55
VB
67002011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6701
6702 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6703 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6704 addition.
6705
c803b2b7
JD
67062011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6707
6708 * term/ns-win.el (ns-get-selection-internal)
6709 (ns-store-selection-internal): Declare.
1154d12e
JB
6710 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6711 Declare as obsolete.
6712 (ns-get-pasteboard, ns-paste-secondary):
6713 Use ns-get-selection-internal.
6714 (ns-set-pasteboard, ns-copy-including-secondary):
6715 Use ns-store-selection-internal.
c803b2b7 6716
9cff91f8 67172011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6718
6719 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6720 (vc-deduce-fileset): Doc fix.
99a289d9 6721
f16c898a
AS
67222011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6723
6724 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6725
763237c4
SS
67262011-12-13 Sam Steingold <sds@gnu.org>
6727
6728 * man.el (Man-getpage-in-background): When running under a
6729 window-system, ignore $MANWIDTH and $COLUMNS.
6730
5fc1c122
KH
67312011-12-15 Kenichi Handa <handa@m17n.org>
6732
6733 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6734 (setup-ethiopic-environment-internal): Comment out key-binding for
6735 ethio-toggle-punctuation.
6736
13d49cbb
AM
67372011-12-13 Alan Mackenzie <acm@muc.de>
6738
898169a2
AM
6739 Add the switch statement to AWK Mode.
6740
7a71b18d 6741 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6742 "default" to the keywords regexp.
6743
7a71b18d 6744 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6745 expression as the rest.
1d00653d
SM
6746 (c-nonlabel-token-key): Allow string literals for AWK.
6747 Refactor for the other modes.
898169a2 6748
13d49cbb 6749 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6750 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6751 routines. Limit backward searching in c-font-lock-enclosing.decl.
6752
6753 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6754 pp-state and literal type in addition to the limits.
1d00653d 6755 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6756 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6757 (c-slow-in-literal, c-fast-in-literal): Remove.
6758 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6759
6760 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6761 being in a literal. Add a limit for backward searching.
6762
6763 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6764 c-slow-in-literal.
6765
15e0efc7
SM
67662011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6769
454592a6
MR
67702011-12-13 Martin Rudalics <rudalics@gmx.at>
6771
6772 * window.el (delete-other-windows): Use correct frame in call to
6773 window-with-parameter.
6774
87393f26
DP
67752011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6776
6777 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6778 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6779 (makefile-gmake-statements, makefile-makepp-statements):
6780 Use it and add new makepp keywords.
6781 (makefile-makepp-font-lock-keywords): Add new patterns.
6782 (makefile-match-function-end): Match new [...] and [[...]].
6783
11636b22
JB
67842011-12-11 Juanma Barranquero <lekktu@gmail.com>
6785
6786 * ses.el (ses-call-printer-return, ses-cell-property-get)
6787 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6788 (ses-create-cell-variable, ses-reset-header-string)
6789 (ses-cell-set-formula, ses-repair-cell-reference-all)
6790 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6791 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6792 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6793 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6794 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6795 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6796 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6797 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6798 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6799 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6800 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6801 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6802
cf018193
VB
68032011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6804
6805 * ses.el: The overall change is to add cell renaming, that is
6806 setting fancy names for cell symbols other than name matching
6807 "\\`[A-Z]+[0-9]+\\'" regexp .
6808 (ses-create-cell-variable): New defun.
6809 (ses-relocate-formula): Relocate formulas only for cells the
6810 symbols of which are not renamed, i.e. symbols whose names do not
6811 match regexp "\\`[A-Z]+[0-9]+\\'".
6812 (ses-relocate-all): Relocate values only for cells the symbols of
6813 which are not renamed.
6814 (ses-load): Create cells variables as the (ses-cell ...) are read,
6815 in order to check row col consistency with cell symbol name only
6816 for cells that are not renamed.
6817 (ses-replace-name-in-formula): New defun.
6818 (ses-rename-cell): New defun.
6819
ee957461
CY
68202011-12-11 Chong Yidong <cyd@gnu.org>
6821
6822 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6823 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6824
9a9e9ef0
MR
68252011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6826
6827 * window.el (other-window): Fix docstring.
6828
92a8eba5
EZ
68292011-12-10 Eli Zaretskii <eliz@gnu.org>
6830
6831 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6832 `from' or `to' address before taking its substring.
6833 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6834 encoded name is chopped in the middle of the encoded string, and
6835 thus displayed encoded.
6836
e152e577
JB
68372011-12-10 Juanma Barranquero <lekktu@gmail.com>
6838
6839 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6840
e5d84bfe
EZ
68412011-12-10 Eli Zaretskii <eliz@gnu.org>
6842
6843 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6844 to use texinfo-update-node and commands that call it if the
6845 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6846 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6847 (texinfo-all-menus-update, texinfo-master-menu)
6848 (texinfo-update-node, texinfo-every-node-update)
6849 (texinfo-multiple-files-update): Doc fix. Warn against updating
6850 all the @node lines.
6851 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6852 argument is numeric. Explain better in the doc string what the
6853 function really does.
6854 (texinfo-insert-master-menu-list): Improve the error message
6855 displayed if there's no menu in the Top node.
6856 (Bug#2975) See also this thread:
e5d84bfe
EZ
6857 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6858
1d84e9bb
MG
68592011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6860
6861 * speedbar.el (speedbar-supported-extension-expressions):
6862 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6863
382c953b
JB
68642011-12-09 Juanma Barranquero <lekktu@gmail.com>
6865
6866 * printing.el (pr-mode-alist):
6867 * simple.el (filter-buffer-substring-functions)
6868 (completion-list-insert-choice-function):
6869 * window.el (window-with-parameter, window-atom-root)
6870 (window-sides-slots, window-size-fixed, window-min-delta)
6871 (window-max-delta, window--resize-mini-window)
6872 (window--resize-child-windows-normal, window-tree)
6873 (delete-other-windows, quit-window, split-window)
6874 (display-buffer-record-window, special-display-buffer-names)
6875 (special-display-regexps, special-display-popup-frame)
6876 (same-window-p, split-window-sensibly)
6877 (display-buffer-overriding-action, display-buffer-alist)
6878 (display-buffer-base-action, display-buffer, switch-to-buffer)
6879 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6880 (fit-window-to-buffer, recenter-positions)
6881 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6882 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6883 and remove unneeded backslashes in docstrings.
6884
39c9faef
SM
68852011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6886
98449af8
SM
6887 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6888
39c9faef
SM
6889 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6890 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6891 end in ".mk".
6892 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6893 when reading the makefile (bug#10116).
6894
86ed9fdc
SM
68952011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6898 (bug#10116).
6899
5580f89d
GM
69002011-12-06 Glenn Morris <rgm@gnu.org>
6901
6902 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6903
28d3917c
CY
69042011-12-06 Chong Yidong <cyd@gnu.org>
6905
6906 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6907
a98edce9
JB
69082011-12-06 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * textmodes/table.el (table-shorten-cell): Fix typo.
6911
e65adfac
CG
69122011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6913
6914 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6915
71cc0b74
EZ
69162011-12-05 Eli Zaretskii <eliz@gnu.org>
6917
6918 * descr-text.el (describe-char): Fix display of strong
6919 right-to-left characters and directional embeddings and overrides.
6920
6921 * simple.el (what-cursor-position): Fix display of codepoints of
6922 strong right-to-left characters.
6923
315bc30d
CY
69242011-12-05 Chong Yidong <cyd@gnu.org>
6925
6926 * faces.el (read-color): Doc fix.
6927
58a70b94
GM
69282011-12-05 Glenn Morris <rgm@gnu.org>
6929
6930 * align.el (align--set-marker): Add doc-string.
6931 Don't try to move something that is not a marker. (Bug#10216)
6932
5158face
GM
69332011-12-04 Glenn Morris <rgm@gnu.org>
6934
6935 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6936 overly zealous deletion of trailing whitespace.
6937
520fca41
JB
69382011-12-04 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * server.el (server-delete-client): On Windows, do not try to delete
6941 the only terminal.
6942 (server-process-filter): On Windows, treat requests for a tty frame as
6943 if they were for a GUI frame if the running server is in GUI mode.
6944
5e605a2e
GM
69452011-12-03 Glenn Morris <rgm@gnu.org>
6946
6947 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6948
5c3fe83f
SM
69492011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6f5e57e7
SM
6951 * electric.el: Streamline electric-indent's hook.
6952 (electric-indent-chars): Revert to simple list.
6953 (electric-indent-functions): New var.
6954 (electric-indent-post-self-insert-function): Use it.
6955
5c3fe83f
SM
6956 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6957 there's no inferior buffer (bug#10196).
6958 (prolog-consult-compile): Don't use toggle-read-only.
6959
6bdac736
MA
69602011-12-02 Michael Albinus <michael.albinus@gmx.de>
6961
6962 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6963 interrupt. (Bug#10187)
6964
6131ba7f
SM
69652011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6966
99c79fee
SM
6967 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6968 (bug#9160).
6969
6131ba7f
SM
6970 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6971 (bug#10191).
6972
cb0a02ea
JL
69732011-12-02 Juri Linkov <juri@jurta.org>
6974
6975 * info.el (Info-search): Display "end of manual" when Isearch
6976 reaches the end of single-file Info manual. (Bug#9918)
6977
66e0570c
EZ
69782011-12-02 Eli Zaretskii <eliz@gnu.org>
6979
6980 * isearch.el (isearch-message-prefix): Run the input method part
6981 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6982
02b16839
JL
69832011-12-02 Juri Linkov <juri@jurta.org>
6984
6985 * isearch.el (isearch-occur): Use `word-search-regexp' for
6986 `isearch-word'.
6987 (isearch-search-and-update): Add condition for `isearch-word' and
6988 call `word-search-regexp'. (Bug#10145)
6989
0b950688
GM
69902011-12-01 Glenn Morris <rgm@gnu.org>
6991
6992 * eshell/em-hist.el (eshell-hist-initialize):
6993 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6994 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6995
9505c3c7
SM
69962011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6999
1bbe96b2 70002011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7001
a1beca85
SM
7002 * progmodes/verilog-mode.el (verilog-pretty-expr):
7003 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7004 verilog, such as += *= and the like.
7005 (verilog-assignment-operator-re): Regular expression to find the
7006 assigment operator in a verilog assignment.
7007 (verilog-assignment-operation-re): Regular expression to find an
7008 assignment statement for pretty-expr.
7009 (verilog-in-attribute-p): Query returns true if point is in an
7010 attribute context; used to skip these for expression line up from
7011 pretty-expr.
7012 (verilog-in-parameter-p): Query returns true if point is in an
7013 parameter definition context; used to skip these for expression
7014 line up from pretty-expr.
7015 (verilog-in-parenthesis-p): Query returns true if point is in a
7016 parenthetical expression, specifically ( ) but not [ ] or { };
7017 used by pretty-expr.
7018 (verilog-just-one-space): If there is no space, don't add one.
7019 (verilog-get-lineup-indent-2): Specifically skip just attribute
7020 contexts for expression lineup, rather than skipping all
7021 parenthetical expressions.
7022 (verilog-calculate-indent): Fix comment, and fix indent.
7023 (verilog-do-indent): Indent declarations in lists (suggested by
7024 Joachim Lechner).
7025 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7026 skeleton items.
7027 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7028 by Alain Mellan).
7029
1bbe96b2 70302011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7031
7032 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7033 parameters with embedded comments. Reported by Ray Stevens.
7034 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7035 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7036 Reported by Tim Holt.
7037 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7038 instantiated by upper module causing wrong expansion until AUTOed a
7039 second time. Reported by K C Buckenmaier.
7040 (verilog-diff-auto): Fix showing .* as a difference when
7041 `verilog-auto-star-save' off. Reported by Dan Dever.
7042 (verilog-auto-reset, verilog-read-always-signals)
7043 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7044 temporary signals in reset list if
7045 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7046 style to each signal's assignment type, bug381.
7047 Reported by Thomas Esposito.
6288f0ca
WS
7048 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7049 (verilog-uvm-statement-re): Support UVM indentation and
7050 highlighting, with old OVM keywords only.
a1beca85 7051 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7052 Support AUTOTIEOFF creating non-wire data types.
7053 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7054 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7055 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7056 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7057 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7058 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7059 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7060 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7061 non-numeric vector width. Reported by Alex Reed.
7062 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7063 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7064 (verilog-auto-delete-trailing-whitespace):
7065 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7066 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7067 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7068 Fix verilog-scan-cache corruption when running user AUTO expansion
7069 hooks that call indentation routines.
7070 (verilog-simplify-range-expression): Fix typo ignoring lower case
7071 identifiers.
7072 (verilog-delete-auto): Fix delete-autos to also remove user created
7073 automatics, as long as they start with AUTO.
7074 (verilog-batch-diff-auto, verilog-diff-auto)
7075 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7076 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7077 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7078 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7079 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7080 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7081 is disabled and its cache will get corrupt, causing AUTOS not to
7082 expand. Instead use only -quick functions.
7083 (verilog-scan-region): Fix scanning over escaped quotes.
7084 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7085 (verilog-re-search-backward-quick)
7086 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7087 related functions now ignore strings, to fix misparsing of strings
7088 with magic comments embedded in them.
a1beca85
SM
7089 (verilog-read-auto-template):
7090 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7091 Reported by Brad Dobbie.
7092 (verilog-read-auto-template):
7093 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7094 Reported by Brad Dobbie.
6288f0ca
WS
7095 (verilog-auto-inst, verilog-auto-inst-param)
7096 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7097 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7098 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7099 debugging templates without merge conflicts, bug357.
7100 Reported by Brad Dobbie.
7101 (verilog-read-auto-template):
7102 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7103 Reported by Brad Dobbie.
7104 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7105 abbrevs so user won't be asked to save.
7106 (verilog-read-auto-lisp-present): Fix to start at beginning of
7107 buffer in case called outside of verilog-auto.
7108 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7109 to "X-2". Reported by Matthew Myers.
7110 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7111 all inputs from module templates. Reported by Leith Johnson.
7112 (verilog-module-inside-filename-p): Fix locating programs as with
7113 modules.
7114 (verilog-auto-inst-port): Fix vl-width expressions when using
7115 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7116 (verilog-decls-get-regs, verilog-decls-get-signals,
7117 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7118 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7119 verilog-read-decls): Combine reg and wire structures into one var
7120 structure to represent SystemVerilog concepts.
7121 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7122 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7123 (verilog-auto-wire-type, verilog-insert-definition):
7124 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7125 SystemVerilog "logic" keyword instead of "wire"/"reg".
7126 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7127 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7128 ifdef or generate if so there's not a driver conflict).
7129 Reported by Matthew Myers.
7130 (verilog-auto-declare-nettype, verilog-insert-definition):
7131 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7132 `default_nettype none. Reported by Julian Gorfajn.
7133 (verilog-read-always-signals-recurse, verilog-read-decls)
7134 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7135 malformed end statement, bug325. Reported by Joshua Wise and
7136 Andrew Drake.
7137 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7138 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7139 when expanding .* in interfaces, bug320.
7140 Reported by Pierre-David Pfister.
6288f0ca 7141 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7142 name and open parenthesis, bug317.
7143 Reported by Pierre-David Pfister.
6288f0ca
WS
7144 (verilog-simplify-range-expression): Fix simplification of
7145 multiplications inside AUTOWIRE connections, bug303.
7146 (verilog-auto-inst-port): Support parameter expansion in
7147 multidimensional arrays.
7148 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7149 after "assert property". Reported by Julian Gorfajn.
7150 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7151 with multiplication, bug303.
7152 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7153 Reported by Jan Frode Lonnum.
7154
1bbe96b2
GM
71552011-11-30 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7158 (hfy-shell-file-name, hfy-shell):
7159 * international/fontset.el (x-decompose-font-name): Fix typos.
7160
71612011-11-29 Ken Brown <kbrown@cornell.edu>
7162
7163 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7164 (gdb-version): Remove defvar.
7165 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7166 (gdb-gud-context-command, gdb-non-stop-handler)
7167 (gdb-current-context-command, gdb-stopped): Use it.
7168 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7169 (gdb-non-stop-handler): Don't enable pretty-printing here.
7170 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7171 non-stop mode. Use the following.
7172 (gdb-check-target-async): New defun.
7173 (gud-watch, gdb-stopped): Fix whitespace.
7174 (gdb-get-source-file): Don't try to display the source file if
7175 `gdb-main-file' is nil.
7176
71772011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * align.el: Try to generate fewer markers (bug#10047).
7180 (align--set-marker): New macro.
7181 (align-region): Use it.
7182
c935221f
SM
71832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7186
e70b5064
CY
71872011-11-29 Chong Yidong <cyd@gnu.org>
7188
7189 * indent.el (indent-for-tab-command, indent-according-to-mode):
7190 Doc fix.
7191 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7192
f3af92b7
MA
71932011-11-29 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7196 aware of remote file names. (Bug#10124)
7197
ed472be9
CY
71982011-11-29 Chong Yidong <cyd@gnu.org>
7199
7200 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7201
24510c22
SM
72022011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * files.el (find-file): Don't use force-same-window (bug#10144).
7205 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7206 use pop-to-buffer if the selected window can't be used.
7207 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7208
c60c3703
EZ
72092011-11-28 Eli Zaretskii <eliz@gnu.org>
7210
7211 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7212 special-mode-map.
7213
e95def75
CY
72142011-11-28 Chong Yidong <cyd@gnu.org>
7215
7216 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7217
c3f1c606
NR
72182011-11-27 Nick Roberts <nickrob@snap.net.nz>
7219
7220 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7221 gdb-get-source-file-list on gdb-create-source-file-list.
7222
00db469c
EZ
72232011-11-26 Eli Zaretskii <eliz@gnu.org>
7224
7225 * whitespace.el (whitespace-newline): Use a different foreground
7226 color for 16-color light-background displays.
7227
4ad3bc2a
CY
72282011-11-24 Chong Yidong <cyd@gnu.org>
7229
7230 * window.el (display-buffer--special-action): Doc fix.
7231
e9fce1ac
JB
72322011-11-25 Juanma Barranquero <lekktu@gmail.com>
7233
7234 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7235 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7236 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7237 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7238 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7239 (avl-tree-stack-first):
7240 * emacs-lisp/cconv.el (cconv--analyse-use):
7241 * net/gnutls.el (gnutls-negotiate): Fix typos.
7242
cb825e5d
GM
72432011-11-24 Glenn Morris <rgm@gnu.org>
7244
3adbe224
GM
7245 * lpr.el (lpr-windows-system, lpr-lp-system):
7246 * mail/binhex.el (binhex-begin-line):
7247 * progmodes/grep.el (grep-history, grep-find-history):
7248 * textmodes/flyspell.el:
7249 * vc/pcvs-defs.el (cvs-global-menu):
7250 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7251 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7252 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7253
321decc8
GM
7254 * net/tls.el: Fix case of "GnuTLS".
7255
420b63ad
GM
7256 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7257
cb825e5d
GM
7258 * version.el (emacs-build-system): Give it a doc-string.
7259
a0649f08
JL
72602011-11-24 Juri Linkov <juri@jurta.org>
7261
7262 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7263
c0bc0fd4
GM
72642011-11-24 Glenn Morris <rgm@gnu.org>
7265
7266 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7267 if called on a non-mime message just toggle the headers. (Bug#8006)
7268
20db1522
JB
72692011-11-24 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7272 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7273 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7274 (allout-rebullet-heading, allout-open-sibtopic)
7275 (allout-toggle-current-subtree-encryption)
7276 (allout-toggle-subtree-encryption, allout-encrypt-string)
7277 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7278 (allout-distinctive-bullets-string, allout-auto-activation):
7279 * window.el (window-normalize-buffer-to-display):
7280 * progmodes/verilog-mode.el (verilog-batch-indent):
7281 * textmodes/bibtex.el (bibtex-field-braces-opt)
7282 (bibtex-field-strings-opt):
7283 * vc/cvs-status.el (cvs-tree-merge):
7284 Fix typos.
7285
7262a87c
MA
72862011-11-23 Michael Albinus <michael.albinus@gmx.de>
7287
7288 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7289 `non-essential' to t, in order to avoid remote connections.
7290
283430a1
EZ
72912011-11-23 Eli Zaretskii <eliz@gnu.org>
7292
a1beca85
SM
7293 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7294 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7295 case-insensitively.
7296
d2992a38
ML
72972011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7298
7299 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7300
50419064
GM
73012011-11-23 Glenn Morris <rgm@gnu.org>
7302
da94eca1
GM
7303 * paths.el (rmail-file-name): Reformat the doc-string so that it
7304 is picked up.
7305
9aac4de2
GM
7306 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7307 (rmail-auto-file): Ignore case in the "special" field names,
7308 as mail-fetch-field does for all others.
7309
8038d2d2
GM
7310 * mail/rmail.el (rmail-forward):
7311 * mail/rmailkwd.el (rmail-set-label):
7312 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7313 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7314
f3fe222a
GM
7315 * mail/rmail.el (rmail-current-message): Doc fix.
7316
50419064
GM
7317 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7318
28109f49
SM
73192011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7322
394c65f1
GM
73232011-11-22 Glenn Morris <rgm@gnu.org>
7324
7325 * mail/rmailmm.el (test-rmail-mime-handler)
7326 (test-rmail-mime-bulk-handler)
7327 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7328
f2a0aa3a
JL
73292011-11-21 Juri Linkov <juri@jurta.org>
7330
1154d12e
JB
7331 * calc/calc.el (calc-read-key-sequence):
7332 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7333
9c34a344
LMI
73342011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335
7336 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7337 Tell the caller that the next line needs recomputation, even
7338 though it doesn't start a sexp (bug#10094).
7339
f04a3be9
SM
73402011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7343
7978747f
SM
73442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7345
f04a3be9
SM
7346 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7347 Use force-same-window.
7978747f 7348
fe7a3057
JB
73492011-11-20 Juanma Barranquero <lekktu@gmail.com>
7350
7351 * descr-text.el (describe-char-unicode-data):
7352 * json.el (json-string-escape):
7353 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7354 (Footnote-unicode, Footnote-style-p):
7355 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7356
24901d61
CY
73572011-11-20 Chong Yidong <cyd@gnu.org>
7358
7359 * window.el (replace-buffer-in-windows): Restore interactive spec.
7360
bac7ff22
SM
73612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7362
24f3d7b9
SM
7363 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7364
bac7ff22
SM
7365 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7366 (byte-compile-global-not-obsolete-vars): New var.
7367 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7368 Use it.
7369 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7370
cd1181db
JB
73712011-11-20 Juanma Barranquero <lekktu@gmail.com>
7372
7373 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7374 * progmodes/pascal.el (electric-pascal-equal):
7375 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7376 * xml.el (xml-substitute-special): Fix typos.
7377
7fb18e9e
GM
73782011-11-20 Glenn Morris <rgm@gnu.org>
7379
7380 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7381 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7382 Doc fixes.
7383 (rmail-decode-mime-charset): Mark as obsolete.
7384
7385 * mail/rmailsum.el (rmail-message-regexp-p-1):
7386 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7387 Before using mime functions, check they are set. (Bug#10077)
7388
d5a6b3ba
JL
73892011-11-19 Juri Linkov <juri@jurta.org>
7390
7391 * info.el (Info-finder-find-node): Use `package--builtins' instead
7392 of `package-alist'. Use node names formed by the pattern "Keyword "
7393 and the keyword name.
7394
e981b61f
AS
73952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7396
1d00653d 7397 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7398
3ffbc301
JL
73992011-11-19 Juri Linkov <juri@jurta.org>
7400
7401 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7402 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7403 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7404 `old-history', `old-history-forward'. Add let-binding
7405 `window-selected'. Remove calls to `kill-buffer',
7406 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7407 before calling `Info-find-node', so `Info-find-node-2' will reread
7408 the Info file. Restore window positions only when `window-selected'
7409 is non-nil.
7410
30c62133
JL
74112011-11-19 Juri Linkov <juri@jurta.org>
7412
7413 * isearch.el (isearch-lazy-highlight-new-loop):
7414 Remove condition `(not isearch-error)'. (Bug#9918)
7415
7416 * misearch.el (multi-isearch-search-fun): Add condition
7417 `(not bound)' to ignore lazy-highlighting search.
7418 Add the search-failed message "end of multi" when the end of
7419 multi-sequence is reached. Uncapitalize the search-failed
7420 message "Repeat for next buffer".
7421
7422 * info.el (Info-search): Add the search-failed message
7423 "end of the manual" when the end of the manual is reached
7424 in Isearch mode.
7425
645ca9cf
JL
74262011-11-19 Juri Linkov <juri@jurta.org>
7427
7428 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7429 Use non-destructive `remove' instead of `delete' because
7430 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7431 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7432
df754f66
JL
74332011-11-19 Juri Linkov <juri@jurta.org>
7434
7435 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7436 to nil instead of binding `search-ring' and `regexp-search-ring'.
7437 (Bug#9185)
7438
0e23d96a
EZ
74392011-11-19 Eli Zaretskii <eliz@gnu.org>
7440
7441 * simple.el (line-move): Force movement by logical lines for any
7442 hscrolled window, not only when auto-hscroll-mode is on.
7443 (line-move-visual): Update doc string to that effect. (Bug#10076)
7444
8a6ccb66
AS
74452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7446
7447 * language/european.el (macintosh): Define as alias for mac-roman.
7448
49ae5b39
EZ
74492011-11-19 Eli Zaretskii <eliz@gnu.org>
7450
7451 * mail/rmailmm.el (rmail-mime-display-header)
7452 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7453 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7454 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7455 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7456 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7457 of a raw aref.
7458 (rmail-mime-entity-segment): To get past the tagline, move forward
7459 2 more lines, to account for the 2 empty lines that precede and
7460 follow the line with the buttons.
7461 (rmail-mime-update-tagline): Move one more line, to get past the
7462 empty line that follows the buttons in the tagline. (Bug#9520)
7463
c56cad4a
MR
74642011-11-19 Martin Rudalics <rudalics@gmx.at>
7465
7466 * window.el (window-max-delta-1, window-min-delta-1)
7467 (window-min-size-1, window-state-get-1, window-state-put-1)
7468 (window-state-put-2): Use "window--" prefix.
7469
cbe71af3
SM
74702011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7471
2ad52c60
SM
7472 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7473 (smie-warning-count): New var.
7474 (smie-set-prec2tab): Use it.
7475 (smie-bnf->prec2): Improve warnings. Add docstring.
7476 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7477 (smie-bnf--set-class): New function.
7478 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7479 corner case.
7480
6944dbc1
SM
7481 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7482 (compilation-error-properties, compilation-move-to-column):
7483 Handle compilation-first-column while in the target buffer.
7484
c400c4d7
SM
7485 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7486 Don't hardcode point-min==1.
7487
6dbe3e96
SM
7488 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7489 (eshell-rewrite-for-command): Remove workaround.
7490 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7491 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7492 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7493
cbe71af3
SM
7494 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7495
a8e1496d
GM
74962011-11-17 Glenn Morris <rgm@gnu.org>
7497
7498 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7499 Ignore buffer-local generated-autoload-file if it is the same
7500 as the global value. (Bug#10049)
7501
df85d315
JB
75022011-11-17 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7505 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7506 (reftex-toc-previous-heading, reftex-toc-max-level)
7507 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7508 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7509 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7510 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7511 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7512 (reftex-toc-rename-label, reftex-toc-visit-location)
7513 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7514 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7515 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7516 leaving "*toc*" only for references to the buffer.
7517
a0c2d0ae
MR
75182011-11-17 Martin Rudalics <rudalics@gmx.at>
7519
7520 * window.el (window-resize, delete-window, split-window):
7521 Replace window-splits by window-combination-resize.
1d00653d 7522 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7523
35c0bac8
GM
75242011-11-17 Glenn Morris <rgm@gnu.org>
7525
7526 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7527 Make bash entry derive from sh entry, not shell entry.
7528
d0c8fc8a
MA
75292011-11-16 Michael Albinus <michael.albinus@gmx.de>
7530
7262a87c
MA
7531 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7532 local file name.
7533
7877f373
JB
75342011-11-16 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * menu-bar.el (menu-bar-file-menu):
7537 * printing.el (pr-ps-utility):
7538 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7539 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7540 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7541 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7542 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7543 (icalendar--convert-cyclic-to-ical)
7544 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7545 (icalendar--convert-ical-to-diary)
7546 (icalendar--convert-recurring-to-diary)
7547 (icalendar--convert-non-recurring-all-day-to-diary)
7548 (icalendar-import-format-sample):
7549 * progmodes/idlw-shell.el (idlwave-shell-mode):
7550 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7551 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7552 (vhdl-ps-print-init): Fix typos.
7553
10649b82
KM
75542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7555
9d0cfcd6
GM
7556 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7557 FSF and collapse date sequence, obscure author/maintainer email address
7558 better, remove extra version line, track relocation of author's webpage.
10649b82 7559
9d0cfcd6
GM
7560 * progmodes/python.el (python-pdbtrack-input-prompt)
7561 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7562 regular python pdb prompts. Adjustments shamelessly taken exactly as
7563 suggested in EmacsWiki page (tiny change):
7564 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7565
58179cce
JB
75662011-11-16 Juanma Barranquero <lekktu@gmail.com>
7567
7568 * expand.el (expand-pos, expand-index, expand-point):
7569 Remove redundant info from docstring.
7570 (expand-add-abbrevs): Doc fix.
7571 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7572 (expand-sample-perl-mode-expand-list): Fix typos.
7573
7574 * net/dbus.el (dbus-event-member-name):
7575 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7576 * term/pc-win.el (msdos-create-frame-with-faces):
7577 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7578
b6f67890
MR
75792011-11-16 Martin Rudalics <rudalics@gmx.at>
7580
7581 * window.el (split-window, window-state-get-1)
7582 (window-state-put-1, window-state-put-2): Rename occurrences of
7583 window-nest to window-combination-limit.
1d00653d 7584 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7585
ce7ddba0
CY
75862011-11-16 Chong Yidong <cyd@gnu.org>
7587
7588 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7589 regexp (Bug#10033).
7590
3ae704f4
SM
75912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7592
7593 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7594 `completing-read' will remove *Completions* and will preserve
7595 current-buffer for us.
7596 (tmm-add-prompt): Users of *Completions* will always (re)set its
7597 major mode.
7598 (tmm-old-comp-map): Remove.
7599
6ad1cdde
GM
76002011-11-16 Glenn Morris <rgm@gnu.org>
7601
7602 * mail/rmailedit.el: Require rmailmm when compiling.
7603 (rmail-old-mime-state): New declaration.
7604 (rmail-edit-current-message): If editing a mime message,
7605 edit the "raw" message from the mbox buffer.
7606 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7607
d20faa20
GM
76082011-11-15 Glenn Morris <rgm@gnu.org>
7609
7610 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7611 which wasn't being used. Add optional arg to force given state.
7612 (rmail-mime): Add optional arg to force given state.
7613
c7015153
JB
76142011-11-15 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7617 * frame.el (display-mm-dimensions-alist):
7618 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7619 (outline-move-subtree-down):
7620 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7621 (newsticker--treeview-do-get-node):
7622 * net/quickurl.el (quickurl-list-buffer-name):
7623 * progmodes/dcl-mode.el (dcl-mode):
7624 * progmodes/gdb-mi.el (gdb-mapcar*):
7625 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7626
45261b50
GM
76272011-11-15 Glenn Morris <rgm@gnu.org>
7628
7629 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7630 in a boolean sense, so just make it a boolean, and fix the doc.
7631 (rmail-show-mime-function, rmail-mime-feature)
7632 (rmail-require-mime-maybe): Doc fixes.
7633 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7634
7635 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7636
0d26e0b6
JB
76372011-11-15 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7640 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7641 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7642 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7643
447f30f6
GM
76442011-11-15 Glenn Morris <rgm@gnu.org>
7645
672b871d
GM
7646 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7647 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7648 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7649 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7650 (rmail-mime, rmail-show-mime): Doc fixes.
7651
f6aa5bb1
GM
7652 * term/ns-win.el (mode-line-frame-identification):
7653 Leave it alone. (Bug#10051)
7654
947cd66b
GM
7655 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7656
447f30f6
GM
7657 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7658 Handle empty buffers. (Bug#9978)
7659
0b381c7e
JB
76602011-11-14 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * international/mule.el (define-charset):
7663 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7664 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7665 * progmodes/verilog-mode.el (verilog-backward-token):
7666 * textmodes/ispell.el (lookup-words):
7667 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7668
71e027ac
GM
76692011-11-14 Glenn Morris <rgm@gnu.org>
7670
56632ce4
GM
7671 * progmodes/executable.el
7672 (executable-make-buffer-file-executable-if-script-p):
7673 Handle file-modes returning nil.
7674
40500957
GM
7675 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7676 message - not necessary, and causes problems. (Bug#9831)
7677
071c2340
GM
7678 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7679
d3cfca60
GM
7680 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7681
71e027ac
GM
7682 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7683 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7684 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7685
89d61221
MR
76862011-11-12 Martin Rudalics <rudalics@gmx.at>
7687
7688 * window.el (window-resize, delete-window): Use window-splits
7689 variable instead of function.
7690 (window-state-get-1, window-state-put-2, window-state-put):
7691 Don't deal with windows' splits status.
7692
98282f6f
GM
76932011-11-12 Glenn Morris <rgm@gnu.org>
7694
7695 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7696 (apropos-documentation): Doc fixes.
7697
40a8bdf6
JB
76982011-11-11 Juanma Barranquero <lekktu@gmail.com>
7699
7700 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7701 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7702
65bd19ff
SM
77032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * electric.el (electric-indent-post-self-insert-function): Make it
7706 possible for a char to only indent in some circumstances.
7707 (electric-indent-mode): Simplify.
7708
54f9154c
MR
77092011-11-11 Martin Rudalics <rudalics@gmx.at>
7710
7711 * window.el (windows-with-parameter): Remove unused function.
7712 (windows-at-side): Rename to window-at-side-list.
7713 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7714 (window-side-check, window-size-ignore, window-size-fixed-1)
7715 (window-in-direction-2): Prefix with "window--".
7716 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7717
68cbc58b
GM
77182011-11-11 Glenn Morris <rgm@gnu.org>
7719
7720 * subr.el (eval-after-load): If FILE is already loaded,
7721 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7722
b2621720
GM
77232011-11-10 Glenn Morris <rgm@gnu.org>
7724
9a4de110
GM
7725 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7726 Call svn via vc-svn-command rather than vc-do-command.
7727 (vc-svn-command): Add --non-interactive. (Bug#9993)
7728 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7729
b2621720
GM
7730 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7731 Add toggle-read-only. (Bug#7292)
7732 * files.el (toggle-read-only): Mention that it should only
7733 be used interactively. (Bug#10006)
7734
1dce7193
SM
77352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7736
d9ac1a1e
SM
7737 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7738 Adjust regexp for OCaml warnings.
7739
0c325082
SM
7740 * electric.el (electric-pair-post-self-insert-function): Let user
7741 turn it off buffer-locally (bug#9932).
7742
90132c14
SM
7743 * progmodes/python.el (python-beginning-of-statement):
7744 Rewrite (bug#2703).
7745
1dce7193
SM
7746 * progmodes/compile.el: Better handle TABs (bug#9749).
7747 (compilation-internal-error-properties)
7748 (compilation-next-error-function): Obey the target buffer's
7749 compilation-error-screen-columns.
7750
c4e7c63a
JB
77512011-11-09 Juanma Barranquero <lekktu@gmail.com>
7752
7753 * progmodes/meta-mode.el: Remove obsolete comments.
7754 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7755 Fix typos in docstrings.
7756
2cffd681
MR
77572011-11-09 Martin Rudalics <rudalics@gmx.at>
7758
7759 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7760 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7761 (window--resizable): New function. Make all callers of
7762 window-resizable call window--resizable instead.
7763 (window-resizable): Rewrite in terms of window--resizable.
7764
0edcba87
GM
77652011-11-08 Glenn Morris <rgm@gnu.org>
7766
7767 * progmodes/delphi.el (delphi-mode-syntax-table):
7768 Let define-derived-mode define a proper syntax table. (Bug#9994)
7769
4b0d61e3
SM
77702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * window.el: Stay away from defsubst.
7773 (window-list-no-nils): Remove.
7774 (window-state-get-1, window-state-get): Use backquote instead.
7775
cd394be1 77762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7777
4b0d61e3 7778 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7779 Fix incorrect use of default argument in `completing-read'.
7780
e1c2c6f2
MR
77812011-11-08 Martin Rudalics <rudalics@gmx.at>
7782
7783 * window.el (display-buffer-function, special-display-function):
7784 Mention display-buffer-record-window but do not mention
7785 help-setup parameter in doc-strings.
b3f4a882 7786 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7787
105216ed
CY
77882011-11-08 Chong Yidong <cyd@gnu.org>
7789
7790 * window.el (window-total-height, window-total-width): Doc fix.
7791 (window-body-size): Move from C.
7792 (window-body-height, window-body-width): Move to C.
7793
0a9f9ab5
SM
77942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * window.el: Make special-display like display-buffer-alist (bug#9532).
7797 (display-buffer--special-action): New function, morphed
7798 from display-buffer--special.
7799 (display-buffer): Use it to handle special-display-buffers at higher
7800 priority (just after display-buffer-alist).
7801 (display-buffer-fallback-action, display-buffer--other-frame-action)
7802 (pop-to-buffer-same-window): Remove display-buffer--special.
7803
a769dd15
GM
78042011-11-07 Glenn Morris <rgm@gnu.org>
7805
7806 * calendar/cal-menu.el (cal-menu-set-date-title):
7807 Do nothing if not in a calendar. (Bug#9976)
7808
05a61ee3
SM
78092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * files.el (find-file): Always use selected-window.
7812
be7f5545
MR
78132011-11-07 Martin Rudalics <rudalics@gmx.at>
7814
7815 * window.el (window-combinations): Make WINDOW argument
7816 mandatory. Rewrite doc-string.
7817 (walk-window-subtree, window-atom-check, window-min-delta)
7818 (window-max-delta, window--resize-this-window)
7819 (window--resize-root-window-vertically, window-tree)
7820 (balance-windows, window-state-put): Rewrite doc-strings as to
7821 not mention the term "subwindow".
7822 (window--resize-subwindows-skip-p): Rename to
7823 window--resize-child-windows-skip-p.
7824 (window--resize-subwindows-normal): Rename to
7825 window--resize-child-windows-normal.
7826 (window--resize-subwindows): Rename to
7827 window--resize-child-windows.
7828 (window-or-subwindow-p): Rename to window--in-subtree-p.
7829
3c6702ef
ML
78302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7831
7832 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7833 Ensure that mbox format messages end in two newlines (Bug#9974).
7834
49745b39
CY
78352011-11-06 Chong Yidong <cyd@gnu.org>
7836
7837 * window.el (window-combination-p): Function deleted; its
7838 side-effect is not used in any existing code.
7839 (window-combinations, window-combined-p): Call window-*-child
7840 directly.
7841
24300f5f
CY
78422011-11-05 Chong Yidong <cyd@gnu.org>
7843
7844 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7845 (window-size-ignore, window-state-get): Callers changed.
7846 (window-normalize-window): Rename from window-normalize-any-window.
7847 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7848 (window-normalize-live-window): Delete.
447f16b8
CY
7849 (window-combination-p, window-combined-p, window-combinations)
7850 (walk-window-subtree, window-atom-root, window-min-size)
7851 (window-sizable, window-sizable-p, window-size-fixed-p)
7852 (window-min-delta, window-max-delta, window-resizable)
7853 (window-resizable-p, window-full-height-p, window-full-width-p)
7854 (window-current-scroll-bars, window-point-1, set-window-point-1)
7855 (window-at-side-p, window-in-direction, window-resize)
7856 (adjust-window-trailing-edge, maximize-window, minimize-window)
7857 (window-deletable-p, delete-window, delete-other-windows)
7858 (record-window-buffer, unrecord-window-buffer)
7859 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7860 (quit-window, split-window, window-state-put)
7861 (set-window-text-height, fit-window-to-buffer)
7862 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7863
89bd5ee1
EZ
78642011-11-04 Eli Zaretskii <eliz@gnu.org>
7865
53479029
EZ
7866 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7867 rfc2047-decode-string.
7868 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7869 warnings.
7870
89bd5ee1
EZ
7871 * window.el (window-body-height, window-body-width): Mention in
7872 the doc string that the return values are in frame's canonical
7873 units. (Bug#9949)
7874
bd17fdee
AM
78752011-11-03 Alan Mackenzie <acm@muc.de>
7876
7877 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7878 change in cc-engine.el.
7879
acc825c5
SM
78802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7883
1885e5b8
MR
78842011-11-02 Martin Rudalics <rudalics@gmx.at>
7885
7886 * window.el (quit-window): Call unrecord-window-buffer after
7887 showing another buffer in the window. (Bug#9937)
acc825c5 7888 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7889
ebe06da9
JB
78902011-11-02 Juanma Barranquero <lekktu@gmail.com>
7891
7892 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7893 Accept status with more than 9 shelves. (Bug#9935)
7894 Reported by Colin D Bennett <colin@gibibit.com>.
7895
4ee88440
MR
78962011-11-01 Martin Rudalics <rudalics@gmx.at>
7897
7898 * help.el (with-help-window): Don't reference
7899 temp-buffer-show-specifiers in doc-string.
7900
08e1d82c
AS
79012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7902
7903 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7904 menu-item.
7905
84bd6e9e
VJL
79062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7907
7908 * whitespace.el: New version 13.2.2.
7909 (whitespace-newline-mode): Disable properly. Reported by Sarah
7910 <EmacsWiki>.
7911
dba0634a
UJ
79122011-10-30 Ulf Jasper <ulf.jasper@web.de>
7913
7914 * net/newst-treeview.el: Remove "Time-stamp".
7915 (newsticker--group-manage-orphan-feeds): Do not call
7916 newsticker--treeview-tree-update.
db22a3c2
JB
7917 (newsticker-treeview-update, newsticker-treeview):
7918 Call newsticker--treeview-tree-update if necessary.
dba0634a 7919
3d8daefe
MR
79202011-10-30 Martin Rudalics <rudalics@gmx.at>
7921
7922 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7923 (window-iso-combinations): Remove "iso-" infix.
7924 Suggested by Chong Yidong.
3d8daefe
MR
7925 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7926 (window-max-delta-1, window-resize, window--resize-siblings)
7927 (window--resize-this-window, adjust-window-trailing-edge)
7928 (split-window, balance-windows-1)
7929 (shrink-window-if-larger-than-buffer):
7930 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7931 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7932
1bc4c3ae
SM
79332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7936 in place (bug#9907).
7937 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7938 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7939 (eshell-structure-basic-command, eshell-rewrite-while-command)
7940 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7941 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7942 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7943 (eshell-do-pipelines-synchronously, eshell-eval-command):
7944 Use backquotes and prefer setq to set.
7945 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7946 (eshell-macrop): Use functionp.
c1e2f5fa 7947 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7948
30b65d9c
CY
79492011-10-30 Chong Yidong <cyd@gnu.org>
7950
7951 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7952 instead of set-mark (Bug#9810).
7953
2d197ffb
CY
79542011-10-30 Chong Yidong <cyd@gnu.org>
7955
7956 * window.el (split-window-below, split-window-right): Rename from
7957 split-window-above-each-other and split-window-side-by-side
7958 respectively. All callers changed.
7959 (split-window-sensibly, split-window-sensibly): Use them.
7960 (split-window-keep-point): Doc fix.
7961
7962 * isearch.el: Add isearch-scroll property to split-window-below
7963 and split-window-right.
7964
7965 * follow.el (follow-mode):
7966 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7967 * progmodes/ada-xref.el (ada-gdb-application):
7968 * emulation/vip.el (vip-buffer-in-two-windows):
7969 * image-dired.el (image-dired-dired-with-window-configuration):
7970 * dired-x.el (dired-do-find-marked-files):
7971 * dired.el (dired-pop-to-buffer):
7972 * bs.el (bs--show-with-configuration):
7973 * vc/emerge.el (emerge-setup-windows):
7974 * textmodes/two-column.el (2C-two-columns):
7975 * textmodes/reftex-toc.el (reftex-toc):
7976 * progmodes/gdb-mi.el (gdb-setup-windows):
7977 * progmodes/fortran.el (fortran-window-create):
7978 * net/newst-treeview.el (newsticker--treeview-window-init):
7979 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7980 * emulation/tpu-edt.el (tpu-gold-map):
7981 * emulation/crisp.el (crisp-mode-map):
7982 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7983
38bb2ca8
CY
79842011-10-29 Chong Yidong <cyd@gnu.org>
7985
aa4de341
CY
7986 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7987
e1eb5385
CY
7988 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7989
5d2ece3c
CY
7990 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7991 forged Ispell output (Bug#7904).
7992
38bb2ca8
CY
7993 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7994
d0af9f77
SM
79952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * doc-view.el: Avoid ugly errors about not finding nil.
7998 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7999 (doc-view-dvipdf-program, doc-view-unoconv-program)
8000 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8001 Avoid nil or absolute file name as default value.
8002 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8003
52bedd34
AM
80042011-10-28 Alan Mackenzie <acm@muc.de>
8005
db22a3c2 8006 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8007
7e43cfa5
AM
80082011-10-28 Alan Mackenzie <acm@muc.de>
8009
8010 Amend the handling of c-beginning/end-of-defun in nested declaration
8011 scopes.
8012
52bedd34
AM
8013 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8014 cc-langs.el. Change it to a defcustom.
7e43cfa5 8015
52bedd34
AM
8016 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8017 cc-vars.el.
7e43cfa5 8018
d0af9f77
SM
8019 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8020 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8021
52bedd34 8022 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8023 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8024 (c-widen-to-enclosing-decl-scope): New function.
8025 (c-while-widening-to-decl-block): New macro.
8026 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8027 outward for defun boundaries, and correspondingly change symbol
8028 `respect-enclosure' to `go-outward'.
8029 (c-declaration-limits): Change algorithm to report only the "innermost"
8030 defun's boundaries.
8031
1a2ce9ee
DD
80322011-10-28 Deniz Dogan <deniz@dogan.se>
8033
8034 * net/rcirc.el (rcirc-mode): Use hard newlines.
8035
bc97a826
AM
80362011-10-28 Alan Mackenzie <acm@muc.de>
8037
8038 Amend to indent and fontify macros "which include their own semicolon"
8039 correctly, using the "virtual semicolon" mechanism.
8040
52bedd34 8041 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8042
d0af9f77 8043 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8044 Recode to scan one line at a time rather than having \n and \r
58179cce 8045 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8046 (c-forward-label): Amend for virtual semicolons.
58179cce 8047 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8048
52bedd34
AM
8049 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8050 of the new C macros.
bc97a826 8051
52bedd34 8052 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8053 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8054 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8055 (c-opt-cpp-macro-define): Make into a full language variable.
8056 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8057 AWK Mode (including \n, \r) removed, no longer needed.
8058
d0af9f77
SM
8059 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8060 Invoke c-make-macro-with-semi-re.
bc97a826 8061
52bedd34
AM
8062 * progmodes/cc-vars.el (c-macro-with-semi-re):
8063 (c-macro-names-with-semicolon): New variables.
58179cce 8064 (c-make-macro-with-semi-re): New function.
bc97a826 8065
7a6c0941
SM
80662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * vc/log-edit.el: Fill empty field rather than adding new one.
8069 (log-edit-add-field): New function.
8070 (log-edit-insert-changelog): Use it.
8071
b0c4cdcf
ML
80722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8073
8074 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8075
ee1f1da9
SM
80762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8079 (gdb--check-interpreter): New function.
8080 (gdb): Use it.
8081
51bc5f8b
GM
80822011-10-27 Glenn Morris <rgm@gnu.org>
8083
416a2c45
GM
8084 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8085 (least-positive-float, least-negative-float)
8086 (least-positive-normalized-float, least-negative-normalized-float)
8087 (float-epsilon, float-negative-epsilon):
8088 Remove unnecessary declarations.
8089
8090 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8091 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8092 (least-positive-float, least-negative-float)
8093 (least-positive-normalized-float, least-negative-normalized-float)
8094 (float-epsilon, float-negative-epsilon): Add doc-strings,
8095 based on those in cl.texi.
8096
51bc5f8b
GM
8097 * files.el (set-visited-file-name): If the major-mode changed,
8098 reload the local variables. (Bug#9796)
8099
15de15c6
CY
81002011-10-27 Chong Yidong <cyd@gnu.org>
8101
8102 * subr.el (change-major-mode-after-body-hook): New hook.
8103 (run-mode-hooks): Run it.
8104
ee1f1da9
SM
8105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8106 Use change-major-mode-before-body-hook.
15de15c6
CY
8107
8108 * simple.el (fundamental-mode):
8109 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8110 change introducing fundamental-mode-hook.
8111
5430d399
JB
81122011-10-26 Juanma Barranquero <lekktu@gmail.com>
8113
acc825c5 8114 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8115
ad74a69e
MA
81162011-10-26 Michael Albinus <michael.albinus@gmx.de>
8117
8118 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8119 tramp.el explicitly. (Bug#7583)
ad74a69e 8120
71d4c2a5
SM
81212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * progmodes/octave-mod.el:
8124 * progmodes/octave-inf.el: Update maintainer.
8125
b1f6fa26
CY
81262011-10-26 Chong Yidong <cyd@gnu.org>
8127
8128 * subr.el (with-wrapper-hook): Rewrite doc.
8129
3f04efd6
MA
81302011-10-25 Michael Albinus <michael.albinus@gmx.de>
8131
8132 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8133 filenames "/method:foo:". (Bug#9793)
3f04efd6 8134
410488d3
SM
81352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8138 (bug#9865).
8139
c1ebb47e
GM
81402011-10-24 Glenn Morris <rgm@gnu.org>
8141
8142 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8143
7f5c46c7
MA
81442011-10-24 Michael Albinus <michael.albinus@gmx.de>
8145
8146 * notifications.el: Add the requirement of a running D-Bus session
8147 bus to the Commentary.
8148
db2440b6
JL
81492011-10-24 Juri Linkov <juri@jurta.org>
8150
8151 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8152 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8153 (Bug#9364)
8154
feecf435
JL
81552011-10-24 Juri Linkov <juri@jurta.org>
8156
8157 * info.el (Info-following-node-name-re): Add newline to the list
8158 of allowed characters for leading space. (Bug#9824)
8159
a3839de2
SM
81602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8161
acc825c5
SM
8162 * progmodes/octave-inf.el (inferior-octave-mode-map):
8163 Fix C-c C-h binding.
a3839de2
SM
8164 * progmodes/octave-mod.el (octave-help): Remove.
8165
09388e76
MA
81662011-10-23 Michael Albinus <michael.albinus@gmx.de>
8167
8168 Sync with Tramp 2.2.3.
8169
8170 * net/tramp-cache.el (top): Pacify byte-compiler using
8171 `init-file-user' and `site-run-file'.
8172
8173 * net/trampver.el: Update release number.
8174
86c60681
CY
81752011-10-23 Chong Yidong <cyd@gnu.org>
8176
8177 * files.el (toggle-read-only): Remove obsolete comment about
8178 version control.
8179
8180 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8181 for toggle-read-only. Note that this hasn't called vc-next-action
8182 since 2008-05-02, though it wasn't documented at the time.
8183
a3839de2
SM
8184 * vc/ediff-init.el (ediff-toggle-read-only-function):
8185 Use toggle-read-only.
86c60681 8186
cd5495ff
AM
81872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8188
8189 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8190 of c-parse-state.
8191
00b77525 8192 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8193 correct faulty logical expression.
cd5495ff
AM
8194 (c-parse-state-state, c-record-parse-state-state):
8195 (c-replay-parse-state-state): New defvar/defuns.
8196 (c-debug-parse-state): Use new functions.
8197
42ee24ed
MR
81982011-10-22 Martin Rudalics <rudalics@gmx.at>
8199
8200 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8201 last fix. Use window-in-direction correctly.
42ee24ed 8202
a7dee7e7
CY
82032011-10-21 Chong Yidong <cyd@gnu.org>
8204
8205 * progmodes/idlwave.el (idlwave-mode):
8206 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8207 require-final-newline; that's done in prog-mode.
8208 Suggested by Stefan Monnier.
a7dee7e7 8209
e07b9a6d
MR
82102011-10-21 Martin Rudalics <rudalics@gmx.at>
8211
8212 * mouse.el (mouse-drag-window-above)
8213 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8214 (mouse-drag-mode-line-1, mouse-drag-header-line)
8215 (mouse-drag-vertical-line-rightward-window): Remove.
8216 (mouse-drag-line): New function.
8217 (mouse-drag-mode-line, mouse-drag-header-line)
8218 (mouse-drag-vertical-line): Call mouse-drag-line.
8219 * window.el (window-at-side-p, windows-at-side): New functions.
8220
7e1361d9
UM
82212011-10-21 Ulrich Mueller <ulm@gentoo.org>
8222
8223 * tar-mode.el (tar-grind-file-mode):
8224 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8225
30fcaf3a
CY
82262011-10-21 Chong Yidong <cyd@gnu.org>
8227
8228 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8229 * progmodes/vera-mode.el (vera-mode):
8230 Use mode-require-final-newline.
30fcaf3a 8231
516eddb0
GM
82322011-10-20 Glenn Morris <rgm@gnu.org>
8233
db22a3c2 8234 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8235
10d5f513
CS
82362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8237
8238 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8239
ac6c8639
CY
82402011-10-20 Chong Yidong <cyd@gnu.org>
8241
8242 * emulation/cua-base.el (cua-mode):
8243 * mail/footnote.el (footnote-mode):
8244 * mail/mailabbrev.el (mail-abbrevs-mode):
8245 * net/xesam.el (xesam-minor-mode):
8246 * progmodes/bug-reference.el (bug-reference-mode):
8247 * progmodes/cap-words.el (capitalized-words-mode):
8248 * progmodes/compile.el (compilation-minor-mode)
8249 (compilation-shell-minor-mode):
8250 * progmodes/gud.el (gud-tooltip-mode):
8251 * progmodes/hideif.el (hide-ifdef-mode):
8252 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8253 * progmodes/subword.el (subword-mode):
8254 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8255 * progmodes/which-func.el (which-function-mode):
8256 * term/tvi970.el (tvi970-set-keypad-mode):
8257 * term/vt100.el (vt100-wide-mode):
8258 * textmodes/flyspell.el (flyspell-mode):
8259 * textmodes/ispell.el (ispell-minor-mode):
8260 * textmodes/nroff-mode.el (nroff-electric-mode):
8261 * textmodes/paragraphs.el (use-hard-newlines):
8262 * textmodes/refill.el (refill-mode):
8263 * textmodes/reftex.el (reftex-mode):
8264 * textmodes/rst.el (rst-minor-mode):
8265 * textmodes/sgml-mode.el (html-autoview-mode)
8266 (sgml-electric-tag-pair-mode):
8267 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8268 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8269 * emulation/crisp.el (crisp-mode):
8270 * emacs-lisp/eldoc.el (eldoc-mode):
8271 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8272 minor mode behavior.
8273
aa42ab43
JL
82742011-10-19 Juri Linkov <juri@jurta.org>
8275
8276 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8277 the list of hard-coded chars with escape-glyph face.
8278
89400f1d
SM
82792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8282
305c07f6
MA
82832011-10-19 Michael Albinus <michael.albinus@gmx.de>
8284
8285 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8286 running process.
8287
13754b54
GM
82882011-10-19 Glenn Morris <rgm@gnu.org>
8289
8290 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8291 Ignore ignored files. (Bug#9726)
8292
06e21633
CY
82932011-10-19 Chong Yidong <cyd@gnu.org>
8294
8295 Doc fix for minor modes, stating that an omitted argument enables
8296 the mode unconditionally when called from Lisp.
8297
8298 * abbrev.el (abbrev-mode):
8299 * allout.el (allout-mode):
8300 * autoinsert.el (auto-insert-mode):
8301 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8302 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8303 (global-auto-revert-mode):
8304 * battery.el (display-battery-mode):
8305 * composite.el (global-auto-composition-mode)
8306 (auto-composition-mode):
8307 * delsel.el (delete-selection-mode):
8308 * desktop.el (desktop-save-mode):
8309 * dired-x.el (dired-omit-mode):
8310 * dirtrack.el (dirtrack-mode):
8311 * doc-view.el (doc-view-minor-mode):
8312 * double.el (double-mode):
8313 * electric.el (electric-indent-mode, electric-pair-mode):
8314 * emacs-lock.el (emacs-lock-mode):
8315 * epa-hook.el (auto-encryption-mode):
8316 * follow.el (follow-mode):
8317 * font-core.el (font-lock-mode):
8318 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8319 * help.el (temp-buffer-resize-mode):
8320 * hilit-chg.el (highlight-changes-mode)
8321 (highlight-changes-visible-mode):
8322 * hi-lock.el (hi-lock-mode):
8323 * hl-line.el (hl-line-mode, global-hl-line-mode):
8324 * icomplete.el (icomplete-mode):
8325 * ido.el (ido-everywhere):
8326 * image-file.el (auto-image-file-mode):
8327 * image-mode.el (image-minor-mode):
8328 * iswitchb.el (iswitchb-mode):
8329 * jka-cmpr-hook.el (auto-compression-mode):
8330 * linum.el (linum-mode):
8331 * longlines.el (longlines-mode):
8332 * master.el (master-mode):
8333 * mb-depth.el (minibuffer-depth-indicate-mode):
8334 * menu-bar.el (menu-bar-mode):
8335 * minibuf-eldef.el (minibuffer-electric-default-mode):
8336 * mouse-sel.el (mouse-sel-mode):
8337 * msb.el (msb-mode):
8338 * mwheel.el (mouse-wheel-mode):
8339 * outline.el (outline-minor-mode):
8340 * paren.el (show-paren-mode):
8341 * recentf.el (recentf-mode):
8342 * reveal.el (reveal-mode, global-reveal-mode):
8343 * rfn-eshadow.el (file-name-shadow-mode):
8344 * ruler-mode.el (ruler-mode):
8345 * savehist.el (savehist-mode):
8346 * scroll-all.el (scroll-all-mode):
8347 * scroll-bar.el (scroll-bar-mode):
8348 * server.el (server-mode):
8349 * shell.el (shell-dirtrack-mode):
8350 * simple.el (auto-fill-mode, transient-mark-mode)
8351 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8352 (line-number-mode, column-number-mode, size-indication-mode)
8353 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8354 * strokes.el (strokes-mode):
8355 * time.el (display-time-mode):
8356 * t-mouse.el (gpm-mouse-mode):
8357 * tool-bar.el (tool-bar-mode):
8358 * tooltip.el (tooltip-mode):
8359 * type-break.el (type-break-mode-line-message-mode)
8360 (type-break-query-mode):
8361 * view.el (view-mode):
8362 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8363 (global-whitespace-mode, global-whitespace-newline-mode):
8364 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8365
a3839de2
SM
8366 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8367 Fix autogenerated docstring.
06e21633 8368
5214e501
JL
83692011-10-19 Juri Linkov <juri@jurta.org>
8370
8371 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8372 by checking environment variables "DESKTOP_SESSION" and
8373 "XDG_CURRENT_DESKTOP". (Bug#9779)
8374
195f8db9
JL
83752011-10-19 Juri Linkov <juri@jurta.org>
8376
8377 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8378 (browse-url-chromium-program, browse-url-chromium-arguments):
8379 New defcustoms.
8380 (browse-url-default-browser): Check for `browse-url-chromium' and
8381 call `browse-url-chromium-program'.
8382 (browse-url-chromium): New command. (Bug#9779)
8383
343a34ff
JB
83842011-10-18 Juanma Barranquero <lekktu@gmail.com>
8385
8386 * facemenu.el (list-colors-duplicates): On Windows, detect more
8387 duplicates by assuming that only colors matching "^System" are
8388 special "system colors". (Bug#9722)
8389
6978a151
SM
83902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8393 to distinguish the author from the committer.
8394
6a80b297
MA
83952011-10-18 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8398
b31a5677
JK
83992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8400
8401 * international/mule.el (sgml-html-meta-auto-coding-function):
8402 Add support for detecting encoding in HTML5 specified only as
8403 <meta charset="UTF-8">. Implementation just makes http-equiv and
8404 content-type parts from HTML4 encoding string optional. (Bug#9716)
8405
80c6d77f
GM
84062011-10-18 Glenn Morris <rgm@gnu.org>
8407
8408 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8409
08b0fee8
CY
84102011-10-18 Chong Yidong <cyd@gnu.org>
8411
8412 * faces.el (cursor): Doc fix.
8413
67e729a5
CY
84142011-10-17 Chong Yidong <cyd@gnu.org>
8415
8416 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8417
343a34ff 84182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8419
8420 * dirtrack.el (dirtrack): Support shell buffers with path
8421 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8422
0bc06380
TZ
84232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8424
8425 * json.el: Bump version to 1.3 and note change in History.
8426 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8427
8b79f3e0
SM
84282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8429
5a7c536b
SM
8430 * comint.el (comint-insert-input, comint-send-input)
8431 (comint-get-old-input-default, comint-backward-matching-input)
8432 (comint-next-prompt): Use nil instead of `input' for field property of
8433 past user input (bug#114).
8434
96a8a0df
SM
8435 * minibuffer.el (completion--replace): Inherit surrounding properties
8436 (bug#114).
8437 (minibuffer-complete-and-exit): Use it.
8438
8b79f3e0
SM
8439 * comint.el (comint--table-subvert): Quote the all-completions output
8440 (bug#9160).
8441
b8f7ff0d
MR
84422011-10-17 Martin Rudalics <rudalics@gmx.at>
8443
8b79f3e0 8444 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8445
b8f7ff0d 8446 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8447 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8448 entries and separate them from frame entries.
8449
c235b555
GM
84502011-10-15 Glenn Morris <rgm@gnu.org>
8451
8452 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8453 Doc fixes.
8454
6bbfa6e1
CY
84552011-10-15 Chong Yidong <cyd@stupidchicken.com>
8456
8b79f3e0
SM
8457 * net/network-stream.el (network-stream-open-starttls):
8458 Improve detection of failure due to lack of TLS support.
ec5c990d 8459
6bbfa6e1
CY
8460 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8461 putting the input text in front and in bold.
8462
98488977
SM
84632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8464
3d1337be
SM
8465 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8466
ee0b45e4
SM
8467 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8468 empty buffer.
8469
98488977
SM
8470 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8471 unread-command-events rather than pushing yet-another event.
8472
186f4720
EZ
84732011-10-14 Eli Zaretskii <eliz@gnu.org>
8474
8475 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8476 the explanation of the possible choices. Make the options passed
8477 to completing-read shorter.
8478
8b7a997c
AM
84792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8480
8481 * textmodes/flyspell.el (flyspell-large-region): Make sure
8482 extended character mode is used if defined (Bug#1339).
8483
12587bbb
EZ
84842011-10-13 Eli Zaretskii <eliz@gnu.org>
8485
8486 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8487 character info for LRE, LRO, RLE, and RLO characters by appending
8488 an invisible PDF.
12587bbb 8489
bad41229
SM
84902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8493 even in case of error; add debug spec; simplify data flow.
8494 (with-timeout-handler): Remove.
8495
28dbc92f
MA
84962011-10-12 Michael Albinus <michael.albinus@gmx.de>
8497
8498 Fix Bug#6019, Bug#9315.
8499
8500 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8501 complete `buffer-file-name', the local file name part could look
8502 remotely (for example on VMS).
8503
8504 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8505 `tramp-run-real-handler'.
8506 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8507 already quoted by '"'.
8508
8509 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8510 Let `file-name-handler-alist' be nil, the local file name part
8511 could look remotely (for example on VMS).
8512
e1b0b23a
SM
85132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8516 from here...
8517 (flyspell-post-command-hook): ...to here.
8518
a120bde9
SM
85192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8522 if not needed.
8523 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8524 using completion. Protect against "slow" callers.
8525 Remove the "message hack".
8526
7ce7717b
JL
85272011-10-11 Juri Linkov <juri@jurta.org>
8528
8529 * isearch.el (isearch-lazy-highlight-word): New variable.
8530 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8531 Use it. (Bug#9727)
8532
c02ee9d6
GM
85332011-10-11 Glenn Morris <rgm@gnu.org>
8534
8535 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8536 like f90-previous-statement does.
8537
93e616fd 85382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8539
1f190e73 8540 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8541 only in interactive use, to avoid error.
8542
af7b6078
SM
85432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * minibuffer.el (completion-file-name-table): Fix last change,
8546 i.e. ignore normal errors but not the other ones.
8547
0563dae9
MR
85482011-10-10 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (special-display-buffer-names)
8551 (special-display-regexps): Remove some remnants of earlier
8552 changes from doc-strings.
366ca7f3
MR
8553 (quit-windows-on): New function.
8554
8555 * vc/vc.el (vc-revert, vc-rollback):
8556 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8557 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8558 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8559
49677495
MR
85602011-10-09 Martin Rudalics <rudalics@gmx.at>
8561
8562 * window.el (frame-auto-hide-function): Add version tag.
8563 (Bug#9699)
8564
56f2d1e1
MA
85652011-10-09 Michael Albinus <michael.albinus@gmx.de>
8566
8567 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8568 condition.
8569
112a6592
LL
85702011-10-09 Leo Liu <sdl.web@gmail.com>
8571
8572 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8573 (Bug#9701)
8574
0812589b
GM
85752011-10-08 Glenn Morris <rgm@gnu.org>
8576
8577 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8578 before the first code statement zero indent. (Bug#9690)
8579
b2b0776e
CY
85802011-10-08 Chong Yidong <cyd@stupidchicken.com>
8581
8582 * simple.el (count-words-region): Always count in the region.
8583 Report the number of lines and characters too.
8584 (count-words): New command, which counts in the buffer if the
8585 region is inactive, as count-words-region used to.
8586 (count-words--message): New function. Handle plurals.
8587 (count-lines-region): Make it an alias for count-words-region.
8588
8589 * bindings.el (esc-map): Replace count-lines-region with
8590 count-words-region.
8591
c557cd6b
MR
85922011-10-08 Martin Rudalics <rudalics@gmx.at>
8593
8594 * window.el (window--delete): Delete dedicated frame
8595 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8596 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8597
61a57ef4 85982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8599
3a7d293b 8600 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8601
c3833279
CY
86022011-10-07 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * bindings.el ([M-left],[M-right]): Bind to left-word and
8605 right-word respectively.
8606
21ce8245
GM
86072011-10-07 Glenn Morris <rgm@gnu.org>
8608
8609 * cus-start.el (debug-on-quit): Fix custom type.
8610
6d823bb2
LMI
86112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612
0181e193
LMI
8613 * subr.el (define-key-after): Clarify that the function is not
8614 useful for non-menu keymaps.
8615
6d823bb2
LMI
8616 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8617
8e3459ce 86182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8619
21ce8245 8620 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8621 in current minibuffer (Fix bug with recursive minibuffers).
8622
a1c2d21e
CY
86232011-10-06 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * progmodes/gdb-mi.el (gdb): Doc fix.
8626
5a4cf282
MR
86272011-10-05 Martin Rudalics <rudalics@gmx.at>
8628
8629 * window.el (frame-auto-hide-function): New option replacing
8630 frame-auto-delete. Suggested by Stefan Monnier.
8631 (window--delete): Call frame-auto-hide-function instead of
8632 investigating frame-auto-delete.
c96111ea
MR
8633 (window-point-1, set-window-point-1): New functions.
8634 (window-in-direction, record-window-buffer, window-state-get-1)
8635 (display-buffer-record-window): Use window-point-1 instead of
8636 window-point.
8637 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8638
9854542e
SM
86392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8642
8943cfb0
GM
86432011-10-05 Glenn Morris <rgm@gnu.org>
8644
8645 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8646 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8647
647ab967
LL
86482011-10-05 Leo Liu <sdl.web@gmail.com>
8649
8650 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8651 works with buffer object.
8652
3ddfbced
SM
86532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * mpc.el (mpc-tool-bar-map): Add labels.
8656
bdfa5dd2
GM
86572011-10-04 Glenn Morris <rgm@gnu.org>
8658
8659 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8660
0e2070b5
MR
86612011-10-04 Martin Rudalics <rudalics@gmx.at>
8662
8663 * window.el (window--delete): New function.
8664 (frame-auto-delete): Resuscitate option.
8665 (bury-buffer, replace-buffer-in-windows)
8666 (quit-window): Rewrite using window--delete.
8667 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8668 Pass display-buffer-mark-dedicated to window--display-buffer-2
8669 (Bug#9639).
8670
3dc61a09
SM
86712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8672
915a9b64
SM
8673 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8674 returns a list (bug#9554). Add remote file name completion.
8675 * comint.el (comint--table-subvert): Curry and get quote&unquote
8676 functions as arguments.
8677 (comint--complete-file-name-data): Adjust call accordingly.
8678 * pcomplete.el (pcomplete--table-subvert): Remove.
8679 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8680
3dc61a09
SM
8681 * minibuffer.el (completion-table-case-fold): Use currying.
8682 (completion--styles-type, completion--cycling-threshold-type):
8683 New constants.
8684 (completion-styles, completion-category-overrides)
8685 (completion-cycle-threshold): Use them.
8686 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8687 completion-table-case-fold.
8688
8ea0a993
SB
86892011-10-03 Stephen Berman <stephen.berman@gmx.net>
8690
8691 * minibuffer.el (completion-category-overrides): Fix type of styles
8692 and add more user friendly tags (bug#9660).
8693
8c24b7f6
SM
86942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8697 (mule-input-method-string): New widget.
8698 (default-input-method, language-info-custom-alist): Use it.
8699
428fe61a
SM
87002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8701
32c1fffd
SM
8702 * pcomplete.el: Require comint.
8703 (pcomplete--common-suffix): Remove.
8704 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8705 (pcomplete--table-subvert): Sync with comint--table-subvert.
8706 (pcomplete--entries): Use comint-completion-file-name-table.
8707 * comint.el (comint-unquote-filename): Simplify.
8708 (comint-completion-file-name-table): New function (bug#9616).
8709 (comint--complete-file-name-data): Use it.
8710
428fe61a
SM
8711 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8712 (pcmpl-gnu-tar-buffer): Remove.
8713 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8714 around. Make sure pcomplete-suffix-list is only changed temporarily.
8715 Don't look inside the tar's file if it's too large.
428fe61a 8716
04c52e2f
CY
87172011-10-01 Chong Yidong <cyd@stupidchicken.com>
8718
ce3cefcc
CY
8719 * cus-edit.el (custom-mode-map):
8720 * epa.el (epa-key-list-mode-map):
8721 * man.el (Man-mode-map):
8722 * startup.el (splash-screen-keymap):
8723 * simple.el (special-mode-map): Use scroll-up-command and
8724 scroll-down-command.
8725
8726 * progmodes/idlw-help.el (idlwave-help-mode-map):
8727 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8728 * net/newst-plainview.el (newsticker-mode-map):
8729 * emulation/ws-mode.el (wordstar-mode-map):
8730 * emulation/vi.el (vi-com-map):
8731 * calc/calc-graph.el (calc-graph-show-dumb):
8732 * term/sun.el (terminal-init-sun):
8733 * term/ns-win.el (global-map):
8734 * progmodes/grep.el (grep-mode-map):
8735 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8736 * mail/rmail.el (rmail-mode-map):
8737 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8738
04c52e2f
CY
8739 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8740 custom-safe-themes as special.
8741
79adf8c8
JD
87422011-10-01 Julien Danjou <julien@danjou.info>
8743
8744 * notifications.el (notifications-notify): Fix docstring.
8745
63bd50d3
PS
87462011-10-01 Per Starbäck <per@starback.se>
8747
8748 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8749
199e4c7e
MR
87502011-09-30 Martin Rudalics <rudalics@gmx.at>
8751
8752 * startup.el (command-line-1): Fix last fix by inserting
8753 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8754 (Bug#9605) and (Bug#9636)
199e4c7e 8755
fe5f08dd
EZ
87562011-09-29 Eli Zaretskii <eliz@gnu.org>
8757
8758 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8759 window is hscrolled, move by logical lines. (Bug#9607)
8760 (line-move-visual): Update the doc string to the above effect.
8761
b5516bbd
MR
87622011-09-29 Martin Rudalics <rudalics@gmx.at>
8763
ccee00c0
MR
8764 * window.el (display-buffer-record-window): When WINDOW is the
8765 selected window use `point' instead of `window-point'. (Bug#9626)
8766
b5516bbd
MR
8767 * startup.el (command-line-1): Use insert-before-markers when
8768 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8769
b5516bbd
MR
8770 * help.el (help-window): Remove variable.
8771
52aa0014
GM
87722011-09-29 Glenn Morris <rgm@gnu.org>
8773
8774 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8775
df9a7357
JB
87762011-09-29 Juanma Barranquero <lekktu@gmail.com>
8777
8778 * descr-text.el (describe-char-categories): Accept category
8779 descriptions more than one line long.
8780
a8406c20
SM
87812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8782
88d9610c
SM
8783 * simple.el (delete-trailing-whitespace): Fix last change.
8784
a5daf810
SM
8785 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8786 Don't confuse "y => 3" as the beginning of a `y' operation.
8787
a8406c20
SM
8788 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8789 object has more than 4 slots (bug#9613).
8790
a239d4e9
JB
87912011-09-28 Juanma Barranquero <lekktu@gmail.com>
8792
8793 * subr.el (with-output-to-temp-buffer):
8794 * net/quickurl.el (quickurl, quickurl-browse-url):
8795 Fix typos in docstrings.
8796
693fbdb6
EZ
87972011-09-27 Eli Zaretskii <eliz@gnu.org>
8798
8799 * minibuffer.el (completion-styles)
8800 (completion-category-overrides): Cross reference each other in doc
8801 strings.
8802
8b457e28
GM
88032011-09-27 Glenn Morris <rgm@gnu.org>
8804
8805 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8806 to split-string. (Bug#9606)
8807
85a16208
LMI
88082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8809
8810 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8811 (bug#9615).
8812
502f9ebd
CY
88132011-09-27 Chong Yidong <cyd@stupidchicken.com>
8814
8815 * emacs-lisp/package.el (list-packages): Fix echo area message.
8816
7690bdea
LL
88172011-09-27 Leo Liu <sdl.web@gmail.com>
8818
8819 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8820
e2ee6f30
MA
88212011-09-25 Michael Albinus <michael.albinus@gmx.de>
8822
8823 * net/dbus.el (dbus-unregister-object): Don't release services for
8824 registered signals. (Bug#9581)
8825
f3f98342
TZ
88262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8827
8828 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8829 function that picks between cfengine 2 and 3 support
8830 automatically. Update docs accordingly.
8831
dd7aa8dd
KH
88322011-09-22 Kenichi Handa <handa@m17n.org>
8833
8834 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8835 ZERO.
8836 (indian-itrans-v5-table-for-tamil): New variable.
8837 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8838
3f2b07f8
KM
88392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8840
8841 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8842 that's true if the current command involved collapsing of text.
8843 It's reset to false at the beginning of the next command.
8844 (allout-post-command-business): Move the cursor to the beginning
8845 of entry if the cursor is hidden and collapsing activity just
8846 happened.
8847
371d6a61
CY
88482011-09-24 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8851 tracking (Bug#9541).
8852
2ac2721a
UJ
88532011-09-24 Ulf Jasper <ulf.jasper@web.de>
8854
8855 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8856 (newsticker-show-news): Automatically load html rendering package
8857 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8858 because w3m-fill-column is let-bound" and the error "Symbol's value
8859 as variable is void: w3m-fill-column".
2ac2721a 8860
fac7ae53
MA
88612011-09-24 Michael Albinus <michael.albinus@gmx.de>
8862
8863 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8864 Release services only if they are defined. (Bug#9581)
8865
e08b633b
RS
88662011-09-23 Richard Stallman <rms@gnu.org>
8867
e488d29c
RS
8868 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8869 distinguish start of paragraph from start of its text.
8870
19c38752
RS
8871 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8872
e08b633b
RS
8873 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8874 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8875 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8876
0a39f27e
AS
88772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8878
8879 * international/mule-diag.el (mule-diag): Insert a newline after
8880 each fontset description.
8881
db4e950d
SM
88822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * simple.el (delete-trailing-whitespace):
8885 Document last change; simplify.
8886
eca3f3ea
PW
88872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8888
d68e189a
PW
8889 * simple.el (delete-trailing-whitespace): Also delete
8890 extra newlines at the end of the buffer.
8891
eca3f3ea
PW
8892 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8893 (picture-newline): Use forward-line so as to ignore fields.
8894
01c157cc
SM
88952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * subr.el (with-wrapper-hook): Fix edebug spec.
8898
022de23e
LMI
88992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
8901 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8902 (bug#4538).
8903
91683089
MA
89042011-09-23 Michael Albinus <michael.albinus@gmx.de>
8905
eca3f3ea
PW
8906 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8907 Fix nasty bug using wrong cached values.
91683089 8908
5bdd6fa4
AM
89092011-09-23 Alan Mackenzie <acm@muc.de>
8910
8911 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8912
97adfb97
CY
89132011-09-23 Chong Yidong <cyd@stupidchicken.com>
8914
8915 * window.el (pop-to-buffer): Ensure right window is selected if we
8916 chose another frame.
8917
d4ef2b50
EZ
89182011-09-22 Eli Zaretskii <eliz@gnu.org>
8919
8920 * simple.el (what-cursor-position): Use get-char-property-change
8921 and next-single-char-property-change, to be able to show display
8922 properties that come from overlays as well as text properties.
8923
72258fe5
CY
89242011-09-22 Chong Yidong <cyd@stupidchicken.com>
8925
8926 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8927
8928 * cmuscheme.el (run-scheme, switch-to-scheme):
8929 * cus-edit.el (customize-group, custom-buffer-create)
8930 (customize-browse):
8931 * info.el (info):
8932 * shell.el (shell):
8933 * mail/sendmail.el (mail):
8934 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8935
8f098516
RS
89362011-09-22 Richard Stallman <rms@gnu.org>
8937
8938 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8939 move back only to line beg, don't move back over blank lines.
8940
e74f1bb6
MA
89412011-09-22 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * files.el (copy-directory): Set directory attributes only in case
8944 they could be retrieved from the source directory. (Bug#9565)
8945
bfeef8b6
DK
89462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8947
8948 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8949 (hs-find-block-beginning, hs-hide-level-recursive):
8950 Ignore strings as well as comments. (Bug#9502)
8951
7e423bb8
AS
89522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8953
8954 * progmodes/sql.el (sql-comint-postgres):
8955 Convert port number to a string. (Bug#9566)
8956
b4d72fcf
MR
89572011-09-22 Martin Rudalics <rudalics@gmx.at>
8958
8959 * window.el (quit-window): Undedicate window when switching to
8960 previous buffer. Reported by Thierry Volpiatto
8961 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8962 (special-display-popup-frame): When popping up a new frame reset
8963 its previous buffers to nil. Simplify code.
b4d72fcf 8964
a7b88dc6
MA
89652011-09-21 Michael Albinus <michael.albinus@gmx.de>
8966
8967 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8968 and process filter, as done also in `shell-command'.
8969
cf4eacfd
MR
89702011-09-21 Martin Rudalics <rudalics@gmx.at>
8971
eca3f3ea 8972 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8973 Call set-window-start with NOFORCE argument t.
8974 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8975 (quit-window): Reword doc-string. Handle new format of
8976 quit-restore parameter. Don't delete window if it has a
8977 previous buffer we can show instead of the present one.
8978 (display-buffer-record-window): Rewrite using a new format for
8979 the quit-restore window parameter
8980 (special-display-popup-frame, display-buffer-same-window)
8981 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8982 (display-buffer-pop-up-window, display-buffer-use-some-window):
8983 Adapt symbol passed to display-buffer-record-window.
8984 * help.el (help-window-setup): Handle new format of quit-restore
8985 parameter.
8986
8d28cb95
SM
89872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8988
94ab793f
SM
8989 * faces.el (face-list): Fix docstring (bug#9564).
8990
8d28cb95
SM
8991 * window.el (display-buffer--action-function-custom-type):
8992 Don't include internal functions in the Custom interface.
8993
3820edeb
JL
89942011-09-20 Juri Linkov <juri@jurta.org>
8995
8996 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8997 (Info-forward-node, Info-backward-node, Info-next-preorder)
8998 (Info-last-preorder): Use it. (Bug#9528)
8999
5147931d
JL
90002011-09-20 Juri Linkov <juri@jurta.org>
9001
9002 * info.el (Info-last-preorder): Visit last menu item only when
9003 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9004
cf499a1a
JD
90052011-09-20 Julien Danjou <julien@danjou.info>
9006
9007 * password-cache.el (password-cache-remove): Remove entries even if the
9008 value is nil, so that password with a nil value (negative caching) is
9009 possible to invalidate.
9010
f84e2fe2
LM
90112011-09-20 Lawrence Mitchell <wence@gmx.li>
9012
9013 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9014 all whitespace around breakpoint. (Bug#9553)
9015 (f90-find-breakpoint): Only break at whitespace inside a comment.
9016
78054a46
SM
90172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * minibuffer.el (completion-file-name-table): Keep track of errors.
9020 (completion-table-with-predicate): Handle the case where pred1 is nil.
9021 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9022
345083b2
SM
90232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9024
e24e27be
SM
9025 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9026 (debugger-return-value): Signal an error if the debugging context does
9027 not await any return value.
9028
345083b2
SM
9029 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9030 * image-mode.el (image-toggle-display-text)
9031 (image-toggle-display-image): Stay away from evil `intangible'.
9032
08d355e3
LL
90332011-09-19 Leo Liu <sdl.web@gmail.com>
9034
9035 * replace.el (occur-revert-arguments): Make it permanent-local.
9036 (occur-mode): Don't call font-lock-defontify.
9037
f01da43f
CY
90382011-09-19 Chong Yidong <cyd@stupidchicken.com>
9039
9040 * net/ldap.el (ldap-search-internal): Don't push empty search
9041 result (Bug#9508).
9042
b6072fa6
SM
90432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9046
443d6696
MA
90472011-09-19 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9050 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9051
7cc6e154
JL
90522011-09-18 Juri Linkov <juri@jurta.org>
9053
9054 * buff-menu.el (Buffer-menu-mode-map):
9055 * dired.el (dired-mode-map):
9056 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9057 (lisp-interaction-mode-map):
9058 * emacs-lisp/package.el (package-menu-mode-map):
9059 * epa.el (epa-key-list-mode-map):
9060 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9061 (menu-bar-options-menu):
9062 * outline.el (outline-mode-menu-bar-map):
9063 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9064 * vc/vc-dir.el (vc-dir-menu-map):
9065 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9066 Capitalize non-function content words in menu item strings.
9067
9068 * dired.el (dired-mode-map): Add menu item for
9069 `image-dired-dired-toggle-marked-thumbs'.
9070
80302a81
JL
90712011-09-18 Juri Linkov <juri@jurta.org>
9072
9073 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9074 to `isearch-case-fold-search' and restore its original value
9075 after the `isearch-mode' call.
9076
46c5cf66
JL
90772011-09-18 Juri Linkov <juri@jurta.org>
9078
9079 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9080 because `zgrep' returns 1 for successful matches (bug#9226).
9081
d18b513b
JL
90822011-09-18 Juri Linkov <juri@jurta.org>
9083
9084 * info.el (Info-extract-menu-node-name): Check the second match
9085 for empty string (second test-case of bug#9528).
9086 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9087 intermediate nodes to the history (first test-case of bug#9528).
9088
72753f87
JL
90892011-09-18 Juri Linkov <juri@jurta.org>
9090
9091 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9092 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9093
c9384295
JL
90942011-09-18 Juri Linkov <juri@jurta.org>
9095
1154d12e
JB
9096 * info.el (Info-file-supports-index-cookies):
9097 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9098 outputs one more line for long file names (bug#4142).
c9384295 9099
d473dce8
CY
91002011-09-18 Chong Yidong <cyd@stupidchicken.com>
9101
9102 * newcomment.el (comment-normalize-vars): If prompting for
9103 comment-start, set comment-start-skip too (Bug#8424).
9104
2176854d
JB
91052011-09-18 Johan Bockgård <bojohan@gnu.org>
9106
9107 * icomplete.el: Fix previous fix of Bug#5849.
9108 (icomplete-mode): Don't set completion-show-inline-help.
9109 (icomplete-minibuffer-setup): Set completion-show-inline-help
9110 locally during icompletion.
9111
3aace4e4
CY
91122011-09-18 Chong Yidong <cyd@stupidchicken.com>
9113
c940224f
CY
9114 * woman.el (woman2-process-escapes): Don't delete unrecognized
9115 escapes (Bug#7843).
9116
3aace4e4
CY
9117 * files.el (inhibit-first-line-modes-regexps): Add image files.
9118 (hack-local-variables-prop-line): Return nil for malformed
9119 prop-lines (Bug#9044).
9120
710dec63
MA
91212011-09-18 Michael Albinus <michael.albinus@gmx.de>
9122
9123 * net/tramp.el (top): Don't require 'shell.
9124 (tramp-methods): Fix docstring.
9125 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9126 Return complete remote file name. Handle "smb" case.
9127 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9128 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9129
9130 * net/tramp-compat.el (top): Require 'shell.
9131
9132 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9133 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9134 `tramp-current-host'.
9135 (tramp-get-remote-tmpdir): Remove.
9136
9137 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9138 `tramp-tmpdir' entries.
9139 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9140 (tramp-smb-handle-file-attributes): Ignore errors.
9141 (tramp-smb-wait-for-output): Check also for process end.
9142
5d5ac8ec
LMI
91432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9146 when sending QUIT (bug#9312).
9147
8c0f49f0
CY
91482011-09-17 Chong Yidong <cyd@stupidchicken.com>
9149
9150 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9151 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9152 occur-mode-display-occurrence.
9153 (occur-edit-mode): Add usage message.
9154 (occur-cease-edit): New command.
9155 (occur-after-change-function): Use text properties to find the
9156 position of the prefix text.
9157 (occur-engine): Set stickiness of prefix text properties.
9158
8f1383f7
GM
91592011-09-17 Glenn Morris <rgm@gnu.org>
9160
9161 * progmodes/etags.el (complete-tag):
9162 Fix call to completion-in-region. (Bug#9526)
9163
744ba0e3
JL
91642011-09-17 Juri Linkov <juri@jurta.org>
9165
9166 * textmodes/ispell.el (ispell-word): Add to the error message
9167 the word, ispell program name and current dictionary (bug#9121).
9168 (ispell-tex-arg-end): Capitalize "error" in the error message.
9169
d9bbf400
AS
91702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9173 check. (Bug#4251)
9174
8da11505
JL
91752011-09-17 Juri Linkov <juri@jurta.org>
9176
9177 * window.el (window-safe-min-height, window-safe-min-width):
9178 Fix typos (followup to bug#9522).
9179
a91adc7e
SJ
91802011-09-17 Sven Joachim <svenjoac@gmx.de>
9181
9182 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9183
064f328a
EZ
91842011-09-16 Eli Zaretskii <eliz@gnu.org>
9185
9186 * simple.el (line-move): If goal-column is set, move by logical
9187 lines, not by display lines. (Bug#971)
9188 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9189 to reflect the above change.
9190
e69df516
SM
91912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * image.el (imagemagick-register-types): Use regexp-opt.
9194
cbb0f9ab
CY
91952011-09-15 Chong Yidong <cyd@stupidchicken.com>
9196
9197 * window.el (display-buffer-base-action): Rename from
9198 display-buffer-default-action. Make default value empty.
9199 (display-buffer-overriding-action): Convert to defvar.
9200 (display-buffer-fallback-action): New var.
9201
25322144
CY
92022011-09-15 Chong Yidong <cyd@stupidchicken.com>
9203
9204 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9205 declaration.
9206 (package--add-to-archive-contents): If there is a duplicate entry
9207 with an older version, remove it.
9208 (package-menu-mark-delete, package-menu-mark-install)
9209 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9210 (package-menu-mark-obsolete-for-deletion):
9211 Use package-menu-get-status instead of a regexp search.
25322144
CY
9212 (package-menu-get-status): Use tabulated-list-entry.
9213 (package-menu-mark-upgrades): New command.
d770725a 9214 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9215 (package-menu-execute): Do installation before deletion.
9216 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9217 instead of checking major-mode.
9218 (package-menu--find-upgrades): New function.
9219
7520339c
LMI
92202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9221
9222 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9223 passwords in the log buffer.
65a046c4
LMI
9224 (smtpmail-process-filter): Update the process marker so that the
9225 "broken by peer" status message is inserted in the right place.
7520339c 9226
d3c30954
SM
92272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9228
3fe48822
SM
9229 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9230 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9231 bibtex-completion-at-point-function.
9232 (bibtex-completion-at-point-function): Use them.
9233
1b8b3954
SM
9234 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9235
d3c30954
SM
9236 * mpc.el (mpc-constraints-tag-lookup): New function.
9237 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9238 also to browser "album|playlist".
9239
72779976
JL
92402011-09-14 Juri Linkov <juri@jurta.org>
9241
9242 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9243 (isearch-edit-string): Use length of `isearch-string' when
9244 `isearch-fail-pos' returns nil.
9245 (isearch-message): Remove duplicate code and call
9246 `isearch-fail-pos' with arg `t'.
9247
a0bf2bcd
CY
92482011-09-14 Chong Yidong <cyd@stupidchicken.com>
9249
17bb0a2d
CY
9250 * replace.el (occur-mode-goto-occurrence): Don't force using other
9251 window (Bug#9499).
9252
a0bf2bcd
CY
9253 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9254
f678e0b6
MR
92552011-09-14 Martin Rudalics <rudalics@gmx.at>
9256
9257 * window.el (display-buffer-window): Remove.
9258 (display-buffer-record-window): Use help-setup window parameter
9259 instead of variable display-buffer-window.
9260 (display-buffer-function, special-display-buffer-names)
9261 (special-display-function): Mention help-setup parameter instead
9262 of display-buffer-window in doc-string.
d3c30954
SM
9263 * help.el (help-window-setup): New argument help-window.
9264 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9265 Reword some messages.
9266 (with-help-window): Pass window used for displaying the buffer
9267 to help-window-setup. Don't set display-buffer-window.
9268
8e39b2e8
GM
92692011-09-13 Glenn Morris <rgm@gnu.org>
9270
9271 * emacs-lisp/debug.el (debugger-make-xrefs):
9272 Preserve point. (Bug#9462)
9273
85e9c04b
CY
92742011-09-13 Chong Yidong <cyd@stupidchicken.com>
9275
9276 * window.el (window-deletable-p): Use next-frame.
9277
1b36ed6a
MR
92782011-09-13 Martin Rudalics <rudalics@gmx.at>
9279
9280 * window.el (window-auto-delete): Remove.
9281 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9282 dedication and previous buffers.
1b36ed6a
MR
9283 (switch-to-prev-buffer): Don't delete window.
9284 (delete-windows-on): Delete a window's frame if and only if the
9285 window is dedicated.
9286 (replace-buffer-in-windows): Delete buffer's window or frame if
9287 and only if window is dedicated.
9288 (quit-window): Handle quit-restore as before last change.
4d61f28d 9289 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9290
ef8ef9fb
CY
92912011-09-13 Chong Yidong <cyd@stupidchicken.com>
9292
9293 * window.el (window-deletable-p): Never delete the last frame on a
9294 given terminal.
9295
b2cba41e
GM
92962011-09-13 Glenn Morris <rgm@gnu.org>
9297
9298 * help.el (describe-key-briefly): Copy previous standard-output change.
9299
51553db6 93002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9301
9302 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9303
b7556719
GM
93042011-09-13 Glenn Morris <rgm@gnu.org>
9305
9306 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9307 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9308
64b51947
CY
93092011-09-12 Chong Yidong <cyd@stupidchicken.com>
9310
9311 * dired-aux.el (dired-mark-read-string): Don't return default
9312 value on empty input (Bug#9361).
9313 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9314 Omit initial minibuffer contents.
9315 (dired-do-chmod): Signal an error on empty input.
9316 (dired-mark-read-string): Don't return default on empty input.
9317
9318 * files.el (file-modes-symbolic-to-number): Doc fix.
9319
393a301e
SM
93202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * international/mule-cmds.el (ucs-completions): Remove.
9323 (read-char-by-name): Use complete-with-action instead; add metadata.
9324
fa5660f9
CY
93252011-09-11 Chong Yidong <cyd@stupidchicken.com>
9326
9327 * window.el (display-buffer--action-function-custom-type)
9328 (display-buffer--action-custom-type): New vars.
9329 (display-buffer-alist, display-buffer-default-action)
9330 (display-buffer-overriding-action): Add defcustom types.
9331
4a592f66
CY
9332 * frame.el (delete-other-frames): Doc fix (Bug#276).
9333
73d56dbd
LMI
93342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
9336 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9337
37ac18a3
CY
93382011-09-11 Chong Yidong <cyd@stupidchicken.com>
9339
9340 Change modes that used same-window-* vars to use switch-to-buffer.
9341
9342 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9343 Use switch-to-buffer.
9344
9345 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9346 (customize-browse, custom-buffer-create-other-window):
9347 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9348
9349 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9350 (Info-prev, Info-up, Info-speedbar-goto-node)
9351 (info-display-manual): Use switch-to-buffer.
9352 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9353
9354 * mail/sendmail.el (mail): Use switch-to-buffer.
9355 (mail-recover): Use switch-to-buffer-other-window.
9356
9357 * cmuscheme.el (run-scheme, switch-to-scheme):
9358 * ielm.el (ielm):
9359 * shell.el (shell):
9360 * net/rlogin.el (rlogin):
9361 * net/telnet.el (telnet, rsh):
9362 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9363
10195bd6
AS
93642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9365
9366 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9367
b322f63a
LMI
93682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9369
39d7fed6
LMI
9370 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9371 so don't mention it (bug#9301).
ba5a81f1 9372 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9373
ee0e9f11
LMI
9374 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9375 match `x', `w32' and `ns', like the manual says (bug#9029).
9376
0b1c89c1 9377 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9378 (process-kill-buffer-query-function): Mention the buffer name in
9379 the query.
0b1c89c1 9380
77549ea8
LMI
9381 * image-mode.el (image-next-line): The line parameter is mandatory
9382 (bug#9258).
9383
803ef892
LMI
9384 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9385 which can be useful (bug#9301).
9386
12980837
LMI
9387 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9388
91054f8f
LMI
9389 * subr.el (match-string): Mention that the current buffer should
9390 be the same as the search was done in (bug#9282).
9391
b322f63a
LMI
9392 * facemenu.el: Disable the remove-* commands if the mark isn't
9393 active (bug#9162).
9394
3199b96f
CY
93952011-09-10 Chong Yidong <cyd@stupidchicken.com>
9396
9397 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9398 of display-buffer.
9399 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9400
9401 * replace.el (occur-mode-goto-occurrence)
9402 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9403 and display-buffer.
9404
9405 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9406 display-buffer.
9407
9408 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9409 special-display and same-window variables.
9410 (mail-other-window): Use switch-to-buffer-other-window.
9411 (mail-other-frame): USe switch-to-buffer-other-frame.
9412
393a301e
SM
9413 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9414 Use display-buffer-other-frame.
3199b96f
CY
9415 (gdb-display-gdb-buffer): Use pop-to-buffer.
9416
9417 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9418
9419 * progmodes/python.el: Don't set same-window-buffer-names.
9420
9421 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9422
9423 * window.el (display-buffer-alist): Add *Python*.
9424
8319e0bf
CY
94252011-09-10 Chong Yidong <cyd@stupidchicken.com>
9426
9427 * window.el (display-buffer-alist): Add entry for buffers
9428 previously handled same-window-*.
9429 (display-buffer-alist, display-buffer-default-action)
9430 (display-buffer-overriding-action): Mark as risky.
9431 (display-buffer-alist): Document action function changes.
9432 (display-buffer--same-window-action)
9433 (display-buffer--other-frame-action): New variables.
9434 (switch-to-buffer, display-buffer-other-frame): Use them.
9435 (display-buffer): Rename reuse-frame entry to reusable-frames.
9436 (display-buffer-reuse-selected-window): Function deleted.
9437 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9438 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9439 (display-buffer-special): New function.
9440 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9441 display-buffer-reuse-or-pop-window. Split off special-display
9442 part into display-buffer-special.
9443 (display-buffer-use-some-window): Don't perform any special
9444 pop-up-frames handling.
9445 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9446 (display-buffer--maybe-same-window): Rename from
0d3ff375 9447 display-buffer-maybe-same-window.
8319e0bf 9448
919a69aa
CY
9449 * info.el: Don't set same-window-regexps.
9450 (info-setup): New function.
9451 (info-other-window, info): Call it.
9452
9453 * cus-edit.el: Don't set same-window-regexps.
9454 (customize-group): New argument.
9455 (customize-group-other-window): Use it.
9456 (customize-face, customize-face-other-window): Likewise.
9457 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9458
8319e0bf
CY
9459 * net/rlogin.el:
9460 * net/telnet.el:
9461 * progmodes/gud.el: Don't set same-window-regexps.
9462
9463 * cmuscheme.el:
9464 * ielm.el:
9465 * shell.el:
9466 * mail/sendmail.el:
9467 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9468
25173000
JL
94692011-09-10 Juri Linkov <juri@jurta.org>
9470
9471 * isearch.el (isearch-edit-string): Remove obsolete mention of
9472 `C-w' (`isearch-yank-word-or-char') from docstring.
9473 (isearch-query-replace): Fix typo in docstring (bug#9466).
9474
056e44ef
JL
94752011-09-10 Juri Linkov <juri@jurta.org>
9476
9477 * paren.el (show-paren-function): Don't show escaped parens.
9478 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9479
c3760c17
EZ
94802011-09-10 Eli Zaretskii <eliz@gnu.org>
9481
9482 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9483 (mm-default-file-encoding): Remove autoload forms, they are
9484 replaced with autoload cookies in mml.el and mm-encode.el.
9485 (mail-add-attachment): New command.
9486 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9487 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9488 the doc string.
9489 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9490
fece895e
RT
94912011-09-10 Reuben Thomas <rrt@sc3d.org>
9492
e69df516
SM
9493 * simple.el (count-words-region): Use buffer if there's no region
9494 (bug#9429).
fece895e 9495
5e68ce4a
JL
94962011-09-09 Juri Linkov <juri@jurta.org>
9497
9498 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9499 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9500 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9501
0a6b9622
AM
95022011-09-09 Alan Mackenzie <acm@muc.de>
9503
9504 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9505 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9506
14a29deb
EZ
95072011-09-09 Eli Zaretskii <eliz@gnu.org>
9508
9509 Fix for Savannah bug#9392.
9510 * simple.el (mail-encode-mml): New defvar.
9511
9512 * mail/rmail.el (mail-encode-mml): Add a defvar.
9513 (rmail-enable-mime-composing): Default to t.
9514 (rmail-forward): Use MIME method of forwarding only if both
9515 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9516 Set mail-encode-mml non-nil if the MIME method was used.
9517
9518 * mail/sendmail.el (mml-to-mime): Add autoload form.
9519 (mail-encode-mml): Add a defvar.
9520 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9521 to nil.
9522 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9523 message through mml-to-mime, and reset mail-encode-mml to nil.
9524
28c45130
GM
95252011-09-09 Glenn Morris <rgm@gnu.org>
9526
9527 * woman.el (woman-if-body): When processing an .el block,
9528 do not delete the next .el block as well. (Bug#9447)
69f4b618 9529 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9530
9b1c252e
MR
95312011-09-08 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (window-deletable-p): Make sure window is live before
9534 invoking window-prev-buffers.
9535
567457e3
LL
95362011-09-08 Leo Liu <sdl.web@gmail.com>
9537
9538 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9539
97f05794
JL
95402011-09-08 Juri Linkov <juri@jurta.org>
9541
9542 * progmodes/compile.el (compilation-environment): Make it
9543 a defcustom (bug#8340).
9544
8b0874b5
MR
95452011-09-08 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (frame-auto-delete): Rename to window-auto-delete.
9548 Make it control auto-deletion of windows and/or frames.
9549 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9550 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9551 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9552 Rewrite handling of case when window/frame can be deleted.
9553 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9554 argument t. (Bug#9456)
8b0874b5 9555
4feb6e73
CY
95562011-09-07 Chong Yidong <cyd@stupidchicken.com>
9557
9558 * help-mode.el (help-mode): Restore autoload.
9559
91ab9c13
JL
95602011-09-07 Juri Linkov <juri@jurta.org>
9561
9562 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9563 `compilation-environment'. Set buffer-local
9564 `compilation-environment' to `thisenv' later after (funcall mode).
9565 (Bug#8340)
9566
9567 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9568 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9569 instead of replacing its value. (Bug#8340)
9570
0527e251
JL
95712011-09-07 Juri Linkov <juri@jurta.org>
9572
9573 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9574 based on text properties put by `grep-filter' instead of matching
9575 escape sequences.
9576 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9577 to the value of `grep-error-screen-columns' (bug#9438).
9578
249f792c
JL
95792011-09-07 Juri Linkov <juri@jurta.org>
9580
9581 * simple.el (next-error-highlight, next-error-highlight-no-select):
9582 Doc fix (bug#9432).
9583
ff7271b9
OT
95842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9585
9586 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9587 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9588
183fc730
LL
95892011-09-07 Leo Liu <sdl.web@gmail.com>
9590
9591 * net/rcirc.el (rcirc-mode): Conditionally initialize
9592 rcirc-input-ring.
9593
77694924
SM
95942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * emacs-lisp/find-func.el (find-function-C-source): Only set
9597 find-function-C-source-directory after checking that we found a source
9598 file there (bug#9440).
9599
d809b8eb
AM
96002011-09-06 Alan Mackenzie <acm@muc.de>
9601
9602 * isearch.el (isearch-other-meta-char): Wherever a key list is
9603 unread, "unread" the prefix arg, too. This fixes bug #8901.
9604
453de99f
OG
96052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9606
9607 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9608
90439906
JL
96092011-09-05 Juri Linkov <juri@jurta.org>
9610
9611 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9612
f62bd846
JL
96132011-09-05 Juri Linkov <juri@jurta.org>
9614
9615 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9616 keeping point where processing of grep matches begins, and
9617 continue to delete remaining escape sequences from the same point.
9618 (grep-filter): Make leading zero optional in "0?1;31m" because
9619 git-grep emits "\033[1;31m" escape sequences unlike expected
9620 "\033[01;31m" as GNU Grep does (bug#9408).
9621 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9622
045820ec
JL
96232011-09-05 Juri Linkov <juri@jurta.org>
9624
9625 * subr.el (y-or-n-p): Capitalize "yes".
9626
f5e29b9b
MA
96272011-09-04 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9630 `tramp-cache-unload-hook' where appropriate.
9631 (tramp-methods): Rename `tramp-remote-sh' to
9632 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9633 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9634
9635 * net/tramp-sh.el (top): Don't require 'shell.
9636 (tramp-methods): Add `tramp-remote-shell' and
9637 `tramp-remote-shell-args' entries.
9638 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9639 (tramp-sh-handle-shell-command): Remove.
9640 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9641 Use `tramp-remote-shell'.
9642
2784c434
CY
96432011-09-03 Chong Yidong <cyd@stupidchicken.com>
9644
393a301e 9645 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9646 (sendmail-query-once): Save directly to send-mail-function.
9647 Update message-send-mail-function too.
9648
9649 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9650
464cdf56
CS
96512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9652
9653 * progmodes/python.el (python-mode-map): Use correct function to
9654 start python interpreter from menu-bar (as reported by Geert
9655 Kloosterman).
9656 (inferior-python-mode-map): Fix typo.
393a301e 9657 (python-shell-map): Remove.
464cdf56 9658
d37e5c87
DD
96592011-09-03 Deniz Dogan <deniz@dogan.se>
9660
9661 * net/rcirc.el (rcirc-print): Simplify code for
9662 rcirc-scroll-show-maximum-output. There is no need to walk
9663 through all windows to find the right one.
9664
f3ada0ee
CS
96652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9666
9667 * help.el (help-return-method): Doc fix.
9668
1f3c99ca
MR
96692011-09-03 Martin Rudalics <rudalics@gmx.at>
9670
9671 * window.el (window-deletable-p): Don't return a non-nil value
9672 when there's a buffer that was shown in the window before.
9673 (Bug#9419)
393a301e
SM
9674 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9675 Set window's previous buffers to nil.
1f3c99ca 9676
a3cf097f
EZ
96772011-09-03 Eli Zaretskii <eliz@gnu.org>
9678
9679 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9680 newline before and after the tag line, so it doesn't interfere
9681 with determining the paragraph direction of bidirectional text.
9682
3d03de90
LL
96832011-09-03 Leo Liu <sdl.web@gmail.com>
9684
9685 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9686
c3313451
CY
96872011-09-02 Chong Yidong <cyd@stupidchicken.com>
9688
393a301e 9689 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9690 (pop-to-buffer): Change interactive spec. Pass second argument
9691 directly to display-buffer.
9692 (display-buffer): Fix interactive spec. Use functionp to
9693 distinguish between a function and a list of functions.
9694
9695 * abbrev.el (edit-abbrevs):
9696 * arc-mode.el (archive-extract):
9697 * autoinsert.el (auto-insert):
9698 * bookmark.el (bookmark-bmenu-list):
9699 * files.el (find-file):
9700 * view.el (view-buffer):
9701 * progmodes/compile.el (compilation-goto-locus):
9702 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9703
89894cd8
CY
97042011-09-02 Chong Yidong <cyd@stupidchicken.com>
9705
9706 * window.el (display-buffer-alist): Doc fix.
9707 (display-buffer): Add docstring. Don't treat
9708 display-buffer-default specially.
9709 (display-buffer-reuse-selected-window)
9710 (display-buffer-same-window, display-buffer-maybe-same-window)
9711 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9712 (display-buffer-pop-up-window)
9713 (display-buffer-reuse-or-pop-window)
9714 (display-buffer-use-some-window): New functions.
9715 (display-buffer-default-action): Use them.
393a301e 9716 (display-buffer-default): Delete.
89894cd8
CY
9717 (pop-to-buffer-1): Fix choice of actions.
9718
ae0bc9fb
SM
97192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * minibuffer.el (completion--insert-strings): Don't get confused by
9722 completion entries that end with an LF char.
9723
e9d90883
EZ
97242011-09-01 Eli Zaretskii <eliz@gnu.org>
9725
9726 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9727
437014c8
CY
97282011-09-01 Chong Yidong <cyd@stupidchicken.com>
9729
9730 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9731 (display-buffer-same-window, display-buffer-other-window):
9732 New functions.
437014c8
CY
9733 (pop-to-buffer-1): New function. Use the above.
9734 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9735 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9736
9737 * view.el (view-buffer-other-window, view-buffer-other-frame):
9738 Just use pop-to-buffer.
9739
a5e063d5
TV
97402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9741
9742 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9743
793d32bb
WH
97442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9745
9746 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9747
d65e4c15
RS
97482011-08-31 Richard Stallman <rms@gnu.org>
9749
9750 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9751 of the separation of rmail-view-buffer from rmail-buffer.
9752 If you say no to "replace original", the decrypt is in the
9753 view buffer. If you say yes, the decrypt goes into the
9754 rmail buffer also.
9755
f818cd2a
MR
97562011-08-31 Martin Rudalics <rudalics@gmx.at>
9757
9758 * window.el (display-buffer-window): Rewrite doc-string.
9759 (display-buffer-record-window): New function.
9760 (display-buffer-macro-specifiers)
9761 (display-buffer-even-window-sizes, display-buffer-set-height)
9762 (display-buffer-set-width, display-buffer-in-window)
9763 (display-buffer-reuse-window, display-buffer-split-specifiers)
9764 (display-buffer-side-specifiers, display-buffer-split-window-1)
9765 (display-buffer-split-window, display-buffer-split-atom-window)
9766 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9767 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9768 (display-buffer-other-window-means-other-frame)
9769 (display-buffer-normalize-special)
9770 (display-buffer-normalize-default)
9771 (display-buffer-normalize-argument)
9772 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9773 (display-buffer-normalize-specifiers, display-buffer-frame)
9774 (display-buffer-same-window, display-buffer-same-frame)
9775 (display-buffer-other-window)
9776 (display-buffer-same-frame-other-window)
9777 (display-buffer-other-frame, pop-to-buffer-same-window)
9778 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9779 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9780 (switch-to-buffer-same-frame)
9781 (switch-to-buffer-other-window-same-frame)
9782 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9783 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9784 (display-buffer-alist-set): Remove.
9785 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9786 (special-display-regexps, special-display-function):
9787 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9788 parameter.
9789 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9790 (special-display-frame-alist, special-display-popup-frame)
9791 (same-window-buffer-names, same-window-regexps, same-window-p)
9792 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9793 (split-window-preferred-function, split-height-threshold)
9794 (split-width-threshold, window-splittable-p)
9795 (split-window-sensibly, window--try-to-split-window)
9796 (window--frame-usable-p, even-window-heights)
9797 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9798 (window--display-buffer-2, display-buffer-other-frame):
9799 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9800 (display-buffer-default, display-buffer-assq-regexp): New functions.
9801 (display-buffer-alist): Rewrite doc-string.
9802 (display-buffer-default-action)
9803 (display-buffer-overriding-action): New variables.
9804 (display-buffer, switch-to-buffer): Rewrite.
9805 (pop-to-buffer): Restore Emacs 23 behavior but use
9806 window-normalize-buffer-to-display.
9807 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9808 Restore Emacs 23 behavior but use
9809 window-normalize-buffer-to-switch-to.
9810 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9811 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9812 Rewrite using Emacs 23 options.
f818cd2a 9813
5bc3b51d
MA
98142011-08-31 Michael Albinus <michael.albinus@gmx.de>
9815
9816 * net/tramp.el (tramp-root-regexp): Remove.
9817 (tramp-completion-file-name-regexp-unified)
9818 (tramp-completion-file-name-regexp-separate)
9819 (tramp-completion-file-name-regexp-url): Don't use leading volume
9820 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9821 (tramp-drop-volume-letter): Simplify definition.
9822 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9823
b1a4f8e1
SM
98242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9827 (bug#9356).
9828
5664fa7b
RT
98292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9830
b1a4f8e1 9831 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9832
9a45d6c3
JL
98332011-08-29 Juri Linkov <juri@jurta.org>
9834
9835 * isearch.el (isearch-done): Don't display message "Mark saved"
9836 when arg `edit' is non-nil to prevent its flicker in the echo area.
9837
fb87e0fb
CY
98382011-08-28 Chong Yidong <cyd@stupidchicken.com>
9839
9840 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9841 obsolete packages for deletion.
9842
09ac1c2a
CS
98432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9844
9845 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9846 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9847 view-mode from help-mode.
9848 (help-xref-override-view-map): Remove.
9849 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9850 view-mode is not used anymore.
9851
7a1ff57f
CY
98522011-08-28 Chong Yidong <cyd@stupidchicken.com>
9853
9854 * server.el (server-port): Doc fix.
9855
b9696605
CY
9856 * cus-theme.el (custom-theme-choose-mode): Inherit from
9857 special-mode (Bug#9124).
9858 (custom-theme-choose-mode-map): Add special-mode to parent.
9859
ef8cdf8c
AM
98602011-08-28 Alan Mackenzie <acm@muc.de>
9861
9862 * progmodes/cc-fonts.el
9863 (c-make-font-lock-BO-decl-search-function): New function.
9864 (c-basic-matchers-after - "Fontify the clauses after various
9865 keywords"): Extract the three keyword lists for the 3 erroneous
9866 constructs from the list of four, and use the new function above
9867 in place of an old one.
9868
27de4e20
DD
98692011-08-28 Deniz Dogan <deniz@dogan.se>
9870
9871 * net/rcirc.el (rcirc-insert-prev-input)
9872 (rcirc-insert-next-input): Remove unused argument.
9873
356a3681
SM
98742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9877
3fc9b218
AM
98782011-08-27 Alan Mackenzie <acm@muc.de>
9879
9880 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9881 handle function pointer parameters properly.
9882
538a061c
MR
98832011-08-27 Martin Rudalics <rudalics@gmx.at>
9884
9885 * window.el (display-buffer-reuse-window): Fix case where
9886 selected window was reused with non-nil OTHER-WINDOW argument.
9887 (Bug#9381)
9888
35b1c40c
DD
98892011-08-27 Deniz Dogan <deniz@dogan.se>
9890
9891 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9892 oftc's NickServ messages.
9893
2f6a3e79
GM
98942011-08-27 Glenn Morris <rgm@gnu.org>
9895
9896 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9897
7254299e
CY
98982011-08-26 Chong Yidong <cyd@stupidchicken.com>
9899
9900 * emacs-lisp/package.el (package-install): Call package-initialize
9901 if called interactively.
9902
f8ccf167
LL
99032011-08-26 Leo Liu <sdl.web@gmail.com>
9904
9905 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9906
3e8cd5ce
JL
99072011-08-25 Juri Linkov <juri@jurta.org>
9908
9909 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9910 `search-whitespace-regexp' (bug#9364).
9911
93eb7113
JL
99122011-08-25 Juri Linkov <juri@jurta.org>
9913
9914 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9915 `regexp-search-ring' to their global values to protect from
9916 updating by `read-from-minibuffer' (bug#9185).
9917
f65d1611
JL
99182011-08-25 Juri Linkov <juri@jurta.org>
9919
9920 * textmodes/ispell.el (ispell-command-loop): Add newline
9921 at the end of the "Use option `i'..." line.
9922
f1cf7a31
JL
99232011-08-25 Juri Linkov <juri@jurta.org>
9924
9925 * battery.el (display-battery-mode): If `battery-status-function'
9926 or `battery-mode-line-format' is nil, display the message and set
9927 `display-battery-mode' to nil (bug#9363).
9928
0c95fcf7
EZ
99292011-08-25 Eli Zaretskii <eliz@gnu.org>
9930
9931 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9932 bidi-string-mark-left-to-right; they are unnecessary now.
9933
a2ebe600
DD
99342011-08-25 Deniz Dogan <deniz@dogan.se>
9935
9936 * net/quickurl.el: Documentation typo fixes.
9937
e4ed06f1
CY
99382011-08-25 Chong Yidong <cyd@stupidchicken.com>
9939
9940 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9941
e5f1c99e
GM
99422011-08-25 Glenn Morris <rgm@gnu.org>
9943
b2948976
GM
9944 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9945
e5f1c99e
GM
9946 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9947 (smtpmail-via-smtp): Handle nil response from smtp.
9948
f22f4808
JL
99492011-08-24 Juri Linkov <juri@jurta.org>
9950
9951 * proced.el (proced-marked): Inherit from `error' instead of
9952 `font-lock-warning-face'.
9953
9954 * ibuffer.el (ibuffer-marked-face): Change default face from
9955 `font-lock-warning-face' to `warning'.
9956 (ibuffer-deletion-face): Change default face from
9957 `font-lock-type-face' to `error'.
9958
9959 * battery.el (battery-update): Use the face `error' instead of
9960 `font-lock-warning-face' (bug#6117).
9961
6a93965e
JL
99622011-08-24 Juri Linkov <juri@jurta.org>
9963
9964 * faces.el (success): Change face color from "Green3" to
9965 "ForestGreen" on light background (bug#9353).
9966
1ed43b09
CY
99672011-08-24 Chong Yidong <cyd@stupidchicken.com>
9968
5664fa7b
RT
9969 * window.el (quit-window): Rename from quit-restore-window.
9970 Use same arglist as old quit-window.
1ed43b09
CY
9971 (frame-auto-delete): Doc fix.
9972
9973 * view.el (view-mode-exit): Use quit-window.
9974
11dcdbb2
JL
99752011-08-24 Juri Linkov <juri@jurta.org>
9976
9977 * isearch.el (isearch-ring-adjust1): Start visiting previous
9978 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9979 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9980 for empty search string (when the last search string is reused
9981 automatically) to adjust the isearch ring to the last element and
9982 prepare the correct index for further M-p commands (bug#9185).
9983
de62b4df
KH
99842011-08-24 Kenichi Handa <handa@m17n.org>
9985
9986 * international/ucs-normalize.el: If decomposition property of
9987 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9988 nil.
9989 (nfd, nfkd): Likewise.
9990
963b492b
SM
99912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9994 from process filters aren't reliably transmitted to the surrounding
9995 accept-process-output.
9996 (mpc-proc-check): New function.
9997 (mpc-proc-sync): Use it (bug#8293)
9998
93b6b5e1
SM
99992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10002 Add compatibility functions (bug#9313).
10003
bca633fb
EZ
100042011-08-23 Eli Zaretskii <eliz@gnu.org>
10005
b177498a
EZ
10006 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10007
6df6ae42 10008 * international/uni-bidi.el: Regenerate.
bca633fb 10009
0902a04e
KH
100102011-08-23 Kenichi Handa <handa@m17n.org>
10011
10012 * international/charprop.el:
10013 * international/uni-bidi.el:
10014 * international/uni-category.el:
10015 * international/uni-combining.el:
10016 * international/uni-comment.el:
10017 * international/uni-decimal.el:
10018 * international/uni-decomposition.el:
10019 * international/uni-digit.el:
10020 * international/uni-lowercase.el:
10021 * international/uni-mirrored.el:
10022 * international/uni-name.el:
10023 * international/uni-numeric.el:
10024 * international/uni-old-name.el:
10025 * international/uni-titlecase.el:
10026 * international/uni-uppercase.el: Regenerate.
10027
3bbf23bc
MR
100282011-08-23 Martin Rudalics <rudalics@gmx.at>
10029
10030 * help.el (help-window-setup): Fix message displayed when other
10031 window is reused. (Bug#9341)
10032
b3fd59bd
SM
100332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10034
1802e444
SM
10035 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10036 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10037
b3fd59bd
SM
10038 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10039 Mark obsolete.
10040 * shell.el (shell-parse-pcomplete-arguments): New function.
10041 (shell-completion-vars): Use it instead (bug#9160).
10042
4eb61348
SM
100432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10044
867cab74
SM
10045 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10046 strings and comments (bug#9333).
10047
4eb61348
SM
10048 * emacs-lisp/debug.el (debug-arglist): New function.
10049 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10050 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10051
262a1439
JL
100522011-08-22 Juri Linkov <juri@jurta.org>
10053
56ee679c
JL
10054 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10055 Revert regexp that highlights output switches to its old
10056 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10057
262a1439
JL
10058 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10059 to check for empty output (bug#9226).
10060
f13f86fb
CY
100612011-08-22 Chong Yidong <cyd@stupidchicken.com>
10062
10063 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10064 symbol-constituent as the default, as that stops font-lock from
10065 working properly (Bug#8843).
10066
c65c9622
LMI
100672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
10069 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10070 `coding-system-for-*' around the process open call to avoid
10071 auth-source side effects.
e7f2c178 10072 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10073 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10074 probe hangs.
c65c9622 10075
23a8a5ab
CY
100762011-08-21 Chong Yidong <cyd@stupidchicken.com>
10077
ff98b2dd
CY
10078 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10079
23a8a5ab
CY
10080 * emacs-lisp/find-func.el (find-function-noselect): New arg
10081 lisp-only.
10082
10083 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10084 signal an error for built-in functions (Bug#6664).
10085
f5e3c598
LMI
100862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10087
10088 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10089 (smtpmail-try-auth-methods): Use it.
10090
a3f2468a
CY
100912011-08-21 Chong Yidong <cyd@stupidchicken.com>
10092
2c34e8da
CY
10093 * font-lock.el (font-lock-fontify-region)
10094 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10095 (font-lock-default-unfontify-buffer)
10096 (font-lock-default-fontify-region)
10097 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10098
b3fd59bd
SM
10099 * progmodes/compile.el (compilation-error-properties):
10100 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10101 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10102 `ant' regexp.
ee31aabc 10103
a3f2468a
CY
10104 * net/browse-url.el (browse-url-firefox): Don't call
10105 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10106
8e999f70
GM
101072011-08-20 Glenn Morris <rgm@gnu.org>
10108
c21a496a
GM
10109 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10110
59ee0542
GM
10111 * tutorial.el (tutorial--default-keys): Update some default bindings.
10112
8e999f70
GM
10113 * files.el (hack-local-variables): Fully ignore case for "mode:".
10114
e3715033
AM
101152011-08-20 Alan Mackenzie <acm@muc.de>
10116
10117 Resolve invalid use of a regexp in regexp-opt.
10118
4d61f28d
JB
10119 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10120 detection for a java annotation.
e3715033 10121
4d61f28d 10122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10123 detection for a java annotation.
10124
4d61f28d
JB
10125 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10126 handling for java.
e3715033
AM
10127 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10128
04ed2e9c
CY
101292011-08-20 Chong Yidong <cyd@stupidchicken.com>
10130
10131 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10132 (Bug#9274).
10133
826cee64
AM
101342011-08-20 Alan Mackenzie <acm@muc.de>
10135
58179cce 10136 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10137 such a construct. Mainly for when jit-lock etc. starts a chunk
10138 here.
10139
58179cce 10140 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10141 variable.
58179cce 10142 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10143 c-make-font-lock-search-function.
10144 (c-make-font-lock-search-function): Use the above function.
10145 (c-make-font-lock-context-search-function): New function.
10146 (c-cpp-matchers): Enhance the preprocessor expression case with
10147 the above function
10148 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10149 which takes an expression.
10150
10151 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10152
13009bd8
MR
101532011-08-20 Martin Rudalics <rudalics@gmx.at>
10154
10155 * window.el (display-buffer-reuse-window)
10156 (display-buffer-pop-up-window): Don't reuse or split a side
10157 window.
10158
9234ff7f
GM
101592011-08-19 Glenn Morris <rgm@gnu.org>
10160
10161 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10162 Downcase "Mode:". (Bug#9331)
9234ff7f 10163
f635daa1
CY
101642011-08-18 Chong Yidong <cyd@stupidchicken.com>
10165
10166 * international/characters.el: Add L and R categories.
10167
10168 * subr.el (bidi-string-mark-left-to-right): Rename from
10169 string-mark-left-to-right. Use category search.
10170
10171 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10172
bc987f8b
JL
101732011-08-18 Juri Linkov <juri@jurta.org>
10174
10175 * faces.el (error, warning, success): New faces with definitions
10176 copied from old default values of `font-lock-warning-face',
10177 `compilation-warning', `compilation-info' (bug#6117).
10178
10179 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10180
10181 * progmodes/compile.el (compilation-error): Inherit from `error'.
10182 (compilation-warning): Inherit from `warning'.
10183 (compilation-info): Inherit from `success'.
10184
10185 * dired.el (dired-marked): Inherit from `warning'.
10186 (dired-flagged): Inherit from `error'.
10187
57173b96
LMI
101882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10189
3e79eb87
LMI
10190 * mail/smtpmail.el (auth-source): Require to avoid problems with
10191 binding variables (bug#9298). Also clean up some unused
10192 autoloads.
10193
b3fd59bd
SM
10194 * net/network-stream.el (network-stream-open-starttls):
10195 Support using starttls.el without using gnutls-cli.
57173b96 10196
02b404de
JL
101972011-08-17 Juri Linkov <juri@jurta.org>
10198
10199 * progmodes/grep.el (rgrep): Handle the case when
10200 `grep-find-command' is a cons cell (bug#9278).
10201
8c9177f2
MR
102022011-08-17 Martin Rudalics <rudalics@gmx.at>
10203
10204 * window.el (display-buffer-pop-up-frame): Run frame creation
10205 function with BUFFER current (as special-display-popup-frame
10206 does). Reported by Drew Adams.
10207
3644a0ab
DU
102082011-08-17 Daiki Ueno <ueno@unixuser.org>
10209
10210 * epa-mail.el: Simplify GnuPG group expansion using
10211 epg-expand-group.
10212 (epa-mail-group-alist, epa-mail-group-modtime)
10213 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10214 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10215 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10216 Remove.
10217
5e617bc2 102182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10219
10220 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10221
9c4aeabf
AM
102222011-08-16 Alan Mackenzie <acm@muc.de>
10223
10224 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10225 Correct, to avoid the inside of macros.
10226
3a99bf64
RS
102272011-08-16 Richard Stallman <rms@gnu.org>
10228
04963aa8
RS
10229 * epa-mail.el: Handle GnuPG group definitions.
10230 (epa-mail-group-alist, epa-mail-group-modtime)
10231 (epa-mail-gnupg-conf-file): New variables.
10232 (epa-mail-parse-groups, epa-mail-sync-groups)
10233 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10234 (epa-mail-expand-recipients): New functions.
10235 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10236
177549d0
RS
10237 * mail/rmail.el (rmail-epa-decrypt): New command.
10238
fe38beef
RS
10239 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10240 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10241 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10242 (epa-decrypt-armor-in-region): Make error message clearer.
10243
934eacb9
SM
102442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10247 and "a2b" to "ab" for `prefix'.
10248
d024fb4e
CY
102492011-08-14 Chong Yidong <cyd@stupidchicken.com>
10250
10251 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10252 filter groups.
de148fee
CY
10253 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10254 Fourquet (Bug#8804).
d024fb4e 10255
62f1ca49
JB
102562011-08-12 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * startup.el (argi): Declare as global variable (bug#9275).
10259
9ccaaa4b
CY
102602011-08-12 Chong Yidong <cyd@stupidchicken.com>
10261
10262 * subr.el (string-mark-left-to-right): Search the entire string
10263 for RTL script, not just the terminating character. Doc fix.
10264
a3dae87a
SM
102652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10266
6cd18349
SM
10267 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10268 New function.
10269 (js--regexp-literal, js-syntax-propertize-function): Remove.
10270 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10271 (js-mode-map): Don't rebind electric keys.
10272 (js-insert-and-indent): Remove.
10273 (js-mode): Setup electric-layout and electric-indent instead.
10274
a3dae87a
SM
10275 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10276
9d5cb631
DU
102772011-08-12 Daiki Ueno <ueno@unixuser.org>
10278
10279 * epa.el (epa-progress-callback-function): Fix the logic of
10280 displaying progress.
10281 * epa-file.el (epa-file-insert-file-contents): Make progress
10282 display more user-friendly.
10283 (epa-file-write-region): Ditto.
10284
3e26a4a2
CY
102852011-08-10 Chong Yidong <cyd@stupidchicken.com>
10286
10287 * subr.el (string-mark-left-to-right): New function.
10288
10289 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10290 Use string-mark-left-to-right.
10291 (list-buffers-noselect): Caller changed.
10292
a3dae87a
SM
10293 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10294 Use string-mark-left-to-right.
3e26a4a2
CY
10295 (tabulated-list-print): Recenter after moving point.
10296
ac8cf6e6
JL
102972011-08-10 Juri Linkov <juri@jurta.org>
10298
10299 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10300 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10301 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10302
8d96c9a4
CY
103032011-08-09 Chong Yidong <cyd@stupidchicken.com>
10304
10305 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10306 (Bug#7554).
10307
7be1c708 103082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10309
10310 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10311 character. (Bug#6594)
10312
37e11a63
CY
103132011-08-08 Chong Yidong <cyd@stupidchicken.com>
10314
839dde57
CY
10315 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10316 (image-dired--with-db-file): New macro.
10317 (image-dired-write-tags, image-dired-remove-tag)
10318 (image-dired-create-gallery-lists, image-dired-write-comments)
10319 (image-dired-get-comment, image-dired-mark-tagged-files)
10320 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10321 (image-dired-gallery-generate): Use insert-file-contents.
10322
37e11a63
CY
10323 * time.el (display-time-world-list, display-time-world-display):
10324 * time-stamp.el (time-stamp-string):
10325 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10326 set-time-zone-rule (Bug#7337).
10327
0b4946c4
DU
103282011-08-08 Daiki Ueno <ueno@unixuser.org>
10329
10330 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10331 (epg-error-to-string, epg-errors-to-string): New function.
10332 (epg-wait-for-completion): Reverse errors list.
10333 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10334 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10335 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10336 (epg-sign-keys, epg-generate-key-from-file)
10337 (epg-generate-key-from-string): Format errors by using
10338 epg-errors-to-string (bug#9255).
10339 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10340
75bfc667
JL
103412011-08-07 Juri Linkov <juri@jurta.org>
10342
10343 * faces.el (list-faces-display): Remove extra angle bracket
10344 from `help-mode-map'.
10345
10346 * info.el (Info-history-toc-nodes): Doc fix.
10347
10348 * longlines.el (longlines-mode): Doc fix.
10349
673e08bb
SM
103502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10351
4640dd88
SM
10352 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10353 of statements and in a few more cases (bug#9183).
10354
673e08bb
SM
10355 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10356 New functions.
10357 (cl-transform-lambda): Use them (bug#9239).
10358
89b3f019
MR
103592011-08-05 Martin Rudalics <rudalics@gmx.at>
10360
10361 * window.el (display-buffer-same-window)
10362 (display-buffer-same-frame, display-buffer-other-window)
10363 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10364 (pop-to-buffer-other-window)
10365 (pop-to-buffer-same-frame-other-window)
10366 (pop-to-buffer-other-frame): Make them defuns.
10367 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10368
640c8776
SM
103692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * subr.el (make-composed-keymap): Move from C. Change calling
10372 convention, and improve docstring to bring attention to a subtle point.
10373 * minibuffer.el (completing-read-default): Adjust accordingly.
10374
63648a95
MA
103752011-08-03 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10378 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10379
10380 * net/trampver.el: Update release number.
10381
b796c9b7
SM
103822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10385 "in" (bug#9190).
10386
2239d7d5
LMI
103872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10388
e07dd7c3
LMI
10389 * mail/sendmail.el (sendmail-query-once): Restore the current
10390 buffer after querying (bug#9074).
10391
0e6a2bd7
LMI
10392 * dired.el (dired-flagged): Use different faces for marked and
10393 flagged files (bug#6117).
10394
ce887515
LMI
10395 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10396 (bug#4433).
10397
92f2affc
LMI
10398 * ido.el (ido-mode): Switch off the message if called
10399 non-interactively.
10400
57d5aff0
LMI
10401 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10402 before 587, since it appears that that's more likely to work for
10403 more people.
10404
98cd6c18 10405 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10406 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10407 exist.
10408
b96dec83
LMI
10409 * info.el: Remove the `Info-beginning-of-buffer' function
10410 (bug#8325).
10411
b796c9b7
SM
10412 * net/network-stream.el (network-stream-open-starttls):
10413 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10414
d90e2ea0
MR
104152011-08-01 Martin Rudalics <rudalics@gmx.at>
10416
10417 * window.el (display-buffer-in-window): Don't set dedicated status
10418 of window here (Bug#9215).
10419 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10420 (display-buffer-pop-up-side-window)
b796c9b7 10421 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10422
cca09170
SM
104232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10426 before binding generated-autoload-file.
10427
027b979c
DD
104282011-08-01 Deniz Dogan <deniz@dogan.se>
10429
10430 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10431
3c7ee4f3
MA
104322011-07-30 Michael Albinus <michael.albinus@gmx.de>
10433
10434 Sync with Tramp 2.2.2.
10435
10436 * net/trampver.el: Update release number.
10437
2cc8e51a
JL
104382011-07-30 Juri Linkov <juri@jurta.org>
10439
10440 * dired-aux.el (dired-touch-initial): Remove function.
10441 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10442 current time, and `default' to the last modification time of the
10443 current marked file (bug#6887).
10444
a514d856
JM
104452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10446
10447 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10448 numeric argument to read-number (bug#9163).
a514d856 10449
8a7eddd7
MA
104502011-07-27 Michael Albinus <michael.albinus@gmx.de>
10451
10452 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10453 connection process, it could be nil.
10454
1ddd96f5
LL
104552011-07-27 Leo Liu <sdl.web@gmail.com>
10456
10457 Simplify url handling in rcirc-mode.
10458
10459 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10460 (rcirc-browse-url-at-mouse): Remove.
10461 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10462
b248a85d
AM
104632011-07-26 Alan Mackenzie <acm@muc.de>
10464
10465 Fontify bitfield declarations properly.
10466
10467 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10468 (c-symbol-chars): Now exported as a lang variable.
10469 (c-not-primitive-type-keywords): New lang variable.
10470
10471 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10472 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10473 parsed as a bitfield declaration.
b248a85d 10474
b796c9b7
SM
10475 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10476 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10477 (c-punctuation-in): New function.
10478 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10479 declarations properly.
10480
68575ab0
UJ
104812011-07-26 Ulf Jasper <ulf.jasper@web.de>
10482
10483 * calendar/icalendar.el (icalendar--all-events): Take care of
10484 multiple vcalendars in a single file.
b796c9b7 10485 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10486
0f0a88b9
DD
104872011-07-25 Deniz Dogan <deniz@dogan.se>
10488
10489 * image.el (insert-image): Clarifying docstring.
10490
0b3f36df
MA
104912011-07-24 Michael Albinus <michael.albinus@gmx.de>
10492
10493 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10494 `tramp-send-command-and-check' if there is no error.
10495 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10496
a9901f61
AM
104972011-07-22 Alan Mackenzie <acm@muc.de>
10498
10499 Prevent cc-langs.elc being loaded at run time.
10500
10501 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10502 cc-langs.
10503
4d61f28d 10504 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10505 "(require 'cc-langs)". Quote a form so it will evaluate at
10506 (cc-mode's) compilation time.
10507
11d074b2
MA
105082011-07-22 Michael Albinus <michael.albinus@gmx.de>
10509
10510 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10511 loading. (Bug#9114)
10512
938b94c8
MR
105132011-07-21 Martin Rudalics <rudalics@gmx.at>
10514
10515 * window.el (display-buffer-pop-up-window)
10516 (display-buffer-pop-up-side-window)
10517 (display-buffer-in-side-window): Call display-buffer-set-height
10518 and display-buffer-set-width after setting the new window's
b796c9b7 10519 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10520
bfa4f190
SS
105212011-07-20 Sam Steingold <sds@gnu.org>
10522
10523 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10524 (etags-tags-included-tables): Call `convert-standard-filename' on
10525 the file names contained in TAGS so that windows Emacs can handle
10526 TAGS files created by cygwin ctags.
10527
8ca42262
LMI
105282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10529
10530 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10531 which apparently didn't work.
10532
5db2afd2 105332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10534
5db2afd2
RW
10535 * proced.el (proced-send-signal): For *Marked Processes* buffer
10536 put point at beginning of buffer.
10537
92e15d10
SB
105382011-07-19 Stephen Berman <stephen.berman@gmx.net>
10539
10540 * proced.el (proced-format): Make header lines align with the text
10541 (bug#1779).
10542
1bfd59e5
LMI
105432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10544
10545 * view.el (view-buffer): Allow running in `special' modes if we're
10546 visiting a file (bug#8615).
10547
f5aae37c
MR
105482011-07-19 Martin Rudalics <rudalics@gmx.at>
10549
10550 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10551 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10552 New functions.
f5aae37c
MR
10553 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10554 more accurately.
10555
bf2c1571
AM
105562011-07-18 Alan Mackenzie <acm@muc.de>
10557
10558 Fontify declarators properly when, e.g., a jit-lock chunk begins
10559 inside a declaration.
10560
10561 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10562
b796c9b7
SM
10563 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10564 New function.
bf2c1571
AM
10565 (c-complex-decl-matchers): Insert reference to
10566 c-font-lock-enclosing-decls.
10567
10568 * progmodes/cc-engine.el (c-backward-single-comment):
10569 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10570 to nil around calls to (forward-comment -1).
10571
4e190b80
LMI
105722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
12dc863d
LMI
10574 * image.el (put-image): Doc typo fix.
10575
a762e966
LMI
10576 * progmodes/etags.el (tags-search): Doc typo fix.
10577
4e190b80
LMI
10578 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10579 password if we get errors 550 to 554.
10580
f019fb21
LMI
105812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582
b796c9b7 10583 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10584
81746738
LMI
10585 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10586 indentation character (bug#6380).
10587
3ee3a1b5
LMI
10588 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10589
c82f64de
LMI
10590 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10591 to clarify what the problem is (bug#4291).
10592
f019fb21
LMI
10593 * simple.el (current-kill): Clarify what
10594 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10595 (auto-fill-mode): Document `auto-fill-function' in relation to
10596 `auto-fill-mode' (bug#2470).
f019fb21 10597
0794775d
LM
105982011-07-16 Lawrence Mitchell <wence@gmx.li>
10599
10600 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10601 method if slot is read-only (bug#9035).
10602
be39b8cc
MR
106032011-07-16 Martin Rudalics <rudalics@gmx.at>
10604
b796c9b7 10605 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10606 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10607 selected before, see discussion of (Bug#8615), (Bug#6954).
10608 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10609
6ccf7859
GM
106102011-07-15 Glenn Morris <rgm@gnu.org>
10611
10612 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10613 Respect help-form.
6ccf7859 10614
87e86684
LM
106152011-07-09 Lawrence Mitchell <wence@gmx.li>
10616
10617 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10618 (gnutls-negotiate): Use it.
10619
d6066239
LMI
106202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10621
b796c9b7
SM
10622 * net/gnutls.el (gnutls-negotiate):
10623 Upcase `gnutls-algorithm-priority'.
d6066239 10624
bd23ebc0
GM
106252011-07-15 Glenn Morris <rgm@gnu.org>
10626
c65bca65
GM
10627 * jka-compr.el (jka-compr-verbose): Move from here...
10628 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10629 Add missing :version tag.
10630 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10631
478615cc
LMI
106322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10633
7b41decb
LMI
10634 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10635 (gnutls-negotiate): Use it.
10636
dbc44fcd
LMI
10637 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10638
06789f97
LMI
10639 * info.el (Info-beginning-of-buffer): New command.
10640 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10641 announcing `b' as the key (bug#8325).
ab896c37 10642 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10643
c39da690
LMI
10644 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10645
3aa5f34b
LMI
10646 * international/mule-cmds.el
10647 (describe-specified-language-support): Make the error message
10648 clearer (bug#8905).
10649
4bf0979f
LMI
10650 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10651
478615cc
LMI
10652 * isearch.el (isearch-barrier): Add a doc string, since it's
10653 mentioned in a function doc string (bug#8678).
10654
75c68aa1
MR
106552011-07-15 Martin Rudalics <rudalics@gmx.at>
10656
10657 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10658 buffer argument (Bug#9083) and self-identifying label argument.
10659
a7c33da2
GM
106602011-07-15 Glenn Morris <rgm@gnu.org>
10661
10662 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10663
2f5c6024
LMI
106642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10665
10666 * man.el (Man-fontify-manpage): Fix message when formatting the
10667 man page (bug#7929).
10668
0bb23927 106692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10670
10671 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10672 argument LRM; if non-nil, append an invisible LRM character to the
10673 buffer name.
10674 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10675 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10676 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10677 paragraph direction.
cce4b0a7 10678
621ef9ab
LMI
106792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10680
d1583c48
LMI
10681 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10682 the man page name (bug#7929).
10683
6a57fb5f
LMI
10684 * image.el (put-image): Mention the `put-image' overlay property
10685 (bug#7834).
10686
d7956b14
LMI
10687 * scroll-bar.el (set-scroll-bar-mode): Mention that
10688 `scroll-bar-mode' lists the values (bug#7772).
10689
5b2d4a66
LMI
10690 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10691 command (bug#7729).
10692
7509a874
LMI
10693 * rect.el (apply-on-rectangle): Return the point after the last
10694 operation.
10695 (string-rectangle): Go to the point after the last operation
10696 (bug#7522).
10697
4fe74b19
LMI
10698 * printing.el (pr-toggle-region): Clarify the documentation
10699 slightly (bug#7493).
10700
b796c9b7
SM
10701 * time.el (display-time-update):
10702 Allow `display-time-mail-function' to return nil (bug#7158).
10703 Fix suggested by Detlev Zundel.
ab283561 10704
fc233c9d
LMI
10705 * vc/diff.el (diff): Clarify the order the file names are read
10706 (bug#7111).
10707
43f5740b
LMI
10708 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10709 the doc string (bug#7015).
10710
f2182a76
LMI
10711 * font-lock.el (font-lock-maximum-decoration): Mention what
10712 numeric levels mean (bug#6935).
10713
621ef9ab
LMI
10714 * startup.el (initial-buffer-choice): Don't mention the `none'
10715 selection, which is against policy.
10716
adc47434
MR
107172011-07-14 Martin Rudalics <rudalics@gmx.at>
10718
b796c9b7
SM
10719 * window.el (display-buffer-normalize-special):
10720 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10721
7e5bfb8f
EZ
107222011-07-14 Eli Zaretskii <eliz@gnu.org>
10723
10724 * subr.el (version<, version<=, version=): Mention "-CVS" and
10725 "-12345" alpha version numbers.
10726
27fa387a
CY
107272011-07-14 Chong Yidong <cyd@stupidchicken.com>
10728
10729 * bindings.el: Add advertised binding for set-mark-command
10730 (Bug#5772).
10731
8bdfa064
CY
107322011-07-14 Chong Yidong <cyd@stupidchicken.com>
10733
10734 * bindings.el (mode-line-other-buffer):
10735 * bookmark.el (bookmark-bmenu-2-window):
10736 * bs.el (bs-cycle-next, bs-cycle-previous):
10737 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10738 switch-to-buffer.
10739
10740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10741 Delete.
8bdfa064 10742
5eba16a3
JB
107432011-07-14 Juanma Barranquero <lekktu@gmail.com>
10744
10745 * follow.el (follow-debug-message, follow-redisplay):
10746 * jka-cmpr-hook.el (with-auto-compression-mode):
10747 Fix typos in docstrings.
10748
15853710
LMI
107492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10750
a28e4607
LMI
10751 * subr.el (with-silent-modifications): Clarify somewhat what the
10752 macro inhibits (bug#6525).
10753
15853710
LMI
10754 * simple.el (eval-expression): Note what it does if called
10755 interactively (bug#6495).
10756
bee0fcef
CY
107572011-07-13 Chong Yidong <cyd@stupidchicken.com>
10758
b796c9b7
SM
10759 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10760 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10761
10762 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10763 Remove switch-to-buffer.
10764
58274504
LMI
107652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766
bd2fcc8d
LMI
10767 * files.el (make-directory): Clarify that an error will be raised
10768 if there's an error (bug#6397).
10769
0f04b32c
LMI
10770 * startup.el (initial-buffer-choice): Add `none' as a choice
10771 (bug#6234).
10772
465c5fc8
LMI
10773 * subr.el (add-hook): Clarify section about buffer-local hooks
10774 (bug#6218).
10775
58274504
LMI
10776 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10777
bead9a43
JB
107782011-07-13 Juanma Barranquero <lekktu@gmail.com>
10779
10780 * tabify.el (untabify): Preserve the current column so that point
10781 doesn't move (bug#6032).
10782
3af98a7b
LMI
107832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10784
b796c9b7
SM
10785 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10786 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10787
6240145a
GM
107882011-07-13 Glenn Morris <rgm@gnu.org>
10789
10790 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10791 (dired-insert-directory): Give a message the first time
10792 if ls is found not to support --dired.
10793
1d8c2ccc
LMI
107942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10795
10796 * simple.el (toggle-truncate-lines): Clarify what is toggled
10797 (bug#5580). Text by Drew Adams.
10798
5fc4038e
CY
107992011-07-13 Chong Yidong <cyd@stupidchicken.com>
10800
10801 * simple.el (blink-matching-open): Make the error message from the
10802 last change less verbose.
10803
bf6012e5
DN
108042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10805
10806 * font-lock.el (font-lock-comment-face): Use the high contrast
10807 "yellow" color for font-lock-comment-face on low color terminals
10808 using a dark background color (bug#4221).
10809
343c3b5a
LMI
108102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10811
7e9505c5
LMI
10812 * dired.el (dired-insert-set-properties): Make the doc string
10813 reflect what it does now (bug#5325).
10814
c26fdcf5
LMI
10815 * simple.el (blink-matching-open): Say that we were unable to find
10816 the match within the limit, if we're limited (bug#5122).
10817
bb388cc5
LMI
10818 * international/mule-cmds.el (prefer-coding-system): Add an
10819 example (bug#4869).
10820
343c3b5a
LMI
10821 * progmodes/etags.el (tags-search): Document `file-list-form'
10822 (bug#4731).
10823
2a517d45
LM
108242011-07-13 Lawrence Mitchell <wence@gmx.li>
10825
10826 * net/browse-url.el (browse-url-default-browser)
10827 (browse-url-browser-function): Make the default browser choice a
10828 bit more logical (bug#4300). Also clean up the doc string.
10829
b6c78ef2
JB
108302011-07-13 Juanma Barranquero <lekktu@gmail.com>
10831
10832 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10833 binary endings (bug#4440).
10834
1c4dd947
LMI
108352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10836
a2014063
LMI
10837 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10838 which can be pretty annoying (bug#8971).
10839
9c9c2d88
LMI
10840 * jka-compr.el (jka-compr-verbose): New variable, and use
10841 throughout (bug#8971).
10842
1c4dd947
LMI
10843 * info.el (Info-find-file): Fall back on the installation
10844 directory if we can't find the info node anywhere else.
10845
a1c9f41b
SO
108462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10847
10848 * vc/vc.el (vc-revert-file):
10849 Don't set file time-stamp in the past. (Bug#5181)
10850
536f3d36
LMI
108512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10852
7152b011
LMI
10853 * files.el (after-find-file): Give a better error message when
10854 trying to find a symlink that points to a file that doesn't exist
10855 (bug#4398).
10856
536f3d36
LMI
10857 * progmodes/cc-vars.el: Remove (probably) misleading comment
10858 (bug#4396).
10859
460c0fba
JB
108602011-07-12 Johan Bockgård <bojohan@gnu.org>
10861
10862 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10863
7a6bda45
CY
108642011-07-12 Chong Yidong <cyd@stupidchicken.com>
10865
10866 * mouse-sel.el: Hack restoring functionality, while keeping
10867 compatibility with 2010-07-03 changes to mouse selection.
10868 (mouse-sel-primary-overlay): New var.
10869 (mouse-sel-selection-alist): Use it.
10870 (mouse-sel-mode): Doc fix; remove points that are default features
10871 of mouse.el.
10872
c79598ef
JB
108732011-07-12 Johan Bockgård <bojohan@gnu.org>
10874
10875 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10876 Fix previous fix (bug#2490).
10877
ff8be6ef
RW
108782011-07-12 Roland Winkler <winkler@gnu.org>
10879
b796c9b7
SM
10880 * textmodes/bibtex.el (bibtex-initialize):
10881 Use pop-to-buffer-same-window.
ff8be6ef
RW
10882 (bibtex-search-entries): Fix interactive call.
10883
296ba3ee
LMI
108842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885
f5242a02 10886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10887 Fontise bytecomp Error lines more correctly (bug#2490).
10888 Fix suggested by Johan Bockgård.
f5242a02 10889
296ba3ee
LMI
10890 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10891
10892 * dired-x.el (dired-guess-default): Use `delete-dups'.
10893
f69fd0d2
CY
108942011-07-12 Chong Yidong <cyd@stupidchicken.com>
10895
10896 * dired.el (dired-mark-prompt):
10897 * dired-aux.el (dired-read-shell-command): Doc fix.
10898
eab5dc07
LMI
108992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10900
b796c9b7
SM
10901 * mail/sendmail.el (sendmail-query-once):
10902 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10903 emacs -Q.
10904
10905 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10906
eab5dc07
LMI
10907 * cus-edit.el (custom-file): Take an optional no-error variable.
10908 (customize-save-variable): Set the variable, and give a warning if
10909 running under "emacs -q".
10910
a1e65d42
JB
109112011-07-11 Juanma Barranquero <lekktu@gmail.com>
10912
10913 * loadhist.el (unload-feature-special-hooks):
10914 Add `auto-coding-functions', `fill-nobreak-predicate' and
10915 `find-directory-functions' (bug#5327).
10916
1d52da10
LMI
109172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10918
be958f1d
LMI
10919 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10920
5bedb26c
LMI
10921 * cus-edit.el (custom-guess-name-alist): -alist variables should
10922 use the `alist' type (bug#3120). Suggested by Drew Adams.
10923
1d52da10
LMI
10924 * printing.el: Add documentation to all the `pr-toggle-' commands.
10925
cd394be1 109262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10927
10928 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10929 backends where it makes sense (bug#2623).
10930
dcc88d8a
LMI
109312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
c3de9feb
LMI
10933 * dired-x.el (dired-guess-default): Remove duplicate shell command
10934 entries (bug#2028).
8a93078b 10935 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10936 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10937
dcc88d8a
LMI
10938 * subr.el (remove-duplicates): New conveniency function.
10939
505e3645
LMI
109402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10941
10942 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10943 (bug#1526).
10944
109452011-07-10 Martin Rudalics <rudalics@gmx.at>
10946
10947 * window.el (display-buffer-normalize-default): Don't invert
10948 meaning of even-window-heights. Reported by Eli Zaretskii
10949 <eliz@gnu.org>.
10950
455e4fa1
BR
109512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10952
10953 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10954
8e0bc3e9
CY
109552011-07-10 Chong Yidong <cyd@stupidchicken.com>
10956
10957 * window.el (display-buffer): Fix arguments to
10958 display-buffer-reuse-window in last change.
10959
fa7c3228
CY
10960 * faces.el (link): Use a less saturated blue on light backgrounds.
10961
10962 * startup.el (fancy-startup-text, fancy-about-text)
10963 (fancy-startup-tail): Use font-lock faces, for background safety.
10964
c0a7f300
BN
109652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10966
b796c9b7
SM
10967 * emulation/viper-cmd.el (viper-change-state-to-vi):
10968 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10969
4dc2a129
MR
109702011-07-09 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (display-buffer-default-specifiers): Remove.
10973 (display-buffer-macro-specifiers): Remove default specifiers.
10974 (display-buffer-alist): Default to nil.
b796c9b7 10975 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10976 (display-buffer-pop-up-window): Allow splitting internal
10977 windows. Check whether a live window was created.
10978 (display-buffer-other-window-means-other-frame)
10979 (display-buffer-normalize-arguments): Rename to
10980 display-buffer-normalize-argument and rewrite. Set the
10981 other-window specifier.
10982 (display-buffer-normalize-special): New function.
10983 (display-buffer-normalize-options): Rename to
10984 display-buffer-normalize-default and rewrite.
10985 (display-buffer-normalize-options-inhibit): Remove.
10986 (display-buffer-normalize-specifiers): Rewrite.
10987 (display-buffer): Process other-window specifier and call
10988 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10989 more faithfully.
b796c9b7 10990 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10991 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10992 (display-buffer-in-window, display-buffer-alist-set):
10993 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10994 <tassilo@member.fsf.org>.
10995
2d43b8c9
LL
109962011-07-09 Leo Liu <sdl.web@gmail.com>
10997
10998 * register.el (insert-register): Restore accidental change on
10999 2011-06-26. (Bug#9028)
11000
7f9b7c53
GM
110012011-07-09 Glenn Morris <rgm@gnu.org>
11002
11003 * subr.el (remq): Handle the empty list. (Bug#9024)
11004
f042cfd8
AS
110052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * mail/sendmail.el (send-mail-function): No longer delay custom
11008 initialization.
11009 * custom.el (custom-initialize-delay): Doc fix.
11010
856b2f11
SM
110112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11014
afae1d68
MA
110152011-07-08 Michael Albinus <michael.albinus@gmx.de>
11016
11017 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11018 human-friendly prompt.
11019
0757af94
SM
110202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11023 provided by a particular plugin.
11024
d760b731
LMI
110252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11026
11027 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11028 save customizations (with "emacs -Q"), just set the variable
11029 instead of erroring out.
11030
11031 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11032
cd79ce90
JL
110332011-07-08 Juri Linkov <juri@jurta.org>
11034
11035 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11036 (archive-zip-update-case): Use 7z if found by `executable-find'.
11037 The order of searching the available programs is the same as in
11038 `archive-zip-extract' (bug#8968).
11039
14cc04aa
CY
110402011-07-07 Chong Yidong <cyd@stupidchicken.com>
11041
11042 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11043 (menu-bar-options-menu): Tweak descriptions.
11044
0a1848ec
LMI
110452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11046
11047 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11048 menu items into verb phrases (bug#1421). Also refill to fit under
11049 80 columns.
11050
f5bd0689
CY
110512011-07-07 Chong Yidong <cyd@stupidchicken.com>
11052
538e85c6
CY
11053 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11054 (Info-read-node-name): Doc fix (Bug#1084).
11055
f5bd0689
CY
11056 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11057 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11058 (end-of-sexp, beginning-of-sexp)
11059 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11060 (forward-symbol, forward-same-syntax, word-at-point)
11061 (sentence-at-point): Doc fix (Bug#1144).
11062
56ec5115
LMI
110632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
f3f8e37f
LMI
11065 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11066 should cover it (bug#1281).
11067
0757af94 11068 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11069
e9fce1ac 11070 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11071 negotiation fails, then possibly try again with a non-encrypted
11072 connection (bug#9017).
11073
56ec5115
LMI
11074 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11075 be used.
11076
c2f9aec8
RS
110772011-07-07 Richard Stallman <rms@gnu.org>
11078
11079 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11080 property, and handle its changed format.
11081 Look for the correct line number.
11082 Use file's line contents (but not past first =) to find
11083 correct line in message.
11084
ef7b981d 110852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11086
11087 * international/characters.el (build-unicode-category-table):
11088 Delete it.
0757af94 11089 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11090
0757af94 11091 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11092 to src/chartab.c.
11093 (get-char-code-property): Call unicode-property-table-internal to
11094 load a file. Call get-unicode-property-internal where necessary.
11095 (put-char-code-property): Call unicode-property-table-internal to
11096 load a file. Call put-unicode-property-internal where necessary.
11097 put-unicode-property-internal where necessary.
0757af94
SM
11098 (char-code-property-description):
11099 Call unicode-property-table-internal to load a file.
c805dec0
KH
11100
11101 * international/charprop.el:
11102 * international/uni-bidi.el:
11103 * international/uni-category.el:
11104 * international/uni-combining.el:
11105 * international/uni-comment.el:
11106 * international/uni-decimal.el:
11107 * international/uni-decomposition.el:
11108 * international/uni-digit.el:
11109 * international/uni-lowercase.el:
11110 * international/uni-mirrored.el:
11111 * international/uni-name.el:
11112 * international/uni-numeric.el:
11113 * international/uni-old-name.el:
11114 * international/uni-titlecase.el:
11115 * international/uni-uppercase.el: Regenerate.
11116
11117 * loadup.el: Load international/charprop.el before
11118 international/characters.
11119
e14b388a
CY
111202011-07-07 Chong Yidong <cyd@stupidchicken.com>
11121
11122 * window.el (next-buffer, previous-buffer): Signal an error if
11123 called from a minibuffer window.
11124
11125 * bindings.el: Revert 2011-07-04 change.
11126
354cf0ba
RS
111272011-07-06 Richard Stallman <rms@gnu.org>
11128
11129 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11130 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11131 Treat markers like ints.
11132 (rmail-mime-entity): Doc fix.
11133
a48868a7
LMI
111342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11135
4906cd3d
LMI
11136 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11137 defcustom again for backwards compatibility.
11138
e0457abe
LMI
11139 * simple.el (shell-command-on-region): Fill.
11140
d67f7e1f
LMI
11141 * dired-aux.el (dired-kill-line): Add a doc string.
11142
fe204702
LMI
11143 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11144 to "\\sw\\|\\s_" (bug#358).
11145
a48868a7
LMI
11146 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11147 (dired-unmark-backward): Ditto.
11148 (dired-flag-backup-files): Ditto.
11149
11150 * dired-x.el (dired-mark-sexp): Ditto.
11151
aa8a705c
RS
111522011-07-06 Richard Stallman <rms@gnu.org>
11153
11154 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11155 (rmail-mime-entity): New arg TRUNCATED.
11156 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11157 New functions.
11158 (rmail-mime-save): Warn if entity is truncated.
11159 (rmail-mime-toggle-hidden): Likewise, for showing.
11160 (rmail-mime-process-multipart): Record when an entity is truncated.
11161
a9a936b9
RS
11162 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11163 if ENTITY is a string.
11164
1f2b92cb
LMI
111652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11166
f4f73198 11167 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11168 of faces when `M-C-x'-ing their definitions (bug#8378).
11169 Also clean up the code slightly.
f4f73198 11170
12b16734 11171 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11172 because that makes the colors go away.
12b16734 11173
f0691d22
LMI
11174 * mail/sendmail.el (send-mail-function): Change the default to
11175 `sendmail-query-once'.
9e87df06 11176 (sendmail-query-once): Add an autoload cookie.
f0691d22 11177
1f2b92cb
LMI
11178 * net/network-stream.el (network-stream-open-starttls): Try using
11179 a plain connection even if the server offered STARTTLS, and we
11180 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11181 capability. This should make smtpmail.el work in slightly more
11182 configurations.
11183
1cdd2a1b
MA
111842011-07-06 Michael Albinus <michael.albinus@gmx.de>
11185
11186 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11187 New defun.
11188 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11189
fbcc67e2
MM
111902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11191
11192 * progmodes/sql.el: Version 3.0
0757af94 11193 (sql-product-alist): Add product :completion-object,
fbcc67e2 11194 :completion-column, and :statement attributes.
0757af94 11195 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11196 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11197 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11198 ansi keywords.
11199 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11200 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11201 (sql-oracle-show-reserved-words): New function for development.
11202 (sql-product-font-lock): Simplify for source code buffers.
11203 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11204 New functions.
11205 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11206 (sql-mode-map): Add statement movement functions.
11207 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11208 New variable.
fbcc67e2
MM
11209 (sql-statement-regexp, sql-beginning-of-statement)
11210 (sql-end-of-statement, sql-signum): New functions.
0757af94 11211 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11212 (sql-show-sqli-buffer): Bug fix.
11213 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11214 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11215 with sql-interactive-mode.
11216 (sql-save-connection): Save buffer local settings.
0757af94 11217 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11218 (sql-product-interactive): Bug fix.
11219 (sql-preoutput-hold): New variable.
11220 (sql-interactive-remove-continuation-prompt): Bug fixes.
11221 (sql-debug-redirect): New variable.
11222 (sql-str-literal): New function.
11223 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11224 Redesign.
fbcc67e2
MM
11225 (sql-oracle-save-settings, sql-oracle-restore-settings)
11226 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11227 (sql-completion-object, sql-completion-column)
11228 (sql-completion-sqlbuf): New variables.
11229 (sql-build-completions-1, sql-build-completions)
11230 (sql-try-completion): New functions.
11231 (sql-read-table-name): Use them.
11232 (sql-contains-names): New buffer local variable.
11233 (sql-list-all, sql-list-table): Use it.
11234 (sql-oracle-completion-types): New variable.
11235 (sql-oracle-completion-object, sql-sqlite-completion-object)
11236 (sql-postgres-completion-object): New functions.
11237
d4eaeab1
GM
112382011-07-06 Glenn Morris <rgm@gnu.org>
11239
11240 * window.el (pop-to-buffer): Doc fix.
11241
322b7dab 112422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11243
11244 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11245
322b7dab 112462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11247
322b7dab 11248 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11249
322b7dab 11250 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11251
605dd5bf
CY
112522011-07-05 Chong Yidong <cyd@stupidchicken.com>
11253
11254 * button.el (button): Inherit from link face. Suggested by Dan
11255 Nicolaescu.
11256
7dbfa719
SM
112572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11258
3db614b0
SM
11259 * progmodes/gdb-mi.el: Fit in 80 columns.
11260 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11261 switch-to-buffer.
11262
7dbfa719
SM
11263 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11264 if imenu is simply not configured (bug#8941).
11265
919d884a
KM
112662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11267
11268 * allout.el (allout-post-undo-hook): New allout outline-change
11269 event hook to signal undo activity.
11270 (allout-post-command-business): Run allout-post-undo-hook if an
11271 undo just occurred.
7dbfa719
SM
11272 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11273 * allout-widgets.el (allout-widgets-after-undo-function):
11274 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11275 in the vicinity of an undo.
11276 (allout-widgets-mode): Include allout-widgets-after-undo-function
11277 on the new allout-post-undo-hook.
11278
450a0f09
SM
112792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11282 Let define-derived-mode define it.
11283 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11284 cycles of abbrev-table inheritance (bug#8998).
11285
2de69e00
RW
112862011-07-05 Roland Winkler <winkler@gnu.org>
11287
11288 * textmodes/bibtex.el: Add support for biblatex.
11289 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11290 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11291 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11292 (bibtex-entry-alist, bibtex-field-alist): New variables.
11293 (bibtex-entry-field-alist): Obsolete alias for
11294 bibtex-BibTeX-entry-alist.
11295 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11296 (bibtex-set-dialect): New command.
11297 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11298 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11299 Bind via bibtex-set-dialect.
2de69e00
RW
11300 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11301 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11302 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11303 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11304 Define via bibtex-set-dialect.
450a0f09
SM
11305 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11306 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11307 (bibtex-vec-push, bibtex-vec-incr): New functions.
11308 (bibtex-format-entry, bibtex-field-list)
11309 (bibtex-print-help-message, bibtex-validate)
11310 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11311
2dcdbdd9
SM
113122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * progmodes/compile.el (compilation-goto-locus):
11315 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11316 * bs.el (bs-cycle-next, bs-cycle-previous):
11317 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11318 * bindings.el (mode-line-other-buffer):
11319 * autoinsert.el (auto-insert):
11320 * arc-mode.el (archive-extract):
11321 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11322
b27640fe
JB
113232011-07-05 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11326 Fix check of `emacs-lock-unlockable-modes'.
11327 Coerce true values of `emacs-lock--try-unlocking' to t.
11328
53bbe3ad
JB
113292011-07-05 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11332 * emacs-lock.el: New file.
11333
1d3cdbc7
JD
113342011-07-05 Julien Danjou <julien@danjou.info>
11335
11336 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11337 than `boundp' to check if face is set.
11338
9173deec
JB
113392011-07-05 Juanma Barranquero <lekktu@gmail.com>
11340
11341 * register.el (registerv-make):
11342 * window.el (window-min-height): Fix typos in docstrings.
11343
869795d6
JD
113442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11345
9173deec 11346 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11347 Update doc string.
11348
b768cdcd
JB
113492011-07-04 Juanma Barranquero <lekktu@gmail.com>
11350
11351 * server.el (server-execute): Catch quit and call
11352 `server-return-error' to pass the error back to emacsclient and
11353 close the connection (bug#8942).
11354
13aa217b
KM
113552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11356
11357 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11358 insecure exception for current topic. Also note that auto-saves
11359 are handled differently.
11360
5d3385a0 11361 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11362 State variables for tracking auto-save inhibition situation.
11363
11364 (allout-write-contents-hook-handler): Rename from
11365 'allout-write-file-hook-handler', and describe how it depends on
11366 write-contents-functions sensitivity to non-nil value to prevent
11367 file write.
11368
11369 (allout-auto-save-hook-handler): Remove. auto-save does not check
11370 this in individual buffers, only in the starting buffer, so this
11371 is not the right way for us to inhibit auto-save in a buffer
11372 according to its condition.
11373
11374 (allout-mode): Use new allout-write-contents-hook-handler, and
11375 only with write-contents-functions. Remove auto-save provisions -
11376 they're implemented elsewhere.
11377
11378 (allout-before-change-handler): If undo is in progress, note that
11379 for attention of allout-post-command-business.
11380
11381 (allout-post-command-business): If the command we're following was
11382 an undo, check for change in the status of encrypted items and
11383 adjust auto-save inhibitions accordingly.
11384
11385 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11386 according to whether there are or aren't any plain-text topics
11387 pending encryption.
11388
2dcdbdd9 11389 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11390 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11391 if there are plain-text topics pending encryption.
13aa217b
KM
11392
11393 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11394 buffer-saved-size and some allout state to not inhibit auto-saves
11395 if there are no longer any plain-text topics pending encryption.
11396
0757af94
SM
11397 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11398 No longer provide for exemption of the current topic.
13aa217b 11399
ac89b32c
JL
114002011-07-04 Juri Linkov <juri@jurta.org>
11401
11402 Add 7z operations to delete and save changed members (bug#8968).
11403 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11404 New defcustoms.
11405 (archive-7z-write-file-member): New function.
11406 (archive-7z-summarize): Fix the number of dashes in the
11407 listing output.
11408
8fa39615
SM
114092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11412 (bug#8958).
11413
2f11b3f1
CY
114142011-07-04 Chong Yidong <cyd@stupidchicken.com>
11415
d66fef2b
CY
11416 * bindings.el: Ignore next-buffer and previous-buffer in
11417 minibuffer-local-map.
11418
2f11b3f1
CY
11419 * font-lock.el (font-lock-builtin-face): Change light background
11420 color to dark slate blue (Bug#6693).
11421
f932a347
WD
114222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11423
11424 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11425
c8af70e1
SM
114262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11430 Add switch-to-buffer.
11431
f158badc
LMI
114322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11433
11434 * isearch.el (isearch-search-fun-function): Clarify further the
11435 meaning of the function returned.
11436
6d95bd46
MA
114372011-07-04 Michael Albinus <michael.albinus@gmx.de>
11438
11439 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11440
11441 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11442 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11443 Use it.
11444 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11445 `tramp-default-remote-path' does not exist.
11446 (tramp-send-command-and-read): New optional argument NOERROR.
11447 (tramp-open-connection-setup-interactive-shell)
11448 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11449 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11450 (tramp-process-sentinel): Flush also process' connection property.
11451 (tramp-sh-handle-start-file-process): Do not set process
11452 sentinel. It is done now ...
11453 (tramp-maybe-open-connection): ... here. (Bug#8929)
11454
909e6b67
MK
114552011-07-04 MON KEY <monkey@sandpframing.com>
11456
11457 * play/animate.el (animate-string): Doc fixes and allow changing
11458 the buffer name (bug#5417).
11459
114602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11461
c8af70e1 11462 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11463
f34755dc
PE
114642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11465
396cec72
PE
11466 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11467 This is simpler and helps future-proof the code.
11468 (timer-until): Use time-subtract and float-time.
08235028 11469 (timer--time-less-p): Use time-less-p.
f34755dc 11470
56e6cc31
JB
114712011-07-04 Juanma Barranquero <lekktu@gmail.com>
11472
3abb79e5
JB
11473 * type-break.el (timep): Use the value of `float-time' to avoid a
11474 byte-compiler warning.
11475
56e6cc31
JB
11476 * server.el (server-eval-and-print): Return any result, even nil.
11477
7b9430b4
PE
114782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11479
11480 * type-break.el: Accept time formats that the builtins accept.
11481 (timep, type-break-time-difference): Accept any format that
11482 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11483 This is simpler and helps future-proof the code.
11484 (type-break-time-difference): Round rather than ignoring
11485 subseconds components.
11486
3034e9e7
LMI
114872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11488
11489 * info.el (Info-apropos-matches): Make non-interactive, since it
11490 doesn't seem to do anything useful as a command (bug#8829).
11491
1485f4c0
CY
114922011-07-03 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11495 Move from faces.el.
1485f4c0
CY
11496 (frame-default-terminal-background): New function.
11497
11498 * custom.el (custom-push-theme): Don't record faces in `changed'
11499 theme; this doesn't work correctly for per-frame face settings.
11500 (disable-theme): Use face-set-after-frame-default to reset faces.
11501 (custom--frame-color-default): New function.
11502
9fa3dd45
LMI
115032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504
c8af70e1 11505 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11506 (bug#8769).
11507
6cbbc20c
KR
115082011-03-29 Kevin Ryde <user42@zip.com.au>
11509
11510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11511 `perl-Test2' extend to match possible "fail #N" rep count
11512 (bug#8377).
11513
c7f98048
LMI
115142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11515
65676592
LMI
11516 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11517 `smtpmail-via-smtp' now returns the error instead of nil.
11518
c7f98048
LMI
11519 * isearch.el (isearch-search-fun-function): Clarify the doc string
11520 (bug#8101).
11521
56e6cc31 115222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11523
11524 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11525 unnecessary spaces (bug#8987).
11526
2b216704
LMI
115272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528
11529 * net/network-stream.el (open-network-stream): Use the
11530 :end-of-capability command thoughout.
11531
115322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11533
11534 * net/network-stream.el (open-network-stream): Add the
11535 :end-of-capability command parameter, used by pop3.el.
11536
36adf6ce
LMI
115372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11538
1ca0da0e
LMI
11539 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11540
fc00f69c
LMI
11541 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11542 for list)" (bug#6475).
11543
28fd8759 11544 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11545 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11546 an error (bug#6297).
11547
0dd8b6da
LMI
11548 * man.el (Man-reference-regexp): Allow matching possible
11549 word-wrapped references (bug#6289).
11550
ce1438d6
LMI
11551 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11552 for consistency with the other vc buffers (bug#6197).
11553 (vc-checkin): Ditto.
11554
11555 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11556
36adf6ce
LMI
11557 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11558
e83cc1f7
LMI
115592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11560
8a20ca4c
LMI
11561 * custom.el (defcustom): Clarify that :set is only used in the
11562 Customize user interface (bug#6089).
11563
83319045
LMI
11564 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11565 associated with a file, refuse to run instead of erroring out
11566 (bug#6084).
11567
a8392169
LMI
11568 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11569 the doc string, since it appears that using `fill-column' always
11570 controls the width (bug#7845).
11571
e83cc1f7
LMI
11572 * simple.el (shell-command-on-region): Say where the error output
11573 went if `shell-command-default-error-buffer' is set (bug#6857).
11574
e47ca23b
KM
115752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11576
11577 * allout.el (allout-yank-processing): Adjust cursor position for
11578 backwards-deleted space.
11579
11580 (allout-rebullet-heading): Register changes with
11581 allout-exposure-changed-hook, so the modified topic is properly
11582 decorated.
11583
5cf56143
LMI
115842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11585
08549772
LMI
11586 * minibuffer.el (completion-in-region): Document PREDICATE
11587 (bug#7136).
11588
48e96771
LMI
11589 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11590 of keyword/argument pairs (bug#6904).
11591
c8af70e1
SM
11592 * replace.el (multi-occur):
11593 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11594
e17d05e2
LMI
115952011-07-02 Drew Adams <drew.adams@oracle.com>
11596
11597 * dired.el (dired-mark-if): Make the message about whether it's
11598 marking or unmarking clearer (bug#8523).
11599
063b0e45
LMI
116002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11601
11602 * disp-table.el (display-table-print-array): New function.
11603 (describe-display-table): Use it to print the vectors more pretty
11604 (Bug#8859).
11605
28545e04
MR
116062011-07-02 Martin Rudalics <rudalics@gmx.at>
11607
11608 * window.el (window-state-get-1): Don't assign clone numbers.
11609 Add clone-of item to list of window parameters.
11610 (window-state-put-2): Don't process clone numbers.
11611 (display-buffer-alist): Fix doc-string.
11612
3349e122
SM
116132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * subr.el (remq): Don't allocate if it's not needed.
11616 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11617 (keymap--merge-bindings): New functions.
11618 (keymap-canonicalize): Use them to refine the canonicalization.
11619 * minibuffer.el (minibuffer-local-completion-map)
11620 (minibuffer-local-must-match-map): Move initialization from C.
11621 (minibuffer-local-filename-completion-map): Move initialization from C;
11622 don't inherit from anything here.
11623 (minibuffer-local-filename-must-match-map): Make obsolete.
11624 (completing-read-default): Use make-composed-keymap to combine
11625 minibuffer-local-filename-completion-map with either
11626 minibuffer-local-must-match-map or
11627 minibuffer-local-filename-completion-map.
11628
d224ac83
GM
116292011-07-01 Glenn Morris <rgm@gnu.org>
11630
3de63bf8
GM
11631 * type-break.el (type-break-time-sum): Use dolist.
11632
d224ac83
GM
11633 * textmodes/flyspell.el (flyspell-word-search-backward):
11634 Replace CL function.
11635
1a1e3f32
SM
116362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11637
fe3f64d5
SM
11638 * mouse.el (mouse--strip-first-event): New function.
11639 (function-key-map): Use it to map fringe clicks to normal clicks
11640 by default.
11641
eb604e34
SM
11642 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11643 (vc-bzr-revision-completion-table): Add support for annotate and date.
11644
1a1e3f32
SM
11645 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11646 inherit from parent.
11647
5bd35902
LMI
116482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11649
ace6c69c 11650 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11651 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11652
191e2bed
LMI
11653 * dired.el (dired-mode): Fix up the doc string as suggested by
11654 Drew Adams (bug#8817).
11655
5bd35902
LMI
11656 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11657 cookie, since the manual says that it should be possible to add
11658 this function to `find-file-hook' (bug#8709).
11659
eee8207a
TZ
116602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11661
11662 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11663 here. Noted Ted Zlatanov as the maintainer.
11664 (cfengine-common-settings, cfengine-common-syntax): New functions
11665 to set up common things between `cfengine-mode' and
11666 `cfengine3-mode'.
11667 (cfengine3-mode): New mode.
11668 (cfengine3-defuns cfengine3-defuns-regex
11669 (cfengine3-class-selector-regex cfengine3-category-regex)
11670 (cfengine3-vartypes cfengine3-font-lock-keywords)
11671 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11672 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11673
36b148cf
MA
116742011-07-01 Michael Albinus <michael.albinus@gmx.de>
11675
11676 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11677
11678 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11679
0bf4ba9a
MR
116802011-07-01 Martin Rudalics <rudalics@gmx.at>
11681
11682 * window.el (same-window-buffer-names, same-window-regexps)
11683 (same-window-p, special-display-frame-alist)
11684 (special-display-popup-frame, special-display-function)
11685 (special-display-buffer-names, special-display-regexps)
11686 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11687 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11688 (split-window-preferred-function, split-height-threshold)
11689 (split-width-threshold, even-window-heights)
11690 (display-buffer-mark-dedicated, window-splittable-p)
11691 (split-window-sensibly, window-safely-shrinkable-p):
11692 Un-obsolete.
11693 (display-buffer): Don't spread args with function specifier
11694 because special-display-popup-frame won't like it.
11695
35837f51
PE
116962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11697
d0672f86
PE
11698 Time-stamp simplifications and fixes.
11699 These improve accuracy slightly, and future-proof the code
11700 against some potential changes to current-time format.
11701
b9444d97
PE
11702 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11703 by using time-since and float-time.
11704
0ef923dc
PE
11705 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11706 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11707 + NNN microseconds".
11708
2f81380d
PE
11709 * type-break.el (type-break-time-sum): Rewrite using time-add.
11710
845b5c3e
PE
11711 * play/hanoi.el (hanoi-current-time-float): Remove.
11712 All uses replaced by float-time.
11713
ee6f1be0
PE
11714 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11715 This yields a more-accurate answer.
11716 (rng-time-to-float): Remove; no longer needed.
11717
fe955043
PE
11718 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11719
5777162a
PE
11720 * calendar/timeclock.el (timeclock-seconds-to-time):
11721 Defalias to seconds-to-time, since they're the same thing.
11722
3103f8b6 11723 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11724 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11725 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11726
0e61a35f
SM
117272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * window.el (bury-buffer): Don't iconify the only frame.
11730 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11731 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11732
ddd63a1e
CY
117332011-07-01 Chong Yidong <cyd@stupidchicken.com>
11734
0e61a35f
SM
11735 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11736 Add mouse-yank-primary.
ddd63a1e 11737
055f4923
TZ
117382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11739
11740 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11741
6a2fb145
SM
117422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11745 (find-library-name): Use it to find relative load names when provided
11746 absolute file name (bug#8803).
11747
fd4983f2
LMI
117482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
887d14ad
LMI
11750 * textmodes/flyspell.el (flyspell-word): Consider words that
11751 differ only in case as potential doublons (bug#5687).
11752
c53dc7fc
LMI
11753 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11754 Remove two rather uninteresting debugging-like messages to make
11755 debbugs.el more silent.
11756
fd4983f2
LMI
11757 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11758 a password-like phrase.
11759
7a71b18d 117602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11761
11762 * progmodes/cc-guess.el: New file.
11763
6a2fb145 11764 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11765
11766 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11767 derived from `c-basic-common-init'.
11768
11769 * progmodes/cc-mode.el (top-level): Require cc-guess.
11770 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11771
1fa280a3
LM
117722011-06-30 Lawrence Mitchell <wence@gmx.li>
11773
11774 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11775
e6597158
AM
117762011-06-30 Alan Mackenzie <acm@muc.de>
11777
1fa280a3
LM
11778 * progmodes/cc-engine.el (c-guess-continued-construct):
11779 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11780 lock is disabled. Name this case as "CASE G".
11781
68ba37fb
KM
117822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11783
11784 * allout.el (allout-yank-processing): Fix injection of extra space
11785 between bullet and non-whitespace character in first topic when
11786 pasting, ensuring that the actual spacing in the pasted topic
11787 following the bullet char is preserved. This extra space was
11788 causing pasted encrypted topics to get a decrypted status even
11789 when the content was actually still encrypted. Now the decryption
11790 status from before the paste is preserved.
11791
11792 (allout-flag-region): Set all allout overlays so they evaporate
11793 when reduced to zero length (evanescent), to prevent overlay
11794 leakage.
11795
887a0b34
GM
117962011-06-30 Glenn Morris <rgm@gnu.org>
11797
94b9acce
GM
11798 * w32-fns.el (w32-charset-info-alist): Declare.
11799
1d9b46d4
GM
11800 * find-dired.el (find-grep-options): Simplify.
11801
cc232200
GM
11802 * term/ns-win.el (ns-set-resource): Declare.
11803
28e77c46
GM
11804 * ses.el (row, col): Declare dynamic variables honestly.
11805
887a0b34
GM
11806 * textmodes/reftex-parse.el (index-tags): Declare.
11807
658d8eb8
CY
118082011-06-30 Chong Yidong <cyd@stupidchicken.com>
11809
11810 * cus-edit.el (customize-push-and-save): New function.
11811
11812 * files.el (hack-local-variables-confirm): Use it.
11813
1fa280a3
LM
11814 * custom.el (load-theme): New arg NO-CONFIRM.
11815 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11816 (custom-enabled-themes): Doc fix.
11817
11818 * cus-theme.el (customize-create-theme)
11819 (custom-theme-merge-theme): Callers to load-theme changed.
11820
bb617717
LMI
118212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11822
d61bdd5d
LMI
11823 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11824 short URLs have at least one dot in them (bug #7614).
11825
bb617717
LMI
11826 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11827 nil, because using a pty is apparently too slow (bug #895).
11828
2f31f37a
LMI
118292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830
11831 * mail/sendmail.el (sendmail-query-once): New function.
11832 (sendmail-query-once-function): New variable.
11833
3076b24e
GM
118342011-06-29 Glenn Morris <rgm@gnu.org>
11835
faf2a174
GM
11836 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11837
3076b24e
GM
11838 * ses.el (top-level): Require cl when compiling.
11839 (ses-set-localvars): Fix error statement.
11840 Call it at compile time to silence a storm of warnings.
11841
5386012d
MR
118422011-06-29 Martin Rudalics <rudalics@gmx.at>
11843
11844 * window.el (normalize-live-buffer): Rename to
11845 window-normalize-buffer.
11846 (normalize-live-frame): Rename to window-normalize-frame.
11847 (normalize-any-window): Rename to window-normalize-any-window.
11848 (normalize-live-window): Rename to window-normalize-live-window.
11849 (make-window-atom): Rename to window-make-atom.
11850 (window-resize-reset): Rename to window--resize-reset.
11851 (window-resize-reset-1): Rename to window--resize-reset-1.
11852 (resize-mini-window): Rename to window--resize-mini-window.
11853 (resize-subwindows-skip-p): Rename to
11854 window--resize-subwindows-skip-p.
11855 (resize-subwindows-normal): Rename to
11856 window--resize-subwindows-normal.
11857 (resize-subwindows): Rename to window--resize-subwindows.
11858 (resize-other-windows): Rename to window--resize-siblings.
11859 (resize-this-window): Rename to window--resize-this-window.
11860 (resize-root-window): Rename to window--resize-root-window.
11861 (resize-root-window-vertically): Rename to
11862 window--resize-root-window-vertically.
11863 (normalize-buffer-to-display): Rename to
11864 window-normalize-buffer-to-display.
11865 (normalize-buffer-to-switch-to): Rename to
11866 window-normalize-buffer-to-switch-to.
11867 Correspondingly update all callers of the functions listed
11868 above.
11869 (display-buffer-alist, display-buffer-normalize-arguments)
11870 (display-buffer-normalize-options, display-buffer)
11871 (display-buffer-alist-set): Use "function" instead of
11872 "fun-with-args".
11873
1176868d
CY
118742011-06-28 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11877 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11878 debbugs.gnu.org. Mention acknowledgment email.
11879
20a7a65f
LMI
118802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
11882 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11883 buffer multibyteness, since it shouldn't matter.
11884
5f45cca5
MR
118852011-06-28 Martin Rudalics <rudalics@gmx.at>
11886
11887 * window.el (display-buffer-in-side-window): Handle dedicated
11888 windows as in display-buffer-reuse-window.
11889 (display-buffer-normalize-alist): Use value of override
11890 specifier.
11891 (display-buffer-normalize-specifiers): Use value of
11892 other-window-means-other-frame specifier.
11893 (display-buffer-alist): Rewrite some texts in widgets.
11894 (display-buffer): Spread arguments when calling function
11895 specified by fun-with-args.
11896
ad85fe1f
DD
118972011-06-28 Deniz Dogan <deniz@dogan.se>
11898
1fa280a3
LM
11899 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11900 Unnest `let'.
da68c4c8 11901
ad85fe1f
DD
11902 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11903 selectors (Bug#5732).
ec49bd31 11904 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11905
a08cc025
JA
119062011-06-27 Jari Aalto <jari.aalto@cante.net>
11907
11908 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11909 (eshell-ls-date-format): New defcustom.
11910 (eshell-ls-file): Use it.
11911
e2b551c5
SM
119122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11915
8982b231
KY
119162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11917
11918 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11919 (ange-ftp-make-tmp-name): New arg.
11920 (ange-ftp-file-local-copy): Use it.
11921
36c9fa27
J
119222011-06-27 Jambunathan K <kjambunathan@gmail.com>
11923
11924 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11925 no-conversion (Bug#8870).
11926
d68443dc
MR
119272011-06-27 Martin Rudalics <rudalics@gmx.at>
11928
11929 * window.el (window-right, window-left, window-child)
11930 (window-child-count, window-last-child)
11931 (window-iso-combination-p, walk-window-tree-1)
11932 (window-atom-check-1, window-tree-1, delete-window)
11933 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11934 new naming conventions - window-vchild, window-hchild,
11935 window-next and window-prev are now called window-top-child,
11936 window-left-child, window-next-sibling and window-prev-sibling
11937 respectively.
d615d6d2
MR
11938 (resize-window-reset): Rename to window-resize-reset.
11939 (resize-window-reset-1): Rename to window-resize-reset-1.
11940 (resize-window): Rename to window-resize.
11941 (window-min-height, window-min-width)
11942 (resize-mini-window, resize-this-window, resize-root-window)
11943 (resize-root-window-vertically, adjust-window-trailing-edge)
11944 (enlarge-window, shrink-window, maximize-window)
11945 (minimize-window, delete-window, quit-restore-window)
11946 (split-window, balance-windows, balance-windows-area-adjust)
11947 (balance-windows-area, window-state-put-2)
11948 (display-buffer-even-window-sizes, display-buffer-set-height)
11949 (display-buffer-set-width, set-window-text-height)
11950 (fit-window-to-buffer): Rename all "resize-window" prefixed
11951 calls to use the "window-resize" prefix convention.
11952 (display-buffer-alist): Fix symbol for label specifier.
11953 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11954 corresponding specifier.
11955 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11956
b6458526
VB
119572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11958
11959 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11960 convention.
11961 (ses-call-printer): Does not pass an empty string to formatter when the
11962 cell is empty to keep from barking printer Calc math-format-value.
11963
d31fd9ac
RS
119642011-06-27 Richard Stallman <rms@gnu.org>
11965
43d5bf84
RS
11966 * battery.el (battery-mode-line-limit): New variable.
11967 (battery-update): Handle it.
11968
d31fd9ac
RS
11969 * mail/rmailmm.el (rmail-mime-process-multipart):
11970 Handle truncated messages.
11971
819a6054
GM
119722011-06-27 Glenn Morris <rgm@gnu.org>
11973
11974 * progmodes/flymake.el (flymake-err-line-patterns):
11975 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11976
cedc73f2
VB
119772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11978
819a6054 11979 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11980 (ses--clean-!, ses--clean-_): New functions.
11981 (ses-range): Add configurability of readout order, and conversion
11982 to Calc vector.
11983
5e5d49b6
VB
11984 * ses.el (ses-repair-cell-reference-all): New function.
11985 (ses-cell-symbol): Set macro as safe, so that it can be used in
11986 formulas.
11987
56e6cc31 11988 * ses.el: Update cycle detection algorithm.
90ca8b49 11989 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11990 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11991 (ses-set-localvars): New function.
11992 (ses-make-cell): Add property-list as a cell element.
11993 (ses-cell-property-get-fun, ses-cell-property-get)
11994 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11995 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11996 New functions.
90ca8b49
VB
11997 (ses-cell-property-set, ses-cell-property-pop)
11998 (ses-cell-property-get-handle): New macro.
11999 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12000 New aliases, used for code readability.
12001 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12002 cycle detection.
12003 (ses-self-reference-early-detection): New defcustom.
fac916bf 12004 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12005 (ses-mode): Use ses-set-localvars.
12006 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12007 before lauching the update processing.
12008 (ses-initialize-Dijkstra-attempt): New function.
12009 (ses-recalculate-cell): Update for cycle detection based on
12010 Dijkstra algorithm.
12011
2bb63e81
VB
12012 * ses.el: Fix commenting and indenting convention.
12013
c9d29fb8
SM
120142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * bs.el (bs-cycle-next): Complete last change.
12017
d8e4b68b
JB
120182011-06-27 Drew Adams <drew.adams@oracle.com>
12019
12020 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12021
40098786
LMI
120222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12023
c9d29fb8
SM
12024 * net/network-stream.el (network-stream-open-starttls):
12025 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12026 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12027
40098786
LMI
12028 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12029 to binary to possibly avoid line encoding issues on Windows (among
12030 other things).
12031
468d09d4
LMI
120322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12033
12034 * net/network-stream.el (open-network-stream): Return an :error
12035 saying what the problem was, if possible.
12036
12037 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12038 server.
12039
12040 * net/network-stream.el (network-stream-open-starttls): If we
12041 wanted to use STARTTLS, and the server offered it, but we weren't
12042 able to because we had no STARTTLS support, then close the connection.
12043 (open-network-stream): Return an :error element, if present.
12044
16f07dd7
CY
120452011-06-26 Chong Yidong <cyd@stupidchicken.com>
12046
88821ca0
CY
12047 * hl-line.el (hl-line-sticky-flag): Doc fix.
12048 (global-hl-line-sticky-flag): New option (Bug#8323).
12049 (global-hl-line-highlight): Obey it.
12050
16f07dd7
CY
12051 * vc/vc.el (vc-revert-show-diff): Default to t.
12052
6b5ccddf
KM
120532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12054
c9d29fb8
SM
12055 * allout-widgets.el (allout-widgets-post-command-business):
12056 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12057 undecorated when an isearch is continued past, and isearch
12058 automatically collapses them. This leads to "widget leaks", where
12059 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12060 hidden widgets can slow down cursor travel, substantially.
12061 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12062 so we're doing without this nicety.
12063
12064 (allout-widgets-tally-string): Don't try to do a hash-table-count
12065 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12066 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12067 *Messages* when allout-widgets-maintain-tally is t.
12068
355f2e07
MR
120692011-06-26 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (display-buffer-normalize-argument): Rename to
12072 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12073 LABEL argument. Respect special-display-function when popping up
12074 a new frame. Fix code searching for a window showing the buffer
12075 on another frame.
c9d29fb8
SM
12076 (display-buffer-normalize-specifiers):
12077 Call display-buffer-normalize-arguments.
355f2e07
MR
12078 (display-buffer-in-window): Don't undedicate the window if its
12079 buffer remains the same.
12080 Reported by Drew Adams <drew.adams@oracle.com>.
12081 (display-buffer-alist): Add choice for same-window macro
12082 specfier.
12083 (display-buffer): Mention special meaning of LABEL argument in
12084 doc-string. Fix quoting. Don't pop up a new frame even as
12085 fallback.
12086
7ca8fc42
JB
120872011-06-26 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12090 avoid deleting the current window in some cases (bug#8911).
12091
bc312254
AS
120922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12093
12094 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12095 (Bug#8934)
12096
2db18f3f
LMI
120972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12098
c9d29fb8
SM
12099 * net/network-stream.el (network-stream-open-starttls):
12100 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12101 (network-stream-open-tls): Ditto.
12102
6302e0d3
LL
121032011-06-26 Leo Liu <sdl.web@gmail.com>
12104
12105 * register.el (registerv): New struct.
12106 (registerv-make): New function.
c9d29fb8
SM
12107 (jump-to-register, describe-register-1, insert-register):
12108 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12109 struct. (Bug#8415)
12110
5fdd4046
CY
121112011-06-26 Chong Yidong <cyd@stupidchicken.com>
12112
2afef60a
CY
12113 * vc/vc.el (vc-revert-show-diff): New defcustom.
12114 (vc-diff-internal): New arg specifying diff buffer.
12115 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12116 reuse an existing *vc-diff* buffer (Bug#8927).
12117
5fdd4046
CY
12118 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12119
e93db24a
GM
121202011-06-26 Glenn Morris <rgm@gnu.org>
12121
12122 * progmodes/f90.el (f90-critical-indent): New option.
12123 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12124 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12125 (f90-mode): Doc fix.
12126 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12127 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12128 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12129 (f90-match-end): Handle block, critical.
12130
eefff499
GM
121312011-06-25 Glenn Morris <rgm@gnu.org>
12132
f6ba4cc9
GM
12133 * calendar/diary-lib.el (diary-included-files): Doc fix.
12134 (diary-include-files): New function, extracted from
12135 diary-include-other-diary-files and diary-mark-included-diary-files.
12136 (diary-include-other-diary-files, diary-mark-included-diary-files):
12137 Just call diary-include-files.
12138 (diary-mark-entries): Reset diary-included-files on first call.
12139
16712304
GM
12140 * calendar/diary-lib.el (diary-mark-entries)
12141 (diary-mark-included-diary-files):
12142 Visit included diary-files in temp buffers.
12143
5d8e0d43
GM
12144 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12145 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12146 (f90-start-block-re, f90-imenu-generic-expression)
12147 (f90-looking-at-program-block-start, f90-no-block-limit):
12148 Add support for submodules.
12149
ccf7a5d5
GM
12150 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12151 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12152
11fdef7d 121532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12154
12155 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12156 buffer-file-type before setting its value, to avoid disastrous
eefff499 12157 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12158
74f53697
JB
121592011-06-25 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12162
12163 * ses.el (ses-unload-function):
12164 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12165
12166 * proced.el (proced-unload-function):
12167 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12168
18a4ce5e
AR
121692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12170
12171 * server.el (server-create-window-system-frame): Add parameters arg.
12172 (server-process-filter): Doc fix. Handle frame-parameters.
12173
519d22cc
JB
121742011-06-25 Juanma Barranquero <lekktu@gmail.com>
12175
12176 Fix bug#8730, bug#8781.
12177
12178 * loadhist.el (unload--set-major-mode): New function.
12179 (unload-feature): Use it.
12180
12181 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12182 (python-unload-function): New function.
12183
c206f5b0
SM
121842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12187
f9ad64f3
GS
121882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12189
12190 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12191 the candidates list.
12192
7d0da90e
JB
121932011-06-24 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12196
14b4e83d
RS
121972011-06-23 Richard Stallman <rms@gnu.org>
12198
12199 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12200 (rmail-variables): Set next-error-move-function.
12201 (rmail-what-message): Take argument POS.
12202 (rmail-next-error-move): New function.
12203
273d2baf
SM
122042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12207 messages for adjacent non-terminals.
12208
56c2cc9a
RS
122092011-06-23 Richard Stallman <rms@gnu.org>
12210
12211 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12212 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12213 (rmail-start-mail): Don't specify use of rmail-mail-return;
12214 that's done by mail-bury now.
12215 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12216
d59eb518
MA
122172011-06-23 Michael Albinus <michael.albinus@gmx.de>
12218
12219 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12220 SIZE is a number.
12221
02cfc6d6
MR
122222011-06-23 Martin Rudalics <rudalics@gmx.at>
12223
12224 * window.el (get-lru-window, get-mru-window)
12225 (get-largest-window): Never return a minibuffer window.
12226 (display-buffer-pop-up-window): Fix a bug that could lead to
12227 reusing the minibuffer window.
12228 (display-buffer): Pass original specifier argument to
12229 display-buffer-function instead of the normalized one.
12230 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12231
4e323265
LL
122322011-06-22 Leo Liu <sdl.web@gmail.com>
12233
12234 * minibuffer.el (completing-read-function)
12235 (completing-read-default): Move from minibuf.c
12236
7a70468f
RS
122372011-06-22 Richard Stallman <rms@gnu.org>
12238
50718fc2
RS
12239 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12240 to Rmail even if not started by a special Rmail command.
12241
7a70468f
RS
12242 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12243 Copy the buffer currently showing just one message.
12244
297dde5a
RW
122452011-06-22 Roland Winkler <winkler@gnu.org>
12246
12247 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12248 (bibtex-clean-entry): First delete the old key so that a
12249 customized algorithm for generating the new key does not get
12250 confused by the old key.
12251 (bibtex-url): Obey regexp of first step.
12252 (bibtex-search-entries): Do not use add-to-list with local
12253 list-var.
12254
97bb1093
LMI
122552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12256
12257 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12258 stored a user name, then query for the password first, instead of
12259 waiting for SMTP to give an error message and the trying again.
12260
1c0f1a19
JD
122612011-06-22 Lawrence Mitchell <wence@gmx.li>
12262
12263 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12264 BUFFER in call-process.
12265
396f7c9d
LMI
122662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12267
12268 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12269 QUIT twice.
ddb7ffee
LMI
12270 (smtpmail-try-auth-methods): Require user name and password from
12271 auth-source.
396f7c9d 12272
8998d1b3
MR
122732011-06-22 Martin Rudalics <rudalics@gmx.at>
12274
12275 * window.el (display-buffer-default-specifiers)
12276 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12277 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12278 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12279
12280 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12281 (special-display-frame-alist, special-display-popup-frame):
12282 Remove duplicate declarations. These are now in window.el.
12283
4ea31e07
LMI
122842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12285
c9d29fb8
SM
12286 * mail/smtpmail.el (smtpmail-via-smtp):
12287 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12288 server supports it. SMTP servers that support STARTTLS commonly
12289 require it.
12290
12291 * net/network-stream.el (network-stream-open-starttls): Support
12292 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12293 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12294
95f41d9a
LMI
12295 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12296 upgrades with `open-network-stream', and rely solely on
12297 auth-source for all credentials. Big changes throughout the file,
12298 but in particular:
c9d29fb8
SM
12299 (smtpmail-auth-credentials): Remove.
12300 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12301 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12302 MAIL FROM, too.
95f41d9a 12303
c9d29fb8
SM
12304 * net/network-stream.el (network-stream-open-starttls):
12305 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12306 STARTTLS.
12307 (auth-source): Require.
12308 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12309 (network-stream-certificate): Change cert-cert to cert and
12310 cert-key to key.
4ea31e07 12311
065ec2c7
MA
123122011-06-21 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/tramp-cache.el (top): Don't load the persistency file when
12315 "emacs -Q" has been called.
12316
cd93b359
DR
123172011-06-21 Tim Harper <timcharper@gmail.com>
12318
d8e4b68b
JB
12319 * term/ns-win.el (ns-initialize-window-system):
12320 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12321 resource to NO as it is not yet supported by the NS port.
12322
ae9c0411
JB
123232011-06-21 Juanma Barranquero <lekktu@gmail.com>
12324
12325 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12326 (list-dynamic-libraries): ...not here.
12327
7f3f739f
LL
123282011-06-21 Leo Liu <sdl.web@gmail.com>
12329
12330 * subr.el (sha1): Implement sha1 using secure-hash.
12331
327c8fb1
MR
123322011-06-21 Martin Rudalics <rudalics@gmx.at>
12333
12334 * window.el (display-buffer-alist): In default value do not
12335 enforce searching a window on any but the selected frame.
12336 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12337 (display-buffer-select-window): Remove function.
12338 (display-buffer-in-window): When a window on another frame gets
12339 reused, do not select it any more but just raise its frame if
12340 necessary (Bug#8851) and (Bug#8856).
12341 (display-buffer-normalize-options): Handle pop-up-frames related
12342 options more faithfully.
12343 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12344 window if it is on another frame.
c9d29fb8
SM
12345 (display-buffer-alist, display-buffer-default-specifiers):
12346 Don't make new frame unsplittable by default.
9e9de014
MR
12347 (display-buffer-normalize-argument): Fix doc-string typo and use
12348 'same-frame-other-window instead of 'other-window when associating
12349 with display-buffer-macro-specifiers.
327c8fb1 12350
7cf3f556
VB
123512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12352
12353 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12354 New functions.
12355 (5x5-mode-map, 5x5-mode-menu): Bind them.
12356 (5x5-draw-grid): Tweak the solver's rendering.
12357
60a406cf
SM
123582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12361 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12362
d8e4b68b 123632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12364
12365 * menu-bar.el: Use function variable instead of switch-to-buffer.
12366 (menu-bar-select-buffer-function): New variable.
60a406cf 12367 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12368
478d6f95
SM
123692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12372 variable's status.
12373
ca530739
JD
123742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12375
12376 * x-dnd.el (x-dnd-version-from-flags)
12377 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12378 and long as number (Bug#8899).
12379 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12380
bcd70d97
SM
123812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12382
60a406cf 12383 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12384 (completion-try-completion, completion-all-completions): Compute the
12385 metadata argument if it's missing; make it optional (bug#8795).
12386
60a406cf 12387 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12388 (widget-complete): Use new :completion-function property.
12389 (widget-completions-at-point): New function.
12390 (default): Use :completion-function instead of :complete.
60a406cf
SM
12391 (widget-default-completions): Rename from widget-default-complete;
12392 Rewrite.
bcd70d97
SM
12393 (widget-string-complete, widget-file-complete, widget-color-complete):
12394 Remove functions.
12395 (file, symbol, function, variable, coding-system, color):
12396 * international/mule-cmds.el (default-input-method, charset)
12397 (language-info-custom-alist):
12398 * cus-edit.el (face): Use new property :completions.
12399
12400 * progmodes/pascal.el (pascal-completions-at-point): New function.
12401 (pascal-mode): Use it.
12402 (pascal-mode-map): Use completion-at-point.
12403 (pascal-toggle-completions): Make obsolete.
12404 (pascal-complete-word, pascal-show-completions):
12405 * progmodes/octave-mod.el (octave-complete-symbol):
12406 Redefine as obsolete alias.
12407 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12408 Signal absence of completion info for old Octave,
12409 (inferior-octave-complete): Redefine as obsolete alias.
12410 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12411 (meta-completions-at-point): Rename from meta-complete-symbol and
12412 adapt it for use on completion-at-point-functions.
12413 (meta-common-mode): Use it.
12414 (meta-looking-at-backward, meta-match-buffer): Remove.
12415 (meta-complete-symbol): Redefine as obsolete alias.
12416 (meta-common-mode-map): Use completion-at-point.
12417 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12418 (makefile-mode-map): Use completion-at-point.
12419 (makefile-completions-at-point): Rename from makefile-complete and
12420 adapt it for use on completion-at-point-functions.
12421 (makefile-mode): Use it.
12422 (makefile-complete): Redefine as obsolete alias.
12423
aebf69c8
DD
124242011-06-20 Deniz Dogan <deniz@dogan.se>
12425
12426 * net/rcirc.el: Delete trailing whitespaces once and for all.
12427
bfbbb27d
DC
124282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12429
12430 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12431
d264a46b
CY
124322011-06-19 Chong Yidong <cyd@stupidchicken.com>
12433
4ca009e5
CY
12434 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12435
d264a46b
CY
12436 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12437
fbf5b3ce
MR
124382011-06-19 Martin Rudalics <rudalics@gmx.at>
12439
12440 * window.el (display-buffer-other-window-means-other-frame):
12441 Call display-buffer-normalize-alist.
12442 (display-buffer-normalize-specifiers-1): Rename to
12443 display-buffer-normalize-argument. New argument other-frame.
12444 Rewrite.
12445 (display-buffer-normalize-specifiers-2): Rename to
12446 display-buffer-normalize-options.
12447 (display-buffer-normalize-alist-1): New function.
12448 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12449 display-buffer-normalize-alist.
12450 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12451 (display-buffer-normalize-options-inhibit): New variable.
12452 (display-buffer-normalize-specifiers): Rewrite calling
12453 display-buffer-normalize-alist,
12454 display-buffer-normalize-argument, and
12455 display-buffer-normalize-options. Don't call the latter if
12456 display-buffer-normalize-options-inhibit is non-nil.
12457 (frame-auto-delete): New option.
12458 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12459 (window-list-no-nils, window-state-ignored-parameters)
12460 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12461 (window-state-put-1, window-state-put-2, window-state-put):
12462 New functions.
9a028c23
MR
12463 (display-buffer-normalize-options): Move special-display-p group
12464 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12465
6d10d800
CY
124662011-06-18 Chong Yidong <cyd@stupidchicken.com>
12467
6420d28b
CY
12468 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12469 groups (Bug#8776).
12470 (rx-submatch-n): New function.
12471 (rx): Document it.
12472
ddb8b596
CY
12473 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12474 (Bug#8768).
12475
12476 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12477
77080289
CY
12478 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12479
61dfb316
CY
12480 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12481 anytime existing face settings are present (Bug#8889).
12482
6d10d800
CY
12483 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12484 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12485 Remove unused argument.
12486
be3fb2b8
MR
124872011-06-18 Martin Rudalics <rudalics@gmx.at>
12488
bcd70d97
SM
12489 * window.el (display-buffer-default-specifiers):
12490 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12491 pop-up-window-min-width, and another reuse-window specifier
12492 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12493 (display-buffer-normalize-specifiers-2):
12494 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12495 pop-up-windows is unset. Add a reuse-window specifier for the
12496 case popping up a new window fails.
12497 (special-display-popup-frame): Remove double quoting.
28dec25a 12498 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12499
1c6d8c76
SM
125002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12503 according to comint-completion-addsuffix.
12504
12505 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12506 (pcomplete-suffix-list): Mark as obsolete.
12507 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12508 pcomplete-seen in the closure.
12509 (pcomplete-comint-setup): Setup completion-at-point as well.
12510 (pcomplete--entries): New function.
12511 (pcomplete--env-regexp): New var.
12512 (pcomplete-entries): Rewrite to work with partial-completion and
12513 without relying on pcomplete-suffix-list.
12514 (pcomplete-pare-list): Remove, unused.
12515
25aef8b8
MR
125162011-06-17 Martin Rudalics <rudalics@gmx.at>
12517
12518 * window.el (display-buffer-alist): Set pop-up-window-min-height
12519 and pop-up-window-min-width in default value. Reported by
12520 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12521 other-window-means-other-frame.
12522 (display-buffer-macro-specifiers): Comment out entry for
12523 other-window specifier.
12524 (display-buffer-other-window-means-other-frame): New function.
12525 (display-buffer-normalize-specifiers-1): New arguments
12526 buffer-name and label. Treat other-window case specially.
12527 (display-buffer-normalize-specifiers-2): Treat other-window case
12528 specially.
12529 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12530 (display-buffer-normalize-specifiers):
12531 Call display-buffer-normalize-specifiers-3.
25aef8b8 12532
dbad4f69
MR
125332011-06-17 Martin Rudalics <rudalics@gmx.at>
12534
12535 * window.el (same-window-p): Fix two typos introduced when
12536 adding with-no-warnings.
d1067961
MR
12537 (display-buffer-normalize-specifiers-1): Don't check
12538 pop-up-frames for 'unset initialization.
12539 (display-buffer-normalize-specifiers-2): Major rewrite using
12540 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12541 (pop-up-frames, display-buffer-reuse-frames)
12542 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12543 Suggested by David Engster <deng@randomsample.de>.
12544 (even-window-heights): Initialize to 'unset.
12545 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12546 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12547 other window case.
dbad4f69 12548
9b9c9e3a
MR
125492011-06-16 Martin Rudalics <rudalics@gmx.at>
12550
bcd70d97
SM
12551 * window.el (display-buffer-normalize-specifiers-1):
12552 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12553 second argument of display-buffer (Bug#8865).
981d5c09
MR
12554 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12555 (switch-to-buffer-other-window-same-frame)
12556 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12557 Adams (Bug#8875).
9c2755e9
MR
12558 (display-buffer): Don't check noninteractive when calling
12559 display-buffer-pop-up-frame.
12560 (display-buffer-pop-up-frame): Never pop up a frame in
12561 noninteractive mode (Bug#8857).
67222e1d
MR
12562 (enlarge-window, shrink-window): Don't report an error when the
12563 window can't be resized as requested (Bug#8862).
9b9c9e3a 12564
2b75be67
SM
125652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12566
9ffdd3ba
SM
12567 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12568
cb581a67
SM
12569 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12570
2b75be67
SM
12571 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12572
8c0e3589
AM
125732011-06-15 Alan Mackenzie <acm@muc.de>
12574
cb581a67
SM
12575 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12576 for declarators, disable knr checking to speed up for normal files.
12577 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12578
b96e6cde
LMI
125792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12580
4bba86e6
LMI
12581 * net/network-stream.el (open-network-stream): Add the keyword
12582 :always-query-capabilities for the case where you want to force a
12583 `plain' network connection, but the protocol still requires the
12584 capabilitiy command (i.e., SMTP and EHLO).
12585
2b75be67 12586 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12587 consistency with other `-live-p' functions.
12588
efdcdbf8
SM
125892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * window.el (same-window-buffer-names, same-window-regexps)
12592 (special-display-frame-alist, special-display-popup-frame)
12593 (special-display-function, special-display-buffer-names)
12594 (special-display-regexps, pop-up-frame-alist)
12595 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12596 (pop-up-windows, split-window-preferred-function)
12597 (split-height-threshold, split-width-threshold, even-window-heights)
12598 (display-buffer-mark-dedicated): Don't encourage the use of
12599 display-buffer-alist from Elisp code.
12600
c5cde042
DN
126012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12602
12603 * progmodes/python.el (python-mode): Derive from prog-mode.
12604 * progmodes/ps-mode.el (ps-mode):
12605 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12606 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12607 * progmodes/ld-script.el (ld-script-mode): Likewise.
12608
baa1c9ab
MR
126092011-06-15 Martin Rudalics <rudalics@gmx.at>
12610
12611 * window.el (display-buffer-alist): Trim default value to avoid
12612 popping up a new frame (Bug#8857) or reusing an arbitrary window
12613 on another frame.
12614 (display-buffer): Do not fall back on popping up a new frame in
12615 batch mode (Bug#8857).
12616
c5dd5a51
CY
126172011-06-14 Chong Yidong <cyd@stupidchicken.com>
12618
12619 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12620 (custom-theme-summary): New function.
12621 (customize-themes): Use it.
12622
d647b7c4
GM
126232011-06-13 Glenn Morris <rgm@gnu.org>
12624
12625 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12626
9481c002
MR
126272011-06-13 Martin Rudalics <rudalics@gmx.at>
12628
357f93d2
MR
12629 * help.el (help-window): Remove variable.
12630 (help-window-point-marker, temp-buffer-max-height)
12631 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12632 (help-print-return-message): Don't set help-window.
12633 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12634 (help-window-setup-finish): Remove.
12635 (help-window-display-message, help-window-setup)
12636 (with-help-window): Major rewrite based on new
12637 display-buffer-window variable.
12638
12639 * help-mode.el (help-mode-finish): Remove help-window related
12640 code.
12641
12642 * view.el (view-exits-all-viewing-windows): Remove reference to
12643 view-return-to-alist in doc-string.
12644 (view-return-to-alist): Make obsolete.
12645 (view-buffer): Call pop-to-buffer-same-window and remove
12646 undo-window code.
12647 (view-buffer-other-window): Call pop-to-buffer-other-window and
12648 simplify code. Ignore second argument.
12649 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12650 simplify code. Ignore second argument.
12651 (view-return-to-alist-update): Make obsolete.
12652 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12653 Rewrite using quit-restore window parameters.
2b75be67
SM
12654 (view-mode-exit): Rename second argument to EXIT-ONLY.
12655 Rewrite using quit-restore-window.
357f93d2
MR
12656 (View-exit, View-exit-and-edit, View-leave, View-quit)
12657 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12658 appropriate arguments.
12659 (view-end-message): Use quit-restore window parameter.
12660
9481c002
MR
12661 * window.el (display-buffer-function): Rewrite doc-string.
12662 (display-buffer-window, display-buffer-alist): New variables.
12663 (display-buffer-split-specifiers)
12664 (display-buffer-side-specifiers)
12665 (display-buffer-macro-specifiers): New constants.
12666 (display-buffer-even-window-sizes, display-buffer-set-height)
12667 (display-buffer-set-width, display-buffer-select-window)
12668 (display-buffer-in-window, display-buffer-reuse-window)
12669 (display-buffer-split-window-1, display-buffer-split-window)
12670 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12671 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12672 (display-buffer-in-side-window, normalize-buffer-to-display)
12673 (display-buffer-normalize-specifiers-1)
12674 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12675 (display-buffer-normalize-specifiers, display-buffer-frame):
12676 New functions.
9481c002
MR
12677 (display-buffer): Major rewrite.
12678 (display-buffer-other-window, display-buffer-other-frame)
12679 (pop-to-buffer, switch-to-buffer-other-window)
12680 (switch-to-buffer-other-frame): Rewrite.
12681 (display-buffer-same-window, display-buffer-same-frame)
12682 (display-buffer-same-frame-other-window)
12683 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12684 (pop-to-buffer-other-window)
12685 (pop-to-buffer-same-frame-other-window)
12686 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12687 (switch-to-buffer-other-window-same-frame): New functions.
12688 (same-window-p, special-display-p): Rewrite disabling warnings.
12689 Make obsolete.
12690 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12691 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12692 Make obsolete
12693 (same-window-buffer-names, same-window-regexps)
12694 (special-display-frame-alist, special-display-popup-frame)
12695 (special-display-function, special-display-buffer-names)
12696 (special-display-regexps, pop-up-frame-alist)
12697 (pop-up-frame-function, split-window-preferred-function)
12698 (split-height-threshold, split-width-threshold)
12699 (even-window-heights): Make obsolete.
12700
9db51aca
GM
127012011-06-12 Glenn Morris <rgm@gnu.org>
12702
12703 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12704 Misc simplifications.
9db51aca 12705
39cffb44
MR
127062011-06-12 Martin Rudalics <rudalics@gmx.at>
12707
12708 * window.el (window-safely-shrinkable-p): Restore function which
12709 was inadvertently removed in change from 2011-06-11. Declare as
12710 obsolete.
12711
2b75be67
SM
12712 * calendar/calendar.el (calendar-generate-window):
12713 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12714 window-safely-shrinkable-p.
12715
a8955be7
GM
127162011-06-12 Glenn Morris <rgm@gnu.org>
12717
12718 * progmodes/fortran.el (fortran-mode-syntax-table):
12719 * progmodes/f90.el (f90-mode-syntax-table):
12720 Set % to punctuation. (Bug#8820)
12721 (f90-find-tag-default): Remove, no longer needed.
12722
f0d4059d
DC
127232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12724
12725 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12726
1100a63c
CY
127272011-06-11 Chong Yidong <cyd@stupidchicken.com>
12728
12729 * image.el (image-animated-p): Return animation delay in seconds.
12730 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12731 (image-animate-timeout): Remove DELAY argument. Don't assume
12732 every subimage has the same delay; get it from image-animated-p.
12733 (image-animate): Caller changed.
12734
def722bf
MA
127352011-06-11 Michael Albinus <michael.albinus@gmx.de>
12736
12737 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12738 to ignored backtrace functions.
12739
0a2bb1a9
GM
127402011-06-11 Glenn Morris <rgm@gnu.org>
12741
12742 * calendar/appt.el (appt-disp-window-function): Doc fix.
12743 (appt-check): Handle overlapping appointments. (Bug#8337)
12744
6198ccd0
MR
127452011-06-11 Martin Rudalics <rudalics@gmx.at>
12746
12747 * window.el (window-tree-1, window-tree): New functions, moving
12748 the latter to window.el.
12749 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12750 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12751 (bw-refresh-edges): Remove.
12752 (balance-windows-1, balance-windows-2): New functions.
12753 (balance-windows): Rewrite in terms of window tree functions,
12754 balance-windows-1 and balance-windows-2.
12755 (bw-adjust-window): Remove.
12756 (balance-windows-area-adjust): New function with functionality of
12757 bw-adjust-window but using resize-window.
2b75be67
SM
12758 (set-window-text-height): Rewrite doc-string.
12759 Use normalize-live-window and resize-window.
12760 (enlarge-window-horizontally, shrink-window-horizontally):
12761 Rename argument to DELTA.
6198ccd0
MR
12762 (window-buffer-height): New function.
12763 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12764 Rewrite using new window resize routines.
2b75be67
SM
12765 (kill-buffer-and-window, mouse-autoselect-window-select):
12766 Use ignore-errors instead of condition-case.
6198ccd0
MR
12767 (quit-window): Call delete-frame instead of delete-windows-on
12768 for the only buffer on frame.
12769
9397e56f
MR
127702011-06-10 Martin Rudalics <rudalics@gmx.at>
12771
12772 * loadup.el (top-level): Load window before files for the sake
12773 of replace-buffer-in-windows.
12774
12775 * files.el (read-buffer-to-switch)
12776 (switch-to-buffer-other-window)
2b75be67
SM
12777 (switch-to-buffer-other-frame, display-buffer-other-frame):
12778 Move to window.el.
9397e56f
MR
12779
12780 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12781 (previous-buffer): Move to window.el.
12782
12783 * bindings.el (unbury-buffer): Move to window.el.
12784
12785 * window.el (delete-other-windows-vertically): Move after
12786 definition of delete-other-windows.
12787 (other-window, delete-windows-on, replace-buffer-in-windows):
12788 Move here from window.c.
12789 (record-window-buffer, unrecord-window-buffer)
12790 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12791 (switch-to-next-buffer): New functions.
12792 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12793 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12794 (previous-buffer): Move here from simple.el.
12795 Call switch-to-prev-buffer.
9397e56f
MR
12796 (bury-buffer): Move here from buffer.c. Switch to previous
12797 buffer when window cannot be deleted.
12798 (unbury-buffer): Move here from bindings.el.
12799 (ctl-x-map): Move binding for other-window from window.c to
12800 here.
12801 (read-buffer-to-switch, switch-to-buffer-other-window)
12802 (switch-to-buffer-other-frame): Move here from files.el.
12803 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12804 (switch-to-buffer): Move here from buffer.c.
12805 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12806
562dd5e9
MR
128072011-06-10 Martin Rudalics <rudalics@gmx.at>
12808
12809 * window.el (window-min-height, window-min-width): Move here
12810 from window.c. Add defcustoms and rewrite doc-strings.
12811 (resize-mini-window, resize-window): New functions.
12812 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12813 Move here from window.c.
12814 (maximize-window, minimize-window): New functions.
12815 (delete-window, delete-other-windows, split-window): Move here
12816 from window.c.
12817 (window-split-min-size): New function.
12818 (split-window-keep-point): Mention split-window-above-each-other
12819 instead of split-window-vertically.
2b75be67 12820 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12821 Rename split-window-vertically to split-window-above-each-other
12822 and provide defalias for old definition.
12823 (split-window-side-by-side, split-window-horizontally):
12824 Rename split-window-horizontally to split-window-side-by-side
12825 and provide defalias for the old definition.
562dd5e9
MR
12826 (ctl-x-map): Move bindings for delete-window,
12827 delete-other-windows and enlarge-window here from window.c.
12828 Replace bindings for split-window-vertically and
12829 split-window-horizontally by bindings for
12830 split-window-above-each-other and split-window-side-by-side.
12831
12832 * cus-start.el (all): Remove entries for window-min-height and
12833 window-min-width. Add entries for window-splits and
12834 window-nest.
12835
f0da764a
GM
128362011-06-09 Glenn Morris <rgm@gnu.org>
12837
80675c21
GM
12838 * calendar/appt.el (appt-mode-line): New function.
12839 (appt-check, appt-disp-window): Use it.
12840
f0da764a
GM
12841 * files.el (hack-one-local-variable-eval-safep):
12842 Allow minor-modes with explicit +/-1 arguments.
12843
59f623b7
TZ
128442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12845
12846 * term/xterm.el (xterm): Add defgroup.
12847 (xterm-extra-capabilities): Add defcustom to supply known xterm
12848 capabilities, skip querying them, or query them (default).
12849 (terminal-init-xterm): Use it.
12850 (terminal-init-xterm-modify-other-keys): New function to set up
12851 modifyOtherKeys support to simplify `terminal-init-xterm'.
12852
9aab8e0d
MR
128532011-06-09 Martin Rudalics <rudalics@gmx.at>
12854
12855 * window.el (resize-window-reset, resize-window-reset-1)
12856 (resize-subwindows-skip-p, resize-subwindows-normal)
12857 (resize-subwindows, resize-other-windows, resize-this-window)
12858 (resize-root-window, resize-root-window-vertically)
12859 (window-deletable-p, window-or-subwindow-p)
12860 (frame-root-window-p): New functions.
12861
e8b08aee
GM
128622011-06-09 Glenn Morris <rgm@gnu.org>
12863
12864 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12865 (ange-ftp-get-files): Use it.
12866
254c37a5
AK
128672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12868
12869 * mail/sendmail.el (mail-recover-1, mail-recover):
12870 * files.el (recover-file, recover-session):
12871 Handle dired-listing-switches not being just a single short option.
12872
35d7dbd3
GM
128732011-06-09 Glenn Morris <rgm@gnu.org>
12874
12875 * calendar/appt.el (appt-display-message, appt-disp-window):
12876 Handle lists of appointments.
12877
387522b2
MR
128782011-06-08 Martin Rudalics <rudalics@gmx.at>
12879
2b75be67
SM
12880 * window.el (one-window-p): Move down in code.
12881 Rewrite doc-string.
12882 (window-current-scroll-bars): Rewrite doc-string.
12883 Normalize live window argument.
387522b2
MR
12884 (walk-windows, get-window-with-predicate, count-windows):
12885 Rewrite doc-string. Use window-list-1.
12886 (window-in-direction-2, window-in-direction, get-mru-window):
12887 New functions.
12888
d8e4b68b 128892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12890
12891 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12892 Doc fix (Bug#8713).
12893
128942011-06-08 Chong Yidong <cyd@stupidchicken.com>
12895
12896 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12897
128982011-06-08 Juanma Barranquero <lekktu@gmail.com>
12899
12900 * loadhist.el (unload-feature-special-hooks):
12901 Add `comint-output-filter-functions'.
12902
0de12c52
IK
129032011-06-08 Ivan Kanis <gnu@kanis.fr>
12904
12905 * calendar/appt.el (appt-check): Move some initializations into the let.
12906
f3d1777e
MR
129072011-06-08 Martin Rudalics <rudalics@gmx.at>
12908
12909 * window.el (window-height): Defalias to window-total-height.
12910 (window-width): Defalias to window-body-width.
12911
18af70d0
CY
129122011-06-07 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * image-mode.el (image-toggle-animation): New command.
12915 (image-mode-map): Bind it to RET.
12916 (image-mode): Update message.
12917 (image-toggle-display-image): Avoid a spurious cache flush.
12918 (image-transform-rotation): Doc fix.
12919 (image-transform-properties): Return quickly in the normal case.
12920 (image-animate-loop): Rename from image-animate-max-time.
12921
2b75be67 12922 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12923 (create-animated-image): Remove unnecessary function.
12924 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12925 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12926 (image-animate-timer): Use car-safe.
12927 (image-animate-timeout): Rename argument.
12928
190b47e6
MR
129292011-06-07 Martin Rudalics <rudalics@gmx.at>
12930
12931 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12932 window.c. Rename first argument to ALL-FRAMES.
12933 Rephrase doc-strings.
12934 (get-buffer-window-list): Rewrite using window-list-1.
12935 Rephrase doc-string.
a1511caf
MR
12936 (window-safe-min-height, window-safe-min-width): New constants.
12937 (window-size-ignore, window-min-size, window-min-size-1)
12938 (window-sizable, window-sizable-p, window-size-fixed-1)
12939 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12940 (window-max-delta-1, window-max-delta, window-resizable)
12941 (window-resizable-p, window-total-height, window-total-width)
12942 (window-body-width): New functions.
12943 (window-full-height-p, window-full-width-p): Rewrite using
12944 window-total-size.
12945 (window-body-height): Rewrite using window-body-size.
190b47e6 12946
85cc1f11
MR
129472011-06-06 Martin Rudalics <rudalics@gmx.at>
12948
12949 * window.el (window-right, window-left, window-child)
12950 (window-child-count, window-last-child, window-any-p)
12951 (normalize-live-buffer, normalize-live-frame)
12952 (normalize-any-window, normalize-live-window)
12953 (window-iso-combination-p, window-iso-combined-p)
12954 (window-iso-combinations)
12955 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12956 (windows-with-parameter, window-with-parameter)
12957 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12958 (window-atom-check, window-side-check, window-check):
12959 New functions.
85cc1f11
MR
12960 (ignore-window-parameters, window-sides, window-sides-vertical)
12961 (window-sides-slots): New variables.
12962 (window-size-fixed): Move down in code. Minor doc-string fix.
12963
e7156492
AS
129642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12965
12966 * comint.el (comint-dynamic-complete-as-filename)
12967 (comint-dynamic-complete-filename): Correctly call
12968 completion-in-region.
12969
7e821d0d
DD
129702011-06-05 Deniz Dogan <deniz@dogan.se>
12971
12972 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12973 in last change.
12974
ac09b8a1
DD
129752011-06-05 Deniz Dogan <deniz@dogan.se>
12976
12977 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12978 (rcirc): Use it to prompt for encryption.
12979
34699b85
RW
129802011-06-05 Roland Winkler <winkler@gnu.org>
12981
12982 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12983 (bibtex-search-entries): New command bound to C-c C-a.
12984 (bibtex-display-entries): New function.
12985
004dedd3
RW
129862011-06-05 Roland Winkler <winkler@gnu.org>
12987
12988 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12989 (bibtex-insert-kill): After yanking insert newline if necessary.
12990 (bibtex-initialize): Call bibtex-string-files-init only once.
12991 (bibtex-mode): Do not call easy-menu-add.
12992 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12993 (bibtex-yank): Set arg properly if nil.
12994
022fe7ce
RW
129952011-06-05 Roland Winkler <winkler@gnu.org>
12996
2b75be67
SM
12997 * textmodes/bibtex.el (bibtex-search-entry-globally):
12998 New variable.
022fe7ce
RW
12999 (bibtex-search-entry): Use it.
13000
b7c3692a
RW
130012011-06-05 Roland Winkler <winkler@gnu.org>
13002
13003 * textmodes/bibtex.el (bibtex-entry-format): New option
13004 sort-fields.
13005 (bibtex-format-entry, bibtex-reformat): Honor this option.
13006 (bibtex-parse-entry): Return fields in proper order.
13007
8eda563d
JB
130082011-06-05 Juanma Barranquero <lekktu@gmail.com>
13009
13010 * doc-view.el (doc-view-remove-if): Move computation of result out
13011 of `dolist' to silence misleading lexical-binding warning.
13012
7dbe3dbc
CY
130132011-06-04 Chong Yidong <cyd@stupidchicken.com>
13014
13015 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13016 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13017
0c33dd17
MA
130182011-06-04 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13021 "SunOS 5.10".
13022
f8f91c2b
MA
130232011-06-04 Michael Albinus <michael.albinus@gmx.de>
13024
13025 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13026 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13027 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13028 (tramp-parse-putty):
13029 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13030 (tramp-completion-function-alist-ssh)
13031 (tramp-completion-function-alist-telnet)
13032 (tramp-completion-function-alist-su)
13033 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13034 cookie.
13035
13036 * net/tramp-ftp.el:
13037 * net/tramp-sh.el:
13038 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13039 load "tramp.el" `tramp-set-completion-function'.
13040
e17d9003
SM
130412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * shell.el: Require and use pcomplete.
13044 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13045 (shell-completion-vars): Set pcomplete-default-completion-function.
13046
6c4cab03
DD
130472011-06-04 Deniz Dogan <deniz@dogan.se>
13048
13049 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13050 `memq' (Bug#8799).
13051
ea9fafe0
SM
130522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13055
b3e945d3
JB
130562011-06-02 Juanma Barranquero <lekktu@gmail.com>
13057
13058 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13059 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13060 * vc/log-view.el (log-view-beginning-of-defun):
13061 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13062 (smerge-refine-forward, smerge-refine-chopup-region):
13063 Silence warning for unused `dotimes' counter variables.
13064
7d520089
SM
130652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * net/tramp.el (tramp-with-progress-reporter): Rename from
13068 with-progress-reporter. Use `declare'.
13069 * net/tramp-smb.el:
13070 * net/tramp-sh.el:
13071 * net/tramp-gvfs.el: Update all uses.
13072
a1c2400f
JB
130732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13074
13075 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13076 buffer isn't killed before making it current.
13077
2403c841
SM
130782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 Silence various byte-compiler warnings.
13081 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13082 `access-type' and new obsolescence format.
13083 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13084 new format.
13085 (byte-compile-check-variable): New `access-type' argument.
13086 Only warn if the access-type is obsolete.
13087 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13088 (byte-compile-variable-set): Adjust callers.
13089 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13090 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13091 setting it as obsolete.
13092 * simple.el (minibuffer-completing-symbol):
13093 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13094 access as obsolete.
13095 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13096 obsolete yet.
13097 * international/quail.el (quail-mouse-choose-completion): Remove unused
13098 code referring to obsolete var.
13099 (quail-choose-completion-string): Remove.
13100 * server.el (server-clients-with, server-kill-buffer-query-function)
13101 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13102 * proced.el (proced-send-signal):
13103 * emacs-lisp/lisp.el (lisp-complete-symbol):
13104 Replace completion-annotate-function with completion-extra-properties.
13105
2462470b
SM
131062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13107
fb5b2591
SM
13108 * simple.el (goto-line): Use read-number.
13109 (overriding-map-is-bound): Remove.
13110 (saved-overriding-map): Change default.
13111 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13112 Take the map as argument.
13113 (universal-argument, negative-argument, digit-argument): Use it.
13114 (restore-overriding-map): Adjust.
13115 (do-auto-fill): Use fill-forward-paragraph.
13116 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13117
fd6fa53f
SM
13118 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13119 (minibuffer-inactive-mode): New major mode.
13120 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13121 the *Messages* buffer" hack.
13122 (mouse-popup-menubar): Don't burp if the event is a normal key.
13123
2462470b
SM
13124 Miscellaneous tweaks.
13125 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13126 lexical scoping as in subr.el's dolist and dotimes.
13127 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13128 Silence compiler warning.
13129 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13130 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13131 * international/ccl.el (ccl-compile): Trivial simplification.
13132 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13133 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13134 `printflag' argument.
13135 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13136 Purecopy the whole obsolescence data.
13137
108bf785
LL
131382011-06-01 Leo Liu <sdl.web@gmail.com>
13139
13140 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13141 improve doc-string as suggested by Marco Pessotto
13142 <melmothx@gmail.com>.
13143 (rcirc-print): Fix last change.
13144
30a23501
SM
131452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13146
13147 * minibuffer.el (complete-with-action): Return nil for the metadata and
13148 boundaries of non-functional tables.
13149 (completion-table-dynamic): Return nil for the metadata.
13150 (completion-table-with-terminator): Add default case, using
13151 complete-with-action.
13152 (completion--metadata): New function.
13153 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13154 to try and avoid pathological performance problems.
13155 (completion--embedded-envvar-table): Return `category' metadata.
13156
bcd54f83
LMI
131572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13158
13159 * subr.el (process-alive-p): New tiny convenience function.
13160
e227544d
SM
131612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13164 content but also its previous major mode.
13165
e8296fdc
HE
131662011-05-31 Helmut Eller <eller.helmut@gmail.com>
13167
4d61f28d 13168 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13169 *Backtrace* buffer when we exit with C-M-c.
13170
620c53a6
SM
131712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * minibuffer.el: Add metadata method to completion tables.
13174 (completion-category-overrides): New defcustom.
13175 (completion-metadata, completion--field-metadata)
13176 (completion-metadata-get, completion--styles)
13177 (completion--cycle-threshold): New functions.
13178 (completion-try-completion, completion-all-completions):
13179 Add `metadata' argument to choose completion-styles.
13180 (completion--do-completion): Use metadata to choose cycling.
13181 (completion-all-sorted-completions): Use metadata for sorting.
13182 Remove :completion-cycle-penalty which is not needed any more.
13183 (completion--try-word-completion): Add `metadata' argument.
13184 (minibuffer-completion-help): Check metadata for annotation function
13185 and sorting.
13186 (completion-file-name-table): Return `category' metadata.
13187 (minibuffer-completing-file-name): Make obsolete.
13188 * simple.el (minibuffer-completing-symbol): Make obsolete.
13189 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13190 completion-try-completion.
13191
1257e755
SM
131922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13195
3767e706
LL
131962011-05-30 Leo Liu <sdl.web@gmail.com>
13197
13198 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13199 (rcirc-print): Decode all incoming messages (bug#8744).
13200 (rcirc-decode-coding-system): Allow value nil for automatic coding
13201 system detection.
3767e706 13202
d1a5d56a
GM
132032011-06-01 Glenn Morris <rgm@gnu.org>
13204
13205 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13206
e8cbec34
CY
132072011-05-29 Chong Yidong <cyd@stupidchicken.com>
13208
13209 * image.el (image-animate-max-time): Allow nil and t values.
13210 Default to nil.
13211 (create-animated-image): Doc fix.
13212 (image-animate-start): Remove second arg; just use
13213 image-animate-max-time.
13214 (image-animate-timeout): Doc fix. Args changed.
13215
13216 * image-mode.el (image-toggle-display-image): Ensure that the
13217 image spec passed to the animate timer is the same object as in
58179cce 13218 the buffer's display property (Bug#6981).
e8cbec34
CY
13219 (image-transform-properties): Doc fix.
13220
13221 * image.el (image-animate-max-time): Default to nil.
13222
159daf87
MR
132232011-05-29 Martin Rudalics <rudalics@gmx.at>
13224
13225 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13226 entire buffer list (Bug#8184).
13227
d66c4c7c
CY
132282011-05-29 Chong Yidong <cyd@stupidchicken.com>
13229
13230 * image.el (imagemagick-types-inhibit)
13231 (imagemagick-register-types): Doc fix.
13232
80aec780
DD
132332011-05-29 Deniz Dogan <deniz@dogan.se>
13234
13235 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13236 default.
13237
1dd3c2d9
CY
132382011-05-29 Chong Yidong <cyd@stupidchicken.com>
13239
13240 * select.el: Don't perform clipboard-manager saving in hooks;
13241 leave the hooks empty.
13242
60e56523
LL
132432011-05-28 Leo Liu <sdl.web@gmail.com>
13244
13245 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13246 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13247 (occur-edit-mode): New major mode (Bug#8463).
13248 (occur-after-change-function): New function.
13249 (occur-engine): Give Occur tags a read-only property.
13250
2b1e1a22
KR
132512011-05-28 Kevin Ryde <user42@zip.com.au>
13252
13253 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13254
5d344e88
CY
132552011-05-28 Chong Yidong <cyd@stupidchicken.com>
13256
8e6ca83d
CY
13257 * bindings.el (help-echo): Make the initial non-indicator dash
13258 empty on graphical terminals (Bug#7295).
13259
5d344e88
CY
13260 * files.el (auto-mode-alist): Move config rule after the
13261 in-stripping one (Bug#8547).
13262
bfbbace7
CY
13263 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13264
fbeba6e2
CY
13265 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13266 setting (Bug#8740).
13267
60ed8c72
AA
132682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13269
4ac619f0
AA
13270 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13271 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13272 (Bug#8539).
60ed8c72 13273
23db196e
CY
132742011-05-28 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13277
5012f24c
DK
132782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13279
13280 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13281 (hs-hide-block-at-point, hs-find-block-beginning)
13282 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13283 (Bug#8279).
13284
6a639b16
GM
132852011-05-28 Glenn Morris <rgm@gnu.org>
13286
13287 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13288
d43eaf2c
CY
132892011-05-28 Chong Yidong <cyd@stupidchicken.com>
13290
5199bde1
CY
13291 * help-fns.el (describe-function-1): If the function is a derived
13292 major mode, print the parent mode.
13293
d43eaf2c
CY
13294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13295 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13296
423428a8
SM
132972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13298
0ff8e1ba 13299 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13300 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13301 * progmodes/etags.el (tags-completion-at-point-function):
13302 * info-look.el (info-lookup-completions-at-point): Mark as
13303 non-exclusive.
13304 (info-complete): Adjust accordingly.
13305
423428a8
SM
13306 * info-look.el: Convert to lexical-binding and completion-at-point.
13307 (info-lookup-completions-at-point): New function.
13308 (info-complete): Use it and completion-in-region.
13309
b74aa22b
DA
133102011-05-28 Drew Adams <drew.adams@oracle.com>
13311
13312 * isearch.el: Let M-e start with point at the first mismatched char.
13313 (isearch-fail-pos): New function.
13314 (isearch-edit-string): Use it.
13315
66e2e71d
DK
133162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13317
13318 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13319
b1890b0f 133202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13321
13322 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13323 traversal functions for avl-trees.
13324 (avl-tree--stack): New struct.
13325 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13326 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13327 (avl-tree--do-enter): Add optional `updatefun' arg.
13328 Change return value.
eb95d01d 13329 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13330 (avl-tree--do-delete): Add `test' and `nilflag' args.
13331 Change return value.
eb95d01d
TC
13332 (avl-tree-member): Add optional `nilflag'
13333 (avl-tree-member-p): New function.
13334 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13335 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13336 (avl-tree-stack-empty-p): New functions.
13337
3769ddcf
TC
13338 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13339 avl-tree--del-balance1 and make it work both ways.
13340 (avl-tree--del-balance2): Remove.
13341 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13342 make it work both ways.
13343 (avl-tree--enter-balance2): Remove.
13344 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13345 New macros.
13346 (avl-tree--mapc, avl-tree-map): Add direction argument.
13347
eb95d01d 133482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13349
13350 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13351
a9f737ee
CY
133522011-05-27 Chong Yidong <cyd@stupidchicken.com>
13353
13354 * select.el: Support clipboard managers with built-in function
13355 x-clipboard-manager-save, via delete-frame-functions and
13356 kill-emacs-hook.
13357 (xselect-convert-to-targets): Add MULTIPLE target to list.
13358 (xselect-convert-to-save-targets): New function.
13359
c92a1e54
KH
133602011-05-27 Kenichi Handa <handa@m17n.org>
13361
13362 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13363 let-binding rfc2047-encode-encoded-words to nil.
13364
e145f188
GM
133652011-05-27 Glenn Morris <rgm@gnu.org>
13366
5ec8a862
GM
13367 * mail/emacsbug.el: Don't require url-util.
13368
4b29d9fb
GM
13369 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13370
e145f188
GM
13371 * files.el (set-auto-mode):
13372 Also respect mode: entries at the end of the file. (Bug#8586)
13373
7d15102b
GM
133742011-05-26 Glenn Morris <rgm@gnu.org>
13375
98f593b8
GM
13376 * files.el (hack-local-variables-prop-line, hack-local-variables):
13377 Downcase mode names, as seems to be traditional.
27b48e63 13378 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13379
7d15102b
GM
13380 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13381 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13382
51d5b4ec
JD
133832011-05-25 Julien Danjou <julien@danjou.info>
13384
13385 * textmodes/rst.el (rst-define-level-faces): Do not define face
13386 symbol if it is already defined.
13387
91513f63
VB
133882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13389
13390 * play/5x5.el (5x5-new-game, 5x5-randomize):
13391 Reset 5x5-solver-output to nil when a new grid is cast.
13392 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13393 these debugging traces, as defmacro breaks the compiled code.
13394
4d90d6d0
DK
133952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13396
13397 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13398
e1b90ef6
LL
133992011-05-24 Leo Liu <sdl.web@gmail.com>
13400
13401 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13402 (vc-bzr-sha1): Adapt.
13403
d8e4b68b 13404 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13405
13406 * bindings.el: Provide sha1 feature.
13407
db0406bb 134082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13409
13410 * mail/sendmail.el: Require `rfc2047'.
13411 (mail-insert-from-field): Do not perform RFC2047 encoding.
13412 (mail-encode-header): New function.
13413 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13414 buffer to the return value of select-message-coding-system.
13415 Call mail-encode-header.
b8d747b9
KH
13416
13417 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13418
db0406bb 134192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13420
4d90d6d0
DK
13421 * mail/supercite.el (sc-default-cite-frame):
13422 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13423
eb8a5e9b
GM
134242011-05-24 Glenn Morris <rgm@gnu.org>
13425
f8630703
GM
13426 * progmodes/python.el (brm-menu): Declare.
13427
8831bbed
GM
13428 * emulation/viper.el (viper-set-hooks): Declare.
13429
eb8a5e9b
GM
13430 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13431 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13432 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13433 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13434 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13435 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13436
a2a25d24
SM
134372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 Add an :exit-function for completion-at-point.
13440
13441 * minibuffer.el (completion--done): New fun.
13442 (completion--do-completion): Use it. New arg `expect-exact'.
13443 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13444 since completion--do-completion does it for us now.
13445 (minibuffer-force-complete): Use completion--done and
13446 completion--replace. Handle sole-completion case with more care.
13447 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13448 (completion-extra-properties): New var.
13449 (completion-annotate-function): Make obsolete.
13450 (minibuffer-completion-help): Adjust accordingly.
13451 Use completion-list-insert-choice-function.
13452 (completion-at-point, completion-help-at-point):
13453 Bind completion-extra-properties.
13454 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13455 * simple.el (completion-list-insert-choice-function): New var.
13456 (completion-setup-function): Preserve it.
13457 (choose-completion): Pay attention to it, shuffle the code a bit.
13458 (choose-completion-string): New arg `insert-function'.
13459
13460 * textmodes/bibtex.el: Convert to lexical binding.
13461 (bibtex-mode-map): Use completion-at-point.
13462 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13463 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13464 (bibtex-complete): Define as obsolete alias.
13465 (bibtex-complete-internal): Remove.
13466 (bibtex-format-entry): Remove unused sub-group in regexp.
13467 * shell.el (shell--command-completion-data)
13468 (shell-environment-variable-completion):
13469 * pcomplete.el (pcomplete-completions-at-point):
13470 * comint.el (comint--complete-file-name-data): Use :exit-function
13471 instead of completion-table-with-terminator so it also works for
13472 choose-completion.
13473
e44e373d
SM
134742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13475
4f91a816
SM
13476 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13477
782fc819
SM
13478 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13479 (bug#8710).
13480
e44e373d
SM
13481 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13482
381987c3
KM
134832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13484
13485 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13486 customization variable and implement: If non-nil, auto-fill will
13487 be inhibited while on topic's header line.
13488
b776bc70
VB
134892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13490
13491 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13492 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13493 always have a solution in grid size = 5 cases.
13494 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13495 (5x5-solver-output, 5x5-log-buffer): New vars.
13496 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13497 Make these variables buffer local to achieve 5x5 multi-session-ness.
13498 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13499 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13500 (5x5-solve-suggest): New funs.
13501 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13502 randomize a grid so that we ensure that there is always a solution.
13503 (5x5-make-random-grid): Allow other movement than flipping.
13504
7de88b6e
KR
135052011-05-23 Kevin Ryde <user42@zip.com.au>
13506
13507 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13508 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13509 advice and passes PREDICATE.
13510
b1ef1257
SM
135112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13512
bbca48fe
SM
13513 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13514 byte-compile-lambda if it's actually a lambda.
13515
b1ef1257
SM
13516 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13517 Fix function quoting. Use backquote better.
13518
92a9cc65
YS
135192011-05-22 Yuanle Song <sylecn@gmail.com>
13520
13521 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13522 matching (Bug#8516).
13523
f0fb8059
JA
135242011-01-22 Jari Aalto <jari.aalto@cante.net>
13525
13526 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13527 different face (Bug#8178).
13528
d5b44c93
CY
135292011-05-22 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13532 defface (Bug#8144).
13533
79106a44
SM
135342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13535
9c848d8a
SM
13536 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13537 funcall as well (bug#8712). Warn when performing those conversions.
13538 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13539
79106a44
SM
13540 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13541
88dfa756
GM
135422011-05-22 Glenn Morris <rgm@gnu.org>
13543
13544 * files.el (hack-local-variables-prop-line): Small simplifications.
13545 (hack-local-variables, hack-local-variables-prop-line):
13546 If MODE-ONLY, return the mode, rather than just `t'.
13547
b7cf2c79
SM
135482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13551
3f1a8558
GM
135522011-05-21 Glenn Morris <rgm@gnu.org>
13553
7e4ccca3
GM
13554 * files.el (hack-local-variables-prop-line, hack-local-variables):
13555 If only interested in the mode, don't bother doing the other stuff.
13556
637d46ca
GM
13557 * image-mode.el (image-after-revert-hook):
13558 Redraw all frames on which the image is visible. (Bug#8567)
13559
973d955b
GM
13560 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13561
3f1a8558
GM
13562 * wid-edit.el (widget-checklist-match-inline):
13563 Fix 2011-04-19 change. (Bug#8649)
13564
96479927
SM
135652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13566
1dcf791f
SM
13567 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13568 Also allow singlespace after single-letter capitals followed by a dot.
13569
96479927
SM
13570 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13571 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13572
35fd0881
N
135732011-05-20 Nix <nix@esperi.org.uk>
13574
13575 * files.el (basic-save-buffer-2):
13576 Fix handling of break-hardlink-on-save with non-existent files.
13577
82745640
DD
135782011-05-19 Deniz Dogan <deniz@dogan.se>
13579
13580 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13581 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13582
4a720484
GM
135832011-05-19 Glenn Morris <rgm@gnu.org>
13584
d1f21341
GM
13585 * progmodes/f90.el (f90-type-def-re):
13586 Handle "type, bind(c)". (Bug#8691)
13587
4a720484
GM
13588 * emacs-lisp/autoload.el (batch-update-autoloads):
13589 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13590
2fb0a219
MA
135912011-05-18 Michael Albinus <michael.albinus@gmx.de>
13592
13593 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13594 property for the correct connection in case of multihops.
13595
e565dd37
GM
135962011-05-18 Glenn Morris <rgm@gnu.org>
13597
c2571358 13598 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13599 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13600
e565dd37
GM
13601 Rationalize calendar handling of day and month abbrev-arrays.
13602 * calendar/calendar.el (calendar-customized-p): New function.
13603 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13604 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13605 Add :set function.
13606 (calendar-abbrev-length, calendar-day-abbrev-array)
13607 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13608 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13609 Elements may no longer be nil.
13610 (calendar-day-name, calendar-month-name):
13611 Update for changed nature of abbrev arrays.
13612 * calendar/diary-lib.el (diary-name-pattern):
13613 Update for changed nature of abbrev arrays.
13614 (diary-mark-entries-1): Update calendar-make-alist calls.
13615 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13616 * calendar/cal-html.el (cal-html-day-abbrev-array):
13617 Simply inherit from calendar-day-abbrev-array.
13618
1d99a745
SM
136192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * progmodes/grep.el (grep-mode): Disable default
13622 compilation-directory-matcher setting (bug#8684).
13623
7c1d9aa0
MA
136242011-05-17 Michael Albinus <michael.albinus@gmx.de>
13625
13626 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13627 instead of "head" and "tail". There were problems with SunOS 5.9,
13628 and it performs better.
13629
3952e9d8
GM
136302011-05-17 Glenn Morris <rgm@gnu.org>
13631
2dd12e7f
GM
13632 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13633
e4157b9c
GM
13634 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13635 Replace obsolete function.
13636
8e249bbd
GM
13637 * shell.el (pcomplete-parse-arguments-function): Declare.
13638
3952e9d8
GM
13639 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13640 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13641 (appt-check): Doc fixes.
13642 (appt-disp-window-function, appt-delete-window-function):
13643 Remove needless special case in custom :type.
13644 (appt-display-count): Default to 0, not nil.
13645 (appt-check): Reset appt-display-count to 0, not nil.
13646
c71a0d48 136472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13648
c71a0d48
GM
13649 * progmodes/python.el (python-font-lock-keywords):
13650 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13651
31d55be9
SM
136522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13655
3bfacb2f
KR
136562011-05-16 Kevin Ryde <user42@zip.com.au>
13657
13658 * info-look.el (makefile-automake-mode): New setups, looking in
13659 automake manual, then makefile-mode.
13660 (makefile-mode): Remove automake manual, have it just in
13661 makefile-automake-mode since there's various things different or
13662 not relevant to plain make.
13663 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13664 believe a hypothetical automake-mode would go to makefile-mode,
13665 not the other way around.
13666
c8e83751
CY
136672011-05-15 Chong Yidong <cyd@stupidchicken.com>
13668
5e9e35cd
CY
13669 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13670 hunk-end tags (Bug#8672).
13671
c8e83751
CY
13672 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13673 vc-annotate-show-diff-revision-at-line (Bug#8671).
13674
50b23e5a
GM
136752011-05-14 Glenn Morris <rgm@gnu.org>
13676
7210a739
GM
13677 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13678 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13679 (change-log-font-lock-keywords): Also handle multiple author lines
13680 with leading tabs. (Bug#8644)
7210a739 13681
4691905a
GM
13682 * calendar/appt.el (appt-check): Rename some local variables.
13683 Some simplification/reordering.
13684
50b23e5a
GM
13685 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13686 (feedmail-sendmail-f-doesnt-sell-me-out)
13687 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13688 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13689 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13690 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13691 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13692 (feedmail-binmail-gnulinuxish-template):
13693 Rename from feedmail-binmail-linuxish-template.
13694 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13695 Use insert-buffer-substring.
13696
215cda7c
BC
136972011-05-14 Bill Carpenter <bill@carpenter.org>
13698
13699 * mail/feedmail.el (feedmail-patch-level): Increase.
13700 (feedmail-debug): New custom group.
13701 (feedmail-confirm-outgoing-timeout)
13702 (feedmail-sendmail-f-doesnt-sell-me-out)
13703 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13704 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13705 (feedmail-sender-line, feedmail-from-line)
13706 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13707 (feedmail-spray-this-address)
215cda7c
BC
13708 (feedmail-spray-address-fiddle-plex-list)
13709 (feedmail-queue-use-send-time-for-date)
13710 (feedmail-queue-use-send-time-for-message-id)
13711 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13712 (feedmail-buffer-eating-function):
13713 Doc fixes.
13714 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13715 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13716 (feedmail-message-action-scroll-down): New functions.
13717 (feedmail-queue-directory, feedmail-queue-draft-directory):
13718 Use expand-file-name.
13719 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13720 Remove C-v help entry.
13721 (feedmail-queue-buffer-file-name): New variable.
13722 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13723 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13724 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13725 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13726 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13727 (feedmail-message-action-toggle-spray)
13728 (feedmail-run-the-queue-no-prompts)
13729 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13730 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13731 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13732 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13733 (feedmail-envelope-deducer, feedmail-fiddle-from)
13734 (feedmail-fiddle-sender, feedmail-default-date-generator)
13735 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13736 (feedmail-fiddle-spray-address)
13737 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13738 (feedmail-fiddle-list-of-fiddle-plexes)
13739 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13740 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13741 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13742 Change default. Doc fix.
13743 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13744 (feedmail-binmail-linuxish-template): New constant.
13745 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13746 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13747 (feedmail-send-it): Add debug call.
13748 Use feedmail-queue-buffer-file-name, and
13749 feedmail-send-it-immediately-wrapper.
13750 (feedmail-message-action-send): Add debug call.
13751 Use feedmail-send-it-immediately-wrapper.
13752 (feedmail-queue-express-to-queue): Add debug call.
13753 Run feedmail-queue-express-hook.
13754 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13755 (feedmail-message-action-help-blat):
13756 Rename from feedmail-queue-send-edit-prompt-help-first.
13757 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13758 Check line-endings. Handle errors better.
13759 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13760 Doc fix. Add debug call.
13761 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13762 Use feedmail-queue-send-edit-prompt-inner.
13763 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13764 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13765 from feedmail-queue-send-edit-prompt.
13766 (feedmail-queue-send-edit-prompt-help)
13767 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13768 (feedmail-tidy-up-slug): Add debug call.
13769 Respect feedmail-queue-slug-suspect-regexp.
13770 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13771 (feedmail-dump-message-to-queue): Add debug call.
13772 Expand queue-directory.
13773 (feedmail-dump-message-to-queue): Change message slightly.
13774 Use feedmail-say-chatter.
13775 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13776 (feedmail-send-it-immediately-wrapper): New function.
13777 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13778 Insert empty string rather than newline. Handle full-frame case.
13779 Use catch/throw. Use feedmail-say-chatter.
13780 (feedmail-fiddle-from): Try mail-host-address.
13781 (feedmail-default-message-id-generator): Doc fix.
13782 Bind system-time-locale. Handle missing end.
13783 (feedmail-fiddle-x-mailer): Add debug call.
13784 Handle feedmail-x-mailer-line being nil.
13785 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13786 Add debug call. Use buffer-substring-no-properties.
13787 (feedmail-say-debug, feedmail-say-chatter): New functions.
13788 (feedmail-find-eoh): Give an explicit error.
13789
42c7e61e
UJ
137902011-05-13 Ulf Jasper <ulf.jasper@web.de>
13791
c2571358 13792 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13793 family from helvetica to sans.
c2571358 13794 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13795 etc/images/newsticker.
13796
c2571358 13797 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13798 family from helvetica to sans.
13799
13800 * net/newst-plainview.el (newsticker-new-item-face)
13801 (newsticker-old-item-face, newsticker-immortal-item-face)
13802 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13803 (newsticker-statistics-face): Change default family from
42c7e61e 13804 helvetica to sans.
c2571358 13805 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13806 etc/images/newsticker.
13807
5d3385a0
JB
13808 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13809 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13810 auto-marking.
13811
8497a297
DV
138122011-05-13 Didier Verna <didier@xemacs.org>
13813
13814 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13815 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13816 TODO entries.
8497a297
DV
13817 (lisp-lambda-list-keyword-parameter-indentation)
13818 (lisp-lambda-list-keyword-parameter-alignment)
13819 (lisp-lambda-list-keyword-alignment): New customizable user options.
13820 (lisp-indent-defun-method): Improve docstring.
13821 (extended-loop-p): Fix comment.
13822 (lisp-indent-lambda-list-keywords-regexp): New variable.
13823 (lisp-indent-lambda-list): New function.
13824 (lisp-indent-259): Use it.
13825 (lisp-indent-defmethod): Support for more than one
13826 method qualifier and properly indent methods lambda-lists.
13827 (defgeneric): Provide a missing common-lisp-indent-function property.
13828
f278f87f
SM
138292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13832 bounds for the empty string (bug#8667).
13833
5233edd7
GM
138342011-05-13 Glenn Morris <rgm@gnu.org>
13835
5237a44f
GM
13836 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13837
8340026c 13838 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13839 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13840
5233edd7 13841 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13842 (appt-time-msg-list): Doc fix.
a5464014 13843 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13844
92d10796
AS
138452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13846
13847 * progmodes/ld-script.el (ld-script-keywords)
13848 (ld-script-builtins): Update keywords list.
13849
914a0ae1
SM
138502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13851
c89be45f
SM
13852 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13853
914a0ae1
SM
13854 * shell.el (shell-completion-vars): New function.
13855 (shell-mode):
13856 * simple.el (read-shell-command): Use it.
13857 (blink-matching-open): No need for " [...]" in minibuffer-message.
13858
98dc3df3
GM
138592011-05-12 Glenn Morris <rgm@gnu.org>
13860
13861 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13862 (appt-check): Simplify.
13863
d2fc7e3d 138642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13865
4d61f28d 13866 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13867 literal "/dev/null".
13868
d2fc7e3d 138692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13870
13871 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13872 Fix typo.
13873
d2fc7e3d 138742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13875
3f254caa
SM
13876 * progmodes/which-func.el (which-function):
13877 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13878 which might not be defined (Bug#8260).
13879
d45885f7
GM
138802011-05-12 Glenn Morris <rgm@gnu.org>
13881
13882 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13883 Let byte-compile-initial-macro-environment always take precedence.
13884
488086f4
SM
138852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * net/rcirc.el: Add support for SSL/TLS connections.
13888 (rcirc-server-alist): New field `encryption'.
13889 (rcirc): Check `encryption' settings.
13890 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13891 Merge make-local-variable into `set'.
13892 (rcirc--connection-open-p): New function.
13893 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13894 the process is not a network process (e.g. running gnutls-cli).
13895 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13896 Make rcirc-(en|de)code-coding-system local here.
13897 (rcirc-mode): Merge make-local-variable into `set'.
13898 (rcirc-parent-buffer): Make permanent buffer-local.
13899 (rcirc-multiline-minor-mode): Don't do it here.
13900 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13901 there's no server buffer.
13902
7d3b9d44
GM
139032011-05-11 Glenn Morris <rgm@gnu.org>
13904
f64049c6
GM
13905 * newcomment.el (comment-kill): Prefix "unused" local.
13906
93c9df73
GM
13907 * term/w32console.el (get-screen-color): Declare.
13908
7d3b9d44
GM
13909 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13910 Handle symbol elements of byte-compile-initial-macro-environment.
13911
9e2dd53f
LL
139122011-05-10 Leo Liu <sdl.web@gmail.com>
13913
488086f4
SM
13914 * bookmark.el (bookmark-bmenu-mode-map):
13915 Bind bookmark-bmenu-search to `/'.
8b340240 13916
9e2dd53f 13917 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13918 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13919 (Footnote-unicode): New function.
13920 (footnote-style-alist): Add unicode style to the list.
13921 (footnote-style): Doc fix.
9e2dd53f 13922
79b70037
GM
139232011-05-10 Jim Meyering <meyering@redhat.com>
13924
13925 Fix doubled-word typos.
13926 * international/quail.el (quail-insert-kbd-layout): and and -> and
13927 * kermit.el: and and -> and
13928 * net/ldap.el (ldap-search-internal): to to -> to
13929 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13930 * progmodes/js.el (js-mode): and and -> and
13931 * textmodes/artist.el (artist-move-to-xy): at at -> at
13932 (artist-draw-region-trim-line-endings): if if -> if
13933 And Safetyc -> Safety.
13934 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13935
b8f82dc1 139362011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13937 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13938
13939 * files.el (hack-one-local-variable-eval-safep):
13940 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13941
4f99f44b
GM
139422011-05-10 Glenn Morris <rgm@gnu.org>
13943
13944 * calendar/diary-lib.el (diary-list-entries-hook)
13945 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13946 (diary-nongregorian-marking-hook, diary-list-entries)
13947 (diary-include-other-diary-files, diary-mark-entries)
13948 (diary-mark-included-diary-files): Doc fixes.
13949
84f29e6b
JB
139502011-05-09 Juanma Barranquero <lekktu@gmail.com>
13951
13952 * misc.el: Require tabulated-list.el during compilation.
13953
9bedd73a
CY
139542011-05-09 Chong Yidong <cyd@stupidchicken.com>
13955
488086f4
SM
13956 * progmodes/compile.el (compilation-start):
13957 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13958 (compilation-filter-hook): Doc fix.
13959
797c735c
DD
139602011-05-09 Deniz Dogan <deniz@dogan.se>
13961
13962 * wdired.el: Remove outdated installation comment. Fix usage
13963 comment.
13964
5f4b1dfe
JB
139652011-05-09 Juanma Barranquero <lekktu@gmail.com>
13966
13967 * misc.el: Implement new command `list-dynamic-libraries'.
13968 (list-dynamic-libraries--loaded-only-p): New variable.
13969 (list-dynamic-libraries--refresh): New function.
13970 (list-dynamic-libraries): New command.
13971
4c44026c
CY
139722011-05-09 Chong Yidong <cyd@stupidchicken.com>
13973
488086f4
SM
13974 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13975 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13976 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13977 higher priority to avoid clobbering by gnu.
13978
027f966d
CY
139792011-05-08 Chong Yidong <cyd@stupidchicken.com>
13980
13981 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13982 if the face has existing theme settings (Bug#8454).
13983
085f5d7d
CY
139842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13985
488086f4
SM
13986 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13987 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13988
2a86a00c
RS
13989 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13990 special file names `.' and `..' (Bug#8259).
13991
d9c54a06
CY
139922011-05-08 Chong Yidong <cyd@stupidchicken.com>
13993
488086f4
SM
13994 * progmodes/grep.el (grep-mode-font-lock-keywords):
13995 Remove buffer-changing entries.
d9c54a06
CY
13996 (grep-filter): New function.
13997 (grep-mode): Add it to compilation-filter-hook.
13998
13999 * progmodes/compile.el (compilation-filter-hook)
14000 (compilation-filter-start): New defvars.
14001 (compilation-filter): Call compilation-filter-hook prior to
14002 updating the process mark.
14003
c4662635
SM
140042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14007
b0512a1d
EZ
140082011-05-07 Eli Zaretskii <eliz@gnu.org>
14009
605c9376
EZ
14010 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14011 mailclient-send-it even if window-system is nil. (Bug#8595)
14012
c4662635
SM
14013 * term/w32console.el (terminal-init-w32console):
14014 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14015 background-mode. (Bug#8597)
14016
d1dc2cc2
SM
140172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14018
14019 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14020 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14021 New functions.
14022 (defgeneric, eieio--defmethod): Use them.
14023 (eieio-defgeneric): Remove.
14024 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14025
915d1300
GM
140262011-05-07 Glenn Morris <rgm@gnu.org>
14027
a3961c3e
GM
14028 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14029 Use let rather than let*.
14030 (timeclock-find-discrep): Remove unused local.
14031
314347b9
GM
14032 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14033
915d1300
GM
14034 * calendar/appt.el (appt-time-msg-list): Doc fix.
14035
275b59b0
NF
140362011-05-06 Noah Friedman <friedman@splode.com>
14037
14038 * apropos.el (apropos-print-doc): Only use
14039 emacs-lisp-docstring-fill-column when it is bound to an integer,
14040 per that variable's documentation.
14041
6c19f744
SM
140422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14045 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14046
60f884b2
GM
140472011-05-06 Glenn Morris <rgm@gnu.org>
14048
5006e634
GM
14049 * calendar/appt.el (appt-message-warning-time): Doc fix.
14050 (appt-warning-time-regexp): New option.
14051 (appt-make-list): Respect appt-message-warning-time.
14052
548d0a63
GM
14053 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14054 New options.
14055 (diary-add-to-list): Strip comments from the displayed string.
14056 (diary-mode): Set comment-start and comment-end.
14057
60f884b2
GM
14058 * vc/diff-mode.el (smerge-refine-subst): Declare.
14059 (diff-refine-hunk): Don't require smerge-mode when compiling.
14060
989681bb
JB
140612011-05-06 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * simple.el (list-processes): Return nil as the docstring says.
14064
a6bc05e1
MA
140652011-05-05 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14068 to "".
14069 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14070 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14071 determining of binary transfer. (Bug#7383)
14072
23c22e9a
MA
140732011-05-05 Michael Albinus <michael.albinus@gmx.de>
14074
c4662635
SM
14075 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14076 Fix port computation bug. (Bug#8618)
23c22e9a 14077
0bff894f
GM
140782011-05-05 Glenn Morris <rgm@gnu.org>
14079
b8296902
GM
14080 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14081
1f522ce8
GM
14082 * simple.el (shell-dynamic-complete-functions)
14083 (comint-dynamic-complete-functions): Declare.
14084
cf5bee67
GM
14085 * net/network-stream.el (gnutls-negotiate):
14086 * simple.el (tabulated-list-print): Fix declarations.
14087
14088 * progmodes/gud.el (syntax-symbol, syntax-point):
14089 Remove unnecessary and incorrect declarations.
14090
0bff894f
GM
14091 * emacs-lisp/check-declare.el (check-declare-scan):
14092 Handle byte-compile-initial-macro-environment in bytecomp.el
14093
9869b3ae
SM
140942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 Fix earlier half-done eieio-defmethod change (bug#8338).
14097 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14098 Streamline and change calling convention.
14099 (defmethod): Adjust accordingly and simplify.
14100 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14101 new eieio--defmethod.
14102 (slot-boundp): Minor CSE simplification.
14103
9c1d5ac5
MZ
141042011-05-05 Milan Zamazal <pdm@zamazal.org>
14105
14106 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14107 (glasses-make-readable): Use glasses-separate-capital-groups.
14108
455c834e
JB
141092011-05-05 Juanma Barranquero <lekktu@gmail.com>
14110
14111 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14112 (warning-series): Doc fix.
14113 (display-warning): Don't try to create the buffer if we just found it.
14114
9ed7c8cb
CY
141152011-05-04 Chong Yidong <cyd@stupidchicken.com>
14116
14117 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14118 (autoload-find-generated-file): New function.
14119 (generate-file-autoloads): Bind generated-autoload-file to
14120 buffer-file-name.
9869b3ae
SM
14121 (update-file-autoloads, update-directory-autoloads):
14122 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14123 output file (Bug#7989).
14124 (batch-update-autoloads): Doc fix.
14125
0898ca10
JB
141262011-05-04 Juanma Barranquero <lekktu@gmail.com>
14127
14128 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14129
31dfb76c
GM
141302011-05-04 Glenn Morris <rgm@gnu.org>
14131
f330b642
GM
14132 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14133 function, so it follows changes in calendar-date-style.
14134 (diary-fancy-date-matcher): New function.
14135 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14136 (diary-fancy-font-lock-fontify-region-function):
14137 Use diary-fancy-date-pattern as a function.
14138
31dfb76c
GM
14139 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14140 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14141
48e79d6a
TZ
141422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14143
14144 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14145 instead of positional arguments. Allow :keylist and :crlfiles
14146 arguments.
14147 (open-gnutls-stream): Call it.
14148
14149 * net/network-stream.el (network-stream-open-starttls): Adjust to
14150 call `gnutls-negotiate' with :process and :hostname arguments.
14151
dd5a5ee0
SM
141522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14153
ef80fc09
SM
14154 * minibuffer.el (completion--message): New function.
14155 (completion--do-completion, minibuffer-complete)
14156 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14157 (completion--do-completion): Don't ignore completion-auto-help when in
14158 icomplete-mode.
14159
dd5a5ee0
SM
14160 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14161 internal encoding (e.g. tibetan zero is not whitespace).
14162 (global-whitespace-mode): Prefer save-current-buffer.
14163 (whitespace-trailing-regexp): Remove useless save-match-data.
14164 (whitespace-empty-at-bob-regexp): Minor simplification.
14165
b7d22a83
CY
141662011-05-03 Chong Yidong <cyd@stupidchicken.com>
14167
14168 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14169
5192af46
AM
141702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14171
14172 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14173 Use `concat' to create string for insertion.
5192af46 14174
5767d190
SM
141752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14176
14177 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14178 Avoid open-line which runs post-self-insert-hook.
14179 (bibtex-fill-entry): Remove unused `end' var.
14180
bf242939
AM
141812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14182
5767d190
SM
14183 * textmodes/ispell.el (ispell-add-per-file-word-list):
14184 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14185
25666126
LL
141862011-05-03 Leo Liu <sdl.web@gmail.com>
14187
14188 * isearch.el (isearch-yank-pop): New command.
5767d190 14189 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14190 (isearch-forward): Mention it.
14191
52d3c2d0
SM
141922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14193
1bcace58
SM
14194 * simple.el (minibuffer-complete-shell-command): Remove.
14195 (minibuffer-local-shell-command-map): Use completion-at-point.
14196 (read-shell-command): Setup completion vars here instead.
14197 (read-expression-map): Bind TAB to symbol completion.
14198
52d3c2d0
SM
14199 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14200 error directly rather via storing it into `results'.
14201
35813471
LL
142022011-05-02 Leo Liu <sdl.web@gmail.com>
14203
14204 * vc/diff.el: Fix description.
14205
e793a940
LMI
142062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * server.el (server-eval-at): New function.
14209
8de66e05
LMI
142102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14211
14212 * net/network-stream.el (open-network-stream): Take a :nowait
14213 parameter and pass it on to `make-network-process'.
14214 (network-stream-open-plain): Ditto.
14215
dcb79f20
AS
142162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14217
14218 * faces.el (face-spec-set-match-display): Don't match toolkit
14219 options on terminal frames.
14220
14a7fbd8
SM
142212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14222
7eabc1be
SM
14223 * progmodes/pascal.el: Use lexical binding.
14224 (pascal-mode-map): Remove author preferences.
14225
14a7fbd8
SM
14226 * pcomplete.el (pcomplete-std-complete): Don't abuse
14227 completion-at-point.
14228
50f84510
JB
142292011-04-28 Juanma Barranquero <lekktu@gmail.com>
14230
6e087a44
JB
14231 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14232 removing code that has been dead since 1991 or so.
14233
50f84510
JB
14234 * startup.el (command-line): When warning about "_emacs", use a
14235 delayed warning to allow the user to filter it out.
14236
0ba690bd
DD
142372011-04-28 Deniz Dogan <deniz@dogan.se>
14238
14239 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14240 user has not joined.
14241
08abfaad
SM
142422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14245 aren't any completions at point.
14246
638f053a
JB
142472011-04-28 Juanma Barranquero <lekktu@gmail.com>
14248
14249 * subr.el (display-delayed-warnings): New function.
14250 (delayed-warnings-hook): New variable.
14251
8fff8daa
SM
142522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14253
08abfaad
SM
14254 * minibuffer.el (completion-at-point, completion-help-at-point):
14255 Don't presume that a given completion-at-point-function will always
14256 use the same calling convention.
14257
8fff8daa
SM
14258 * pcomplete.el (pcomplete-completions-at-point):
14259 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14260 pcomplete-seen is non-nil.
14261 (pcomplete-comint-setup): Also recognize the new comint/shell
14262 completion functions.
14263 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14264 pcomplete-seen is non-nil.
14265
841a1577 142662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14267
841a1577 14268 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14269 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14270 the first character in the entry. This allows for code to add its
211ec907
UJ
14271 own uid to the entry.
14272 (icalendar--convert-float-to-ical): Add export of
14273 `diary-float'-entries save for those with the optional DAY
14274 argument.
14275
2a782793
DC
142762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14277
14278 * subr.el (shell-quote-argument): Use alternate escaping strategy
14279 when we spot a variable reference in a string.
14280
0438ce91
DC
142812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14282
14283 * cus-start.el (all): Define customization for debug-on-event.
14284
841a1577 142852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14286
14287 * subr.el (shell-quote-argument): Escape correctly under Windows.
14288
d090ed6c
SM
142892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14292
bfd31217
MA
142932011-04-25 Michael Albinus <michael.albinus@gmx.de>
14294
d090ed6c
SM
14295 * net/tramp.el (tramp-process-actions): Add POS argument.
14296 Delete region between POS and (pos).
bfd31217 14297
d090ed6c
SM
14298 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14299 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14300 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14301
14302 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14303 position in `tramp-process-actions' call.
14304
14305 * net/trampver.el: Update release number.
14306
e92f3bd3
SM
143072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14308
850256b5
SM
14309 * custom.el (defcustom): Obey lexical-binding.
14310
e92f3bd3
SM
14311 Fix octave-inf completion problems reported by Alexander Klimov.
14312 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14313 Inherit from octave-mode-syntax-table.
14314 (inferior-octave-mode): Set info-lookup-mode.
14315 (inferior-octave-completion-at-point): New function.
14316 (inferior-octave-complete): Use it and completion-in-region.
14317 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14318 comint-filename-completion.
14319 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14320 symbol elements which shouldn't be word elements.
14321 (octave-font-lock-keywords, octave-beginning-of-defun)
14322 (octave-function-header-regexp): Adjust regexps accordingly.
14323 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14324
cd22b309
JB
143252011-04-25 Juanma Barranquero <lekktu@gmail.com>
14326
14327 * net/gnutls.el (gnutls-errorp): Declare before first use.
14328
8b492194
TZ
143292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14330
14331 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14332 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14333 default trustfile exists before going to use it. Add missing
5a5fa834 14334 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14335 Reported by Claudio Bley <claudio.bley@gmail.com>.
14336 (open-gnutls-stream): Add usage example.
14337
14338 * net/network-stream.el (network-stream-open-starttls): Give host
14339 parameter to `gnutls-negotiate'.
14340 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14341 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14342
841a1577 143432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14344
cd22b309
JB
14345 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14346 Use correct match group (bug#8438).
05842630 14347
3ba7869c
CY
143482011-04-24 Chong Yidong <cyd@stupidchicken.com>
14349
512e3ae1
CY
14350 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14351 (package-menu--generate): New arg specifying packages to show.
14352 (package-menu-refresh, package-menu-execute, list-packages):
14353 Callers changed.
14354 (package-show-package-list): New function, replacing deleted
14355 package--list-packages (renamed because it is non-internal).
14356
14357 * finder.el (finder-list-matches): Use package-show-package-list
14358 instead of deleted package--list-packages.
14359
e92f3bd3
SM
14360 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14361 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14362 (vc-annotate-mode-map): Bind it to RET.
14363
7031be6d
UR
143642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14365
14366 * progmodes/etags.el (next-file): Don't use set-buffer to change
14367 buffers (Bug#8478).
14368
4ef177aa
CY
143692011-04-24 Chong Yidong <cyd@stupidchicken.com>
14370
c8d173eb
CY
14371 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14372
4ef177aa
CY
14373 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14374 (apropos-accumulator): Doc fix.
14375 (apropos-function, apropos-macro, apropos-command)
14376 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14377 (apropos-plist): Add face property.
14378 (apropos-symbols-internal): Fix indentation.
14379 (apropos-print): Simplify help, and recognize apropos-multi-type.
14380 (apropos-print-doc): Use button-type-get to extract the button's
14381 face property. Fill docstring (Bug#8352).
14382
4ffd0d6b 143832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14384
14385 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14386
c6c32125 14387 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14388 (mpuz-mode-map): Use mapc.
c6c32125
JB
14389 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14390 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14391 Fix typos in docstrings.
14392
58d468b4
JB
14393 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14394 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14395
6470c3c6
JB
14396 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14397
4ffd0d6b 143982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14399
14400 * minibuffer.el (completion--do-completion): Avoid the "Next char
14401 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14402
3ad8bad0
CY
14403 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14404 mouse-2 into unread-command-events, it is interpreted correctly.
14405
71d73c9c 14406 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14407 (image-toggle-display): Doc fix.
71d73c9c 14408
841a1577 144092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14410
4ffd0d6b
GM
14411 * textmodes/page.el (what-page): Use line-number-at-pos to
14412 calculate line number (Bug#6825).
6e1dbaa9 14413
c2fb1b60
JB
144142011-04-22 Juanma Barranquero <lekktu@gmail.com>
14415
14416 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14417 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14418 Pass argument NO-DEFAULT to `find-tag-interactive'.
14419
e02f48d7
JB
144202011-04-22 Juanma Barranquero <lekktu@gmail.com>
14421
14422 Lexical-binding cleanup.
14423
14424 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14425 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14426 * progmodes/ada-prj.el (ada-prj-initialize-values)
14427 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14428 (ada-prj-show-value):
14429 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14430 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14431 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14432 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14433 * progmodes/bug-reference.el (bug-reference-push-button):
14434 * progmodes/fortran.el (fortran-line-length):
14435 * progmodes/glasses.el (glasses-change):
14436 * progmodes/octave-mod.el (octave-fill-paragraph):
14437 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14438 (python-pdbtrack-grub-for-buffer, python-sentinel):
14439 * progmodes/sql.el (sql-save-connection):
14440 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14441 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14442 Mark unused parameters.
14443
14444 * progmodes/compile.el (compilation--flush-directory-cache)
14445 (compilation--flush-parse, compile-internal): Mark unused parameters.
14446 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14447 (compilation-next-error-function): Remove unused variable `timestamp'.
14448
14449 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14450 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14451
14452 * progmodes/dcl-mode.el (dcl-end-of-command):
14453 Remove unused variable `start'.
14454 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14455 (dcl-option-value-basic, dcl-option-value-offset)
14456 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14457 Mark unused parameters.
14458 (dcl-save-local-variable): Remove unused variable `val'.
14459 (mode): Declare.
14460
14461 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14462 Mark unused parameters.
14463 (delphi-ignore-changes): Move before first use.
14464 (delphi-charset-token-at): Remove unused variable `start'.
14465 (delphi-else-start): Remove unused variable `if-count'.
14466 (delphi-comment-block-start, delphi-comment-block-end):
14467 Remove unused variable `kind'.
14468 (delphi-indent-line): Remove unused variable `new-point'.
14469
14470 * progmodes/ebrowse.el (ebrowse-files-list)
14471 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14472 Mark unused parameters. Don't quote `lambda'.
14473 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14474 Don't quote `lambda'.
14475 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14476 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14477 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14478 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14479 Use `ignore-errors'.
14480 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14481 (ebrowse-view/find-file-and-search-pattern)
14482 (ebrowse-view/find-member-declaration/definition):
14483 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14484 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14485 Rename parameter PREFIX-ARG to PREFIX.
14486 (ebrowse-tags-read-name): Remove unused variables `start' and
14487 `member-info'.
14488 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14489 to `tags-file'.
14490
14491 * progmodes/etags.el (local-find-tag-hook): Declare.
14492 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14493 Mark unused parameters.
14494
14495 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14496 (executable-interpret): Mark unused parameter.
14497
14498 * progmodes/flymake.el (flymake-process-sentinel)
14499 (flymake-after-change-function)
14500 (flymake-create-temp-with-folder-structure)
14501 (flymake-get-include-dirs-dot): Mark unused parameters.
14502 (flymake-safe-delete-directory): Remove unused variable `err'.
14503
14504 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14505 (speedbar-timer-fn, speedbar-line-text)
14506 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14507 (speedbar-center-buffer-smartly): Declare functions.
14508 (gdb-find-watch-expression): Remove unused variable `array'.
14509 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14510 (gdb-starting): Mark unused parameters.
14511 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14512 (gdb-table-string): Remove unused variable `res'.
14513 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14514 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14515 (gdb-display-buffer): Remove unused variable `cur-size'.
14516
14517 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14518 allow lexical-binding compilation.
14519 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14520 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14521 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14522 Mark unused parameters.
14523 (gud-gdb-marker-filter): Remove unused variable `match'.
14524 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14525 lambda expressions and funcall them, instead of using `fset'.
14526
14527 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14528 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14529
14530 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14531 variable `header-beg'; use `let'.
14532
14533 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14534 `restart', `last-sexp' and `at-do'.
14535
14536 * progmodes/js.el (js--debug): Mark unused parameter.
14537 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14538 (js--splice-into-items): Remove unused variable `item'.
14539 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14540
14541 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14542 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14543 (makefile-complete): Remove unused variable `try'.
14544 (makefile-fill-paragraph, makefile-match-function-end):
14545 Mark unused parameters.
14546
14547 * progmodes/octave-inf.el (inferior-octave-complete):
14548 Remove unused variable `proc'.
14549 (inferior-octave-output-digest): Mark unused parameter.
14550
14551 * progmodes/perl-mode.el (perl-calculate-indent):
14552 Remove unused variable `err'.
14553
14554 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14555 (prolog-indent-line): Mark unused parameters.
14556 (prolog-indent-line): Remove unused variable `beg'.
14557
14558 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14559 (reporter-dont-compact-list): Declare.
14560
14561 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14562 Remove unused variable `char'.
14563 (sh-debug): Mark unused parameter.
14564 (sh-get-indent-info): Remove unused variable `start'.
14565 (sh-calculate-indent): Remove unused variable `var'.
14566
14567 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14568 (simula-electric-keyword): Remove unused variable `null'.
14569 (simula-search-backward, simula-search-forward): Remove unused
14570 variables `begin' and `end'.
14571
14572 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14573 Remove unused variable `pos'.
14574 (vera-electric-tab, vera-comment-uncomment-region):
14575 Mark unused parameters.
14576 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14577
7ede3b65
CY
145782011-04-22 Chong Yidong <cyd@stupidchicken.com>
14579
14580 * emacs-lisp/package.el (package--builtins, package-alist)
14581 (package-load-descriptor, package-built-in-p, package-activate)
14582 (define-package, package-installed-p)
14583 (package-compute-transaction, package-buffer-info)
14584 (package--push): Doc fix. Distinguish more clearly between
14585 version strings and version lists.
14586
121656e9
JB
145872011-04-21 Juanma Barranquero <lekktu@gmail.com>
14588
14589 Lexical-binding cleanup.
14590
14591 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14592 (5x5-make-mutate-best):
14593 * play/fortune.el (fortune-in-buffer):
14594 * play/gomoku.el (gomoku-init-display):
14595 * play/solitaire.el (solitaire, solitaire-do-check):
14596 * play/tetris.el (tetris-default-update-speed-function):
14597 Mark unused parameters.
14598
14599 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14600 (bubbles--shift): Remove unused variable `char-org'.
14601 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14602 (bubbles--show-images): Remove unused variable `char'.
14603
14604 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14605 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14606 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14607 (decipher-analyze-buffer): Use ?\s.
14608 (decipher-make-checkpoint): Remove unused variable `mapping'.
14609
14610 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14611
14612 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14613 Remove unused variable `result'; use `let'.
14614
14615 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14616 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14617 (gametree-children-shown-p, gametree-compute-reduced-score):
14618 Use `ignore-errors'.
14619
14620 * play/handwrite.el (ps-lpr-switches): Declare.
14621 (handwrite): Remove unused variables `pmin' and `lastp'.
14622
14623 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14624
14625 * play/landmark.el (landmark-init-display)
14626 (landmark-update-naught-weights): Mark unused parameters.
14627 (landmark-y): Remove unused variable `noise'. Simplify.
14628 (landmark-human-plays): Remove unused variable `score'.
14629
14630 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14631 (mpuz-try-proposal): Remove unused variable `game'.
14632
14633 * play/zone.el (life-patterns): Declare.
14634
80f499c7
JB
146352011-04-20 Juanma Barranquero <lekktu@gmail.com>
14636
14637 * vc/vc.el (ediff-vc-internal): Declare function.
14638
024ff170
SM
146392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14640
c0a193ea
SM
14641 * shell.el: Use lexical-binding and std completion UI.
14642 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14643 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14644 comint-preoutput-filter-functions rather than on
14645 comint-output-filter-functions.
14646 (shell-command-completion, shell--command-completion-data)
14647 (shell-filename-completion, shell-environment-variable-completion)
14648 (shell-c-a-p-replace-by-expanded-directory): New functions.
14649 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14650 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14651 (shell-dynamic-complete-environment-variable): Use them.
14652 (shell-dynamic-complete-as-environment-variable)
14653 (shell-dynamic-complete-as-command): Remove.
14654 (shell-match-partial-variable): Match past point.
14655 * comint.el: Clean up use of completion-at-point-functions.
14656 (comint-completion-at-point): New function.
14657 (comint-mode): Use it completion-at-point-functions.
14658 (comint-dynamic-complete): Make it obsolete.
14659 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14660 (comint-c-a-p-replace-by-expanded-history): New function.
14661 (comint-dynamic-complete-functions)
14662 (comint-replace-by-expanded-history): Use it.
14663 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14664 termination strings. Try harder to avoid second try-completion.
14665 (completion-in-region-mode-map): Disable bindings that don't work yet.
14666
2dbaa080
SM
14667 * comint.el: Use lexical-binding. Require CL.
14668 (comint-dynamic-complete-functions): Use comint-filename-completion.
14669 (comint-completion-addsuffix): Tweak custom type.
14670 (comint-filename-completion, comint--common-suffix)
14671 (comint--common-quoted-suffix, comint--table-subvert)
14672 (comint--complete-file-name-data): New functions.
14673 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14674 (comint-dynamic-list-filename-completions): Use them.
14675 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14676
2dbaa080
SM
14677 * minibuffer.el (completion-in-region-mode):
14678 Keep completion-in-region-mode--predicate global.
14679 (completion-in-region--postch):
14680 Assume completion-in-region-mode--predicate is not null.
14681
c79a6f38
SM
14682 * progmodes/flymake.el (flymake-start-syntax-check-process):
14683 Obey `dir'. Simplify.
14684
024ff170
SM
14685 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14686 we're in VC after all.
14687
1c6c854e
CS
146882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14689
14690 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14691 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14692 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14693
bed7f140
SM
146942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14695
332e62ab
SM
14696 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14697 add sanity check.
14698
bed7f140
SM
14699 * obsolete/erc-hecomplete.el: Make obsolete.
14700 * obsolete/: Standardize obsolescence info in the header.
14701
f195c582
GM
147022011-04-20 Glenn Morris <rgm@gnu.org>
14703
14704 * calendar/solar.el (solar-horizontal-coordinates):
14705 Use the longitude argument rather than `calendar-longitude'.
14706 (solar-date-next-longitude): Remove unused locals.
14707
cb79b8c0
VJL
147082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14709
14710 * whitespace.el: New version 13.2.1.
14711
147122011-04-20 felix <EmacsWiki> (tiny change)
14713
d8e4b68b 14714 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14715 switching between major modes on a file.
14716
602ea69d
SM
147172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14718
14719 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14720 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14721 multi-line comments as well.
14722
06b60517
JB
147232011-04-19 Juanma Barranquero <lekktu@gmail.com>
14724
14725 Lexical-binding cleanup.
14726
14727 * arc-mode.el (archive-mode-revert):
14728 * cmuscheme.el (scheme-interactively-start-process):
14729 * custom.el (custom-initialize-delay):
14730 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14731 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14732 * emacs-lock.el (emacs-lock-clear-sentinel):
14733 * ezimage.el (defezimage):
14734 * follow.el (follow-avoid-tail-recenter):
14735 * fringe.el (set-fringe-mode-1):
14736 * generic-x.el (bat-generic-mode-compile):
14737 * help-mode.el (help-info-variable, help-do-xref)
14738 (help-mode-revert-buffer):
14739 * help.el (view-emacs-todo):
14740 * iswitchb.el (iswitchb-completion-help):
14741 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14742 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14743 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14744 * locate.el (locate-update):
14745 * longlines.el (longlines-encode-region)
14746 (longlines-after-change-function):
14747 * outline.el (outline-isearch-open-invisible):
14748 * ps-def.el (declare-function, charset-dimension, char-width)
14749 (encode-char):
14750 * ps-mule.el (ps-mule-plot-string):
14751 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14752 (recentf-edit-list-select, recentf-edit-list-validate)
14753 (recentf-open-files-action):
14754 * rect.el (delete-whitespace-rectangle-line)
14755 (rectangle-number-line-callback):
14756 * register.el (window-configuration-to-register)
14757 (frame-configuration-to-register):
14758 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14759 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14760 (xselect-convert-to-targets, xselect-convert-to-delete)
14761 (xselect-convert-to-filename, xselect-convert-to-charpos)
14762 (xselect-convert-to-lineno, xselect-convert-to-colno)
14763 (xselect-convert-to-os, xselect-convert-to-host)
14764 (xselect-convert-to-user, xselect-convert-to-class)
14765 (xselect-convert-to-name, xselect-convert-to-integer)
14766 (xselect-convert-to-atom, xselect-convert-to-identity):
14767 * subr.el (declare, ignore, process-kill-without-query)
14768 (text-clone-maintain):
14769 * terminal.el (te-get-char, te-tic-sentinel):
14770 * tool-bar.el (tool-bar-make-keymap):
14771 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14772 * type-break.el (type-break-mode, type-break-noninteractive-query):
14773 * view.el (View-back-to-mark):
14774 * wid-browse.el (widget-browse-action, widget-browse-widget)
14775 (widget-browse-widgets, widget-browse-sexp):
14776 * widget.el (define-widget-keywords):
14777 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14778 Mark unused parameters.
14779
14780 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14781 (align-areas): Remove unused variable `look'.
14782 (align-region): Remove unused variables `real-end' and `pos-list'.
14783
14784 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14785
14786 * bindings.el (mode-line-modified, mode-line-remote):
14787 Mark unused parameters.
14788 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14789
14790 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14791 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14792
14793 * comint.el (comint-history-isearch-pop-state)
14794 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14795 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14796 (comint-substitute-in-file-name): Doc fix.
14797
14798 * completion.el (cmpl-statistics-block): Mark unused parameter.
14799 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14800 (save-completions-to-file, load-completions-from-file):
14801 Remove unused local variable `e'.
14802
14803 * composite.el (compose-chars): Remove unused variable `len'.
14804 (lgstring-insert-glyph): Remove unused variable `g'.
14805 (compose-glyph-string): Remove unused variables `ascent',
14806 `descent', `lbearing' and `rbearing'.
14807 (compose-glyph-string-relative): Remove unused variables
14808 `lbearing', `rbearing' and `wadjust'.
14809 (compose-gstring-for-graphic): Remove unused variables `header',
14810 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14811 (compose-gstring-for-terminal): Remove unused variables `header'
14812 and `nchars'. Use `let', not `let*'.
14813
14814 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14815 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14816 (Custom-buffer-done, custom-buffer-create-internal)
14817 (custom-browse-visibility-action, custom-browse-group-tag-action)
14818 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14819 (widget-magic-mouse-down-action, custom-toggle-parent)
14820 (custom-add-parent-links, custom-toggle-hide-variable)
14821 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14822 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14823 (custom-face-menu-create, custom-variable-menu-create, get)
14824 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14825 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14826 (customize-apropos): Remove unused variable `tests'.
14827 (custom-group-value-create): Remove unused variable `hidden-p'.
14828 (sort-fold-case): Declare.
14829
14830 * cus-theme.el (custom-reset-standard-faces-list)
14831 (custom-reset-standard-variables-list): Declare.
14832 (customize-create-theme, custom-theme-revert, custom-theme-write)
14833 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14834 Mark unused parameters.
14835
14836 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14837
14838 * delim-col.el (delimit-columns-max): Move defvar before first use.
14839
14840 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14841 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14842
14843 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14844 (auto-insert): Declare.
14845 (desktop-restore-file-buffer): Rename desktop-* parameters;
14846 mark unused ones.
14847 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14848 (desktop-buffer): Rename desktop-* parameters.
14849
14850 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14851 (dframe-reposition-frame-xemacs, dframe-help-echo)
14852 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14853 Mark unused parameters.
14854
14855 * dired-aux.el (backup-extract-version-start, overwrite-query)
14856 (overwrite-backup-query, rename-regexp-query)
14857 (rename-non-directory-query): Declare.
14858 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14859 (dired-add-entry): Remove unused variable `orig-file-name'.
14860 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14861 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14862 `dired-copy-preserve-time' directly.
14863 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14864 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14865
14866 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14867 (dired-virtual-revert, dired-make-relative-symlink):
14868 Mark unused parameters.
14869 (manual-program): Declare.
14870 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14871 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14872 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14873
14874 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14875
14876 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14877
14878 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14879 Declare.
14880
14881 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14882
14883 * electric.el (Electric-command-loop): Rename parameter
14884 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14885
14886 * expand.el (expand-in-literal): Remove unused variable `here'.
14887
14888 * facemenu.el (facemenu-add-new-color):
14889 Remove unused variable `docstring'.
14890
14891 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14892 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14893 (face-attr-construct): Mark unused parameter. Doc fix.
14894 (read-color): Remove unused variable `hex-string'.
14895
14896 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14897 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14898 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14899 (display-buffer-other-frame): Remove unused variable `old-window'.
14900 (kill-buffer-hook): Declare.
14901 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14902 Mark unused parameters.
14903 (after-find-file): Pass 1 to `auto-save-mode', not t.
14904
14905 * files-x.el (auto-insert): Declare.
14906 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14907
14908 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14909 variable `buf'. Mark unused parameter.
06b60517
JB
14910 (find-lisp-insert-directory): Mark unused parameter.
14911
14912 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14913 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14914 (format-common-tail): Remove, unused.
14915 (format-deannotate-region): Remove unused variable `loc'.
14916 (format-annotate-region): Remove unused variable `p'.
14917 (format-annotate-single-property-change): Remove unused variables
14918 `default' and `tail'.
14919
14920 * forms.el (read-file-filter): Declare.
14921 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14922
14923 * frame.el (frame-creation-function-alist): Mark unused parameter.
14924 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14925
14926 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14927 Remove unused parameters.
14928 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14929 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14930
14931 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14932 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14933 (hfy-prepare-tag-map): Mark unused parameters.
14934 (htmlfontify-buffer): Use `called-interactively-p'.
14935
14936 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14937 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14938 (ibuffer-do-occur): Mark unused parameters.
14939 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14940 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14941
14942 * ibuffer.el: Don't quote `lambda'.
14943 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14944 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14945 Mark unused parameters.
14946
14947 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14948 (ido-completing-read): Mark unused parameters.
14949 (ido-copy-current-word): Mark unused parameters;
14950 remove unused variable `name'.
14951 (ido-sort-merged-list): Remove unused parameter `dirs'.
14952
14953 * ielm.el (ielm-input-sender): Mark unused parameter.
14954 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14955 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14956 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14957 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14958 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14959
14960 * image-dired.el (image-dired-display-thumbs): Remove unused
14961 variables `curr-file' and `count'.
14962 (image-dired-remove-tag): Remove unused variable `start'.
14963 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14964 variable `curr-file'
14965 (image-dired-rotate-original): Remove unused variable `temp-file'.
14966 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14967 Remove unused variable `file'.
14968 (image-dired-gallery-generate): Remove unused variable `curr'.
14969 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14970
14971 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14972
14973 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14974
14975 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14976
14977 * isearch.el (minibuffer-history-symbol): Declare.
14978 (isearch-edit-string): Remove unused variable `err'.
14979 (isearch-message-prefix, isearch-message-suffix):
14980 Mark unused parameters.
14981
14982 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14983
14984 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14985
14986 * makesum.el (double-column): Remove unused variable `cnt'.
14987
14988 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14989 (ido-ignore-item-temp-list): Declare.
14990
14991 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14992 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14993 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14994 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14995 `mouse-col-delta'.
14996
14997 * mouse-sel.el (mouse-extend-internal):
14998 Remove unused variable `orig-window-frame'.
14999
15000 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15001 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15002 Move declarations before first use.
15003 (pcomplete-opt): Mark unused parameters; doc fix.
15004
15005 * proced.el (proced-revert): Mark unused parameter.
15006 (proced-send-signal): Remove unused variable `err'.
15007
15008 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15009 Rename parameter PREFIX-ARG to ARG.
15010 (ps-basic-plot-string, ps-basic-plot-whitespace):
15011 Mark unused parameters.
15012
15013 * replace.el (replace-count): Define.
15014 (occur-revert-function): Mark unused parameters.
15015 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15016 (isearch-case-fold-search, isearch-string): Declare.
15017 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15018 bind `case-fold-search'. Remove unused variables `beg' and `end',
15019 and simplify.
15020 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15021 COUNT and bind `replace-count'.
15022 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15023 to COUNT.
15024
15025 * savehist.el (print-readably, print-string-length): Declare.
15026
15027 * shadowfile.el (shadow-expand-cluster-in-file-name):
15028 Remove unused variable `cluster'.
15029 (shadow-copy-file): Remove unused variable `i'.
15030 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15031 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15032 (shadow-define-literal-group, shadow-define-regexp-group)
15033 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15034
15035 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15036 (shell): Use `called-interactively-p'.
15037 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15038
15039 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15040 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15041 (delete-backward-char): Remove unused variable `ocol'.
15042 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15043 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15044 (event-apply-hyper-modifier, event-apply-shift-modifier)
15045 (event-apply-control-modifier, event-apply-meta-modifier):
15046 Mark unused parameters.
15047 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15048 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15049
15050 * speedbar.el (speedbar-ignored-directory-expressions)
15051 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15052 (speedbar-find-file, speedbar-dir-follow)
15053 (speedbar-directory-buttons-follow, speedbar-tag-find)
15054 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15055 (speedbar-buffers-line-directory, speedbar-buffer-click):
15056 Mark unused parameters.
15057 (speedbar-tag-file): Remove unused variable `mode'.
15058 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15059
15060 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15061
15062 * talk.el (talk): Remove unused variable `display'.
15063
15064 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15065 (tar-write-region-annotate): Mark unused parameter.
15066
15067 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15068 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15069 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15070 warning by another.
15071
15072 * time-stamp.el (time-stamp-string-preprocess):
15073 Remove unused variable `require-padding'.
15074
15075 * tree-widget.el (widget-glyph-enable): Declare.
15076 (tree-widget-action): Mark unused parameter.
15077
15078 * w32-fns.el (x-get-selection): Mark unused parameter.
15079 (autoload-make-program, generated-autoload-file): Declare.
15080
15081 * wdired.el (wdired-revert): Mark unused parameters.
15082 (wdired-xcase-word): Remove unused variable `err'.
15083
15084 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15085 (whitespace-help-scroll): Remove unused variable `data-help'.
15086
15087 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15088 (widget-image-insert, widget-after-change, default)
15089 (widget-default-format-handler, widget-default-notify)
15090 (widget-default-prompt-value, widget-info-link-action)
15091 (widget-url-link-action, widget-function-link-action)
15092 (widget-variable-link-action, widget-file-link-action)
15093 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15094 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15095 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15096 (widget-insert-button-action, widget-delete-button-action, visibility)
15097 (widget-documentation-link-action, widget-documentation-string-action)
15098 (widget-const-prompt-value, widget-regexp-match, symbol)
15099 (widget-coding-system-prompt-value)
15100 (widget-key-sequence-value-to-external, sexp)
15101 (widget-sexp-value-to-internal, character, vector, cons)
15102 (widget-choice-prompt-value, widget-boolean-prompt-value)
15103 (widget-color--choose-action): Mark unused parameters.
15104 (widget-item-match-inline, widget-choice-match-inline)
15105 (widget-checklist-match, widget-checklist-match-inline)
15106 (widget-group-match): Rename parameter VALUES to VALS.
15107 (widget-field-value-set): Remove unused variable `size'.
15108 (widget-color-action): Remove unused variables `value' and `start'.
15109
15110 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15111 variable `dir'. Doc fix.
06b60517
JB
15112 (windmove-find-other-window): Don't pass it.
15113
15114 * window.el (count-windows): Mark unused parameter.
15115 (bw-adjust-window): Remove unused variable `err'.
15116
15117 * woman.el (woman-file-name): Remove unused variable `default'.
15118 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15119 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15120 (global-font-lock-mode): Declare.
15121 (woman-decode-region): Mark unused parameter.
15122 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15123
15124 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15125 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15126 (x-dnd-handle-moz-url): Remove unused variable `title'.
15127 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15128
15129 * xml.el (xml-parse-tag, xml-parse-attlist):
15130 Remove unused variable `pos'.
15131
bc4f7f3d
GM
151322011-04-19 Glenn Morris <rgm@gnu.org>
15133
15134 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15135 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15136 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15137 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15138 * calendar/cal-html.el (cal-html-insert-minical):
15139 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15140 (calendar-mark-date-pattern):
15141 Prefix "unused" locals.
15142
15143 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15144 optional argument `style'.
15145
15146 * calendar/appt.el (appt-make-list):
15147 * calendar/cal-china.el (calendar-chinese-date-string):
15148 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15149 (diary-hebrew-yahrzeit):
15150 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15151 * calendar/calendar.el (calendar-generate-window):
15152 * calendar/time-date.el (time-to-days):
15153 Remove unused local variables.
15154
16a43933
CY
151552011-04-18 Chong Yidong <cyd@stupidchicken.com>
15156
15157 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15158 glyphless-char-display table.
15159 (tabulated-list-glyphless-char-display): New var.
15160
7eed1860
SS
151612011-04-18 Sam Steingold <sds@gnu.org>
15162
15163 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15164 to acknowledgments.
15165
4d2d1ccd
GM
151662011-04-17 Glenn Morris <rgm@gnu.org>
15167
15168 * calendar/diary-lib.el (diary-sexp-entry):
15169 * calendar/holidays.el (holiday-sexp):
15170 Set debug-on-error rather than the removed stack-trace-on-error.
15171
239da61d
GM
151722011-04-16 Glenn Morris <rgm@gnu.org>
15173
15174 * progmodes/f90.el: Use lexical-binding.
15175 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15176
8b05752a
SM
151772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15178
daca8ba5
SM
15179 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15180 (mail-mode): Setup mailalias completion here instead.
15181 * mail/mailalias.el: Use lexical-binding.
15182 (pattern, mailalias-done): Declare dynamic.
15183 (mail-completion-at-point-function): New function, from mail-complete.
15184 (mail-complete): Use it.
15185 (mail-completion-expand): New function.
15186 (mail-get-names): Use it.
15187 (mail-directory, mail-directory-process, mail-directory-stream):
15188 Don't use `pattern' for lexically bound arg.
15189
6f542485
SM
15190 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15191
037e7c3f
SM
15192 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15193 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15194 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15195
8b05752a
SM
15196 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15197 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15198 (byte-interactive-p): Define them again, for use when inlining
15199 old code.
15200
49093f60
JB
152012011-04-15 Juanma Barranquero <lekktu@gmail.com>
15202
15203 * loadup.el: Use `string-to-number', not `string-to-int'.
15204
b5b8e7de
SM
152052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15206
15207 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15208 gud-gdb-complete-command.
15209 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15210 (gud-gdb-completion-at-point): New function.
15211 (gud-gdb-completions): Remove.
15212
f42efeb5
MA
152132011-04-14 Michael Albinus <michael.albinus@gmx.de>
15214
49093f60
JB
15215 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15216 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15217 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15218 whether `executable-find' is bound.
f42efeb5
MA
15219
15220 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15221
e240cc21
SM
152222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15223
15224 * minibuffer.el (completion-in-region-mode-predicate)
15225 (completion-in-region-mode--predicate): New vars.
15226 (completion-in-region, completion-in-region--postch)
15227 (completion-in-region-mode): Use them.
15228 (completion--capf-wrapper): Also return the hook function.
15229 (completion-at-point, completion-help-at-point):
15230 Adjust and provide a predicate.
c2bd2ab0
SM
15231
15232 Preserve arg names for advice of subr and lexical functions (bug#8457).
15233 * help-fns.el (help-function-arglist): Consolidate the subr and
15234 new-byte-code cases. Add argument `preserve-names' to extract names
15235 from the docstring when needed.
15236 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15237 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15238 (ad-arglist): Use help-function-arglist's new arg.
15239 (ad-definition-type): Use cond.
15240
c183f693
JB
152412011-04-13 Juanma Barranquero <lekktu@gmail.com>
15242
06641a47
JB
15243 * autorevert.el (auto-revert-handler):
15244 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15245 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15246 Don't quote lambda.
15247
c183f693
JB
15248 * image-mode.el (image-transform-set-scale):
15249 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15250
1e3b6001
G
152512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15252
15253 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15254 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15255 Upgrades via gnutls-cli are too slow to be done opportunistically.
15256
2d6af8dd
JB
152572011-04-12 Juanma Barranquero <lekktu@gmail.com>
15258
15259 * dframe.el (dframe-current-frame): Remove spurious quote.
15260
c0749a51
GM
152612011-04-12 Glenn Morris <rgm@gnu.org>
15262
088d0d61
GM
15263 * calendar/cal-tex.el (cal-tex-end-document):
15264 Try to automatically use latin1 input if needed.
15265
c0749a51
GM
15266 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15267 Don't try to cons a mark onto an empty element.
15268
5c90fde0
LL
152692011-04-11 Leo Liu <sdl.web@gmail.com>
15270
15271 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15272 buffers.
15273 (ido-kill-buffer-at-head): Support killing virtual buffers.
15274
369e974d
CY
152752011-04-10 Chong Yidong <cyd@stupidchicken.com>
15276
15277 * minibuffer.el (completion-show-inline-help): New var.
15278 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15279 (minibuffer-force-complete, minibuffer-complete-word):
15280 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15281
15282 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15283 to avoid interference from inline help (Bug#5849).
15284
37f1c930
LL
152852011-04-10 Leo Liu <sdl.web@gmail.com>
15286
099c39a4
JB
15287 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15288 Fix typo.
37f1c930 15289
a32d4040
CY
152902011-04-09 Chong Yidong <cyd@stupidchicken.com>
15291
15292 * image-mode.el (image-toggle-display-image): Signal an error if
15293 not in Image mode.
15294 (image-transform-mode, image-transform-resize)
15295 (image-transform-set-rotation): Doc fix.
daca8ba5 15296 (image-transform-set-resize): Delete.
a32d4040
CY
15297 (image-transform-set-scale, image-transform-fit-to-height)
15298 (image-transform-fit-to-width): Handle image-toggle-display-image
15299 and image-transform-resize directly.
15300
099c39a4 153012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15302
15303 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15304 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15305 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15306 (doc-view-mode-map): Add bindings for the new functions.
15307
099c39a4 153082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15309
4d61f28d 15310 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15311 Fix typo in docstring.
15312
3726838a
EZ
153132011-04-08 Eli Zaretskii <eliz@gnu.org>
15314
04f33f1e
EZ
15315 * files.el (file-size-human-readable): Produce one digit after
15316 decimal, like "ls -lh" does.
15317
15318 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15319 the file size representation.
15320
3726838a
EZ
15321 * simple.el (list-processes): If async subprocesses are not
15322 available, error out with a clear error message.
15323
cbb59342
CY
153242011-04-08 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * help.el (help-form-show): New function, to be called from C.
15327 Put help-form output in a buffer named differently than *Help*.
15328
e3971c44
EZ
153292011-04-08 Eli Zaretskii <eliz@gnu.org>
15330
15331 * files.el (file-size-human-readable): New function.
15332
15333 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15334 computing the representation inline. Don't require `cl'.
15335
12544bbe
GM
153362011-04-08 Glenn Morris <rgm@gnu.org>
15337
a1de6c6a
GM
15338 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15339
3c4671f4
GM
15340 * net/browse-url.el (browse-url-firefox):
15341 Test system-type, not system-configuration.
15342
b605679c
GM
15343 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15344 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15345 Use log-edit-empty-buffer-p. (Bug#7598)
15346
56442f0c
GM
15347 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15348 (rlogin-mode-map): Initialize in the defvar.
15349 (rlogin): Use ignore-errors.
15350
12544bbe
GM
15351 * replace.el (occur-mode-map): Some fixes for menu items.
15352
eb237b0f
AH
153532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15354
15355 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15356
7d668f2c
CY
153572011-04-06 Chong Yidong <cyd@stupidchicken.com>
15358
e67a13ab
CY
15359 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15360 issuing unused warnings.
15361
15362 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15363 macro directly.
15364
7d668f2c
CY
15365 * simple.el: Lisp reimplement of list-processes. Based on an
15366 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15367 (process-menu-mode): New major mode.
15368 (list-processes--refresh, list-processes):
15369 (process-menu-visit-buffer): New functions.
15370
15371 * files.el (save-buffers-kill-emacs): Don't assume any return
15372 value of list-processes, which is undocumented anyway.
15373
a83ec3c9
CY
153742011-04-06 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * emacs-lisp/tabulated-list.el: New file.
15377
e91a96fe
CY
15378 * emacs-lisp/package.el: Use Tabulated List mode.
15379 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15380 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15381 table format using Tabulated List mode variables.
15382 (package--push): New macro, replacing package-list-maybe-add.
15383 (package-menu--generate): Use package--push. Renamed from
15384 package--generate-package-list.
15385 (package-menu-refresh, list-packages): Use it.
daca8ba5 15386 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15387 Return insertion data instead of inserting it directly.
099c39a4
JB
15388 (package-menu-describe-package, package-menu-execute):
15389 Use tabulated-list-get-id.
e91a96fe
CY
15390 (package-menu-mark-delete, package-menu-mark-install)
15391 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15392 (package-menu-mark-obsolete-for-deletion):
15393 Use tabulated-list-put-tag.
e91a96fe
CY
15394 (package--list-packages, package-menu-revert)
15395 (package-menu-get-package, package-menu-get-version)
15396 (package-menu-sort-by-column): Functions deleted.
15397 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15398 (package-menu--status-predicate, package-menu--version-predicate)
15399 (package-menu--name-predicate)
15400 (package-menu--description-predicate): Handle arguments in the
15401 Tabulated List format.
15402 (package-list-packages-no-fetch): Call list-packages.
15403
3e214b50
JB
154042011-04-06 Juanma Barranquero <lekktu@gmail.com>
15405
15406 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15407 (after-find-file): Don't bind it.
3e214b50
JB
15408 (revert-buffer-in-progress-p): New variable.
15409 (revert-buffer): Bind it.
15410 Pass nil for `after-find-file-from-revert-buffer'.
15411
15412 * saveplace.el (save-place-find-file-hook): Use new variable
15413 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15414
3f0f1700
GM
154152011-04-06 Glenn Morris <rgm@gnu.org>
15416
c0274801
GM
15417 * Makefile.in (AUTOGEN_VCS): New variable.
15418 (autoloads): Use $AUTOGEN_VCS.
15419
3f0f1700
GM
15420 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15421 * calendar/calendar.el (calendar-mode-map):
15422 Check for toolkit scroll bars. (Bug#8305)
15423
41ea9e48
CY
154242011-04-05 Chong Yidong <cyd@stupidchicken.com>
15425
15426 * minibuffer.el (completion-in-region--postch)
15427 (completion-in-region-mode): Remove unnecessary messages.
15428
6194c800
JB
154292011-04-05 Juanma Barranquero <lekktu@gmail.com>
15430
33256f14
JB
15431 * font-lock.el (font-lock-refresh-defaults):
15432 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15433 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15434
6194c800
JB
15435 * info.el (Info-directory-list, Info-read-node-name-2)
15436 (Info-split-parameter-string): Doc fixes.
15437 (Info-virtual-nodes): Reflow docstring.
15438 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15439 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15440 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15441 Fix typos in docstrings.
15442 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15443 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15444 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15445 (Info-restore-desktop-buffer): Mark unused parameters.
15446 (Info-directory-find-file, Info-directory-find-node)
15447 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15448 (Info-virtual-index-find-node, Info-apropos-find-file)
15449 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15450 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15451 (Info-virtual-index): Remove unused local variable `nodename'.
15452
b87a8200 154532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15454
b87a8200
DD
15455 * net/rcirc.el: Update my e-mail address.
15456 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15457
3b2ff876
CY
154582011-04-05 Chong Yidong <cyd@stupidchicken.com>
15459
15460 * startup.el (command-line): Save the cursor's theme-face
15461 directly, instead of using face-override-spec.
15462
15463 * custom.el (load-theme): Minor optimization in assigning faces.
15464
8d17e7ca
JB
154652011-04-04 Juanma Barranquero <lekktu@gmail.com>
15466
15467 * help-fns.el (describe-variable): Complete all variables having
15468 documentation, including keywords.
15469 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15470
2fbc1934
JB
154712011-04-04 Juanma Barranquero <lekktu@gmail.com>
15472
15473 Convert to lexical-binding.
15474
15475 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15476 (bs--get-marked-string, bs--get-modified-string)
15477 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15478 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15479 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15480
15481 * ehelp.el (electric-help-execute-extended)
15482 (electric-help-ctrl-x-prefix):
15483 * hexl.el (hexl-revert-buffer-function):
15484 * linum.el (linum-after-change, linum-after-scroll):
15485 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15486
15487 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15488
74f50695
DU
154892011-04-04 Daiki Ueno <ueno@unixuser.org>
15490
15491 * epa-dired.el:
15492 * epa-mail.el:
15493 * epa-hook.el:
15494 * epa-file.el:
15495 * epa.el:
15496 * epg.el: Use lexical binding.
15497
c11325f7
CY
154982011-04-03 Chong Yidong <cyd@stupidchicken.com>
15499
0d9e9a12
CY
15500 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15501
c11325f7 15502 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15503 dictionary case for flyspell-mark-duplications-exceptions.
15504 Use regexp matching for languages.
c11325f7
CY
15505 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15506 default dictionary (Bug#7926).
15507
da91b5f2
CY
155082011-04-02 Chong Yidong <cyd@stupidchicken.com>
15509
099c39a4
JB
15510 * emacs-lisp/package.el (package--with-work-buffer):
15511 Recognize https URLs.
da91b5f2 15512
099c39a4
JB
15513 * net/network-stream.el: Move from gnus/proto-stream.el.
15514 Change prefix to network-stream throughout.
da91b5f2
CY
15515 (open-protocol-stream): Merge into open-network-stream, leaving
15516 open-protocol-stream as an alias. Handle nil BUFFER args.
15517
15518 * subr.el (open-network-stream): Move to net/network-stream.el.
15519
afa8e9f6
GM
155202011-04-02 Glenn Morris <rgm@gnu.org>
15521
1d2e369d
GM
15522 * find-dired.el (find-exec-terminator): New option.
15523 (find-ls-option): Test for -ls support.
15524 (find-ls-subdir-switches): Test for -b in find-ls-option.
15525 (find-dired, find-grep-dired): Doc fixes.
15526 (find-dired): Use find-exec-terminator.
15527
8abb7da8 15528 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15529 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15530 (find-name-arg): Remove purecopy.
8abb7da8 15531
f3ca7378
GM
15532 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15533 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15534 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15535 accordingly. Don't add the null-device if not needed.
15536
afa8e9f6
GM
15537 * files.el (save-some-buffers): Doc fix.
15538
35eae264
EZ
155392011-04-02 Eli Zaretskii <eliz@gnu.org>
15540
15541 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15542
26b51db5
JB
155432011-04-01 Juanma Barranquero <lekktu@gmail.com>
15544
15545 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15546 Use `dolist' rather than `mapcar'.
15547
7200d79c
SM
155482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15549
03408648 15550 Add lexical binding.
7200d79c 15551
03408648
SM
15552 * subr.el (apply-partially): Use new closures rather than CL.
15553 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15554 (dolist, dotimes): Use slightly different expansion for lexical code.
15555 (functionp): Move to C.
15556 (letrec): New macro.
15557 (with-wrapper-hook): Use it and apply-partially instead of CL.
15558 (eval-after-load): Preserve lexical-binding.
15559 (save-window-excursion, with-output-to-temp-buffer): Turn them
15560 into macros.
7200d79c 15561
03408648
SM
15562 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15563
15564 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15565 than the arglist.
15566 (help-add-fundoc-usage): Don't add `Not documented'.
15567 (help-function-arglist): Handle closures, subroutines, and new
15568 byte-code-functions.
15569 (help-make-usage): Remove leading underscores.
15570 (describe-function-1): Handle closures.
15571 (describe-variable): Use special-variable-p for completion.
15572
15573 * files.el (lexical-binding): Declare safe.
f488fb65 15574
03408648
SM
15575 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15576 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15577 (pcase): Add `let' pattern.
15578 Change memoization so it actually works.
15579 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15580 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15581 <let>: New case.
f488fb65 15582
03408648
SM
15583 * emacs-lisp/macroexp.el: Use lexical binding.
15584 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15585 Don't convert ' to #' without checking that it's indeed quoting
15586 a lambda.
15587
15588 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15589 Use eval-sexp-add-defvars.
03408648
SM
15590 (eval-sexp-add-defvars): New fun.
15591
15592 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15593
15594 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15595 Don't autoload.
15596 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15597 than the internal `byte-compile-lambda'.
15598 (defmethod): Don't hide code under quotes.
15599 (eieio-defmethod): New `code' argument.
15600
15601 * emacs-lisp/eieio-comp.el: Remove.
15602
15603 * emacs-lisp/edebug.el (edebug-eval-defun)
15604 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15605 (edebug-toggle): Avoid `eval'.
15606
15607 * emacs-lisp/disass.el (disassemble-internal): Handle new
15608 `closure' objects.
15609 (disassemble-1): Handle new byte codes.
15610
15611 * emacs-lisp/cl.el (pushnew): Silence warning.
15612
15613 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15614 (cl-byte-compile-throw): Remove.
15615 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15616
15617 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15618 closures.
15619
15620 * emacs-lisp/cconv.el: New file.
15621
15622 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15623 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15624 (byte-compile-initial-macro-environment):
15625 Handle declare-function here.
15626 (byte-compile--lexical-environment): New var.
15627 (byte-stack-ref, byte-stack-set, byte-discardN)
15628 (byte-discardN-preserve-tos): New lap codes.
15629 (byte-interactive-p): Don't use any more.
15630 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15631 New macros.
15632 (byte-compile-lapcode): Use them and handle new lap codes.
15633 (byte-compile-obsolete): Remove.
15634 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15635 (byte-compile-arglist-warn): Check late def of inlinable funs.
15636 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15637 since they should have been expanded by now.
15638 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15639 (byte-compile-from-buffer): Remove unused second arg.
15640 (byte-compile-preprocess): New function.
15641 (byte-compile-toplevel-file-form): New function to distinguish
15642 file-form calls from outside from file-form calls from hunk-handlers.
15643 (byte-compile-file-form): Simplify.
15644 (byte-compile-file-form-defsubst): Remove.
15645 (byte-compile-file-form-defmumble): Simplify now that
15646 byte-compile-lambda always returns a byte-code-function.
15647 (byte-compile): Preprocess.
15648 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15649 Remove, not used any more.
15650 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15651 (byte-compile-make-args-desc): New funs.
15652 (byte-compile-lambda): Handle lexical functions. Always return
15653 a byte-code-function.
15654 (byte-compile-reserved-constants): New var, to make up room for
15655 closed-over variables.
15656 (byte-compile-constants-vector): Obey it.
15657 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15658 (byte-compile-macroexpand-declare-function): New function.
15659 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15660 byte-code-functions.
15661 (byte-compile-form): Check obsolescence here.
15662 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15663 (byte-compile-variable-ref): Remove.
15664 (byte-compile-dynamic-variable-op): New fun.
15665 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15666 (byte-compile-variable-set): New funs.
15667 (byte-compile-discard): Add 2 args.
15668 (byte-compile-stack-ref, byte-compile-stack-set)
15669 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15670 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15671 macroexpand-all instead.
15672 (byte-compile-quote-form): Remove.
15673 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15674 (byte-compile-bind, byte-compile-unbind): New funs.
15675 (byte-compile-let): Handle let* and lexical binding.
15676 (byte-compile-let*): Remove.
15677 (byte-compile-catch, byte-compile-unwind-protect)
15678 (byte-compile-track-mouse, byte-compile-condition-case):
15679 Handle a new :fun-body form, used for lexical scoping.
15680 (byte-compile-save-window-excursion)
15681 (byte-compile-with-output-to-temp-buffer): Remove.
15682 (byte-compile-defun): Simplify.
15683 (byte-compile-stack-adjustment): New fun.
15684 (byte-compile-out): Use it.
15685 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15686
15687 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15688 handler any more.
15689
15690 * emacs-lisp/byte-opt.el: Use lexical binding.
15691 (byte-inline-lapcode): Remove (to bytecomp).
15692 (byte-compile-inline-expand): Pay attention to inlining to/from
15693 lexically bound code.
15694 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15695 any more.
15696 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15697 any more and don't call compiler-macros.
15698 (byte-compile-splice-in-already-compiled-code): Remove.
15699 (byte-code): Don't inline any more.
15700 (disassemble-offset): Receive `bytes' as argument rather than via
15701 dynamic scoping.
15702 (byte-compile-tag-number): Declare before first use.
15703 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15704 `return' even if make-spliceable.
15705 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15706 obsolete interactive-p.
15707 (byte-optimize-lapcode): Optimize new lap-codes.
15708 Don't trip up on new form of `byte-constant' lap code.
15709
15710 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15711
15712 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15713
15714 * custom.el (custom-initialize-default, custom-declare-variable):
15715 Use `defvar'.
15716
15717 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15718 New variables.
15719 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15720 (COMPILE_FIRST): Add macroexp and cconv.
15721 * makefile.w32-in: Mirror changes in Makefile.in.
15722
15723 * vc/cvs-status.el:
15724 * vc/diff-mode.el:
15725 * vc/log-edit.el:
15726 * vc/log-view.el:
15727 * vc/smerge-mode.el:
15728 * textmodes/bibtex-style.el:
090bd7cb 15729 * textmodes/css-mode.el:
03408648
SM
15730 * startup.el:
15731 * uniquify.el:
da91b5f2
CY
15732 * minibuffer.el:
15733 * newcomment.el:
15734 * reveal.el:
15735 * server.el:
15736 * mpc.el:
15737 * emacs-lisp/smie.el:
15738 * doc-view.el:
15739 * dired.el:
03408648
SM
15740 * abbrev.el: Use lexical binding.
15741
0f0c1f27
EZ
157422011-04-01 Eli Zaretskii <eliz@gnu.org>
15743
15744 * info.el (info-display-manual): New function.
15745
c82b2579
SM
157462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15747
15748 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15749
221ddf68
TH
157502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15751
15752 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15753 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15754
cba6e77e
GM
157552011-03-31 Glenn Morris <rgm@gnu.org>
15756
e040639f
GM
15757 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15758
cba6e77e
GM
15759 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15760
6d0f1c9e
CS
157612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15762
15763 * progmodes/python.el (python-default-interpreter)
15764 (python-python-command-args, python-jython-command-args)
15765 (python-which-shell, python-which-args, python-which-bufname)
15766 (python-file-queue, python-comint-output-filter-function)
15767 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15768 variables and functions.
15769
3e2d70fd
SM
157702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15773 (completion-in-region-mode): New minor mode.
15774 (completion-in-region): Use it.
15775 (completion-in-region--data, completion-in-region-mode-map): New vars.
15776 (completion-in-region--postch): New function.
15777 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15778 New vars.
15779 (completion--capf-wrapper): New function.
15780 (completion-at-point): Use it to track well-behavedness of
15781 hook functions.
15782 (completion-help-at-point): New command.
15783
f3e4086c
JM
157842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15785
15786 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15787 syntax class to search for whitespace on a single line
15788 (Message-ID: <4D938140.4030905@redhat.com>).
15789
eb7ffc14
LL
157902011-03-30 Leo Liu <sdl.web@gmail.com>
15791
15792 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15793 New commands.
15794 (edit-abbrevs-map): Bind them here.
15795 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15796
d806ab68
KM
157972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15798
15799 * allout.el (allout-hide-by-annotation, allout-flag-region):
15800 Reduce possibility of overlay leakage by making them volatile.
15801
15802 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15803 hash is not shared between buffers. Mode initialization is
15804 responsible for giving it a useful starting value.
15805 (allout-item-span): Reduce possibility of overlay leakage by
15806 making them volatile.
15807 (allout-widgets-count-buttons-in-region): Add diagnostic function
15808 for tracking down button overlay leaks.
15809
ea622834
LL
158102011-03-29 Leo Liu <sdl.web@gmail.com>
15811
15812 * ido.el (ido-read-internal): Use the default history var
15813 minibuffer-history if no HISTORY is specified.
15814
b62f8267
G
158152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15816
03408648
SM
15817 * net/imap.el (imap-shell-open, imap-process-connection-type):
15818 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15819 Kerberos, SSL, other subprocesses.
15820
947b6566
LL
158212011-03-28 Leo Liu <sdl.web@gmail.com>
15822
15823 * abbrev.el (abbrev-table-empty-p): New function.
15824 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15825 nonempty ones. (Bug#5937)
15826
5ffb62aa
JD
158272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15828
15829 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15830
7a097943
LL
158312011-03-27 Leo Liu <sdl.web@gmail.com>
15832
15833 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15834 for foreground and background colors.
15835 (ansi-color-make-color-map): Adapt.
15836
c5b40130
LL
158372011-03-25 Leo Liu <sdl.web@gmail.com>
15838
1f48f7d2
LL
15839 * midnight.el (midnight-time-float): Remove. Note it calculates
15840 the microsecond component incorrectly and seconds-to-time does the
15841 same job.
625897ec 15842 Remove redundant (require 'timer).
1f48f7d2 15843
c5b40130
LL
15844 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15845 (ido-completions): Remove unused arguments. (Bug#8329)
15846
d86d2721
SM
158472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15848
15849 * minibuffer.el (completion--flush-all-sorted-completions):
15850 Remove itself from hook.
15851 (completion-at-point): Let the functions perform the completion
15852 immediately and return nil or t.
15853 * comint.el (comint-dynamic-complete-functions): Now identical to
15854 completion-at-point-functions.
15855 (comint-dynamic-list-input-ring): Remove unused var `index'.
15856 (comint--match-partial-filename, comint--unquote&expand-filename):
15857 New funs, split from comint-match-partial-filename.
15858 (comint-dynamic-complete): Use completion-at-point.
15859 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15860
e8974c48
DA
158612011-03-24 Drew Adams <drew.adams@oracle.com>
15862
15863 * thingatpt.el: Support `defun'.
15864
def71b5e
LL
158652011-03-23 Leo Liu <sdl.web@gmail.com>
15866
cb5af48e
LL
15867 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15868
def71b5e
LL
15869 * help-mode.el (help-mode-finish): Tweak regexp.
15870
927c53e7
GM
158712011-03-23 Glenn Morris <rgm@gnu.org>
15872
18d05bed
GM
15873 * eshell/esh-opt.el (eshell-eval-using-options):
15874 Do not bind unused local variable `eshell-option-stub'.
15875
927c53e7
GM
15876 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15877
9d0da923
JB
158782011-03-22 Juanma Barranquero <lekktu@gmail.com>
15879
15880 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15881 keymap variable in `with-no-warnings' to avoid a warning when the
15882 keymap has been already `defconst'ed.
15883
4b978a67
LL
158842011-03-22 Leo Liu <sdl.web@gmail.com>
15885
15886 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15887 encode all chars in abbrevs; otherwise use emacs-mule or
15888 utf-8-emacs. (Bug#8308)
15889
5fd62452
JB
158902011-03-22 Juanma Barranquero <lekktu@gmail.com>
15891
0b1596c6
JB
15892 * simple.el (backward-delete-char-untabify):
15893 Avoid warning about using `delete-backward-char'.
15894
5fd62452
JB
15895 * image.el (image-type-file-name-regexps): Make it variable.
15896 `imagemagick-register-types' modifies it, and the user may want
15897 to add new extensions for known image types.
15898 (imagemagick-register-types): Throw error if not using ImageMagick.
15899
0b4e93f1
LL
159002011-03-22 Leo Liu <sdl.web@gmail.com>
15901
15902 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15903 located before rcirc-prompt-end-marker.
15904 (rcirc-complete): Error if point is not after rcirc prompt.
15905 Handle the case when table is nil.
9882e214 15906 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15907
fccee4ab
CY
159082011-03-22 Chong Yidong <cyd@stupidchicken.com>
15909
15910 * custom.el (custom--inhibit-theme-enable): Make it affect only
15911 custom-theme-set-variables and custom-theme-set-faces.
15912 (provide-theme): Ignore custom--inhibit-theme-enable.
15913 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15914 (custom-enabling-themes): Delete variable.
d86d2721
SM
15915 (enable-theme): Accept only loaded themes as arguments.
15916 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15917 (custom-enabled-themes): Forbid themes from setting this.
15918 Eliminate use of custom-enabling-themes.
15919 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15920
af896da6
LL
159212011-03-21 Leo Liu <sdl.web@gmail.com>
15922
15923 * ido.el (ido-read-internal): Add ido-selected to history instead
15924 of user input.
15925
78f64af0
SM
159262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15927
15928 * subr.el (deferred-action-list, deferred-action-function):
15929 Mark obsolete.
15930
b16ac1ec
LL
159312011-03-21 Leo Liu <sdl.web@gmail.com>
15932
810f7698
LL
15933 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15934 change on 2011-02-13 (bug#8309).
15935
b16ac1ec
LL
15936 * minibuffer.el (read-file-name-function): Change default value.
15937 (read-file-name--defaults): Rename from read-file-name-defaults.
15938 (read-file-name-default): Rename from read-file-name.
15939 (read-file-name): Call read-file-name-function.
15940
4e05e67e
GM
159412011-03-21 Glenn Morris <rgm@gnu.org>
15942
15943 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15944 Doc fixes.
15945
4359915b
CY
159462011-03-21 Chong Yidong <cyd@stupidchicken.com>
15947
15948 * cus-theme.el: Add missing provide statement.
15949 (customize-create-theme): Extract theme value correctly.
15950 (custom-theme-visit-theme): Autoload.
15951 (customize-create-theme): Prompt before inserting default faces.
15952
1fe275ee
JB
159532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15954
15955 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15956 units and musical notes.
15957
cd394be1 159582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15959
15960 * ido.el (ido-read-internal): Use completing-read-default.
15961 (ido-completing-read): Fix compatibility with completing-read.
15962
7d476bde
CO
159632011-03-20 Christian Ohler <ohler@gnu.org>
15964
15965 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15966 (ert-delete-all-tests): Use `called-interactively-p' rather than
15967 `interactive-p'.
15968 (ert--make-xrefs-region): Respect END.
15969
fe0fb33e
CY
159702011-03-19 Chong Yidong <cyd@stupidchicken.com>
15971
ff854b0b
CY
15972 * dired-aux.el (dired-create-directory): Signal an error if the
15973 directory already exists (Bug#8246).
15974
fe0fb33e
CY
15975 * facemenu.el (list-colors-display): Call list-faces-display
15976 inside with-help-window.
15977 (list-colors-print): Use display property to align the final
15978 column, instead of checking window-width.
15979
576bce32
EZ
159802011-03-19 Eli Zaretskii <eliz@gnu.org>
15981
4d61f28d 15982 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15983 windows-nt systems.
15984 (emerge-protect-metachars): Quote correctly for ms-dos and
15985 windows-nt systems.
15986
89c41d68 159872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15988
15989 * info.el (info-initialize): Replace all uses of `:' with
15990 path-separator for compatibility with non-Unix systems.
15991 Cache quoting of path-separator. (Bug#8258)
15992
b14e3e21 159932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15994
15995 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15996 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15997 (mouse-avoidance-mode): Fix typos in docstrings.
15998
4525ce3e
CY
159992011-03-19 Chong Yidong <cyd@stupidchicken.com>
16000
16001 * startup.el (package-subdirectory-regexp): Move from package.el.
16002 Omit \\` and \\', and let callers add them.
16003
16004 * emacs-lisp/package.el (package-strip-version)
16005 (package-load-all-descriptors): Add \\` and \\' to
16006 package-subdirectory-regexp before using it.
16007 (package-untar-buffer): New arg DIR; ensure that file untars only
16008 into this expected directory. Remove superfluous delete-region.
16009 (package-unpack): Caller changed.
16010 (package-tar-file-info): Use package-subdirectory-regexp.
16011
a904a09a 160122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16013
a904a09a
SM
16014 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16015 diff-mode-shared-map (bug#8284).
16016 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16017
160182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16019
16020 * calendar/time-date.el (format-seconds): Use assoc instead of
16021 assoc-string, since assoc-string doesn't exist in XEmacs.
16022
171fc304
JB
160232011-03-17 Juanma Barranquero <lekktu@gmail.com>
16024
16025 * custom.el (custom-known-themes): Reflow docstring.
16026 (custom-theme-load-path): Fix typo in docstring.
16027 (load-theme): Fix typo in error message.
16028 (custom-available-themes, custom-variable-theme-value):
16029 Use `let', not `let*'.
16030
d71990a1
JB
160312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16032
16033 * calc/README: Mention inclusion of musical notes.
16034
16035 * calc/calc-units.el (calc-lu-quant): Rename from
16036 `calc-logunits-quantity'.
16037 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16038 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16039 (calc-db): Rename from `calc-dblevel'.
16040 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16041 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16042 (calc-np): Rename from `calc-nplevel'.
16043 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16044 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16045 (calc-lu-plus): Rename from `calc-logunits-add'.
16046 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16047 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16048 (calc-lu-minus): Rename from `calc-logunits-sub'.
16049 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16050 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16051 (calc-lu-times): Rename from `calc-logunits-mul'.
16052 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16053 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16054 (calc-lu-divide): Rename from `calc-logunits-div'.
16055 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16056 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16057
16058 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16059 functions being autoloaded.
16060
16061 * calc/calc.el (calc-lu-power-reference): Rename from
16062 `calc-logunits-power-reference'.
16063 (calc-lu-field-reference): Rename from
16064 `calc-logunits-field-reference'.
16065
7a71b18d
GM
16066 * calc/calc-help.el (calc-l-prefix-help):
16067 Mention musical note functions.
d71990a1 16068
40c2934b
SM
160692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * minibuffer.el (completion-all-sorted-completions):
16072 Use :completion-cycle-penalty text property if present.
16073
b0911414
KM
160742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16075
16076 * allout.el (allout-yank-processing): Adjust for new rebulleting
16077 regime so bullet being yanked is used without prompting the user
16078 for a choice.
16079
8a05b668
JB
160802011-03-16 Juanma Barranquero <lekktu@gmail.com>
16081
16082 * startup.el (command-line): Warn the user that _emacs is deprecated.
16083
5ba5fb81
JB
160842011-03-16 Juanma Barranquero <lekktu@gmail.com>
16085
16086 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16087 (delphi-verbose, delphi-comment-face, delphi-string-face)
16088 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16089 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16090 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16091 (delphi-new-comment-line, delphi-font-lock-defaults)
16092 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16093 Fix typos in docstrings.
16094
2dab465b
KM
160952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16096
5ba5fb81 16097 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16098 Invert the roles of character and string values for INSTEAD, so a
16099 string is used for the more common case of a defaulting prompt.
16100
0adf5618
SM
161012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16102
16103 * progmodes/ruby-mode.el (ruby-backward-sexp):
16104 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16105 * play/gamegrid.el (gamegrid-make-face):
16106 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16107 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16108 * notifications.el (notifications-notify):
16109 * net/xesam.el (xesam-search-engines):
16110 * net/quickurl.el (quickurl-list-insert):
16111 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16112
d72700e5
CY
161132011-03-15 Chong Yidong <cyd@stupidchicken.com>
16114
16115 * startup.el (command-line): Update package subdirectory regexp.
16116
49c5410a
SM
161172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16118
c6eee9aa
SM
16119 * allout.el (allout-abbreviate-flattened-numbering)
16120 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16121
49c5410a
SM
16122 * subr.el (read-char-choice): Only show the cursor after the prompt,
16123 not after the answer.
16124
047b2bb9
KR
161252011-03-15 Kevin Ryde <user42@zip.com.au>
16126
16127 * help-fns.el (variable-at-point): Skip leading quotes, if any
16128 (bug#8253).
16129
0a57d256
SM
161302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16131
16132 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16133 warning message.
16134
77c992bc
MA
161352011-03-14 Michael Albinus <michael.albinus@gmx.de>
16136
16137 * shell.el (shell): When called interactively, offer to change the
16138 shell file name on remote hosts.
16139
eebc475d
TZ
161402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16141
16142 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16143 integration for LDAP parameters. The host, base, user or binddn,
16144 and secret tokens can be specified in a netrc file, for instance.
16145 This is optional because an `auth-source' parameter must be
16146 specified in the search attributes.
16147
9d05d1ba
JB
161482011-03-13 Juanma Barranquero <lekktu@gmail.com>
16149
16150 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16151
09d9db2c
GM
161522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16155 into declaration. Remove redundant and harmful binding.
16156
161572011-03-12 Eli Zaretskii <eliz@gnu.org>
16158
16159 * files.el (file-ownership-preserved-p): Pass `integer' as an
16160 explicit 2nd argument to `file-attributes'. If the file's owner
16161 is the Administrators group on Windows, and the current user is
16162 Administrator, consider that a match.
16163
16164 * server.el (server-ensure-safe-dir): Consider server directory
16165 safe on MS-Windows if its owner is the Administrators group while
16166 the current Emacs user is Administrator. Use `=' to compare
16167 numerical UIDs, since they could be integers or floats.
16168
219bd536
JB
161692011-03-12 Juanma Barranquero <lekktu@gmail.com>
16170
16171 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16172
f3afd36b
MA
161732011-03-12 Michael Albinus <michael.albinus@gmx.de>
16174
16175 Sync with Tramp 2.2.1.
16176
16177 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16178
16179 * net/trampver.el: Update release number.
16180
3aaaa6f1
SM
161812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16182
94642599
SM
16183 * progmodes/compile.el (compilation--previous-directory): Fix up
16184 various nil/dead-marker mismatches (bug#8014).
16185 (compilation-directory-properties, compilation-error-properties):
16186 Don't call it at a position past the one we're about to change.
16187
3aaaa6f1
SM
16188 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16189 Disable obsolescence warnings in the file that declares it.
16190
14239447
KM
161912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16192
099c39a4
JB
16193 * allout-widgets.el (allout-widgets-tally):
16194 Initialize allout-widgets-tally as a hash table rather than nil to
16195 prevent mode-line redisplay warnings. Also, clarify the module
16196 description and fix a comment typo.
14239447 16197
135e287c
JB
161982011-03-11 Juanma Barranquero <lekktu@gmail.com>
16199
16200 * help-fns.el (describe-variable): Don't complete keywords.
16201 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16202
ffbf300e
CY
162032011-03-10 Chong Yidong <cyd@stupidchicken.com>
16204
ba08b241
CY
16205 * emacs-lisp/package.el (package-version-join): Impose a standard
16206 string representation for pre/alpha/beta version lists.
16207 (package-unpack-single): Standardize the directory name by passing
16208 it through package-version-join.
16209 (package-strip-rcs-id): Accept any version string that does not
16210 signal an error in version-to-list.
ffbf300e 16211
f346fd6b
MA
162122011-03-10 Michael Albinus <michael.albinus@gmx.de>
16213
16214 * simple.el (delete-trailing-whitespace): Return nil for the
16215 benefit of `write-file-functions'.
16216
ccb55d27
GM
162172011-03-10 Glenn Morris <rgm@gnu.org>
16218
5ceaac0c
GM
16219 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16220
02da65ff
GM
16221 * vc/vc-git.el (vc-git-program): New option.
16222 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16223 (vc-git--call): Use it.
16224
b2f603cc
GM
16225 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16226
5772caab
GM
16227 * cus-edit.el (Custom-newline): If no button at point, look
16228 for a subgroup button at start-of-line. (Bug#2298)
16229
ccb55d27
GM
16230 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16231
ec6ecaed
JD
162322011-03-10 Julien Danjou <julien@danjou.info>
16233
16234 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16235 `cursor-type' is nil.
16236
9d5aa01d
JB
162372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16238
16239 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16240
b6a5875b
KM
162412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16242
7a71b18d 16243 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16244 preserves the existing header prefix, rebulleting it if necessary,
16245 rather than replacing it. This is necessary for proper operation
16246 of cooperative addons like allout-widgets.
1154d12e
JB
16247 (allout-make-topic-prefix, allout-rebullet-heading):
16248 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16249 value as alternate bullet to be used, instead of prompting the user
16250 for a bullet character.
b6a5875b 16251
ee545c35
MA
162522011-03-09 Michael Albinus <michael.albinus@gmx.de>
16253
d86d2721
SM
16254 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16255 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16256 `tramp-default-port'.
16257
c47971d7
DD
162582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16259
16260 * net/rcirc.el (rcirc-handler-001): Remove useless
16261 with-rcirc-process-buffer.
16262 (rcirc-check-auth-status): Swap arguments to string-match.
16263
13522cb4
GM
162642011-03-09 Glenn Morris <rgm@gnu.org>
16265
0be6f4f1
GM
16266 * shell.el (shell-mode):
16267 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16268
13522cb4
GM
16269 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16270 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16271
515de2e3
CY
162722011-03-08 Chong Yidong <cyd@stupidchicken.com>
16273
16274 * emacs-lisp/package.el (package-refresh-contents)
16275 (package-menu-execute): Use condition-case-no-debug.
16276
b511b994
MA
162772011-03-08 Michael Albinus <michael.albinus@gmx.de>
16278
16279 * simple.el (shell-command-to-string): Use `process-file'.
16280
16281 * emacs-lisp/package.el (package-tar-file-info): Handle also
16282 remote files.
16283
d86d2721
SM
16284 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16285 Use `equal' for upload base check.
b511b994 16286
25bbfb31
AM
162872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16288
16289 * textmodes/texinfo.el (texinfo-environments):
16290 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16291
be996521
GM
162922011-03-08 Glenn Morris <rgm@gnu.org>
16293
e9c8529f
GM
16294 * cus-start.el (cursor-in-non-selected-windows):
16295 Fix :set quoting oddness. (Bug#8192)
16296
be996521
GM
16297 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16298 in some setf expressions. (Bug#2159)
16299
2bb5649e
CY
163002011-03-08 Chong Yidong <cyd@stupidchicken.com>
16301
16302 * custom.el (custom-available-themes): Return themes in
16303 alphabetical order.
16304
33383987 16305See ChangeLog.15 for earlier changes.
e3d51b27
MR
16306
16307;; Local Variables:
16308;; coding: utf-8
e3d51b27
MR
16309;; End:
16310
acaf905b 16311 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16312
16313 This file is part of GNU Emacs.
16314
16315 GNU Emacs is free software: you can redistribute it and/or modify
16316 it under the terms of the GNU General Public License as published by
16317 the Free Software Foundation, either version 3 of the License, or
16318 (at your option) any later version.
16319
16320 GNU Emacs is distributed in the hope that it will be useful,
16321 but WITHOUT ANY WARRANTY; without even the implied warranty of
16322 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16323 GNU General Public License for more details.
16324
16325 You should have received a copy of the GNU General Public License
16326 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.