Avoid calls to strlen in font processing functions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8477cc7a
MA
12012-07-10 Michael Albinus <michael.albinus@gmx.de>
2
3 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4 command, just in case. The function is not needed anymore.
5 (eshell-external-command): Do not call `eshell-remote-command'.
6
19faa8e8
SM
72012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8
f58e0fd5
SM
9 Reduce use of (require 'cl).
10 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
12 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
13 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
14 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
15 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
16 * battery.el, avoid.el, abbrev.el: Use cl-lib.
17 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
18 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
19 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
20 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
21 * calculator.el, autorevert.el, apropos.el: Don't require CL.
22 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
23 (byte-compile-unfold-bcf, byte-compile-check-variable):
24 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
25 (byte-compile-nilconstp):
26 * emacs-lisp/autoload.el (make-autoload): Use pcase.
27 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
28
2519d43a
SM
29 * emacs-lisp/gv.el (cond): Make it a valid place.
30 (if): Simplify slightly.
31
19faa8e8
SM
32 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
33 (pcase--self-quoting-p): New function.
34 (pcase--u1): Use it.
35
c4907a5e
GM
362012-07-10 Glenn Morris <rgm@gnu.org>
37
38 * emacs-lisp/authors.el (authors-fixed-entries):
39 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
40
c4444d16
PE
412012-07-09 Paul Eggert <eggert@cs.ucla.edu>
42
43 Rename configure.in to configure.ac (Bug#11603).
44 * emacs-lisp/authors.el (authors-canonical-file-name):
45 * progmodes/autoconf.el (autoconf-mode):
46 Prefer configure.ac to configure.in.
47
d75be97d
CY
482012-07-08 Chong Yidong <cyd@gnu.org>
49
01ac65bd
CY
50 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
51 Implement the mouse-1-click-follows-link handling properly.
52
53 * info.el (Info-link-keymap): Use follow-link mechanism for
54 header-line links (Bug#374).
55
d75be97d
CY
56 * simple.el (deactivate-mark): Do not set the primary selection
57 if another program has acquired it (Bug#11772).
58
87a92845 592012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
60
61 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
62 (woman-decode-region): Replace escaped-escapes without destroying
63 bold or underline (Bug#11552).
87a92845 64 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 65
621b9d6c
CY
662012-07-07 Chong Yidong <cyd@gnu.org>
67
68 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
69 (interprogram-cut-function, interprogram-paste-function):
70 Mention that we typically mean the clipboard.
621b9d6c 71
133a11fc
GM
722012-07-06 Glenn Morris <rgm@gnu.org>
73
0d27a45e
GM
74 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
75
133a11fc
GM
76 * files.el (toggle-read-only): Restrict message to interactive use.
77
07b151f1
MA
782012-07-06 Michael Albinus <michael.albinus@gmx.de>
79
80 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
81
82 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
83
211b896b
GM
842012-07-06 Glenn Morris <rgm@gnu.org>
85
50394322
GM
86 * Makefile.in (compile-one-process): Rename from "recompile".
87
211b896b
GM
88 * Makefile.in (bzr-update): "compile" is the same as "recompile
89 autoloads", but parallelizable, so use that instead.
90
4737eec9
DG
912012-07-06 Dmitry Gutov <dgutov@yandex.ru>
92
93 * window.el (quit-window): Always restore window height when
94 it's saved in quit-restore parameter.
95
226c3633 962012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
97
98 * simple.el (kill-whole-line): Doc tweak.
99
226c3633 1002012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
101
102 * files.el (file-relative-name): Compare file names
103 case-insensitively if on MS-Windows or MS-DOS, or if
104 read-file-name-completion-ignore-case is non-nil. Don't use
105 case-fold-search for this purpose. (Bug#11827)
106
226c3633 1072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 108
19faa8e8
SM
109 * calendar/cal-dst.el (calendar-current-time-zone):
110 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 111
60198fc9
GM
1122012-07-06 Glenn Morris <rgm@gnu.org>
113
114 * Makefile.in (cvs-update): Remove old alias.
115
957b3189
MA
1162012-07-05 Michael Albinus <michael.albinus@gmx.de>
117
118 Sync with Tramp 2.2.6-pre.
119
120 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
121 compatible declaration.
122
19faa8e8
SM
123 * net/tramp-cmds.el (tramp-append-tramp-buffers):
124 Protect `list-load-path-shadows' call.
957b3189
MA
125
126 * net/tramp-compat.el (top): Require packages, which aren't
127 autoloaded anymore for XEmacs. Protect call of
128 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
129 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
130 it hurts at least for SXEmacs.
131 (tramp-compat-temporary-file-directory): In XEmacs, there is no
132 standard-value for `temporary-file-directory'.
133
134 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
135 Redirect stderr to /dev/null.
136 (tramp-sh-handle-write-region): uid and gid can be floats.
137 Reported by Russell Sim <russell.sim@gmail.com>.
138 (tramp-sh-handle-vc-registered): Hide errors.
139 (tramp-vc-file-name-handler): Use dummy results for `process-file'
140 and `start-file-process'.
141 (tramp-maybe-open-connection): Check also whether `non-essential'
142 is bound.
143
566df3fc
CY
1442012-07-04 Chong Yidong <cyd@gnu.org>
145
146 * xml.el (xml--parse-buffer): Use xml-syntax-table.
147 (xml-parse-tag): Likewise, and avoid changing entity tables.
148 (xml-syntax-table): Define from scratch, making sure not to give
149 x2000 and other Unicode spaces whitespace syntax, since those are
150 not spaces in XML.
151 (xml-parse-fragment): Delete unused function.
152 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
153 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
154 (xml-entity-ref, xml-pe-reference-re)
155 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
156 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
157 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
158 (xml-entity-value-re): Use syntax references in regexps where
159 possible; no need to define inside a let-binding.
160 (xml-parse-dtd): Use xml-pe-reference-re.
161 (xml-entity-or-char-ref-re): New defconst.
162 (xml-parse-string, xml-substitute-special): Use it.
163
30eabd7a
SM
1642012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
165
0781098a
SM
166 * files.el (locate-dominating-file): Allow `name' to be a predicate.
167 (find-file--read-only): New function.
168 (find-file-read-only, find-file-read-only-other-window)
169 (find-file-read-only-other-frame): Use it.
170 (insert-file-contents-literally): Don't `fset'.
171 (get-free-disk-space): Use locate-dominating-file.
172
b5771c0d
SM
173 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
174 function is already compiled.
175
30eabd7a
SM
176 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
177
b4886f6e
MA
1782012-07-03 Michael Albinus <michael.albinus@gmx.de>
179
180 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
181 files on the same host.
182
b9d82339
AS
1832012-07-03 Andreas Schwab <schwab@linux-m68k.org>
184
185 * help-fns.el (describe-function-1): Only call
186 help-fns--autoloaded-p when we have a file name. (Bug#11848)
187
a76e6535
CY
1882012-07-03 Chong Yidong <cyd@gnu.org>
189
190 * xml.el: Protect parser against XML bombs.
191 (xml-entity-expansion-limit): New variable.
192 (xml-parse-string, xml-substitute-special): Use it.
193 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
194
b544fef2
GM
1952012-07-03 Glenn Morris <rgm@gnu.org>
196
197 * progmodes/bug-reference.el (bug-reference-bug-regexp):
198 Allow linking to specific messages in debbugs reports (eg 123#5).
199
a7aef6f5
CY
2002012-07-02 Chong Yidong <cyd@gnu.org>
201
202 * xml.el: Fix entity and character reference expansion, allowing
203 them to expand into markup as per XML spec.
204 (xml-default-ns): New variable.
205 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
206 (xml-parse-region): Make first two arguments optional.
207 Discard text properties.
208 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
209 All callers changed.
a7aef6f5
CY
210 (xml-parse-tag): Call xml-parse-tag-1. For backward
211 compatibility, this function should not modify buffer contents.
212 (xml-parse-tag-1): Fix opening-tag regexp.
213 (xml-parse-string): Rewrite, handling entity and character
214 references properly.
215 (xml--entity-replacement-text): Signal an error if a parameter
216 entity is undefined.
217
3df31c9f
SM
2182012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
219
2b5208f1
SM
220 * comint.el (comint-output-filter): Filter out repeated prompts.
221
3df31c9f
SM
222 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
223 and file-name-absolute-p.
224 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
225 internal calls.
226
e3ac1281
PE
2272012-07-02 Paul Eggert <eggert@cs.ucla.edu>
228
229 Spelling fixes.
230 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
231 Rename from byte-compile--refiy-function. All uses changed.
232
fbf2e7ad
CY
2332012-07-01 Chong Yidong <cyd@gnu.org>
234
235 * xml.el (xml--parse-buffer): New function. Move most of
236 xml-parse-region here.
237 (xml-parse-region): Copy region into a temporary buffer, since
238 parameter entity substitution requires changing buffer contents.
239 Use xml--parse-buffer.
240 (xml-parse-file): Use xml--parse-buffer.
241 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 242 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 243
9bf0aa15
GM
2442012-06-30 Glenn Morris <rgm@gnu.org>
245
bbce2853
GM
246 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
247
9bf0aa15
GM
248 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
249 Remove outdated and unnecessary dbus declarations.
250
0d23c240
EZ
2512012-06-30 Eli Zaretskii <eliz@gnu.org>
252
253 * emacs-lisp/timer.el (timer-until): Subtract results of
254 float-time, instead of taking float-time of the result of
255 time-subtract, since float-time signals an error for negative time
256 arguments.
257
b3218de1
CY
2582012-06-30 Chong Yidong <cyd@gnu.org>
259
260 * xml.el (xml-*-re): Convert defvars into defconsts, and
261 eval-and-compile them so eval-and-compile works on derivatives.
262 (xml--entity-replacement-text): Use eval-and-comple.
263
a40c87a0
MA
2642012-06-30 Michael Albinus <michael.albinus@gmx.de>
265
266 * vc/vc-git.el (vc-git-registered): Use cache property
267 `git-registered'.
268 (vc-git-mode-line-string): Call `vc-working-revision' instead of
269 `vc-git-working-revision' in order to benefit from the cache.
270 (vc-git-root): Use cache property `git-root'.
271
ac87de97
DG
2722012-06-30 Dmitry Gutov <dgutov@yandex.ru>
273
274 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
275 removed (likely outside Emacs).
276
ac10fe06
SM
2772012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
278
3df31c9f 279 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 280
7f3fbd5d
CY
2812012-06-30 Chong Yidong <cyd@gnu.org>
282
283 * xml.el: Implement XML parameter entities.
284 (xml-parameter-entity-alist): New variable.
285 (xml-parse-region, xml-parse-fragment): Preserve previous values
286 of xml-entity-alist and xml-parameter-entity-alist, so that
287 repeated calls on different documents do not change them.
288 (xml-parse-tag): Fix doctype regexp.
289 (xml--entity-replacement-text): New function.
290 (xml-parse-dtd): Use it. Don't handle system entities; doing that
291 properly requires url retrieval which is unimplemented.
292 (xml-escape-string): Doc fix.
293
3cfbebba
SM
2942012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
297
2af3565e
DA
2982012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
299
300 * fringe.el (fringe-mode): Doc fix.
301
929df0e7
MA
3022012-06-29 Michael Albinus <michael.albinus@gmx.de>
303
304 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
305 is non-nil.
306 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
307 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
308
c8d3a25c 3092012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 310
c8d3a25c
GM
311 * calendar/cal-dst.el (calendar-current-time-zone):
312 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 313
c8d3a25c 3142012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
315
316 * progmodes/which-func.el (which-func-format):
317 Add mouse-face. (Bug#11698)
318
c8d3a25c
GM
3192012-06-29 Leo Liu <sdl.web@gmail.com>
320
321 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
322
3232012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * minibuffer.el (minibuffer-confirm-exit-commands):
326 Add completion-at-point (bug#11725).
327
3282012-06-29 Glenn Morris <rgm@gnu.org>
329
330 * progmodes/f90.el (f90-font-lock-keywords-2):
331 Add some preprocessor elements. (Bug#10499)
332
3332012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * progmodes/cperl-mode.el (cperl-update-syntaxification):
336 Use syntax-propertize (bug#11739).
337
2badeec4
JB
3382012-06-28 Juanma Barranquero <lekktu@gmail.com>
339
340 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
341
ae4969c2
JD
3422012-06-28 Julien Danjou <julien@danjou.info>
343
344 * term.el (term-handle-colors-array): Use a set of new faces to
345 color the terminal. Also uses :inverse-video property.
346 (term-default-fg-color): Set to nil by default, deprecate in favor
347 of `term-face'.
348 (term-default-bg-color): Set to nil by default, deprecate in favor
349 of `term-face'.
350 (term-current-face): Use `term-face' by default.
351 (term-bold-attribute): Variable deleted.
352
1c9bd870
GM
3532012-06-28 Glenn Morris <rgm@gnu.org>
354
355 * simple.el (completion-list-mode-finish):
356 Don't use toggle-read-only. (Since completion-list-mode has
357 a special mode-class, it wasn't doing anything extra anyway.)
358
c207708c
SM
3592012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 Make inlining of other-mode interpreted functions work (bug#11799).
362 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
363 (byte-compile): Use it to fix compilation of lexical-binding closures.
364 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
365 function, if needed.
366
3fd56834
SM
3672012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
368
04901786
SM
369 * help-mode.el (help-make-xrefs): Don't just withstand
370 cyclic-variable-indirection but any error in documentation-property.
371
1ec4b7b2
SM
372 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
373 memory use.
374 * bindings.el (bindings--define-key): New function.
375 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
376 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
377 * bindings.el: Use it to purecopy define-key bindings.
378
e309e2a5
SM
379 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
380
d5c6faf9
SM
381 * emacs-lisp/cl.el (flet): Mark obsolete.
382 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
383 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
384 * progmodes/js.el (js-c-fill-paragraph):
385 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
386 (ebrowse-switch-member-buffer-to-derived-class):
387 * play/5x5.el (5x5-solver): Use cl-flet.
388
6e9590e2
SM
389 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
390 (cl--symbol-function): New macro.
391 (cl--letf, cl--letf*): Use it.
392
3fd56834
SM
393 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
394 Strip "toggle-" if any.
395
35ff222c
GM
3962012-06-27 Glenn Morris <rgm@gnu.org>
397
1ba6038a
GM
398 * info.el (Info-default-directory-list): Move here from paths.el.
399 * paths.el: Remove file, which is now empty.
400 * loadup.el: No longer load "paths".
401
0ea0e51b
GM
402 * custom.el (custom-initialize-delay): Doc fix.
403
35ff222c
GM
404 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
405 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
406 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
407 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
408 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
409 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
410 * eshell/eshell.el (eshell-defgroup): Remove alias.
411
c89926a5
CY
4122012-06-27 Chong Yidong <cyd@gnu.org>
413
414 * help.el (help-enable-auto-load): New variable.
415
416 * help-fns.el (help-fns--autoloaded-p): New function.
417 (describe-function-1): Refer to a function as "autoloaded" if it
418 was autoloaded at any time in the past. Perform autoloading if
419 help-enable-auto-load is non-nil.
420
cc06e7e7
EZ
4212012-06-26 Eli Zaretskii <eliz@gnu.org>
422
423 * makefile.w32-in (compile, compile-always): Depend on
424 update-subdirs, not on subdirs.el. Otherwise, several different
425 sub-targets of 'bootstrap' running in parallel could
426 simultaneously write to subdirs.el, producing a garbled file.
427
d2c32364
SS
4282012-06-26 Sam Steingold <sds@gnu.org>
429
430 * files.el (file-name-base): New convenience function.
0d14cc21
GM
431 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
432 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
433 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
434 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
435 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
436 * textmodes/tex-mode.el: Use it.
437 Did not touch cedet and org because they are maintained elsewhere.
438
5cf983b2
MR
4392012-06-26 Martin Rudalics <rudalics@gmx.at>
440
441 * calendar/calendar.el (calendar-exit): Don't try to delete or
442 iconify last frame. See:
443 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
444
8c4f2952
JD
4452012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
446
447 * server.el (server-process-filter): Remember dir in the
448 process's `server-client-directory' properties.
449
772b2e2c
CY
4502012-06-24 Chong Yidong <cyd@gnu.org>
451
452 * xml.el (xml-parse-tag): Correctly handle comment embedded in
453 non-tag text.
454
711b11e1
JB
4552012-06-23 Juanma Barranquero <lekktu@gmail.com>
456
457 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
458
dc5d230c
SM
4592012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * help-fns.el (describe-variable): Don't croak when doc is not found.
462 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
463 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
464 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
465 * emacs-lisp/smie.el (smie-next-sexp): CSE.
466 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
467 ((lambda ..) ..).
468 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
469
136e1c1d
CY
4702012-06-23 Chong Yidong <cyd@gnu.org>
471
e8c1cabf
CY
472 * info.el (Info-mouse-follow-link): Accept symbol values of
473 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
474 (Info-fontify-node): Use Info-link-keymap for all navigation
475 buttons, with link-args property to perform the desired action.
476 (Info-link-keymap): Doc fix.
477 (Info-next-link-keymap, Info-prev-link-keymap)
478 (Info-up-link-keymap): Delete now-unused keymaps.
479
0e9e6c6a
CY
4802012-06-23 Chong Yidong <cyd@gnu.org>
481
05e89fea
CY
482 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
483
0e9e6c6a
CY
484 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
485 system abbrevs.
486
487 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
488
e33c6771
SM
4892012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
490
b68581e2
SM
491 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
492 (bug#11719).
493
e33c6771
SM
494 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
495 the requote function doesn't work properly (bug#11714).
496
7117e105
GM
4972012-06-23 Glenn Morris <rgm@gnu.org>
498
499 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
500
36cec983
SM
5012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 Further GV/CL cleanups.
504 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
505 gv-expander.
506 (gv--defun-declaration): New function.
507 (defun-declarations-alist): Use it.
508 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
509 (gv-place): Autoload.
510 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
511 original definition of dotimes and dolist.
512 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
513 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
514 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
515 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
516 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
517 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
518 to the function's definition.
519 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
520 * window.el:
521 * files.el:
522 * faces.el:
523 * env.el: Don't use CL.
524
d35af63c
PE
5252012-06-22 Paul Eggert <eggert@cs.ucla.edu>
526
527 Support higher-resolution time stamps (Bug#9000).
528
529 * calendar/time-date.el (with-decoded-time-value): New arg
530 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
531 (encode-time-value): New optional arg PICO. New type 3.
532 (time-to-seconds) [!float-time]: Support the new picoseconds
533 component if it's used.
534 (seconds-to-time, time-subtract, time-add):
535 Support ps-resolution time stamps as well.
536
537 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
538 (timerp): Timer vectors now have length 9, not 8.
539 (timer--time): Support new-style (4-part) time stamps.
540 (timer-next-integral-multiple-of-time): Time stamps now have
541 picosecond resolution, so take a bit more care about rounding.
542 (timer-relative-time, timer-inc-time): New optional arg psecs.
543 (timer-set-time-with-usecs): Set psecs to 0.
544 (timer--activate): Check psecs component, too.
545
546 * proced.el (proced-time-lessp): Support ps-resolution stamps.
547
ac77b21a
SM
5482012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
549
f143bfe3
SM
550 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
551 Move the non-essential binding to the post/pre-command-hook where it is
552 more obviously correct.
553
ac77b21a
SM
554 * subr.el (read-passwd): Don't use a history at all.
555 * savehist.el (savehist-save): Remove password saved accidentally
556 because of the above bug.
557
76386c5a
BG
5582012-06-22 Bastien Guerry <bzg@gnu.org>
559
560 * files.el (toggle-read-only): Display a message telling whether
561 the buffer is read-only or not (bug#11726).
562
2ee3d7f0
SM
5632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * emacs-lisp/gv.el: New file.
566 * subr.el (push, pop): Extend to generalized variables.
567 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
568 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
569 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
570 gv-define-simple-setter, and gv-define-expander.
571 Remove setf-methods defined in gv. Rename cl-setf -> setf.
572 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
573 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
574 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
575 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
576 gv-letplace.
577 (cl-defstruct): Don't define setf-method any more.
578 * emacs-lisp/cl.el (flet): Don't autoload.
579 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
580 (define-setf-expander, defsetf, define-modify-macro)
581 (cl-struct-setf-expander): Move from cl-lib.el.
582 * emacs-lisp/syntax.el:
583 * emacs-lisp/ewoc.el:
584 * emacs-lisp/smie.el:
585 * emacs-lisp/cconv.el:
586 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
587 (timer--time): Use gv-define-simple-setter.
588 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
589 to avoid coding-system problems in subr.el. Adjust all users.
590 (macroexp--maxsize, macroexp-small-p): New functions.
591 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
592 * scroll-bar.el (scroll-bar-mode):
593 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
594 (normal-erase-is-backspace-mode): Don't use the `eq' place.
595 * winner.el (winner-configuration, winner-make-point-alist)
596 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
597 * files.el (locate-file-completion-table): Avoid list*.
598
c5695d1d
CY
5992012-06-22 Chong Yidong <cyd@gnu.org>
600
601 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
602 (dired-create-files): Doc fix (Bug#11329).
603 (dired-do-copy): Doc fix (Bug#11334).
604 (dired-mark-read-string): Doc fix (Bug#11553).
605
2ee3d7f0
SM
606 * dired.el (dired-recursive-copies, dired-recursive-deletes):
607 Doc fix (Bug#11326).
c5695d1d
CY
608 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
609 (dired-dwim-target): Doc fix.
610
611 * wdired.el (wdired-mode): Doc fix.
612
89b5595a
GM
6132012-06-22 Glenn Morris <rgm@gnu.org>
614
575db3f1
GM
615 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
616 (pcmpl-rpm-cache-stamp-file): New constant.
617 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
618 (pcmpl-rpm-packages): Optionally cache list of packages.
619
a4c8dd51
GM
620 * pcmpl-rpm.el (pcmpl-rpm): New group.
621 (pcmpl-rpm-query-options): New option.
622 (pcmpl-rpm-packages): No need to inline it.
623 Use pcmpl-rpm-query-options.
624
89b5595a
GM
625 * calendar/calendar.el (calendar-in-read-only-buffer):
626 Avoid some needless mode changes.
627
e76f0800
CY
6282012-06-21 Chong Yidong <cyd@gnu.org>
629
630 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
631 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 632 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 633
297a8f1d
CY
6342012-06-20 Chong Yidong <cyd@gnu.org>
635
636 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
637
d34c18b1
DR
6382012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
639
640 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
641 (bug#11201).
642
32f7f28e
CY
6432012-06-20 Chong Yidong <cyd@gnu.org>
644
645 * term.el (term-window-width): Handle the case of a missing right
646 fringe (Bug#8837).
647 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
648 (term-mode): Use define-derived-mode. Minor cleanups.
649 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
650 (term-move-columns, term-insert-char, term-emulate-terminal)
651 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 652
493c6688
MA
6532012-06-20 Michael Albinus <michael.albinus@gmx.de>
654
d34c18b1
DR
655 * net/ange-ftp.el (ange-ftp-get-passwd):
656 Bind `enable-recursive-minibuffers'.
493c6688
MA
657 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
658
3f06ecf4
DR
6592012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
660
661 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
662
68f12411
GM
6632012-06-19 Glenn Morris <rgm@gnu.org>
664
665 * progmodes/python.el (python-mode): Derive from prog-mode.
666
b3820318
KG
6672012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
668
669 * emulation/edt.el (edt-default-menu-bar-update-buffers)
670 (edt-user-menu-bar-update-buffers): New functions.
671 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
672
c6bf3022
CY
6732012-06-19 Chong Yidong <cyd@gnu.org>
674
675 * subr.el (with-selected-window): Preserve the selected window's
676 terminal's top-frame (Bug#4702).
677
678 * window.el (save-selected-window): Likewise.
679
25f09295
SM
6802012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * progmodes/python.el (python-rx-constituents): Move backquote.
683 (python-skeleton-define, python-define-auxiliary-skeleton):
684 Use `declare'.
685
6b11952a
MA
6862012-06-18 Michael Albinus <michael.albinus@gmx.de>
687
688 * minibuffer.el (read-file-name-default): Revert the patch from
689 2012-06-17.
690
ee4b1330
SM
6912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
694 (pcase--u1, pcase--q1): Don't use apply-partially.
695
35647f79
GM
6962012-06-18 Glenn Morris <rgm@gnu.org>
697
698 * progmodes/python.el (python-proc, python-buffer)
699 (python-send-receive, python-send-string): Fix obsolete versions.
700
24b0cff0
MR
7012012-06-18 Martin Rudalics <rudalics@gmx.at>
702
703 * window.el (special-display-p): Completely remove stringp
704 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
705
29855149
MA
7062012-06-17 Michael Albinus <michael.albinus@gmx.de>
707
708 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
709
710 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
711
712 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
713 * net/tramp-sh.el (tramp-maybe-open-connection):
714 Throw if `non-essential' is non-nil.
715
07463363
MR
7162012-06-17 Martin Rudalics <rudalics@gmx.at>
717
718 * window.el (special-display-p): Signal an error if BUFFER-NAME
719 is not a string (Bug#11713).
720
48d1354e
PE
7212012-06-17 Paul Eggert <eggert@cs.ucla.edu>
722
723 * progmodes/python.el (python-info-beginning-of-backslash):
724 Rename from python-info-beginning-of-backlash, as a spelling fix.
725
eb4a8a9a
CY
7262012-06-17 Chong Yidong <cyd@gnu.org>
727
728 * term.el (term-emulate-terminal): If term-check-size is called,
729 move point to the process mark without resetting point (Bug#4635).
730
ddfbf826 7312012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
732
733 * international/mule-cmds.el (mule-menu-keymap)
734 (set-language-environment, set-locale-environment): Doc tweaks.
735
9b0e3eba
AA
7362012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
737
738 * cus-face.el (custom-face-attributes): Add wave-style underline
739 attribute.
740 * faces.el (set-face-attribute): Update docstring to describe
741 wave-style underline attribute.
742
771e3eae
CY
7432012-06-16 Chong Yidong <cyd@gnu.org>
744
745 * term/xterm.el (terminal-init-xterm): Discard input before
746 querying background mode (Bug#10959).
747
7ae2ea10
SM
7482012-06-16 Stefan Merten <smerten@oekonux.de>
749
750 * textmodes/rst.el: Added and corrected some comments.
751 (rst-re-alist-def): Improve symbol syntax.
752 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
753 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
754 (rst-official-version, rst-official-cvs-rev): Update version
755 information.
7ae2ea10 756
b6974efa
JB
7572012-06-15 Juanma Barranquero <lekktu@gmail.com>
758
759 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
760 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
761
8826d473
GM
7622012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
763
764 * progmodes/python.el: New python.el merge.
765 (python-guess-indent): Obsolete var.
766 (python-indent-guess-indent-offset): New defcustom.
767 (python-indent): Obsolete var.
768 (python-indent-offset): New defcustom.
769 (python-python-command, python-jython-command): Delete var.
770 (python-shell-interpreter): New defcustom.
771 (python-pdbtrack-do-tracking-p): Delete var.
772 (python-pdbtrack-activate): New defcustom.
773 (python-use-skeletons): Obsolete var.
774 (python-skeleton-autoinsert): New defcustom.
775 (inferior-python-filter-regexp, python-continuation-offset)
776 (python-honour-comment-indentation, python-indent-string-contents)
777 (python-jython-packages, python-mode-hook)
778 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
779 (python-shell-prompt-alist)
780 (python-source-modes): Delete defcustoms.
781 (python-check-buffer-name, python-eldoc-setup-code)
782 (python-eldoc-string-code, python-ffap-setup-code)
783 (python-ffap-string-code, python-fill-comment-function)
784 (python-fill-decorator-function, python-fill-paren-function)
785 (python-fill-string-function, python-imenu-include-defun-type)
786 (python-imenu-make-tree, python-imenu-subtree-root-label)
787 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
788 (python-shell-compilation-regexp-alist)
789 (python-shell-completion-module-string-code)
790 (python-shell-completion-pdb-string-code)
791 (python-shell-completion-setup-code)
792 (python-shell-completion-string-code)
793 (python-shell-enable-font-lock, python-shell-exec-path)
794 (python-shell-extra-pythonpaths)
795 (python-shell-internal-buffer-name, python-shell-interpreter-args)
796 (python-shell-process-environment)
797 (python-shell-prompt-block-regexp)
798 (python-shell-prompt-output-regexp)
799 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
800 (python-shell-send-setup-max-wait, python-shell-setup-codes)
801 (python-shell-virtualenv-path): New defcustoms.
802 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
803 (inferior-python-mode-syntax-table, python--prompt-regexp)
804 (python-buffer, python-command python-python-command)
805 (python-default-template, python-imports, python-indent-index)
806 (python-indent-list, python-indent-list-length)
807 (python-mode-running, python-pdbtrack-is-tracking-p)
808 (python-preoutput-continuation, python-preoutput-leftover)
809 (python-preoutput-result, python-preoutput-skip-next-prompt)
810 (python-prev-dir/file, python-recursing)
811 (python-saved-check-command, python-version-checked)
812 (python-which-func-length-limit)
813 (view-return-to-alist): Delete vars.
814 (python-check-custom-command, python-dotty-syntax-table)
815 (python-imenu-index-alist, python-indent-current-level)
816 (python-indent-dedenters, python-indent-levels)
817 (python-nav-beginning-of-defun-regexp)
818 (python-nav-list-defun-positions-cache)
819 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
820 (python-shell-internal-buffer)
821 (python-skeleton-available): New vars.
822 (def-python-skeleton): Delete macro.
823 (python-skeleton-define): New macro.
824 (python-define-auxiliary-skeleton, python-rx): New macros.
825 (python-insert-class): Delete command.
826 (python-skeleton-class): New command.
827 (python-insert-def): Delete command.
828 (python-skeleton-def): New command.
829 (python-insert-for): Delete command.
830 (python-skeleton-for): New command.
831 (python-insert-if): Delete command.
832 (python-skeleton-if): New command.
833 (python-insert-try/except, python-insert-try/finally): Delete commands.
834 (python-skeleton-try): New command.
835 (python-insert-while): Delete command.
836 (python-skeleton-while): New command.
837 (python-backspace): Delete command.
838 (python-indent-dedent-line-backspace): New command.
839 (python-electric-colon): Delete command.
840 (python-indent-electric-colon): New command.
841 (python-guess-indent): Delete command.
842 (python-indent-guess-indent-offset): New command.
843 (python-shift-left): Delete command.
844 (python-indent-shift-left): New command.
845 (python-shift-right): Delete command.
846 (python-indent-shift-right): New command.
847 (python-find-function): Delete command.
848 (python-nav-jump-to-defun): New command.
849 (python-next-statement): Delete command.
850 (python-nav-forward-sentence): New command.
851 (python-previous-statement): Delete command.
852 (python-nav-backward-sentence): New command.
853 (python-fill-paragraph): Delete command.
854 (python-fill-paragraph-function): New command.
855 (python-send-buffer): Delete command.
856 (python-shell-send-buffer): New command.
857 (python-send-defun): Delete command.
858 (python-shell-send-defun): New command.
859 (python-send-region, python-send-region-and-go): Delete commands.
860 (python-shell-send-region)
861 (python-shell-switch-to-shell): New commands.
862 (python-send-string): Delete command.
863 (python-shell-send-string): New command.
864 (python-switch-to-python): Delete command.
865 (python-shell-switch-to-shell): New command.
866 (python-describe-symbol): Delete command.
867 (python-eldoc-at-point): New command.
868 (python--set-prompt-regexp, python-args-to-list)
869 (python-after-info-look, python-check-version)
870 (python-check-comint-prompt, python-find-imports)
871 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
872 (python-unload-function, python-expand-template)
873 (python-maybe-jython, python-preoutput-filter)
874 (python-pdbtrack-get-source-buffer)
875 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
876 (python-pdbtrack-toggle-stack-tracking)
877 (python-pdbtrack-track-stack-file, python-initial-text)
878 (python-first-word, python-comment-line-p, python-send-command)
879 (python-setup-brm, python-sentinel, python-set-proc)
880 (python-skip-out, python-input-filter, python-outdent-p)
881 (python-outline-level, python-backslash-continuation-line-p)
882 (python-end-of-block, python-end-of-statement, python-mark-block)
883 (python-beginning-of-block, python-beginning-of-statement)
884 (python-blank-line-p, python-beginning-of-string)
885 (python-open-block-statement-p): Delete functions.
886 (python-indent-line, python-indent-line-1): Delete functions.
887 (python-indent-line): New function.
888 (python-indentation-levels): Delete function.
889 (python-indent-calculate-levels): New function.
890 (python-proc): Delete function.
891 (python-shell-get-process): New function.
892 (python-send-receive): Delete function.
893 (python-shell-send-string-no-output): New function.
894 (python-module-path): Delete function.
895 (python-ffap-module-path): New function.
896 (python-completion-at-point)
897 (python-symbol-completions): Delete functions.
898 (python-completion-complete-at-point): New function.
899 (python-load-file): Delete function.
900 (python-shell-send-file): New function.
901 (python-calculate-indentation): Delete function.
902 (python-indent-calculate-indentation): New function.
903 (python-skip-comments/blanks): Delete function.
904 (python-util-forward-comment): New function.
905 (python-continuation-line-p): Delete function.
906 (python-info-continuation-line-p): New function.
907 (python-which-func, python-current-defun): Delete function.
908 (python-info-current-defun): New function.
909 (python-beginning-of-defun): Delete function.
910 (python-nav-beginning-of-defun): New function.
911 (python-close-block-statement-p)
912 (python-block-end-p): Delete function.
913 (python-info-closing-block): New function.
914 (python-comint-output-filter-function)
915 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
916 (python-fill-comment, python-fill-decorator, python-fill-paren)
917 (python-fill-string, python-imenu-make-element-tree)
918 (python-imenu-make-tree, python-imenu-tree-assoc)
919 (python-indent-context, python-indent-dedent-line)
920 (python-indent-line-function)
921 (python-indent-post-self-insert-function)
922 (python-indent-toggle-levels)
923 (python-info-assignment-continuation-line-p)
924 (python-info-beginning-of-backlash)
925 (python-info-block-continuation-line-p)
926 (python-info-closing-block-message)
927 (python-info-line-ends-backslash-p)
928 (python-info-looking-at-beginning-of-defun)
929 (python-info-ppss-context, python-info-ppss-context-type)
930 (python-nav-list-defun-positions, python-nav-read-defun)
931 (python-nav-sentence-end, python-nav-sentence-start)
932 (python-pdbtrack-comint-output-filter-function)
933 (python-pdbtrack-set-tracked-buffer)
934 (python-shell-calculate-exec-path)
935 (python-shell-calculate-process-environment)
936 (python-shell-completion--do-completion-at-point)
937 (python-shell-completion--get-completions)
938 (python-shell-completion-complete-at-point)
939 (python-shell-completion-complete-or-indent)
940 (python-shell-get-or-create-process)
941 (python-shell-get-process-name)
942 (python-shell-internal-get-or-create-process)
943 (python-shell-internal-get-process-name)
944 (python-shell-internal-send-string, python-shell-make-comint)
945 (python-shell-parse-command, python-shell-send-setup-code)
946 (python-skeleton-add-menu-items)
947 (python-util-clone-local-variables, python-util-position)
948 (run-python-internal, python-indentation-levels)
949 (python-nav-beginning-of-defun)
950 (python-completion-complete-at-point): New functions.
951 (run-python): Change arguments. New API requirements.
952
4302f5ba
SM
9532012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
954
f38ea36d
SM
955 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
956 (bug#11649).
957
958 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
959 (macroexp--expand-all): Use it.
960
4302f5ba
SM
961 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
962 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
963 Use `cl-function' instead.
964
33377562
JB
9652012-06-14 Juanma Barranquero <lekktu@gmail.com>
966
967 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
968 Suggested by Stefan Monnier while discussing bug#11657.
969
54c5ba1a
SS
9702012-06-14 Sam Steingold <sds@gnu.org>
971
972 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
973
f9f1b1fe
AS
9742012-06-14 Andreas Schwab <schwab@linux-m68k.org>
975
976 * play/doctor.el (doctor-doc): Remove parameter and use
977 doctor-sent instead of sent.
978 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
979
a81068ba
SM
9802012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
981
5a315f9c
SM
982 * files.el: Require cl-lib.
983 (file-name-non-special): Replace case -> cl-case.
984
985 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
986
a81068ba
SM
987 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
988 mapping from #' to function*.
989
8cca9703
CY
9902012-06-13 Chong Yidong <cyd@gnu.org>
991
992 * mouse.el (mouse-drag-track): Do not set the mark if the user
993 releases the mouse without selecting anything (Bug#11588).
994
a12ac9d7
SM
9952012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
996
ccf1dc18
SM
997 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
998 as well (bug#11646).
999
ef62b23d
SM
1000 * loadup.el: Count byte-code functions as well.
1001
c4c8444a
SM
1002 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1003 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1004
a12ac9d7
SM
1005 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1006 (bug#11649). Add cl-defun and cl-defmacro.
1007
87e6e64f
DA
10082012-06-13 Drew Adams <drew.adams@oracle.com>
1009
1010 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1011 Fix last change.
1012
682cefaf
MA
10132012-06-13 Michael Albinus <michael.albinus@gmx.de>
1014
1015 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1016 Otherwise, it blocks in batch mode.
1017
773e1f08
JB
10182012-06-13 Juanma Barranquero <lekktu@gmail.com>
1019
1020 * help-mode.el (bookmark-make-record-default): Declare.
1021
60057926
CY
10222012-06-13 Chong Yidong <cyd@gnu.org>
1023
1024 * emacs-lisp/package.el (list-packages): Compute a list of
1025 packages that are newly-available since the last list-packages
1026 invocation.
1027 (package-menu--new-package-list): New var.
1028 (package-menu--generate, package-menu--print-info)
1029 (package-menu--status-predicate, package-menu-mark-install):
1030 Handle new status label "new".
1031
ad4d226c
SM
10322012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1035 conversion to backquotes.
1036
f1a4e679
CY
10372012-06-12 Chong Yidong <cyd@gnu.org>
1038
1039 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1040 Rename from gud-inhibit-global-bindings.
1041
1042 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1043
1044 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1045 hook from nxml-glyph-set-hook.
1046
1047 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1048 declaration.
1049
1050 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1051
1052 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1053 Convert to defcustom.
1054
0c9e42b5
DA
10552012-06-12 Drew Adams <drew.adams@oracle.com>
1056
1057 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1058 New functions.
1059 (help-mode): Use them.
1060
09e06855
GM
10612012-06-11 Glenn Morris <rgm@gnu.org>
1062
1063 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1064 Use preprocessor face for directives.
1065 (fortran-directive-re): Doc fix.
1066
71adb94b
SM
10672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1068
2eb87922
SM
1069 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1070 conversion to backquotes (bug#11652).
1071
71adb94b
SM
1072 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1073 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1074 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1075 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1076 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1077 (cl-ninth, cl-tenth): Mark them as inlinable.
1078 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1079 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1080 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1081 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1082 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1083 (cl-list*, cl-adjoin): Don't put an autoload manually.
1084 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1085 (cl--compiler-macro-list*): Add autoload cookie.
1086 (cl--compiler-macro-cXXr): New function.
2eb87922 1087
71adb94b
SM
1088 * help-fns.el (help-fns--compiler-macro): New function extracted from
1089 describe-function-1; follow aliases and use `compiler-macro' property.
1090 (describe-function-1): Use it.
1091
a6674402
CY
10922012-06-11 Chong Yidong <cyd@gnu.org>
1093
1094 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1095 is uninstalled, if imagemagick is installed.
1096
bb3faf5b
SM
10972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/cl-lib.el: Use lexical-binding.
1100 (cl-map-extents, cl-maclisp-member): Remove.
1101 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1102 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1103 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1104 * emacs-lisp/cl-extra.el: Use lexical-binding.
1105 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1106 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1107 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1108 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1109 * emacs-lisp/cl-seq.el: Use lexical-binding.
1110 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1111 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1112 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1113 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1114 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1115 CL's internals.
1116
2fe4b125
MA
11172012-06-11 Michael Albinus <michael.albinus@gmx.de>
1118
1119 Sync with Tramp 2.2.6-pre.
1120
1121 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1122 `print-length' and `print-level' to nil, in order to avoid
1123 truncation. Reported by Christopher Schmidt
1124 <christopher@ristopher.com>.
1125
1126 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1127
1128 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1129 New defmacro.
1130 (tramp-compat-copy-directory): Add optional argument
1131 COPY-CONTENTS. It is not handled yet.
1132
1133 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1134 (tramp-ftp-file-name-p): Simplify.
1135
1136 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1137 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1138 connection vector.
1139
1140 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1141 (tramp-methods): Do not use `tramp-password-end-of-line'.
1142 (tramp-completion-function-alist-putty): Handle UNIX case.
1143 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1144 (tramp-do-file-attributes-with-stat)
1145 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1146 gid as real numbers. They could run out of integer range on cygwin.
1147 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1148 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1149 (tramp-open-connection-setup-interactive-shell):
1150 Use `tramp-cleanup'. Move check for busyboxes ...
1151 (tramp-find-shell): ... here. Simplify implementation.
1152 Set "remote-shell" property also for alternative shells.
1153 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1154 If failing, a regular file would be written otherwise.
1155 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1156 (tramp-find-inline-encoding): Cache the coding commands in the
1157 process cache. Apply test command on the remote side, if defined.
1158 (tramp-find-inline-compress): Cache the compress commands in the
1159 process cache.
1160 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1161 when requested. Handle hops.
1162 (tramp-current-connection): New defvar.
87e6e64f
DA
1163 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1164 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1165 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1166 (tramp-get-inline-compress, tramp-get-inline-coding):
1167 Read connection properties from the process cache.
2fe4b125
MA
1168
1169 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1170 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1171 New defconsts.
2fe4b125
MA
1172 (tramp-smb-prompt): Extend for powershell prompt.
1173 (tramp-smb-file-name-handler-alist): Add handlers for
1174 `process-file', `shell-command' and `start-file-process'.
1175 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1176 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1177 (tramp-smb-file-name-p): Simplify.
1178 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1179 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1180 (tramp-smb-shell-quote-argument): New defuns.
1181 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1182 Implement using "tar". By this, time-stamps are preserved.
1183 (tramp-smb-handle-copy-file): Handle also the case of directories.
1184 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1185 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1186 Use `tramp-get-connection-buffer').
2fe4b125
MA
1187 (tramp-smb-handle-rename-file): Use "rename", when source and
1188 target are on the same share.
87e6e64f
DA
1189 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1190 Use `tramp-smb-server-version'.
2fe4b125
MA
1191 (tramp-smb-wait-for-output): Remove prompt.
1192
1193 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1194 (tramp-methods, tramp-rsh-end-of-line):
1195 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1196 (tramp-save-ad-hoc-proxies): New defcustom.
1197 (tramp-completion-function-alist): Adapt docstring.
1198 (tramp-default-password-end-of-line): Remove defcustom.
1199 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1200 (tramp-user-regexp, tramp-file-name-regexp-unified)
1201 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1202 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1203 (tramp-remote-file-name-spec-regexp): New defconst.
1204 (tramp-file-name-structure): Extend structure for hops.
1205 (tramp-get-method-parameter): Move up.
1206 (tramp-file-name-p, tramp-dissect-file-name)
1207 (with-parsed-tramp-file-name): Handle hops.
1208 (tramp-file-name-hop): New defun.
1209 (tramp-make-tramp-file-name): New optional arg HOP.
1210 (tramp-message-show-progress-reporter-message): New defvar.
1211 (tramp-with-progress-reporter): Use it. We cannot use
1212 `tramp-message-show-message' here, because this suppresses also
1213 error buffers.
1214 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1215 `tramp-message-show-message' is nil.
1216 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1217 (tramp-cleanup): New defun.
1218 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1219 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1220 an error unchanged.
1221 (tramp-completion-handle-file-name-all-completions): Handle hops.
1222 Fix an error when called from ido.
1223 (tramp-completion-dissect-file-name): Use better local variable
1224 name. Add hop to the vector.
1225 (tramp-handle-insert-file-contents): Use progress-reporter for the
1226 whole scenario.
1227 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1228 to `t'.
1229 (tramp-check-for-regexp): Simplify search.
1230 (tramp-enter-password): Remove it. Move implementation ...
1231 (tramp-action-password): ... here.
1232 (tramp-mode-string-to-int, tramp-local-host-p)
1233 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1234 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1235 Set tramp-autoload cookie.
2fe4b125
MA
1236
1237 * net/trampver.el: Update release number.
1238
12392012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1240 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1243 (tramp-parse-group, tramp-parse-file)
1244 (tramp-parse-shostkeys-sknownhosts): New defuns.
1245 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1246 (tramp-parse-shosts-group, tramp-parse-sconfig)
1247 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1248 (tramp-parse-sknownhosts, tramp-parse-hosts)
1249 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1250 Use them.
1251 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1252 (tramp-parse-putty-group): Don't narrow.
1253 (tramp-parse-putty): Make a loop.
1254 (tramp-file-name-handler): Catch the `suppress' signal.
1255
72834e10
CY
12562012-06-11 Chong Yidong <cyd@gnu.org>
1257
1258 * image.el (imagemagick-register-types): Put the ImageMagick entry
1259 at the end of image-type-file-name-regexps.
1260
a4712e11
JB
12612012-06-11 Johan Bockgård <bojohan@gnu.org>
1262
1263 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1264 (pcase, pcase-let*, pcase-dolist): Use them.
1265
82ad98e3
SM
12662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * emacs-lisp/pcase.el (pcase--let*): New function.
1269 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1270 (pcase--expand): Use macroexp-let².
1271
f80efb86
SM
12722012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1275 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1276 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1277 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1278 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1279 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1280
31ca4639 12812012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1282
31ca4639
CY
1283 * mail/rmail.el (rmail-yank-current-message): Leave point at
1284 correct position. (Bug#11660)
94f0aa34 1285
31ca4639 12862012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1287
31ca4639 1288 * allout-widgets.el: Fix code header.
9e1b8ec4 1289
31ca4639 12902012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1291
f80efb86
SM
1292 * cus-edit.el (customize-changed-options-previous-release):
1293 Bump to 24.1.
31ca4639 1294
642b6d30
AS
12952012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1296
1297 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1298
4f5d2ba1
CY
12992012-06-09 Chong Yidong <cyd@gnu.org>
1300
1301 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1302
e75852fd
MR
13032012-06-09 Martin Rudalics <rudalics@gmx.at>
1304
1305 * window.el (special-display-popup-frame): Don't use
1306 window--display-buffer (Bug#11651).
1307
1e48e282
EZ
13082012-06-09 Eli Zaretskii <eliz@gnu.org>
1309
8a26b487
EZ
1310 Fix parallel builds: make sure loaddefs.el is not being written
1311 while Lisp files are compiled.
1312 (compile): Don't depend on 'mh-autoloads'.
1313 (compile-CMD, compile-SH): Depend on 'autoloads'.
1314 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1315
1e48e282
EZ
1316 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1317
6175e34b
CY
13182012-06-09 Chong Yidong <cyd@gnu.org>
1319
1320 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1321 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1322 Doc fixes (Bug#11225).
1323
d9857e53
SM
13242012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1327 a function if there's a clear indication that it has a compiler-macro.
1328 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1329 (macro-declarations-alist): Add arglist to declaration functions.
1330 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1331 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1332 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1333 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1334 Also add autoload to find the compiler macro.
1335 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1336 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1337 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1338 (cl--compiler-macro-get): New functions, replacing calls to
1339 cl-define-compiler-macro.
1340 (cl-typep) [compiler-macro]: Use macroexp-let².
1341
f81298f8 13422012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1343
1344 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1345 string properly, fixes Bug#11473.
1346
4b56d0fe
CY
13472012-06-08 Chong Yidong <cyd@gnu.org>
1348
1349 * faces.el (set-face-attribute): Doc fix.
1350 (modify-face): Don't use :bold and :italic.
1351 (error, warning, success): Tweak definitions.
1352
1353 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1354 (custom-modified, custom-set, custom-changed, custom-themed)
1355 (custom-saved, custom-button, custom-button-mouse)
1356 (custom-button-pressed, custom-state, custom-comment-tag)
1357 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1358 (custom-group-subtitle): Use new-style face specs.
1359 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1360 (custom-set-face, custom-changed-face, custom-saved-face)
1361 (custom-button-face, custom-button-pressed-face)
1362 (custom-documentation-face, custom-state-face)
1363 (custom-comment-face, custom-comment-tag-face)
1364 (custom-variable-tag-face, custom-variable-button-face)
1365 (custom-face-tag-face, custom-group-tag-face-1)
1366 (custom-group-tag-face): Remove obsolete face alias.
1367
1368 * epa.el (epa-validity-high, epa-validity-medium)
1369 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1370 (epa-field-name, epa-field-body):
1371 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1372 (font-lock-keyword-face, font-lock-builtin-face)
1373 (font-lock-function-name-face, font-lock-variable-name-face)
1374 (font-lock-type-face, font-lock-constant-face):
1375 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1376 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1377 * speedbar.el (speedbar-button-face, speedbar-file-face)
1378 (speedbar-directory-face, speedbar-tag-face)
1379 (speedbar-selected-face, speedbar-highlight-face)
1380 (speedbar-separator-face):
1381 * whitespace.el (whitespace-newline, whitespace-space)
1382 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1383 (whitespace-line, whitespace-space-before-tab)
1384 (whitespace-space-after-tab, whitespace-indentation)
1385 (whitespace-empty):
1386 * emulation/cua-base.el (cua-global-mark):
1387 * eshell/em-prompt.el (eshell-prompt):
1388 * net/newst-plainview.el (newsticker-new-item-face)
1389 (newsticker-old-item-face, newsticker-immortal-item-face)
1390 (newsticker-obsolete-item-face, newsticker-date-face)
1391 (newsticker-statistics-face, newsticker-default-face):
1392 * net/newst-reader.el (newsticker-feed-face)
1393 (newsticker-extra-face, newsticker-enclosure-face):
1394 * net/newst-treeview.el (newsticker-treeview-face)
1395 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1396 (newsticker-treeview-immortal-face)
1397 (newsticker-treeview-obsolete-face)
1398 (newsticker-treeview-selection-face):
1399 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1400 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1401 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1402 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1403 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1404 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1405 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1406 (mpuz-text):
1407 * progmodes/vera-mode.el (vera-font-lock-number)
1408 (vera-font-lock-function, vera-font-lock-interface):
1409 * textmodes/table.el (table-cell): Use new-style face specs, and
1410 don't use the old :bold and :italic attributes.
1411
1412 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1413 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1414 (ebrowse-member-class, ebrowse-progress): Likewise.
1415 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1416 (ebrowse-file-name-face, ebrowse-default-face)
1417 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1418 (ebrowse-progress-face): Remove obsolete faces.
1419
1420 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1421 Inherit from error and warning faces respectively.
1422
1423 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1424 Likewise.
f80efb86
SM
1425 (flyspell-incorrect-face, flyspell-duplicate-face):
1426 Remove obsolete aliases.
4b56d0fe 1427
03310646
MA
14282012-06-08 Michael Albinus <michael.albinus@gmx.de>
1429
1430 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1431 Avoid infloop.
1432
513749ee
SM
14332012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * startup.el (argv, argi): Make lexically scoped.
1436 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1437 * emacs-lisp/cl-macs.el: Use lexical-binding.
1438 Rename cl-bind-* to cl--bind-*.
1439 * files.el: Don't require `cl' since it doesn't use it.
1440 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1441
595ef4ad
JB
14422012-06-08 Juanma Barranquero <lekktu@gmail.com>
1443
1444 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1445 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1446 instead of calling external sort utility.
1447 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1448
e9f66fcb
EZ
14492012-06-08 Eli Zaretskii <eliz@gnu.org>
1450
1451 * descr-text.el (describe-char): Mention how to insert the
1452 character, if the current input method doesn't support it.
1453 See the discussion in this thread for the details:
1454 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1455
3d10db47
SS
14562012-06-08 Sam Steingold <sds@gnu.org>
1457
1458 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1459 XF86Back to previous-buffer.
1460 (minibuffer-local-map): Bind them to next-history-element and
1461 previous-history-element respectively.
1462 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1463 help-go-back respectively.
1464 * info.el (Info-mode-map): Bind them to Info-history-forward and
1465 Info-history-back respectively.
1466 These are the keys next to Up on the ThinkPad keyboard.
1467
de7e2b36
SM
14682012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1471 * emacs-lisp/cl-macs.el: Provide itself.
1472 (cl--labels-convert-cache): New var.
1473 (cl--labels-convert): New function.
1474 (cl-flet, cl-labels): New implementation with new semantics, relying on
1475 lexical-binding.
1476 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1477 (cl-closure-vars, cl--function-convert-cache)
1478 (cl--function-convert): Move from cl-macs.el.
1479 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1480 rename by removing the "cl-" prefix.
1481 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1482
6fa6c4ae
SM
14832012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1486 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1487 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1488 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1489 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1490 (cl-hash-table-count): Add old compatibility aliases.
1491
1492 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1493 Use macroexpand-all-environment instead.
1494 (cl--old-macroexpand): New var.
1495 (cl--sm-macroexpand): New function.
1496 (cl-symbol-macrolet): Use it during macro expansion.
1497 (cl--function-convert-cache): New var.
1498 (cl--function-convert): New function, extracted from
1499 cl-macroexpand-all.
1500 (cl-lexical-let): Use it.
1501
1502 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1503 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1504 (cl-member): Remove old alias.
1505
1506 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1507 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1508 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1509 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1510 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1511 (cl-macroexpand-cmacs): Remove var.
1512 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1513 Use macroexpand-all instead.
1514
4dd1c416
SM
15152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1518 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1519 (macroexp-copyable-p): New functions and macros.
1520 * emacs-lisp/edebug.el (edebug-unwrap):
1521 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1522 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1523 (pcase--let*): Remove.
1524 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1525 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1526 macroexp-const-p instead.
1527 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1528
1529 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1530 instead of "cl-" for internal definitions. Use macroexp-const-p.
1531 (cl-old-bc-file-form): Remove var.
1532 (cl-const-exprs-p): Remove fun.
1533 (cl-labels, cl-macrolet): Use backquote.
1534 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1535 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1536 (cl-define-setf-expander): Rename from cl-define-setf-method.
1537 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1538
1539 * international/mule-cmds.el: Don't require CL.
1540 (view-hello-file): Don't use `letf'.
1541
ed8bd4d7
SM
15422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1543
7287f2f3
SM
1544 * tmm.el (tmm-prompt): Use string-prefix-p.
1545 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1546 (tmm-add-prompt): Use minibuffer-completion-help.
1547 (tmm-delete-map): Remove.
1548
ed8bd4d7
SM
1549 * subr.el (kbd): Make it its own function.
1550
7b4cdbf4
SM
15512012-06-07 Stefan Merten <smerten@oekonux.de>
1552
1553 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1554 Silence compiler warnings. Fix versions.
ed8bd4d7 1555 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1556 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1557 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1558 (rst-package-emacs-version-alist): Correct Emacs version to
1559 represent major merge with upstream.
ed8bd4d7 1560 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1561
2b48d721
GM
15622012-06-06 Glenn Morris <rgm@gnu.org>
1563
1564 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1565 Only print environment variables if set.
1566
fa779ab0
SM
15672012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1570 (macroexp--cons): Rename from maybe-cons.
1571 (macroexp--accumulate): Rename from macroexp-accumulate.
1572 (macroexp--all-forms): Rename from macroexpand-all-forms.
1573 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1574 (macroexp--expand-all): Rename from macroexpand-all-1.
1575
628299e0
SS
15762012-06-06 Sam Steingold <sds@gnu.org>
1577
1578 * calendar/calendar.el (calendar-in-read-only-buffer):
1579 Call `special-mode' to enable the standard read-only keybindings.
1580
b7bb5838
SM
15812012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1584 with "loading" messages (bug#11635).
1585
dfb308ba
MA
15862012-06-06 Michael Albinus <michael.albinus@gmx.de>
1587
1588 * files.el (enable-remote-dir-locals): New option.
1589 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1590
0372ee92
MA
1591 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1592 Ensure, that the temp directory is local.
1593
1594 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1595 `temporary-file-directory'.
1596
eed0bb91
MA
1597 * progmodes/python.el (python-send-region): Ensure, that the
1598 temporary file is created also in the remote case.
1599
7a58f64d
GM
16002012-06-06 Glenn Morris <rgm@gnu.org>
1601
f7dd4e98
GM
1602 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1603 (vc-rcs-update-changelog): Use it.
1604
090bd7cb 1605 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1606
7a58f64d
GM
1607 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1608 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1609 (vc-sccs-diff): Replace use of the external vcdiff script.
1610
daed4003
GM
16112012-06-05 Glenn Morris <rgm@gnu.org>
1612
1613 * ledit.el: Move to obsolete/.
1614
48c455c7
SS
16152012-06-05 Sam Steingold <sds@gnu.org>
1616
1617 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1618 patch (Bug#11140).
1619
57a7d507
SM
16202012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1621
090bd7cb 1622 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1623
53aacf21
SM
1624 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1625 compiler-macro expansion.
1626
57a7d507
SM
1627 Add native compiler-macro support.
1628 * emacs-lisp/macroexp.el (macroexpand-all-1):
1629 Support compiler-macros directly. Properly follow aliases and apply
1630 the compiler macros more thoroughly.
1631 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1632 macroexpand now properly follows aliases.
1633 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1634 (cl-compiler-macroexpand): Use new prop.
1635 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1636
1637 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1638
51a5f9d8
MR
16392012-06-05 Martin Rudalics <rudalics@gmx.at>
1640
1641 * window.el (get-lru-window, get-mru-window, get-largest-window):
1642 New argument NOT-SELECTED to avoid picking the selected window.
1643 (window--display-buffer-1, window--display-buffer-2): Replace by
1644 new function window--display-buffer
1645 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1646 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1647 Use window--display-buffer.
51a5f9d8
MR
1648 (display-buffer-use-some-window): Remove temporary dedication
1649 hack by calling get-lru-window and get-largest-window with
1650 NOT-SELECTED argument non-nil. Call window--display-buffer.
1651
08f9f738
GM
16522012-06-05 Glenn Morris <rgm@gnu.org>
1653
1654 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1655 Replace external vcdiff script.
1656
e364a2b7
SM
16572012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1660
041df390
CY
16612012-06-04 Chong Yidong <cyd@gnu.org>
1662
e364a2b7
SM
1663 * image.el (imagemagick-types-inhibit): Revert last change.
1664 Add INFO and M.
47b36b94 1665 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1666
7c1898a7
SM
16672012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/cl-lib.el: Rename from cl.el.
1670 * emacs-lisp/cl.el: New compatibility file.
1671 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1672 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1673 to obey the "cl-" prefix.
1674 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1675
0c3461de
GM
16762012-06-03 Glenn Morris <rgm@gnu.org>
1677
1e266c88
GM
1678 * emacs-lisp/authors.el (authors-aliases): Addition.
1679
0c3461de
GM
1680 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1681 Fix :version.
1682
d8a52e15
SM
16832012-06-03 Stefan Merten <smerten@oekonux.de>
1684
1685 * textmodes/rst.el: Add comments.
1686 (rst-transition, rst-adornment): New faces.
1687 (rst-adornment-faces-alist): Make default safe to reevaluate.
1688 Fixes
1689 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1690 Improve customization tags.
1691 (rst-define-level-faces): Clarify meaning.
1692
5205d6f6
CY
16932012-06-03 Chong Yidong <cyd@gnu.org>
1694
1695 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1696 (compilation-mode-line-run, compilation-mode-line-exit):
1697 New faces.
5205d6f6
CY
1698 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1699
757ee657
JD
17002012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1701
7c1898a7
SM
1702 * progmodes/which-func.el (which-func-update-ediff-windows):
1703 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1704
5f2c76c6
CY
17052012-06-03 Chong Yidong <cyd@gnu.org>
1706
1707 * bindings.el: Remove explicit help text from format-mode-line.
1708 It is now supplied by mode-line-default-help-echo.
1709 (mode-line-front-space, mode-line-end-spaces)
1710 (mode-line-misc-info): New variables.
1711 (mode-line-modes, mode-line-position): Move the default value to
1712 the variable definition.
1713 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1714 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1715 (mode-line-modified-help-echo): New functions.
1716 (mode-line-mule-info, mode-line-modified): Use them.
1717 (mode-line-eol-desc, propertized-buffer-identification):
1718 Consistency fixes for help text.
cbe46e5f
CY
1719 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1720 set-buffer-file-coding-system (Bug#289).
1721 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1722
f2d6a3df
SM
17232012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * simple.el (execute-extended-command): Set real-this-command
1726 (bug#11506).
1727
37269466
CY
17282012-06-02 Chong Yidong <cyd@gnu.org>
1729
1730 Remove incorrect uses of "modeline" in comments, docstrings, and
1731 function/variable names (Bug#10329).
1732
1733 * cus-edit.el (mode-line):
1734 * dframe.el (dframe-mouse-hscroll):
1735 * emacs-lisp/re-builder.el:
1736 * emacs-lisp/easy-mmode.el (define-minor-mode):
1737 * frame.el (set-frame-name):
1738 * help.el (lookup-minor-mode-from-indicator):
1739 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1740 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1741 (c-toggle-hungry-state):
1742 * progmodes/antlr-mode.el (antlr-language-alist):
1743 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1744 * progmodes/vhdl-mode.el (vhdl-mode):
1745 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1746 * term/ns-win.el (ns-face-at-pos):
1747 * term/sup-mouse.el (sup-mouse-report):
1748 * textmodes/flyspell.el (flyspell-mode-line-string):
1749 * textmodes/ispell.el (ispell-highlight-face):
1750 * textmodes/reftex-global.el:
1751 * vc/vc-arch.el (vc-arch-mode-line-string):
1752 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1753 * vc/vc-git.el (vc-git-mode-line-string):
1754 * vc/vc-hooks.el (vc-display-status)
1755 (vc-default-mode-line-string):
1756 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1757
1758 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1759
1760 * dired.el (dired-sort-set-mode-line): Rename from
1761 dired-sort-set-modeline. All callers changed.
1762
1763 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1764 eshell-status-in-modeline.
1765
1766 * foldout.el (foldout-mode-line-string): Rename from
1767 foldout-modeline-string. All callers changed.
1768 (foldout-update-mode-line): Rename from foldout-update-modeline.
1769
1770 * subr.el (redraw-modeline): Make into obsolete alias.
1771
1772 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1773 timeclock-modeline-display. Make old name an alias.
1774 (timeclock-update-mode-line): Likewise. All callers changed.
1775 (timeclock-mode-line-display): No need to check before using
1776 add-hook.
1777 (timeclock-relative, timeclock-day-over-hook)
1778 (timeclock-use-elapsed, timeclock-mode-string)
1779 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1780
1781 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1782 crisp-mode-modeline-string.
1783
1784 * play/solitaire.el (solitaire-build-mode-line): Rename from
1785 solitaire-build-modeline. All callers changed.
1786
1787 * play/zone.el (zone-hiding-mode-line): Rename from
1788 zone-hiding-modeline. All callers changed.
1789 (zone): Remove unusued `modeline-hidden-level' property.
1790
1791 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1792 xscheme-modeline-initialize. All callers changed.
1793
1794 * strokes.el (strokes-lighter): Rename from
1795 strokes-modeline-string.
1796
1797 * textmodes/sgml-mode.el (html-face-tag-alist)
1798 (html-tag-face-alist): Use mode-line face instead of obsolete
1799 alias modeline.
1800
42152ee4
SM
18012012-06-02 Stefan Merten <smerten@oekonux.de>
1802
1803 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1804 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1805
95f520b5
CY
18062012-06-02 Chong Yidong <cyd@gnu.org>
1807
1808 * image.el (imagemagick-enabled-types): Rename from
1809 imagemagick-types-enable. Add many more types.
1810 (imagemagick-types-inhibit): Change default to nil.
1811 (imagemagick-filter-types): Caller changed.
1812
4a5f187a
SM
18132012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1814
03fef3e6
SM
1815 * emacs-lisp/cl-macs.el: Use backquotes.
1816 (cl-transform-function-property): Use eval-and-compile rather than
1817 abusing `require'.
1818 (defstruct): Use declare-function instead of with-no-warnings.
1819
4a5f187a
SM
1820 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1821 (byte-compile-output-docform): Re-add the print-circle bindings.
1822 (byte-compile-fix-header): Use #$ just because it's shorter.
1823 (byte-compile-output-file-form): Remove defun/defmacro.
1824
bd56924f
MR
18252012-06-01 Martin Rudalics <rudalics@gmx.at>
1826
1827 * simple.el (choose-completion): Remove now obsolete binding for
1828 owindow.
1829
046e38ce
MA
18302012-06-01 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1833 in order to avoid "Stack overflow in regexp matcher".
1834
32d72c2f
GM
18352012-05-31 Glenn Morris <rgm@gnu.org>
1836
1837 * image.el: For clarity, call imagemagick-register-types at
1838 top-level, rather than relying on a custom :initialize.
1839 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1840 (imagemagick-filter-types): New function. (Bug#7406)
1841 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1842 If disabling support, remove elements altogether rather
1843 than using an impossible regexp.
1844 (imagemagick-types-inhibit): Give it the default init function.
1845
dd41169b
SM
18462012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1847
4a5f187a
SM
1848 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1849 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1850
efc00ab1 18512012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1852
1853 * desktop.el (desktop-read): Clear previous and next buffers for
1854 all windows and bury *Messages* buffer (bug#11556).
1855
500fcedc
SM
18562012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 Add `declare' for `defun'. Align `defmacro's with it.
1859 * emacs-lisp/easy-mmode.el (define-minor-mode)
1860 (define-globalized-minor-mode): Don't autoload the var definitions.
1861 * emacs-lisp/byte-run.el: Use lexical-binding.
1862 (defun-declarations-alist, macro-declarations-alist): New vars.
1863 (defmacro, defun): Use them.
1864 (make-obsolete, define-obsolete-function-alias)
1865 (make-obsolete-variable, define-obsolete-variable-alias):
1866 Use `declare'.
1867 (macro-declaration-function): Mark obsolete.
1868 * emacs-lisp/autoload.el: Use lexical-binding.
1869 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1870
6e8a1786
AM
18712012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1872
1873 * textmodes/ispell.el (ispell-with-no-warnings):
1874 Define as a macro.
500fcedc
SM
1875 (ispell-kill-ispell, ispell-change-dictionary):
1876 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1877 `interactive-p'.
1878
61b108cc
SM
18792012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1882 (macro-declaration-function): Move var from C code.
1883 (macro-declaration-function): Define function with defalias.
1884 * emacs-lisp/macroexp.el (macroexpand-all-1):
1885 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1886 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1887 defun/defmacro any more.
1888 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1889 Provide fallback for unknown arglist.
1890 (byte-compile-arglist-warn): Change calling convention.
1891 (byte-compile-output-file-form): Move print-vars binding.
1892 (byte-compile-output-docform): Simplify accordingly.
1893 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1894 (byte-compile-defmacro-declaration): Remove.
1895 (byte-compile-file-form-defmumble): Generalize to defalias.
1896 (byte-compile-output-as-comment): Return byte-positions.
1897 Simplify callers accordingly.
1898 (byte-compile-lambda): Use `assert'.
1899 (byte-compile-defun, byte-compile-defmacro): Remove.
1900 (byte-compile-file-form-defalias):
1901 Use byte-compile-file-form-defmumble.
1902 (byte-compile-defalias-warn): Remove.
1903
6d3f7c2f
SM
19042012-05-29 Stefan Merten <smerten@oekonux.de>
1905
1906 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1907 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1908
1909 (rst-mode-abbrev-table): Merge definition.
1910 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1911 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1912
6dbaa1c7
UJ
19132012-05-29 Ulf Jasper <ulf.jasper@web.de>
1914
1915 * calendar/icalendar.el
1916 (icalendar-export-region): Export UID properly.
1917
d209e2fb 19182012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1919 * calendar/icalendar.el (icalendar-import-format):
1920 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1921 (icalendar-import-format-uid): New.
1922 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1923 Export UID.
1924
6876a58d
SM
19252012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1928 different alternative patterns.
1929 (pcase-codegen): Be more careful to preserve identity.
1930 (pcase--u1): Don't forget to mark vars as used.
1931
1932 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1933 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1934 (byte-compile-from-buffer): ...rather than here.
1935
1936 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1937 functions from byte-compile-function-environment.
1938
46b7967e
TN
19392012-05-29 Troels Nielsen <bn.troels@gmail.com>
1940
1941 * window.el (window-deletable-p): Avoid deleting the root window
1942 of a frame with an active minibuffer.
1943
69d565e2
MR
19442012-05-29 Martin Rudalics <rudalics@gmx.at>
1945
1946 * simple.el (choose-completion): Use quit-window (Bug#11567).
1947
a149fa51
CY
19482012-05-29 Chong Yidong <cyd@gnu.org>
1949
1950 * whitespace.el (whitespace-cleanup): Fix usage of
1951 whitespace-empty-at-bob-regexp (Bug#11492).
1952
2b311310
AH
19532012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1954
1955 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1956 revert (Bug#11488).
1957
b9cb2387
JL
19582012-05-29 Juri Linkov <juri@jurta.org>
1959
1960 * isearch.el (isearch-mode-map): Bind `M-s _' to
1961 `isearch-toggle-symbol'. Bind `M-s c' to
1962 `isearch-toggle-case-fold'.
1963 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1964 (isearch-forward): Add `M-s _' to the docstring.
1965 (isearch-forward-symbol, isearch-toggle-case-fold)
1966 (isearch-symbol-regexp): New functions. (Bug#11381)
1967
d5e61c1c
JL
19682012-05-29 Juri Linkov <juri@jurta.org>
1969
1970 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1971 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1972 a function, call it to get the regexp.
1973 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1974 property `isearch-message-prefix' instead of the string "word ".
1975 (isearch-search-fun-default): For the case of `isearch-word',
1976 return a lambda that calls re-search-forward/re-search-backward
1977 with a regexp returned by `word-search-regexp' or by the function
1978 in `isearch-word'.
1979
8cbd80f7
JL
19802012-05-29 Juri Linkov <juri@jurta.org>
1981
1982 * isearch.el (isearch-search-fun-default): New function.
1983 (isearch-search-fun): Move default part to the new function
1984 `isearch-search-fun-default'.
1985 (isearch-search-fun-function): Set the default value to
1986 `isearch-search-fun-default'. (Bug#11381)
1987
1988 * comint.el (comint-history-isearch-end):
1989 Use `isearch-search-fun-default'.
1990 (comint-history-isearch-search): Use `isearch-search-fun-default'
1991 and remove spacial case for `isearch-word'.
1992 (comint-history-isearch-wrap): Remove spacial case for
1993 `isearch-word'.
1994
1995 * hexl.el (hexl-isearch-search-function):
1996 Use `isearch-search-fun-default'.
1997
1998 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1999 Use `word-search-regexp' for `isearch-word'.
2000
2001 * misearch.el (multi-isearch-search-fun):
2002 Use `isearch-search-fun-default'.
2003
2004 * simple.el (minibuffer-history-isearch-search):
2005 Use `isearch-search-fun-default' and remove spacial case for
2006 `isearch-word'.
2007 (minibuffer-history-isearch-wrap): Remove spacial case for
2008 `isearch-word'.
2009
2010 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2011 Remove spacial case for `isearch-word'.
2012 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2013
85c8c5b6
AM
20142012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2015
2016 Decrease XEmacs incompatibilities.
2017 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2018 Use `string-match'.
2019 (flyspell-delete-region-overlays): Use alternative definition for
2020 XEmacs.
2021 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2022 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2023 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2024 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2025 `define-obsolete-face-alias' under XEmacs, but old method.
2026
2027 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2028 `with-no-warnings' definition or Emacs alias.
2029 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2030 (ispell-word): Do not use `region-p' if XEmacs.
2031
8cab9efc
AM
20322012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2033
2034 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2035 Check for `ispell-dictionary-base-alist' instead of full
2036 `ispell-dictionary-alist'.
2037 (ispell-init-process): Show spellchecker when starting new Ispell
2038 process.
2039
fda91268
RZ
20402012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2043 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2044
694ea8e3
JB
20452012-05-27 Juanma Barranquero <lekktu@gmail.com>
2046
2047 * version.el (motif-version-string, gtk-version-string)
2048 (ns-version-string): Declare.
2049
e4d4f539
JL
20502012-05-27 Juri Linkov <juri@jurta.org>
2051
2052 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2053 after the `eval-defun-1' specialcaseing
2054 like in `edebug-eval-defun' (bug#10181).
2055
2056 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2057 like in `eval-defun-1'.
2058
33017faf 20592012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2060
fda91268
RZ
2061 * mail/sendmail.el (mail-yank-region):
2062 Recognize rmail-yank-current-message in addition to insert-buffer.
2063 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2064 a *mail* buffer created through rmail-start-mail with sendmail as
2065 mail-user-agent.
2066
33017faf
GM
20672012-05-27 Chong Yidong <cyd@gnu.org>
2068
2069 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2070 Default to 256 (Bug#11267).
2071
2072 * help.el (describe-mode): Doc fix.
2073
04188bb9
GM
20742012-05-26 Glenn Morris <rgm@gnu.org>
2075
38264cc9
GM
2076 * w32-fns.el (w32-init-info): Remove.
2077 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2078
eb7afdad
GM
2079 * info.el (info-initialize): For self-contained NS builds, put the
2080 included info/ directory at the front. (Bug#2791)
2081
04188bb9
GM
2082 * paths.el (Info-default-directory-list): Make it a defcustom,
2083 mainly so that we can use custom-initialize-delay.
2084
a179e3f7
SM
20852012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2086
43416392
SM
2087 * subr.el (buffer-has-markers-at): Mark obsolete.
2088
a179e3f7 2089 * subr.el (lambda): Use declare.
43416392 2090
a179e3f7
SM
2091 * emacs-lisp/lisp-mode.el (lambda):
2092 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2093
34a008d9
AH
20942012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2095
2096 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2097
0a3b289f
GM
20982012-05-26 Glenn Morris <rgm@gnu.org>
2099
2100 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2101
758c81e8
GM
21022012-05-25 Glenn Morris <rgm@gnu.org>
2103
f9f334f0
GM
2104 * paths.el: Remove no-byte-compile.
2105 * loadup.el: No need to load paths.el uncompiled.
2106
87eb79c2
GM
2107 * image.el (imagemagick-types-inhibit): Doc fix.
2108
758c81e8
GM
2109 * version.el: Remove no-byte-compile and associated formatting.
2110 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2111 is ancient code from when there was an "inc-vers.el".
2112
e7e85dc0
SM
21132012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * progmodes/gdb-mi.el: Minor style changes.
2116 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2117 Turn into minor modes.
2118 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2119 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2120 (gdb-shell): Remove unneeded let-binding.
2121 (gdb-get-many-fields): Eliminate O(n²) behavior.
2122
f31237a4
EZ
21232012-05-25 Eli Zaretskii <eliz@gnu.org>
2124
2125 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2126 platforms that don't link in fontset.c.
2127
bc1b21bb
JL
21282012-05-25 Juri Linkov <juri@jurta.org>
2129
2130 Use the same diff color scheme as in modern VCSes (bug#10181).
2131
2132 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2133 to avoid confusion with `diff-added' that now uses green colors.
2134 (diff-removed): Use shades of red.
2135 (diff-added): Use shades of green.
2136 (diff-changed): Leave just the yellow color.
2137 (diff-use-changed-face): New variable.
2138 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2139 how to highlight context diff changes.
2140 (diff-refine-change): Use shades of yellow.
2141 (diff-refine-removed): New face that uses shades of red.
2142 (diff-refine-added): New face that uses shades of green.
2143 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2144 `diff-refine-removed' in the call to `smerge-refine-subst'
2145 depending on the value of `diff-use-changed-face'.
2146
2147 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2148 (smerge-other): Use shades of green.
2149 (smerge-base): Use shades of yellow.
2150 (smerge-refined-change): Empty face.
2151 (smerge-refined-removed): New face that uses shades of red.
2152 (smerge-refined-added): New face that uses shades of green.
2153 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2154 args `props-r' and `props-a', and use them. Doc fix.
2155 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2156 on its value use different faces `smerge-refined-change',
2157 `smerge-refined-removed', `smerge-refined-added' in the call to
2158 `smerge-refine-subst'.
2159
2160 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2161 Add face condition `min-colors 88' with shades of red.
2162 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2163 `min-colors 88' with shades of green.
2164 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2165 `min-colors 88' with shades of yellow.
2166
6df9112c
GM
21672012-05-24 Glenn Morris <rgm@gnu.org>
2168
ead5edc0
GM
2169 * paths.el (prune-directory-list, remote-shell-program): Move to...
2170 * files.el (prune-directory-list, remote-shell-program): ...here.
2171 For the latter, delay initialization, prefer ssh, just search PATH.
2172
f18b81e6
GM
2173 * paths.el (term-file-prefix): Move to faces.el (the only user).
2174 * faces.el (term-file-prefix): Move here, make it a defcustom.
2175
ee2f89a6
GM
2176 * paths.el (news-directory, news-path, news-inews-program):
2177 Move to gnus/nnspool.el.
61a583ca 2178
f8815e4c
GM
2179 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2180
c8f3b42c
GM
2181 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2182 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2183 Make the latter a defcustom, with a delayed initialization.
2184
6df9112c
GM
2185 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2186 These were deleted from Gnus itself late 2010.
2187
5dadff36
JB
21882012-05-22 Juanma Barranquero <lekktu@gmail.com>
2189
9e1701c6
JB
2190 * progmodes/which-func.el (which-func-ff-hook):
2191 Check against user-error, not error.
2192
bd7239f5 2193 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2194 cl-specs.el, which no longer exists.
2195
3290526d
GM
21962012-05-22 Glenn Morris <rgm@gnu.org>
2197
2198 * info.el (info-emacs-bug): New command.
2199 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2200 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2201
ff0c3cfb
GM
22022012-05-21 Glenn Morris <rgm@gnu.org>
2203
2204 * makefile.w32-in (update-subdirs-SH):
2205 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2206
5814f126
SM
22072012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2208
a52c0aa0
SM
2209 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2210
5814f126
SM
2211 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2212 Simplify Maven regexp, and make sure the file can't start with a space
2213 (bug#11517).
2214
b847032c
GM
22152012-05-21 Glenn Morris <rgm@gnu.org>
2216
2217 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2218 Scrap superfluous subshells.
2219
3858bfe7
SM
22202012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2223 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2224
d14b0029
JB
22252012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2226
2227 * calc/calc.el (calc-ensure-consistent-units): New variable.
2228
a52c0aa0
SM
2229 * calc/calc-units.el (math-consistent-units-p)
2230 (math-check-unit-consistency): New functions.
2231 (calc-quick-units, calc-convert-units):
2232 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2233 is non-nil.
d14b0029
JB
2234 (calc-extract-units): Fix typo.
2235
60c4db3a
SM
22362012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2237
77f3b62e
SM
2238 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2239
60c4db3a
SM
2240 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2241 (flyspell-default-deplacement-commands): Don't spell check after
2242 repeated window/frame switches (e.g. triggered by mouse-movement).
2243 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2244 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2245 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2246 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2247 Remove unused vars.
2248 (flyspell-get-casechars, flyspell-get-not-casechars):
2249 Simplify; Don't bother removing a ] just to add it back.
2250 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2251
d209e2fb 22522012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2253
2254 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2255 New functions.
bd7239f5 2256 (math-function-table): Add support for more C functions.
b1a10716 2257
3f1b25b5
AM
22582012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2259
090bd7cb
JB
2260 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2261 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2262 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2263
b581bb5c
SM
22642012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2267 their respective macro declarations.
2268 * skeleton.el (define-skeleton):
2269 * progmodes/compile.el (define-compilation-mode):
2270 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2271 (define-ibuffer-filter):
2272 * emacs-lisp/generic.el (define-generic-mode):
2273 * emacs-lisp/easy-mmode.el (define-minor-mode)
2274 (define-globalized-minor-mode):
2275 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2276 * emacs-lisp/byte-run.el (defsubst):
2277 * custom.el (deftheme): Add doc-string metadata.
2278
70b8ef8f
SM
22792012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2282
b1198e17
SM
22832012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2284
9abdc45d
SM
2285 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2286
b1198e17
SM
2287 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2288 * emacs-lisp/cl-macs.el: Idem.
2289 * emacs-lisp/cl-specs.el: Remove.
2290
4735906a
SM
22912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 Minor renaming of internal CL functions and variables.
2294 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2295 (cl--position): Rename from cl-position.
2296 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2297 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2298 (cl--random-state): Rename from *random-state*.
2299
ac348012
SM
23002012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2303 parens around the arg list (bug#11499).
2304
a0a79cde
JL
23052012-05-17 Juri Linkov <juri@jurta.org>
2306
2307 * isearch.el (word-search-regexp, word-search-backward)
2308 (word-search-forward, word-search-backward-lax)
2309 (word-search-forward-lax): Move functions from search.c
2310 (bug#10145, bug#11381).
2311
65034a51
AM
23122012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2313
090bd7cb
JB
2314 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2315 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2316 Delay for otherchars as for normal word components.
65034a51 2317
1a72a195
SM
23182012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * minibuffer.el (completion--sifn-requote): Fix last change.
2321 (minibuffer-local-must-match-filename-map):
2322 Move define-obsolete-variable-alias before its var.
2323
fdb058c2
SM
23242012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2325
c41045e6
SM
2326 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2327
036dfb8b
SM
2328 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2329 behavior.
2330 (completion--string-equal-p): New function.
2331 (completion--twq-all): Use it to get better assertion failure data.
2332
2473256d
SM
2333 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2334 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2335 (shell--requote-argument): New functions.
2336 (shell-completion-vars): Use them.
2337 (shell--parse-pcomplete-arguments): Rename from
2338 shell-parse-pcomplete-arguments.
2339 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2340 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2341 Obey comint-file-name-quote-list.
2342
fdb058c2
SM
2343 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2344 (smie-indent-keyword): Use it.
2345
51fa99f1
SM
23462012-05-14 Stefan Merten <smerten@oekonux.de>
2347
2348 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2349
e18afed7 23502012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2351
2352 * net/rlogin.el (rlogin-mode-map): Fix last change.
2353
e18afed7 23542012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2355
2356 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2357 the following \r\n using a single `process-send-string', since the
2358 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2359 with two `process-send-string's (Bug#11444).
8633b1f4 2360
e18afed7 23612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2362
fdb058c2
SM
2363 * shell.el (shell-parse-pcomplete-arguments):
2364 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2365
2d21d7f6
WJ
23662012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2367
e18afed7 2368 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2369 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2370 (image-transform-width, image-transform-fit-width): New functions.
2371 (image-transform-properties): Use them.
2372 (image-transform-check-size): New function.
2373 (image-toggle-display-image): Use it (for testing).
2374 (image-transform-set-rotation): Reduce angle mod 360.
2375 Delete obsolete comment.
2376
7102e6d0
WJ
23772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2378
2379 * image-mode.el: Fix scaling (bug#11399).
2380 (image-transform-resize): Doc fix.
2381 (image-transform-properties): Default scale is 1 and height should
2382 be an integer.
2383
06bc5e6e
SM
23842012-05-13 Johan Bockgård <bojohan@gnu.org>
2385
2386 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2387 than hard-coding `car', to fix misbehavior when moving forward.
2388
0ae03b6a
CY
23892012-05-13 Chong Yidong <cyd@gnu.org>
2390
2391 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2392 (tabulated-list-entries, tabulated-list-padding)
2393 (tabulated-list-sort-key): Make permanent-local.
2394
2395 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2396 (electric-buffer-list): Put electric buffer menu
2397 command descriptions in this docstring, instead of the docstring
2398 of electric-buffer-menu-mode. Code cleanups.
2399 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2400 Electric-buffer-menu-mode.
2401 (electric-buffer-update-highlight): Minor code cleanup.
2402
205a7391
MA
24032012-05-13 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2406 (Bug#11447)
2407
e5bd0a28
SM
24082012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 Move define-obsolete-variable-alias before the var's definition.
2411 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2412 * tooltip.el (tooltip-hook):
2413 * textmodes/reftex-toc.el (reftex-toc-map):
2414 * textmodes/reftex-sel.el (reftex-select-label-map)
2415 (reftex-select-bib-map):
2416 * textmodes/reftex-index.el (reftex-index-map)
2417 (reftex-index-phrases-map):
2418 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2419 * progmodes/meta-mode.el (meta-mode-map):
2420 * novice.el (disabled-command-hook):
2421 * loadhist.el (unload-hook-features-list):
2422 * frame.el (blink-cursor):
2423 * files.el (find-file-not-found-hooks, write-file-hooks)
2424 (write-contents-hooks):
2425 * emulation/tpu-edt.el (GOLD-map):
2426 * emacs-lock.el (emacs-lock-from-exiting):
2427 * emacs-lisp/generic.el (generic-font-lock-defaults):
2428 * emacs-lisp/chart.el (chart-map):
2429 * dos-fns.el (register-name-alist):
2430 * dired-x.el (dired-omit-files-p):
2431 * desktop.el (desktop-enable):
2432 * cus-edit.el (custom-mode-hook):
2433 * buff-menu.el (buffer-menu-mode-hook):
2434 * bookmark.el (bookmark-read-annotation-text-func)
2435 (bookmark-exit-hooks):
2436 * allout.el (allout-mode-deactivate-hook)
2437 (allout-exposure-change-hook, allout-structure-added-hook)
2438 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2439 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2440 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2441 comes before the corresponding variable's definition.
2442
ac59c2f6
CY
24432012-05-12 Chong Yidong <cyd@gnu.org>
2444
2445 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2446 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2447 (Buffer-menu-mode-map): Bind it.
2448 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2449
dee6c9a3
SM
24502012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2171cea5
SM
2452 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2453 (prolog-upper-case-string, prolog-lower-case-string)
2454 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2455 (prolog-use-smie, prolog-smie-grammar): New vars.
2456 (prolog-smie-forward-token, prolog-smie-backward-token)
2457 (prolog-smie-rules): New funs.
2458 (prolog-comment-indent): Remove.
2459 (prolog-mode-variables): Use default comment indentation instead.
2460 Setup SMIE.
2461 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2462 (prolog-mode): Don't call them any more.
2463 (prolog-electric-colon, prolog-electric-dash)
2464 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2465
aa0382bd
SM
2466 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2467
dbacb4bd
SM
2468 * minibuffer.el (completion--twq-all): Again, allow case differences.
2469
13bdd94c
SM
2470 * term.el: Move keymap initialization code to be more idiomatic.
2471 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2472 (term-terminal-menu): Move initialization into declaration.
2473 (term-escape-char): Let the user set it in her .emacs.
2474
ff46c759
SM
2475 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2476 Provide SMIE-based indentation (not enabled by default yet).
2477 (sh-mode-map): Don't bind electric keys.
2478 Use electric-pair-mode instead of skeleton-pair.
2479 (sh-assignment-regexp): Fit within 80 columns.
2480 (sh-indent-supported): Specify actual shell name instead of boolean.
2481 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2482 (sh-maybe-here-document): Use it. Make obsolete.
2483 (sh-electric-here-document-mode) New minor mode.
2484 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2485 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2486 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2487 (sh-smie-rc-grammar, sh-use-smie): New vars.
2488 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2489 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2490 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2491 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2492 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2493 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2494 (sh-set-shell): Use smie-setup if requested.
2495
dee6c9a3
SM
2496 * term.el (term-set-escape-char): Properly set term-escape-char.
2497 See http://stackoverflow.com/questions/10524656.
2498
9f9aa044
CY
24992012-05-10 Chong Yidong <cyd@gnu.org>
2500
2501 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2502 Use url-generic-parse-url, and handle host names and Windows
2503 filenames properly.
2504 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2505 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2506 URL schemes to work on.
2507 (ffap--toggle-read-only): New function.
2508 (ffap-read-only, ffap-read-only-other-window)
2509 (ffap-read-only-other-frame): Use it.
2510 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2511 necessary for ffap-url-unwrap-remote.
2512
836d29b3
DA
25132012-05-10 Dave Abrahams <dave@boostpro.com>
2514
2515 * cus-start.el (create-lockfiles): Add it.
2516
00fd78ed
CY
25172012-05-09 Chong Yidong <cyd@gnu.org>
2518
2519 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2520 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2521
666b903b 25222012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2523
2524 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2525
666b903b 25262012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2527
2528 * ansi-color.el (ansi-color-process-output): Check for validity of
2529 comint-last-output-start before using it. This avoids a bad
2530 interaction with gdb-mi's input/output buffer.
2531
666b903b 25322012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2533
2534 * files.el (dir-locals-read-from-file):
2535 Mention dir-locals in any error message.
2536
666b903b 25372012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2538
2539 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2540 package (Bug#11410).
2541
f677562b
CY
2542 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2543 variables into description.
2544
666b903b 25452012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2546
2547 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2548 shell-delimiter-argument-list (bug#11348).
2549 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2550
b499d8d0
JB
25512012-05-09 Juanma Barranquero <lekktu@gmail.com>
2552
8f6b6da8
JB
2553 * textmodes/rst.el: Silence byte-compiler warnings.
2554 (rst-re-alist, rst-reset-section-caches): Move around.
2555 (rst-re): Use `characterp', not `char-valid-p'.
2556 (font-lock-beg, font-lock-end): Declare.
2557
4824146a
JB
2558 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2559 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2560
b499d8d0
JB
2561 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2562
ad89bb83
GM
25632012-05-08 Glenn Morris <rgm@gnu.org>
2564
2565 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2566
8bba5a75
SM
25672012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2568
49ed9c8e
SM
2569 * vc/log-edit.el: Add GNU coding standards highlighting.
2570 (log-edit-font-lock-gnu-style)
2571 (log-edit-font-lock-gnu-keywords): New vars.
2572 (log-edit-font-lock-keywords): New fun.
2573 (log-edit-mode): Don't fold case in font-lock.
2574 (log-edit-font-lock-keywords): Do not assume case-folding.
2575
07d00b56
SM
2576 * imenu.el: Misc cleanup. Make docstrings out of comments.
2577 Use lexical-binding.
2578 (imenu--index-alist, imenu--last-menubar-index-alist)
2579 (imenu-menubar-modified-tick): Use defvar-local.
2580 (imenu--split-menu): Remove unused var.
2581 (imenu--cleanup-seen): Declare as global.
2582 (imenu--cleanup): Use dolist.
2583
8bba5a75
SM
2584 * subr.el (defvar-local): Add debug spec and doc-string position.
2585
5075bdb5
GM
25862012-05-08 Glenn Morris <rgm@gnu.org>
2587
090bd7cb 2588 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2589 * language/english.el, language/georgian.el, language/greek.el:
2590 * language/japanese.el, language/khmer.el, language/korean.el:
2591 * language/lao.el, language/misc-lang.el, language/romanian.el:
2592 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2593 * language/thai.el, language/utf-8-lang.el:
2594 Remove no-byte-compile setting.
2595
5075bdb5
GM
2596 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2597
06f679a7
AH
25982012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2599
2600 * progmodes/make-mode.el (makefile-browse):
2601 Remove unnecessary interactive. (Bug#11324)
2602
03794570
GM
26032012-05-07 Glenn Morris <rgm@gnu.org>
2604
af8630f4
GM
2605 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2606
03794570
GM
2607 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2608
f0809a9d
SM
26092012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2610
28be5ce7
SM
2611 * loadup.el: Preload newcomment.el.
2612 * newcomment.el: Move autoload-only code to toplevel.
2613
f0809a9d
SM
2614 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2615 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2616 Handle new :right-align column property.
2617 (tabulated-list-print-col): Idem, plus use `display' text-property to
2618 try and preserve alignment for variable pitch fonts.
2619
1241b724
CY
26202012-05-07 Chong Yidong <cyd@gnu.org>
2621
2622 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2623 (tabulated-list-use-header-line): New var.
2624 (tabulated-list-init-header): Use it.
2625 (tabulated-list-print-fake-header): New function.
2626 (tabulated-list-print): Use it.
2627 (tabulated-list-sort-button-map): Add non-header-line commands.
2628 (tabulated-list-init-header): Add column name property to basic
2629 labels as well.
2630 (tabulated-list-col-sort): Handle non-header-line button case.
2631 (tabulated-list--sort-by-column-name): Fix a corner case.
2632
f0809a9d
SM
2633 * buff-menu.el (list-buffers--refresh):
2634 Handle Buffer-menu-use-header-line.
1241b724 2635
e5f9458f
CY
26362012-05-06 Chong Yidong <cyd@gnu.org>
2637
2638 * buff-menu.el: Convert to Tabulated List mode.
2639 (Buffer-menu-buffer+size-width): Make obsolete.
2640 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2641 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2642 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2643 documentation into docstring of buffer-menu.
2644 (Buffer-menu-toggle-files-only): Add an informative message.
2645 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2646 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2647 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2648 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2649 (Buffer-menu-execute, Buffer-menu-select)
2650 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2651 (Buffer-menu-bury): Use Tabulated List machinery.
2652 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2653 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2654 Delete.
e5f9458f
CY
2655 (list-buffers--refresh): New function.
2656 (list-buffers-noselect): Use it.
2657 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2658 (Buffer-menu--pretty-file-name): New helper functions.
2659
2660 * loadup.el: Preload tabulated-list.
2661
2662 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2663 tabulated-list-sort-column.
2664 (tabulated-list-init-header): Add the initial aligning space even
2665 if tabulated-list-padding is zero.
2666
e129292c
CS
26672012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2668
2669 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2670 whose cdr is not a cons cell correctly (bug#11038).
2671
6632d361
CY
26722012-05-06 Chong Yidong <cyd@gnu.org>
2673
e129292c
CS
2674 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2675 Accept additional plist in column descriptors.
6632d361
CY
2676 (tabulated-list-init-header): Obey it.
2677 (tabulated-list-get-entry): New function.
2678 (tabulated-list-put-tag): Use it. Use string-width instead of
2679 length.
2680 (tabulated-list--column-number): New function.
2681 (tabulated-list-print): Use it.
e129292c
CS
2682 (tabulated-list-print-col): New function.
2683 Set `tabulated-list-column-name' property on each column's text.
6632d361 2684 (tabulated-list-print-entry): Use it.
e129292c
CS
2685 (tabulated-list-delete-entry, tabulated-list-set-col):
2686 New functions.
6632d361
CY
2687 (tabulated-list-sort-column): New command (Bug#11337).
2688
3cc99f68
CY
2689 * buff-menu.el (list-buffers): Move C-x C-b binding from
2690 buff-menu.el to bindings.el.
2691
2692 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2693 :advertised-binding feature.
2694
52b61776
TN
26952012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2696
2697 * progmodes/compile.el (compilation-internal-error-properties):
2698 Calculate start position correctly when end-col is set but
2699 end-line is not (Bug#11382).
2700
ebfe2597
WJ
27012012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2702
2703 * man.el (Man-unindent): Use text-property-default-nonsticky to
2704 prevent untabify from inheriting face properties (Bug#11408).
2705
6d3f7c2f
SM
27062012-05-05 Stefan Merten <smerten@oekonux.de>
2707
2708 * textmodes/rst.el: Major merge with upstream development up to
2709 Docutils SVN r7399 / rst.el V1.2.1.
2710
2711 Clarify maintainership and authors.
2712
2713 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2714 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2715 (rst-official-version, rst-official-cvs-rev, rst-version)
2716 (rst-package-emacs-version-alist): New functions and variables
2717 for version information.
2718
2719 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2720 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2721 (rst-mode-syntax-table, rst-mode): New and corrected functions
2722 and variables representing reStructuredText features.
2723
2724 (rst-re): New function for reStructuredText regexes. Use in
2725 many places.
2726
2727 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2728 (rst-mode-map): Rebind keys.
2729
2730 (rst-mode-lazy, rst-font-lock-keywords)
2731 (rst-font-lock-extend-region)
2732 (rst-font-lock-extend-region-internal)
2733 (rst-font-lock-extend-region-extend)
2734 (rst-font-lock-find-unindented-line-limit)
2735 (rst-font-lock-find-unindented-line-match)
2736 (rst-adornment-level, rst-font-lock-adornment-level)
2737 (rst-font-lock-adornment-match)
2738 (rst-font-lock-handle-adornment-pre-match-form)
2739 (rst-font-lock-handle-adornment-matcher): Major revision of
2740 font-locking. Integrate with other code. Use `jit-lock-mode'.
2741
2742 (rst-preferred-adornments, rst-adjust-hook)
2743 (rst-new-adornment-down, rst-preferred-bullets)
2744 (rst-preferred-bullets, rst-indent, rst-indent-width)
2745 (rst-indent-field, rst-indent-literal-normal)
2746 (rst-indent-literal-minimized, rst-indent-comment): Change,
2747 extend and improve customization.
2748
2749 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2750 (rst-normalize-cursor-position, rst-get-decoration)
2751 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2752 (rst-rstrip, rst-toc-insert-find-delete-contents)
2753 (rst-shift-fill-region, rst-compute-bullet-tabs)
2754 (rst-debug-print-tabs, rst-debug-mark-found)
2755 (rst-shift-region-guts, rst-shift-region-right)
2756 (rst-shift-region-left, rst-use-char-classes)
2757 (rst-font-lock-keywords-function)
2758 (rst-font-lock-indentation-point)
2759 (rst-font-lock-find-unindented-line-begin)
2760 (rst-font-lock-find-unindented-line-end)
2761 (rst-font-lock-find-unindented-line)
2762 (rst-font-lock-adornment-point, rst-font-lock-level)
2763 (rst-adornment-level-alist): Remove functions and variables.
2764
2765 (rst-compare-adornments, rst-get-adornment-match)
2766 (rst-suggest-new-adornment, rst-get-adornments-around)
2767 (rst-adornment-complete-p, rst-get-next-adornment)
2768 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2769 (rst-straighten-adornments): Standardize function names to
2770 use "adornment" instead of "decoration". Correct callers.
2771 Similar standardizing in many places.
2772
2773 (rst-update-section, rst-adjust, rst-promote-region)
2774 (rst-enumerate-region, rst-bullet-list-region)
2775 (rst-repeat-last-character): Correct use of `interactive'.
2776
2777 (rst-classify-adornment, rst-find-all-adornments)
2778 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2779 (rst-find-leftmost-column, rst-repeat-last-character):
2780 Refactor functions.
2781
2782 (rst-find-title-line, rst-reset-section-caches)
2783 (rst-get-adornments-around, rst-adjust-adornment-work)
2784 (rst-arabic-to-roman, rst-roman-to-arabic)
2785 (rst-insert-list-pos, rst-insert-list-new-item)
2786 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2787 New functions.
2788
2789 (rst-all-sections, rst-section-hierarchy)
2790 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2791 New variables.
2792
2793 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2794 configuration instead of only buffer. Change where necessary.
2795
2796 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2797 (rst-shift-region, rst-adaptive-fill): New functions for
2798 indentation and filling.
2799
2800 (rst-comment-line-break, rst-comment-indent)
2801 (rst-comment-insert-comment, rst-comment-region)
2802 (rst-uncomment-region): New functions for handling comments.
2803
2804 (rst-compile): Quote shell arguments.
2805
2806 (rst-compile-pdf-preview, rst-compile-slides-preview):
2807 Delete temporary files after use.
2808
a43f98b3
GM
28092012-05-05 Glenn Morris <rgm@gnu.org>
2810
48176e8b
GM
2811 * calendar/cal-html.el: Optionally include holidays in the output.
2812 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2813 (cal-html-holidays): New option.
2814 (cal-html-css-default): Add holiday entry.
2815 (holiday-in-range): Autoload it.
2816 (cal-html-htmlify-entry): Add optional class argument.
2817 (cal-html-htmlify-list): Add optional holidays argument.
2818 (cal-html-insert-agenda-days): Include holidays in the output.
2819 (cal-html-one-month): Maybe include holidays.
2820
a43f98b3
GM
2821 * calendar/holidays.el (holiday-in-range):
2822 Move here from cal-tex-list-holidays.
2823 * calendar/cal-tex.el (cal-tex-list-holidays):
2824 Make it an obsolete alias for holiday-in-range. Update all callers.
2825
fef9d149 28262012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2827
2828 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2829 Nextstep.
2830
248da2f4
RW
28312012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2832
2833 * files.el (file-auto-mode-skip): New var.
2834 (set-auto-mode-1): Use it.
2835
f95e9344
SM
28362012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2837
df96ab1e
SM
2838 * repeat.el: Use lexical-binding.
2839 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2840 (repeat-undo-count): Remove.
2841 (repeat):
2842 * progmodes/octave-mod.el (octave-abbrev-start):
2843 * progmodes/f90.el (f90-abbrev-start):
2844 * face-remap.el (text-scale-adjust):
2845 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2846
5342bb06
SM
2847 * emacs-lisp/pcase.el (pcase--let*): New function.
2848 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2849 a bit more.
2850 (pcase--split-pred): Be more clever about ruling out overlap between
2851 a predicate and some constant pattern.
2852 (pcase--q1): Use `null' instead of (eq foo nil).
2853
f95e9344
SM
2854 * subr.el (setq-local, defvar-local): New macros.
2855 (kbd): Redefine as an alias.
2856 (with-selected-window): Leave unrelated frames alone.
2857 (set-temporary-overlay-map): New function.
2858
71873e2b
SM
28592012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * subr.el (user-error): New function.
2862 * window.el (switch-to-buffer):
2863 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2864 (smerge-match-conflict):
2865 * simple.el (previous-matching-history-element)
2866 (next-matching-history-element, goto-history-element, undo-more)
2867 (undo-start):
2868 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2869 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2870 (next-file, tags-loop-scan, list-tags, complete-tag):
2871 * progmodes/compile.el (compilation-loop):
2872 * mouse.el (mouse-minibuffer-check):
2873 * man.el (Man-bgproc-sentinel, Man-goto-page):
2874 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2875 (Info-history-forward, Info-follow-reference, Info-menu)
2876 (Info-extract-menu-item, Info-extract-menu-counting)
2877 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2878 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2879 (Info-next-reference, Info-prev-reference, Info-index)
2880 (Info-index-next, Info-follow-nearest-node)
2881 (Info-copy-current-node-name):
2882 * imenu.el (imenu--make-index-alist)
2883 (imenu-default-create-index-function, imenu-add-to-menubar):
2884 * files.el (basic-save-buffer, recover-file):
2885 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2886 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2887 (checkdoc-message-text, checkdoc-defun):
2888 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2889 * cus-edit.el (customize-changed-options, customize-rogue)
2890 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2891 (custom-variable-mark-to-reset-standard)
2892 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2893 (custom-file):
2894 * completion.el (check-completion-length):
2895 * comint.el (comint-search-arg)
2896 (comint-previous-matching-input-string-position)
2897 (comint-previous-matching-input)
2898 (comint-replace-by-expanded-history-before-point, comint-send-input)
2899 (comint-copy-old-input, comint-backward-matching-input)
2900 (comint-goto-process-mark, comint-set-process-mark):
2901 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2902 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2903
8a61ee22
SM
29042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2905
66408d1e
SM
2906 * dabbrev.el (dabbrev--ignore-case-p): New function.
2907 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2908 Use it.
2909
8a61ee22
SM
2910 * files.el (automount-dir-prefix): Mark as obsolete.
2911
3c74813a
GM
29122012-05-04 Glenn Morris <rgm@gnu.org>
2913
2914 * patcomp.el, play/bruce.el: Move to obsolete/.
2915
0bfcf5c5
PE
29162012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2917
2918 Fix minor Y10k bugs.
2919 * arc-mode.el (archive-unixdate):
2920 * autoinsert.el (auto-insert-alist):
2921 * calc/calc-forms.el (math-this-year):
2922 * emacs-lisp/copyright.el (copyright-current-year)
2923 (copyright-update-year, copyright):
2924 * tar-mode.el (tar-clip-time-string):
2925 * time.el (display-time-update):
2926 Don't assume years have 4 digits.
2927
78f3273a
CY
29282012-05-04 Chong Yidong <cyd@gnu.org>
2929
2930 * dos-w32.el (file-name-buffer-file-type-alist)
2931 (direct-print-region-use-command-dot-com):
2932 * ffap.el (ffap-menu-regexp):
2933 * find-file.el (ff-special-constructs):
2934 * follow.el (follow-debug):
2935 * forms.el (forms--debug):
2936 * iswitchb.el (iswitchb-all-frames):
2937 * ido.el (ido-all-frames):
2938 * emacs-lisp/timer.el (timer-max-repeats):
2939 * mail/feedmail.el (feedmail-mail-send-hook)
2940 (feedmail-mail-send-hook-queued):
2941 * mail/footnote.el (footnote-signature-separator):
2942 * mail/mailabbrev.el (mail-alias-separator-string)
2943 (mail-abbrev-mode-regexp):
2944 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2945 * progmodes/idlwave.el (idlwave-libinfo-file)
2946 (idlwave-default-completion-case-is-down)
2947 (idlwave-library-routines): Convert defvars to defcustoms.
2948
2949 * mail/rmail.el (rmail-decode-mime-charset):
2950 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2951 (idlwave-shell-fix-inserted-breaks)
2952 (idlwave-shell-activate-alt-keybindings)
2953 (idlwave-shell-use-breakpoint-glyph):
2954 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2955
f7ae6719
SM
29562012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2959
47086495
WS
29602012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2961
2962 * progmodes/verilog-mode.el (font-lock-keywords):
2963 Fix mis-highligting auto. Reported by Craig Barner.
2964 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2965 defines from global name space. Reported by Dan Dever.
2966 (verilog-auto-reset, verilog-auto-reset-widths)
2967 (verilog-auto-tieoff): Support using unbased numbers for
2968 AUTORESET and AUTOTIEOFF.
2969 (verilog-submit-bug-report): Update variable list.
2970 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2971 parenthesis from not matching. Reported by Michael Rytting.
2972 (verilog-auto-template-lint): Fix hash error when linting modules
2973 with no used templates.
2974 (verilog-warn, verilog-warn-error)
2975 (verilog-warn-fatal): When non-interactive report multiple
2976 warnings before exiting. Suggested by Brad Dobbie.
2977 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2978 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2979 to report unused template errors. Reported by Brad Dobbie.
2980 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2981 nets, bug438. Reported by Vns Blore.
2982 (verilog-auto-inout-module, verilog-auto-reg)
2983 (verilog-read-decls, verilog-read-sub-decls-sig)
2984 (verilog-signals-edit-wire-reg, verilog-signals-with):
2985 Fix passing of Verilog data types in ANSI input/output ports
2986 such as "output logic" into the AUTOs. Special case "wire" and
2987 "reg" for backwards compatibility presuming Verilog 2001.
2988 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2989 (verilog-preprocess): Fix replication of preprocess output.
2990 Reported by Brad Dobbie.
2991 (verilog-auto-inst-interfaced-ports):
2992 Create verilog-auto-inst-interfaced-ports, bug429.
2993 Reported by Julian Gorfajn.
2994 (verilog-after-save-font-hook)
2995 (verilog-before-save-font-hook): New variable.
2996 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2997 (verilog-save-font-mods): Wrap disabling fontification, reported
2998 by David Rogoff.
2999 (verilog-do-indent, verilog-pretty-declarations-auto)
3000 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3001 Reported by Pierre-David Pfister.
3002 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3003 of class declarations, bug292. Reported by Kevin Heilman.
3004 (verilog-read-decls): Fix 'parameter type' not appearing in
3005 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3006 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3007 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3008 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3009 Reported by David Kravitz.
3010
30112012-05-03 Michael McNamara <mac@mail.brushroad.com>
3012
3013 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3014 assignment with tests in ifs and for loops.
3015 (verilog-extended-complete-re, verilog-complete-reg): Change so
3016 that DPI inport functions don't look like fuction declarations.
3017 (verilog-pretty-expr): Don't line up assignment
3018 operations to the test and increment in if and for loops
3019 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3020 that DPI inport functions don't look like fuction declarations.
47086495 3021
2e51d4b5
KH
30222012-05-03 Kenichi Handa <handa@m17n.org>
3023
3024 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3025 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3026 (Bug#11282).
3027
2bd785a2
SM
30282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacs-lisp/bytecomp.el
3031 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3032 since cconv.el might have introduced :fun-body, internal-make-closure,
3033 and friends for bytecomp to handle (bug#11391).
3034 * custom.el (defcustom): Avoid ((λ ..) ..).
3035
99d27583
SM
30362012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3039
55a71479
JB
30402012-05-02 Juanma Barranquero <lekktu@gmail.com>
3041
3042 * notifications.el (dbus-debug):
3043 * term/linux.el (gpm-mouse-enable):
3044 * term/screen.el (xterm-register-default-colors): Declare.
3045
7b97c764
CY
30462012-05-02 Chong Yidong <cyd@gnu.org>
3047
2bc356d7
CY
3048 * cus-start.el (gc-cons-percentage, exec-suffixes)
3049 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3050 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3051 (make-cursor-line-fully-visible, void-text-area-pointer)
3052 (font-list-limit): Add customization data.
3053
7b97c764
CY
3054 * allout.el (allout-exposure-change-functions)
3055 (allout-structure-added-functions)
3056 (allout-structure-deleted-functions)
3057 (allout-structure-shifted-functions): Rename abnormal hooks from
3058 *-hook, and convert to defcustoms.
5d3385a0
JB
3059 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3060 Convert to defcustoms.
7b97c764
CY
3061 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3062
3063 * allout-widgets.el: Hook callers changed.
3064
90207a15 30652012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3066
3067 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3068 the yanked message in preference to the default value of
3069 buffer-file-coding-system.
3070
90207a15 30712012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3072
5d3385a0
JB
3073 * window.el (display-buffer--action-function-custom-type):
3074 Fix entry.
d9558cad 3075
90207a15 30762012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3077
3078 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3079
d80ac57b
GM
30802012-05-01 Glenn Morris <rgm@gnu.org>
3081
976f7668
GM
3082 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3083
beb83b5a
GM
3084 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3085
d80ac57b
GM
3086 * cus-edit.el (custom-variable-documentation): Simplify with format.
3087
b593d6a9
AH
30882012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3089 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * simple.el (suggest-key-bindings, execute-extended-command):
3092 Move from keyboard.c.
3093
782fbf2a
CY
30942012-05-01 Chong Yidong <cyd@gnu.org>
3095
3096 * follow.el: Eliminate advice.
3097 (set-process-filter, process-filter, sit-for): Advice deleted.
3098 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3099 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3100 Vars deleted.
782fbf2a
CY
3101 (follow-auto): Use a :set function.
3102 (follow-mode): Rewritten. Don't advise process filters.
3103 (follow-switch-to-current-buffer-all, follow-scroll-up)
3104 (follow-scroll-down): Assume follow-mode is bound.
3105 (follow-comint-scroll-to-bottom)
3106 (follow-align-compilation-windows): New functions.
3107 (follow--window-sorter): New function.
3108 (follow-all-followers): Use it to explicitly sort windows by their
3109 positions; don't make assumptions about next-window order.
3110 (follow-windows-start-end, follow-delete-other-windows-and-split)
3111 (follow-calc-win-start): Doc fix.
3112 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3113 vertical-motion unnecessarily.
3114 (follow-adjust-window): New function.
3115 (follow-post-command-hook): Use it.
3116 (follow-call-set-process-filter, follow-call-process-filter)
3117 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3118 (follow-stop-intercept-process-output, follow-generic-filter):
3119 Functions deleted.
3120 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3121 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3122 New functions, replacing advice on scroll-bar-* commands.
87233a14 3123 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3124
3125 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3126 (comint-postoutput-scroll-to-bottom): Use it.
3127 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3128
290af740
GM
31292012-05-01 Glenn Morris <rgm@gnu.org>
3130
3131 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3132 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3133 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3134 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3135 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3136 Remove no-byte-compile setting.
3137
6eac8dc9
SM
31382012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3141 all-completions code to not return a number in the last cdr.
3142
9cc7819c
LL
31432012-04-30 Leo Liu <sdl.web@gmail.com>
3144
3145 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3146 read-only error.
3147
c93b886f
CY
31482012-04-29 Chong Yidong <cyd@gnu.org>
3149
3150 * follow.el (follow-calc-win-end): Rewrite to handle partial
3151 screen lines correctly (Bug#8390).
3152 (follow-avoid-tail-recenter): Minor cleanup.
3153
8b6c19f4
SM
31542012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 Avoid the obsolete `assoc' package.
3157 * speedbar.el (speedbar-refresh): Avoid adelete.
3158 (speedbar-file-lists): Simplify and avoid aput.
3159 * man.el (Man--sections, Man--refpages): New vars, replacing
3160 Man-sections-alist and Man-refpages-alist.
3161 (Man-build-section-alist, Man-build-references-alist):
3162 Use them; avoid aput.
3163 (Man--last-section, Man--last-refpage): New vars.
3164 (Man-follow-manual-reference): Use them.
3165 Use the `default' arg of completing-read.
3166 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3167
c5bb7569
CY
31682012-04-27 Chong Yidong <cyd@gnu.org>
3169
d1d2e2e8
CY
3170 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3171
15cd8efd
CY
3172 * startup.el (x-apply-session-resources): New function.
3173
3174 * term/ns-win.el (ns-initialize-window-system):
3175 * term/w32-win.el (w32-initialize-window-system):
3176 * term/x-win.el (x-initialize-window-system): Use it to properly
3177 set menu-bar-mode and other vars from X resources, even if the
3178 initial frame is not a window-system frame (Bug#2299).
3179
c5bb7569
CY
3180 * subr.el (read-key): Avoid running filter function when setting
3181 up temporary tool bar entries (Bug#9922).
3182
a8e7d6d7 31832012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3184
3185 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3186 (Bug#11344)
3187
a8e7d6d7 31882012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3189
3190 * select.el (xselect--encode-string): New function, split from
3191 xselect-convert-to-string.
3192 (xselect-convert-to-string): Use it.
3193 (xselect-convert-to-filename, xselect-convert-to-os)
3194 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3195 returned strings are properly encoded (Bug#11315).
3196
a8e7d6d7 31972012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3198
3199 * simple.el (delete-active-region): Move to killing custom group.
3200
a8e7d6d7 32012012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3202
3203 * progmodes/which-func.el (which-func-current): Quote %
3204 characters for mode-line processing.
3205
578c1d4b 32062012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3207
3208 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3209 reaching eob (Bug#11286).
3210
a8e7d6d7 32112012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3212
3213 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3214 (gdb): Make it buffer-local and init to zero.
3215 (gdb-control-commands-regexp): New variable.
3216 (gdb-send): Don't wrap in "-interpreter-exec console" if
3217 gdb-control-level is positive. Increment gdb-control-level
3218 whenever the command matches gdb-control-commands-regexp, and
3219 decrement it each time the command is "end". (Bug#11279)
3220
a8e7d6d7 32212012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3222
3223 * window.el (adjust-window-trailing-edge, enlarge-window)
3224 (shrink-window, window-resize):
3225 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3226 windows (Bug#11276).
3227
b3608390
CY
32282012-04-27 Chong Yidong <cyd@gnu.org>
3229
3230 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3231 fix "missing prefix" warning. All callers changed.
b3608390 3232
797e6e88
SM
32332012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/assoc.el: Move to obsolete/.
3236
e95a67dc
SM
32372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3238
657c21e4 3239 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3240
3241 * term/ns-win.el (ns-define-service):
3242 * progmodes/pascal.el (pascal-goto-defun):
3243 * progmodes/js.el (js--read-tab):
3244 * progmodes/etags.el (tags-lazy-completion-table):
3245 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3246 * emacs-lisp/ewoc.el (ewoc--wrap):
3247 * emacs-lisp/assoc.el (aput, adelete, amake):
3248 * doc-view.el (doc-view-convert-current-doc):
3249 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3250
cb3e7ae0
CY
32512012-04-26 Chong Yidong <cyd@gnu.org>
3252
dce04f7f
CY
3253 * image.el (image-type-from-buffer): Only return supported image
3254 type (Bug#9045).
3255
cb3e7ae0
CY
3256 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3257 value, for symmetry with diff-end-of-hunk.
3258 (diff-split-hunk, diff-find-source-location)
3259 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3260 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3261 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3262 compute the relevant hunk or file properly (Bug#6005).
3263 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3264
0d42eb3e
SM
32652012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * vc/vc-mtn.el:
3268 * vc/vc-hg.el:
3269 * vc/vc-git.el:
3270 * vc/vc-dir.el:
3271 * vc/vc-cvs.el:
3272 * vc/vc-bzr.el:
3273 * vc/vc-arch.el:
3274 * vc/vc.el: Replace lexical-let by lexical-binding.
3275 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3276 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3277 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3278
f08ae1c9
CY
32792012-04-26 Chong Yidong <cyd@gnu.org>
3280
8b71081d
CY
3281 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3282 (diff-mode-shared-map): Bind it to / and [remap undo].
3283
f08ae1c9
CY
3284 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3285 (ediff-window-setup-function): Use it as the default, to set up
3286 windows based on whether the current frame is graphical (Bug#2138).
3287 (ediff-choose-window-setup-function-automatically): Make obsolete.
3288
3289 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3290
ef24141c
SM
32912012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3292
cc356a5d
SM
3293 * ffap.el: Remove old code for obsolete package.
3294 (ffap-complete-as-file-p): Remove.
3295
b4ff4f1f
SM
3296 Use completion-table-with-quoting for comint and pcomplete.
3297 * comint.el (comint--unquote&requote-argument)
3298 (comint--unquote-argument, comint--requote-argument): New functions.
3299 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3300 (comint-quote-filename): Use regexp-opt-charset.
3301 (comint--common-suffix, comint--common-quoted-suffix)
3302 (comint--table-subvert): Remove.
3303 (comint-unquote-function, comint-requote-function): New vars.
3304 (comint--complete-file-name-data): Use them with
3305 completion-table-with-quoting.
3306 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3307 * pcomplete.el (pcomplete-arg-quote-list)
3308 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3309 (pcomplete-unquote-argument-function): Default to non-nil.
3310 (pcomplete-unquote-argument): Simplify.
3311 (pcomplete--common-quoted-suffix): Remove.
3312 (pcomplete-requote-argument-function): New var.
3313 (pcomplete--common-suffix): New function.
3314 (pcomplete-completions-at-point): Use completion-table-with-quoting
3315 and completion-table-subvert.
3316
79c4eeb4
SM
3317 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3318 (minibuffer--double-dollars): Preserve properties.
3319 (completion--sifn-requote): New function.
3320 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3321
ef24141c
SM
3322 * minibuffer.el: Add support for completion of quoted/escaped data.
3323 (completion-table-with-quoting, completion-table-subvert): New funs.
3324 (completion--twq-try, completion--twq-all): New functions.
3325 (completion--nth-completion): New function.
3326 (completion-try-completion, completion-all-completions): Use it.
3327
784e7d6e
LL
33282012-04-25 Leo Liu <sdl.web@gmail.com>
3329
dd2ac746
SM
3330 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3331 Use compilation-message if available to find real filename.
784e7d6e 3332
07875ee7
CY
33332012-04-25 Chong Yidong <cyd@gnu.org>
3334
3335 * vc/diff-mode.el (diff-setup-whitespace): New function.
3336 (diff-mode): Use it.
3337
3338 * vc/diff.el (diff-sentinel):
3339 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3340 Whitespace mode variables based on diff style (Bug#8612).
3341
5055880d
LL
33422012-04-25 Leo Liu <sdl.web@gmail.com>
3343
daf75653
LL
3344 * progmodes/python.el (python-send-region): Add suffix .py to the
3345 temp file.
3346
5055880d
LL
3347 * files.el (auto-mode-alist): Use javascript-mode instead.
3348
db9b177b
AH
33492012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3350
ef24141c 3351 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3352
090bd7cb 3353 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3354 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3355 references, see Bug#9.
ef24141c 3356 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3357 when receiving a fault reply.
ef24141c 3358 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3359
090bd7cb 3360 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3361 (soap-inspect-simple-type): New function.
db9b177b 3362
090bd7cb 3363 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3364 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3365 (soap-decode-basic-type, soap-encode-basic-type):
3366 support unsignedInt and double basic types.
db9b177b 3367 (soap-resolve-references-for-simple-type)
ef24141c
SM
3368 (soap-parse-simple-type, soap-encode-simple-type): New function.
3369 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3370
090bd7cb 3371 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3372 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3373 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3374 the local name of "soapenc:Array".
3375 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3376 decoding integer, byte and anyURI xsd types.
3377
1fc6097b
CY
33782012-04-25 Chong Yidong <cyd@gnu.org>
3379
3380 * cus-edit.el (custom-buffer-create-internal): Update header text.
3381
afc6df87
EZ
33822012-04-25 Eli Zaretskii <eliz@gnu.org>
3383
3384 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3385 settings on 'system-type', not on 'window-system'. On MS-Windows,
3386 set interactive-mode on in GDB.
3387
dfbd787f
SM
33882012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3391 (ruby-syntax-propertize-regexp): Remove.
3392 (ruby-syntax-propertize-function): Split regexp into chunks.
3393 Match following code directly.
3394
85222d44
DG
33952012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3396
51a8ea2a
DG
3397 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3398 (ruby-syntax-propertize-regexp): New function.
3399 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3400 by a special keyword.
3401
85222d44
DG
3402 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3403 (ruby-syntax-general-delimiters-goto-beg)
3404 (ruby-syntax-propertize-general-delimiters): New functions.
3405 (ruby-syntax-propertize-function): Use them to handle GDL.
3406 (ruby-font-lock-keywords): Move old handling of GDL...
3407 (ruby-font-lock-syntactic-keywords): .. to here.
3408 (ruby-calculate-indent): Adjust indentation for GDL.
3409
b613912b
MA
34102012-04-24 Michael Albinus <michael.albinus@gmx.de>
3411
b5380639
MA
3412 * notifications.el (top): Remove unneeded declarations.
3413 (notifications-specification-version): Change to "1.2".
e43042fe 3414 (notifications-interface, notifications-notify-method)
b613912b
MA
3415 (notifications-close-notification-method): Fix docstring.
3416 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3417 (notifications-notify): Add :action-items, :resident and
3418 :transient hints. Change "image_data" to "image-data" and
3419 "image_path" to "image-path".
b613912b
MA
3420 (notifications-get-capabilities): New defun.
3421
257440aa
LL
34222012-04-24 Leo Liu <sdl.web@gmail.com>
3423
3424 * progmodes/python.el: Move hideshow setup to the end.
3425
b1bac16e
MR
34262012-04-24 Martin Rudalics <rudalics@gmx.at>
3427
3428 * window.el (handle-select-window): Clear echo area since this is
3429 no more done by read_char (Bug#11304).
3430
d81bd059
SM
34312012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3434 and `/ M' to filter-derived-mode.
3435 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3436 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3437 (ibuffer-mark-by-mode): Use default rather than initial-input.
3438 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3439
c4cf6d91
IA
34402012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3441
3442 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3443 (ibuffer-filter-by-derived-mode): New filter.
3444 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3445
7511ded8
CY
34462012-04-23 Andreas Politz <politza@fh-trier.de>
3447
3448 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3449
775c916b
CY
34502012-04-23 Chong Yidong <cyd@gnu.org>
3451
3452 * cus-edit.el (customize-apropos, customize-apropos-options):
3453 Disable matching of non-option variables (Bug#11176).
3454 (customize-option, customize-option-other-window)
3455 (customize-changed-options): Doc fix.
3456 (customize-apropos-options, customize-apropos-faces)
3457 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3458
3459 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3460 Fix word list splitting (Bug#11132).
46c71e23
CY
3461 (apropos-symbol, apropos-keybinding, apropos-label)
3462 (apropos-property, apropos-function-button)
3463 (apropos-variable-button, apropos-misc-button): New faces.
3464 (apropos-symbol-face, apropos-keybinding-face)
3465 (apropos-label-face, apropos-property-face, apropos-match-face):
3466 Variables removed (Bug#8396).
3467 (apropos-library-button, apropos-format-plist, apropos-print)
3468 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3469
2df41f9c
MA
34702012-04-23 Michael Albinus <michael.albinus@gmx.de>
3471
3472 * net/xesam.el (xesam-mode-map): Use let-bound map in
3473 initialization. (Bug#11292)
3474
da00640a
AM
34752012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3476
3477 Preserve ispell session localwords when switching back to
3478 original buffer.
3479
090bd7cb
JB
3480 * textmodes/ispell.el (ispell-buffer-session-localwords):
3481 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3482 (ispell-kill-ispell): add option 'clear to delete session
3483 localwords.
3484 (ispell-command-loop, ispell-change-dictionary)
3485 (ispell-buffer-local-words): Preserve session localwords when
3486 needed.
3487
090bd7cb
JB
3488 * textmodes/flyspell.el (flyspell-process-localwords)
3489 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3490
f621ccf5
AM
34912012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3492
090bd7cb
JB
3493 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3494 using obsolete `translation-table-for-input'.
ef24141c
SM
3495 (ispell-word, ispell-process-line, ispell-complete-word):
3496 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3497
c2d1019e
CY
34982012-04-22 Chong Yidong <cyd@gnu.org>
3499
3500 * cus-edit.el (custom-variable-menu)
3501 (custom-variable-reset-saved, custom-face-menu)
3502 (custom-face-reset-saved): If there is no saved value, make the
3503 "reset-saved" operation bring back the default (Bug#9509).
3504 (custom-face-state): Properly detect themed faces.
3505
eeddc531
CY
3506 * faces.el (face-spec-set): Stop supporting deprecated form of
3507 third arg.
3508
dcbf5805
MA
35092012-04-22 Michael Albinus <michael.albinus@gmx.de>
3510
3511 Move functions from C to Lisp. Make non-blocking method calls
3512 the default. Implement further D-Bus standard interfaces.
3513
ef24141c
SM
3514 * net/dbus.el (dbus-message-internal): Declare function.
3515 Remove unneeded function declarations.
dcbf5805
MA
3516 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3517 (dbus-message-type-method-return, dbus-message-type-error)
3518 (dbus-message-type-signal): Declare variables. Remove local
3519 definitions.
3520 (dbus-interface-dbus, dbus-interface-peer)
3521 (dbus-interface-introspectable, dbus-interface-properties)
3522 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3523 Adapt docstring.
3524 (dbus-interface-objectmanager): New defconst.
3525 (dbus-call-method, dbus-call-method-asynchronously)
3526 (dbus-send-signal, dbus-method-return-internal)
3527 (dbus-method-error-internal, dbus-register-service)
3528 (dbus-register-signal, dbus-register-method): New defuns, moved
3529 from dbusbind.c
3530 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3531 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3532 New defuns.
dcbf5805
MA
3533 (dbus-call-method-non-blocking): Make it an obsolete function.
3534 (dbus-unregister-object, dbus-unregister-service)
3535 (dbus-handle-event, dbus-register-property)
3536 (dbus-property-handler): Obey the new structure of
3537 `bus-registered-objects'.
3538 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3539 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3540 Use `dbus-call-method'.
3541
cf20dee0
CY
35422012-04-22 Chong Yidong <cyd@gnu.org>
3543
3544 * cus-edit.el (custom-commands, custom-reset-menu)
3545 (Custom-reset-standard): Tweak labels.
3546 (custom-reset-button-menu): Change default to t.
3547 (custom-buffer-create-internal): For the custom-reset-button-menu
3548 case, put the revert button first.
3549 (custom-group-subtitle): New face.
3550 (custom-group-value-create): Align docstring to a specific column.
3551
3552 * wid-edit.el (widget-documentation-link-add): Don't handle
3553 indentation in this function.
3554 (widget-documentation-string-indent-to): New function.
3555 (widget-documentation-string-value-create): Use it.
3556
3557 * autorevert.el (auto-revert):
3558 * epg-config.el (epg):
3559 * ibuffer.el (ibuffer):
3560 * mpc.el (mpc):
3561 * ses.el (ses):
3562 * eshell/eshell.el (eshell):
3563 * net/ange-ftp.el (ange-ftp):
3564 * progmodes/ebnf2ps.el (postscript):
3565 * progmodes/flymake.el (flymake):
3566 * progmodes/prolog.el (prolog):
3567 * progmodes/verilog-mode.el (verilog-mode):
3568 * progmodes/which-func.el (which-func):
3569 * term/xterm.el (xterm):
3570 * textmodes/picture.el (picture):
3571 * textmodes/tildify.el (tildify):
3572 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3573 customization buffers.
3574
583e23bd
AM
35752012-04-22 Alan Mackenzie <acm@muc.de>
3576
3577 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3578 Adding a ) can hide the resulting (..) from searches. Fix it.
3579 Bound the backward search to the position of the existing (.
3580
7dd51bf1
JB
35812012-04-21 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * progmodes/verilog-mode.el (verilog-mode): Check whether
3584 which-func-modes is t before adding verilog-mode.
3585 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3586
d64a438f
LL
35872012-04-21 Leo Liu <sdl.web@gmail.com>
3588
7dd51bf1 3589 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3590
081e8d65
MV
35912012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3592
3593 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3594 filling of the last column of a table (Bug#5635).
3595 (woman-find-next-control-line): New arg, specifying an additional
3596 regexp component for the control line.
3597 (woman2-roff-buffer): Use it.
3598 (woman-break-table): New function.
3599 (woman2-TS): Use it.
3600
36012012-04-21 Chong Yidong <cyd@gnu.org>
3602
3603 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3604 (woman-horizontal-escapes, woman-negative-vertical-space)
3605 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3606 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3607
ed571ccb
SM
36082012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * minibuffer.el (completion-file-name-table): Complete user names.
3611
39773899
LL
36122012-04-20 Leo Liu <sdl.web@gmail.com>
3613
3614 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3615 and pcase-let*.
3616
de6ff46d
CY
36172012-04-20 Chong Yidong <cyd@gnu.org>
3618
3619 * server.el (server-execute): Respect initial-buffer-choice if it
3620 is a string and there are no files to open (Bug#2825).
3621 (server-create-window-system-frame, server-create-tty-frame):
3622 Don't switch buffers here.
2d0e8e61
CY
3623 (server-process-filter): Only try to open a window system frame if
3624 compiled with graphical support (Bug#8314).
de6ff46d 3625
54071013
DN
36262012-04-20 Dan Nicolaescu <dann@gnu.org>
3627
3628 * battery.el (battery-echo-area-format): Display remaining time
3629 for sysfs backend too (Bug#11269).
3630 (battery-linux-sysfs): Fix conditional for the charge.
3631
f30d612a
CY
36322012-04-20 Chong Yidong <cyd@gnu.org>
3633
c07a4c0b 3634 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3635 (gdb-inferior-io--init-proc): New function.
3636 (gdb-init-1): Use it.
3637 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3638 responsible for allocating a new pty and hooking it to gdb when
3639 the old pty gets an EIO due to process exit.
3640 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3641 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3642 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3643
2116e93c
EZ
36442012-04-20 Eli Zaretskii <eliz@gnu.org>
3645
3646 * window.el (window-min-size, window-sizable, window-min-delta)
3647 (window-max-delta, window--resizable, window-resizable)
3648 (window-total-size, window-full-height-p, window-full-width-p)
3649 (window-in-direction, window--resize-mini-window, window-resize)
3650 (window--resize-child-windows-normal)
3651 (window--resize-child-windows, window--resize-siblings)
3652 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3653 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3654
c07a4c0b 36552012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3656
ef24141c
SM
3657 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3658 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3659 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3660 pty process (Bug#11273).
3661 (gdb-update): New arg to suppress talking to the gdb process.
3662 (gdb-done-or-error): Use it.
3663 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3664 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3665 sentinel not being called.
3666
3667 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3668
d02766ab
CY
3669 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3670
c07a4c0b 36712012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3672
3673 * net/network-stream.el (open-network-stream): Doc fix.
3674
c07a4c0b 36752012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3676
3677 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3678
c07a4c0b 36792012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3680
3681 Ensure searching for keywords is case sensitive.
3682
3683 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3684 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3685 (c-defun-name, c-mark-function, c-cpp-define-name)
3686 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3687 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3688
ef24141c
SM
3689 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3690 Bind case-fold-search to nil.
f0f6bc35 3691
c07a4c0b 36922012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3693
3694 * mail/sendmail.el (mail-bury): Call return action with the right
3695 Rmail buffer (Bug#11242).
3696
9a864fa2
CY
3697 * server.el (server-process-filter): Handle corner case where both
3698 tty and nowait options are present (Bug#11102).
3699
539aa513
EZ
37002012-04-20 Eli Zaretskii <eliz@gnu.org>
3701
3702 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3703 (top level): Put into the executable the ident-style '$Id:' tag on
3704 windows-nt as well.
539aa513 3705
cfc7d5da
SM
37062012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * electric.el (electric-indent-post-self-insert-function): Check that
3709 electric-indent-mode is enabled in current buffer.
3710
5b01685c
JB
37112012-04-19 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * imenu.el (imenu-progress-message): Restore; it is "used" in
3714 erc/erc-imenu.el and net/snmp-mode.el.
3715
4d6769e1
JB
37162012-04-19 Juanma Barranquero <lekktu@gmail.com>
3717
3718 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3719 (mouse-avoidance-nudge-mouse): Remove unused binding.
3720
3721 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3722
3723 * descr-text.el (describe-char):
3724 * progmodes/python.el (python-describe-symbol):
3725 Don't call `toggle-read-only', set `buffer-read-only'.
3726
3727 * imenu.el (imenu-default-goto-function): Mark unused args.
3728 (imenu-progress-message): Remove obsolete macro; all callers changed.
3729
3730 * subr.el (keymap-canonicalize): Remove unused binding.
3731 (read-passwd): Mark unused arg.
3732
3733 * tutorial.el (tutorial--display-changes): Remove unused binding.
3734 (tutorial--save-tutorial-to): Remove unused variable.
3735
3736 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3737 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3738 (package-generate-autoloads, package-menu--generate)
3739 (package-menu--find-upgrades): Remove unused bindings.
3740
3741 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3742 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3743 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3744 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3745 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3746 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3747 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3748 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3749 (cua-delete-char-rectangle): Mark unused args.
3750 (cua-align-rectangle): Remove unused binding.
3751
3752 * mail/rmail.el (compilation--message->loc)
3753 (epa--find-coding-system-for-mime-charset): Declare.
3754
3755 * net/dbus.el (dbus-register-service): Declare.
3756 (dbus-name-owner-changed-handler): Remove unused binding.
3757
3758 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3759 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3760 (nxml-scan-backward-within): Mark unused arg.
3761 (nxml-dynamic-markup-word): Remove unused binding.
3762
3763 * mouse.el (mouse-menu-major-mode-map):
3764 * emacs-lisp/authors.el (authors-scan-change-log)
3765 (authors-add-to-author-list):
3766 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3767 * emacs-lisp/smie.el (smie-auto-fill):
3768 * mail/sendmail.el (mail-bury):
3769 * mail/unrmail.el (unrmail):
3770 * net/tls.el (open-tls-stream):
3771 * textmodes/picture.el (picture-mouse-set-point):
3772 Remove unused bindings.
3773
8c8fc5df
MA
37742012-04-19 Michael Albinus <michael.albinus@gmx.de>
3775
3776 * net/tramp.el (tramp-action-password): Let-bind
3777 `enable-recursive-minibuffers' to t.
3778
a77b0ac9
SS
37792012-04-18 Sam Steingold <sds@gnu.org>
3780
3781 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3782 instead of 'string to accommodate values like [f11].
3783 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3784 * progmodes/gdb-mi.el: Likewise.
3785
12a106a9
LL
37862012-04-18 Leo Liu <sdl.web@gmail.com>
3787
3788 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3789 current buffer.
3790 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3791 LOCAL is nil.
3792
bc6494ef
CY
37932012-04-18 Chong Yidong <cyd@gnu.org>
3794
3795 * simple.el (line-move): Use forward-line if in batch mode
3796 (Bug#11053).
3797
c09c46b2
CS
37982012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3799
3800 * files.el (after-find-file): Do not try to add a final newline if
3801 the buffer is read-only (Bug#11156).
3802
5f6530ea
RS
38032012-04-17 Richard Stallman <rms@gnu.org>
3804
3805 * mail/rmail.el (rmail-start-mail):
3806 Pass (rmail-mail-return...) for the return-action.
3807 Pass (rmail-yank-current-message...) for the yank-action.
3808 (rmail-yank-current-message): New function.
3809 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3810 (rmail-reply): Likewise.
3811 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3812
3813 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3814 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3815 buffer, not newbuf.
3816
197b6f3c
JB
38172012-04-17 Juanma Barranquero <lekktu@gmail.com>
3818
3819 * server.el (server-ensure-safe-dir): Simplify.
3820
2311d8e5 38212012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3822
2311d8e5
GM
3823 * emacs-lisp/smie.el: Provide smarter auto-filling.
3824 (smie-auto-fill): New function.
3825 (smie-setup): Use it.
98fb480e 3826
2311d8e5
GM
3827 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3828
38292012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3830
3831 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3832 (comment-indent): Use it.
3833
2311d8e5 38342012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3835
3836 * ses.el: The overall change is to add cell renaming, that is
3837 setting fancy names for cell symbols other than name matching
3838 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3839 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3840 (ses-create-cell-variable): New defun.
2311d8e5 3841 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3842 (ses-relocate-formula): Relocate formulas only for cells the
3843 symbols of which are not renamed, i.e. symbols whose names do not
3844 match regexp "\\`[A-Z]+[0-9]+\\'".
3845 (ses-relocate-all): Relocate values only for cells the symbols of
3846 which are not renamed.
3847 (ses-load): Create cells variables as the (ses-cell ...) are read,
3848 in order to check row col consistency with cell symbol name only
3849 for cells that are not renamed.
3850 (ses-replace-name-in-formula): New defun.
3851 (ses-rename-cell): New defun.
4bdf2ad2 3852
fc72b15c
PO
38532012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3854
3855 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3856 New option (bug#11118).
3857 (perl-calculate-indent): Respect it.
3858
12e10e61
GM
38592012-04-17 Glenn Morris <rgm@gnu.org>
3860
3861 * dired-aux.el (dired-mark-read-string): Doc fix.
3862
30009afd
DA
38632012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3864
3865 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3866 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3867
41f03f4d
GM
38682012-04-17 Glenn Morris <rgm@gnu.org>
3869
3870 * mouse.el (mouse-drag-track):
3871 * speedbar.el (speedbar-frame-mode):
3872 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3873
f45f90f3
LL
38742012-04-16 Leo Liu <sdl.web@gmail.com>
3875
3876 * progmodes/python.el: Trivial cleanup.
3877
94ee8db5
GM
38782012-04-16 Glenn Morris <rgm@gnu.org>
3879
121b8917
GM
3880 * vc/vc.el (vc-string-prefix-p):
3881 * vc/pcvs-util.el (cvs-string-prefix-p):
3882 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3883 * mpc.el (mpc-string-prefix-p):
3884 Make all of these into obsolete aliases for string-prefix-p.
3885 Update callers.
3886 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3887
1197ecfa
GM
3888 * textmodes/two-column.el: Move custom options to the start.
3889 (frame-width): Remove compat definition.
3890 (2C-associate-buffer, 2C-dissociate):
3891 Use with-current-buffer rather than save-excursion.
3892 (2C-dissociate): Force a mode-line update.
3893 (2C-autoscroll): Use ignore-errors.
3894
099e7202
GM
3895 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3896 Autoload trivia.
3897
bf350d6a
GM
3898 * emacs-lisp/cl-extra.el (*random-state*):
3899 Remove unnecessary declaration.
3900
0e829eab
GM
3901 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3902
e3ad7552
GM
3903 * play/cookie1.el (cookie-snarf):
3904 Give an explicit error if input file cannot be read.
3905
68892d27
GM
3906 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3907
20f0c46d
GM
3908 * progmodes/perl-mode.el (c-macro-expand):
3909 Remove unnecessary autoload (it is in loaddefs.el).
3910
5a0978ce
GM
3911 * textmodes/picture.el (picture-desired-column)
3912 (picture-update-desired-column): Convert comments to doc-strings.
3913 (picture-substitute): Remove function.
3914 (picture-mode-map): Initialize in the defvar.
3915
6b955486
GM
3916 * woman.el: Remove eval-after-load for tar-mode.
3917 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3918 (woman-tar-extract-file): Autoload it.
3919
94ee8db5
GM
3920 * frame.el (automatic-hscrolling): Make this alias obsolete.
3921
177eca34
AM
39222012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3923
090bd7cb 3924 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3925 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3926 (ispell-dictionary-base-alist): Revert to original XEmacs
3927 friendly version for default. [:alpha:] will be added in
090bd7cb 3928 `ispell-set-spellchecker-params' if needed.
177eca34 3929
c505aaeb
CY
39302012-04-16 Chong Yidong <cyd@gnu.org>
3931
3932 * image.el (imagemagick--extension-regexp): New variable.
3933 (imagemagick-register-types): Use it.
3934 (imagemagick-types-inhibit): Add :set function. Allow new value
3935 of t to inhibit all types.
3936
3937 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3938 so we can preload it.
3939
3940 * loadup.el (fboundp): Preload regexp-opt, needed by
3941 imagemagick-register-types.
3942
60efac0f
CY
39432012-04-15 Chong Yidong <cyd@gnu.org>
3944
3945 * frame.el (scrolling): Remove nearly unused customization group.
3946
3947 * scroll-all.el (scroll-all-mode): Move to windows group.
3948
5dd1713e
CY
39492012-04-15 Chong Yidong <cyd@gnu.org>
3950
3951 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3952
e6fd457e
CY
39532012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3956 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3957
e153c136
GM
39582012-04-15 Glenn Morris <rgm@gnu.org>
3959
3960 * simple.el (process-file-side-effects): Doc fix.
3961
e6fd457e 39622012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3963
3964 * international/mule-cmds.el (set-language-environment): Doc fix.
3965
3603c3b1
JB
39662012-04-14 Juanma Barranquero <lekktu@gmail.com>
3967
3968 * server.el (server-auth-key, server-generate-key): Doc fixes.
3969 (server-get-auth-key): Doc fix. Use `string-match-p'.
3970 (server-start): Reflow docstring.
3971
e6de100c
LI
39722012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3973
3974 * server.el (server-generate-key): `called-interactively-p'
3975 requires a parameter.
3976
29734c21
MN
39772012-04-14 Michal Nazarewicz <mina86@mina86.com>
3978
3979 * server.el (server-auth-key): New variable.
75f1671a 3980 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3981 (server-start): Use the new variable and functions to allow
3982 setting a permanent server key (bug#9423).
3983
d65c9521
LL
39842012-04-14 Leo Liu <sdl.web@gmail.com>
3985
3986 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3987
5ae255c7
PE
39882012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3989
3990 Spelling fixes.
3991 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3992 Emacs uses American spelling.
3993
d5e6342e
JB
39942012-04-14 Juanma Barranquero <lekktu@gmail.com>
3995
3996 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3997 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3998 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3999 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4000
ab036cd7
SM
40012012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * progmodes/which-func.el (which-func-modes): Change default.
4004
35dc09a1 40052012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4006
4007 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4008 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4009
35dc09a1 40102012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4011
4012 * custom.el (custom-theme-set-variables): Doc fix.
4013
35dc09a1 40142012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4015
4016 * international/mule.el (set-auto-coding-for-load): Doc fix.
4017
35dc09a1 40182012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4019
35dc09a1
GM
4020 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4021 imenu work again for Objective C Mode. Correct the *-index values,
4022 these having been disturbed by a previous change in 2011-08.
57f845ee 4023
0de3da9f
AM
4024 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4025 Correct two search limits.
4026
35dc09a1 40272012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4028
4029 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4030
35dc09a1 40312012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4032
4033 * international/characters.el: Fix sorting.
4034
35dc09a1 40352012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4036
4037 * international/characters.el: Add more missing Latin case pairs.
4038
35dc09a1 40392012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4040
4041 * files.el (dir-locals-set-class-variables): Doc fix.
4042
35dc09a1 40432012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4044
3f1b5bf8
EZ
4045 * international/characters.el: Add set-case-syntax-pair call for
4046 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4047 counterpart. (Bug#11209)
4048
9f847f41
EZ
4049 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4050
35dc09a1 40512012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4052
4053 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4054
35dc09a1 40552012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4056
35dc09a1
GM
4057 * textmodes/ispell.el (ispell-dictionary-base-alist):
4058 Add data for Hebrew.
e2627d21 4059
35dc09a1 40602012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4061
35dc09a1
GM
4062 * net/rcirc.el (rcirc-cmd-quit):
4063 Revert 2012-03-18 change (Bug#11192).
5c14e333 4064
35dc09a1 40652012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4066
4067 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4068
35dc09a1 40692012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4070
4517fe3a
SM
4071 * minibuffer.el (completion-in-region-mode-map):
4072 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4073
b472a594
VD
40742012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4075
4076 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4077
09b95ce3
MY
40782012-04-13 Masatake YAMATO <yamato@redhat.com>
4079
4080 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4081 to allow `C-M-f' and `C-M-b' to move to the nearest path
4082 separator (bug#9511).
4083
4b63a9ca
LI
40842012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4085
4086 * avoid.el: Require cl when compiling. And also move the
4087 `provide' to the end.
4088
7b55b8bf
TV
40892012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4090
4091 * avoid.el (mouse-avoidance-banish-position): New variable.
4092 (mouse-avoidance-banish-destination): Use it (bug#10165).
4093
adedaa1f
LL
40942012-04-13 Leo Liu <sdl.web@gmail.com>
4095
4096 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4097
70e74021
KB
40982012-04-13 Ken Brown <kbrown@cornell.edu>
4099
4100 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4101 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4102 (browse-url-filename-alist): For the same reason, don't modify
4103 file:// URLs on Cygwin.
4104
e75e89ba
SM
41052012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4108 the region on shift if the binding is already shifted (bug#11221).
4109
82f289a4
GM
41102012-04-12 Glenn Morris <rgm@gnu.org>
4111
4112 * mail/mailpost.el: Move to obsolete/.
4113
d333dc4c
DA
41142012-04-12 Drew Adams <drew.adams@oracle.com>
4115
4116 * imenu.el (imenu--generic-function): Ignore invisible definitions
4117 (bug#10123).
4118
0d15b5ba
VD
41192012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4120
4121 * hexl.el (hexl-bits): New variable.
4122 (hexl-options): Mention the variable in the doc string.
75f1671a 4123 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4124 (hexl-mode): Mention the new variable.
75f1671a
JB
4125 (hexl-mode, hexl-current-address, hexl-current-address):
4126 Use the displen.
0d15b5ba
VD
4127 (hexl-ascii-start-column): New function.
4128 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4129 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4130
64a440db
AM
41312012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4132
4133 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4134 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4135 the encoding, as expected by hunspell.
4136
6decb6c2
SM
41372012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * battery.el (battery--linux-sysfs-regexp): New const.
4140 (battery-status-function): Use it. Remove yeeloong special case.
4141 (battery-yeeloong-sysfs): Remove.
4142 (battery-echo-area-format): Remove yeeloong special case.
4143
088be6fb
SM
41442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4145
6622e416
SM
4146 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4147 Reported by Noah Friedman.
4148
088be6fb
SM
4149 * subr.el (read-passwd): Use read-string.
4150
b49f886e
LMI
41512012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4152
4153 * vcursor.el (vcursor-move): Increase the priority of the overlay
4154 (bug#9663).
4155
a63067fc
DD
41562012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4157
4158 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4159 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4160
ac3cf14a
WS
41612012-04-11 William Stevenson <yhvh2000@gmail.com>
4162
4163 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4164 define-minor-mode (bug#10760).
4165
c4fc691b 41662012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4167
4d6769e1 4168 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4169 that directories matching `grep-find-ignored-files' won't be
4170 pruned (bug#10351).
4171
af23e2e5
CY
41722012-04-11 Chong Yidong <cyd@gnu.org>
4173
4174 * startup.el (command-line): Remove support for long-obsolete
4175 variable font-lock-face-attributes.
4176
ab7ce8c1
GM
41772012-04-11 Glenn Morris <rgm@gnu.org>
4178
4179 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4180
de8c03dc
SM
41812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * window.el (window--state-get-1): Obey window-point-insertion-type.
4184
050cc68b
LB
41852012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4186
4187 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4188 to previous function when point is on the first character of a
75f1671a 4189 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4190
a38c310c
GM
41912012-04-11 Glenn Morris <rgm@gnu.org>
4192
effed0c2
GM
4193 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4194 not just file-errors.
4195
a38c310c
GM
4196 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4197 (vc-bzr-sha1): Use internal sha1.
4198
0221e323
SM
41992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4202
43956923
SG
42032012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4204
4205 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4206 that start in the middle of the line (bug#10496).
4207
6a8c9eaf
DN
42082012-04-10 Dan Nicolaescu <dann@gnu.org>
4209
4210 * battery.el (battery-linux-proc-acpi): Only one battery is
4211 discharged at a time, but that seems to confuse battery.el when
4212 computing `rate-type' for the battery not being discharged
4213 (bug#10332).
4214
1930bf5d
SM
42152012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4216
2a718f6f
SM
4217 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4218
599430d0
SM
4219 * international/quail.el: Use dolist and simplify.
4220 (quail-define-package, quail-update-keyboard-layout)
4221 (quail-define-rules): Use dolist.
4222 (quail-insert-kbd-layout, quail-get-translation): CSE.
4223
a2754b6c
SM
4224 * tmm.el: Use dolist, remove left over hook.
4225 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4226 Use dolist.
4227 (calendar-load-hook): Don't mess with it.
4228
1930bf5d
SM
4229 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4230 Use derived-mode-p. Run the diff asynchronously.
4231
9f67961c
LMI
42322012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4233
4234 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4235
2a8ce227
JB
42362012-04-10 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4239 (list-dynamic-libraries--loaded): New function.
4240 (list-dynamic-libraries--refresh): Use it.
4241
8f33b5f8
NW
42422012-04-10 Nathan Weizenbaum <nweiz@google.com>
4243
1930bf5d
SM
4244 * progmodes/python.el (python-fill-paragraph):
4245 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4246 disabled (bug#7018).
4247
b12f0439
L
42482012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4249
1930bf5d 4250 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4251 DOS/MS Windows for the Baltic languages. There are still plenty
4252 of texts written in this encoding/codepage (bug#6519).
b12f0439 4253
57c3bd01
GM
42542012-04-10 Glenn Morris <rgm@gnu.org>
4255
4256 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4257 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4258
6c3eab30
FA
42592012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4260
1930bf5d 4261 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4262 next-line "n" and previous-line "p" in order to make recentf more
4263 consistent with ibuffer, dired or org-mode (bug#9387).
4264
24d78a88
LMI
42652012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4266
bc72b5d9
LMI
4267 * image.el (put-image): Return the overlay created instead of the
4268 optional input string (bug#7834). Note that this may break code
4269 that is (for some reason or other) depending on `put-image'
4270 returning the string.
4271
bd2dba5a
LMI
4272 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4273
74beb59f
LMI
4274 * simple.el (zap-to-char): Allow zapping using input methods
4275 (bug#1580).
4276
24d78a88
LMI
4277 * textmodes/fill.el (fill-region): Leave point and mark where they
4278 were before filling (bug#5399).
4279
263f20cd
GM
42802012-04-09 Glenn Morris <rgm@gnu.org>
4281
4282 * version.el (emacs-bzr-get-version):
4283 Handle lightweight checkouts of local branches.
4284
58d1f797
AS
42852012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4286
263f20cd 4287 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4288
b4d3bc10
CY
42892012-04-09 Chong Yidong <cyd@gnu.org>
4290
4291 * custom.el (custom-variable-p): Return nil for non-symbol
4292 arguments instead of signaling an error.
4293 (user-variable-p): Obsolete alias for custom-variable-p.
4294
4295 * apropos.el (apropos-variable):
4296 * files-x.el (read-file-local-variable):
4297 * simple.el (set-variable):
4298 * woman.el (woman-mini-help):
4299 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4300
fd06db5d
GM
43012012-04-09 Glenn Morris <rgm@gnu.org>
4302
e5fcdb5e
GM
4303 * startup.el (normal-top-level): Don't look for leim-list.el
4304 in places where it will not be found. (Bug#910)
4305
fd06db5d
GM
4306 * international/mule-cmds.el (set-default-coding-systems):
4307 * files.el (normal-mode):
4308 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4309 This function was removed with ucs-tables.el in 2008.
4310
b39bb7e1
EZ
43112012-04-08 Eli Zaretskii <eliz@gnu.org>
4312
4313 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4314 ispell-encoding8-command to "-i", without a trailing space.
4315 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4316 separate command-line arguments, to specify the encoding, since
4317 that's how hunspell expects it.
4318
5c5b8e23
GM
43192012-04-08 Glenn Morris <rgm@gnu.org>
4320
4321 * loadup.el: Load bindings before cus-start.
4322 This reduces somewhat the number of "rogue" settings in emacs -Q.
4323
a1ed8b05
GM
43242012-04-07 Glenn Morris <rgm@gnu.org>
4325
4326 * version.el (emacs-bzr-get-version): New function.
dfae128a 4327 (emacs-bzr-version): New variable.
a1ed8b05
GM
4328 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4329 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4330
b142f158
EZ
43312012-04-07 Eli Zaretskii <eliz@gnu.org>
4332
dfae128a
GM
4333 * international/uni-bidi.el, international/uni-category.el:
4334 * international/uni-combining.el, international/uni-decimal.el:
4335 * international/uni-decomposition.el, international/uni-digit.el:
4336 * international/uni-lowercase.el, international/uni-mirrored.el:
4337 * international/uni-name.el, international/uni-numeric.el:
4338 * international/uni-titlecase.el, international/uni-uppercase.el:
4339 Update for Unicode 6.1.
b142f158 4340
9078ead6
EZ
43412012-04-07 Eli Zaretskii <eliz@gnu.org>
4342
4343 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4344
f23d2c7d
LMI
43452012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4346
4347 * window.el (shrink-window): Mention the `window-min-height'
4348 variable in the doc string.
4349
0a0a3573
BG
43502012-04-05 Bastien Guerry <bzg@altern.org>
4351
4352 * color.el (color-lighten-name): Fix typo.
4353
e5248ac9
SM
43542012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * server.el (server--on-display-p): New function.
4357 (server--on-display-p): Use it.
4358
b4243e22
GV
43592012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4360
4361 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4362 (bug#11145).
4363
305d9f44
SM
43642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * comint.el (comint--common-quoted-suffix): Check string boundary
4367 before comparing (bug#11158).
4368 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4369
3d439cd1
CY
43702012-04-04 Chong Yidong <cyd@gnu.org>
4371
321cc491
CY
4372 * minibuffer.el (completion-extra-properties): Doc fix.
4373
3d439cd1
CY
4374 * subr.el (delayed-warnings-hook): Doc fix.
4375
2d562c0f
DU
43762012-04-04 Daiki Ueno <ueno@unixuser.org>
4377
4378 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4379 selection (Bug#11159).
4380 (epa-insert-keys): Inform that the default public key will be
4381 exported if no key is selected.
4382
4443f204
RS
43832012-04-04 Richard Stallman <rms@gnu.org>
4384
4385 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4386
529c06b6
CY
43872012-04-03 Chong Yidong <cyd@gnu.org>
4388
4389 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4390 mail-insert-file, not its obsolete alias mail-attach-file.
4391
66b907dc
MA
43922012-04-03 Michael Albinus <michael.albinus@gmx.de>
4393
4394 * notifications.el (notifications-notify): Fix docstring.
4395
c0ea195d
GM
43962012-04-02 Glenn Morris <rgm@gnu.org>
4397
4398 * emacs-lisp/authors.el (authors-aliases): Another addition.
4399
5ca64e00
MA
44002012-04-02 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4403 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4404 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4405
42ee526b
CY
44062012-04-01 Chong Yidong <cyd@gnu.org>
4407
4408 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4409 Handle root directory properly.
4410 (copy-directory): Caller changed.
4411
4412 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4413 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4414
0b021094
GM
44152012-03-31 Glenn Morris <rgm@gnu.org>
4416
40f86458
GM
4417 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4418
7019c177
GM
4419 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4420
a1daddd6
GM
4421 * calendar/calendar.el (calendar-window-list)
4422 (calendar-hide-window): Restore. (Bug#11140)
4423 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4424
0b021094
GM
4425 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4426
40311efc
TV
44272012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4428
4429 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4430 Check if file is a symlink (Bug#10489).
4431
4432 * files.el (copy-directory): Likewise.
4433
5319014e
CY
44342012-03-30 Chong Yidong <cyd@gnu.org>
4435
4436 * image.el (imagemagick-types-inhibit)
4437 (imagemagick-register-types): Doc fix.
4438
935d1290
AM
44392012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4440
090bd7cb 4441 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4442 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4443 and treats ~word as ordinary words in pipe mode.
935d1290 4444
61c6e8fd
GM
44452012-03-30 Glenn Morris <rgm@gnu.org>
4446
4447 * tutorial.el (help-with-tutorial): Ensure local variables don't
4448 happen to make the buffer read-only. (Bug#11127)
4449
81fdff00
SM
44502012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4453 (perl-calculate-indent): Return `noindent' in strings.
4454
6e7a6ec0
SS
44552012-03-28 Sam Steingold <sds@gnu.org>
4456
4457 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4458 instead of the broken adhockery which does not prevent calendar
4459 buffers from being displayed at random after exit.
4460 (calendar-window-list, calendar-hide-window): Remove the broken
4461 adhockery.
4462
fee88ca0
GM
44632012-03-28 Glenn Morris <rgm@gnu.org>
4464
4465 * replace.el (query-replace-map): Doc fix.
4466
38de3354
AS
44672012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4468
4469 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4470 contents. (Bug#11109)
4471
b973155e
SM
44722012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4475 (bug#11077).
4476 (avl-tree--check, avl-tree--check-node): New funs.
4477
dcb6e7b3
MR
44782012-03-27 Martin Rudalics <rudalics@gmx.at>
4479
4480 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4481 (switch-to-prev-buffer, switch-to-next-buffer):
4482 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4483 showing a buffer already is done on the same frame.
4484
b4fa35fa
GM
44852012-03-27 Glenn Morris <rgm@gnu.org>
4486
4487 * startup.el (mail-host-address): Doc fix.
4488
f9210e18
SM
44892012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4492 than 197 variables.
4493
c0bf7753
AF
44942012-03-26 Ami Fischman <ami@fischman.org>
4495
4496 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4497
33da7b16
GM
44982012-03-26 Glenn Morris <rgm@gnu.org>
4499
02243d9d
GM
4500 * files.el (save-buffers-kill-emacs): Doc fix.
4501
33da7b16
GM
4502 * startup.el (normal-top-level, command-line, command-line-1):
4503 Give them doc strings.
4504
e5a69fd0
EZ
45052012-03-25 Eli Zaretskii <eliz@gnu.org>
4506
4507 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4508 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4509
9a69676a
CY
45102012-03-25 Chong Yidong <cyd@gnu.org>
4511
4125cb8b
CY
4512 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4513 theme if it was previously enabled before (Bug#11031).
4514
dd470960
CY
4515 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4516 spec with custom-face-get-current-spec if its :shown-value is not
4517 determined yet (Bug#9337).
4125cb8b 4518 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4519
9a69676a
CY
4520 * button.el (button-at): Minor addition to docstring.
4521
6e7e90fa
SL
45222012-03-24 Simon Leinen <simon.leinen@gmail.com>
4523
4524 * vc/vc.el (vc-merge): Fix a prompt.
4525
f06e2758
CY
45262012-03-24 Chong Yidong <cyd@gnu.org>
4527
4528 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4529 point (Bug#9623).
4530
6e7e90fa
SL
4531 * button.el (button-at): Minor addition to docstring.
4532
b9d0879b
SM
45332012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * newcomment.el (comment-choose-indent): No space after BOL.
4536
e71cebb3
SS
45372012-03-22 Sam Steingold <sds@gnu.org>
4538
4539 * window.el (switch-to-prev-buffer): Revert last patch because the
4540 bug turned out to be an advertised feature (Elisp manual 28.14).
4541
335aff35
GM
45422012-03-22 Glenn Morris <rgm@gnu.org>
4543
4544 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4545 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4546
c676576a
LMI
45472012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4548
4549 * net/network-stream.el (network-stream-open-starttls): Make error
4550 message under Windows be less misleading.
4551
126f3d39
LW
45522012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4553
4554 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4555 understands (bug#9942).
4556
64fee311
CY
45572012-03-22 Chong Yidong <cyd@gnu.org>
4558
4559 * simple.el (end-of-visible-line): Handle return value of
4560 next-single-property-change properly (Bug#9371).
4561
a640d29a
KH
45622012-03-22 Kenichi Handa <handa@m17n.org>
4563
4564 * international/quail.el (quail-insert-kbd-layout): Fix previous
4565 change. To avoid unwanted bidi reordering, use
4566 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4567
39675016
DG
45682012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4569
4570 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4571 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4572 (ruby-beginning-of-indent): Be more careful with the difference
4573 between word-boundary and symbol boundary.
4574 (ruby-mode-syntax-table): Make : a symbol constituent.
4575
0a6934fc 45762012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4577
3d008e4f
SM
4578 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4579
0a6934fc
SM
45802012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4581
af67c9d7
SM
4582 * progmodes/etags.el (tags-completion-at-point-function):
4583 Improve last fix.
4584
1acad97c
SM
4585 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4586
e298b5da
SS
45872012-03-21 Sam Steingold <sds@gnu.org>
4588
4589 * progmodes/etags.el (tags-completion-at-point-function):
4590 Avoid the error when point is inside the pattern.
4591
91d82a70
JY
45922012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4593
4594 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4595 line (Bug#10855).
4596
69188b79
CY
45972012-03-21 Drew Adams <drew.adams@oracle.com>
4598
4599 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4600
99fc91fe
AK
46012012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4602
4603 * ido.el (ido-set-current-directory, ido-read-internal)
4604 (ido-choose-completion-string, ido-completion-help): Handle nil
4605 value of ido-completion-buffer (Bug#11008).
4606
087bbb4c
SS
46072012-03-21 Sam Steingold <sds@gnu.org>
4608
4609 * window.el (switch-to-prev-buffer): Do not switch to a visible
4610 window previous buffer, just like with the frame previous buffers.
4611
fb5b8aca
CY
46122012-03-21 Chong Yidong <cyd@gnu.org>
4613
4614 * faces.el (make-face, make-empty-face, copy-face):
4615 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4616 Doc fixes.
4617
dc9924b8
SM
46182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4621 (widget-complete): Remove broken use of it.
4622
f0bcceb9
CY
46232012-03-20 Chong Yidong <cyd@gnu.org>
4624
dc9924b8
SM
4625 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4626 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4627 characters.
4628
ee52ebf3
TH
46292012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4630
4631 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4632 to draw rectangles, not squares. (Regression introduced by revno
4633 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4634
4c5779ab
CY
46352012-03-18 Chong Yidong <cyd@gnu.org>
4636
4637 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4638 it is not yet defined (for temacs).
4639
15360934
LL
46402012-03-18 Leo Liu <sdl.web@gmail.com>
4641
dc9924b8 4642 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4643
d9a8eb66
EZ
46442012-03-17 Eli Zaretskii <eliz@gnu.org>
4645
4646 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4647 (ispell-choices-win-default-height, ispell-silently-savep)
4648 (ispell-dictionary-alist, ispell-encoding8-command)
4649 (ispell-check-version, ispell-aspell-find-dictionary)
4650 (ispell-valid-dictionary-list, ispell-words-keyword)
4651 (ispell-get-word, ispell-internal-change-dictionary)
4652 (ispell-region, ispell-skip-region-list)
4653 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4654 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4655 (ispell-message-text-end, ispell-message)
4656 (ispell-buffer-local-parsing): Doc fix.
4657
f02ff80d
J
46582012-03-13 Jambunathan K <kjambunathan@gmail.com>
4659
4660 * htmlfontify.el: Add support for code block fontification for ODT
4661 export (Bug #9914).
4662 (hfy-optimisations): Define new option
4663 `body-text-only'
4664 (hfy-fontify-buffer): Honor above setting.
4665 (hfy-begin-span, hfy-end-span): New routines factored out form
4666 `hfy-fontify-buffer'.
4667 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4668 that permit insertion of custom tags.
4669 (hfy-fontify-buffer): Use above handlers.
4670 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4671 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4672 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4673 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4674 bind a special variable `hfy-user-sheet-assoc'.
4675 (htmlfontify-string): New defun.
4676 (hfy-compile-face-map): Make sure that the last char in the
4677 buffer is correctly fontified.
4678 (hfy-face-resolve-face): Whitespace only change.
4679
9ac7a13f
EZ
46802012-03-17 Eli Zaretskii <eliz@gnu.org>
4681
4682 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4683 message more clear.
4684
e2b5bdd7
LL
46852012-03-16 Leo Liu <sdl.web@gmail.com>
4686
4687 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4688
2e492df3
AM
46892012-03-16 Alan Mackenzie <acm@muc.de>
4690
4691 Further optimise the handling of large macros.
4692
4693 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4694 limit to a call of `c-literal-limits'.
4695 (c-determine-+ve-limit): New function.
dc9924b8
SM
4696 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4697 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4698 In CASE 5B, restrict a search limit to 500.
4699 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4700
4701 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4702 Restrict macro bounds to +-500 from after-change's BEG END.
4703
50e94f0c
LL
47042012-03-16 Leo Liu <sdl.web@gmail.com>
4705
4706 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4707
6f09f6ed
AH
47082012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4709
4710 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4711 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4712
c7e73d51
GM
47132012-03-16 Glenn Morris <rgm@gnu.org>
4714
da986230
GM
4715 * view.el (view-buffer, view-buffer-other-window)
4716 (view-buffer-other-frame): Doc fixes re special mode-class.
4717
0835f01e
GM
4718 * subr.el (eval-after-load): If named feature is provided not from
4719 a file, run after-load forms. (Bug#10946)
4720
c7e73d51
GM
4721 * calendar/calendar.el (calendar-insert-at-column):
4722 Handle non-unit-width characters a bit better. (Bug#10978)
4723
3f2eafd1
CY
47242012-03-15 Chong Yidong <cyd@gnu.org>
4725
4726 * emacs-lisp/ring.el (ring-extend): New function.
4727 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4728
4729 * comint.el (comint-read-input-ring)
4730 (comint-add-to-input-history): Grow comint-input-ring lazily.
4731
103af3fe
SM
47322012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4733
663b1677
SM
4734 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4735 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4736
103af3fe
SM
4737 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4738 (imenu-add-to-menubar): Don't add a redundant index.
4739 (imenu-update-menubar): Handle a dynamically composed keymap.
4740
899cb7cb
KY
47412012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4742
4743 * mail/sendmail.el (mail-encode-header):
4744 Bind rfc2047-encode-encoded-words to nil.
4745
3809f91d
GM
47462012-03-13 Glenn Morris <rgm@gnu.org>
4747
4748 * calendar/calendar.el (calendar-string-spread):
4749 Handle non-unit-width characters a bit better. (Bug#10978)
4750
9e345a01
LL
47512012-03-13 Leo Liu <sdl.web@gmail.com>
4752
4753 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4754 directory and file as argument (Bug#10822).
4755
4a07df36
KS
47562012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4757
4758 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4759 For dynamically generated code, follow $PC.
4760 (gdb-disassembly-handler-custom): Handle no function name case.
4761
4aaa9356
TL
47622012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4763
4764 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4765 * emulation/ws-mode.el (ws-query-replace):
4766 * sort.el (sort-regexp-fields):
4767 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4768
225979da
SM
47692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * dabbrev.el: Fix cycle completion order (bug#10963).
4772 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4773 (dabbrev-completion): Don't use an obarray; provide
4774 a cycle-sort-function.
4775
e2f1fdab
LL
47762012-03-12 Leo Liu <sdl.web@gmail.com>
4777
dc9924b8 4778 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4779 (kill-do-not-save-duplicates): Doc fix.
4780
b19490ed
SM
47812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * dabbrev.el: Fix cycle completion (bug#10963).
4784 Use lexical binding and wrap to 80 columns.
4785 (dabbrev-completion): Delay computing the list of completions.
4786
4b05d722
KH
47872012-03-12 Kenichi Handa <handa@m17n.org>
4788
4789 * international/quail.el (quail-insert-kbd-layout): Surround each
4790 row by LRO and PDF instead of inserting many LRMs. Pad the left
4791 and right of each non-spacing marks. Insert invisible space
4792 between lower and upper characters to prevent composition.
4793
dbbc2e69
SM
47942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * minibuffer.el (minibuffer-complete): Don't get confused when the
4797 function is run twice via different commands (bug#10958).
4798 (complete-with-action): Fix docstring.
4799
292112ed
CY
48002012-03-12 Chong Yidong <cyd@gnu.org>
4801
5d1ac394
CY
4802 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4803 (nxml-completion-at-point-function): New function.
4804 (nxml-mode): Use it.
4805 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4806
292112ed
CY
4807 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4808 Load generated autoloads file before byte compiling (Bug#10970).
4809 (package--make-autoloads-and-compile): New helper fun.
4810
4098f8f7
CS
48112012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4812
4813 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4814
8f754691
MA
48152012-03-11 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * autorevert.el (auto-revert-handler): Ensure, that
4818 file-readable-p is applied only for local files or in
4819 auto-revert-tail-mode.
4820
e29ab36b
AS
48212012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4822
dbbc2e69
SM
4823 * server.el (server-eval-at): Handle non-tcp connections.
4824 Decode result string.
ad0bf5b6 4825
e29ab36b
AS
4826 * server.el (server-msg-size): New constant.
4827 (server-reply-print): New function.
4828 (server-eval-and-print): Use it.
4829 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4830 Handle -print-nonl.
4831
de5939ba
CS
48322012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4833
4834 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4835 (Bug#10987).
4836
0c93eabf
CY
48372012-03-11 Chong Yidong <cyd@gnu.org>
4838
397a688f
CY
4839 * simple.el (goto-line): Doc fix (Bug#9938).
4840
2cc775f9
CY
4841 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4842
0c93eabf
CY
4843 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4844 when finished (Bug#10963).
4845
c491fa41
MR
48462012-03-11 Martin Rudalics <rudalics@gmx.at>
4847
4848 * window.el (split-window-below): Fix bug in case where
4849 split-window-keep-point is nil (Bug#10971).
4850
300e8fa5
JL
48512012-03-11 Juri Linkov <juri@jurta.org>
4852
4853 * replace.el (replace-highlight): Set isearch-word to nil
4854 unconditionally. (Bug#10887)
4855
dbf6c5a1
EZ
48562012-03-10 Eli Zaretskii <eliz@gnu.org>
4857
4858 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4859 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4860 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4861 (mairix-widget-create-query): Add usage information about mairix
4862 search forms: negating words, searching for substrings, etc.
4863
b9e501de
JP
48642012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4865
4866 * international/fontset.el (font-encoding-alist): Add an entry for
4867 ksx1001 (Bug#5667).
4868
92795c91
RS
48692012-03-10 Richard Stallman <rms@gnu.org>
4870
1694e6c1
RS
4871 * mail/sendmail.el (mail-encode-header):
4872 Set rfc2047-encode-encoded-words.
4873
607e8555
RS
4874 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4875
de3bc99a
RS
4876 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4877 view buffer means not swapped.
4878 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4879 (rmail-write-region-annotate): Error if real text has disappeared.
4880
92795c91
RS
4881 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4882
699bd04e
CY
48832012-03-10 Chong Yidong <cyd@gnu.org>
4884
4885 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4886 * emulation/cua-base.el (cua--init-keymaps):
4887 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4888
570a1714
MR
48892012-03-10 Martin Rudalics <rudalics@gmx.at>
4890
dbbc2e69
SM
4891 * speedbar.el (speedbar-unhighlight-one-tag-line):
4892 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4893
82dcf4e4
CY
48942012-03-10 Chong Yidong <cyd@gnu.org>
4895
7a2c7ca7
CY
4896 * minibuffer.el (completion-in-region, completion-help-at-point):
4897 Give the completion field overlay a high priority (Bug#6830).
4898
82dcf4e4
CY
4899 * dired.el (dired-goto-file): Recognize absolute file name
4900 listings (Bug#7126).
4901 (dired-goto-file-1): New helper function.
4902 (dired-toggle-read-only): Inhibit warnings.
4903
052e28ac
MA
49042012-03-09 Michael Albinus <michael.albinus@gmx.de>
4905
75f1671a 4906 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4907 there are no properties.
4908
95d5e396
LL
49092012-03-09 Leo Liu <sdl.web@gmail.com>
4910
4911 * savehist.el (savehist-printable): Stricter check for string
4912 value (Bug#10937).
4913
3f018d6d
EZ
49142012-03-09 Eli Zaretskii <eliz@gnu.org>
4915
dbbc2e69
SM
4916 * mail/smtpmail.el (smtpmail-send-it):
4917 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4918 valid mbox format.
4919
f7fd3d79
GM
49202012-03-09 Glenn Morris <rgm@gnu.org>
4921
4922 * files.el (dir-locals-find-file):
4923 Don't check result is regular, readable.
4924 (dir-locals-read-from-file): Demote errors.
4925
6ff6e72f
EZ
49262012-03-08 Eli Zaretskii <eliz@gnu.org>
4927
dbbc2e69
SM
4928 * international/quail.el (quail-insert-kbd-layout):
4929 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4930 layout cell, to prevent their reordering by bidi display engine.
4931 For details, see the discussion in
4932 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4933
9cec7834
AM
49342012-03-08 Alan Mackenzie <acm@muc.de>
4935
4936 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4937 the starting position; make it extend the marked region when
4938 invoked repeatedly - all under appropriate circumstances.
4939 Fixes bugs #5525, #10906.
4940
9a40b8d4
GM
49412012-03-08 Glenn Morris <rgm@gnu.org>
4942
4943 * files.el (locate-dominating-file, dir-locals-find-file):
4944 Undo 2012-03-06 change.
4945
7a08ed35
EZ
49462012-03-07 Eli Zaretskii <eliz@gnu.org>
4947
dbbc2e69
SM
4948 * international/quail.el (quail-help):
4949 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4950 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4951 for the reason.
4952
5aca4f71 49532012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4954
4955 Avoid superfluous registering of signals. (Bug#10807)
4956
4957 * notifications.el (notifications-on-action-object)
4958 (notifications-on-close-object): New defvars.
4959 (notifications-on-action-signal, notifications-on-closed-signal):
4960 Unregister the signal if not needed any longer.
4961 (notifications-notify): Register `notifications-action-signal' or
4962 `notifications-closed-signal', if :on-action or :on-close has been
4963 passed as argument.
4964
78e8b10a
CY
49652012-03-07 Chong Yidong <cyd@gnu.org>
4966
4967 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4968 non-X platforms.
4969
69481eb8
GM
49702012-03-06 Glenn Morris <rgm@gnu.org>
4971
4972 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4973 (x-disown-selection-internal, x-get-selection-internal):
4974 Doc fix (add arglist signatures). (Bug#10783)
4975
133b8e11
KS
49762012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4977
4978 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4979 Handle breakpoints with no "type".
4980
99a83064
GM
49812012-03-06 Glenn Morris <rgm@gnu.org>
4982
4983 * files.el (locate-dominating-file): Add optional predicate argument.
4984 (dir-locals-find-file): Make use of above change.
4985
17798e78
TTN
49862012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4987
4988 * info.el (Info-insert-dir): Also try "dir.gz".
4989
eb182446
GM
49902012-03-06 Glenn Morris <rgm@gnu.org>
4991
8f2114ee
GM
4992 * files.el (dir-locals-find-file):
4993 Ignore non-readable or non-regular files. (Bug#10928)
4994
eb182446
GM
4995 * files.el (locate-dominating-file): Doc fix.
4996
24679323
AS
49972012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4998
4999 * calendar/calendar.el (calendar-set-mode-line):
5000 `getenv' returns a string. (Bug#10951)
5001
01d972a9
LL
50022012-03-05 Leo Liu <sdl.web@gmail.com>
5003
109aa8a9
LL
5004 * simple.el (backward-delete-char-untabify): Constrain point to
5005 field (Bug#10939).
5006
01d972a9
LL
5007 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5008
10607bea
CY
50092012-03-05 Chong Yidong <cyd@gnu.org>
5010
5011 * simple.el (count-words): If called from Lisp, return the word
5012 count, for symmetry with `count-lines'. Arglist changed.
5013 (count-words--message): Args changed. Consolidate counting code
5014 from count-words and count-words-region.
5015 (count-words-region): Caller changed.
5016 (count-lines-region): Make it an obsolete alias.
5017
5dd11cfe
TH
50182012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5019
5020 * saveplace.el (save-place-to-alist)
5021 (save-place-ignore-files-regexp): Allow value nil to disable this
5022 feature.
5023
c349f4e6
CY
50242012-03-04 Chong Yidong <cyd@gnu.org>
5025
5026 * faces.el (face-spec-reset-face): For the default face, reset the
5027 attributes to default values (Bug#10748).
5028
e627be4c
LMI
50292012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5030
5031 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5032 previous patch: Check `message-send-mail-function', and not the
5033 default function (bug#10897).
5034
ebeabff4
MA
50352012-03-04 Michael Albinus <michael.albinus@gmx.de>
5036
a41a6cf4
MA
5037 * notifications.el (notifications-on-action-signal)
5038 (notifications-on-closed-signal): Check for unique service name of
5039 incoming event. Fix error in removing entry.
ebeabff4 5040 (top): Register for signals with wildcard service name.
a41a6cf4 5041 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5042
c1ca42b4
CY
50432012-03-04 Chong Yidong <cyd@gnu.org>
5044
dc9924b8 5045 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5046
ea16568d
GM
50472012-03-04 Glenn Morris <rgm@gnu.org>
5048
5049 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5050 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5051 (expand-abbrev, define-abbrev-table): Doc fixes.
5052
fbae4637
LMI
50532012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5054
5055 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5056 `message-default-send-mail-function' and not `send-mail-function'
5057 when doing the prompting for `sendmail-query-once' before sending
5058 in Message buffers (bug#10897).
5059
a1e7225c
LMI
5060 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5061 This is inconsistent with all the other stream functions, which leave
5062 the setting up to the higher levels (if so wanted) (bug#10931).
5063
56d093a9
AM
50642012-03-02 Alan Mackenzie <acm@muc.de>
5065
5066 Depessimize the handling of very large macros.
5067
5068 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5069 (c-macro-cache-syntactic): New variables to implement a one
5070 element macro cache.
5071 (c-invalidate-macro-cache): New function.
5072 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5073 Adapt to use the new cache.
5074 (c-state-safe-place): Use better the cache of safe positions.
5075 (c-state-semi-nonlit-pos-cache)
5076 (c-state-semi-nonlit-pos-cache-limit):
5077 New variables for...
5078 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5079 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5080 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5081 Use c-state-semi-safe-place.
56d093a9 5082
dbbc2e69
SM
5083 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5084 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5085
817e5c3d
MA
50862012-03-02 Michael Albinus <michael.albinus@gmx.de>
5087
dbbc2e69
SM
5088 * jka-compr.el (jka-compr-call-process):
5089 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5090 not remote.
5091
a032a702
MA
50922012-03-01 Michael Albinus <michael.albinus@gmx.de>
5093
5094 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5095 access of FILE2, if FILE1 does not exist.
5096
99a54f21
MA
5097 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5098 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5099
5100 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5101 Add "PAGER=" to `process-environment'.
5102
f6561e1f
MM
51032012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5104
5105 * progmodes/sql.el: Bug fix
5106 (sql-get-login-ext): Save login values in globals.
5107 (sql-get-login): Use new version of `sql-get-login-ext'.
5108 (sql-interactive-mode): Set global `sql-connection' to nil.
5109 (sql-connect): Set global values for connection.
5110 (sql-product-interactive): Save global values as buffer local.
5111
2d44d9cc
LL
51122012-02-29 Leo Liu <sdl.web@gmail.com>
5113
5114 * abbrev.el (define-abbrevs): Reset sys to nil.
5115
96b49301 51162012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5117
bf7f9bc5
JB
5118 * files.el (file-equal-p): Rename from `files-equal-p'.
5119 Return nil when one or both files don't exist.
96b49301 5120 (file-subdir-of-p): Now only top directory must exists,
5121 return nil if it doesn't.
bf7f9bc5
JB
5122 (copy-directory): No need to test with `file-subdir-of-p' after
5123 creating dir.
5124 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5125 to `file-equal-p'.
96b49301 5126
44e97401
GM
51272012-02-28 Glenn Morris <rgm@gnu.org>
5128
5129 * shell.el (shell-mode):
5130 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5131 * play/landmark.el (landmark-font-lock-face-O):
5132 * play/handwrite.el (handwrite):
5133 * play/gomoku.el (gomoku-O):
5134 * net/browse-url.el (browse-url-browser-display):
5135 * international/mule.el (define-charset):
5136 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5137 * filesets.el (filesets-find-file-delay):
5138 * eshell/em-xtra.el (eshell-xtra):
5139 * eshell/em-unix.el (eshell-grep):
5140 * emulation/viper.el (viper-mode):
5141 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5142 * emacs-lisp/easymenu.el (easy-menu-define):
5143 * calendar/timeclock.el (timeclock-use-display-time):
5144 * bs.el (bs-mode):
5145 * bookmark.el (bookmark-save-flag):
5146 Doc fix (standardize possessive apostrophe usage).
5147
c98c6276
CY
51482012-02-27 Chong Yidong <cyd@gnu.org>
5149
bf7f9bc5
JB
5150 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5151 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5152
c98c6276
CY
5153 * font-lock.el (font-lock-specified-p): Rename from
5154 font-lock-spec-present. Callers changed.
5155
9c62cd04 51562012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5157
bf7f9bc5
JB
5158 * emacs-lisp/package.el (package-compute-transaction):
5159 Handle holding a package version to t in package-load-list.
8ac9e529 5160
530739c9
MA
51612012-02-26 Michael Albinus <michael.albinus@gmx.de>
5162
5163 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5164 (tramp-get-inode, tramp-get-device): Use cached values.
5165
487915d7
AM
51662012-02-26 Alan Mackenzie <acm@muc.de>
5167
5168 Check there is a font-lock specification before doing initial
5169 fontification.
5170
5171 * font-core.el (font-lock-mode): Move the conditional from
5172 :after-hook to font-lock-initial-fontify.
5173 (font-lock-default-function): Move the check for a specification
5174 to font-lock-spec-present.
5175
dc9924b8 5176 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5177 (font-lock-spec-present): New function.
5178
4fd96557
JB
51792012-02-26 Jim Blandy <jimb@red-bean.com>
5180
5181 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5182 (gdb-send): Apply it to the operand of the '-interpreter-exec
5183 console' command, so that we can pass arguments with (say) quotes
5184 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5185
9a4888c0
CY
51862012-02-26 Chong Yidong <cyd@gnu.org>
5187
07498861
CY
5188 * help-fns.el (describe-function-1): Clarify description of
5189 remapping (Bug#10844).
5190
9a4888c0
CY
5191 * files.el (files-equal-p): Doc fix.
5192 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5193 and quit the loop once a mismatch is found.
5194
ea8fb88d
JB
51952012-02-25 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * bs.el (bs--show-with-configuration): Don't throw an error
5198 if the window cannot be split; otherwise, subsequent calls to
5199 bs-show fail, restoring a stale window config. (Bug#10882)
5200
525795c1
JD
52012012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5202
5203 * term/ns-win.el (global-map): Bind ns-drag-file to
5204 ns-find-file (Bug#5855, Bug#10050).
5205
f008086f
AS
52062012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5207
5208 * calendar/parse-time.el (parse-time-string): Allow extractor to
5209 return nil.
5210
a3fcfa99
MA
52112012-02-25 Michael Albinus <michael.albinus@gmx.de>
5212
91027d08
JB
5213 * net/tramp.el (tramp-file-name-for-operation):
5214 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5215
5216 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5217 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5218 Add COPY-CONTENTS argument.
a3fcfa99 5219
67b0de11
CY
52202012-02-25 Chong Yidong <cyd@gnu.org>
5221
5222 Add custom groups for VC backends, for consistency with vc-bzr.
5223
5224 * vc/vc-arch.el (vc-arch):
5225 * vc/vc-cvs.el (vc-cvs):
5226 * vc/vc-git.el (vc-git):
5227 * vc/vc-hg.el (vc-hg):
5228 * vc/vc-mtn.el (vc-mtn):
5229 * vc/vc-rcs.el (vc-rcs):
5230 * vc/vc-sccs.el (vc-sccs):
5231 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5232 All relevant defcustoms reassigned.
5233
3c9dfce6
CY
52342012-02-25 Chong Yidong <cyd@gnu.org>
5235
1339bf43
CY
5236 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5237
3c9dfce6
CY
5238 * term/x-win.el (x-initialize-window-system): Reduce default for
5239 x-selection-timeout to 5 seconds (Bug#8869).
5240
25b2e303 52412012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5242
ec70a47d
GM
5243 * files.el (files-equal-p, file-subdir-of-p): New functions.
5244 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5245 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5246 * dired-aux.el (dired-copy-file-recursive): Same.
5247 (dired-create-files): Modify destination when source is equal to
5248 dest when copying files.
53a46cd0 5249 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5250
914260cd
MA
52512012-02-24 Michael Albinus <michael.albinus@gmx.de>
5252
5253 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5254 (Bug#10874)
5255
2cb228f7
AM
52562012-02-23 Alan Mackenzie <acm@muc.de>
5257
5258 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5259 parameter "after-hook:" to allow the expansion to run code after
5260 the execution of the mode hooks.
5261
5262 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5263 from font-lock-mode-internal.
2cb228f7 5264
91027d08 5265 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5266 :after-hook.
5267
8f0fde21
SM
52682012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5269
3e88618b
SM
5270 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5271 (completion--cache-all-sorted-completions): New function.
5272 (completion-all-sorted-completions): Use it.
5273 (completion--do-completion, minibuffer-force-complete):
5274 Use it to re-instate the flush hook.
5275
8f0fde21
SM
5276 * icomplete.el (icomplete-completions): Replace last fix with a better
5277 one (bug#10850).
5278
8e911f6f
DG
52792012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5280
5281 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5282 when it might call us back infinitely (bug#10797).
5283
49fe4321
GM
52842012-02-23 Glenn Morris <rgm@gnu.org>
5285
5286 * minibuffer.el (completion-category-overrides): Doc fix.
5287
b291b572
SM
52882012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5291 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5292
31a9ef2e
GM
52932012-02-23 Glenn Morris <rgm@gnu.org>
5294
5e6e6794 5295 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5296 (authors-obsolete-files-regexps, authors-ignored-files)
5297 (authors-ambiguous-files, authors-renamed-files-alist):
5298 Add more entries.
5299
0bd1e074
JL
53002012-02-23 Juri Linkov <juri@jurta.org>
5301
5302 * isearch.el (isearch-occur): Sync interactive spec with occur's
5303 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5304
b617673c
JL
5305 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5306
19e9789e
JL
53072012-02-22 Juri Linkov <juri@jurta.org>
5308
5309 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5310 (ucs-insert): Doc fix. Check for hex digits in the string.
5311 Don't display `nil' in the error message. (Bug#10857)
5312
f41ce09d
AM
53132012-02-22 Alan Mackenzie <acm@muc.de>
5314
7a71b18d 5315 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5316
ac2eceee
GM
53172012-02-22 Glenn Morris <rgm@gnu.org>
5318
5319 * ffap.el (ffap-c-path):
5320 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5321
abd1f678
CY
53222012-02-22 Chong Yidong <cyd@gnu.org>
5323
5324 * custom.el (load-theme): Doc fix.
5325
f25aef2e
GM
53262012-02-22 Glenn Morris <rgm@gnu.org>
5327
5328 * dired-x.el (dired-guess-shell-alist-default):
5329 Remove escape sequences from nroff output. (Bug#172)
5330
5f8dc2ca
GM
53312012-02-21 Glenn Morris <rgm@gnu.org>
5332
6ff86ec4
GM
5333 * vc/emerge.el (emerge-defvar-local):
5334 Set `permanent-local' property rather than unused `preserved'.
5335
be3223a3 5336 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5337 (picture-mode-map): Use it. (Bug#10860)
5338 (picture-mode): Doc fix.
5339
3fe58f4f
JB
53402012-02-21 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * newcomment.el (uncomment-region-default): Remove unused binding.
5343
f9a998c3
GM
53442012-02-21 Glenn Morris <rgm@gnu.org>
5345
5346 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5347 (picture-self-insert, picture-tab-chars): Doc fix.
5348 (picture-mode-map): Fix C-a, C-e.
5349
c6029348
GM
53502012-02-20 Glenn Morris <rgm@gnu.org>
5351
5352 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5353
ab1ce9d7
LL
53542012-02-20 Leo Liu <sdl.web@gmail.com>
5355
5356 * icomplete.el (icomplete-completions): Check FROM arg before
5357 passing to substring (Bug#10850).
5358
0fd40f89
CY
53592012-02-19 Chong Yidong <cyd@gnu.org>
5360
5361 * comint.el: Require ansi-color.
5362 (comint-output-filter-functions): Add ansi-color-process-output.
5363
5364 * ansi-color.el: Don't set comint-output-filter-functions; it is
5365 now in the initial value defined in comint.el.
5366 (ansi-color-apply-face-function): New variable.
5367 (ansi-color-apply-on-region): Use it.
5368 (ansi-color-apply-overlay-face): New function.
5369
5370 * shell.el (shell): No need to require ansi-color.
5371 (shell-mode): Use ansi-color-apply-face-function to highlight
5372 color escapes using font-lock-face property (Bug#10835).
5373
20af2394
CY
53742012-02-19 Chong Yidong <cyd@gnu.org>
5375
5376 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5377 mode-line formats (Bug#10839).
5378
e23a3fbe
GM
53792012-02-18 Glenn Morris <rgm@gnu.org>
5380
b474519e
GM
5381 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5382
5383 * mail/undigest.el (unforward-rmail-message): Doc fix.
5384
e23a3fbe
GM
5385 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5386
57939ff4
EZ
53872012-02-18 Eli Zaretskii <eliz@gnu.org>
5388
5389 * international/characters.el (script-list): Sync with the latest
5390 Unicode Character Database.
5391
0c23686e
AS
53922012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5393
5394 * international/titdic-cnv.el: Remove duplicate coding tag.
5395 * language/cham.el: Likewise.
5396 * language/tai-viet.el: Likewise.
5397
6818b449
GM
53982012-02-18 Glenn Morris <rgm@gnu.org>
5399
5400 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5401 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5402 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5403 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5404 * calendar/holidays.el (holiday-bahai-holidays)
5405 (calendar-holidays, list-holidays):
5406 Use utf-8 Bahá'í in doc-strings, menus, etc.
5407
0311a3fc
TH
54082012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5409
5410 * saveplace.el (save-place-ignore-files-regexp): New variable
5411 allowing for excluding files from saving their location of point.
5412 The default value matches the temporary commit message editing
5413 files from Git, SVN, Bazaar, and Mercurial.
5414 (save-place-to-alist): Use it.
5415
d209e2fb 54162012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5417 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * newcomment.el (uncomment-region-default): Don't leave extra space
5420 when an arg is provided (bug#8150).
5421
ee0ce425
TZ
54222012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5423
eb864a71 5424 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5425
95ddf442
GM
54262012-02-17 Glenn Morris <rgm@gnu.org>
5427
5428 * net/socks.el: Require network-stream. (Bug#10599)
5429
48dd1e39 54302012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5431
5432 * international/charprop.el:
5433 * international/uni-name.el:
5434 * international/uni-old-name.el:
5435 * international/uni-comment.el: Regenerate.
5436
d68cd087
GM
54372012-02-16 Glenn Morris <rgm@gnu.org>
5438
5439 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5440 Interactively in calendar buffer, give an error if not on a date.
5441
13932042
GM
54422012-02-15 Glenn Morris <rgm@gnu.org>
5443
5444 * shell.el (shell-delimiter-argument-list):
5445 Revert 2011-02-17 change. (Bug#8027)
5446
c3a70e2b
CY
54472012-02-15 Chong Yidong <cyd@gnu.org>
5448
60236b0d
CY
5449 * minibuffer.el (completion-at-point-functions): Doc fix.
5450
c3a70e2b
CY
5451 * custom.el (defcustom): Doc fix; note use of defvar.
5452
9f26dc24
GM
54532012-02-15 Glenn Morris <rgm@gnu.org>
5454
5455 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5456 Doc fixes.
5457
6546b134
GM
54582012-02-14 Glenn Morris <rgm@gnu.org>
5459
5460 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5461
d29b2b4c
LI
54622012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5463
5464 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5465 way the ports list is computed.
835bdcba
LI
5466 (smtpmail-query-smtp-server): Prompt the user for a port number if
5467 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5468
08dcdbc9
TZ
54692012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5470
5471 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5472
2605051a
GM
54732012-02-13 Glenn Morris <rgm@gnu.org>
5474
5475 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5476
7ee99f32
TZ
54772012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5478
5479 * net/gnutls.el (gnutls-trustfiles): New variable.
5480 (gnutls-negotiate): Use it.
5481
5f0af64f
LI
54822012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5483
5484 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5485 does its stuff if Gnus is running.
5486
c14fcc95
AM
54872012-02-13 Alan Mackenzie <acm@muc.de>
5488
5489 Fix a loop in c-set-fl-decl-start.
5490
7a71b18d 5491 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5492 c-backward-syntactic-ws actually moves backwards.
5493
142b4d90
LL
54942012-02-13 Leo Liu <sdl.web@gmail.com>
5495
5496 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5497 beginning so that all \C-o chars are removed.
5498
fa9958a6
TZ
54992012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5500
dc9924b8 5501 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5502
0bc5886a
AM
55032012-02-12 Alan Mackenzie <acm@muc.de>
5504
5505 Fix infinite loop with long macros.
4d6769e1 5506 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5507
d4bd55e7
CY
55082012-02-12 Chong Yidong <cyd@gnu.org>
5509
5510 * window.el (display-buffer): Doc fix (Bug#10785).
5511
66f3fe22
GM
55122012-02-12 Glenn Morris <rgm@gnu.org>
5513
bd7da63e
GM
5514 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5515 (x-disown-selection-internal, x-get-selection-internal):
5516 Sync docs with the xselect.c versions.
5517
66f3fe22
GM
5518 * allout-widgets.el: Add missing license notice.
5519
3e0d2fa7
GM
55202012-02-11 Glenn Morris <rgm@gnu.org>
5521
cfecdf09
GM
5522 * select.el (x-get-selection-internal, x-own-selection-internal)
5523 (x-disown-selection-internal):
5524 * x-dnd.el (x-get-selection-internal): Update declarations.
5525
6d216d7f
GM
5526 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5527
2bed3f04
GM
5528 * window.el (window-sides-slots):
5529 * tool-bar.el (tool-bar-position):
5530 * term/xterm.el (xterm-extra-capabilities):
5531 * ses.el (ses-self-reference-early-detection):
5532 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5533 (verilog-auto-wire-type)
5534 (verilog-auto-delete-trailing-whitespace)
5535 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5536 (verilog-auto-tieoff-declaration):
5537 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5538 (sql-oracle-statement-starters, sql-oracle-scan-on):
5539 * progmodes/prolog.el (prolog-align-comments-flag)
5540 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5541 (prolog-left-indent-regexp, prolog-paren-indent-p)
5542 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5543 (prolog-types, prolog-mode-specificators)
5544 (prolog-determinism-specificators, prolog-directives)
5545 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5546 (prolog-electric-dot-flag)
5547 (prolog-electric-dot-full-predicate-template)
5548 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5549 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5550 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5551 (prolog-program-switches, prolog-prompt-regexp)
5552 (prolog-debug-on-string, prolog-debug-off-string)
5553 (prolog-trace-on-string, prolog-trace-off-string)
5554 (prolog-zip-on-string, prolog-zip-off-string)
5555 (prolog-use-standard-consult-compile-method-flag)
5556 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5557 (prolog-imenu-max-lines, prolog-info-predicate-index)
5558 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5559 (prolog-char-quote-workaround):
5560 * progmodes/cc-vars.el (c-defun-tactic):
5561 * net/tramp.el (tramp-encoding-command-interactive)
5562 (tramp-local-end-of-line):
5563 * net/soap-client.el (soap-client):
5564 * net/netrc.el (netrc-file):
5565 * net/gnutls.el (gnutls):
5566 * minibuffer.el (completion-category-overrides)
5567 (completion-cycle-threshold)
5568 (completion-pcm-complete-word-inserts-delimiters):
5569 * man.el (Man-name-local-regexp):
5570 * mail/feedmail.el (feedmail-display-full-frame):
5571 * international/characters.el (glyphless-char-display-control):
5572 * eshell/em-ls.el (eshell-ls-date-format):
5573 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5574 (lisp-lambda-list-keyword-parameter-indentation)
5575 (lisp-lambda-list-keyword-parameter-alignment):
5576 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5577 * dired-x.el (dired-omit-verbose):
5578 * cus-theme.el (custom-theme-allow-multiple-selections):
5579 * calc/calc.el (calc-highlight-selections-with-faces)
5580 (calc-lu-field-reference, calc-lu-power-reference)
5581 (calc-note-threshold):
5582 * battery.el (battery-mode-line-limit):
5583 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5584 (archive-7z-update):
5585 * allout.el (allout-prefixed-keybindings)
5586 (allout-unprefixed-keybindings)
5587 (allout-inhibit-auto-fill-on-headline)
5588 (allout-flattened-numbering-abbreviation):
5589 * allout-widgets.el (allout-widgets-auto-activation)
5590 (allout-widgets-icons-dark-subdir)
5591 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5592 (allout-widgets-theme-dark-background)
5593 (allout-widgets-theme-light-background)
5594 (allout-widgets-item-image-properties-emacs)
5595 (allout-widgets-item-image-properties-xemacs)
5596 (allout-widgets-run-unit-tests-on-load)
5597 (allout-widgets-time-decoration-activity)
5598 (allout-widgets-hook-error-post-time)
5599 (allout-widgets-track-decoration):
5600 Add missing :version tags to new defcustoms and defgroups.
5601
5fec1b8e
GM
5602 * progmodes/sql.el (sql-ansi-statement-starters)
5603 (sql-oracle-statement-starters): Add custom type.
5604
3e0d2fa7
GM
5605 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5606 (prolog-system-version): Give it a type.
5607
90b671e2
EZ
56082012-02-11 Eli Zaretskii <eliz@gnu.org>
5609
5610 * term/pc-win.el (x-select-text, x-selection-owner-p)
5611 (x-own-selection-internal, x-disown-selection-internal)
5612 (x-get-selection-internal): Sync doc strings and argument lists
5613 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5614
5eac0c02
LL
56152012-02-11 Leo Liu <sdl.web@gmail.com>
5616
5617 * progmodes/python.el (python-end-of-statement): Fix infinite
5618 loop. (Bug#10788)
5619
f82cb659
GM
56202012-02-10 Glenn Morris <rgm@gnu.org>
5621
5622 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5623 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5624
cc26d239
LI
56252012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5626
5627 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5628 about SMTP before checking the From header.
5629
91027d08 5630 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5631 into own function for reuse by emacsbug.el.
5632
1be3ca5a
LL
56332012-02-10 Leo Liu <sdl.web@gmail.com>
5634
5635 * subr.el (condition-case-unless-debug): Rename from
5636 condition-case-no-debug. All callers changed.
5637 (with-demoted-errors): Fix caller.
5638
5639 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5640 * nxml/rng-valid.el (rng-do-some-validation):
5641 * emacs-lisp/package.el (package-refresh-contents)
5642 (package-menu-execute):
5643 * desktop.el (desktop-create-buffer):
91027d08 5644 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5645
b011fbfe
GM
56462012-02-10 Glenn Morris <rgm@gnu.org>
5647
b2096d72
GM
5648 * textmodes/bibtex.el:
5649 Add missing :version tags for new/changed defcustoms.
5650
b011fbfe
GM
5651 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5652
4c7e65bf
LI
56532012-02-09 Lars Ingebrigtsen <larsi@rusty>
5654
5655 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5656 (smtpmail-via-smtp): Use it, or fall back on the From address.
5657 (smtpmail-send-it): Ditto.
5658
f3934f6f
SM
56592012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5662 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5663 (byte-compile-tmp-var): New const.
5664 (byte-compile-defvar): Use it to minimize .elc size.
5665 Just use `defvar' rather than simulate it (bug#10761).
5666
a075a2c5
GM
56672012-02-09 Glenn Morris <rgm@gnu.org>
5668
cf3aa21b
GM
5669 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5670
354998cd
GM
5671 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5672 Add :version tags.
5673
dc9924b8
SM
5674 * progmodes/compile.el (compilation-error-screen-columns)
5675 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5676
dab3703d
GM
5677 * vc/log-view.el (log-view-toggle-entry-display):
5678 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5679
3f88cd72
GM
5680 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5681 (report-emacs-bug-can-use-xdg-email):
5682 (report-emacs-bug-insert-to-mailer): Doc fixes.
5683 (report-emacs-bug): Message fix.
5684
d95b247d
GM
5685 * net/browse-url.el (browse-url-can-use-xdg-open)
5686 (browse-url-xdg-open): Doc fixes.
5687
a075a2c5
GM
5688 * electric.el (electric-indent-mode, electric-pair-mode)
5689 (electric-layout-rules, electric-layout-mode): Doc fixes.
5690 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5691
ffb6157e
MR
56922012-02-08 Martin Rudalics <rudalics@gmx.at>
5693
5694 * server.el (server-unselect-display): Don't inadvertently kill
5695 the current buffer. (Bug#10729)
5696
e1ac4066
GM
56972012-02-08 Glenn Morris <rgm@gnu.org>
5698
34e8a2da
GM
5699 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5700 (sql-list-table): Doc fixes.
5701
b4ac6e8c
GM
5702 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5703 Comment out (does nothing).
5704
e1ac4066
GM
5705 * completion.el (dynamic-completion-mode):
5706 * dirtrack.el (dirtrack-debug-mode):
5707 * electric.el (electric-layout-mode):
5708 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5709 * face-remap.el (text-scale-mode, buffer-face-mode):
5710 * iimage.el (iimage-mode):
5711 * image-mode.el (image-transform-mode):
5712 * minibuffer.el (completion-in-region-mode):
5713 * scroll-lock.el (scroll-lock-mode):
5714 * simple.el (next-error-follow-minor-mode):
5715 * tar-mode.el (tar-subfile-mode):
5716 * tooltip.el (tooltip-mode):
5717 * vcursor.el (vcursor-use-vcursor-map):
5718 * wid-browse.el (widget-minor-mode):
5719 * emulation/tpu-edt.el (tpu-edt-mode):
5720 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5721 * international/iso-ascii.el (iso-ascii-mode):
5722 * language/thai-util.el (thai-word-mode):
5723 * mail/supercite.el (sc-minor-mode):
5724 * net/goto-addr.el (goto-address-mode):
5725 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5726 * progmodes/cwarn.el (cwarn-mode):
5727 * progmodes/flymake.el (flymake-mode):
5728 * progmodes/glasses.el (glasses-mode):
5729 * progmodes/hideshow.el (hs-minor-mode):
5730 * progmodes/pascal.el (pascal-outline-mode):
5731 * textmodes/enriched.el (enriched-mode):
5732 * vc/smerge-mode.el (smerge-mode):
5733 Doc fixes (minor mode argument).
5734
5e0d957f
EZ
57352012-02-07 Eli Zaretskii <eliz@gnu.org>
5736
5737 * ls-lisp.el (ls-lisp-sanitize): New function.
5738 (ls-lisp-insert-directory): Use it to fix or remove any elements
5739 in file-alist with missing attributes. (Bug#4673)
5740
98d7371e
AM
57412012-02-07 Alan Mackenzie <acm@muc.de>
5742
5743 Fix spurious recognition of c-in-knr-argdecl.
5744
5745 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5746 putative K&R region.
5747
667ced3a
AM
57482012-02-07 Alan Mackenzie <acm@muc.de>
5749
eb864a71
LM
5750 * progmodes/cc-engine.el (c-forward-objc-directive):
5751 Prevent looping in "#pragma mark @implementation".
667ced3a 5752
5b77774d
MA
57532012-02-07 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * notifications.el (notifications-on-closed-signal): Make `reason'
5756 optional. (Bug#10744)
5757
af008560
GM
57582012-02-07 Glenn Morris <rgm@gnu.org>
5759
60d47423
GM
5760 * emacs-lisp/easy-mmode.el (define-minor-mode):
5761 Doc fixes for the macro and the mode it defines.
5762
dd605cc4
GM
5763 * image.el (imagemagick-types-inhibit): Doc fix.
5764
af008560
GM
5765 * cus-start.el (imagemagick-render-type): Add it.
5766
5cc59a37
LI
57672012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5768
4d6769e1
JB
5769 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5770 Set the default at load time, too, so that `font-lock-fontify-buffer'
5771 can be called without setting up the entire mode first. This fixes
5772 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5773
9a6dd747
CY
57742012-02-06 Chong Yidong <cyd@gnu.org>
5775
2d16b285
CY
5776 * simple.el (list-processes--refresh): Delete exited processes
5777 (Bug#8094).
5778
171e9b6e
CY
5779 * comint.el (comint-next-prompt): next-single-char-property-change
5780 and prev-single-char-property-change never return nil (Bug#8657).
5781
9a6dd747
CY
5782 * custom.el (defcustom): Doc fix (Bug#9711).
5783
aa4589a7
CY
57842012-02-05 Chong Yidong <cyd@gnu.org>
5785
5c2a252f
CY
5786 * cus-edit.el (custom-variable-reset-backup): Quote the value
5787 before storing it in the customized-value property (Bug#6712).
4aab9006 5788 (custom-display): Add a customization type tag.
983b9602 5789 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5790
aa4589a7
CY
5791 * wid-edit.el (widget-field-value-get): New optional arg to
5792 suppress trailing whitespace truncation.
5793 (character): Use it (Bug#2689).
5794
1ff980ae
AS
57952012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5798 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5799
03988c98
CY
58002012-02-05 Chong Yidong <cyd@gnu.org>
5801
eeb6cc88
CY
5802 * cus-edit.el (custom-variable-value-create): For mismatched
5803 types, show the current value (Bug#7600).
5804
03988c98
CY
5805 * custom.el (defcustom): Doc fix.
5806
f8cdeef0
GM
58072012-02-05 Glenn Morris <rgm@gnu.org>
5808
5809 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5810
0696d255
JB
58112012-02-05 Juanma Barranquero <lekktu@gmail.com>
5812
5813 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5814 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5815 (pp-last-sexp): Use `looking-at-p'.
5816
34c99998
GM
58172012-02-04 Glenn Morris <rgm@gnu.org>
5818
8f05da42
GM
5819 * files.el (revert-buffer):
5820 Doc fix (mention revert-buffer-in-progress-p).
5821
f160676e
GM
5822 * emacs-lisp/ert-x.el (ert-simulate-command):
5823 Check deferred-action-list (which is obsolete) is bound.
5824
c7291ad9
GM
5825 * subr.el (with-wrapper-hook): Doc fixes.
5826
34c99998
GM
5827 * simple.el (filter-buffer-substring-functions)
5828 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5829
6283a7d3
LL
58302012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5831
5832 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5833 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5834
e96e3013
LL
58352012-02-04 Leo Liu <sdl.web@gmail.com>
5836
5837 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5838
8ded50f2
GM
58392012-02-04 Glenn Morris <rgm@gnu.org>
5840
82ff1d13
GM
5841 * image.el (image-extension-data): Add obsolete alias.
5842
987a0a16
GM
5843 * isearch.el (isearch-update): Doc fix.
5844
ea32ef46
GM
5845 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5846
8ded50f2
GM
5847 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5848
eea14f31
GM
58492012-02-03 Glenn Morris <rgm@gnu.org>
5850
5851 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5852 (image-animate-timeout): Doc fix.
5853
5854 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5855
12f381b7
GM
58562012-02-02 Glenn Morris <rgm@gnu.org>
5857
953cebf5
GM
5858 * server.el (server-auth-dir): Doc fix.
5859 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5860
12f381b7
GM
5861 * subr.el (run-mode-hooks): Doc fix.
5862
953a8c3b
JL
58632012-02-02 Juri Linkov <juri@jurta.org>
5864
5865 * image-mode.el (image-toggle-display-image): Remove tautological
5866 `major-mode' from the `derived-mode-p' test.
5867
c5d3843c
KH
58682012-02-02 Kenichi Handa <handa@m17n.org>
5869
9f6e692e 5870 * composite.el (compose-region): Cancel previous change.
c5d3843c 5871
159462d4 58722012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5873
5874 * composite.el (compose-region, compose-string): Signal error for
5875 a null string component (Bug#6988).
5876
9f562668
CY
58772012-02-01 Chong Yidong <cyd@gnu.org>
5878
e2cef717
CY
5879 * view.el (view-buffer-other-window, view-buffer-other-frame):
5880 Handle special modes like view-buffer (Bug#10650).
5881 (view-buffer): Simplify.
5882
9f562668
CY
5883 * frame.el (set-frame-font): Tweak meaning of third argument.
5884
9f6e692e
JB
5885 * dynamic-setting.el (font-setting-change-default-font):
5886 Use set-frame-font (Bug#9982).
9f562668 5887
781acb9f
GM
58882012-02-01 Glenn Morris <rgm@gnu.org>
5889
6035be52
GM
5890 * progmodes/compile.el (compilation-internal-error-properties):
5891 Respect compilation-first-column in the "*compilation*" buffer.
5892
781acb9f
GM
5893 * emacs-lisp/easy-mmode.el (define-minor-mode):
5894 Relax :variable's test for a named function.
5895
abbceb00
AM
58962012-01-31 Alan Mackenzie <acm@muc.de>
5897
5898 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5899 off by one error.
5900
fce3fdeb
CY
59012012-01-31 Chong Yidong <cyd@gnu.org>
5902
5903 * frame.el (set-frame-font): New arg ALL-FRAMES.
5904
5905 * menu-bar.el (menu-set-font): Use set-frame-font.
5906
5907 * faces.el (face-spec-reset-face): Don't apply unspecified
5908 attribute values to the default face.
5909
47893581
JB
59102012-01-31 Juanma Barranquero <lekktu@gmail.com>
5911
5912 * progmodes/cwarn.el (cwarn): Remove dead link.
5913 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5914 Remove * from defcustom docstrings.
5915 (turn-on-cwarn-mode): Make obsolete.
5916 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5917 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5918
e58e988a
GM
59192012-01-31 Glenn Morris <rgm@gnu.org>
5920
60dc2671 5921 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5922 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5923 Allow named functions to be used as the cdr of :variable.
e58e988a 5924
7a3f511d
GM
59252012-01-30 Glenn Morris <rgm@gnu.org>
5926
5927 * emacs-lisp/authors.el (authors-fixed-entries):
5928 Remove reference to deleted file rnewspost.el.
5929
cb882333
JB
59302012-01-29 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * window.el (window-with-parameter): Remove unused variable `windows'.
5933 (window--side-check): Remove unused variable `code'.
5934 (window--resize-siblings): Remove unused variable `first'.
5935 (adjust-window-trailing-edge): Remove unused variable `failed'.
5936 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5937 Use `let', not `let*'.
5938 (balance-windows-2): Remove unused variable `found'.
5939 (window--state-put-2): Remove unused variable `splits'.
5940 (window-state-put): Remove unused variable `selected'.
5941 (same-window-p): Use `string-match-p'.
5942 (display-buffer-assq-regexp): Remove unused variable `value'.
5943 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5944 Mark argument ALIST as ignored.
5945 (pop-to-buffer): Remove unused variable `old-window'.
5946
907201af
EZ
59472012-01-29 Eli Zaretskii <eliz@gnu.org>
5948
5949 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5950 and .lzma compressed files.
5951
ea162670
CY
59522012-01-29 Chong Yidong <cyd@gnu.org>
5953
5b95ee8a
CY
5954 * frame.el (window-system-default-frame-alist): Doc fix.
5955
ea162670
CY
5956 * dynamic-setting.el (font-setting-change-default-font): Don't
5957 change the default face if SET-FONT argument is non-nil (Bug#9982).
5958
d6e6f4b1
SB
59592012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5960
5961 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5962
0f29fa41 59632012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5964
5965 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5966 breakpoints in files outside current directory (Bug#6098).
5967
db174434
CY
59682012-01-29 Chong Yidong <cyd@gnu.org>
5969
6b25e4e2
SE
5970 * progmodes/python.el: Require ansi-color at top-level.
5971
6df6ae42
JB
5972 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5973 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5974 (lisp-mode-abbrev-table): Add doc.
5975 (lisp-mode-variables): Don't set local-abbrev-table.
5976 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5977
e70ee681
RW
59782012-01-28 Roland Winkler <winkler@gnu.org>
5979
5980 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5981
ace88aa2
RW
59822012-01-28 Roland Winkler <winkler@gnu.org>
5983
5984 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5985 (bibtex-set-dialect): Use it. Either set global values of
5986 dialect-dependent variables or bind these variables buffer-locally
5987 (Bug#10254).
5988 (bibtex-mode): Call bibtex-set-dialect via
5989 hack-local-variables-hook.
eb864a71
LM
5990 (bibtex-dialect): Update docstring.
5991 Add safe-local-variable predicate.
ace88aa2
RW
5992 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5993 bibtex-set-dialect.
5994 (bibtex-mode-map): Define menu for each dialect.
5995 (bibtex-entry): Fix docstring.
5996
93376c5b
CY
59972012-01-28 Chong Yidong <cyd@gnu.org>
5998
5999 * eshell/esh-arg.el (eshell-quote-argument): New function.
6000
6001 * eshell/esh-ext.el (eshell-invoke-batch-file):
6002 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6003 first arg to eshell-parse-command (Bug#10523).
6004
4372494f
DA
60052012-01-28 Drew Adams <drew.adams@oracle.com>
6006
6007 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6008 `default-directory' is non-nil.
6009
4d4ec1f8
EZ
60102012-01-28 Eli Zaretskii <eliz@gnu.org>
6011
6012 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6013 line that displays system-configuration-options. (Bug#9924)
6014
7c188927
DA
60152012-01-28 Drew Adams <drew.adams@oracle.com>
6016
6017 * descr-text.el (describe-char): Show information about POS, in
6018 addition to information about the character at POS. Improve and
6019 update the doc string. Change "code point" to "code point in
6020 charset", to avoid confusion with the character's Unicode code
6021 point shown above that. (Bug#10129)
6022
e0da685a
EZ
60232012-01-28 Eli Zaretskii <eliz@gnu.org>
6024
6025 * descr-text.el (describe-char): Show the raw character, not only
6026 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6027 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6028 for the reasons.
6029
70550acf
PH
60302012-01-28 Phil Hagelberg <phil@hagelb.org>
6031
eb864a71
LM
6032 * emacs-lisp/package.el (package-install):
6033 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6034
0ce8e868
CY
60352012-01-28 Chong Yidong <cyd@gnu.org>
6036
cb882333
JB
6037 * emacs-lisp/package.el (package-maybe-load-descriptor):
6038 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6039 (package-maybe-load-descriptor): Use it.
6040 (package-download-transaction): Fully load required packages
6041 inside the loop, so that `require' calls work (Bug#10593).
6042 (package-install): No need to call package-initialize now.
6043
2e7f3bea
CY
60442012-01-28 Chong Yidong <cyd@gnu.org>
6045
6e9bad14
CY
6046 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6047
f823b8ca
CY
6048 * tooltip.el (tooltip-mode): Doc fix.
6049 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6050
2680c309
CY
6051 * frame.el (set-cursor-color): Doc fix (Bug#352).
6052
d7a9e63b
CY
6053 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6054 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6055
2e7f3bea
CY
6056 * cus-edit.el (custom-buffer-create-internal): Fix search button
6057 action (Bug#10542).
2ae01800 6058 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6059
fc4f7a23
EW
60602012-01-27 Eduard Wiebe <usenet@pusto.de>
6061
6062 * dired.el (dired-mark-files-regexp):
6063 Include any subdirectory components. (Bug#10445)
6064
7dd37071
ML
60652012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6066
6067 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6068 Handle [host]:port syntax. (Bug#10533)
6069
a268160b
AH
60702012-01-27 Alex Harsanyi <harsanyi@mac.com>
6071
6072 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6073
e43273ef
GM
60742012-01-26 Glenn Morris <rgm@gnu.org>
6075
6076 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6077 * term.el (term-raw-escape-map): Use Control-X-prefix.
6078 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6079
1edf595d
MR
60802012-01-25 Martin Rudalics <rudalics@gmx.at>
6081
6082 * window.el (window-state-get, window--state-get-1): Don't deal
6083 with fixed-sizeness of windows. Simplify code.
6084
fa8eafef
JC
60852012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6086
6df6ae42
JB
6087 * window.el (window--state-get-1, window--state-put-2):
6088 Don't save and restore the mark.
fa8eafef 6089
0b21c100
CY
60902012-01-25 Chong Yidong <cyd@gnu.org>
6091
6092 * custom.el (custom-variable-p): Doc fix.
6093
5ae1a6c8
GM
60942012-01-25 Glenn Morris <rgm@gnu.org>
6095
40047858
GM
6096 * dired.el (dired-goto-file): Handle some of the more common
6097 characters that `ls -b' escapes. (Bug#10596)
6098
5ddce96c
GM
6099 * progmodes/compile.el (compilation-next-error-function):
6100 Respect compilation-first-column in the "*compilation*" buffer.
6101 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6102
5ae1a6c8
GM
6103 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6104
b559f1a9
GM
61052012-01-24 Glenn Morris <rgm@gnu.org>
6106
6107 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6108
6725d21a
JD
61092012-01-24 Julien Danjou <julien@danjou.info>
6110
6111 * color.el (color-rgb-to-hsl): Fix value computing.
6112 (color-hue-to-rgb): New function.
6113 (color-hsl-to-rgb): New function.
6114 (color-clamp, color-saturate-hsl, color-saturate-name)
6115 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6116 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6117
70df4bbe
GM
61182012-01-24 Glenn Morris <rgm@gnu.org>
6119
6120 * vc/vc-rcs.el (vc-rcs-create-tag):
6121 * vc/vc-sccs.el (vc-sccs-create-tag):
6122 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6123
802a2ae2
ML
61242012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6125
6126 * eshell/esh-util.el (eshell-read-hosts-file):
6127 Skip comment lines. (Bug#10549)
6128
d7128bb1
ML
6129 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6130
d1a5c3b4
JB
61312012-01-23 Juanma Barranquero <lekktu@gmail.com>
6132
2724d9c7
JB
6133 * subr.el (display-delayed-warnings): Doc fix.
6134 (collapse-delayed-warnings): New function to collapse identical
6135 adjacent warnings.
6136 (delayed-warnings-hook): Add it.
d1a5c3b4 6137
a5509865
MA
61382012-01-22 Michael Albinus <michael.albinus@gmx.de>
6139
6140 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6141
a5509865
MA
6142 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6143 (tramp-default-user-alist): Don't add "pscp".
6144 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6145 property "login-as", if set. (Bug#10530)
6146
cc6d5805
MA
61472012-01-21 Michael Albinus <michael.albinus@gmx.de>
6148
6149 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6150 "plink1" and "psftp". (Bug#10530)
6151
61522012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6153
6154 * international/mule-cmds.el (prefer-coding-system): Show a
6155 warning message if the default value of file-name-coding-system
6156 was not changed.
6157
f0960428
JC
61582012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6159
cb882333
JB
6160 * windmove.el (windmove-reference-loc):
6161 Fix windmove-reference-loc miscalculation.
f0960428 6162
dd6f2a63
JB
61632012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6164
6165 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6166 default unit.
6167
7b447e9b
GM
61682012-01-21 Glenn Morris <rgm@gnu.org>
6169
117a9ea1
GM
6170 * international/mule.el (auto-coding-alist): Add .tbz.
6171
7b447e9b
GM
6172 * files.el (local-enable-local-variables): Doc fix.
6173 (inhibit-local-variables-regexps): Rename from
6174 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6175 Doc fix. Add some extensions from auto-coding-alist.
6176 (inhibit-local-variables-suffixes):
6177 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6178 (inhibit-local-variables-p):
6179 New function, extracted from set-auto-mode-1.
6180 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6181 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6182 (hack-local-variables): Doc fix. Make the mode-only case
6183 respect enable-local-variables and friends.
6184 Respect inhibit-local-variables-regexps for file-locals, but
6185 not for directory-locals.
6186 (set-visited-file-name):
6187 Take account of inhibit-local-variables-regexps.
6188 Whether it applies may change as the file name is changed.
6189 * jka-cmpr-hook.el (jka-compr-install):
6190 * jka-compr.el (jka-compr-uninstall):
6191 Update for inhibit-first-line-modes-suffixes name change.
6192
dd6e3cdd
MR
61932012-01-20 Martin Rudalics <rudalics@gmx.at>
6194
6195 * help-macro.el (make-help-screen): Temporarily restore original
6196 binding for minor-mode-map-alist (Bug#10454).
6197
0d0deb38
JD
61982012-01-19 Julien Danjou <julien@danjou.info>
6199
6200 * color.el (color-name-to-rgb): Use the white color to find the max
6201 color component value and return correctly computed values.
6202 (color-name-to-rgb): Add missing float conversion for max value.
6203
34a02f46
MR
62042012-01-19 Martin Rudalics <rudalics@gmx.at>
6205
6206 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6207 special state value for window-persistent-parameters.
6208 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6209 (window--state-put-2): Reset all window parameters to nil before
6210 assigning values of persistent parameters.
6211
606c44c4
AM
62122012-01-18 Alan Mackenzie <acm@muc.de>
6213
6214 Eliminate sluggishness and hangs in fontification of "semicolon
6215 deserts".
6216
cb882333
JB
6217 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6218 Change value 10000 -> 3000.
606c44c4
AM
6219 (c-state-safe-place): Reformulate so it doesn't stack up an
6220 infinite number of wrong entries in c-state-nonlit-pos-cache.
6221 (c-determine-limit-get-base, c-determine-limit): New functions to
6222 determine backward search limits disregarding literals.
6223 (c-find-decl-spots): Amend commenting.
6224 (c-cheap-inside-bracelist-p): New function which detects "={".
6225
6226 * progmodes/cc-fonts.el
6227 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6228 backward search.
6229 (c-font-lock-declarations): Fix an occurrence of point being
6230 undefined. Check additionally for point being in a bracelist or
6231 near a macro invocation without a semicolon so as to avoid a
6232 fruitless time consuming search for a declarator. Give a more
6233 precise search limit for declarators using the new
6234 c-determine-limit.
6235
f3860cea
GM
62362012-01-18 Glenn Morris <rgm@gnu.org>
6237
6238 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6239 (set-auto-mode): Doc fixes.
6240
1db03b16
GM
62412012-01-17 Glenn Morris <rgm@gnu.org>
6242
0e6038be
GM
6243 * isearch.el (search-nonincremental-instead): Fix doc typo.
6244
1db03b16
GM
6245 * dired.el (dired-insert-directory): Handle newlines in directory name.
6246 (dired-build-subdir-alist): Unescape newlines in directory name.
6247
4cb0aa75
MA
62482012-01-17 Michael Albinus <michael.albinus@gmx.de>
6249
6250 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6251 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6252 (tramp-action-terminal): Use it. (Bug#10530)
6253
1d00653d
SM
62542012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6257
6a6ee00d
MR
62582012-01-16 Martin Rudalics <rudalics@gmx.at>
6259
6260 * window.el (window-state-ignored-parameters): Remove variable.
6261 (window--state-get-1): Rename argument MARKERS to IGNORE.
6262 Handle persistent window parameters. Make copy of clone-of
6263 parameter only if requested. (Bug#10348)
6264 (window--state-put-2): Install a window parameter only if it has
6265 a non-nil value or an existing parameter shall be overwritten.
6266
97912def
MA
62672012-01-15 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6270
688070a5
EZ
62712012-01-14 Eli Zaretskii <eliz@gnu.org>
6272
6273 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6274 don't pass the (nil) value of `upnode' to string-match.
6275
301afadc
CY
62762012-01-14 Chong Yidong <cyd@gnu.org>
6277
6278 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6279 Fix values recognized by the cursorBlink resource.
301afadc 6280
9e5788aa
PE
62812012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6282
6283 * epg.el (epg--make-temp-file): Avoid permission race condition
6284 when running on old Emacs versions (bug#10403).
6285
3cdb7f5a
GM
62862012-01-14 Glenn Morris <rgm@gnu.org>
6287
6288 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6289
8c82b1b4
AM
62902012-01-13 Alan Mackenzie <acm@muc.de>
6291
6292 Fix filling for when filladapt mode is enabled.
6293
6294 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6295 c-mask-paragraph, pass in `fill-paragraph' rather than
6296 `fill-region-as-paragraph'. (This is a reversion of a previous
6297 change.)
eb864a71
LM
6298 * progmodes/cc-mode.el (c-basic-common-init):
6299 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6300
e517eda4
GM
63012012-01-13 Glenn Morris <rgm@gnu.org>
6302
1498536e
GM
6303 * dired.el (dired-switches-escape-p): New function.
6304 (dired-insert-directory): Use dired-switches-escape-p.
6305 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6306
e517eda4
GM
6307 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6308
328f984d
GM
63092012-01-12 Glenn Morris <rgm@gnu.org>
6310
6311 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6312 changes in adaptive-fill-regexp. (Bug#10276)
6313
2cc769a8
AM
63142012-01-11 Alan Mackenzie <acm@muc.de>
6315
6316 Fix Emacs bug #10463 - put `widen's around the critical spots.
6317
1d00653d 6318 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6319 widen around each invocation of c-state-pp-to-literal. Remove an
6320 unused let variable.
6321
e52c37fa
GM
63222012-01-11 Glenn Morris <rgm@gnu.org>
6323
6324 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6325 Doc fix.
e52c37fa 6326
96f8741e
CY
63272012-01-10 Chong Yidong <cyd@gnu.org>
6328
1d00653d
SM
6329 * net/network-stream.el (network-stream-open-starttls):
6330 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6331 response to the capability command.
6332
b09a806e
GM
63332012-01-10 Glenn Morris <rgm@gnu.org>
6334
6335 * mail/unrmail.el (unrmail): Tweak previous change.
6336
7655cb66
CY
63372012-01-09 Chong Yidong <cyd@gnu.org>
6338
6339 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6340
9d5a8f0b
AM
63412012-01-08 Alan Mackenzie <acm@muc.de>
6342
6343 Optimise font locking in long enum definitions.
6344
6345 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6346 arm to a cond form to handle enums.
6347 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6348 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6349
9a0115ab 63502012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6351
6352 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6353 (Bug#10401)
6bb72cbd 6354
f186bb95
LMI
63552012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6356
29232a68
LMI
6357 * faces.el (set-face-attribute): Clarify the meaning of the nil
6358 frame (bug#10294).
6359
4e5d086d
LMI
6360 * subr.el (with-selected-frame): Mention that the selected frame
6361 is restored (bug#9980).
6362
8e66aebe
LMI
6363 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6364 (bug#9759).
6365
cd394be1 6366 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6367 (password-read): Don't autoload unused function.
6368
adf4e762
JB
63692012-01-07 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * progmodes/which-func.el (which-func-mode): Turn into a
6372 non-interactive function and mark as obsolete (bug#10428).
6373
89bd9ccd
CY
63742012-01-06 Chong Yidong <cyd@gnu.org>
6375
6376 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6377 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6378 functions, along with 1 and -1.
6379
4afee9d5
EZ
63802012-01-06 Eli Zaretskii <eliz@gnu.org>
6381
6382 * time.el (display-time-load-average)
6383 (display-time-default-load-average): Doc fixes. See the thread
6384 starting at
6385 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6386 for the details.
6387
536aea70
GM
63882012-01-06 Glenn Morris <rgm@gnu.org>
6389
665ae865
GM
6390 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6391 has no messages. (Bug#10377)
6392
c869783d
GM
6393 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6394 than Info-edit. (Bug#10385)
6395
2bb4227e
GM
6396 * time.el (display-time-load-average, display-time-next-load-average):
6397 Doc fixes.
6398
7d5944b9
GM
6399 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6400 local setting of buffer-read-only to the input buffer. (Bug#10419)
6401
536aea70
GM
6402 * calendar/calendar.el (calendar-mode):
6403 Locally set scroll-margin to 0. (Bug#10379)
6404
7dccca16
UM
64052012-01-06 Ulrich Mueller <ulm@gentoo.org>
6406
6407 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6408
afbb7930
GM
64092012-01-05 Glenn Morris <rgm@gnu.org>
6410
6411 * eshell/em-unix.el (diff-no-select): Autoload it.
6412 (eshell/diff): Use diff-no-select. (Bug#10420)
6413
04482335
CY
64142012-01-05 Chong Yidong <cyd@gnu.org>
6415
7baca3bc
CY
6416 * shell.el (shell-dynamic-complete-functions): Revert last change.
6417 (shell-command-completion-function): New function.
6418 (shell-completion-vars): Use it to implement
6419 shell-completion-execonly (Bug#10417).
6420
04482335
CY
6421 * custom.el (enable-theme): Don't set custom-safe-themes.
6422
1d00653d
SM
6423 * cus-theme.el (custom-theme-merge-theme):
6424 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6425
bb5aa5d6
MM
64262012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6427
6428 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6429 first prompt in `sql-interacive-mode'.
6430 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6431 keywords.
6df6ae42 6432 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6433 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6434 context of original buffer. Invoke `sql-login-hook'.
6435
a7183d7c
EZ
64362012-01-04 Eli Zaretskii <eliz@gnu.org>
6437
6438 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6439 letters in cite-prefix.
6440
a1eacd1e
LMI
64412012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6442
6443 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6444
787cdb34
CY
64452012-01-03 Chong Yidong <cyd@gnu.org>
6446
1d00653d
SM
6447 * shell.el (shell-dynamic-complete-functions):
6448 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6449 comint-filename-completion first (Bug#10417).
6450
30710442
RS
64512012-01-02 Richard Stallman <rms@gnu.org>
6452
6453 * battery.el (battery-status-function):
6454 Detect when to use battery-yeeloong-sysfs.
6455 (battery-echo-area-format): Add string for Yeeloong.
6456 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6457 (battery-yeeloong-sysfs): New function.
6458
f75bfc33
CY
64592012-01-02 Chong Yidong <cyd@gnu.org>
6460
6461 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6462 (dirtrack): Merge code for handling relative filenames in prompt
6463 from shell-dir-cookie-watcher.
6464 (dirtrack-debug-message): New arg to avoid excess format calls.
6465
6466 * shell.el (shell-dir-cookie-re): Variable deleted.
6467 (shell-dir-cookie-watcher): Function deleted.
6468 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6469 with dirtrack-mode.
6470
651e947e
EZ
64712012-01-01 Eli Zaretskii <eliz@gnu.org>
6472
1d00653d
SM
6473 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6474 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6475 libgnutls-26.dll.
6476
94d4c7dc
AS
64772011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6478
6479 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6480
8d43f3cd
EZ
64812011-12-31 Eli Zaretskii <eliz@gnu.org>
6482
6483 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6484 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6485
98c8795a
MA
64862011-12-29 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6489 also for alternative shells.
6490 (tramp-open-connection-setup-interactive-shell): Check, whether
6491 the shell is a busybox.
6492 (tramp-send-command): Don't suppress multiple prompts for
6493 busyboxes, it hurts.
6494
51281b32
CY
64952011-12-28 Chong Yidong <cyd@gnu.org>
6496
6497 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6498 (gdb-get-source-file): Move mode line update to
6499 gdb-get-source-file (Bug#10087).
6500
2170cb53
CY
65012011-12-25 Chong Yidong <cyd@gnu.org>
6502
6503 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6504 gud-gdb-marker-filter without taking it as an argument.
6505 (gud-gdb-run-command-fetch-lines): Caller changed.
6506 (gud-gdb-completion-function): New variable.
6507 (gud-gdb-completion-at-point): Use it.
6508 (gud-gdb-completions-1): Split from gud-gdb-completions.
6509
6510 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6511 function as separate arguments.
6512 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6513 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6514 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6515 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6516 (gdb-stopped, def-gdb-auto-update-trigger)
6517 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6518 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6519 Callers changed.
2170cb53
CY
6520 (gud-gdbmi-completions): New function.
6521 (gdb): Use it for generating the completion table.
6522
be8b11bb
AM
65232011-12-24 Alan Mackenzie <acm@muc.de>
6524
6525 Introduce a mechanism to widen the region used in context font
1d00653d 6526 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6527
1d00653d
SM
6528 * progmodes/cc-langs.el (c-before-font-lock-functions):
6529 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6530 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6531 functions to be run just before context (etc.) font locking.
6532
6533 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6534 New, functionality extracted from
be8b11bb 6535 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6536 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6537 (c-after-change): Set c-in-after-change-fontification.
6538 (c-set-fl-decl-start): Rejig its interface, so it can be called
6539 from both after-change and context fontifying.
b81d40f0
JB
6540 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6541 New functions.
6542 (c-standard-font-lock-fontify-region-function): New variable.
6543 (c-font-lock-fontify-region): New function.
be8b11bb 6544
341cf6ac
JL
65452011-12-24 Juri Linkov <juri@jurta.org>
6546
6547 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6548 (Bug#10348)
6549
bffcee0a
MA
65502011-12-23 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6553 existence of source file. (Bug#10325)
6554
cb5e207c
AM
65552011-12-23 Alan Mackenzie <acm@muc.de>
6556
6557 Fix unstable fontification inside templates.
6558
b81d40f0
JB
6559 * progmodes/cc-langs.el (c-before-font-lock-functions):
6560 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6561 additionally has c-set-fl-decl-start. The other languages (apart
6562 from AWK) have that as a single entry.
6563
b81d40f0
JB
6564 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6565 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6566 c-set-fl-decl-start.
6567
b81d40f0
JB
6568 * progmodes/cc-mode.el (c-common-init, c-after-change):
6569 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6570 (c-set-fl-decl-start): New function, extracted from
6571 c-font-lock-enclosing-decls and enhanced.
6572
60ff536c
JB
65732011-12-23 Juanma Barranquero <lekktu@gmail.com>
6574
6575 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6576
1c4757d6
JL
65772011-12-22 Juri Linkov <juri@jurta.org>
6578
6579 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6580
d031f2c7
CY
65812011-12-22 Chong Yidong <cyd@gnu.org>
6582
6583 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6584
bace743a
DA
65852011-12-21 Drew Adams <drew.adams@oracle.com>
6586
6587 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6588
728a1f2b
JC
65892011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6590
6591 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6592
0d373f73
TZ
65932011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6594
fec0aaa4
TZ
6595 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6596 highlighting and support. Fix up comments for capitalization.
6597 (cfengine-mode-debug): New var.
6598 (cfengine3-mode): Change the modeline indicator to "CFE3".
6599 (cfengine3-font-lock-keywords): Improve defun highlighting.
6600 (cfengine2-actions): Rename from `cfengine-actions'.
6601 (cfengine2-font-lock-keywords): Rename from
6602 `cfengine-font-lock-keywords'.
6603 (cfengine2-imenu-expression): Rename from
6604 `cfengine-imenu-expression'.
6605 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6606 (cfengine2-beginning-of-defun): Rename from
6607 `cfengine-beginning-of-defun'.
6608 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6609 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6610 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6611 modeline indicator to "CFE2".
6612 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6613 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6614
bc86f573
CY
66152011-12-21 Chong Yidong <cyd@gnu.org>
6616
6617 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6618 filename argument.
6619
d45ba96b
MR
66202011-12-20 Martin Rudalics <rudalics@gmx.at>
6621
6622 * window.el (window-normalize-buffer-to-display): Remove.
6623 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6624
a6198c90
CY
66252011-12-19 Chong Yidong <cyd@gnu.org>
6626
6627 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6628 Don't signal an error in a predicate function; return non-nil.
6629 (vc-dir-mark-file): Move the error here.
6630 (vc-dir-mark-unmark): If acting on the region, keep going if one
6631 of the entries cannot be marked/unmarked.
6632 (vc-dir-mark-all-files): If current entry is a directory, mark
6633 only child files, as documented.
6634
34c5fb55
VB
66352011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6636
6637 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6638 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6639 addition.
6640
c803b2b7
JD
66412011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6642
6643 * term/ns-win.el (ns-get-selection-internal)
6644 (ns-store-selection-internal): Declare.
1154d12e
JB
6645 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6646 Declare as obsolete.
6647 (ns-get-pasteboard, ns-paste-secondary):
6648 Use ns-get-selection-internal.
6649 (ns-set-pasteboard, ns-copy-including-secondary):
6650 Use ns-store-selection-internal.
c803b2b7 6651
9cff91f8 66522011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6653
6654 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6655 (vc-deduce-fileset): Doc fix.
99a289d9 6656
f16c898a
AS
66572011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6658
6659 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6660
763237c4
SS
66612011-12-13 Sam Steingold <sds@gnu.org>
6662
6663 * man.el (Man-getpage-in-background): When running under a
6664 window-system, ignore $MANWIDTH and $COLUMNS.
6665
5fc1c122
KH
66662011-12-15 Kenichi Handa <handa@m17n.org>
6667
6668 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6669 (setup-ethiopic-environment-internal): Comment out key-binding for
6670 ethio-toggle-punctuation.
6671
13d49cbb
AM
66722011-12-13 Alan Mackenzie <acm@muc.de>
6673
898169a2
AM
6674 Add the switch statement to AWK Mode.
6675
7a71b18d 6676 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6677 "default" to the keywords regexp.
6678
7a71b18d 6679 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6680 expression as the rest.
1d00653d
SM
6681 (c-nonlabel-token-key): Allow string literals for AWK.
6682 Refactor for the other modes.
898169a2 6683
13d49cbb 6684 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6685 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6686 routines. Limit backward searching in c-font-lock-enclosing.decl.
6687
6688 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6689 pp-state and literal type in addition to the limits.
1d00653d 6690 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6691 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6692 (c-slow-in-literal, c-fast-in-literal): Remove.
6693 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6694
6695 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6696 being in a literal. Add a limit for backward searching.
6697
6698 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6699 c-slow-in-literal.
6700
15e0efc7
SM
67012011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6704
454592a6
MR
67052011-12-13 Martin Rudalics <rudalics@gmx.at>
6706
6707 * window.el (delete-other-windows): Use correct frame in call to
6708 window-with-parameter.
6709
87393f26
DP
67102011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6711
6712 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6713 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6714 (makefile-gmake-statements, makefile-makepp-statements):
6715 Use it and add new makepp keywords.
6716 (makefile-makepp-font-lock-keywords): Add new patterns.
6717 (makefile-match-function-end): Match new [...] and [[...]].
6718
11636b22
JB
67192011-12-11 Juanma Barranquero <lekktu@gmail.com>
6720
6721 * ses.el (ses-call-printer-return, ses-cell-property-get)
6722 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6723 (ses-create-cell-variable, ses-reset-header-string)
6724 (ses-cell-set-formula, ses-repair-cell-reference-all)
6725 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6726 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6727 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6728 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6729 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6730 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6731 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6732 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6733 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6734 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6735 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6736 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6737
cf018193
VB
67382011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6739
6740 * ses.el: The overall change is to add cell renaming, that is
6741 setting fancy names for cell symbols other than name matching
6742 "\\`[A-Z]+[0-9]+\\'" regexp .
6743 (ses-create-cell-variable): New defun.
6744 (ses-relocate-formula): Relocate formulas only for cells the
6745 symbols of which are not renamed, i.e. symbols whose names do not
6746 match regexp "\\`[A-Z]+[0-9]+\\'".
6747 (ses-relocate-all): Relocate values only for cells the symbols of
6748 which are not renamed.
6749 (ses-load): Create cells variables as the (ses-cell ...) are read,
6750 in order to check row col consistency with cell symbol name only
6751 for cells that are not renamed.
6752 (ses-replace-name-in-formula): New defun.
6753 (ses-rename-cell): New defun.
6754
ee957461
CY
67552011-12-11 Chong Yidong <cyd@gnu.org>
6756
6757 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6758 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6759
9a9e9ef0
MR
67602011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6761
6762 * window.el (other-window): Fix docstring.
6763
92a8eba5
EZ
67642011-12-10 Eli Zaretskii <eliz@gnu.org>
6765
6766 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6767 `from' or `to' address before taking its substring.
6768 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6769 encoded name is chopped in the middle of the encoded string, and
6770 thus displayed encoded.
6771
e152e577
JB
67722011-12-10 Juanma Barranquero <lekktu@gmail.com>
6773
6774 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6775
e5d84bfe
EZ
67762011-12-10 Eli Zaretskii <eliz@gnu.org>
6777
6778 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6779 to use texinfo-update-node and commands that call it if the
6780 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6781 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6782 (texinfo-all-menus-update, texinfo-master-menu)
6783 (texinfo-update-node, texinfo-every-node-update)
6784 (texinfo-multiple-files-update): Doc fix. Warn against updating
6785 all the @node lines.
6786 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6787 argument is numeric. Explain better in the doc string what the
6788 function really does.
6789 (texinfo-insert-master-menu-list): Improve the error message
6790 displayed if there's no menu in the Top node.
6791 (Bug#2975) See also this thread:
e5d84bfe
EZ
6792 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6793
1d84e9bb
MG
67942011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6795
6796 * speedbar.el (speedbar-supported-extension-expressions):
6797 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6798
382c953b
JB
67992011-12-09 Juanma Barranquero <lekktu@gmail.com>
6800
6801 * printing.el (pr-mode-alist):
6802 * simple.el (filter-buffer-substring-functions)
6803 (completion-list-insert-choice-function):
6804 * window.el (window-with-parameter, window-atom-root)
6805 (window-sides-slots, window-size-fixed, window-min-delta)
6806 (window-max-delta, window--resize-mini-window)
6807 (window--resize-child-windows-normal, window-tree)
6808 (delete-other-windows, quit-window, split-window)
6809 (display-buffer-record-window, special-display-buffer-names)
6810 (special-display-regexps, special-display-popup-frame)
6811 (same-window-p, split-window-sensibly)
6812 (display-buffer-overriding-action, display-buffer-alist)
6813 (display-buffer-base-action, display-buffer, switch-to-buffer)
6814 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6815 (fit-window-to-buffer, recenter-positions)
6816 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6817 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6818 and remove unneeded backslashes in docstrings.
6819
39c9faef
SM
68202011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6821
98449af8
SM
6822 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6823
39c9faef
SM
6824 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6825 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6826 end in ".mk".
6827 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6828 when reading the makefile (bug#10116).
6829
86ed9fdc
SM
68302011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6833 (bug#10116).
6834
5580f89d
GM
68352011-12-06 Glenn Morris <rgm@gnu.org>
6836
6837 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6838
28d3917c
CY
68392011-12-06 Chong Yidong <cyd@gnu.org>
6840
6841 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6842
a98edce9
JB
68432011-12-06 Juanma Barranquero <lekktu@gmail.com>
6844
6845 * textmodes/table.el (table-shorten-cell): Fix typo.
6846
e65adfac
CG
68472011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6848
6849 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6850
71cc0b74
EZ
68512011-12-05 Eli Zaretskii <eliz@gnu.org>
6852
6853 * descr-text.el (describe-char): Fix display of strong
6854 right-to-left characters and directional embeddings and overrides.
6855
6856 * simple.el (what-cursor-position): Fix display of codepoints of
6857 strong right-to-left characters.
6858
315bc30d
CY
68592011-12-05 Chong Yidong <cyd@gnu.org>
6860
6861 * faces.el (read-color): Doc fix.
6862
58a70b94
GM
68632011-12-05 Glenn Morris <rgm@gnu.org>
6864
6865 * align.el (align--set-marker): Add doc-string.
6866 Don't try to move something that is not a marker. (Bug#10216)
6867
5158face
GM
68682011-12-04 Glenn Morris <rgm@gnu.org>
6869
6870 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6871 overly zealous deletion of trailing whitespace.
6872
520fca41
JB
68732011-12-04 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * server.el (server-delete-client): On Windows, do not try to delete
6876 the only terminal.
6877 (server-process-filter): On Windows, treat requests for a tty frame as
6878 if they were for a GUI frame if the running server is in GUI mode.
6879
5e605a2e
GM
68802011-12-03 Glenn Morris <rgm@gnu.org>
6881
6882 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6883
5c3fe83f
SM
68842011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6f5e57e7
SM
6886 * electric.el: Streamline electric-indent's hook.
6887 (electric-indent-chars): Revert to simple list.
6888 (electric-indent-functions): New var.
6889 (electric-indent-post-self-insert-function): Use it.
6890
5c3fe83f
SM
6891 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6892 there's no inferior buffer (bug#10196).
6893 (prolog-consult-compile): Don't use toggle-read-only.
6894
6bdac736
MA
68952011-12-02 Michael Albinus <michael.albinus@gmx.de>
6896
6897 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6898 interrupt. (Bug#10187)
6899
6131ba7f
SM
69002011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6901
99c79fee
SM
6902 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6903 (bug#9160).
6904
6131ba7f
SM
6905 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6906 (bug#10191).
6907
cb0a02ea
JL
69082011-12-02 Juri Linkov <juri@jurta.org>
6909
6910 * info.el (Info-search): Display "end of manual" when Isearch
6911 reaches the end of single-file Info manual. (Bug#9918)
6912
66e0570c
EZ
69132011-12-02 Eli Zaretskii <eliz@gnu.org>
6914
6915 * isearch.el (isearch-message-prefix): Run the input method part
6916 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6917
02b16839
JL
69182011-12-02 Juri Linkov <juri@jurta.org>
6919
6920 * isearch.el (isearch-occur): Use `word-search-regexp' for
6921 `isearch-word'.
6922 (isearch-search-and-update): Add condition for `isearch-word' and
6923 call `word-search-regexp'. (Bug#10145)
6924
0b950688
GM
69252011-12-01 Glenn Morris <rgm@gnu.org>
6926
6927 * eshell/em-hist.el (eshell-hist-initialize):
6928 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6929 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6930
9505c3c7
SM
69312011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6934
1bbe96b2 69352011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6936
a1beca85
SM
6937 * progmodes/verilog-mode.el (verilog-pretty-expr):
6938 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6939 verilog, such as += *= and the like.
6940 (verilog-assignment-operator-re): Regular expression to find the
6941 assigment operator in a verilog assignment.
6942 (verilog-assignment-operation-re): Regular expression to find an
6943 assignment statement for pretty-expr.
6944 (verilog-in-attribute-p): Query returns true if point is in an
6945 attribute context; used to skip these for expression line up from
6946 pretty-expr.
6947 (verilog-in-parameter-p): Query returns true if point is in an
6948 parameter definition context; used to skip these for expression
6949 line up from pretty-expr.
6950 (verilog-in-parenthesis-p): Query returns true if point is in a
6951 parenthetical expression, specifically ( ) but not [ ] or { };
6952 used by pretty-expr.
6953 (verilog-just-one-space): If there is no space, don't add one.
6954 (verilog-get-lineup-indent-2): Specifically skip just attribute
6955 contexts for expression lineup, rather than skipping all
6956 parenthetical expressions.
6957 (verilog-calculate-indent): Fix comment, and fix indent.
6958 (verilog-do-indent): Indent declarations in lists (suggested by
6959 Joachim Lechner).
6960 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6961 skeleton items.
6962 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6963 by Alain Mellan).
6964
1bbe96b2 69652011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6966
6967 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6968 parameters with embedded comments. Reported by Ray Stevens.
6969 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6970 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6971 Reported by Tim Holt.
6972 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6973 instantiated by upper module causing wrong expansion until AUTOed a
6974 second time. Reported by K C Buckenmaier.
6975 (verilog-diff-auto): Fix showing .* as a difference when
6976 `verilog-auto-star-save' off. Reported by Dan Dever.
6977 (verilog-auto-reset, verilog-read-always-signals)
6978 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6979 temporary signals in reset list if
6980 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6981 style to each signal's assignment type, bug381.
6982 Reported by Thomas Esposito.
6288f0ca
WS
6983 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6984 (verilog-uvm-statement-re): Support UVM indentation and
6985 highlighting, with old OVM keywords only.
a1beca85 6986 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6987 Support AUTOTIEOFF creating non-wire data types.
6988 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6989 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6990 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6991 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6992 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6993 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6994 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6995 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6996 non-numeric vector width. Reported by Alex Reed.
6997 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6998 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6999 (verilog-auto-delete-trailing-whitespace):
7000 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7001 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7002 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7003 Fix verilog-scan-cache corruption when running user AUTO expansion
7004 hooks that call indentation routines.
7005 (verilog-simplify-range-expression): Fix typo ignoring lower case
7006 identifiers.
7007 (verilog-delete-auto): Fix delete-autos to also remove user created
7008 automatics, as long as they start with AUTO.
7009 (verilog-batch-diff-auto, verilog-diff-auto)
7010 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7011 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7012 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7013 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7014 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7015 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7016 is disabled and its cache will get corrupt, causing AUTOS not to
7017 expand. Instead use only -quick functions.
7018 (verilog-scan-region): Fix scanning over escaped quotes.
7019 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7020 (verilog-re-search-backward-quick)
7021 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7022 related functions now ignore strings, to fix misparsing of strings
7023 with magic comments embedded in them.
a1beca85
SM
7024 (verilog-read-auto-template):
7025 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7026 Reported by Brad Dobbie.
7027 (verilog-read-auto-template):
7028 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7029 Reported by Brad Dobbie.
6288f0ca
WS
7030 (verilog-auto-inst, verilog-auto-inst-param)
7031 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7032 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7033 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7034 debugging templates without merge conflicts, bug357.
7035 Reported by Brad Dobbie.
7036 (verilog-read-auto-template):
7037 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7038 Reported by Brad Dobbie.
7039 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7040 abbrevs so user won't be asked to save.
7041 (verilog-read-auto-lisp-present): Fix to start at beginning of
7042 buffer in case called outside of verilog-auto.
7043 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7044 to "X-2". Reported by Matthew Myers.
7045 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7046 all inputs from module templates. Reported by Leith Johnson.
7047 (verilog-module-inside-filename-p): Fix locating programs as with
7048 modules.
7049 (verilog-auto-inst-port): Fix vl-width expressions when using
7050 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7051 (verilog-decls-get-regs, verilog-decls-get-signals,
7052 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7053 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7054 verilog-read-decls): Combine reg and wire structures into one var
7055 structure to represent SystemVerilog concepts.
7056 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7057 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7058 (verilog-auto-wire-type, verilog-insert-definition):
7059 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7060 SystemVerilog "logic" keyword instead of "wire"/"reg".
7061 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7062 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7063 ifdef or generate if so there's not a driver conflict).
7064 Reported by Matthew Myers.
7065 (verilog-auto-declare-nettype, verilog-insert-definition):
7066 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7067 `default_nettype none. Reported by Julian Gorfajn.
7068 (verilog-read-always-signals-recurse, verilog-read-decls)
7069 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7070 malformed end statement, bug325. Reported by Joshua Wise and
7071 Andrew Drake.
7072 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7073 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7074 when expanding .* in interfaces, bug320.
7075 Reported by Pierre-David Pfister.
6288f0ca 7076 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7077 name and open parenthesis, bug317.
7078 Reported by Pierre-David Pfister.
6288f0ca
WS
7079 (verilog-simplify-range-expression): Fix simplification of
7080 multiplications inside AUTOWIRE connections, bug303.
7081 (verilog-auto-inst-port): Support parameter expansion in
7082 multidimensional arrays.
7083 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7084 after "assert property". Reported by Julian Gorfajn.
7085 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7086 with multiplication, bug303.
7087 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7088 Reported by Jan Frode Lonnum.
7089
1bbe96b2
GM
70902011-11-30 Juanma Barranquero <lekktu@gmail.com>
7091
7092 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7093 (hfy-shell-file-name, hfy-shell):
7094 * international/fontset.el (x-decompose-font-name): Fix typos.
7095
70962011-11-29 Ken Brown <kbrown@cornell.edu>
7097
7098 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7099 (gdb-version): Remove defvar.
7100 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7101 (gdb-gud-context-command, gdb-non-stop-handler)
7102 (gdb-current-context-command, gdb-stopped): Use it.
7103 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7104 (gdb-non-stop-handler): Don't enable pretty-printing here.
7105 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7106 non-stop mode. Use the following.
7107 (gdb-check-target-async): New defun.
7108 (gud-watch, gdb-stopped): Fix whitespace.
7109 (gdb-get-source-file): Don't try to display the source file if
7110 `gdb-main-file' is nil.
7111
71122011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * align.el: Try to generate fewer markers (bug#10047).
7115 (align--set-marker): New macro.
7116 (align-region): Use it.
7117
c935221f
SM
71182011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7121
e70b5064
CY
71222011-11-29 Chong Yidong <cyd@gnu.org>
7123
7124 * indent.el (indent-for-tab-command, indent-according-to-mode):
7125 Doc fix.
7126 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7127
f3af92b7
MA
71282011-11-29 Michael Albinus <michael.albinus@gmx.de>
7129
7130 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7131 aware of remote file names. (Bug#10124)
7132
ed472be9
CY
71332011-11-29 Chong Yidong <cyd@gnu.org>
7134
7135 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7136
24510c22
SM
71372011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * files.el (find-file): Don't use force-same-window (bug#10144).
7140 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7141 use pop-to-buffer if the selected window can't be used.
7142 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7143
c60c3703
EZ
71442011-11-28 Eli Zaretskii <eliz@gnu.org>
7145
7146 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7147 special-mode-map.
7148
e95def75
CY
71492011-11-28 Chong Yidong <cyd@gnu.org>
7150
7151 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7152
c3f1c606
NR
71532011-11-27 Nick Roberts <nickrob@snap.net.nz>
7154
7155 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7156 gdb-get-source-file-list on gdb-create-source-file-list.
7157
00db469c
EZ
71582011-11-26 Eli Zaretskii <eliz@gnu.org>
7159
7160 * whitespace.el (whitespace-newline): Use a different foreground
7161 color for 16-color light-background displays.
7162
4ad3bc2a
CY
71632011-11-24 Chong Yidong <cyd@gnu.org>
7164
7165 * window.el (display-buffer--special-action): Doc fix.
7166
e9fce1ac
JB
71672011-11-25 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7170 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7171 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7172 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7173 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7174 (avl-tree-stack-first):
7175 * emacs-lisp/cconv.el (cconv--analyse-use):
7176 * net/gnutls.el (gnutls-negotiate): Fix typos.
7177
cb825e5d
GM
71782011-11-24 Glenn Morris <rgm@gnu.org>
7179
3adbe224
GM
7180 * lpr.el (lpr-windows-system, lpr-lp-system):
7181 * mail/binhex.el (binhex-begin-line):
7182 * progmodes/grep.el (grep-history, grep-find-history):
7183 * textmodes/flyspell.el:
7184 * vc/pcvs-defs.el (cvs-global-menu):
7185 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7186 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7187 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7188
321decc8
GM
7189 * net/tls.el: Fix case of "GnuTLS".
7190
420b63ad
GM
7191 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7192
cb825e5d
GM
7193 * version.el (emacs-build-system): Give it a doc-string.
7194
a0649f08
JL
71952011-11-24 Juri Linkov <juri@jurta.org>
7196
7197 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7198
c0bc0fd4
GM
71992011-11-24 Glenn Morris <rgm@gnu.org>
7200
7201 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7202 if called on a non-mime message just toggle the headers. (Bug#8006)
7203
20db1522
JB
72042011-11-24 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7207 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7208 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7209 (allout-rebullet-heading, allout-open-sibtopic)
7210 (allout-toggle-current-subtree-encryption)
7211 (allout-toggle-subtree-encryption, allout-encrypt-string)
7212 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7213 (allout-distinctive-bullets-string, allout-auto-activation):
7214 * window.el (window-normalize-buffer-to-display):
7215 * progmodes/verilog-mode.el (verilog-batch-indent):
7216 * textmodes/bibtex.el (bibtex-field-braces-opt)
7217 (bibtex-field-strings-opt):
7218 * vc/cvs-status.el (cvs-tree-merge):
7219 Fix typos.
7220
7262a87c
MA
72212011-11-23 Michael Albinus <michael.albinus@gmx.de>
7222
7223 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7224 `non-essential' to t, in order to avoid remote connections.
7225
283430a1
EZ
72262011-11-23 Eli Zaretskii <eliz@gnu.org>
7227
a1beca85
SM
7228 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7229 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7230 case-insensitively.
7231
d2992a38
ML
72322011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7233
7234 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7235
50419064
GM
72362011-11-23 Glenn Morris <rgm@gnu.org>
7237
da94eca1
GM
7238 * paths.el (rmail-file-name): Reformat the doc-string so that it
7239 is picked up.
7240
9aac4de2
GM
7241 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7242 (rmail-auto-file): Ignore case in the "special" field names,
7243 as mail-fetch-field does for all others.
7244
8038d2d2
GM
7245 * mail/rmail.el (rmail-forward):
7246 * mail/rmailkwd.el (rmail-set-label):
7247 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7248 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7249
f3fe222a
GM
7250 * mail/rmail.el (rmail-current-message): Doc fix.
7251
50419064
GM
7252 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7253
28109f49
SM
72542011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7257
394c65f1
GM
72582011-11-22 Glenn Morris <rgm@gnu.org>
7259
7260 * mail/rmailmm.el (test-rmail-mime-handler)
7261 (test-rmail-mime-bulk-handler)
7262 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7263
f2a0aa3a
JL
72642011-11-21 Juri Linkov <juri@jurta.org>
7265
1154d12e
JB
7266 * calc/calc.el (calc-read-key-sequence):
7267 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7268
9c34a344
LMI
72692011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
7271 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7272 Tell the caller that the next line needs recomputation, even
7273 though it doesn't start a sexp (bug#10094).
7274
f04a3be9
SM
72752011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7278
7978747f
SM
72792011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7280
f04a3be9
SM
7281 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7282 Use force-same-window.
7978747f 7283
fe7a3057
JB
72842011-11-20 Juanma Barranquero <lekktu@gmail.com>
7285
7286 * descr-text.el (describe-char-unicode-data):
7287 * json.el (json-string-escape):
7288 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7289 (Footnote-unicode, Footnote-style-p):
7290 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7291
24901d61
CY
72922011-11-20 Chong Yidong <cyd@gnu.org>
7293
7294 * window.el (replace-buffer-in-windows): Restore interactive spec.
7295
bac7ff22
SM
72962011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7297
24f3d7b9
SM
7298 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7299
bac7ff22
SM
7300 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7301 (byte-compile-global-not-obsolete-vars): New var.
7302 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7303 Use it.
7304 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7305
cd1181db
JB
73062011-11-20 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7309 * progmodes/pascal.el (electric-pascal-equal):
7310 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7311 * xml.el (xml-substitute-special): Fix typos.
7312
7fb18e9e
GM
73132011-11-20 Glenn Morris <rgm@gnu.org>
7314
7315 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7316 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7317 Doc fixes.
7318 (rmail-decode-mime-charset): Mark as obsolete.
7319
7320 * mail/rmailsum.el (rmail-message-regexp-p-1):
7321 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7322 Before using mime functions, check they are set. (Bug#10077)
7323
d5a6b3ba
JL
73242011-11-19 Juri Linkov <juri@jurta.org>
7325
7326 * info.el (Info-finder-find-node): Use `package--builtins' instead
7327 of `package-alist'. Use node names formed by the pattern "Keyword "
7328 and the keyword name.
7329
e981b61f
AS
73302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7331
1d00653d 7332 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7333
3ffbc301
JL
73342011-11-19 Juri Linkov <juri@jurta.org>
7335
7336 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7337 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7338 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7339 `old-history', `old-history-forward'. Add let-binding
7340 `window-selected'. Remove calls to `kill-buffer',
7341 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7342 before calling `Info-find-node', so `Info-find-node-2' will reread
7343 the Info file. Restore window positions only when `window-selected'
7344 is non-nil.
7345
30c62133
JL
73462011-11-19 Juri Linkov <juri@jurta.org>
7347
7348 * isearch.el (isearch-lazy-highlight-new-loop):
7349 Remove condition `(not isearch-error)'. (Bug#9918)
7350
7351 * misearch.el (multi-isearch-search-fun): Add condition
7352 `(not bound)' to ignore lazy-highlighting search.
7353 Add the search-failed message "end of multi" when the end of
7354 multi-sequence is reached. Uncapitalize the search-failed
7355 message "Repeat for next buffer".
7356
7357 * info.el (Info-search): Add the search-failed message
7358 "end of the manual" when the end of the manual is reached
7359 in Isearch mode.
7360
645ca9cf
JL
73612011-11-19 Juri Linkov <juri@jurta.org>
7362
7363 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7364 Use non-destructive `remove' instead of `delete' because
7365 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7366 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7367
df754f66
JL
73682011-11-19 Juri Linkov <juri@jurta.org>
7369
7370 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7371 to nil instead of binding `search-ring' and `regexp-search-ring'.
7372 (Bug#9185)
7373
0e23d96a
EZ
73742011-11-19 Eli Zaretskii <eliz@gnu.org>
7375
7376 * simple.el (line-move): Force movement by logical lines for any
7377 hscrolled window, not only when auto-hscroll-mode is on.
7378 (line-move-visual): Update doc string to that effect. (Bug#10076)
7379
8a6ccb66
AS
73802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7381
7382 * language/european.el (macintosh): Define as alias for mac-roman.
7383
49ae5b39
EZ
73842011-11-19 Eli Zaretskii <eliz@gnu.org>
7385
7386 * mail/rmailmm.el (rmail-mime-display-header)
7387 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7388 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7389 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7390 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7391 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7392 of a raw aref.
7393 (rmail-mime-entity-segment): To get past the tagline, move forward
7394 2 more lines, to account for the 2 empty lines that precede and
7395 follow the line with the buttons.
7396 (rmail-mime-update-tagline): Move one more line, to get past the
7397 empty line that follows the buttons in the tagline. (Bug#9520)
7398
c56cad4a
MR
73992011-11-19 Martin Rudalics <rudalics@gmx.at>
7400
7401 * window.el (window-max-delta-1, window-min-delta-1)
7402 (window-min-size-1, window-state-get-1, window-state-put-1)
7403 (window-state-put-2): Use "window--" prefix.
7404
cbe71af3
SM
74052011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7406
2ad52c60
SM
7407 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7408 (smie-warning-count): New var.
7409 (smie-set-prec2tab): Use it.
7410 (smie-bnf->prec2): Improve warnings. Add docstring.
7411 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7412 (smie-bnf--set-class): New function.
7413 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7414 corner case.
7415
6944dbc1
SM
7416 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7417 (compilation-error-properties, compilation-move-to-column):
7418 Handle compilation-first-column while in the target buffer.
7419
c400c4d7
SM
7420 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7421 Don't hardcode point-min==1.
7422
6dbe3e96
SM
7423 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7424 (eshell-rewrite-for-command): Remove workaround.
7425 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7426 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7427 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7428
cbe71af3
SM
7429 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7430
a8e1496d
GM
74312011-11-17 Glenn Morris <rgm@gnu.org>
7432
7433 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7434 Ignore buffer-local generated-autoload-file if it is the same
7435 as the global value. (Bug#10049)
7436
df85d315
JB
74372011-11-17 Juanma Barranquero <lekktu@gmail.com>
7438
7439 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7440 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7441 (reftex-toc-previous-heading, reftex-toc-max-level)
7442 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7443 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7444 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7445 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7446 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7447 (reftex-toc-rename-label, reftex-toc-visit-location)
7448 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7449 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7450 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7451 leaving "*toc*" only for references to the buffer.
7452
a0c2d0ae
MR
74532011-11-17 Martin Rudalics <rudalics@gmx.at>
7454
7455 * window.el (window-resize, delete-window, split-window):
7456 Replace window-splits by window-combination-resize.
1d00653d 7457 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7458
35c0bac8
GM
74592011-11-17 Glenn Morris <rgm@gnu.org>
7460
7461 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7462 Make bash entry derive from sh entry, not shell entry.
7463
d0c8fc8a
MA
74642011-11-16 Michael Albinus <michael.albinus@gmx.de>
7465
7262a87c
MA
7466 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7467 local file name.
7468
7877f373
JB
74692011-11-16 Juanma Barranquero <lekktu@gmail.com>
7470
7471 * menu-bar.el (menu-bar-file-menu):
7472 * printing.el (pr-ps-utility):
7473 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7474 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7475 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7476 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7477 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7478 (icalendar--convert-cyclic-to-ical)
7479 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7480 (icalendar--convert-ical-to-diary)
7481 (icalendar--convert-recurring-to-diary)
7482 (icalendar--convert-non-recurring-all-day-to-diary)
7483 (icalendar-import-format-sample):
7484 * progmodes/idlw-shell.el (idlwave-shell-mode):
7485 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7486 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7487 (vhdl-ps-print-init): Fix typos.
7488
10649b82
KM
74892011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7490
9d0cfcd6
GM
7491 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7492 FSF and collapse date sequence, obscure author/maintainer email address
7493 better, remove extra version line, track relocation of author's webpage.
10649b82 7494
9d0cfcd6
GM
7495 * progmodes/python.el (python-pdbtrack-input-prompt)
7496 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7497 regular python pdb prompts. Adjustments shamelessly taken exactly as
7498 suggested in EmacsWiki page (tiny change):
7499 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7500
58179cce
JB
75012011-11-16 Juanma Barranquero <lekktu@gmail.com>
7502
7503 * expand.el (expand-pos, expand-index, expand-point):
7504 Remove redundant info from docstring.
7505 (expand-add-abbrevs): Doc fix.
7506 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7507 (expand-sample-perl-mode-expand-list): Fix typos.
7508
7509 * net/dbus.el (dbus-event-member-name):
7510 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7511 * term/pc-win.el (msdos-create-frame-with-faces):
7512 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7513
b6f67890
MR
75142011-11-16 Martin Rudalics <rudalics@gmx.at>
7515
7516 * window.el (split-window, window-state-get-1)
7517 (window-state-put-1, window-state-put-2): Rename occurrences of
7518 window-nest to window-combination-limit.
1d00653d 7519 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7520
ce7ddba0
CY
75212011-11-16 Chong Yidong <cyd@gnu.org>
7522
7523 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7524 regexp (Bug#10033).
7525
3ae704f4
SM
75262011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7529 `completing-read' will remove *Completions* and will preserve
7530 current-buffer for us.
7531 (tmm-add-prompt): Users of *Completions* will always (re)set its
7532 major mode.
7533 (tmm-old-comp-map): Remove.
7534
6ad1cdde
GM
75352011-11-16 Glenn Morris <rgm@gnu.org>
7536
7537 * mail/rmailedit.el: Require rmailmm when compiling.
7538 (rmail-old-mime-state): New declaration.
7539 (rmail-edit-current-message): If editing a mime message,
7540 edit the "raw" message from the mbox buffer.
7541 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7542
d20faa20
GM
75432011-11-15 Glenn Morris <rgm@gnu.org>
7544
7545 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7546 which wasn't being used. Add optional arg to force given state.
7547 (rmail-mime): Add optional arg to force given state.
7548
c7015153
JB
75492011-11-15 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7552 * frame.el (display-mm-dimensions-alist):
7553 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7554 (outline-move-subtree-down):
7555 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7556 (newsticker--treeview-do-get-node):
7557 * net/quickurl.el (quickurl-list-buffer-name):
7558 * progmodes/dcl-mode.el (dcl-mode):
7559 * progmodes/gdb-mi.el (gdb-mapcar*):
7560 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7561
45261b50
GM
75622011-11-15 Glenn Morris <rgm@gnu.org>
7563
7564 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7565 in a boolean sense, so just make it a boolean, and fix the doc.
7566 (rmail-show-mime-function, rmail-mime-feature)
7567 (rmail-require-mime-maybe): Doc fixes.
7568 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7569
7570 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7571
0d26e0b6
JB
75722011-11-15 Juanma Barranquero <lekktu@gmail.com>
7573
7574 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7575 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7576 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7577 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7578
447f30f6
GM
75792011-11-15 Glenn Morris <rgm@gnu.org>
7580
672b871d
GM
7581 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7582 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7583 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7584 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7585 (rmail-mime, rmail-show-mime): Doc fixes.
7586
f6aa5bb1
GM
7587 * term/ns-win.el (mode-line-frame-identification):
7588 Leave it alone. (Bug#10051)
7589
947cd66b
GM
7590 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7591
447f30f6
GM
7592 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7593 Handle empty buffers. (Bug#9978)
7594
0b381c7e
JB
75952011-11-14 Juanma Barranquero <lekktu@gmail.com>
7596
7597 * international/mule.el (define-charset):
7598 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7599 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7600 * progmodes/verilog-mode.el (verilog-backward-token):
7601 * textmodes/ispell.el (lookup-words):
7602 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7603
71e027ac
GM
76042011-11-14 Glenn Morris <rgm@gnu.org>
7605
56632ce4
GM
7606 * progmodes/executable.el
7607 (executable-make-buffer-file-executable-if-script-p):
7608 Handle file-modes returning nil.
7609
40500957
GM
7610 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7611 message - not necessary, and causes problems. (Bug#9831)
7612
071c2340
GM
7613 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7614
d3cfca60
GM
7615 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7616
71e027ac
GM
7617 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7618 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7619 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7620
89d61221
MR
76212011-11-12 Martin Rudalics <rudalics@gmx.at>
7622
7623 * window.el (window-resize, delete-window): Use window-splits
7624 variable instead of function.
7625 (window-state-get-1, window-state-put-2, window-state-put):
7626 Don't deal with windows' splits status.
7627
98282f6f
GM
76282011-11-12 Glenn Morris <rgm@gnu.org>
7629
7630 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7631 (apropos-documentation): Doc fixes.
7632
40a8bdf6
JB
76332011-11-11 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7636 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7637
65bd19ff
SM
76382011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * electric.el (electric-indent-post-self-insert-function): Make it
7641 possible for a char to only indent in some circumstances.
7642 (electric-indent-mode): Simplify.
7643
54f9154c
MR
76442011-11-11 Martin Rudalics <rudalics@gmx.at>
7645
7646 * window.el (windows-with-parameter): Remove unused function.
7647 (windows-at-side): Rename to window-at-side-list.
7648 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7649 (window-side-check, window-size-ignore, window-size-fixed-1)
7650 (window-in-direction-2): Prefix with "window--".
7651 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7652
68cbc58b
GM
76532011-11-11 Glenn Morris <rgm@gnu.org>
7654
7655 * subr.el (eval-after-load): If FILE is already loaded,
7656 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7657
b2621720
GM
76582011-11-10 Glenn Morris <rgm@gnu.org>
7659
9a4de110
GM
7660 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7661 Call svn via vc-svn-command rather than vc-do-command.
7662 (vc-svn-command): Add --non-interactive. (Bug#9993)
7663 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7664
b2621720
GM
7665 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7666 Add toggle-read-only. (Bug#7292)
7667 * files.el (toggle-read-only): Mention that it should only
7668 be used interactively. (Bug#10006)
7669
1dce7193
SM
76702011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7671
d9ac1a1e
SM
7672 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7673 Adjust regexp for OCaml warnings.
7674
0c325082
SM
7675 * electric.el (electric-pair-post-self-insert-function): Let user
7676 turn it off buffer-locally (bug#9932).
7677
90132c14
SM
7678 * progmodes/python.el (python-beginning-of-statement):
7679 Rewrite (bug#2703).
7680
1dce7193
SM
7681 * progmodes/compile.el: Better handle TABs (bug#9749).
7682 (compilation-internal-error-properties)
7683 (compilation-next-error-function): Obey the target buffer's
7684 compilation-error-screen-columns.
7685
c4e7c63a
JB
76862011-11-09 Juanma Barranquero <lekktu@gmail.com>
7687
7688 * progmodes/meta-mode.el: Remove obsolete comments.
7689 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7690 Fix typos in docstrings.
7691
2cffd681
MR
76922011-11-09 Martin Rudalics <rudalics@gmx.at>
7693
7694 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7695 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7696 (window--resizable): New function. Make all callers of
7697 window-resizable call window--resizable instead.
7698 (window-resizable): Rewrite in terms of window--resizable.
7699
0edcba87
GM
77002011-11-08 Glenn Morris <rgm@gnu.org>
7701
7702 * progmodes/delphi.el (delphi-mode-syntax-table):
7703 Let define-derived-mode define a proper syntax table. (Bug#9994)
7704
4b0d61e3
SM
77052011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * window.el: Stay away from defsubst.
7708 (window-list-no-nils): Remove.
7709 (window-state-get-1, window-state-get): Use backquote instead.
7710
cd394be1 77112011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7712
4b0d61e3 7713 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7714 Fix incorrect use of default argument in `completing-read'.
7715
e1c2c6f2
MR
77162011-11-08 Martin Rudalics <rudalics@gmx.at>
7717
7718 * window.el (display-buffer-function, special-display-function):
7719 Mention display-buffer-record-window but do not mention
7720 help-setup parameter in doc-strings.
b3f4a882 7721 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7722
105216ed
CY
77232011-11-08 Chong Yidong <cyd@gnu.org>
7724
7725 * window.el (window-total-height, window-total-width): Doc fix.
7726 (window-body-size): Move from C.
7727 (window-body-height, window-body-width): Move to C.
7728
0a9f9ab5
SM
77292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * window.el: Make special-display like display-buffer-alist (bug#9532).
7732 (display-buffer--special-action): New function, morphed
7733 from display-buffer--special.
7734 (display-buffer): Use it to handle special-display-buffers at higher
7735 priority (just after display-buffer-alist).
7736 (display-buffer-fallback-action, display-buffer--other-frame-action)
7737 (pop-to-buffer-same-window): Remove display-buffer--special.
7738
a769dd15
GM
77392011-11-07 Glenn Morris <rgm@gnu.org>
7740
7741 * calendar/cal-menu.el (cal-menu-set-date-title):
7742 Do nothing if not in a calendar. (Bug#9976)
7743
05a61ee3
SM
77442011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * files.el (find-file): Always use selected-window.
7747
be7f5545
MR
77482011-11-07 Martin Rudalics <rudalics@gmx.at>
7749
7750 * window.el (window-combinations): Make WINDOW argument
7751 mandatory. Rewrite doc-string.
7752 (walk-window-subtree, window-atom-check, window-min-delta)
7753 (window-max-delta, window--resize-this-window)
7754 (window--resize-root-window-vertically, window-tree)
7755 (balance-windows, window-state-put): Rewrite doc-strings as to
7756 not mention the term "subwindow".
7757 (window--resize-subwindows-skip-p): Rename to
7758 window--resize-child-windows-skip-p.
7759 (window--resize-subwindows-normal): Rename to
7760 window--resize-child-windows-normal.
7761 (window--resize-subwindows): Rename to
7762 window--resize-child-windows.
7763 (window-or-subwindow-p): Rename to window--in-subtree-p.
7764
3c6702ef
ML
77652011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7766
7767 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7768 Ensure that mbox format messages end in two newlines (Bug#9974).
7769
49745b39
CY
77702011-11-06 Chong Yidong <cyd@gnu.org>
7771
7772 * window.el (window-combination-p): Function deleted; its
7773 side-effect is not used in any existing code.
7774 (window-combinations, window-combined-p): Call window-*-child
7775 directly.
7776
24300f5f
CY
77772011-11-05 Chong Yidong <cyd@gnu.org>
7778
7779 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7780 (window-size-ignore, window-state-get): Callers changed.
7781 (window-normalize-window): Rename from window-normalize-any-window.
7782 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7783 (window-normalize-live-window): Delete.
447f16b8
CY
7784 (window-combination-p, window-combined-p, window-combinations)
7785 (walk-window-subtree, window-atom-root, window-min-size)
7786 (window-sizable, window-sizable-p, window-size-fixed-p)
7787 (window-min-delta, window-max-delta, window-resizable)
7788 (window-resizable-p, window-full-height-p, window-full-width-p)
7789 (window-current-scroll-bars, window-point-1, set-window-point-1)
7790 (window-at-side-p, window-in-direction, window-resize)
7791 (adjust-window-trailing-edge, maximize-window, minimize-window)
7792 (window-deletable-p, delete-window, delete-other-windows)
7793 (record-window-buffer, unrecord-window-buffer)
7794 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7795 (quit-window, split-window, window-state-put)
7796 (set-window-text-height, fit-window-to-buffer)
7797 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7798
89bd5ee1
EZ
77992011-11-04 Eli Zaretskii <eliz@gnu.org>
7800
53479029
EZ
7801 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7802 rfc2047-decode-string.
7803 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7804 warnings.
7805
89bd5ee1
EZ
7806 * window.el (window-body-height, window-body-width): Mention in
7807 the doc string that the return values are in frame's canonical
7808 units. (Bug#9949)
7809
bd17fdee
AM
78102011-11-03 Alan Mackenzie <acm@muc.de>
7811
7812 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7813 change in cc-engine.el.
7814
acc825c5
SM
78152011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7818
1885e5b8
MR
78192011-11-02 Martin Rudalics <rudalics@gmx.at>
7820
7821 * window.el (quit-window): Call unrecord-window-buffer after
7822 showing another buffer in the window. (Bug#9937)
acc825c5 7823 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7824
ebe06da9
JB
78252011-11-02 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7828 Accept status with more than 9 shelves. (Bug#9935)
7829 Reported by Colin D Bennett <colin@gibibit.com>.
7830
4ee88440
MR
78312011-11-01 Martin Rudalics <rudalics@gmx.at>
7832
7833 * help.el (with-help-window): Don't reference
7834 temp-buffer-show-specifiers in doc-string.
7835
08e1d82c
AS
78362011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7837
7838 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7839 menu-item.
7840
84bd6e9e
VJL
78412011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7842
7843 * whitespace.el: New version 13.2.2.
7844 (whitespace-newline-mode): Disable properly. Reported by Sarah
7845 <EmacsWiki>.
7846
dba0634a
UJ
78472011-10-30 Ulf Jasper <ulf.jasper@web.de>
7848
7849 * net/newst-treeview.el: Remove "Time-stamp".
7850 (newsticker--group-manage-orphan-feeds): Do not call
7851 newsticker--treeview-tree-update.
db22a3c2
JB
7852 (newsticker-treeview-update, newsticker-treeview):
7853 Call newsticker--treeview-tree-update if necessary.
dba0634a 7854
3d8daefe
MR
78552011-10-30 Martin Rudalics <rudalics@gmx.at>
7856
7857 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7858 (window-iso-combinations): Remove "iso-" infix.
7859 Suggested by Chong Yidong.
3d8daefe
MR
7860 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7861 (window-max-delta-1, window-resize, window--resize-siblings)
7862 (window--resize-this-window, adjust-window-trailing-edge)
7863 (split-window, balance-windows-1)
7864 (shrink-window-if-larger-than-buffer):
7865 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7866 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7867
1bc4c3ae
SM
78682011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7871 in place (bug#9907).
7872 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7873 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7874 (eshell-structure-basic-command, eshell-rewrite-while-command)
7875 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7876 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7877 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7878 (eshell-do-pipelines-synchronously, eshell-eval-command):
7879 Use backquotes and prefer setq to set.
7880 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7881 (eshell-macrop): Use functionp.
c1e2f5fa 7882 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7883
30b65d9c
CY
78842011-10-30 Chong Yidong <cyd@gnu.org>
7885
7886 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7887 instead of set-mark (Bug#9810).
7888
2d197ffb
CY
78892011-10-30 Chong Yidong <cyd@gnu.org>
7890
7891 * window.el (split-window-below, split-window-right): Rename from
7892 split-window-above-each-other and split-window-side-by-side
7893 respectively. All callers changed.
7894 (split-window-sensibly, split-window-sensibly): Use them.
7895 (split-window-keep-point): Doc fix.
7896
7897 * isearch.el: Add isearch-scroll property to split-window-below
7898 and split-window-right.
7899
7900 * follow.el (follow-mode):
7901 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7902 * progmodes/ada-xref.el (ada-gdb-application):
7903 * emulation/vip.el (vip-buffer-in-two-windows):
7904 * image-dired.el (image-dired-dired-with-window-configuration):
7905 * dired-x.el (dired-do-find-marked-files):
7906 * dired.el (dired-pop-to-buffer):
7907 * bs.el (bs--show-with-configuration):
7908 * vc/emerge.el (emerge-setup-windows):
7909 * textmodes/two-column.el (2C-two-columns):
7910 * textmodes/reftex-toc.el (reftex-toc):
7911 * progmodes/gdb-mi.el (gdb-setup-windows):
7912 * progmodes/fortran.el (fortran-window-create):
7913 * net/newst-treeview.el (newsticker--treeview-window-init):
7914 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7915 * emulation/tpu-edt.el (tpu-gold-map):
7916 * emulation/crisp.el (crisp-mode-map):
7917 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7918
38bb2ca8
CY
79192011-10-29 Chong Yidong <cyd@gnu.org>
7920
aa4de341
CY
7921 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7922
e1eb5385
CY
7923 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7924
5d2ece3c
CY
7925 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7926 forged Ispell output (Bug#7904).
7927
38bb2ca8
CY
7928 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7929
d0af9f77
SM
79302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * doc-view.el: Avoid ugly errors about not finding nil.
7933 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7934 (doc-view-dvipdf-program, doc-view-unoconv-program)
7935 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7936 Avoid nil or absolute file name as default value.
7937 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7938
52bedd34
AM
79392011-10-28 Alan Mackenzie <acm@muc.de>
7940
db22a3c2 7941 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7942
7e43cfa5
AM
79432011-10-28 Alan Mackenzie <acm@muc.de>
7944
7945 Amend the handling of c-beginning/end-of-defun in nested declaration
7946 scopes.
7947
52bedd34
AM
7948 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7949 cc-langs.el. Change it to a defcustom.
7e43cfa5 7950
52bedd34
AM
7951 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7952 cc-vars.el.
7e43cfa5 7953
d0af9f77
SM
7954 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7955 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7956
52bedd34 7957 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7958 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7959 (c-widen-to-enclosing-decl-scope): New function.
7960 (c-while-widening-to-decl-block): New macro.
7961 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7962 outward for defun boundaries, and correspondingly change symbol
7963 `respect-enclosure' to `go-outward'.
7964 (c-declaration-limits): Change algorithm to report only the "innermost"
7965 defun's boundaries.
7966
1a2ce9ee
DD
79672011-10-28 Deniz Dogan <deniz@dogan.se>
7968
7969 * net/rcirc.el (rcirc-mode): Use hard newlines.
7970
bc97a826
AM
79712011-10-28 Alan Mackenzie <acm@muc.de>
7972
7973 Amend to indent and fontify macros "which include their own semicolon"
7974 correctly, using the "virtual semicolon" mechanism.
7975
52bedd34 7976 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7977
d0af9f77 7978 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7979 Recode to scan one line at a time rather than having \n and \r
58179cce 7980 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7981 (c-forward-label): Amend for virtual semicolons.
58179cce 7982 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7983
52bedd34
AM
7984 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7985 of the new C macros.
bc97a826 7986
52bedd34 7987 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7988 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7989 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7990 (c-opt-cpp-macro-define): Make into a full language variable.
7991 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7992 AWK Mode (including \n, \r) removed, no longer needed.
7993
d0af9f77
SM
7994 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7995 Invoke c-make-macro-with-semi-re.
bc97a826 7996
52bedd34
AM
7997 * progmodes/cc-vars.el (c-macro-with-semi-re):
7998 (c-macro-names-with-semicolon): New variables.
58179cce 7999 (c-make-macro-with-semi-re): New function.
bc97a826 8000
7a6c0941
SM
80012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * vc/log-edit.el: Fill empty field rather than adding new one.
8004 (log-edit-add-field): New function.
8005 (log-edit-insert-changelog): Use it.
8006
b0c4cdcf
ML
80072011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8008
8009 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8010
ee1f1da9
SM
80112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8014 (gdb--check-interpreter): New function.
8015 (gdb): Use it.
8016
51bc5f8b
GM
80172011-10-27 Glenn Morris <rgm@gnu.org>
8018
416a2c45
GM
8019 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8020 (least-positive-float, least-negative-float)
8021 (least-positive-normalized-float, least-negative-normalized-float)
8022 (float-epsilon, float-negative-epsilon):
8023 Remove unnecessary declarations.
8024
8025 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8026 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8027 (least-positive-float, least-negative-float)
8028 (least-positive-normalized-float, least-negative-normalized-float)
8029 (float-epsilon, float-negative-epsilon): Add doc-strings,
8030 based on those in cl.texi.
8031
51bc5f8b
GM
8032 * files.el (set-visited-file-name): If the major-mode changed,
8033 reload the local variables. (Bug#9796)
8034
15de15c6
CY
80352011-10-27 Chong Yidong <cyd@gnu.org>
8036
8037 * subr.el (change-major-mode-after-body-hook): New hook.
8038 (run-mode-hooks): Run it.
8039
ee1f1da9
SM
8040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8041 Use change-major-mode-before-body-hook.
15de15c6
CY
8042
8043 * simple.el (fundamental-mode):
8044 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8045 change introducing fundamental-mode-hook.
8046
5430d399
JB
80472011-10-26 Juanma Barranquero <lekktu@gmail.com>
8048
acc825c5 8049 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8050
ad74a69e
MA
80512011-10-26 Michael Albinus <michael.albinus@gmx.de>
8052
8053 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8054 tramp.el explicitly. (Bug#7583)
ad74a69e 8055
71d4c2a5
SM
80562011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * progmodes/octave-mod.el:
8059 * progmodes/octave-inf.el: Update maintainer.
8060
b1f6fa26
CY
80612011-10-26 Chong Yidong <cyd@gnu.org>
8062
8063 * subr.el (with-wrapper-hook): Rewrite doc.
8064
3f04efd6
MA
80652011-10-25 Michael Albinus <michael.albinus@gmx.de>
8066
8067 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8068 filenames "/method:foo:". (Bug#9793)
3f04efd6 8069
410488d3
SM
80702011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8073 (bug#9865).
8074
c1ebb47e
GM
80752011-10-24 Glenn Morris <rgm@gnu.org>
8076
8077 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8078
7f5c46c7
MA
80792011-10-24 Michael Albinus <michael.albinus@gmx.de>
8080
8081 * notifications.el: Add the requirement of a running D-Bus session
8082 bus to the Commentary.
8083
db2440b6
JL
80842011-10-24 Juri Linkov <juri@jurta.org>
8085
8086 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8087 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8088 (Bug#9364)
8089
feecf435
JL
80902011-10-24 Juri Linkov <juri@jurta.org>
8091
8092 * info.el (Info-following-node-name-re): Add newline to the list
8093 of allowed characters for leading space. (Bug#9824)
8094
a3839de2
SM
80952011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8096
acc825c5
SM
8097 * progmodes/octave-inf.el (inferior-octave-mode-map):
8098 Fix C-c C-h binding.
a3839de2
SM
8099 * progmodes/octave-mod.el (octave-help): Remove.
8100
09388e76
MA
81012011-10-23 Michael Albinus <michael.albinus@gmx.de>
8102
8103 Sync with Tramp 2.2.3.
8104
8105 * net/tramp-cache.el (top): Pacify byte-compiler using
8106 `init-file-user' and `site-run-file'.
8107
8108 * net/trampver.el: Update release number.
8109
86c60681
CY
81102011-10-23 Chong Yidong <cyd@gnu.org>
8111
8112 * files.el (toggle-read-only): Remove obsolete comment about
8113 version control.
8114
8115 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8116 for toggle-read-only. Note that this hasn't called vc-next-action
8117 since 2008-05-02, though it wasn't documented at the time.
8118
a3839de2
SM
8119 * vc/ediff-init.el (ediff-toggle-read-only-function):
8120 Use toggle-read-only.
86c60681 8121
cd5495ff
AM
81222011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8123
8124 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8125 of c-parse-state.
8126
00b77525 8127 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8128 correct faulty logical expression.
cd5495ff
AM
8129 (c-parse-state-state, c-record-parse-state-state):
8130 (c-replay-parse-state-state): New defvar/defuns.
8131 (c-debug-parse-state): Use new functions.
8132
42ee24ed
MR
81332011-10-22 Martin Rudalics <rudalics@gmx.at>
8134
8135 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8136 last fix. Use window-in-direction correctly.
42ee24ed 8137
a7dee7e7
CY
81382011-10-21 Chong Yidong <cyd@gnu.org>
8139
8140 * progmodes/idlwave.el (idlwave-mode):
8141 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8142 require-final-newline; that's done in prog-mode.
8143 Suggested by Stefan Monnier.
a7dee7e7 8144
e07b9a6d
MR
81452011-10-21 Martin Rudalics <rudalics@gmx.at>
8146
8147 * mouse.el (mouse-drag-window-above)
8148 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8149 (mouse-drag-mode-line-1, mouse-drag-header-line)
8150 (mouse-drag-vertical-line-rightward-window): Remove.
8151 (mouse-drag-line): New function.
8152 (mouse-drag-mode-line, mouse-drag-header-line)
8153 (mouse-drag-vertical-line): Call mouse-drag-line.
8154 * window.el (window-at-side-p, windows-at-side): New functions.
8155
7e1361d9
UM
81562011-10-21 Ulrich Mueller <ulm@gentoo.org>
8157
8158 * tar-mode.el (tar-grind-file-mode):
8159 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8160
30fcaf3a
CY
81612011-10-21 Chong Yidong <cyd@gnu.org>
8162
8163 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8164 * progmodes/vera-mode.el (vera-mode):
8165 Use mode-require-final-newline.
30fcaf3a 8166
516eddb0
GM
81672011-10-20 Glenn Morris <rgm@gnu.org>
8168
db22a3c2 8169 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8170
10d5f513
CS
81712011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8172
8173 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8174
ac6c8639
CY
81752011-10-20 Chong Yidong <cyd@gnu.org>
8176
8177 * emulation/cua-base.el (cua-mode):
8178 * mail/footnote.el (footnote-mode):
8179 * mail/mailabbrev.el (mail-abbrevs-mode):
8180 * net/xesam.el (xesam-minor-mode):
8181 * progmodes/bug-reference.el (bug-reference-mode):
8182 * progmodes/cap-words.el (capitalized-words-mode):
8183 * progmodes/compile.el (compilation-minor-mode)
8184 (compilation-shell-minor-mode):
8185 * progmodes/gud.el (gud-tooltip-mode):
8186 * progmodes/hideif.el (hide-ifdef-mode):
8187 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8188 * progmodes/subword.el (subword-mode):
8189 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8190 * progmodes/which-func.el (which-function-mode):
8191 * term/tvi970.el (tvi970-set-keypad-mode):
8192 * term/vt100.el (vt100-wide-mode):
8193 * textmodes/flyspell.el (flyspell-mode):
8194 * textmodes/ispell.el (ispell-minor-mode):
8195 * textmodes/nroff-mode.el (nroff-electric-mode):
8196 * textmodes/paragraphs.el (use-hard-newlines):
8197 * textmodes/refill.el (refill-mode):
8198 * textmodes/reftex.el (reftex-mode):
8199 * textmodes/rst.el (rst-minor-mode):
8200 * textmodes/sgml-mode.el (html-autoview-mode)
8201 (sgml-electric-tag-pair-mode):
8202 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8203 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8204 * emulation/crisp.el (crisp-mode):
8205 * emacs-lisp/eldoc.el (eldoc-mode):
8206 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8207 minor mode behavior.
8208
aa42ab43
JL
82092011-10-19 Juri Linkov <juri@jurta.org>
8210
8211 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8212 the list of hard-coded chars with escape-glyph face.
8213
89400f1d
SM
82142011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8217
305c07f6
MA
82182011-10-19 Michael Albinus <michael.albinus@gmx.de>
8219
8220 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8221 running process.
8222
13754b54
GM
82232011-10-19 Glenn Morris <rgm@gnu.org>
8224
8225 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8226 Ignore ignored files. (Bug#9726)
8227
06e21633
CY
82282011-10-19 Chong Yidong <cyd@gnu.org>
8229
8230 Doc fix for minor modes, stating that an omitted argument enables
8231 the mode unconditionally when called from Lisp.
8232
8233 * abbrev.el (abbrev-mode):
8234 * allout.el (allout-mode):
8235 * autoinsert.el (auto-insert-mode):
8236 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8237 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8238 (global-auto-revert-mode):
8239 * battery.el (display-battery-mode):
8240 * composite.el (global-auto-composition-mode)
8241 (auto-composition-mode):
8242 * delsel.el (delete-selection-mode):
8243 * desktop.el (desktop-save-mode):
8244 * dired-x.el (dired-omit-mode):
8245 * dirtrack.el (dirtrack-mode):
8246 * doc-view.el (doc-view-minor-mode):
8247 * double.el (double-mode):
8248 * electric.el (electric-indent-mode, electric-pair-mode):
8249 * emacs-lock.el (emacs-lock-mode):
8250 * epa-hook.el (auto-encryption-mode):
8251 * follow.el (follow-mode):
8252 * font-core.el (font-lock-mode):
8253 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8254 * help.el (temp-buffer-resize-mode):
8255 * hilit-chg.el (highlight-changes-mode)
8256 (highlight-changes-visible-mode):
8257 * hi-lock.el (hi-lock-mode):
8258 * hl-line.el (hl-line-mode, global-hl-line-mode):
8259 * icomplete.el (icomplete-mode):
8260 * ido.el (ido-everywhere):
8261 * image-file.el (auto-image-file-mode):
8262 * image-mode.el (image-minor-mode):
8263 * iswitchb.el (iswitchb-mode):
8264 * jka-cmpr-hook.el (auto-compression-mode):
8265 * linum.el (linum-mode):
8266 * longlines.el (longlines-mode):
8267 * master.el (master-mode):
8268 * mb-depth.el (minibuffer-depth-indicate-mode):
8269 * menu-bar.el (menu-bar-mode):
8270 * minibuf-eldef.el (minibuffer-electric-default-mode):
8271 * mouse-sel.el (mouse-sel-mode):
8272 * msb.el (msb-mode):
8273 * mwheel.el (mouse-wheel-mode):
8274 * outline.el (outline-minor-mode):
8275 * paren.el (show-paren-mode):
8276 * recentf.el (recentf-mode):
8277 * reveal.el (reveal-mode, global-reveal-mode):
8278 * rfn-eshadow.el (file-name-shadow-mode):
8279 * ruler-mode.el (ruler-mode):
8280 * savehist.el (savehist-mode):
8281 * scroll-all.el (scroll-all-mode):
8282 * scroll-bar.el (scroll-bar-mode):
8283 * server.el (server-mode):
8284 * shell.el (shell-dirtrack-mode):
8285 * simple.el (auto-fill-mode, transient-mark-mode)
8286 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8287 (line-number-mode, column-number-mode, size-indication-mode)
8288 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8289 * strokes.el (strokes-mode):
8290 * time.el (display-time-mode):
8291 * t-mouse.el (gpm-mouse-mode):
8292 * tool-bar.el (tool-bar-mode):
8293 * tooltip.el (tooltip-mode):
8294 * type-break.el (type-break-mode-line-message-mode)
8295 (type-break-query-mode):
8296 * view.el (view-mode):
8297 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8298 (global-whitespace-mode, global-whitespace-newline-mode):
8299 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8300
a3839de2
SM
8301 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8302 Fix autogenerated docstring.
06e21633 8303
5214e501
JL
83042011-10-19 Juri Linkov <juri@jurta.org>
8305
8306 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8307 by checking environment variables "DESKTOP_SESSION" and
8308 "XDG_CURRENT_DESKTOP". (Bug#9779)
8309
195f8db9
JL
83102011-10-19 Juri Linkov <juri@jurta.org>
8311
8312 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8313 (browse-url-chromium-program, browse-url-chromium-arguments):
8314 New defcustoms.
8315 (browse-url-default-browser): Check for `browse-url-chromium' and
8316 call `browse-url-chromium-program'.
8317 (browse-url-chromium): New command. (Bug#9779)
8318
343a34ff
JB
83192011-10-18 Juanma Barranquero <lekktu@gmail.com>
8320
8321 * facemenu.el (list-colors-duplicates): On Windows, detect more
8322 duplicates by assuming that only colors matching "^System" are
8323 special "system colors". (Bug#9722)
8324
6978a151
SM
83252011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8328 to distinguish the author from the committer.
8329
6a80b297
MA
83302011-10-18 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8333
b31a5677
JK
83342011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8335
8336 * international/mule.el (sgml-html-meta-auto-coding-function):
8337 Add support for detecting encoding in HTML5 specified only as
8338 <meta charset="UTF-8">. Implementation just makes http-equiv and
8339 content-type parts from HTML4 encoding string optional. (Bug#9716)
8340
80c6d77f
GM
83412011-10-18 Glenn Morris <rgm@gnu.org>
8342
8343 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8344
08b0fee8
CY
83452011-10-18 Chong Yidong <cyd@gnu.org>
8346
8347 * faces.el (cursor): Doc fix.
8348
67e729a5
CY
83492011-10-17 Chong Yidong <cyd@gnu.org>
8350
8351 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8352
343a34ff 83532011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8354
8355 * dirtrack.el (dirtrack): Support shell buffers with path
8356 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8357
0bc06380
TZ
83582011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8359
8360 * json.el: Bump version to 1.3 and note change in History.
8361 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8362
8b79f3e0
SM
83632011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8364
5a7c536b
SM
8365 * comint.el (comint-insert-input, comint-send-input)
8366 (comint-get-old-input-default, comint-backward-matching-input)
8367 (comint-next-prompt): Use nil instead of `input' for field property of
8368 past user input (bug#114).
8369
96a8a0df
SM
8370 * minibuffer.el (completion--replace): Inherit surrounding properties
8371 (bug#114).
8372 (minibuffer-complete-and-exit): Use it.
8373
8b79f3e0
SM
8374 * comint.el (comint--table-subvert): Quote the all-completions output
8375 (bug#9160).
8376
b8f7ff0d
MR
83772011-10-17 Martin Rudalics <rudalics@gmx.at>
8378
8b79f3e0 8379 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8380
b8f7ff0d 8381 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8382 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8383 entries and separate them from frame entries.
8384
c235b555
GM
83852011-10-15 Glenn Morris <rgm@gnu.org>
8386
8387 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8388 Doc fixes.
8389
6bbfa6e1
CY
83902011-10-15 Chong Yidong <cyd@stupidchicken.com>
8391
8b79f3e0
SM
8392 * net/network-stream.el (network-stream-open-starttls):
8393 Improve detection of failure due to lack of TLS support.
ec5c990d 8394
6bbfa6e1
CY
8395 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8396 putting the input text in front and in bold.
8397
98488977
SM
83982011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8399
3d1337be
SM
8400 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8401
ee0b45e4
SM
8402 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8403 empty buffer.
8404
98488977
SM
8405 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8406 unread-command-events rather than pushing yet-another event.
8407
186f4720
EZ
84082011-10-14 Eli Zaretskii <eliz@gnu.org>
8409
8410 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8411 the explanation of the possible choices. Make the options passed
8412 to completing-read shorter.
8413
8b7a997c
AM
84142011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8415
8416 * textmodes/flyspell.el (flyspell-large-region): Make sure
8417 extended character mode is used if defined (Bug#1339).
8418
12587bbb
EZ
84192011-10-13 Eli Zaretskii <eliz@gnu.org>
8420
8421 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8422 character info for LRE, LRO, RLE, and RLO characters by appending
8423 an invisible PDF.
12587bbb 8424
bad41229
SM
84252011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8428 even in case of error; add debug spec; simplify data flow.
8429 (with-timeout-handler): Remove.
8430
28dbc92f
MA
84312011-10-12 Michael Albinus <michael.albinus@gmx.de>
8432
8433 Fix Bug#6019, Bug#9315.
8434
8435 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8436 complete `buffer-file-name', the local file name part could look
8437 remotely (for example on VMS).
8438
8439 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8440 `tramp-run-real-handler'.
8441 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8442 already quoted by '"'.
8443
8444 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8445 Let `file-name-handler-alist' be nil, the local file name part
8446 could look remotely (for example on VMS).
8447
e1b0b23a
SM
84482011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8451 from here...
8452 (flyspell-post-command-hook): ...to here.
8453
a120bde9
SM
84542011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8457 if not needed.
8458 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8459 using completion. Protect against "slow" callers.
8460 Remove the "message hack".
8461
7ce7717b
JL
84622011-10-11 Juri Linkov <juri@jurta.org>
8463
8464 * isearch.el (isearch-lazy-highlight-word): New variable.
8465 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8466 Use it. (Bug#9727)
8467
c02ee9d6
GM
84682011-10-11 Glenn Morris <rgm@gnu.org>
8469
8470 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8471 like f90-previous-statement does.
8472
93e616fd 84732011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8474
1f190e73 8475 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8476 only in interactive use, to avoid error.
8477
af7b6078
SM
84782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * minibuffer.el (completion-file-name-table): Fix last change,
8481 i.e. ignore normal errors but not the other ones.
8482
0563dae9
MR
84832011-10-10 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (special-display-buffer-names)
8486 (special-display-regexps): Remove some remnants of earlier
8487 changes from doc-strings.
366ca7f3
MR
8488 (quit-windows-on): New function.
8489
8490 * vc/vc.el (vc-revert, vc-rollback):
8491 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8492 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8493 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8494
49677495
MR
84952011-10-09 Martin Rudalics <rudalics@gmx.at>
8496
8497 * window.el (frame-auto-hide-function): Add version tag.
8498 (Bug#9699)
8499
56f2d1e1
MA
85002011-10-09 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8503 condition.
8504
112a6592
LL
85052011-10-09 Leo Liu <sdl.web@gmail.com>
8506
8507 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8508 (Bug#9701)
8509
0812589b
GM
85102011-10-08 Glenn Morris <rgm@gnu.org>
8511
8512 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8513 before the first code statement zero indent. (Bug#9690)
8514
b2b0776e
CY
85152011-10-08 Chong Yidong <cyd@stupidchicken.com>
8516
8517 * simple.el (count-words-region): Always count in the region.
8518 Report the number of lines and characters too.
8519 (count-words): New command, which counts in the buffer if the
8520 region is inactive, as count-words-region used to.
8521 (count-words--message): New function. Handle plurals.
8522 (count-lines-region): Make it an alias for count-words-region.
8523
8524 * bindings.el (esc-map): Replace count-lines-region with
8525 count-words-region.
8526
c557cd6b
MR
85272011-10-08 Martin Rudalics <rudalics@gmx.at>
8528
8529 * window.el (window--delete): Delete dedicated frame
8530 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8531 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8532
61a57ef4 85332011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8534
3a7d293b 8535 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8536
c3833279
CY
85372011-10-07 Chong Yidong <cyd@stupidchicken.com>
8538
8539 * bindings.el ([M-left],[M-right]): Bind to left-word and
8540 right-word respectively.
8541
21ce8245
GM
85422011-10-07 Glenn Morris <rgm@gnu.org>
8543
8544 * cus-start.el (debug-on-quit): Fix custom type.
8545
6d823bb2
LMI
85462011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
0181e193
LMI
8548 * subr.el (define-key-after): Clarify that the function is not
8549 useful for non-menu keymaps.
8550
6d823bb2
LMI
8551 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8552
8e3459ce 85532011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8554
21ce8245 8555 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8556 in current minibuffer (Fix bug with recursive minibuffers).
8557
a1c2d21e
CY
85582011-10-06 Chong Yidong <cyd@stupidchicken.com>
8559
8560 * progmodes/gdb-mi.el (gdb): Doc fix.
8561
5a4cf282
MR
85622011-10-05 Martin Rudalics <rudalics@gmx.at>
8563
8564 * window.el (frame-auto-hide-function): New option replacing
8565 frame-auto-delete. Suggested by Stefan Monnier.
8566 (window--delete): Call frame-auto-hide-function instead of
8567 investigating frame-auto-delete.
c96111ea
MR
8568 (window-point-1, set-window-point-1): New functions.
8569 (window-in-direction, record-window-buffer, window-state-get-1)
8570 (display-buffer-record-window): Use window-point-1 instead of
8571 window-point.
8572 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8573
9854542e
SM
85742011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8577
8943cfb0
GM
85782011-10-05 Glenn Morris <rgm@gnu.org>
8579
8580 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8581 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8582
647ab967
LL
85832011-10-05 Leo Liu <sdl.web@gmail.com>
8584
8585 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8586 works with buffer object.
8587
3ddfbced
SM
85882011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * mpc.el (mpc-tool-bar-map): Add labels.
8591
bdfa5dd2
GM
85922011-10-04 Glenn Morris <rgm@gnu.org>
8593
8594 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8595
0e2070b5
MR
85962011-10-04 Martin Rudalics <rudalics@gmx.at>
8597
8598 * window.el (window--delete): New function.
8599 (frame-auto-delete): Resuscitate option.
8600 (bury-buffer, replace-buffer-in-windows)
8601 (quit-window): Rewrite using window--delete.
8602 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8603 Pass display-buffer-mark-dedicated to window--display-buffer-2
8604 (Bug#9639).
8605
3dc61a09
SM
86062011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8607
915a9b64
SM
8608 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8609 returns a list (bug#9554). Add remote file name completion.
8610 * comint.el (comint--table-subvert): Curry and get quote&unquote
8611 functions as arguments.
8612 (comint--complete-file-name-data): Adjust call accordingly.
8613 * pcomplete.el (pcomplete--table-subvert): Remove.
8614 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8615
3dc61a09
SM
8616 * minibuffer.el (completion-table-case-fold): Use currying.
8617 (completion--styles-type, completion--cycling-threshold-type):
8618 New constants.
8619 (completion-styles, completion-category-overrides)
8620 (completion-cycle-threshold): Use them.
8621 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8622 completion-table-case-fold.
8623
8ea0a993
SB
86242011-10-03 Stephen Berman <stephen.berman@gmx.net>
8625
8626 * minibuffer.el (completion-category-overrides): Fix type of styles
8627 and add more user friendly tags (bug#9660).
8628
8c24b7f6
SM
86292011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8632 (mule-input-method-string): New widget.
8633 (default-input-method, language-info-custom-alist): Use it.
8634
428fe61a
SM
86352011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8636
32c1fffd
SM
8637 * pcomplete.el: Require comint.
8638 (pcomplete--common-suffix): Remove.
8639 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8640 (pcomplete--table-subvert): Sync with comint--table-subvert.
8641 (pcomplete--entries): Use comint-completion-file-name-table.
8642 * comint.el (comint-unquote-filename): Simplify.
8643 (comint-completion-file-name-table): New function (bug#9616).
8644 (comint--complete-file-name-data): Use it.
8645
428fe61a
SM
8646 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8647 (pcmpl-gnu-tar-buffer): Remove.
8648 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8649 around. Make sure pcomplete-suffix-list is only changed temporarily.
8650 Don't look inside the tar's file if it's too large.
428fe61a 8651
04c52e2f
CY
86522011-10-01 Chong Yidong <cyd@stupidchicken.com>
8653
ce3cefcc
CY
8654 * cus-edit.el (custom-mode-map):
8655 * epa.el (epa-key-list-mode-map):
8656 * man.el (Man-mode-map):
8657 * startup.el (splash-screen-keymap):
8658 * simple.el (special-mode-map): Use scroll-up-command and
8659 scroll-down-command.
8660
8661 * progmodes/idlw-help.el (idlwave-help-mode-map):
8662 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8663 * net/newst-plainview.el (newsticker-mode-map):
8664 * emulation/ws-mode.el (wordstar-mode-map):
8665 * emulation/vi.el (vi-com-map):
8666 * calc/calc-graph.el (calc-graph-show-dumb):
8667 * term/sun.el (terminal-init-sun):
8668 * term/ns-win.el (global-map):
8669 * progmodes/grep.el (grep-mode-map):
8670 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8671 * mail/rmail.el (rmail-mode-map):
8672 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8673
04c52e2f
CY
8674 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8675 custom-safe-themes as special.
8676
79adf8c8
JD
86772011-10-01 Julien Danjou <julien@danjou.info>
8678
8679 * notifications.el (notifications-notify): Fix docstring.
8680
63bd50d3
PS
86812011-10-01 Per Starbäck <per@starback.se>
8682
8683 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8684
199e4c7e
MR
86852011-09-30 Martin Rudalics <rudalics@gmx.at>
8686
8687 * startup.el (command-line-1): Fix last fix by inserting
8688 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8689 (Bug#9605) and (Bug#9636)
199e4c7e 8690
fe5f08dd
EZ
86912011-09-29 Eli Zaretskii <eliz@gnu.org>
8692
8693 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8694 window is hscrolled, move by logical lines. (Bug#9607)
8695 (line-move-visual): Update the doc string to the above effect.
8696
b5516bbd
MR
86972011-09-29 Martin Rudalics <rudalics@gmx.at>
8698
ccee00c0
MR
8699 * window.el (display-buffer-record-window): When WINDOW is the
8700 selected window use `point' instead of `window-point'. (Bug#9626)
8701
b5516bbd
MR
8702 * startup.el (command-line-1): Use insert-before-markers when
8703 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8704
b5516bbd
MR
8705 * help.el (help-window): Remove variable.
8706
52aa0014
GM
87072011-09-29 Glenn Morris <rgm@gnu.org>
8708
8709 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8710
df9a7357
JB
87112011-09-29 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * descr-text.el (describe-char-categories): Accept category
8714 descriptions more than one line long.
8715
a8406c20
SM
87162011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8717
88d9610c
SM
8718 * simple.el (delete-trailing-whitespace): Fix last change.
8719
a5daf810
SM
8720 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8721 Don't confuse "y => 3" as the beginning of a `y' operation.
8722
a8406c20
SM
8723 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8724 object has more than 4 slots (bug#9613).
8725
a239d4e9
JB
87262011-09-28 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * subr.el (with-output-to-temp-buffer):
8729 * net/quickurl.el (quickurl, quickurl-browse-url):
8730 Fix typos in docstrings.
8731
693fbdb6
EZ
87322011-09-27 Eli Zaretskii <eliz@gnu.org>
8733
8734 * minibuffer.el (completion-styles)
8735 (completion-category-overrides): Cross reference each other in doc
8736 strings.
8737
8b457e28
GM
87382011-09-27 Glenn Morris <rgm@gnu.org>
8739
8740 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8741 to split-string. (Bug#9606)
8742
85a16208
LMI
87432011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8744
8745 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8746 (bug#9615).
8747
502f9ebd
CY
87482011-09-27 Chong Yidong <cyd@stupidchicken.com>
8749
8750 * emacs-lisp/package.el (list-packages): Fix echo area message.
8751
7690bdea
LL
87522011-09-27 Leo Liu <sdl.web@gmail.com>
8753
8754 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8755
e2ee6f30
MA
87562011-09-25 Michael Albinus <michael.albinus@gmx.de>
8757
8758 * net/dbus.el (dbus-unregister-object): Don't release services for
8759 registered signals. (Bug#9581)
8760
f3f98342
TZ
87612011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8762
8763 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8764 function that picks between cfengine 2 and 3 support
8765 automatically. Update docs accordingly.
8766
dd7aa8dd
KH
87672011-09-22 Kenichi Handa <handa@m17n.org>
8768
8769 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8770 ZERO.
8771 (indian-itrans-v5-table-for-tamil): New variable.
8772 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8773
3f2b07f8
KM
87742011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8775
8776 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8777 that's true if the current command involved collapsing of text.
8778 It's reset to false at the beginning of the next command.
8779 (allout-post-command-business): Move the cursor to the beginning
8780 of entry if the cursor is hidden and collapsing activity just
8781 happened.
8782
371d6a61
CY
87832011-09-24 Chong Yidong <cyd@stupidchicken.com>
8784
8785 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8786 tracking (Bug#9541).
8787
2ac2721a
UJ
87882011-09-24 Ulf Jasper <ulf.jasper@web.de>
8789
8790 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8791 (newsticker-show-news): Automatically load html rendering package
8792 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8793 because w3m-fill-column is let-bound" and the error "Symbol's value
8794 as variable is void: w3m-fill-column".
2ac2721a 8795
fac7ae53
MA
87962011-09-24 Michael Albinus <michael.albinus@gmx.de>
8797
8798 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8799 Release services only if they are defined. (Bug#9581)
8800
e08b633b
RS
88012011-09-23 Richard Stallman <rms@gnu.org>
8802
e488d29c
RS
8803 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8804 distinguish start of paragraph from start of its text.
8805
19c38752
RS
8806 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8807
e08b633b
RS
8808 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8809 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8810 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8811
0a39f27e
AS
88122011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8813
8814 * international/mule-diag.el (mule-diag): Insert a newline after
8815 each fontset description.
8816
db4e950d
SM
88172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * simple.el (delete-trailing-whitespace):
8820 Document last change; simplify.
8821
eca3f3ea
PW
88222011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8823
d68e189a
PW
8824 * simple.el (delete-trailing-whitespace): Also delete
8825 extra newlines at the end of the buffer.
8826
eca3f3ea
PW
8827 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8828 (picture-newline): Use forward-line so as to ignore fields.
8829
01c157cc
SM
88302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * subr.el (with-wrapper-hook): Fix edebug spec.
8833
022de23e
LMI
88342011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8835
8836 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8837 (bug#4538).
8838
91683089
MA
88392011-09-23 Michael Albinus <michael.albinus@gmx.de>
8840
eca3f3ea
PW
8841 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8842 Fix nasty bug using wrong cached values.
91683089 8843
5bdd6fa4
AM
88442011-09-23 Alan Mackenzie <acm@muc.de>
8845
8846 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8847
97adfb97
CY
88482011-09-23 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * window.el (pop-to-buffer): Ensure right window is selected if we
8851 chose another frame.
8852
d4ef2b50
EZ
88532011-09-22 Eli Zaretskii <eliz@gnu.org>
8854
8855 * simple.el (what-cursor-position): Use get-char-property-change
8856 and next-single-char-property-change, to be able to show display
8857 properties that come from overlays as well as text properties.
8858
72258fe5
CY
88592011-09-22 Chong Yidong <cyd@stupidchicken.com>
8860
8861 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8862
8863 * cmuscheme.el (run-scheme, switch-to-scheme):
8864 * cus-edit.el (customize-group, custom-buffer-create)
8865 (customize-browse):
8866 * info.el (info):
8867 * shell.el (shell):
8868 * mail/sendmail.el (mail):
8869 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8870
8f098516
RS
88712011-09-22 Richard Stallman <rms@gnu.org>
8872
8873 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8874 move back only to line beg, don't move back over blank lines.
8875
e74f1bb6
MA
88762011-09-22 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * files.el (copy-directory): Set directory attributes only in case
8879 they could be retrieved from the source directory. (Bug#9565)
8880
bfeef8b6
DK
88812011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8882
8883 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8884 (hs-find-block-beginning, hs-hide-level-recursive):
8885 Ignore strings as well as comments. (Bug#9502)
8886
7e423bb8
AS
88872011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8888
8889 * progmodes/sql.el (sql-comint-postgres):
8890 Convert port number to a string. (Bug#9566)
8891
b4d72fcf
MR
88922011-09-22 Martin Rudalics <rudalics@gmx.at>
8893
8894 * window.el (quit-window): Undedicate window when switching to
8895 previous buffer. Reported by Thierry Volpiatto
8896 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8897 (special-display-popup-frame): When popping up a new frame reset
8898 its previous buffers to nil. Simplify code.
b4d72fcf 8899
a7b88dc6
MA
89002011-09-21 Michael Albinus <michael.albinus@gmx.de>
8901
8902 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8903 and process filter, as done also in `shell-command'.
8904
cf4eacfd
MR
89052011-09-21 Martin Rudalics <rudalics@gmx.at>
8906
eca3f3ea 8907 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8908 Call set-window-start with NOFORCE argument t.
8909 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8910 (quit-window): Reword doc-string. Handle new format of
8911 quit-restore parameter. Don't delete window if it has a
8912 previous buffer we can show instead of the present one.
8913 (display-buffer-record-window): Rewrite using a new format for
8914 the quit-restore window parameter
8915 (special-display-popup-frame, display-buffer-same-window)
8916 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8917 (display-buffer-pop-up-window, display-buffer-use-some-window):
8918 Adapt symbol passed to display-buffer-record-window.
8919 * help.el (help-window-setup): Handle new format of quit-restore
8920 parameter.
8921
8d28cb95
SM
89222011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8923
94ab793f
SM
8924 * faces.el (face-list): Fix docstring (bug#9564).
8925
8d28cb95
SM
8926 * window.el (display-buffer--action-function-custom-type):
8927 Don't include internal functions in the Custom interface.
8928
3820edeb
JL
89292011-09-20 Juri Linkov <juri@jurta.org>
8930
8931 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8932 (Info-forward-node, Info-backward-node, Info-next-preorder)
8933 (Info-last-preorder): Use it. (Bug#9528)
8934
5147931d
JL
89352011-09-20 Juri Linkov <juri@jurta.org>
8936
8937 * info.el (Info-last-preorder): Visit last menu item only when
8938 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8939
cf499a1a
JD
89402011-09-20 Julien Danjou <julien@danjou.info>
8941
8942 * password-cache.el (password-cache-remove): Remove entries even if the
8943 value is nil, so that password with a nil value (negative caching) is
8944 possible to invalidate.
8945
f84e2fe2
LM
89462011-09-20 Lawrence Mitchell <wence@gmx.li>
8947
8948 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8949 all whitespace around breakpoint. (Bug#9553)
8950 (f90-find-breakpoint): Only break at whitespace inside a comment.
8951
78054a46
SM
89522011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * minibuffer.el (completion-file-name-table): Keep track of errors.
8955 (completion-table-with-predicate): Handle the case where pred1 is nil.
8956 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8957
345083b2
SM
89582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8959
e24e27be
SM
8960 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8961 (debugger-return-value): Signal an error if the debugging context does
8962 not await any return value.
8963
345083b2
SM
8964 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8965 * image-mode.el (image-toggle-display-text)
8966 (image-toggle-display-image): Stay away from evil `intangible'.
8967
08d355e3
LL
89682011-09-19 Leo Liu <sdl.web@gmail.com>
8969
8970 * replace.el (occur-revert-arguments): Make it permanent-local.
8971 (occur-mode): Don't call font-lock-defontify.
8972
f01da43f
CY
89732011-09-19 Chong Yidong <cyd@stupidchicken.com>
8974
8975 * net/ldap.el (ldap-search-internal): Don't push empty search
8976 result (Bug#9508).
8977
b6072fa6
SM
89782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8981
443d6696
MA
89822011-09-19 Michael Albinus <michael.albinus@gmx.de>
8983
8984 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8985 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8986
7cc6e154
JL
89872011-09-18 Juri Linkov <juri@jurta.org>
8988
8989 * buff-menu.el (Buffer-menu-mode-map):
8990 * dired.el (dired-mode-map):
8991 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8992 (lisp-interaction-mode-map):
8993 * emacs-lisp/package.el (package-menu-mode-map):
8994 * epa.el (epa-key-list-mode-map):
8995 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8996 (menu-bar-options-menu):
8997 * outline.el (outline-mode-menu-bar-map):
8998 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8999 * vc/vc-dir.el (vc-dir-menu-map):
9000 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9001 Capitalize non-function content words in menu item strings.
9002
9003 * dired.el (dired-mode-map): Add menu item for
9004 `image-dired-dired-toggle-marked-thumbs'.
9005
80302a81
JL
90062011-09-18 Juri Linkov <juri@jurta.org>
9007
9008 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9009 to `isearch-case-fold-search' and restore its original value
9010 after the `isearch-mode' call.
9011
46c5cf66
JL
90122011-09-18 Juri Linkov <juri@jurta.org>
9013
9014 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9015 because `zgrep' returns 1 for successful matches (bug#9226).
9016
d18b513b
JL
90172011-09-18 Juri Linkov <juri@jurta.org>
9018
9019 * info.el (Info-extract-menu-node-name): Check the second match
9020 for empty string (second test-case of bug#9528).
9021 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9022 intermediate nodes to the history (first test-case of bug#9528).
9023
72753f87
JL
90242011-09-18 Juri Linkov <juri@jurta.org>
9025
9026 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9027 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9028
c9384295
JL
90292011-09-18 Juri Linkov <juri@jurta.org>
9030
1154d12e
JB
9031 * info.el (Info-file-supports-index-cookies):
9032 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9033 outputs one more line for long file names (bug#4142).
c9384295 9034
d473dce8
CY
90352011-09-18 Chong Yidong <cyd@stupidchicken.com>
9036
9037 * newcomment.el (comment-normalize-vars): If prompting for
9038 comment-start, set comment-start-skip too (Bug#8424).
9039
2176854d
JB
90402011-09-18 Johan Bockgård <bojohan@gnu.org>
9041
9042 * icomplete.el: Fix previous fix of Bug#5849.
9043 (icomplete-mode): Don't set completion-show-inline-help.
9044 (icomplete-minibuffer-setup): Set completion-show-inline-help
9045 locally during icompletion.
9046
3aace4e4
CY
90472011-09-18 Chong Yidong <cyd@stupidchicken.com>
9048
c940224f
CY
9049 * woman.el (woman2-process-escapes): Don't delete unrecognized
9050 escapes (Bug#7843).
9051
3aace4e4
CY
9052 * files.el (inhibit-first-line-modes-regexps): Add image files.
9053 (hack-local-variables-prop-line): Return nil for malformed
9054 prop-lines (Bug#9044).
9055
710dec63
MA
90562011-09-18 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp.el (top): Don't require 'shell.
9059 (tramp-methods): Fix docstring.
9060 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9061 Return complete remote file name. Handle "smb" case.
9062 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9063 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9064
9065 * net/tramp-compat.el (top): Require 'shell.
9066
9067 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9068 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9069 `tramp-current-host'.
9070 (tramp-get-remote-tmpdir): Remove.
9071
9072 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9073 `tramp-tmpdir' entries.
9074 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9075 (tramp-smb-handle-file-attributes): Ignore errors.
9076 (tramp-smb-wait-for-output): Check also for process end.
9077
5d5ac8ec
LMI
90782011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9079
9080 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9081 when sending QUIT (bug#9312).
9082
8c0f49f0
CY
90832011-09-17 Chong Yidong <cyd@stupidchicken.com>
9084
9085 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9086 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9087 occur-mode-display-occurrence.
9088 (occur-edit-mode): Add usage message.
9089 (occur-cease-edit): New command.
9090 (occur-after-change-function): Use text properties to find the
9091 position of the prefix text.
9092 (occur-engine): Set stickiness of prefix text properties.
9093
8f1383f7
GM
90942011-09-17 Glenn Morris <rgm@gnu.org>
9095
9096 * progmodes/etags.el (complete-tag):
9097 Fix call to completion-in-region. (Bug#9526)
9098
744ba0e3
JL
90992011-09-17 Juri Linkov <juri@jurta.org>
9100
9101 * textmodes/ispell.el (ispell-word): Add to the error message
9102 the word, ispell program name and current dictionary (bug#9121).
9103 (ispell-tex-arg-end): Capitalize "error" in the error message.
9104
d9bbf400
AS
91052011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9108 check. (Bug#4251)
9109
8da11505
JL
91102011-09-17 Juri Linkov <juri@jurta.org>
9111
9112 * window.el (window-safe-min-height, window-safe-min-width):
9113 Fix typos (followup to bug#9522).
9114
a91adc7e
SJ
91152011-09-17 Sven Joachim <svenjoac@gmx.de>
9116
9117 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9118
064f328a
EZ
91192011-09-16 Eli Zaretskii <eliz@gnu.org>
9120
9121 * simple.el (line-move): If goal-column is set, move by logical
9122 lines, not by display lines. (Bug#971)
9123 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9124 to reflect the above change.
9125
e69df516
SM
91262011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * image.el (imagemagick-register-types): Use regexp-opt.
9129
cbb0f9ab
CY
91302011-09-15 Chong Yidong <cyd@stupidchicken.com>
9131
9132 * window.el (display-buffer-base-action): Rename from
9133 display-buffer-default-action. Make default value empty.
9134 (display-buffer-overriding-action): Convert to defvar.
9135 (display-buffer-fallback-action): New var.
9136
25322144
CY
91372011-09-15 Chong Yidong <cyd@stupidchicken.com>
9138
9139 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9140 declaration.
9141 (package--add-to-archive-contents): If there is a duplicate entry
9142 with an older version, remove it.
9143 (package-menu-mark-delete, package-menu-mark-install)
9144 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9145 (package-menu-mark-obsolete-for-deletion):
9146 Use package-menu-get-status instead of a regexp search.
25322144
CY
9147 (package-menu-get-status): Use tabulated-list-entry.
9148 (package-menu-mark-upgrades): New command.
d770725a 9149 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9150 (package-menu-execute): Do installation before deletion.
9151 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9152 instead of checking major-mode.
9153 (package-menu--find-upgrades): New function.
9154
7520339c
LMI
91552011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9156
9157 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9158 passwords in the log buffer.
65a046c4
LMI
9159 (smtpmail-process-filter): Update the process marker so that the
9160 "broken by peer" status message is inserted in the right place.
7520339c 9161
d3c30954
SM
91622011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9163
3fe48822
SM
9164 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9165 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9166 bibtex-completion-at-point-function.
9167 (bibtex-completion-at-point-function): Use them.
9168
1b8b3954
SM
9169 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9170
d3c30954
SM
9171 * mpc.el (mpc-constraints-tag-lookup): New function.
9172 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9173 also to browser "album|playlist".
9174
72779976
JL
91752011-09-14 Juri Linkov <juri@jurta.org>
9176
9177 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9178 (isearch-edit-string): Use length of `isearch-string' when
9179 `isearch-fail-pos' returns nil.
9180 (isearch-message): Remove duplicate code and call
9181 `isearch-fail-pos' with arg `t'.
9182
a0bf2bcd
CY
91832011-09-14 Chong Yidong <cyd@stupidchicken.com>
9184
17bb0a2d
CY
9185 * replace.el (occur-mode-goto-occurrence): Don't force using other
9186 window (Bug#9499).
9187
a0bf2bcd
CY
9188 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9189
f678e0b6
MR
91902011-09-14 Martin Rudalics <rudalics@gmx.at>
9191
9192 * window.el (display-buffer-window): Remove.
9193 (display-buffer-record-window): Use help-setup window parameter
9194 instead of variable display-buffer-window.
9195 (display-buffer-function, special-display-buffer-names)
9196 (special-display-function): Mention help-setup parameter instead
9197 of display-buffer-window in doc-string.
d3c30954
SM
9198 * help.el (help-window-setup): New argument help-window.
9199 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9200 Reword some messages.
9201 (with-help-window): Pass window used for displaying the buffer
9202 to help-window-setup. Don't set display-buffer-window.
9203
8e39b2e8
GM
92042011-09-13 Glenn Morris <rgm@gnu.org>
9205
9206 * emacs-lisp/debug.el (debugger-make-xrefs):
9207 Preserve point. (Bug#9462)
9208
85e9c04b
CY
92092011-09-13 Chong Yidong <cyd@stupidchicken.com>
9210
9211 * window.el (window-deletable-p): Use next-frame.
9212
1b36ed6a
MR
92132011-09-13 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (window-auto-delete): Remove.
9216 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9217 dedication and previous buffers.
1b36ed6a
MR
9218 (switch-to-prev-buffer): Don't delete window.
9219 (delete-windows-on): Delete a window's frame if and only if the
9220 window is dedicated.
9221 (replace-buffer-in-windows): Delete buffer's window or frame if
9222 and only if window is dedicated.
9223 (quit-window): Handle quit-restore as before last change.
4d61f28d 9224 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9225
ef8ef9fb
CY
92262011-09-13 Chong Yidong <cyd@stupidchicken.com>
9227
9228 * window.el (window-deletable-p): Never delete the last frame on a
9229 given terminal.
9230
b2cba41e
GM
92312011-09-13 Glenn Morris <rgm@gnu.org>
9232
9233 * help.el (describe-key-briefly): Copy previous standard-output change.
9234
51553db6 92352011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9236
9237 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9238
b7556719
GM
92392011-09-13 Glenn Morris <rgm@gnu.org>
9240
9241 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9242 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9243
64b51947
CY
92442011-09-12 Chong Yidong <cyd@stupidchicken.com>
9245
9246 * dired-aux.el (dired-mark-read-string): Don't return default
9247 value on empty input (Bug#9361).
9248 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9249 Omit initial minibuffer contents.
9250 (dired-do-chmod): Signal an error on empty input.
9251 (dired-mark-read-string): Don't return default on empty input.
9252
9253 * files.el (file-modes-symbolic-to-number): Doc fix.
9254
393a301e
SM
92552011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * international/mule-cmds.el (ucs-completions): Remove.
9258 (read-char-by-name): Use complete-with-action instead; add metadata.
9259
fa5660f9
CY
92602011-09-11 Chong Yidong <cyd@stupidchicken.com>
9261
9262 * window.el (display-buffer--action-function-custom-type)
9263 (display-buffer--action-custom-type): New vars.
9264 (display-buffer-alist, display-buffer-default-action)
9265 (display-buffer-overriding-action): Add defcustom types.
9266
4a592f66
CY
9267 * frame.el (delete-other-frames): Doc fix (Bug#276).
9268
73d56dbd
LMI
92692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9270
9271 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9272
37ac18a3
CY
92732011-09-11 Chong Yidong <cyd@stupidchicken.com>
9274
9275 Change modes that used same-window-* vars to use switch-to-buffer.
9276
9277 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9278 Use switch-to-buffer.
9279
9280 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9281 (customize-browse, custom-buffer-create-other-window):
9282 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9283
9284 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9285 (Info-prev, Info-up, Info-speedbar-goto-node)
9286 (info-display-manual): Use switch-to-buffer.
9287 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9288
9289 * mail/sendmail.el (mail): Use switch-to-buffer.
9290 (mail-recover): Use switch-to-buffer-other-window.
9291
9292 * cmuscheme.el (run-scheme, switch-to-scheme):
9293 * ielm.el (ielm):
9294 * shell.el (shell):
9295 * net/rlogin.el (rlogin):
9296 * net/telnet.el (telnet, rsh):
9297 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9298
10195bd6
AS
92992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9300
9301 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9302
b322f63a
LMI
93032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9304
39d7fed6
LMI
9305 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9306 so don't mention it (bug#9301).
ba5a81f1 9307 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9308
ee0e9f11
LMI
9309 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9310 match `x', `w32' and `ns', like the manual says (bug#9029).
9311
0b1c89c1 9312 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9313 (process-kill-buffer-query-function): Mention the buffer name in
9314 the query.
0b1c89c1 9315
77549ea8
LMI
9316 * image-mode.el (image-next-line): The line parameter is mandatory
9317 (bug#9258).
9318
803ef892
LMI
9319 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9320 which can be useful (bug#9301).
9321
12980837
LMI
9322 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9323
91054f8f
LMI
9324 * subr.el (match-string): Mention that the current buffer should
9325 be the same as the search was done in (bug#9282).
9326
b322f63a
LMI
9327 * facemenu.el: Disable the remove-* commands if the mark isn't
9328 active (bug#9162).
9329
3199b96f
CY
93302011-09-10 Chong Yidong <cyd@stupidchicken.com>
9331
9332 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9333 of display-buffer.
9334 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9335
9336 * replace.el (occur-mode-goto-occurrence)
9337 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9338 and display-buffer.
9339
9340 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9341 display-buffer.
9342
9343 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9344 special-display and same-window variables.
9345 (mail-other-window): Use switch-to-buffer-other-window.
9346 (mail-other-frame): USe switch-to-buffer-other-frame.
9347
393a301e
SM
9348 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9349 Use display-buffer-other-frame.
3199b96f
CY
9350 (gdb-display-gdb-buffer): Use pop-to-buffer.
9351
9352 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9353
9354 * progmodes/python.el: Don't set same-window-buffer-names.
9355
9356 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9357
9358 * window.el (display-buffer-alist): Add *Python*.
9359
8319e0bf
CY
93602011-09-10 Chong Yidong <cyd@stupidchicken.com>
9361
9362 * window.el (display-buffer-alist): Add entry for buffers
9363 previously handled same-window-*.
9364 (display-buffer-alist, display-buffer-default-action)
9365 (display-buffer-overriding-action): Mark as risky.
9366 (display-buffer-alist): Document action function changes.
9367 (display-buffer--same-window-action)
9368 (display-buffer--other-frame-action): New variables.
9369 (switch-to-buffer, display-buffer-other-frame): Use them.
9370 (display-buffer): Rename reuse-frame entry to reusable-frames.
9371 (display-buffer-reuse-selected-window): Function deleted.
9372 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9373 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9374 (display-buffer-special): New function.
9375 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9376 display-buffer-reuse-or-pop-window. Split off special-display
9377 part into display-buffer-special.
9378 (display-buffer-use-some-window): Don't perform any special
9379 pop-up-frames handling.
9380 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9381 (display-buffer--maybe-same-window): Rename from
0d3ff375 9382 display-buffer-maybe-same-window.
8319e0bf 9383
919a69aa
CY
9384 * info.el: Don't set same-window-regexps.
9385 (info-setup): New function.
9386 (info-other-window, info): Call it.
9387
9388 * cus-edit.el: Don't set same-window-regexps.
9389 (customize-group): New argument.
9390 (customize-group-other-window): Use it.
9391 (customize-face, customize-face-other-window): Likewise.
9392 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9393
8319e0bf
CY
9394 * net/rlogin.el:
9395 * net/telnet.el:
9396 * progmodes/gud.el: Don't set same-window-regexps.
9397
9398 * cmuscheme.el:
9399 * ielm.el:
9400 * shell.el:
9401 * mail/sendmail.el:
9402 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9403
25173000
JL
94042011-09-10 Juri Linkov <juri@jurta.org>
9405
9406 * isearch.el (isearch-edit-string): Remove obsolete mention of
9407 `C-w' (`isearch-yank-word-or-char') from docstring.
9408 (isearch-query-replace): Fix typo in docstring (bug#9466).
9409
056e44ef
JL
94102011-09-10 Juri Linkov <juri@jurta.org>
9411
9412 * paren.el (show-paren-function): Don't show escaped parens.
9413 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9414
c3760c17
EZ
94152011-09-10 Eli Zaretskii <eliz@gnu.org>
9416
9417 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9418 (mm-default-file-encoding): Remove autoload forms, they are
9419 replaced with autoload cookies in mml.el and mm-encode.el.
9420 (mail-add-attachment): New command.
9421 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9422 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9423 the doc string.
9424 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9425
fece895e
RT
94262011-09-10 Reuben Thomas <rrt@sc3d.org>
9427
e69df516
SM
9428 * simple.el (count-words-region): Use buffer if there's no region
9429 (bug#9429).
fece895e 9430
5e68ce4a
JL
94312011-09-09 Juri Linkov <juri@jurta.org>
9432
9433 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9434 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9435 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9436
0a6b9622
AM
94372011-09-09 Alan Mackenzie <acm@muc.de>
9438
9439 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9440 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9441
14a29deb
EZ
94422011-09-09 Eli Zaretskii <eliz@gnu.org>
9443
9444 Fix for Savannah bug#9392.
9445 * simple.el (mail-encode-mml): New defvar.
9446
9447 * mail/rmail.el (mail-encode-mml): Add a defvar.
9448 (rmail-enable-mime-composing): Default to t.
9449 (rmail-forward): Use MIME method of forwarding only if both
9450 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9451 Set mail-encode-mml non-nil if the MIME method was used.
9452
9453 * mail/sendmail.el (mml-to-mime): Add autoload form.
9454 (mail-encode-mml): Add a defvar.
9455 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9456 to nil.
9457 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9458 message through mml-to-mime, and reset mail-encode-mml to nil.
9459
28c45130
GM
94602011-09-09 Glenn Morris <rgm@gnu.org>
9461
9462 * woman.el (woman-if-body): When processing an .el block,
9463 do not delete the next .el block as well. (Bug#9447)
69f4b618 9464 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9465
9b1c252e
MR
94662011-09-08 Martin Rudalics <rudalics@gmx.at>
9467
9468 * window.el (window-deletable-p): Make sure window is live before
9469 invoking window-prev-buffers.
9470
567457e3
LL
94712011-09-08 Leo Liu <sdl.web@gmail.com>
9472
9473 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9474
97f05794
JL
94752011-09-08 Juri Linkov <juri@jurta.org>
9476
9477 * progmodes/compile.el (compilation-environment): Make it
9478 a defcustom (bug#8340).
9479
8b0874b5
MR
94802011-09-08 Martin Rudalics <rudalics@gmx.at>
9481
9482 * window.el (frame-auto-delete): Rename to window-auto-delete.
9483 Make it control auto-deletion of windows and/or frames.
9484 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9485 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9486 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9487 Rewrite handling of case when window/frame can be deleted.
9488 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9489 argument t. (Bug#9456)
8b0874b5 9490
4feb6e73
CY
94912011-09-07 Chong Yidong <cyd@stupidchicken.com>
9492
9493 * help-mode.el (help-mode): Restore autoload.
9494
91ab9c13
JL
94952011-09-07 Juri Linkov <juri@jurta.org>
9496
9497 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9498 `compilation-environment'. Set buffer-local
9499 `compilation-environment' to `thisenv' later after (funcall mode).
9500 (Bug#8340)
9501
9502 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9503 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9504 instead of replacing its value. (Bug#8340)
9505
0527e251
JL
95062011-09-07 Juri Linkov <juri@jurta.org>
9507
9508 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9509 based on text properties put by `grep-filter' instead of matching
9510 escape sequences.
9511 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9512 to the value of `grep-error-screen-columns' (bug#9438).
9513
249f792c
JL
95142011-09-07 Juri Linkov <juri@jurta.org>
9515
9516 * simple.el (next-error-highlight, next-error-highlight-no-select):
9517 Doc fix (bug#9432).
9518
ff7271b9
OT
95192011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9520
9521 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9522 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9523
183fc730
LL
95242011-09-07 Leo Liu <sdl.web@gmail.com>
9525
9526 * net/rcirc.el (rcirc-mode): Conditionally initialize
9527 rcirc-input-ring.
9528
77694924
SM
95292011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/find-func.el (find-function-C-source): Only set
9532 find-function-C-source-directory after checking that we found a source
9533 file there (bug#9440).
9534
d809b8eb
AM
95352011-09-06 Alan Mackenzie <acm@muc.de>
9536
9537 * isearch.el (isearch-other-meta-char): Wherever a key list is
9538 unread, "unread" the prefix arg, too. This fixes bug #8901.
9539
453de99f
OG
95402011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9541
9542 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9543
90439906
JL
95442011-09-05 Juri Linkov <juri@jurta.org>
9545
9546 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9547
f62bd846
JL
95482011-09-05 Juri Linkov <juri@jurta.org>
9549
9550 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9551 keeping point where processing of grep matches begins, and
9552 continue to delete remaining escape sequences from the same point.
9553 (grep-filter): Make leading zero optional in "0?1;31m" because
9554 git-grep emits "\033[1;31m" escape sequences unlike expected
9555 "\033[01;31m" as GNU Grep does (bug#9408).
9556 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9557
045820ec
JL
95582011-09-05 Juri Linkov <juri@jurta.org>
9559
9560 * subr.el (y-or-n-p): Capitalize "yes".
9561
f5e29b9b
MA
95622011-09-04 Michael Albinus <michael.albinus@gmx.de>
9563
9564 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9565 `tramp-cache-unload-hook' where appropriate.
9566 (tramp-methods): Rename `tramp-remote-sh' to
9567 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9568 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9569
9570 * net/tramp-sh.el (top): Don't require 'shell.
9571 (tramp-methods): Add `tramp-remote-shell' and
9572 `tramp-remote-shell-args' entries.
9573 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9574 (tramp-sh-handle-shell-command): Remove.
9575 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9576 Use `tramp-remote-shell'.
9577
2784c434
CY
95782011-09-03 Chong Yidong <cyd@stupidchicken.com>
9579
393a301e 9580 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9581 (sendmail-query-once): Save directly to send-mail-function.
9582 Update message-send-mail-function too.
9583
9584 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9585
464cdf56
CS
95862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9587
9588 * progmodes/python.el (python-mode-map): Use correct function to
9589 start python interpreter from menu-bar (as reported by Geert
9590 Kloosterman).
9591 (inferior-python-mode-map): Fix typo.
393a301e 9592 (python-shell-map): Remove.
464cdf56 9593
d37e5c87
DD
95942011-09-03 Deniz Dogan <deniz@dogan.se>
9595
9596 * net/rcirc.el (rcirc-print): Simplify code for
9597 rcirc-scroll-show-maximum-output. There is no need to walk
9598 through all windows to find the right one.
9599
f3ada0ee
CS
96002011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9601
9602 * help.el (help-return-method): Doc fix.
9603
1f3c99ca
MR
96042011-09-03 Martin Rudalics <rudalics@gmx.at>
9605
9606 * window.el (window-deletable-p): Don't return a non-nil value
9607 when there's a buffer that was shown in the window before.
9608 (Bug#9419)
393a301e
SM
9609 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9610 Set window's previous buffers to nil.
1f3c99ca 9611
a3cf097f
EZ
96122011-09-03 Eli Zaretskii <eliz@gnu.org>
9613
9614 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9615 newline before and after the tag line, so it doesn't interfere
9616 with determining the paragraph direction of bidirectional text.
9617
3d03de90
LL
96182011-09-03 Leo Liu <sdl.web@gmail.com>
9619
9620 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9621
c3313451
CY
96222011-09-02 Chong Yidong <cyd@stupidchicken.com>
9623
393a301e 9624 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9625 (pop-to-buffer): Change interactive spec. Pass second argument
9626 directly to display-buffer.
9627 (display-buffer): Fix interactive spec. Use functionp to
9628 distinguish between a function and a list of functions.
9629
9630 * abbrev.el (edit-abbrevs):
9631 * arc-mode.el (archive-extract):
9632 * autoinsert.el (auto-insert):
9633 * bookmark.el (bookmark-bmenu-list):
9634 * files.el (find-file):
9635 * view.el (view-buffer):
9636 * progmodes/compile.el (compilation-goto-locus):
9637 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9638
89894cd8
CY
96392011-09-02 Chong Yidong <cyd@stupidchicken.com>
9640
9641 * window.el (display-buffer-alist): Doc fix.
9642 (display-buffer): Add docstring. Don't treat
9643 display-buffer-default specially.
9644 (display-buffer-reuse-selected-window)
9645 (display-buffer-same-window, display-buffer-maybe-same-window)
9646 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9647 (display-buffer-pop-up-window)
9648 (display-buffer-reuse-or-pop-window)
9649 (display-buffer-use-some-window): New functions.
9650 (display-buffer-default-action): Use them.
393a301e 9651 (display-buffer-default): Delete.
89894cd8
CY
9652 (pop-to-buffer-1): Fix choice of actions.
9653
ae0bc9fb
SM
96542011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * minibuffer.el (completion--insert-strings): Don't get confused by
9657 completion entries that end with an LF char.
9658
e9d90883
EZ
96592011-09-01 Eli Zaretskii <eliz@gnu.org>
9660
9661 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9662
437014c8
CY
96632011-09-01 Chong Yidong <cyd@stupidchicken.com>
9664
9665 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9666 (display-buffer-same-window, display-buffer-other-window):
9667 New functions.
437014c8
CY
9668 (pop-to-buffer-1): New function. Use the above.
9669 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9670 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9671
9672 * view.el (view-buffer-other-window, view-buffer-other-frame):
9673 Just use pop-to-buffer.
9674
a5e063d5
TV
96752011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9676
9677 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9678
793d32bb
WH
96792011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9680
9681 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9682
d65e4c15
RS
96832011-08-31 Richard Stallman <rms@gnu.org>
9684
9685 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9686 of the separation of rmail-view-buffer from rmail-buffer.
9687 If you say no to "replace original", the decrypt is in the
9688 view buffer. If you say yes, the decrypt goes into the
9689 rmail buffer also.
9690
f818cd2a
MR
96912011-08-31 Martin Rudalics <rudalics@gmx.at>
9692
9693 * window.el (display-buffer-window): Rewrite doc-string.
9694 (display-buffer-record-window): New function.
9695 (display-buffer-macro-specifiers)
9696 (display-buffer-even-window-sizes, display-buffer-set-height)
9697 (display-buffer-set-width, display-buffer-in-window)
9698 (display-buffer-reuse-window, display-buffer-split-specifiers)
9699 (display-buffer-side-specifiers, display-buffer-split-window-1)
9700 (display-buffer-split-window, display-buffer-split-atom-window)
9701 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9702 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9703 (display-buffer-other-window-means-other-frame)
9704 (display-buffer-normalize-special)
9705 (display-buffer-normalize-default)
9706 (display-buffer-normalize-argument)
9707 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9708 (display-buffer-normalize-specifiers, display-buffer-frame)
9709 (display-buffer-same-window, display-buffer-same-frame)
9710 (display-buffer-other-window)
9711 (display-buffer-same-frame-other-window)
9712 (display-buffer-other-frame, pop-to-buffer-same-window)
9713 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9714 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9715 (switch-to-buffer-same-frame)
9716 (switch-to-buffer-other-window-same-frame)
9717 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9718 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9719 (display-buffer-alist-set): Remove.
9720 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9721 (special-display-regexps, special-display-function):
9722 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9723 parameter.
9724 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9725 (special-display-frame-alist, special-display-popup-frame)
9726 (same-window-buffer-names, same-window-regexps, same-window-p)
9727 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9728 (split-window-preferred-function, split-height-threshold)
9729 (split-width-threshold, window-splittable-p)
9730 (split-window-sensibly, window--try-to-split-window)
9731 (window--frame-usable-p, even-window-heights)
9732 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9733 (window--display-buffer-2, display-buffer-other-frame):
9734 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9735 (display-buffer-default, display-buffer-assq-regexp): New functions.
9736 (display-buffer-alist): Rewrite doc-string.
9737 (display-buffer-default-action)
9738 (display-buffer-overriding-action): New variables.
9739 (display-buffer, switch-to-buffer): Rewrite.
9740 (pop-to-buffer): Restore Emacs 23 behavior but use
9741 window-normalize-buffer-to-display.
9742 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9743 Restore Emacs 23 behavior but use
9744 window-normalize-buffer-to-switch-to.
9745 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9746 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9747 Rewrite using Emacs 23 options.
f818cd2a 9748
5bc3b51d
MA
97492011-08-31 Michael Albinus <michael.albinus@gmx.de>
9750
9751 * net/tramp.el (tramp-root-regexp): Remove.
9752 (tramp-completion-file-name-regexp-unified)
9753 (tramp-completion-file-name-regexp-separate)
9754 (tramp-completion-file-name-regexp-url): Don't use leading volume
9755 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9756 (tramp-drop-volume-letter): Simplify definition.
9757 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9758
b1a4f8e1
SM
97592011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9762 (bug#9356).
9763
5664fa7b
RT
97642011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9765
b1a4f8e1 9766 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9767
9a45d6c3
JL
97682011-08-29 Juri Linkov <juri@jurta.org>
9769
9770 * isearch.el (isearch-done): Don't display message "Mark saved"
9771 when arg `edit' is non-nil to prevent its flicker in the echo area.
9772
fb87e0fb
CY
97732011-08-28 Chong Yidong <cyd@stupidchicken.com>
9774
9775 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9776 obsolete packages for deletion.
9777
09ac1c2a
CS
97782011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9779
9780 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9781 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9782 view-mode from help-mode.
9783 (help-xref-override-view-map): Remove.
9784 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9785 view-mode is not used anymore.
9786
7a1ff57f
CY
97872011-08-28 Chong Yidong <cyd@stupidchicken.com>
9788
9789 * server.el (server-port): Doc fix.
9790
b9696605
CY
9791 * cus-theme.el (custom-theme-choose-mode): Inherit from
9792 special-mode (Bug#9124).
9793 (custom-theme-choose-mode-map): Add special-mode to parent.
9794
ef8cdf8c
AM
97952011-08-28 Alan Mackenzie <acm@muc.de>
9796
9797 * progmodes/cc-fonts.el
9798 (c-make-font-lock-BO-decl-search-function): New function.
9799 (c-basic-matchers-after - "Fontify the clauses after various
9800 keywords"): Extract the three keyword lists for the 3 erroneous
9801 constructs from the list of four, and use the new function above
9802 in place of an old one.
9803
27de4e20
DD
98042011-08-28 Deniz Dogan <deniz@dogan.se>
9805
9806 * net/rcirc.el (rcirc-insert-prev-input)
9807 (rcirc-insert-next-input): Remove unused argument.
9808
356a3681
SM
98092011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9812
3fc9b218
AM
98132011-08-27 Alan Mackenzie <acm@muc.de>
9814
9815 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9816 handle function pointer parameters properly.
9817
538a061c
MR
98182011-08-27 Martin Rudalics <rudalics@gmx.at>
9819
9820 * window.el (display-buffer-reuse-window): Fix case where
9821 selected window was reused with non-nil OTHER-WINDOW argument.
9822 (Bug#9381)
9823
35b1c40c
DD
98242011-08-27 Deniz Dogan <deniz@dogan.se>
9825
9826 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9827 oftc's NickServ messages.
9828
2f6a3e79
GM
98292011-08-27 Glenn Morris <rgm@gnu.org>
9830
9831 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9832
7254299e
CY
98332011-08-26 Chong Yidong <cyd@stupidchicken.com>
9834
9835 * emacs-lisp/package.el (package-install): Call package-initialize
9836 if called interactively.
9837
f8ccf167
LL
98382011-08-26 Leo Liu <sdl.web@gmail.com>
9839
9840 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9841
3e8cd5ce
JL
98422011-08-25 Juri Linkov <juri@jurta.org>
9843
9844 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9845 `search-whitespace-regexp' (bug#9364).
9846
93eb7113
JL
98472011-08-25 Juri Linkov <juri@jurta.org>
9848
9849 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9850 `regexp-search-ring' to their global values to protect from
9851 updating by `read-from-minibuffer' (bug#9185).
9852
f65d1611
JL
98532011-08-25 Juri Linkov <juri@jurta.org>
9854
9855 * textmodes/ispell.el (ispell-command-loop): Add newline
9856 at the end of the "Use option `i'..." line.
9857
f1cf7a31
JL
98582011-08-25 Juri Linkov <juri@jurta.org>
9859
9860 * battery.el (display-battery-mode): If `battery-status-function'
9861 or `battery-mode-line-format' is nil, display the message and set
9862 `display-battery-mode' to nil (bug#9363).
9863
0c95fcf7
EZ
98642011-08-25 Eli Zaretskii <eliz@gnu.org>
9865
9866 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9867 bidi-string-mark-left-to-right; they are unnecessary now.
9868
a2ebe600
DD
98692011-08-25 Deniz Dogan <deniz@dogan.se>
9870
9871 * net/quickurl.el: Documentation typo fixes.
9872
e4ed06f1
CY
98732011-08-25 Chong Yidong <cyd@stupidchicken.com>
9874
9875 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9876
e5f1c99e
GM
98772011-08-25 Glenn Morris <rgm@gnu.org>
9878
b2948976
GM
9879 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9880
e5f1c99e
GM
9881 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9882 (smtpmail-via-smtp): Handle nil response from smtp.
9883
f22f4808
JL
98842011-08-24 Juri Linkov <juri@jurta.org>
9885
9886 * proced.el (proced-marked): Inherit from `error' instead of
9887 `font-lock-warning-face'.
9888
9889 * ibuffer.el (ibuffer-marked-face): Change default face from
9890 `font-lock-warning-face' to `warning'.
9891 (ibuffer-deletion-face): Change default face from
9892 `font-lock-type-face' to `error'.
9893
9894 * battery.el (battery-update): Use the face `error' instead of
9895 `font-lock-warning-face' (bug#6117).
9896
6a93965e
JL
98972011-08-24 Juri Linkov <juri@jurta.org>
9898
9899 * faces.el (success): Change face color from "Green3" to
9900 "ForestGreen" on light background (bug#9353).
9901
1ed43b09
CY
99022011-08-24 Chong Yidong <cyd@stupidchicken.com>
9903
5664fa7b
RT
9904 * window.el (quit-window): Rename from quit-restore-window.
9905 Use same arglist as old quit-window.
1ed43b09
CY
9906 (frame-auto-delete): Doc fix.
9907
9908 * view.el (view-mode-exit): Use quit-window.
9909
11dcdbb2
JL
99102011-08-24 Juri Linkov <juri@jurta.org>
9911
9912 * isearch.el (isearch-ring-adjust1): Start visiting previous
9913 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9914 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9915 for empty search string (when the last search string is reused
9916 automatically) to adjust the isearch ring to the last element and
9917 prepare the correct index for further M-p commands (bug#9185).
9918
de62b4df
KH
99192011-08-24 Kenichi Handa <handa@m17n.org>
9920
9921 * international/ucs-normalize.el: If decomposition property of
9922 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9923 nil.
9924 (nfd, nfkd): Likewise.
9925
963b492b
SM
99262011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9927
9928 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9929 from process filters aren't reliably transmitted to the surrounding
9930 accept-process-output.
9931 (mpc-proc-check): New function.
9932 (mpc-proc-sync): Use it (bug#8293)
9933
93b6b5e1
SM
99342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9937 Add compatibility functions (bug#9313).
9938
bca633fb
EZ
99392011-08-23 Eli Zaretskii <eliz@gnu.org>
9940
b177498a
EZ
9941 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9942
6df6ae42 9943 * international/uni-bidi.el: Regenerate.
bca633fb 9944
0902a04e
KH
99452011-08-23 Kenichi Handa <handa@m17n.org>
9946
9947 * international/charprop.el:
9948 * international/uni-bidi.el:
9949 * international/uni-category.el:
9950 * international/uni-combining.el:
9951 * international/uni-comment.el:
9952 * international/uni-decimal.el:
9953 * international/uni-decomposition.el:
9954 * international/uni-digit.el:
9955 * international/uni-lowercase.el:
9956 * international/uni-mirrored.el:
9957 * international/uni-name.el:
9958 * international/uni-numeric.el:
9959 * international/uni-old-name.el:
9960 * international/uni-titlecase.el:
9961 * international/uni-uppercase.el: Regenerate.
9962
3bbf23bc
MR
99632011-08-23 Martin Rudalics <rudalics@gmx.at>
9964
9965 * help.el (help-window-setup): Fix message displayed when other
9966 window is reused. (Bug#9341)
9967
b3fd59bd
SM
99682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9969
1802e444
SM
9970 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9971 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9972
b3fd59bd
SM
9973 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9974 Mark obsolete.
9975 * shell.el (shell-parse-pcomplete-arguments): New function.
9976 (shell-completion-vars): Use it instead (bug#9160).
9977
4eb61348
SM
99782011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9979
867cab74
SM
9980 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9981 strings and comments (bug#9333).
9982
4eb61348
SM
9983 * emacs-lisp/debug.el (debug-arglist): New function.
9984 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9985 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9986
262a1439
JL
99872011-08-22 Juri Linkov <juri@jurta.org>
9988
56ee679c
JL
9989 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9990 Revert regexp that highlights output switches to its old
9991 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9992
262a1439
JL
9993 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9994 to check for empty output (bug#9226).
9995
f13f86fb
CY
99962011-08-22 Chong Yidong <cyd@stupidchicken.com>
9997
9998 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9999 symbol-constituent as the default, as that stops font-lock from
10000 working properly (Bug#8843).
10001
c65c9622
LMI
100022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10003
10004 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10005 `coding-system-for-*' around the process open call to avoid
10006 auth-source side effects.
e7f2c178 10007 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10008 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10009 probe hangs.
c65c9622 10010
23a8a5ab
CY
100112011-08-21 Chong Yidong <cyd@stupidchicken.com>
10012
ff98b2dd
CY
10013 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10014
23a8a5ab
CY
10015 * emacs-lisp/find-func.el (find-function-noselect): New arg
10016 lisp-only.
10017
10018 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10019 signal an error for built-in functions (Bug#6664).
10020
f5e3c598
LMI
100212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10022
10023 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10024 (smtpmail-try-auth-methods): Use it.
10025
a3f2468a
CY
100262011-08-21 Chong Yidong <cyd@stupidchicken.com>
10027
2c34e8da
CY
10028 * font-lock.el (font-lock-fontify-region)
10029 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10030 (font-lock-default-unfontify-buffer)
10031 (font-lock-default-fontify-region)
10032 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10033
b3fd59bd
SM
10034 * progmodes/compile.el (compilation-error-properties):
10035 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10036 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10037 `ant' regexp.
ee31aabc 10038
a3f2468a
CY
10039 * net/browse-url.el (browse-url-firefox): Don't call
10040 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10041
8e999f70
GM
100422011-08-20 Glenn Morris <rgm@gnu.org>
10043
c21a496a
GM
10044 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10045
59ee0542
GM
10046 * tutorial.el (tutorial--default-keys): Update some default bindings.
10047
8e999f70
GM
10048 * files.el (hack-local-variables): Fully ignore case for "mode:".
10049
e3715033
AM
100502011-08-20 Alan Mackenzie <acm@muc.de>
10051
10052 Resolve invalid use of a regexp in regexp-opt.
10053
4d61f28d
JB
10054 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10055 detection for a java annotation.
e3715033 10056
4d61f28d 10057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10058 detection for a java annotation.
10059
4d61f28d
JB
10060 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10061 handling for java.
e3715033
AM
10062 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10063
04ed2e9c
CY
100642011-08-20 Chong Yidong <cyd@stupidchicken.com>
10065
10066 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10067 (Bug#9274).
10068
826cee64
AM
100692011-08-20 Alan Mackenzie <acm@muc.de>
10070
58179cce 10071 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10072 such a construct. Mainly for when jit-lock etc. starts a chunk
10073 here.
10074
58179cce 10075 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10076 variable.
58179cce 10077 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10078 c-make-font-lock-search-function.
10079 (c-make-font-lock-search-function): Use the above function.
10080 (c-make-font-lock-context-search-function): New function.
10081 (c-cpp-matchers): Enhance the preprocessor expression case with
10082 the above function
10083 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10084 which takes an expression.
10085
10086 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10087
13009bd8
MR
100882011-08-20 Martin Rudalics <rudalics@gmx.at>
10089
10090 * window.el (display-buffer-reuse-window)
10091 (display-buffer-pop-up-window): Don't reuse or split a side
10092 window.
10093
9234ff7f
GM
100942011-08-19 Glenn Morris <rgm@gnu.org>
10095
10096 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10097 Downcase "Mode:". (Bug#9331)
9234ff7f 10098
f635daa1
CY
100992011-08-18 Chong Yidong <cyd@stupidchicken.com>
10100
10101 * international/characters.el: Add L and R categories.
10102
10103 * subr.el (bidi-string-mark-left-to-right): Rename from
10104 string-mark-left-to-right. Use category search.
10105
10106 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10107
bc987f8b
JL
101082011-08-18 Juri Linkov <juri@jurta.org>
10109
10110 * faces.el (error, warning, success): New faces with definitions
10111 copied from old default values of `font-lock-warning-face',
10112 `compilation-warning', `compilation-info' (bug#6117).
10113
10114 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10115
10116 * progmodes/compile.el (compilation-error): Inherit from `error'.
10117 (compilation-warning): Inherit from `warning'.
10118 (compilation-info): Inherit from `success'.
10119
10120 * dired.el (dired-marked): Inherit from `warning'.
10121 (dired-flagged): Inherit from `error'.
10122
57173b96
LMI
101232011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10124
3e79eb87
LMI
10125 * mail/smtpmail.el (auth-source): Require to avoid problems with
10126 binding variables (bug#9298). Also clean up some unused
10127 autoloads.
10128
b3fd59bd
SM
10129 * net/network-stream.el (network-stream-open-starttls):
10130 Support using starttls.el without using gnutls-cli.
57173b96 10131
02b404de
JL
101322011-08-17 Juri Linkov <juri@jurta.org>
10133
10134 * progmodes/grep.el (rgrep): Handle the case when
10135 `grep-find-command' is a cons cell (bug#9278).
10136
8c9177f2
MR
101372011-08-17 Martin Rudalics <rudalics@gmx.at>
10138
10139 * window.el (display-buffer-pop-up-frame): Run frame creation
10140 function with BUFFER current (as special-display-popup-frame
10141 does). Reported by Drew Adams.
10142
3644a0ab
DU
101432011-08-17 Daiki Ueno <ueno@unixuser.org>
10144
10145 * epa-mail.el: Simplify GnuPG group expansion using
10146 epg-expand-group.
10147 (epa-mail-group-alist, epa-mail-group-modtime)
10148 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10149 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10150 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10151 Remove.
10152
5e617bc2 101532011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10154
10155 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10156
9c4aeabf
AM
101572011-08-16 Alan Mackenzie <acm@muc.de>
10158
10159 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10160 Correct, to avoid the inside of macros.
10161
3a99bf64
RS
101622011-08-16 Richard Stallman <rms@gnu.org>
10163
04963aa8
RS
10164 * epa-mail.el: Handle GnuPG group definitions.
10165 (epa-mail-group-alist, epa-mail-group-modtime)
10166 (epa-mail-gnupg-conf-file): New variables.
10167 (epa-mail-parse-groups, epa-mail-sync-groups)
10168 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10169 (epa-mail-expand-recipients): New functions.
10170 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10171
177549d0
RS
10172 * mail/rmail.el (rmail-epa-decrypt): New command.
10173
fe38beef
RS
10174 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10175 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10176 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10177 (epa-decrypt-armor-in-region): Make error message clearer.
10178
934eacb9
SM
101792011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10182 and "a2b" to "ab" for `prefix'.
10183
d024fb4e
CY
101842011-08-14 Chong Yidong <cyd@stupidchicken.com>
10185
10186 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10187 filter groups.
de148fee
CY
10188 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10189 Fourquet (Bug#8804).
d024fb4e 10190
62f1ca49
JB
101912011-08-12 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * startup.el (argi): Declare as global variable (bug#9275).
10194
9ccaaa4b
CY
101952011-08-12 Chong Yidong <cyd@stupidchicken.com>
10196
10197 * subr.el (string-mark-left-to-right): Search the entire string
10198 for RTL script, not just the terminating character. Doc fix.
10199
a3dae87a
SM
102002011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10201
6cd18349
SM
10202 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10203 New function.
10204 (js--regexp-literal, js-syntax-propertize-function): Remove.
10205 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10206 (js-mode-map): Don't rebind electric keys.
10207 (js-insert-and-indent): Remove.
10208 (js-mode): Setup electric-layout and electric-indent instead.
10209
a3dae87a
SM
10210 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10211
9d5cb631
DU
102122011-08-12 Daiki Ueno <ueno@unixuser.org>
10213
10214 * epa.el (epa-progress-callback-function): Fix the logic of
10215 displaying progress.
10216 * epa-file.el (epa-file-insert-file-contents): Make progress
10217 display more user-friendly.
10218 (epa-file-write-region): Ditto.
10219
3e26a4a2
CY
102202011-08-10 Chong Yidong <cyd@stupidchicken.com>
10221
10222 * subr.el (string-mark-left-to-right): New function.
10223
10224 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10225 Use string-mark-left-to-right.
10226 (list-buffers-noselect): Caller changed.
10227
a3dae87a
SM
10228 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10229 Use string-mark-left-to-right.
3e26a4a2
CY
10230 (tabulated-list-print): Recenter after moving point.
10231
ac8cf6e6
JL
102322011-08-10 Juri Linkov <juri@jurta.org>
10233
10234 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10235 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10236 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10237
8d96c9a4
CY
102382011-08-09 Chong Yidong <cyd@stupidchicken.com>
10239
10240 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10241 (Bug#7554).
10242
7be1c708 102432011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10244
10245 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10246 character. (Bug#6594)
10247
37e11a63
CY
102482011-08-08 Chong Yidong <cyd@stupidchicken.com>
10249
839dde57
CY
10250 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10251 (image-dired--with-db-file): New macro.
10252 (image-dired-write-tags, image-dired-remove-tag)
10253 (image-dired-create-gallery-lists, image-dired-write-comments)
10254 (image-dired-get-comment, image-dired-mark-tagged-files)
10255 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10256 (image-dired-gallery-generate): Use insert-file-contents.
10257
37e11a63
CY
10258 * time.el (display-time-world-list, display-time-world-display):
10259 * time-stamp.el (time-stamp-string):
10260 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10261 set-time-zone-rule (Bug#7337).
10262
0b4946c4
DU
102632011-08-08 Daiki Ueno <ueno@unixuser.org>
10264
10265 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10266 (epg-error-to-string, epg-errors-to-string): New function.
10267 (epg-wait-for-completion): Reverse errors list.
10268 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10269 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10270 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10271 (epg-sign-keys, epg-generate-key-from-file)
10272 (epg-generate-key-from-string): Format errors by using
10273 epg-errors-to-string (bug#9255).
10274 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10275
75bfc667
JL
102762011-08-07 Juri Linkov <juri@jurta.org>
10277
10278 * faces.el (list-faces-display): Remove extra angle bracket
10279 from `help-mode-map'.
10280
10281 * info.el (Info-history-toc-nodes): Doc fix.
10282
10283 * longlines.el (longlines-mode): Doc fix.
10284
673e08bb
SM
102852011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10286
4640dd88
SM
10287 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10288 of statements and in a few more cases (bug#9183).
10289
673e08bb
SM
10290 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10291 New functions.
10292 (cl-transform-lambda): Use them (bug#9239).
10293
89b3f019
MR
102942011-08-05 Martin Rudalics <rudalics@gmx.at>
10295
10296 * window.el (display-buffer-same-window)
10297 (display-buffer-same-frame, display-buffer-other-window)
10298 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10299 (pop-to-buffer-other-window)
10300 (pop-to-buffer-same-frame-other-window)
10301 (pop-to-buffer-other-frame): Make them defuns.
10302 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10303
640c8776
SM
103042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * subr.el (make-composed-keymap): Move from C. Change calling
10307 convention, and improve docstring to bring attention to a subtle point.
10308 * minibuffer.el (completing-read-default): Adjust accordingly.
10309
63648a95
MA
103102011-08-03 Michael Albinus <michael.albinus@gmx.de>
10311
10312 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10313 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10314
10315 * net/trampver.el: Update release number.
10316
b796c9b7
SM
103172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10318
10319 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10320 "in" (bug#9190).
10321
2239d7d5
LMI
103222011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10323
e07dd7c3
LMI
10324 * mail/sendmail.el (sendmail-query-once): Restore the current
10325 buffer after querying (bug#9074).
10326
0e6a2bd7
LMI
10327 * dired.el (dired-flagged): Use different faces for marked and
10328 flagged files (bug#6117).
10329
ce887515
LMI
10330 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10331 (bug#4433).
10332
92f2affc
LMI
10333 * ido.el (ido-mode): Switch off the message if called
10334 non-interactively.
10335
57d5aff0
LMI
10336 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10337 before 587, since it appears that that's more likely to work for
10338 more people.
10339
98cd6c18 10340 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10341 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10342 exist.
10343
b96dec83
LMI
10344 * info.el: Remove the `Info-beginning-of-buffer' function
10345 (bug#8325).
10346
b796c9b7
SM
10347 * net/network-stream.el (network-stream-open-starttls):
10348 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10349
d90e2ea0
MR
103502011-08-01 Martin Rudalics <rudalics@gmx.at>
10351
10352 * window.el (display-buffer-in-window): Don't set dedicated status
10353 of window here (Bug#9215).
10354 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10355 (display-buffer-pop-up-side-window)
b796c9b7 10356 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10357
cca09170
SM
103582011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10361 before binding generated-autoload-file.
10362
027b979c
DD
103632011-08-01 Deniz Dogan <deniz@dogan.se>
10364
10365 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10366
3c7ee4f3
MA
103672011-07-30 Michael Albinus <michael.albinus@gmx.de>
10368
10369 Sync with Tramp 2.2.2.
10370
10371 * net/trampver.el: Update release number.
10372
2cc8e51a
JL
103732011-07-30 Juri Linkov <juri@jurta.org>
10374
10375 * dired-aux.el (dired-touch-initial): Remove function.
10376 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10377 current time, and `default' to the last modification time of the
10378 current marked file (bug#6887).
10379
a514d856
JM
103802011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10381
10382 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10383 numeric argument to read-number (bug#9163).
a514d856 10384
8a7eddd7
MA
103852011-07-27 Michael Albinus <michael.albinus@gmx.de>
10386
10387 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10388 connection process, it could be nil.
10389
1ddd96f5
LL
103902011-07-27 Leo Liu <sdl.web@gmail.com>
10391
10392 Simplify url handling in rcirc-mode.
10393
10394 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10395 (rcirc-browse-url-at-mouse): Remove.
10396 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10397
b248a85d
AM
103982011-07-26 Alan Mackenzie <acm@muc.de>
10399
10400 Fontify bitfield declarations properly.
10401
10402 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10403 (c-symbol-chars): Now exported as a lang variable.
10404 (c-not-primitive-type-keywords): New lang variable.
10405
10406 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10407 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10408 parsed as a bitfield declaration.
b248a85d 10409
b796c9b7
SM
10410 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10411 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10412 (c-punctuation-in): New function.
10413 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10414 declarations properly.
10415
68575ab0
UJ
104162011-07-26 Ulf Jasper <ulf.jasper@web.de>
10417
10418 * calendar/icalendar.el (icalendar--all-events): Take care of
10419 multiple vcalendars in a single file.
b796c9b7 10420 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10421
0f0a88b9
DD
104222011-07-25 Deniz Dogan <deniz@dogan.se>
10423
10424 * image.el (insert-image): Clarifying docstring.
10425
0b3f36df
MA
104262011-07-24 Michael Albinus <michael.albinus@gmx.de>
10427
10428 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10429 `tramp-send-command-and-check' if there is no error.
10430 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10431
a9901f61
AM
104322011-07-22 Alan Mackenzie <acm@muc.de>
10433
10434 Prevent cc-langs.elc being loaded at run time.
10435
10436 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10437 cc-langs.
10438
4d61f28d 10439 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10440 "(require 'cc-langs)". Quote a form so it will evaluate at
10441 (cc-mode's) compilation time.
10442
11d074b2
MA
104432011-07-22 Michael Albinus <michael.albinus@gmx.de>
10444
10445 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10446 loading. (Bug#9114)
10447
938b94c8
MR
104482011-07-21 Martin Rudalics <rudalics@gmx.at>
10449
10450 * window.el (display-buffer-pop-up-window)
10451 (display-buffer-pop-up-side-window)
10452 (display-buffer-in-side-window): Call display-buffer-set-height
10453 and display-buffer-set-width after setting the new window's
b796c9b7 10454 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10455
bfa4f190
SS
104562011-07-20 Sam Steingold <sds@gnu.org>
10457
10458 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10459 (etags-tags-included-tables): Call `convert-standard-filename' on
10460 the file names contained in TAGS so that windows Emacs can handle
10461 TAGS files created by cygwin ctags.
10462
8ca42262
LMI
104632011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10464
10465 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10466 which apparently didn't work.
10467
5db2afd2 104682011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10469
5db2afd2
RW
10470 * proced.el (proced-send-signal): For *Marked Processes* buffer
10471 put point at beginning of buffer.
10472
92e15d10
SB
104732011-07-19 Stephen Berman <stephen.berman@gmx.net>
10474
10475 * proced.el (proced-format): Make header lines align with the text
10476 (bug#1779).
10477
1bfd59e5
LMI
104782011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10479
10480 * view.el (view-buffer): Allow running in `special' modes if we're
10481 visiting a file (bug#8615).
10482
f5aae37c
MR
104832011-07-19 Martin Rudalics <rudalics@gmx.at>
10484
10485 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10486 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10487 New functions.
f5aae37c
MR
10488 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10489 more accurately.
10490
bf2c1571
AM
104912011-07-18 Alan Mackenzie <acm@muc.de>
10492
10493 Fontify declarators properly when, e.g., a jit-lock chunk begins
10494 inside a declaration.
10495
10496 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10497
b796c9b7
SM
10498 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10499 New function.
bf2c1571
AM
10500 (c-complex-decl-matchers): Insert reference to
10501 c-font-lock-enclosing-decls.
10502
10503 * progmodes/cc-engine.el (c-backward-single-comment):
10504 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10505 to nil around calls to (forward-comment -1).
10506
4e190b80
LMI
105072011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10508
12dc863d
LMI
10509 * image.el (put-image): Doc typo fix.
10510
a762e966
LMI
10511 * progmodes/etags.el (tags-search): Doc typo fix.
10512
4e190b80
LMI
10513 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10514 password if we get errors 550 to 554.
10515
f019fb21
LMI
105162011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10517
b796c9b7 10518 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10519
81746738
LMI
10520 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10521 indentation character (bug#6380).
10522
3ee3a1b5
LMI
10523 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10524
c82f64de
LMI
10525 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10526 to clarify what the problem is (bug#4291).
10527
f019fb21
LMI
10528 * simple.el (current-kill): Clarify what
10529 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10530 (auto-fill-mode): Document `auto-fill-function' in relation to
10531 `auto-fill-mode' (bug#2470).
f019fb21 10532
0794775d
LM
105332011-07-16 Lawrence Mitchell <wence@gmx.li>
10534
10535 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10536 method if slot is read-only (bug#9035).
10537
be39b8cc
MR
105382011-07-16 Martin Rudalics <rudalics@gmx.at>
10539
b796c9b7 10540 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10541 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10542 selected before, see discussion of (Bug#8615), (Bug#6954).
10543 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10544
6ccf7859
GM
105452011-07-15 Glenn Morris <rgm@gnu.org>
10546
10547 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10548 Respect help-form.
6ccf7859 10549
87e86684
LM
105502011-07-09 Lawrence Mitchell <wence@gmx.li>
10551
10552 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10553 (gnutls-negotiate): Use it.
10554
d6066239
LMI
105552011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10556
b796c9b7
SM
10557 * net/gnutls.el (gnutls-negotiate):
10558 Upcase `gnutls-algorithm-priority'.
d6066239 10559
bd23ebc0
GM
105602011-07-15 Glenn Morris <rgm@gnu.org>
10561
c65bca65
GM
10562 * jka-compr.el (jka-compr-verbose): Move from here...
10563 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10564 Add missing :version tag.
10565 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10566
478615cc
LMI
105672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10568
7b41decb
LMI
10569 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10570 (gnutls-negotiate): Use it.
10571
dbc44fcd
LMI
10572 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10573
06789f97
LMI
10574 * info.el (Info-beginning-of-buffer): New command.
10575 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10576 announcing `b' as the key (bug#8325).
ab896c37 10577 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10578
c39da690
LMI
10579 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10580
3aa5f34b
LMI
10581 * international/mule-cmds.el
10582 (describe-specified-language-support): Make the error message
10583 clearer (bug#8905).
10584
4bf0979f
LMI
10585 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10586
478615cc
LMI
10587 * isearch.el (isearch-barrier): Add a doc string, since it's
10588 mentioned in a function doc string (bug#8678).
10589
75c68aa1
MR
105902011-07-15 Martin Rudalics <rudalics@gmx.at>
10591
10592 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10593 buffer argument (Bug#9083) and self-identifying label argument.
10594
a7c33da2
GM
105952011-07-15 Glenn Morris <rgm@gnu.org>
10596
10597 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10598
2f5c6024
LMI
105992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10600
10601 * man.el (Man-fontify-manpage): Fix message when formatting the
10602 man page (bug#7929).
10603
0bb23927 106042011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10605
10606 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10607 argument LRM; if non-nil, append an invisible LRM character to the
10608 buffer name.
10609 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10610 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10611 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10612 paragraph direction.
cce4b0a7 10613
621ef9ab
LMI
106142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615
d1583c48
LMI
10616 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10617 the man page name (bug#7929).
10618
6a57fb5f
LMI
10619 * image.el (put-image): Mention the `put-image' overlay property
10620 (bug#7834).
10621
d7956b14
LMI
10622 * scroll-bar.el (set-scroll-bar-mode): Mention that
10623 `scroll-bar-mode' lists the values (bug#7772).
10624
5b2d4a66
LMI
10625 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10626 command (bug#7729).
10627
7509a874
LMI
10628 * rect.el (apply-on-rectangle): Return the point after the last
10629 operation.
10630 (string-rectangle): Go to the point after the last operation
10631 (bug#7522).
10632
4fe74b19
LMI
10633 * printing.el (pr-toggle-region): Clarify the documentation
10634 slightly (bug#7493).
10635
b796c9b7
SM
10636 * time.el (display-time-update):
10637 Allow `display-time-mail-function' to return nil (bug#7158).
10638 Fix suggested by Detlev Zundel.
ab283561 10639
fc233c9d
LMI
10640 * vc/diff.el (diff): Clarify the order the file names are read
10641 (bug#7111).
10642
43f5740b
LMI
10643 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10644 the doc string (bug#7015).
10645
f2182a76
LMI
10646 * font-lock.el (font-lock-maximum-decoration): Mention what
10647 numeric levels mean (bug#6935).
10648
621ef9ab
LMI
10649 * startup.el (initial-buffer-choice): Don't mention the `none'
10650 selection, which is against policy.
10651
adc47434
MR
106522011-07-14 Martin Rudalics <rudalics@gmx.at>
10653
b796c9b7
SM
10654 * window.el (display-buffer-normalize-special):
10655 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10656
7e5bfb8f
EZ
106572011-07-14 Eli Zaretskii <eliz@gnu.org>
10658
10659 * subr.el (version<, version<=, version=): Mention "-CVS" and
10660 "-12345" alpha version numbers.
10661
27fa387a
CY
106622011-07-14 Chong Yidong <cyd@stupidchicken.com>
10663
10664 * bindings.el: Add advertised binding for set-mark-command
10665 (Bug#5772).
10666
8bdfa064
CY
106672011-07-14 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * bindings.el (mode-line-other-buffer):
10670 * bookmark.el (bookmark-bmenu-2-window):
10671 * bs.el (bs-cycle-next, bs-cycle-previous):
10672 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10673 switch-to-buffer.
10674
10675 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10676 Delete.
8bdfa064 10677
5eba16a3
JB
106782011-07-14 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * follow.el (follow-debug-message, follow-redisplay):
10681 * jka-cmpr-hook.el (with-auto-compression-mode):
10682 Fix typos in docstrings.
10683
15853710
LMI
106842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10685
a28e4607
LMI
10686 * subr.el (with-silent-modifications): Clarify somewhat what the
10687 macro inhibits (bug#6525).
10688
15853710
LMI
10689 * simple.el (eval-expression): Note what it does if called
10690 interactively (bug#6495).
10691
bee0fcef
CY
106922011-07-13 Chong Yidong <cyd@stupidchicken.com>
10693
b796c9b7
SM
10694 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10695 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10696
10697 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10698 Remove switch-to-buffer.
10699
58274504
LMI
107002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10701
bd2fcc8d
LMI
10702 * files.el (make-directory): Clarify that an error will be raised
10703 if there's an error (bug#6397).
10704
0f04b32c
LMI
10705 * startup.el (initial-buffer-choice): Add `none' as a choice
10706 (bug#6234).
10707
465c5fc8
LMI
10708 * subr.el (add-hook): Clarify section about buffer-local hooks
10709 (bug#6218).
10710
58274504
LMI
10711 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10712
bead9a43
JB
107132011-07-13 Juanma Barranquero <lekktu@gmail.com>
10714
10715 * tabify.el (untabify): Preserve the current column so that point
10716 doesn't move (bug#6032).
10717
3af98a7b
LMI
107182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
b796c9b7
SM
10720 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10721 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10722
6240145a
GM
107232011-07-13 Glenn Morris <rgm@gnu.org>
10724
10725 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10726 (dired-insert-directory): Give a message the first time
10727 if ls is found not to support --dired.
10728
1d8c2ccc
LMI
107292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10730
10731 * simple.el (toggle-truncate-lines): Clarify what is toggled
10732 (bug#5580). Text by Drew Adams.
10733
5fc4038e
CY
107342011-07-13 Chong Yidong <cyd@stupidchicken.com>
10735
10736 * simple.el (blink-matching-open): Make the error message from the
10737 last change less verbose.
10738
bf6012e5
DN
107392011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10740
10741 * font-lock.el (font-lock-comment-face): Use the high contrast
10742 "yellow" color for font-lock-comment-face on low color terminals
10743 using a dark background color (bug#4221).
10744
343c3b5a
LMI
107452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10746
7e9505c5
LMI
10747 * dired.el (dired-insert-set-properties): Make the doc string
10748 reflect what it does now (bug#5325).
10749
c26fdcf5
LMI
10750 * simple.el (blink-matching-open): Say that we were unable to find
10751 the match within the limit, if we're limited (bug#5122).
10752
bb388cc5
LMI
10753 * international/mule-cmds.el (prefer-coding-system): Add an
10754 example (bug#4869).
10755
343c3b5a
LMI
10756 * progmodes/etags.el (tags-search): Document `file-list-form'
10757 (bug#4731).
10758
2a517d45
LM
107592011-07-13 Lawrence Mitchell <wence@gmx.li>
10760
10761 * net/browse-url.el (browse-url-default-browser)
10762 (browse-url-browser-function): Make the default browser choice a
10763 bit more logical (bug#4300). Also clean up the doc string.
10764
b6c78ef2
JB
107652011-07-13 Juanma Barranquero <lekktu@gmail.com>
10766
10767 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10768 binary endings (bug#4440).
10769
1c4dd947
LMI
107702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10771
a2014063
LMI
10772 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10773 which can be pretty annoying (bug#8971).
10774
9c9c2d88
LMI
10775 * jka-compr.el (jka-compr-verbose): New variable, and use
10776 throughout (bug#8971).
10777
1c4dd947
LMI
10778 * info.el (Info-find-file): Fall back on the installation
10779 directory if we can't find the info node anywhere else.
10780
a1c9f41b
SO
107812011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10782
10783 * vc/vc.el (vc-revert-file):
10784 Don't set file time-stamp in the past. (Bug#5181)
10785
536f3d36
LMI
107862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10787
7152b011
LMI
10788 * files.el (after-find-file): Give a better error message when
10789 trying to find a symlink that points to a file that doesn't exist
10790 (bug#4398).
10791
536f3d36
LMI
10792 * progmodes/cc-vars.el: Remove (probably) misleading comment
10793 (bug#4396).
10794
460c0fba
JB
107952011-07-12 Johan Bockgård <bojohan@gnu.org>
10796
10797 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10798
7a6bda45
CY
107992011-07-12 Chong Yidong <cyd@stupidchicken.com>
10800
10801 * mouse-sel.el: Hack restoring functionality, while keeping
10802 compatibility with 2010-07-03 changes to mouse selection.
10803 (mouse-sel-primary-overlay): New var.
10804 (mouse-sel-selection-alist): Use it.
10805 (mouse-sel-mode): Doc fix; remove points that are default features
10806 of mouse.el.
10807
c79598ef
JB
108082011-07-12 Johan Bockgård <bojohan@gnu.org>
10809
10810 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10811 Fix previous fix (bug#2490).
10812
ff8be6ef
RW
108132011-07-12 Roland Winkler <winkler@gnu.org>
10814
b796c9b7
SM
10815 * textmodes/bibtex.el (bibtex-initialize):
10816 Use pop-to-buffer-same-window.
ff8be6ef
RW
10817 (bibtex-search-entries): Fix interactive call.
10818
296ba3ee
LMI
108192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10820
f5242a02 10821 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10822 Fontise bytecomp Error lines more correctly (bug#2490).
10823 Fix suggested by Johan Bockgård.
f5242a02 10824
296ba3ee
LMI
10825 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10826
10827 * dired-x.el (dired-guess-default): Use `delete-dups'.
10828
f69fd0d2
CY
108292011-07-12 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * dired.el (dired-mark-prompt):
10832 * dired-aux.el (dired-read-shell-command): Doc fix.
10833
eab5dc07
LMI
108342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10835
b796c9b7
SM
10836 * mail/sendmail.el (sendmail-query-once):
10837 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10838 emacs -Q.
10839
10840 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10841
eab5dc07
LMI
10842 * cus-edit.el (custom-file): Take an optional no-error variable.
10843 (customize-save-variable): Set the variable, and give a warning if
10844 running under "emacs -q".
10845
a1e65d42
JB
108462011-07-11 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * loadhist.el (unload-feature-special-hooks):
10849 Add `auto-coding-functions', `fill-nobreak-predicate' and
10850 `find-directory-functions' (bug#5327).
10851
1d52da10
LMI
108522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10853
be958f1d
LMI
10854 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10855
5bedb26c
LMI
10856 * cus-edit.el (custom-guess-name-alist): -alist variables should
10857 use the `alist' type (bug#3120). Suggested by Drew Adams.
10858
1d52da10
LMI
10859 * printing.el: Add documentation to all the `pr-toggle-' commands.
10860
cd394be1 108612011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10862
10863 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10864 backends where it makes sense (bug#2623).
10865
dcc88d8a
LMI
108662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10867
c3de9feb
LMI
10868 * dired-x.el (dired-guess-default): Remove duplicate shell command
10869 entries (bug#2028).
8a93078b 10870 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10871 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10872
dcc88d8a
LMI
10873 * subr.el (remove-duplicates): New conveniency function.
10874
505e3645
LMI
108752011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10876
10877 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10878 (bug#1526).
10879
108802011-07-10 Martin Rudalics <rudalics@gmx.at>
10881
10882 * window.el (display-buffer-normalize-default): Don't invert
10883 meaning of even-window-heights. Reported by Eli Zaretskii
10884 <eliz@gnu.org>.
10885
455e4fa1
BR
108862011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10887
10888 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10889
8e0bc3e9
CY
108902011-07-10 Chong Yidong <cyd@stupidchicken.com>
10891
10892 * window.el (display-buffer): Fix arguments to
10893 display-buffer-reuse-window in last change.
10894
fa7c3228
CY
10895 * faces.el (link): Use a less saturated blue on light backgrounds.
10896
10897 * startup.el (fancy-startup-text, fancy-about-text)
10898 (fancy-startup-tail): Use font-lock faces, for background safety.
10899
c0a7f300
BN
109002011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10901
b796c9b7
SM
10902 * emulation/viper-cmd.el (viper-change-state-to-vi):
10903 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10904
4dc2a129
MR
109052011-07-09 Martin Rudalics <rudalics@gmx.at>
10906
10907 * window.el (display-buffer-default-specifiers): Remove.
10908 (display-buffer-macro-specifiers): Remove default specifiers.
10909 (display-buffer-alist): Default to nil.
b796c9b7 10910 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10911 (display-buffer-pop-up-window): Allow splitting internal
10912 windows. Check whether a live window was created.
10913 (display-buffer-other-window-means-other-frame)
10914 (display-buffer-normalize-arguments): Rename to
10915 display-buffer-normalize-argument and rewrite. Set the
10916 other-window specifier.
10917 (display-buffer-normalize-special): New function.
10918 (display-buffer-normalize-options): Rename to
10919 display-buffer-normalize-default and rewrite.
10920 (display-buffer-normalize-options-inhibit): Remove.
10921 (display-buffer-normalize-specifiers): Rewrite.
10922 (display-buffer): Process other-window specifier and call
10923 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10924 more faithfully.
b796c9b7 10925 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10926 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10927 (display-buffer-in-window, display-buffer-alist-set):
10928 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10929 <tassilo@member.fsf.org>.
10930
2d43b8c9
LL
109312011-07-09 Leo Liu <sdl.web@gmail.com>
10932
10933 * register.el (insert-register): Restore accidental change on
10934 2011-06-26. (Bug#9028)
10935
7f9b7c53
GM
109362011-07-09 Glenn Morris <rgm@gnu.org>
10937
10938 * subr.el (remq): Handle the empty list. (Bug#9024)
10939
f042cfd8
AS
109402011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10941
10942 * mail/sendmail.el (send-mail-function): No longer delay custom
10943 initialization.
10944 * custom.el (custom-initialize-delay): Doc fix.
10945
856b2f11
SM
109462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10949
afae1d68
MA
109502011-07-08 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10953 human-friendly prompt.
10954
0757af94
SM
109552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10958 provided by a particular plugin.
10959
d760b731
LMI
109602011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10961
10962 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10963 save customizations (with "emacs -Q"), just set the variable
10964 instead of erroring out.
10965
10966 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10967
cd79ce90
JL
109682011-07-08 Juri Linkov <juri@jurta.org>
10969
10970 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10971 (archive-zip-update-case): Use 7z if found by `executable-find'.
10972 The order of searching the available programs is the same as in
10973 `archive-zip-extract' (bug#8968).
10974
14cc04aa
CY
109752011-07-07 Chong Yidong <cyd@stupidchicken.com>
10976
10977 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10978 (menu-bar-options-menu): Tweak descriptions.
10979
0a1848ec
LMI
109802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10981
10982 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10983 menu items into verb phrases (bug#1421). Also refill to fit under
10984 80 columns.
10985
f5bd0689
CY
109862011-07-07 Chong Yidong <cyd@stupidchicken.com>
10987
538e85c6
CY
10988 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10989 (Info-read-node-name): Doc fix (Bug#1084).
10990
f5bd0689
CY
10991 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10992 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10993 (end-of-sexp, beginning-of-sexp)
10994 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10995 (forward-symbol, forward-same-syntax, word-at-point)
10996 (sentence-at-point): Doc fix (Bug#1144).
10997
56ec5115
LMI
109982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10999
f3f8e37f
LMI
11000 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11001 should cover it (bug#1281).
11002
0757af94 11003 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11004
e9fce1ac 11005 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11006 negotiation fails, then possibly try again with a non-encrypted
11007 connection (bug#9017).
11008
56ec5115
LMI
11009 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11010 be used.
11011
c2f9aec8
RS
110122011-07-07 Richard Stallman <rms@gnu.org>
11013
11014 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11015 property, and handle its changed format.
11016 Look for the correct line number.
11017 Use file's line contents (but not past first =) to find
11018 correct line in message.
11019
ef7b981d 110202011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11021
11022 * international/characters.el (build-unicode-category-table):
11023 Delete it.
0757af94 11024 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11025
0757af94 11026 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11027 to src/chartab.c.
11028 (get-char-code-property): Call unicode-property-table-internal to
11029 load a file. Call get-unicode-property-internal where necessary.
11030 (put-char-code-property): Call unicode-property-table-internal to
11031 load a file. Call put-unicode-property-internal where necessary.
11032 put-unicode-property-internal where necessary.
0757af94
SM
11033 (char-code-property-description):
11034 Call unicode-property-table-internal to load a file.
c805dec0
KH
11035
11036 * international/charprop.el:
11037 * international/uni-bidi.el:
11038 * international/uni-category.el:
11039 * international/uni-combining.el:
11040 * international/uni-comment.el:
11041 * international/uni-decimal.el:
11042 * international/uni-decomposition.el:
11043 * international/uni-digit.el:
11044 * international/uni-lowercase.el:
11045 * international/uni-mirrored.el:
11046 * international/uni-name.el:
11047 * international/uni-numeric.el:
11048 * international/uni-old-name.el:
11049 * international/uni-titlecase.el:
11050 * international/uni-uppercase.el: Regenerate.
11051
11052 * loadup.el: Load international/charprop.el before
11053 international/characters.
11054
e14b388a
CY
110552011-07-07 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * window.el (next-buffer, previous-buffer): Signal an error if
11058 called from a minibuffer window.
11059
11060 * bindings.el: Revert 2011-07-04 change.
11061
354cf0ba
RS
110622011-07-06 Richard Stallman <rms@gnu.org>
11063
11064 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11065 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11066 Treat markers like ints.
11067 (rmail-mime-entity): Doc fix.
11068
a48868a7
LMI
110692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11070
4906cd3d
LMI
11071 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11072 defcustom again for backwards compatibility.
11073
e0457abe
LMI
11074 * simple.el (shell-command-on-region): Fill.
11075
d67f7e1f
LMI
11076 * dired-aux.el (dired-kill-line): Add a doc string.
11077
fe204702
LMI
11078 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11079 to "\\sw\\|\\s_" (bug#358).
11080
a48868a7
LMI
11081 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11082 (dired-unmark-backward): Ditto.
11083 (dired-flag-backup-files): Ditto.
11084
11085 * dired-x.el (dired-mark-sexp): Ditto.
11086
aa8a705c
RS
110872011-07-06 Richard Stallman <rms@gnu.org>
11088
11089 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11090 (rmail-mime-entity): New arg TRUNCATED.
11091 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11092 New functions.
11093 (rmail-mime-save): Warn if entity is truncated.
11094 (rmail-mime-toggle-hidden): Likewise, for showing.
11095 (rmail-mime-process-multipart): Record when an entity is truncated.
11096
a9a936b9
RS
11097 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11098 if ENTITY is a string.
11099
1f2b92cb
LMI
111002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11101
f4f73198 11102 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11103 of faces when `M-C-x'-ing their definitions (bug#8378).
11104 Also clean up the code slightly.
f4f73198 11105
12b16734 11106 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11107 because that makes the colors go away.
12b16734 11108
f0691d22
LMI
11109 * mail/sendmail.el (send-mail-function): Change the default to
11110 `sendmail-query-once'.
9e87df06 11111 (sendmail-query-once): Add an autoload cookie.
f0691d22 11112
1f2b92cb
LMI
11113 * net/network-stream.el (network-stream-open-starttls): Try using
11114 a plain connection even if the server offered STARTTLS, and we
11115 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11116 capability. This should make smtpmail.el work in slightly more
11117 configurations.
11118
1cdd2a1b
MA
111192011-07-06 Michael Albinus <michael.albinus@gmx.de>
11120
11121 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11122 New defun.
11123 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11124
fbcc67e2
MM
111252011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11126
11127 * progmodes/sql.el: Version 3.0
0757af94 11128 (sql-product-alist): Add product :completion-object,
fbcc67e2 11129 :completion-column, and :statement attributes.
0757af94 11130 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11131 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11132 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11133 ansi keywords.
11134 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11135 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11136 (sql-oracle-show-reserved-words): New function for development.
11137 (sql-product-font-lock): Simplify for source code buffers.
11138 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11139 New functions.
11140 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11141 (sql-mode-map): Add statement movement functions.
11142 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11143 New variable.
fbcc67e2
MM
11144 (sql-statement-regexp, sql-beginning-of-statement)
11145 (sql-end-of-statement, sql-signum): New functions.
0757af94 11146 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11147 (sql-show-sqli-buffer): Bug fix.
11148 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11149 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11150 with sql-interactive-mode.
11151 (sql-save-connection): Save buffer local settings.
0757af94 11152 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11153 (sql-product-interactive): Bug fix.
11154 (sql-preoutput-hold): New variable.
11155 (sql-interactive-remove-continuation-prompt): Bug fixes.
11156 (sql-debug-redirect): New variable.
11157 (sql-str-literal): New function.
11158 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11159 Redesign.
fbcc67e2
MM
11160 (sql-oracle-save-settings, sql-oracle-restore-settings)
11161 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11162 (sql-completion-object, sql-completion-column)
11163 (sql-completion-sqlbuf): New variables.
11164 (sql-build-completions-1, sql-build-completions)
11165 (sql-try-completion): New functions.
11166 (sql-read-table-name): Use them.
11167 (sql-contains-names): New buffer local variable.
11168 (sql-list-all, sql-list-table): Use it.
11169 (sql-oracle-completion-types): New variable.
11170 (sql-oracle-completion-object, sql-sqlite-completion-object)
11171 (sql-postgres-completion-object): New functions.
11172
d4eaeab1
GM
111732011-07-06 Glenn Morris <rgm@gnu.org>
11174
11175 * window.el (pop-to-buffer): Doc fix.
11176
322b7dab 111772011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11178
11179 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11180
322b7dab 111812011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11182
322b7dab 11183 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11184
322b7dab 11185 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11186
605dd5bf
CY
111872011-07-05 Chong Yidong <cyd@stupidchicken.com>
11188
11189 * button.el (button): Inherit from link face. Suggested by Dan
11190 Nicolaescu.
11191
7dbfa719
SM
111922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11193
3db614b0
SM
11194 * progmodes/gdb-mi.el: Fit in 80 columns.
11195 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11196 switch-to-buffer.
11197
7dbfa719
SM
11198 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11199 if imenu is simply not configured (bug#8941).
11200
919d884a
KM
112012011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11202
11203 * allout.el (allout-post-undo-hook): New allout outline-change
11204 event hook to signal undo activity.
11205 (allout-post-command-business): Run allout-post-undo-hook if an
11206 undo just occurred.
7dbfa719
SM
11207 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11208 * allout-widgets.el (allout-widgets-after-undo-function):
11209 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11210 in the vicinity of an undo.
11211 (allout-widgets-mode): Include allout-widgets-after-undo-function
11212 on the new allout-post-undo-hook.
11213
450a0f09
SM
112142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11217 Let define-derived-mode define it.
11218 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11219 cycles of abbrev-table inheritance (bug#8998).
11220
2de69e00
RW
112212011-07-05 Roland Winkler <winkler@gnu.org>
11222
11223 * textmodes/bibtex.el: Add support for biblatex.
11224 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11225 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11226 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11227 (bibtex-entry-alist, bibtex-field-alist): New variables.
11228 (bibtex-entry-field-alist): Obsolete alias for
11229 bibtex-BibTeX-entry-alist.
11230 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11231 (bibtex-set-dialect): New command.
11232 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11233 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11234 Bind via bibtex-set-dialect.
2de69e00
RW
11235 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11236 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11237 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11238 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11239 Define via bibtex-set-dialect.
450a0f09
SM
11240 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11241 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11242 (bibtex-vec-push, bibtex-vec-incr): New functions.
11243 (bibtex-format-entry, bibtex-field-list)
11244 (bibtex-print-help-message, bibtex-validate)
11245 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11246
2dcdbdd9
SM
112472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * progmodes/compile.el (compilation-goto-locus):
11250 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11251 * bs.el (bs-cycle-next, bs-cycle-previous):
11252 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11253 * bindings.el (mode-line-other-buffer):
11254 * autoinsert.el (auto-insert):
11255 * arc-mode.el (archive-extract):
11256 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11257
b27640fe
JB
112582011-07-05 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11261 Fix check of `emacs-lock-unlockable-modes'.
11262 Coerce true values of `emacs-lock--try-unlocking' to t.
11263
53bbe3ad
JB
112642011-07-05 Juanma Barranquero <lekktu@gmail.com>
11265
11266 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11267 * emacs-lock.el: New file.
11268
1d3cdbc7
JD
112692011-07-05 Julien Danjou <julien@danjou.info>
11270
11271 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11272 than `boundp' to check if face is set.
11273
9173deec
JB
112742011-07-05 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * register.el (registerv-make):
11277 * window.el (window-min-height): Fix typos in docstrings.
11278
869795d6
JD
112792011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11280
9173deec 11281 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11282 Update doc string.
11283
b768cdcd
JB
112842011-07-04 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * server.el (server-execute): Catch quit and call
11287 `server-return-error' to pass the error back to emacsclient and
11288 close the connection (bug#8942).
11289
13aa217b
KM
112902011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11291
11292 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11293 insecure exception for current topic. Also note that auto-saves
11294 are handled differently.
11295
5d3385a0 11296 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11297 State variables for tracking auto-save inhibition situation.
11298
11299 (allout-write-contents-hook-handler): Rename from
11300 'allout-write-file-hook-handler', and describe how it depends on
11301 write-contents-functions sensitivity to non-nil value to prevent
11302 file write.
11303
11304 (allout-auto-save-hook-handler): Remove. auto-save does not check
11305 this in individual buffers, only in the starting buffer, so this
11306 is not the right way for us to inhibit auto-save in a buffer
11307 according to its condition.
11308
11309 (allout-mode): Use new allout-write-contents-hook-handler, and
11310 only with write-contents-functions. Remove auto-save provisions -
11311 they're implemented elsewhere.
11312
11313 (allout-before-change-handler): If undo is in progress, note that
11314 for attention of allout-post-command-business.
11315
11316 (allout-post-command-business): If the command we're following was
11317 an undo, check for change in the status of encrypted items and
11318 adjust auto-save inhibitions accordingly.
11319
11320 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11321 according to whether there are or aren't any plain-text topics
11322 pending encryption.
11323
2dcdbdd9 11324 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11325 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11326 if there are plain-text topics pending encryption.
13aa217b
KM
11327
11328 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11329 buffer-saved-size and some allout state to not inhibit auto-saves
11330 if there are no longer any plain-text topics pending encryption.
11331
0757af94
SM
11332 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11333 No longer provide for exemption of the current topic.
13aa217b 11334
ac89b32c
JL
113352011-07-04 Juri Linkov <juri@jurta.org>
11336
11337 Add 7z operations to delete and save changed members (bug#8968).
11338 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11339 New defcustoms.
11340 (archive-7z-write-file-member): New function.
11341 (archive-7z-summarize): Fix the number of dashes in the
11342 listing output.
11343
8fa39615
SM
113442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11347 (bug#8958).
11348
2f11b3f1
CY
113492011-07-04 Chong Yidong <cyd@stupidchicken.com>
11350
d66fef2b
CY
11351 * bindings.el: Ignore next-buffer and previous-buffer in
11352 minibuffer-local-map.
11353
2f11b3f1
CY
11354 * font-lock.el (font-lock-builtin-face): Change light background
11355 color to dark slate blue (Bug#6693).
11356
f932a347
WD
113572011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11358
11359 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11360
c8af70e1
SM
113612011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11364 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11365 Add switch-to-buffer.
11366
f158badc
LMI
113672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11368
11369 * isearch.el (isearch-search-fun-function): Clarify further the
11370 meaning of the function returned.
11371
6d95bd46
MA
113722011-07-04 Michael Albinus <michael.albinus@gmx.de>
11373
11374 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11375
11376 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11377 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11378 Use it.
11379 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11380 `tramp-default-remote-path' does not exist.
11381 (tramp-send-command-and-read): New optional argument NOERROR.
11382 (tramp-open-connection-setup-interactive-shell)
11383 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11384 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11385 (tramp-process-sentinel): Flush also process' connection property.
11386 (tramp-sh-handle-start-file-process): Do not set process
11387 sentinel. It is done now ...
11388 (tramp-maybe-open-connection): ... here. (Bug#8929)
11389
909e6b67
MK
113902011-07-04 MON KEY <monkey@sandpframing.com>
11391
11392 * play/animate.el (animate-string): Doc fixes and allow changing
11393 the buffer name (bug#5417).
11394
113952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11396
c8af70e1 11397 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11398
f34755dc
PE
113992011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11400
396cec72
PE
11401 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11402 This is simpler and helps future-proof the code.
11403 (timer-until): Use time-subtract and float-time.
08235028 11404 (timer--time-less-p): Use time-less-p.
f34755dc 11405
56e6cc31
JB
114062011-07-04 Juanma Barranquero <lekktu@gmail.com>
11407
3abb79e5
JB
11408 * type-break.el (timep): Use the value of `float-time' to avoid a
11409 byte-compiler warning.
11410
56e6cc31
JB
11411 * server.el (server-eval-and-print): Return any result, even nil.
11412
7b9430b4
PE
114132011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11414
11415 * type-break.el: Accept time formats that the builtins accept.
11416 (timep, type-break-time-difference): Accept any format that
11417 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11418 This is simpler and helps future-proof the code.
11419 (type-break-time-difference): Round rather than ignoring
11420 subseconds components.
11421
3034e9e7
LMI
114222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * info.el (Info-apropos-matches): Make non-interactive, since it
11425 doesn't seem to do anything useful as a command (bug#8829).
11426
1485f4c0
CY
114272011-07-03 Chong Yidong <cyd@stupidchicken.com>
11428
11429 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11430 Move from faces.el.
1485f4c0
CY
11431 (frame-default-terminal-background): New function.
11432
11433 * custom.el (custom-push-theme): Don't record faces in `changed'
11434 theme; this doesn't work correctly for per-frame face settings.
11435 (disable-theme): Use face-set-after-frame-default to reset faces.
11436 (custom--frame-color-default): New function.
11437
9fa3dd45
LMI
114382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11439
c8af70e1 11440 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11441 (bug#8769).
11442
6cbbc20c
KR
114432011-03-29 Kevin Ryde <user42@zip.com.au>
11444
11445 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11446 `perl-Test2' extend to match possible "fail #N" rep count
11447 (bug#8377).
11448
c7f98048
LMI
114492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11450
65676592
LMI
11451 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11452 `smtpmail-via-smtp' now returns the error instead of nil.
11453
c7f98048
LMI
11454 * isearch.el (isearch-search-fun-function): Clarify the doc string
11455 (bug#8101).
11456
56e6cc31 114572011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11458
11459 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11460 unnecessary spaces (bug#8987).
11461
2b216704
LMI
114622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11463
11464 * net/network-stream.el (open-network-stream): Use the
11465 :end-of-capability command thoughout.
11466
114672011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11468
11469 * net/network-stream.el (open-network-stream): Add the
11470 :end-of-capability command parameter, used by pop3.el.
11471
36adf6ce
LMI
114722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11473
1ca0da0e
LMI
11474 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11475
fc00f69c
LMI
11476 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11477 for list)" (bug#6475).
11478
28fd8759 11479 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11480 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11481 an error (bug#6297).
11482
0dd8b6da
LMI
11483 * man.el (Man-reference-regexp): Allow matching possible
11484 word-wrapped references (bug#6289).
11485
ce1438d6
LMI
11486 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11487 for consistency with the other vc buffers (bug#6197).
11488 (vc-checkin): Ditto.
11489
11490 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11491
36adf6ce
LMI
11492 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11493
e83cc1f7
LMI
114942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11495
8a20ca4c
LMI
11496 * custom.el (defcustom): Clarify that :set is only used in the
11497 Customize user interface (bug#6089).
11498
83319045
LMI
11499 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11500 associated with a file, refuse to run instead of erroring out
11501 (bug#6084).
11502
a8392169
LMI
11503 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11504 the doc string, since it appears that using `fill-column' always
11505 controls the width (bug#7845).
11506
e83cc1f7
LMI
11507 * simple.el (shell-command-on-region): Say where the error output
11508 went if `shell-command-default-error-buffer' is set (bug#6857).
11509
e47ca23b
KM
115102011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11511
11512 * allout.el (allout-yank-processing): Adjust cursor position for
11513 backwards-deleted space.
11514
11515 (allout-rebullet-heading): Register changes with
11516 allout-exposure-changed-hook, so the modified topic is properly
11517 decorated.
11518
5cf56143
LMI
115192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11520
08549772
LMI
11521 * minibuffer.el (completion-in-region): Document PREDICATE
11522 (bug#7136).
11523
48e96771
LMI
11524 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11525 of keyword/argument pairs (bug#6904).
11526
c8af70e1
SM
11527 * replace.el (multi-occur):
11528 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11529
e17d05e2
LMI
115302011-07-02 Drew Adams <drew.adams@oracle.com>
11531
11532 * dired.el (dired-mark-if): Make the message about whether it's
11533 marking or unmarking clearer (bug#8523).
11534
063b0e45
LMI
115352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11536
11537 * disp-table.el (display-table-print-array): New function.
11538 (describe-display-table): Use it to print the vectors more pretty
11539 (Bug#8859).
11540
28545e04
MR
115412011-07-02 Martin Rudalics <rudalics@gmx.at>
11542
11543 * window.el (window-state-get-1): Don't assign clone numbers.
11544 Add clone-of item to list of window parameters.
11545 (window-state-put-2): Don't process clone numbers.
11546 (display-buffer-alist): Fix doc-string.
11547
3349e122
SM
115482011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11549
11550 * subr.el (remq): Don't allocate if it's not needed.
11551 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11552 (keymap--merge-bindings): New functions.
11553 (keymap-canonicalize): Use them to refine the canonicalization.
11554 * minibuffer.el (minibuffer-local-completion-map)
11555 (minibuffer-local-must-match-map): Move initialization from C.
11556 (minibuffer-local-filename-completion-map): Move initialization from C;
11557 don't inherit from anything here.
11558 (minibuffer-local-filename-must-match-map): Make obsolete.
11559 (completing-read-default): Use make-composed-keymap to combine
11560 minibuffer-local-filename-completion-map with either
11561 minibuffer-local-must-match-map or
11562 minibuffer-local-filename-completion-map.
11563
d224ac83
GM
115642011-07-01 Glenn Morris <rgm@gnu.org>
11565
3de63bf8
GM
11566 * type-break.el (type-break-time-sum): Use dolist.
11567
d224ac83
GM
11568 * textmodes/flyspell.el (flyspell-word-search-backward):
11569 Replace CL function.
11570
1a1e3f32
SM
115712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11572
fe3f64d5
SM
11573 * mouse.el (mouse--strip-first-event): New function.
11574 (function-key-map): Use it to map fringe clicks to normal clicks
11575 by default.
11576
eb604e34
SM
11577 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11578 (vc-bzr-revision-completion-table): Add support for annotate and date.
11579
1a1e3f32
SM
11580 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11581 inherit from parent.
11582
5bd35902
LMI
115832011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11584
ace6c69c 11585 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11586 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11587
191e2bed
LMI
11588 * dired.el (dired-mode): Fix up the doc string as suggested by
11589 Drew Adams (bug#8817).
11590
5bd35902
LMI
11591 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11592 cookie, since the manual says that it should be possible to add
11593 this function to `find-file-hook' (bug#8709).
11594
eee8207a
TZ
115952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11596
11597 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11598 here. Noted Ted Zlatanov as the maintainer.
11599 (cfengine-common-settings, cfengine-common-syntax): New functions
11600 to set up common things between `cfengine-mode' and
11601 `cfengine3-mode'.
11602 (cfengine3-mode): New mode.
11603 (cfengine3-defuns cfengine3-defuns-regex
11604 (cfengine3-class-selector-regex cfengine3-category-regex)
11605 (cfengine3-vartypes cfengine3-font-lock-keywords)
11606 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11607 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11608
36b148cf
MA
116092011-07-01 Michael Albinus <michael.albinus@gmx.de>
11610
11611 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11612
11613 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11614
0bf4ba9a
MR
116152011-07-01 Martin Rudalics <rudalics@gmx.at>
11616
11617 * window.el (same-window-buffer-names, same-window-regexps)
11618 (same-window-p, special-display-frame-alist)
11619 (special-display-popup-frame, special-display-function)
11620 (special-display-buffer-names, special-display-regexps)
11621 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11622 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11623 (split-window-preferred-function, split-height-threshold)
11624 (split-width-threshold, even-window-heights)
11625 (display-buffer-mark-dedicated, window-splittable-p)
11626 (split-window-sensibly, window-safely-shrinkable-p):
11627 Un-obsolete.
11628 (display-buffer): Don't spread args with function specifier
11629 because special-display-popup-frame won't like it.
11630
35837f51
PE
116312011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11632
d0672f86
PE
11633 Time-stamp simplifications and fixes.
11634 These improve accuracy slightly, and future-proof the code
11635 against some potential changes to current-time format.
11636
b9444d97
PE
11637 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11638 by using time-since and float-time.
11639
0ef923dc
PE
11640 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11641 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11642 + NNN microseconds".
11643
2f81380d
PE
11644 * type-break.el (type-break-time-sum): Rewrite using time-add.
11645
845b5c3e
PE
11646 * play/hanoi.el (hanoi-current-time-float): Remove.
11647 All uses replaced by float-time.
11648
ee6f1be0
PE
11649 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11650 This yields a more-accurate answer.
11651 (rng-time-to-float): Remove; no longer needed.
11652
fe955043
PE
11653 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11654
5777162a
PE
11655 * calendar/timeclock.el (timeclock-seconds-to-time):
11656 Defalias to seconds-to-time, since they're the same thing.
11657
3103f8b6 11658 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11659 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11660 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11661
0e61a35f
SM
116622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * window.el (bury-buffer): Don't iconify the only frame.
11665 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11666 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11667
ddd63a1e
CY
116682011-07-01 Chong Yidong <cyd@stupidchicken.com>
11669
0e61a35f
SM
11670 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11671 Add mouse-yank-primary.
ddd63a1e 11672
055f4923
TZ
116732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11674
11675 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11676
6a2fb145
SM
116772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11680 (find-library-name): Use it to find relative load names when provided
11681 absolute file name (bug#8803).
11682
fd4983f2
LMI
116832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11684
887d14ad
LMI
11685 * textmodes/flyspell.el (flyspell-word): Consider words that
11686 differ only in case as potential doublons (bug#5687).
11687
c53dc7fc
LMI
11688 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11689 Remove two rather uninteresting debugging-like messages to make
11690 debbugs.el more silent.
11691
fd4983f2
LMI
11692 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11693 a password-like phrase.
11694
7a71b18d 116952011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11696
11697 * progmodes/cc-guess.el: New file.
11698
6a2fb145 11699 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11700
11701 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11702 derived from `c-basic-common-init'.
11703
11704 * progmodes/cc-mode.el (top-level): Require cc-guess.
11705 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11706
1fa280a3
LM
117072011-06-30 Lawrence Mitchell <wence@gmx.li>
11708
11709 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11710
e6597158
AM
117112011-06-30 Alan Mackenzie <acm@muc.de>
11712
1fa280a3
LM
11713 * progmodes/cc-engine.el (c-guess-continued-construct):
11714 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11715 lock is disabled. Name this case as "CASE G".
11716
68ba37fb
KM
117172011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11718
11719 * allout.el (allout-yank-processing): Fix injection of extra space
11720 between bullet and non-whitespace character in first topic when
11721 pasting, ensuring that the actual spacing in the pasted topic
11722 following the bullet char is preserved. This extra space was
11723 causing pasted encrypted topics to get a decrypted status even
11724 when the content was actually still encrypted. Now the decryption
11725 status from before the paste is preserved.
11726
11727 (allout-flag-region): Set all allout overlays so they evaporate
11728 when reduced to zero length (evanescent), to prevent overlay
11729 leakage.
11730
887a0b34
GM
117312011-06-30 Glenn Morris <rgm@gnu.org>
11732
94b9acce
GM
11733 * w32-fns.el (w32-charset-info-alist): Declare.
11734
1d9b46d4
GM
11735 * find-dired.el (find-grep-options): Simplify.
11736
cc232200
GM
11737 * term/ns-win.el (ns-set-resource): Declare.
11738
28e77c46
GM
11739 * ses.el (row, col): Declare dynamic variables honestly.
11740
887a0b34
GM
11741 * textmodes/reftex-parse.el (index-tags): Declare.
11742
658d8eb8
CY
117432011-06-30 Chong Yidong <cyd@stupidchicken.com>
11744
11745 * cus-edit.el (customize-push-and-save): New function.
11746
11747 * files.el (hack-local-variables-confirm): Use it.
11748
1fa280a3
LM
11749 * custom.el (load-theme): New arg NO-CONFIRM.
11750 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11751 (custom-enabled-themes): Doc fix.
11752
11753 * cus-theme.el (customize-create-theme)
11754 (custom-theme-merge-theme): Callers to load-theme changed.
11755
bb617717
LMI
117562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11757
d61bdd5d
LMI
11758 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11759 short URLs have at least one dot in them (bug #7614).
11760
bb617717
LMI
11761 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11762 nil, because using a pty is apparently too slow (bug #895).
11763
2f31f37a
LMI
117642011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765
11766 * mail/sendmail.el (sendmail-query-once): New function.
11767 (sendmail-query-once-function): New variable.
11768
3076b24e
GM
117692011-06-29 Glenn Morris <rgm@gnu.org>
11770
faf2a174
GM
11771 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11772
3076b24e
GM
11773 * ses.el (top-level): Require cl when compiling.
11774 (ses-set-localvars): Fix error statement.
11775 Call it at compile time to silence a storm of warnings.
11776
5386012d
MR
117772011-06-29 Martin Rudalics <rudalics@gmx.at>
11778
11779 * window.el (normalize-live-buffer): Rename to
11780 window-normalize-buffer.
11781 (normalize-live-frame): Rename to window-normalize-frame.
11782 (normalize-any-window): Rename to window-normalize-any-window.
11783 (normalize-live-window): Rename to window-normalize-live-window.
11784 (make-window-atom): Rename to window-make-atom.
11785 (window-resize-reset): Rename to window--resize-reset.
11786 (window-resize-reset-1): Rename to window--resize-reset-1.
11787 (resize-mini-window): Rename to window--resize-mini-window.
11788 (resize-subwindows-skip-p): Rename to
11789 window--resize-subwindows-skip-p.
11790 (resize-subwindows-normal): Rename to
11791 window--resize-subwindows-normal.
11792 (resize-subwindows): Rename to window--resize-subwindows.
11793 (resize-other-windows): Rename to window--resize-siblings.
11794 (resize-this-window): Rename to window--resize-this-window.
11795 (resize-root-window): Rename to window--resize-root-window.
11796 (resize-root-window-vertically): Rename to
11797 window--resize-root-window-vertically.
11798 (normalize-buffer-to-display): Rename to
11799 window-normalize-buffer-to-display.
11800 (normalize-buffer-to-switch-to): Rename to
11801 window-normalize-buffer-to-switch-to.
11802 Correspondingly update all callers of the functions listed
11803 above.
11804 (display-buffer-alist, display-buffer-normalize-arguments)
11805 (display-buffer-normalize-options, display-buffer)
11806 (display-buffer-alist-set): Use "function" instead of
11807 "fun-with-args".
11808
1176868d
CY
118092011-06-28 Chong Yidong <cyd@stupidchicken.com>
11810
11811 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11812 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11813 debbugs.gnu.org. Mention acknowledgment email.
11814
20a7a65f
LMI
118152011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11816
11817 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11818 buffer multibyteness, since it shouldn't matter.
11819
5f45cca5
MR
118202011-06-28 Martin Rudalics <rudalics@gmx.at>
11821
11822 * window.el (display-buffer-in-side-window): Handle dedicated
11823 windows as in display-buffer-reuse-window.
11824 (display-buffer-normalize-alist): Use value of override
11825 specifier.
11826 (display-buffer-normalize-specifiers): Use value of
11827 other-window-means-other-frame specifier.
11828 (display-buffer-alist): Rewrite some texts in widgets.
11829 (display-buffer): Spread arguments when calling function
11830 specified by fun-with-args.
11831
ad85fe1f
DD
118322011-06-28 Deniz Dogan <deniz@dogan.se>
11833
1fa280a3
LM
11834 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11835 Unnest `let'.
da68c4c8 11836
ad85fe1f
DD
11837 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11838 selectors (Bug#5732).
ec49bd31 11839 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11840
a08cc025
JA
118412011-06-27 Jari Aalto <jari.aalto@cante.net>
11842
11843 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11844 (eshell-ls-date-format): New defcustom.
11845 (eshell-ls-file): Use it.
11846
e2b551c5
SM
118472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11850
8982b231
KY
118512011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11852
11853 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11854 (ange-ftp-make-tmp-name): New arg.
11855 (ange-ftp-file-local-copy): Use it.
11856
36c9fa27
J
118572011-06-27 Jambunathan K <kjambunathan@gmail.com>
11858
11859 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11860 no-conversion (Bug#8870).
11861
d68443dc
MR
118622011-06-27 Martin Rudalics <rudalics@gmx.at>
11863
11864 * window.el (window-right, window-left, window-child)
11865 (window-child-count, window-last-child)
11866 (window-iso-combination-p, walk-window-tree-1)
11867 (window-atom-check-1, window-tree-1, delete-window)
11868 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11869 new naming conventions - window-vchild, window-hchild,
11870 window-next and window-prev are now called window-top-child,
11871 window-left-child, window-next-sibling and window-prev-sibling
11872 respectively.
d615d6d2
MR
11873 (resize-window-reset): Rename to window-resize-reset.
11874 (resize-window-reset-1): Rename to window-resize-reset-1.
11875 (resize-window): Rename to window-resize.
11876 (window-min-height, window-min-width)
11877 (resize-mini-window, resize-this-window, resize-root-window)
11878 (resize-root-window-vertically, adjust-window-trailing-edge)
11879 (enlarge-window, shrink-window, maximize-window)
11880 (minimize-window, delete-window, quit-restore-window)
11881 (split-window, balance-windows, balance-windows-area-adjust)
11882 (balance-windows-area, window-state-put-2)
11883 (display-buffer-even-window-sizes, display-buffer-set-height)
11884 (display-buffer-set-width, set-window-text-height)
11885 (fit-window-to-buffer): Rename all "resize-window" prefixed
11886 calls to use the "window-resize" prefix convention.
11887 (display-buffer-alist): Fix symbol for label specifier.
11888 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11889 corresponding specifier.
11890 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11891
b6458526
VB
118922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11893
11894 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11895 convention.
11896 (ses-call-printer): Does not pass an empty string to formatter when the
11897 cell is empty to keep from barking printer Calc math-format-value.
11898
d31fd9ac
RS
118992011-06-27 Richard Stallman <rms@gnu.org>
11900
43d5bf84
RS
11901 * battery.el (battery-mode-line-limit): New variable.
11902 (battery-update): Handle it.
11903
d31fd9ac
RS
11904 * mail/rmailmm.el (rmail-mime-process-multipart):
11905 Handle truncated messages.
11906
819a6054
GM
119072011-06-27 Glenn Morris <rgm@gnu.org>
11908
11909 * progmodes/flymake.el (flymake-err-line-patterns):
11910 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11911
cedc73f2
VB
119122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11913
819a6054 11914 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11915 (ses--clean-!, ses--clean-_): New functions.
11916 (ses-range): Add configurability of readout order, and conversion
11917 to Calc vector.
11918
5e5d49b6
VB
11919 * ses.el (ses-repair-cell-reference-all): New function.
11920 (ses-cell-symbol): Set macro as safe, so that it can be used in
11921 formulas.
11922
56e6cc31 11923 * ses.el: Update cycle detection algorithm.
90ca8b49 11924 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11925 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11926 (ses-set-localvars): New function.
11927 (ses-make-cell): Add property-list as a cell element.
11928 (ses-cell-property-get-fun, ses-cell-property-get)
11929 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11930 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11931 New functions.
90ca8b49
VB
11932 (ses-cell-property-set, ses-cell-property-pop)
11933 (ses-cell-property-get-handle): New macro.
11934 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11935 New aliases, used for code readability.
11936 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11937 cycle detection.
11938 (ses-self-reference-early-detection): New defcustom.
fac916bf 11939 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11940 (ses-mode): Use ses-set-localvars.
11941 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11942 before lauching the update processing.
11943 (ses-initialize-Dijkstra-attempt): New function.
11944 (ses-recalculate-cell): Update for cycle detection based on
11945 Dijkstra algorithm.
11946
2bb63e81
VB
11947 * ses.el: Fix commenting and indenting convention.
11948
c9d29fb8
SM
119492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * bs.el (bs-cycle-next): Complete last change.
11952
d8e4b68b
JB
119532011-06-27 Drew Adams <drew.adams@oracle.com>
11954
11955 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11956
40098786
LMI
119572011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958
c9d29fb8
SM
11959 * net/network-stream.el (network-stream-open-starttls):
11960 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11961 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11962
40098786
LMI
11963 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11964 to binary to possibly avoid line encoding issues on Windows (among
11965 other things).
11966
468d09d4
LMI
119672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11968
11969 * net/network-stream.el (open-network-stream): Return an :error
11970 saying what the problem was, if possible.
11971
11972 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11973 server.
11974
11975 * net/network-stream.el (network-stream-open-starttls): If we
11976 wanted to use STARTTLS, and the server offered it, but we weren't
11977 able to because we had no STARTTLS support, then close the connection.
11978 (open-network-stream): Return an :error element, if present.
11979
16f07dd7
CY
119802011-06-26 Chong Yidong <cyd@stupidchicken.com>
11981
88821ca0
CY
11982 * hl-line.el (hl-line-sticky-flag): Doc fix.
11983 (global-hl-line-sticky-flag): New option (Bug#8323).
11984 (global-hl-line-highlight): Obey it.
11985
16f07dd7
CY
11986 * vc/vc.el (vc-revert-show-diff): Default to t.
11987
6b5ccddf
KM
119882011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11989
c9d29fb8
SM
11990 * allout-widgets.el (allout-widgets-post-command-business):
11991 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11992 undecorated when an isearch is continued past, and isearch
11993 automatically collapses them. This leads to "widget leaks", where
11994 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11995 hidden widgets can slow down cursor travel, substantially.
11996 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11997 so we're doing without this nicety.
11998
11999 (allout-widgets-tally-string): Don't try to do a hash-table-count
12000 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12001 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12002 *Messages* when allout-widgets-maintain-tally is t.
12003
355f2e07
MR
120042011-06-26 Martin Rudalics <rudalics@gmx.at>
12005
12006 * window.el (display-buffer-normalize-argument): Rename to
12007 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12008 LABEL argument. Respect special-display-function when popping up
12009 a new frame. Fix code searching for a window showing the buffer
12010 on another frame.
c9d29fb8
SM
12011 (display-buffer-normalize-specifiers):
12012 Call display-buffer-normalize-arguments.
355f2e07
MR
12013 (display-buffer-in-window): Don't undedicate the window if its
12014 buffer remains the same.
12015 Reported by Drew Adams <drew.adams@oracle.com>.
12016 (display-buffer-alist): Add choice for same-window macro
12017 specfier.
12018 (display-buffer): Mention special meaning of LABEL argument in
12019 doc-string. Fix quoting. Don't pop up a new frame even as
12020 fallback.
12021
7ca8fc42
JB
120222011-06-26 Juanma Barranquero <lekktu@gmail.com>
12023
12024 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12025 avoid deleting the current window in some cases (bug#8911).
12026
bc312254
AS
120272011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12028
12029 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12030 (Bug#8934)
12031
2db18f3f
LMI
120322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12033
c9d29fb8
SM
12034 * net/network-stream.el (network-stream-open-starttls):
12035 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12036 (network-stream-open-tls): Ditto.
12037
6302e0d3
LL
120382011-06-26 Leo Liu <sdl.web@gmail.com>
12039
12040 * register.el (registerv): New struct.
12041 (registerv-make): New function.
c9d29fb8
SM
12042 (jump-to-register, describe-register-1, insert-register):
12043 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12044 struct. (Bug#8415)
12045
5fdd4046
CY
120462011-06-26 Chong Yidong <cyd@stupidchicken.com>
12047
2afef60a
CY
12048 * vc/vc.el (vc-revert-show-diff): New defcustom.
12049 (vc-diff-internal): New arg specifying diff buffer.
12050 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12051 reuse an existing *vc-diff* buffer (Bug#8927).
12052
5fdd4046
CY
12053 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12054
e93db24a
GM
120552011-06-26 Glenn Morris <rgm@gnu.org>
12056
12057 * progmodes/f90.el (f90-critical-indent): New option.
12058 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12059 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12060 (f90-mode): Doc fix.
12061 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12062 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12063 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12064 (f90-match-end): Handle block, critical.
12065
eefff499
GM
120662011-06-25 Glenn Morris <rgm@gnu.org>
12067
f6ba4cc9
GM
12068 * calendar/diary-lib.el (diary-included-files): Doc fix.
12069 (diary-include-files): New function, extracted from
12070 diary-include-other-diary-files and diary-mark-included-diary-files.
12071 (diary-include-other-diary-files, diary-mark-included-diary-files):
12072 Just call diary-include-files.
12073 (diary-mark-entries): Reset diary-included-files on first call.
12074
16712304
GM
12075 * calendar/diary-lib.el (diary-mark-entries)
12076 (diary-mark-included-diary-files):
12077 Visit included diary-files in temp buffers.
12078
5d8e0d43
GM
12079 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12080 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12081 (f90-start-block-re, f90-imenu-generic-expression)
12082 (f90-looking-at-program-block-start, f90-no-block-limit):
12083 Add support for submodules.
12084
ccf7a5d5
GM
12085 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12086 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12087
11fdef7d 120882011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12089
12090 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12091 buffer-file-type before setting its value, to avoid disastrous
eefff499 12092 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12093
74f53697
JB
120942011-06-25 Juanma Barranquero <lekktu@gmail.com>
12095
12096 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12097
12098 * ses.el (ses-unload-function):
12099 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12100
12101 * proced.el (proced-unload-function):
12102 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12103
18a4ce5e
AR
121042011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12105
12106 * server.el (server-create-window-system-frame): Add parameters arg.
12107 (server-process-filter): Doc fix. Handle frame-parameters.
12108
519d22cc
JB
121092011-06-25 Juanma Barranquero <lekktu@gmail.com>
12110
12111 Fix bug#8730, bug#8781.
12112
12113 * loadhist.el (unload--set-major-mode): New function.
12114 (unload-feature): Use it.
12115
12116 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12117 (python-unload-function): New function.
12118
c206f5b0
SM
121192011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12122
f9ad64f3
GS
121232011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12124
12125 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12126 the candidates list.
12127
7d0da90e
JB
121282011-06-24 Juanma Barranquero <lekktu@gmail.com>
12129
12130 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12131
14b4e83d
RS
121322011-06-23 Richard Stallman <rms@gnu.org>
12133
12134 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12135 (rmail-variables): Set next-error-move-function.
12136 (rmail-what-message): Take argument POS.
12137 (rmail-next-error-move): New function.
12138
273d2baf
SM
121392011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12142 messages for adjacent non-terminals.
12143
56c2cc9a
RS
121442011-06-23 Richard Stallman <rms@gnu.org>
12145
12146 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12147 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12148 (rmail-start-mail): Don't specify use of rmail-mail-return;
12149 that's done by mail-bury now.
12150 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12151
d59eb518
MA
121522011-06-23 Michael Albinus <michael.albinus@gmx.de>
12153
12154 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12155 SIZE is a number.
12156
02cfc6d6
MR
121572011-06-23 Martin Rudalics <rudalics@gmx.at>
12158
12159 * window.el (get-lru-window, get-mru-window)
12160 (get-largest-window): Never return a minibuffer window.
12161 (display-buffer-pop-up-window): Fix a bug that could lead to
12162 reusing the minibuffer window.
12163 (display-buffer): Pass original specifier argument to
12164 display-buffer-function instead of the normalized one.
12165 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12166
4e323265
LL
121672011-06-22 Leo Liu <sdl.web@gmail.com>
12168
12169 * minibuffer.el (completing-read-function)
12170 (completing-read-default): Move from minibuf.c
12171
7a70468f
RS
121722011-06-22 Richard Stallman <rms@gnu.org>
12173
50718fc2
RS
12174 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12175 to Rmail even if not started by a special Rmail command.
12176
7a70468f
RS
12177 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12178 Copy the buffer currently showing just one message.
12179
297dde5a
RW
121802011-06-22 Roland Winkler <winkler@gnu.org>
12181
12182 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12183 (bibtex-clean-entry): First delete the old key so that a
12184 customized algorithm for generating the new key does not get
12185 confused by the old key.
12186 (bibtex-url): Obey regexp of first step.
12187 (bibtex-search-entries): Do not use add-to-list with local
12188 list-var.
12189
97bb1093
LMI
121902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12191
12192 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12193 stored a user name, then query for the password first, instead of
12194 waiting for SMTP to give an error message and the trying again.
12195
1c0f1a19
JD
121962011-06-22 Lawrence Mitchell <wence@gmx.li>
12197
12198 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12199 BUFFER in call-process.
12200
396f7c9d
LMI
122012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
12203 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12204 QUIT twice.
ddb7ffee
LMI
12205 (smtpmail-try-auth-methods): Require user name and password from
12206 auth-source.
396f7c9d 12207
8998d1b3
MR
122082011-06-22 Martin Rudalics <rudalics@gmx.at>
12209
12210 * window.el (display-buffer-default-specifiers)
12211 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12212 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12213 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12214
12215 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12216 (special-display-frame-alist, special-display-popup-frame):
12217 Remove duplicate declarations. These are now in window.el.
12218
4ea31e07
LMI
122192011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12220
c9d29fb8
SM
12221 * mail/smtpmail.el (smtpmail-via-smtp):
12222 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12223 server supports it. SMTP servers that support STARTTLS commonly
12224 require it.
12225
12226 * net/network-stream.el (network-stream-open-starttls): Support
12227 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12228 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12229
95f41d9a
LMI
12230 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12231 upgrades with `open-network-stream', and rely solely on
12232 auth-source for all credentials. Big changes throughout the file,
12233 but in particular:
c9d29fb8
SM
12234 (smtpmail-auth-credentials): Remove.
12235 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12236 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12237 MAIL FROM, too.
95f41d9a 12238
c9d29fb8
SM
12239 * net/network-stream.el (network-stream-open-starttls):
12240 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12241 STARTTLS.
12242 (auth-source): Require.
12243 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12244 (network-stream-certificate): Change cert-cert to cert and
12245 cert-key to key.
4ea31e07 12246
065ec2c7
MA
122472011-06-21 Michael Albinus <michael.albinus@gmx.de>
12248
12249 * net/tramp-cache.el (top): Don't load the persistency file when
12250 "emacs -Q" has been called.
12251
cd93b359
DR
122522011-06-21 Tim Harper <timcharper@gmail.com>
12253
d8e4b68b
JB
12254 * term/ns-win.el (ns-initialize-window-system):
12255 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12256 resource to NO as it is not yet supported by the NS port.
12257
ae9c0411
JB
122582011-06-21 Juanma Barranquero <lekktu@gmail.com>
12259
12260 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12261 (list-dynamic-libraries): ...not here.
12262
7f3f739f
LL
122632011-06-21 Leo Liu <sdl.web@gmail.com>
12264
12265 * subr.el (sha1): Implement sha1 using secure-hash.
12266
327c8fb1
MR
122672011-06-21 Martin Rudalics <rudalics@gmx.at>
12268
12269 * window.el (display-buffer-alist): In default value do not
12270 enforce searching a window on any but the selected frame.
12271 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12272 (display-buffer-select-window): Remove function.
12273 (display-buffer-in-window): When a window on another frame gets
12274 reused, do not select it any more but just raise its frame if
12275 necessary (Bug#8851) and (Bug#8856).
12276 (display-buffer-normalize-options): Handle pop-up-frames related
12277 options more faithfully.
12278 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12279 window if it is on another frame.
c9d29fb8
SM
12280 (display-buffer-alist, display-buffer-default-specifiers):
12281 Don't make new frame unsplittable by default.
9e9de014
MR
12282 (display-buffer-normalize-argument): Fix doc-string typo and use
12283 'same-frame-other-window instead of 'other-window when associating
12284 with display-buffer-macro-specifiers.
327c8fb1 12285
7cf3f556
VB
122862011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12287
12288 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12289 New functions.
12290 (5x5-mode-map, 5x5-mode-menu): Bind them.
12291 (5x5-draw-grid): Tweak the solver's rendering.
12292
60a406cf
SM
122932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12296 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12297
d8e4b68b 122982011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12299
12300 * menu-bar.el: Use function variable instead of switch-to-buffer.
12301 (menu-bar-select-buffer-function): New variable.
60a406cf 12302 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12303
478d6f95
SM
123042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12307 variable's status.
12308
ca530739
JD
123092011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12310
12311 * x-dnd.el (x-dnd-version-from-flags)
12312 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12313 and long as number (Bug#8899).
12314 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12315
bcd70d97
SM
123162011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12317
60a406cf 12318 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12319 (completion-try-completion, completion-all-completions): Compute the
12320 metadata argument if it's missing; make it optional (bug#8795).
12321
60a406cf 12322 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12323 (widget-complete): Use new :completion-function property.
12324 (widget-completions-at-point): New function.
12325 (default): Use :completion-function instead of :complete.
60a406cf
SM
12326 (widget-default-completions): Rename from widget-default-complete;
12327 Rewrite.
bcd70d97
SM
12328 (widget-string-complete, widget-file-complete, widget-color-complete):
12329 Remove functions.
12330 (file, symbol, function, variable, coding-system, color):
12331 * international/mule-cmds.el (default-input-method, charset)
12332 (language-info-custom-alist):
12333 * cus-edit.el (face): Use new property :completions.
12334
12335 * progmodes/pascal.el (pascal-completions-at-point): New function.
12336 (pascal-mode): Use it.
12337 (pascal-mode-map): Use completion-at-point.
12338 (pascal-toggle-completions): Make obsolete.
12339 (pascal-complete-word, pascal-show-completions):
12340 * progmodes/octave-mod.el (octave-complete-symbol):
12341 Redefine as obsolete alias.
12342 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12343 Signal absence of completion info for old Octave,
12344 (inferior-octave-complete): Redefine as obsolete alias.
12345 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12346 (meta-completions-at-point): Rename from meta-complete-symbol and
12347 adapt it for use on completion-at-point-functions.
12348 (meta-common-mode): Use it.
12349 (meta-looking-at-backward, meta-match-buffer): Remove.
12350 (meta-complete-symbol): Redefine as obsolete alias.
12351 (meta-common-mode-map): Use completion-at-point.
12352 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12353 (makefile-mode-map): Use completion-at-point.
12354 (makefile-completions-at-point): Rename from makefile-complete and
12355 adapt it for use on completion-at-point-functions.
12356 (makefile-mode): Use it.
12357 (makefile-complete): Redefine as obsolete alias.
12358
aebf69c8
DD
123592011-06-20 Deniz Dogan <deniz@dogan.se>
12360
12361 * net/rcirc.el: Delete trailing whitespaces once and for all.
12362
bfbbb27d
DC
123632011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12364
12365 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12366
d264a46b
CY
123672011-06-19 Chong Yidong <cyd@stupidchicken.com>
12368
4ca009e5
CY
12369 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12370
d264a46b
CY
12371 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12372
fbf5b3ce
MR
123732011-06-19 Martin Rudalics <rudalics@gmx.at>
12374
12375 * window.el (display-buffer-other-window-means-other-frame):
12376 Call display-buffer-normalize-alist.
12377 (display-buffer-normalize-specifiers-1): Rename to
12378 display-buffer-normalize-argument. New argument other-frame.
12379 Rewrite.
12380 (display-buffer-normalize-specifiers-2): Rename to
12381 display-buffer-normalize-options.
12382 (display-buffer-normalize-alist-1): New function.
12383 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12384 display-buffer-normalize-alist.
12385 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12386 (display-buffer-normalize-options-inhibit): New variable.
12387 (display-buffer-normalize-specifiers): Rewrite calling
12388 display-buffer-normalize-alist,
12389 display-buffer-normalize-argument, and
12390 display-buffer-normalize-options. Don't call the latter if
12391 display-buffer-normalize-options-inhibit is non-nil.
12392 (frame-auto-delete): New option.
12393 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12394 (window-list-no-nils, window-state-ignored-parameters)
12395 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12396 (window-state-put-1, window-state-put-2, window-state-put):
12397 New functions.
9a028c23
MR
12398 (display-buffer-normalize-options): Move special-display-p group
12399 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12400
6d10d800
CY
124012011-06-18 Chong Yidong <cyd@stupidchicken.com>
12402
6420d28b
CY
12403 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12404 groups (Bug#8776).
12405 (rx-submatch-n): New function.
12406 (rx): Document it.
12407
ddb8b596
CY
12408 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12409 (Bug#8768).
12410
12411 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12412
77080289
CY
12413 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12414
61dfb316
CY
12415 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12416 anytime existing face settings are present (Bug#8889).
12417
6d10d800
CY
12418 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12419 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12420 Remove unused argument.
12421
be3fb2b8
MR
124222011-06-18 Martin Rudalics <rudalics@gmx.at>
12423
bcd70d97
SM
12424 * window.el (display-buffer-default-specifiers):
12425 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12426 pop-up-window-min-width, and another reuse-window specifier
12427 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12428 (display-buffer-normalize-specifiers-2):
12429 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12430 pop-up-windows is unset. Add a reuse-window specifier for the
12431 case popping up a new window fails.
12432 (special-display-popup-frame): Remove double quoting.
28dec25a 12433 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12434
1c6d8c76
SM
124352011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12438 according to comint-completion-addsuffix.
12439
12440 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12441 (pcomplete-suffix-list): Mark as obsolete.
12442 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12443 pcomplete-seen in the closure.
12444 (pcomplete-comint-setup): Setup completion-at-point as well.
12445 (pcomplete--entries): New function.
12446 (pcomplete--env-regexp): New var.
12447 (pcomplete-entries): Rewrite to work with partial-completion and
12448 without relying on pcomplete-suffix-list.
12449 (pcomplete-pare-list): Remove, unused.
12450
25aef8b8
MR
124512011-06-17 Martin Rudalics <rudalics@gmx.at>
12452
12453 * window.el (display-buffer-alist): Set pop-up-window-min-height
12454 and pop-up-window-min-width in default value. Reported by
12455 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12456 other-window-means-other-frame.
12457 (display-buffer-macro-specifiers): Comment out entry for
12458 other-window specifier.
12459 (display-buffer-other-window-means-other-frame): New function.
12460 (display-buffer-normalize-specifiers-1): New arguments
12461 buffer-name and label. Treat other-window case specially.
12462 (display-buffer-normalize-specifiers-2): Treat other-window case
12463 specially.
12464 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12465 (display-buffer-normalize-specifiers):
12466 Call display-buffer-normalize-specifiers-3.
25aef8b8 12467
dbad4f69
MR
124682011-06-17 Martin Rudalics <rudalics@gmx.at>
12469
12470 * window.el (same-window-p): Fix two typos introduced when
12471 adding with-no-warnings.
d1067961
MR
12472 (display-buffer-normalize-specifiers-1): Don't check
12473 pop-up-frames for 'unset initialization.
12474 (display-buffer-normalize-specifiers-2): Major rewrite using
12475 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12476 (pop-up-frames, display-buffer-reuse-frames)
12477 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12478 Suggested by David Engster <deng@randomsample.de>.
12479 (even-window-heights): Initialize to 'unset.
12480 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12481 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12482 other window case.
dbad4f69 12483
9b9c9e3a
MR
124842011-06-16 Martin Rudalics <rudalics@gmx.at>
12485
bcd70d97
SM
12486 * window.el (display-buffer-normalize-specifiers-1):
12487 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12488 second argument of display-buffer (Bug#8865).
981d5c09
MR
12489 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12490 (switch-to-buffer-other-window-same-frame)
12491 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12492 Adams (Bug#8875).
9c2755e9
MR
12493 (display-buffer): Don't check noninteractive when calling
12494 display-buffer-pop-up-frame.
12495 (display-buffer-pop-up-frame): Never pop up a frame in
12496 noninteractive mode (Bug#8857).
67222e1d
MR
12497 (enlarge-window, shrink-window): Don't report an error when the
12498 window can't be resized as requested (Bug#8862).
9b9c9e3a 12499
2b75be67
SM
125002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12501
9ffdd3ba
SM
12502 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12503
cb581a67
SM
12504 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12505
2b75be67
SM
12506 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12507
8c0e3589
AM
125082011-06-15 Alan Mackenzie <acm@muc.de>
12509
cb581a67
SM
12510 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12511 for declarators, disable knr checking to speed up for normal files.
12512 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12513
b96e6cde
LMI
125142011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
4bba86e6
LMI
12516 * net/network-stream.el (open-network-stream): Add the keyword
12517 :always-query-capabilities for the case where you want to force a
12518 `plain' network connection, but the protocol still requires the
12519 capabilitiy command (i.e., SMTP and EHLO).
12520
2b75be67 12521 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12522 consistency with other `-live-p' functions.
12523
efdcdbf8
SM
125242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * window.el (same-window-buffer-names, same-window-regexps)
12527 (special-display-frame-alist, special-display-popup-frame)
12528 (special-display-function, special-display-buffer-names)
12529 (special-display-regexps, pop-up-frame-alist)
12530 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12531 (pop-up-windows, split-window-preferred-function)
12532 (split-height-threshold, split-width-threshold, even-window-heights)
12533 (display-buffer-mark-dedicated): Don't encourage the use of
12534 display-buffer-alist from Elisp code.
12535
c5cde042
DN
125362011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12537
12538 * progmodes/python.el (python-mode): Derive from prog-mode.
12539 * progmodes/ps-mode.el (ps-mode):
12540 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12541 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12542 * progmodes/ld-script.el (ld-script-mode): Likewise.
12543
baa1c9ab
MR
125442011-06-15 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (display-buffer-alist): Trim default value to avoid
12547 popping up a new frame (Bug#8857) or reusing an arbitrary window
12548 on another frame.
12549 (display-buffer): Do not fall back on popping up a new frame in
12550 batch mode (Bug#8857).
12551
c5dd5a51
CY
125522011-06-14 Chong Yidong <cyd@stupidchicken.com>
12553
12554 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12555 (custom-theme-summary): New function.
12556 (customize-themes): Use it.
12557
d647b7c4
GM
125582011-06-13 Glenn Morris <rgm@gnu.org>
12559
12560 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12561
9481c002
MR
125622011-06-13 Martin Rudalics <rudalics@gmx.at>
12563
357f93d2
MR
12564 * help.el (help-window): Remove variable.
12565 (help-window-point-marker, temp-buffer-max-height)
12566 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12567 (help-print-return-message): Don't set help-window.
12568 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12569 (help-window-setup-finish): Remove.
12570 (help-window-display-message, help-window-setup)
12571 (with-help-window): Major rewrite based on new
12572 display-buffer-window variable.
12573
12574 * help-mode.el (help-mode-finish): Remove help-window related
12575 code.
12576
12577 * view.el (view-exits-all-viewing-windows): Remove reference to
12578 view-return-to-alist in doc-string.
12579 (view-return-to-alist): Make obsolete.
12580 (view-buffer): Call pop-to-buffer-same-window and remove
12581 undo-window code.
12582 (view-buffer-other-window): Call pop-to-buffer-other-window and
12583 simplify code. Ignore second argument.
12584 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12585 simplify code. Ignore second argument.
12586 (view-return-to-alist-update): Make obsolete.
12587 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12588 Rewrite using quit-restore window parameters.
2b75be67
SM
12589 (view-mode-exit): Rename second argument to EXIT-ONLY.
12590 Rewrite using quit-restore-window.
357f93d2
MR
12591 (View-exit, View-exit-and-edit, View-leave, View-quit)
12592 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12593 appropriate arguments.
12594 (view-end-message): Use quit-restore window parameter.
12595
9481c002
MR
12596 * window.el (display-buffer-function): Rewrite doc-string.
12597 (display-buffer-window, display-buffer-alist): New variables.
12598 (display-buffer-split-specifiers)
12599 (display-buffer-side-specifiers)
12600 (display-buffer-macro-specifiers): New constants.
12601 (display-buffer-even-window-sizes, display-buffer-set-height)
12602 (display-buffer-set-width, display-buffer-select-window)
12603 (display-buffer-in-window, display-buffer-reuse-window)
12604 (display-buffer-split-window-1, display-buffer-split-window)
12605 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12606 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12607 (display-buffer-in-side-window, normalize-buffer-to-display)
12608 (display-buffer-normalize-specifiers-1)
12609 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12610 (display-buffer-normalize-specifiers, display-buffer-frame):
12611 New functions.
9481c002
MR
12612 (display-buffer): Major rewrite.
12613 (display-buffer-other-window, display-buffer-other-frame)
12614 (pop-to-buffer, switch-to-buffer-other-window)
12615 (switch-to-buffer-other-frame): Rewrite.
12616 (display-buffer-same-window, display-buffer-same-frame)
12617 (display-buffer-same-frame-other-window)
12618 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12619 (pop-to-buffer-other-window)
12620 (pop-to-buffer-same-frame-other-window)
12621 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12622 (switch-to-buffer-other-window-same-frame): New functions.
12623 (same-window-p, special-display-p): Rewrite disabling warnings.
12624 Make obsolete.
12625 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12626 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12627 Make obsolete
12628 (same-window-buffer-names, same-window-regexps)
12629 (special-display-frame-alist, special-display-popup-frame)
12630 (special-display-function, special-display-buffer-names)
12631 (special-display-regexps, pop-up-frame-alist)
12632 (pop-up-frame-function, split-window-preferred-function)
12633 (split-height-threshold, split-width-threshold)
12634 (even-window-heights): Make obsolete.
12635
9db51aca
GM
126362011-06-12 Glenn Morris <rgm@gnu.org>
12637
12638 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12639 Misc simplifications.
9db51aca 12640
39cffb44
MR
126412011-06-12 Martin Rudalics <rudalics@gmx.at>
12642
12643 * window.el (window-safely-shrinkable-p): Restore function which
12644 was inadvertently removed in change from 2011-06-11. Declare as
12645 obsolete.
12646
2b75be67
SM
12647 * calendar/calendar.el (calendar-generate-window):
12648 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12649 window-safely-shrinkable-p.
12650
a8955be7
GM
126512011-06-12 Glenn Morris <rgm@gnu.org>
12652
12653 * progmodes/fortran.el (fortran-mode-syntax-table):
12654 * progmodes/f90.el (f90-mode-syntax-table):
12655 Set % to punctuation. (Bug#8820)
12656 (f90-find-tag-default): Remove, no longer needed.
12657
f0d4059d
DC
126582011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12659
12660 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12661
1100a63c
CY
126622011-06-11 Chong Yidong <cyd@stupidchicken.com>
12663
12664 * image.el (image-animated-p): Return animation delay in seconds.
12665 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12666 (image-animate-timeout): Remove DELAY argument. Don't assume
12667 every subimage has the same delay; get it from image-animated-p.
12668 (image-animate): Caller changed.
12669
def722bf
MA
126702011-06-11 Michael Albinus <michael.albinus@gmx.de>
12671
12672 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12673 to ignored backtrace functions.
12674
0a2bb1a9
GM
126752011-06-11 Glenn Morris <rgm@gnu.org>
12676
12677 * calendar/appt.el (appt-disp-window-function): Doc fix.
12678 (appt-check): Handle overlapping appointments. (Bug#8337)
12679
6198ccd0
MR
126802011-06-11 Martin Rudalics <rudalics@gmx.at>
12681
12682 * window.el (window-tree-1, window-tree): New functions, moving
12683 the latter to window.el.
12684 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12685 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12686 (bw-refresh-edges): Remove.
12687 (balance-windows-1, balance-windows-2): New functions.
12688 (balance-windows): Rewrite in terms of window tree functions,
12689 balance-windows-1 and balance-windows-2.
12690 (bw-adjust-window): Remove.
12691 (balance-windows-area-adjust): New function with functionality of
12692 bw-adjust-window but using resize-window.
2b75be67
SM
12693 (set-window-text-height): Rewrite doc-string.
12694 Use normalize-live-window and resize-window.
12695 (enlarge-window-horizontally, shrink-window-horizontally):
12696 Rename argument to DELTA.
6198ccd0
MR
12697 (window-buffer-height): New function.
12698 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12699 Rewrite using new window resize routines.
2b75be67
SM
12700 (kill-buffer-and-window, mouse-autoselect-window-select):
12701 Use ignore-errors instead of condition-case.
6198ccd0
MR
12702 (quit-window): Call delete-frame instead of delete-windows-on
12703 for the only buffer on frame.
12704
9397e56f
MR
127052011-06-10 Martin Rudalics <rudalics@gmx.at>
12706
12707 * loadup.el (top-level): Load window before files for the sake
12708 of replace-buffer-in-windows.
12709
12710 * files.el (read-buffer-to-switch)
12711 (switch-to-buffer-other-window)
2b75be67
SM
12712 (switch-to-buffer-other-frame, display-buffer-other-frame):
12713 Move to window.el.
9397e56f
MR
12714
12715 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12716 (previous-buffer): Move to window.el.
12717
12718 * bindings.el (unbury-buffer): Move to window.el.
12719
12720 * window.el (delete-other-windows-vertically): Move after
12721 definition of delete-other-windows.
12722 (other-window, delete-windows-on, replace-buffer-in-windows):
12723 Move here from window.c.
12724 (record-window-buffer, unrecord-window-buffer)
12725 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12726 (switch-to-next-buffer): New functions.
12727 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12728 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12729 (previous-buffer): Move here from simple.el.
12730 Call switch-to-prev-buffer.
9397e56f
MR
12731 (bury-buffer): Move here from buffer.c. Switch to previous
12732 buffer when window cannot be deleted.
12733 (unbury-buffer): Move here from bindings.el.
12734 (ctl-x-map): Move binding for other-window from window.c to
12735 here.
12736 (read-buffer-to-switch, switch-to-buffer-other-window)
12737 (switch-to-buffer-other-frame): Move here from files.el.
12738 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12739 (switch-to-buffer): Move here from buffer.c.
12740 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12741
562dd5e9
MR
127422011-06-10 Martin Rudalics <rudalics@gmx.at>
12743
12744 * window.el (window-min-height, window-min-width): Move here
12745 from window.c. Add defcustoms and rewrite doc-strings.
12746 (resize-mini-window, resize-window): New functions.
12747 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12748 Move here from window.c.
12749 (maximize-window, minimize-window): New functions.
12750 (delete-window, delete-other-windows, split-window): Move here
12751 from window.c.
12752 (window-split-min-size): New function.
12753 (split-window-keep-point): Mention split-window-above-each-other
12754 instead of split-window-vertically.
2b75be67 12755 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12756 Rename split-window-vertically to split-window-above-each-other
12757 and provide defalias for old definition.
12758 (split-window-side-by-side, split-window-horizontally):
12759 Rename split-window-horizontally to split-window-side-by-side
12760 and provide defalias for the old definition.
562dd5e9
MR
12761 (ctl-x-map): Move bindings for delete-window,
12762 delete-other-windows and enlarge-window here from window.c.
12763 Replace bindings for split-window-vertically and
12764 split-window-horizontally by bindings for
12765 split-window-above-each-other and split-window-side-by-side.
12766
12767 * cus-start.el (all): Remove entries for window-min-height and
12768 window-min-width. Add entries for window-splits and
12769 window-nest.
12770
f0da764a
GM
127712011-06-09 Glenn Morris <rgm@gnu.org>
12772
80675c21
GM
12773 * calendar/appt.el (appt-mode-line): New function.
12774 (appt-check, appt-disp-window): Use it.
12775
f0da764a
GM
12776 * files.el (hack-one-local-variable-eval-safep):
12777 Allow minor-modes with explicit +/-1 arguments.
12778
59f623b7
TZ
127792011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12780
12781 * term/xterm.el (xterm): Add defgroup.
12782 (xterm-extra-capabilities): Add defcustom to supply known xterm
12783 capabilities, skip querying them, or query them (default).
12784 (terminal-init-xterm): Use it.
12785 (terminal-init-xterm-modify-other-keys): New function to set up
12786 modifyOtherKeys support to simplify `terminal-init-xterm'.
12787
9aab8e0d
MR
127882011-06-09 Martin Rudalics <rudalics@gmx.at>
12789
12790 * window.el (resize-window-reset, resize-window-reset-1)
12791 (resize-subwindows-skip-p, resize-subwindows-normal)
12792 (resize-subwindows, resize-other-windows, resize-this-window)
12793 (resize-root-window, resize-root-window-vertically)
12794 (window-deletable-p, window-or-subwindow-p)
12795 (frame-root-window-p): New functions.
12796
e8b08aee
GM
127972011-06-09 Glenn Morris <rgm@gnu.org>
12798
12799 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12800 (ange-ftp-get-files): Use it.
12801
254c37a5
AK
128022011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12803
12804 * mail/sendmail.el (mail-recover-1, mail-recover):
12805 * files.el (recover-file, recover-session):
12806 Handle dired-listing-switches not being just a single short option.
12807
35d7dbd3
GM
128082011-06-09 Glenn Morris <rgm@gnu.org>
12809
12810 * calendar/appt.el (appt-display-message, appt-disp-window):
12811 Handle lists of appointments.
12812
387522b2
MR
128132011-06-08 Martin Rudalics <rudalics@gmx.at>
12814
2b75be67
SM
12815 * window.el (one-window-p): Move down in code.
12816 Rewrite doc-string.
12817 (window-current-scroll-bars): Rewrite doc-string.
12818 Normalize live window argument.
387522b2
MR
12819 (walk-windows, get-window-with-predicate, count-windows):
12820 Rewrite doc-string. Use window-list-1.
12821 (window-in-direction-2, window-in-direction, get-mru-window):
12822 New functions.
12823
d8e4b68b 128242011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12825
12826 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12827 Doc fix (Bug#8713).
12828
128292011-06-08 Chong Yidong <cyd@stupidchicken.com>
12830
12831 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12832
128332011-06-08 Juanma Barranquero <lekktu@gmail.com>
12834
12835 * loadhist.el (unload-feature-special-hooks):
12836 Add `comint-output-filter-functions'.
12837
0de12c52
IK
128382011-06-08 Ivan Kanis <gnu@kanis.fr>
12839
12840 * calendar/appt.el (appt-check): Move some initializations into the let.
12841
f3d1777e
MR
128422011-06-08 Martin Rudalics <rudalics@gmx.at>
12843
12844 * window.el (window-height): Defalias to window-total-height.
12845 (window-width): Defalias to window-body-width.
12846
18af70d0
CY
128472011-06-07 Chong Yidong <cyd@stupidchicken.com>
12848
12849 * image-mode.el (image-toggle-animation): New command.
12850 (image-mode-map): Bind it to RET.
12851 (image-mode): Update message.
12852 (image-toggle-display-image): Avoid a spurious cache flush.
12853 (image-transform-rotation): Doc fix.
12854 (image-transform-properties): Return quickly in the normal case.
12855 (image-animate-loop): Rename from image-animate-max-time.
12856
2b75be67 12857 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12858 (create-animated-image): Remove unnecessary function.
12859 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12860 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12861 (image-animate-timer): Use car-safe.
12862 (image-animate-timeout): Rename argument.
12863
190b47e6
MR
128642011-06-07 Martin Rudalics <rudalics@gmx.at>
12865
12866 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12867 window.c. Rename first argument to ALL-FRAMES.
12868 Rephrase doc-strings.
12869 (get-buffer-window-list): Rewrite using window-list-1.
12870 Rephrase doc-string.
a1511caf
MR
12871 (window-safe-min-height, window-safe-min-width): New constants.
12872 (window-size-ignore, window-min-size, window-min-size-1)
12873 (window-sizable, window-sizable-p, window-size-fixed-1)
12874 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12875 (window-max-delta-1, window-max-delta, window-resizable)
12876 (window-resizable-p, window-total-height, window-total-width)
12877 (window-body-width): New functions.
12878 (window-full-height-p, window-full-width-p): Rewrite using
12879 window-total-size.
12880 (window-body-height): Rewrite using window-body-size.
190b47e6 12881
85cc1f11
MR
128822011-06-06 Martin Rudalics <rudalics@gmx.at>
12883
12884 * window.el (window-right, window-left, window-child)
12885 (window-child-count, window-last-child, window-any-p)
12886 (normalize-live-buffer, normalize-live-frame)
12887 (normalize-any-window, normalize-live-window)
12888 (window-iso-combination-p, window-iso-combined-p)
12889 (window-iso-combinations)
12890 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12891 (windows-with-parameter, window-with-parameter)
12892 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12893 (window-atom-check, window-side-check, window-check):
12894 New functions.
85cc1f11
MR
12895 (ignore-window-parameters, window-sides, window-sides-vertical)
12896 (window-sides-slots): New variables.
12897 (window-size-fixed): Move down in code. Minor doc-string fix.
12898
e7156492
AS
128992011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12900
12901 * comint.el (comint-dynamic-complete-as-filename)
12902 (comint-dynamic-complete-filename): Correctly call
12903 completion-in-region.
12904
7e821d0d
DD
129052011-06-05 Deniz Dogan <deniz@dogan.se>
12906
12907 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12908 in last change.
12909
ac09b8a1
DD
129102011-06-05 Deniz Dogan <deniz@dogan.se>
12911
12912 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12913 (rcirc): Use it to prompt for encryption.
12914
34699b85
RW
129152011-06-05 Roland Winkler <winkler@gnu.org>
12916
12917 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12918 (bibtex-search-entries): New command bound to C-c C-a.
12919 (bibtex-display-entries): New function.
12920
004dedd3
RW
129212011-06-05 Roland Winkler <winkler@gnu.org>
12922
12923 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12924 (bibtex-insert-kill): After yanking insert newline if necessary.
12925 (bibtex-initialize): Call bibtex-string-files-init only once.
12926 (bibtex-mode): Do not call easy-menu-add.
12927 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12928 (bibtex-yank): Set arg properly if nil.
12929
022fe7ce
RW
129302011-06-05 Roland Winkler <winkler@gnu.org>
12931
2b75be67
SM
12932 * textmodes/bibtex.el (bibtex-search-entry-globally):
12933 New variable.
022fe7ce
RW
12934 (bibtex-search-entry): Use it.
12935
b7c3692a
RW
129362011-06-05 Roland Winkler <winkler@gnu.org>
12937
12938 * textmodes/bibtex.el (bibtex-entry-format): New option
12939 sort-fields.
12940 (bibtex-format-entry, bibtex-reformat): Honor this option.
12941 (bibtex-parse-entry): Return fields in proper order.
12942
8eda563d
JB
129432011-06-05 Juanma Barranquero <lekktu@gmail.com>
12944
12945 * doc-view.el (doc-view-remove-if): Move computation of result out
12946 of `dolist' to silence misleading lexical-binding warning.
12947
7dbe3dbc
CY
129482011-06-04 Chong Yidong <cyd@stupidchicken.com>
12949
12950 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12951 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12952
0c33dd17
MA
129532011-06-04 Michael Albinus <michael.albinus@gmx.de>
12954
12955 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12956 "SunOS 5.10".
12957
f8f91c2b
MA
129582011-06-04 Michael Albinus <michael.albinus@gmx.de>
12959
12960 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12961 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12962 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12963 (tramp-parse-putty):
12964 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12965 (tramp-completion-function-alist-ssh)
12966 (tramp-completion-function-alist-telnet)
12967 (tramp-completion-function-alist-su)
12968 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12969 cookie.
12970
12971 * net/tramp-ftp.el:
12972 * net/tramp-sh.el:
12973 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12974 load "tramp.el" `tramp-set-completion-function'.
12975
e17d9003
SM
129762011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * shell.el: Require and use pcomplete.
12979 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12980 (shell-completion-vars): Set pcomplete-default-completion-function.
12981
6c4cab03
DD
129822011-06-04 Deniz Dogan <deniz@dogan.se>
12983
12984 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12985 `memq' (Bug#8799).
12986
ea9fafe0
SM
129872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12988
12989 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12990
b3e945d3
JB
129912011-06-02 Juanma Barranquero <lekktu@gmail.com>
12992
12993 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12994 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12995 * vc/log-view.el (log-view-beginning-of-defun):
12996 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12997 (smerge-refine-forward, smerge-refine-chopup-region):
12998 Silence warning for unused `dotimes' counter variables.
12999
7d520089
SM
130002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * net/tramp.el (tramp-with-progress-reporter): Rename from
13003 with-progress-reporter. Use `declare'.
13004 * net/tramp-smb.el:
13005 * net/tramp-sh.el:
13006 * net/tramp-gvfs.el: Update all uses.
13007
a1c2400f
JB
130082011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13009
13010 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13011 buffer isn't killed before making it current.
13012
2403c841
SM
130132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 Silence various byte-compiler warnings.
13016 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13017 `access-type' and new obsolescence format.
13018 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13019 new format.
13020 (byte-compile-check-variable): New `access-type' argument.
13021 Only warn if the access-type is obsolete.
13022 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13023 (byte-compile-variable-set): Adjust callers.
13024 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13025 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13026 setting it as obsolete.
13027 * simple.el (minibuffer-completing-symbol):
13028 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13029 access as obsolete.
13030 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13031 obsolete yet.
13032 * international/quail.el (quail-mouse-choose-completion): Remove unused
13033 code referring to obsolete var.
13034 (quail-choose-completion-string): Remove.
13035 * server.el (server-clients-with, server-kill-buffer-query-function)
13036 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13037 * proced.el (proced-send-signal):
13038 * emacs-lisp/lisp.el (lisp-complete-symbol):
13039 Replace completion-annotate-function with completion-extra-properties.
13040
2462470b
SM
130412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13042
fb5b2591
SM
13043 * simple.el (goto-line): Use read-number.
13044 (overriding-map-is-bound): Remove.
13045 (saved-overriding-map): Change default.
13046 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13047 Take the map as argument.
13048 (universal-argument, negative-argument, digit-argument): Use it.
13049 (restore-overriding-map): Adjust.
13050 (do-auto-fill): Use fill-forward-paragraph.
13051 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13052
fd6fa53f
SM
13053 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13054 (minibuffer-inactive-mode): New major mode.
13055 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13056 the *Messages* buffer" hack.
13057 (mouse-popup-menubar): Don't burp if the event is a normal key.
13058
2462470b
SM
13059 Miscellaneous tweaks.
13060 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13061 lexical scoping as in subr.el's dolist and dotimes.
13062 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13063 Silence compiler warning.
13064 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13065 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13066 * international/ccl.el (ccl-compile): Trivial simplification.
13067 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13068 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13069 `printflag' argument.
13070 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13071 Purecopy the whole obsolescence data.
13072
108bf785
LL
130732011-06-01 Leo Liu <sdl.web@gmail.com>
13074
13075 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13076 improve doc-string as suggested by Marco Pessotto
13077 <melmothx@gmail.com>.
13078 (rcirc-print): Fix last change.
13079
30a23501
SM
130802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * minibuffer.el (complete-with-action): Return nil for the metadata and
13083 boundaries of non-functional tables.
13084 (completion-table-dynamic): Return nil for the metadata.
13085 (completion-table-with-terminator): Add default case, using
13086 complete-with-action.
13087 (completion--metadata): New function.
13088 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13089 to try and avoid pathological performance problems.
13090 (completion--embedded-envvar-table): Return `category' metadata.
13091
bcd54f83
LMI
130922011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13093
13094 * subr.el (process-alive-p): New tiny convenience function.
13095
e227544d
SM
130962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13097
13098 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13099 content but also its previous major mode.
13100
e8296fdc
HE
131012011-05-31 Helmut Eller <eller.helmut@gmail.com>
13102
4d61f28d 13103 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13104 *Backtrace* buffer when we exit with C-M-c.
13105
620c53a6
SM
131062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13107
13108 * minibuffer.el: Add metadata method to completion tables.
13109 (completion-category-overrides): New defcustom.
13110 (completion-metadata, completion--field-metadata)
13111 (completion-metadata-get, completion--styles)
13112 (completion--cycle-threshold): New functions.
13113 (completion-try-completion, completion-all-completions):
13114 Add `metadata' argument to choose completion-styles.
13115 (completion--do-completion): Use metadata to choose cycling.
13116 (completion-all-sorted-completions): Use metadata for sorting.
13117 Remove :completion-cycle-penalty which is not needed any more.
13118 (completion--try-word-completion): Add `metadata' argument.
13119 (minibuffer-completion-help): Check metadata for annotation function
13120 and sorting.
13121 (completion-file-name-table): Return `category' metadata.
13122 (minibuffer-completing-file-name): Make obsolete.
13123 * simple.el (minibuffer-completing-symbol): Make obsolete.
13124 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13125 completion-try-completion.
13126
1257e755
SM
131272011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13130
3767e706
LL
131312011-05-30 Leo Liu <sdl.web@gmail.com>
13132
13133 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13134 (rcirc-print): Decode all incoming messages (bug#8744).
13135 (rcirc-decode-coding-system): Allow value nil for automatic coding
13136 system detection.
3767e706 13137
d1a5d56a
GM
131382011-06-01 Glenn Morris <rgm@gnu.org>
13139
13140 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13141
e8cbec34
CY
131422011-05-29 Chong Yidong <cyd@stupidchicken.com>
13143
13144 * image.el (image-animate-max-time): Allow nil and t values.
13145 Default to nil.
13146 (create-animated-image): Doc fix.
13147 (image-animate-start): Remove second arg; just use
13148 image-animate-max-time.
13149 (image-animate-timeout): Doc fix. Args changed.
13150
13151 * image-mode.el (image-toggle-display-image): Ensure that the
13152 image spec passed to the animate timer is the same object as in
58179cce 13153 the buffer's display property (Bug#6981).
e8cbec34
CY
13154 (image-transform-properties): Doc fix.
13155
13156 * image.el (image-animate-max-time): Default to nil.
13157
159daf87
MR
131582011-05-29 Martin Rudalics <rudalics@gmx.at>
13159
13160 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13161 entire buffer list (Bug#8184).
13162
d66c4c7c
CY
131632011-05-29 Chong Yidong <cyd@stupidchicken.com>
13164
13165 * image.el (imagemagick-types-inhibit)
13166 (imagemagick-register-types): Doc fix.
13167
80aec780
DD
131682011-05-29 Deniz Dogan <deniz@dogan.se>
13169
13170 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13171 default.
13172
1dd3c2d9
CY
131732011-05-29 Chong Yidong <cyd@stupidchicken.com>
13174
13175 * select.el: Don't perform clipboard-manager saving in hooks;
13176 leave the hooks empty.
13177
60e56523
LL
131782011-05-28 Leo Liu <sdl.web@gmail.com>
13179
13180 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13181 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13182 (occur-edit-mode): New major mode (Bug#8463).
13183 (occur-after-change-function): New function.
13184 (occur-engine): Give Occur tags a read-only property.
13185
2b1e1a22
KR
131862011-05-28 Kevin Ryde <user42@zip.com.au>
13187
13188 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13189
5d344e88
CY
131902011-05-28 Chong Yidong <cyd@stupidchicken.com>
13191
8e6ca83d
CY
13192 * bindings.el (help-echo): Make the initial non-indicator dash
13193 empty on graphical terminals (Bug#7295).
13194
5d344e88
CY
13195 * files.el (auto-mode-alist): Move config rule after the
13196 in-stripping one (Bug#8547).
13197
bfbbace7
CY
13198 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13199
fbeba6e2
CY
13200 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13201 setting (Bug#8740).
13202
60ed8c72
AA
132032011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13204
4ac619f0
AA
13205 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13206 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13207 (Bug#8539).
60ed8c72 13208
23db196e
CY
132092011-05-28 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13212
5012f24c
DK
132132011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13214
13215 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13216 (hs-hide-block-at-point, hs-find-block-beginning)
13217 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13218 (Bug#8279).
13219
6a639b16
GM
132202011-05-28 Glenn Morris <rgm@gnu.org>
13221
13222 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13223
d43eaf2c
CY
132242011-05-28 Chong Yidong <cyd@stupidchicken.com>
13225
5199bde1
CY
13226 * help-fns.el (describe-function-1): If the function is a derived
13227 major mode, print the parent mode.
13228
d43eaf2c
CY
13229 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13230 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13231
423428a8
SM
132322011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13233
0ff8e1ba 13234 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13235 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13236 * progmodes/etags.el (tags-completion-at-point-function):
13237 * info-look.el (info-lookup-completions-at-point): Mark as
13238 non-exclusive.
13239 (info-complete): Adjust accordingly.
13240
423428a8
SM
13241 * info-look.el: Convert to lexical-binding and completion-at-point.
13242 (info-lookup-completions-at-point): New function.
13243 (info-complete): Use it and completion-in-region.
13244
b74aa22b
DA
132452011-05-28 Drew Adams <drew.adams@oracle.com>
13246
13247 * isearch.el: Let M-e start with point at the first mismatched char.
13248 (isearch-fail-pos): New function.
13249 (isearch-edit-string): Use it.
13250
66e2e71d
DK
132512011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13252
13253 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13254
b1890b0f 132552011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13256
13257 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13258 traversal functions for avl-trees.
13259 (avl-tree--stack): New struct.
13260 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13261 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13262 (avl-tree--do-enter): Add optional `updatefun' arg.
13263 Change return value.
eb95d01d 13264 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13265 (avl-tree--do-delete): Add `test' and `nilflag' args.
13266 Change return value.
eb95d01d
TC
13267 (avl-tree-member): Add optional `nilflag'
13268 (avl-tree-member-p): New function.
13269 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13270 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13271 (avl-tree-stack-empty-p): New functions.
13272
3769ddcf
TC
13273 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13274 avl-tree--del-balance1 and make it work both ways.
13275 (avl-tree--del-balance2): Remove.
13276 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13277 make it work both ways.
13278 (avl-tree--enter-balance2): Remove.
13279 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13280 New macros.
13281 (avl-tree--mapc, avl-tree-map): Add direction argument.
13282
eb95d01d 132832011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13284
13285 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13286
a9f737ee
CY
132872011-05-27 Chong Yidong <cyd@stupidchicken.com>
13288
13289 * select.el: Support clipboard managers with built-in function
13290 x-clipboard-manager-save, via delete-frame-functions and
13291 kill-emacs-hook.
13292 (xselect-convert-to-targets): Add MULTIPLE target to list.
13293 (xselect-convert-to-save-targets): New function.
13294
c92a1e54
KH
132952011-05-27 Kenichi Handa <handa@m17n.org>
13296
13297 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13298 let-binding rfc2047-encode-encoded-words to nil.
13299
e145f188
GM
133002011-05-27 Glenn Morris <rgm@gnu.org>
13301
5ec8a862
GM
13302 * mail/emacsbug.el: Don't require url-util.
13303
4b29d9fb
GM
13304 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13305
e145f188
GM
13306 * files.el (set-auto-mode):
13307 Also respect mode: entries at the end of the file. (Bug#8586)
13308
7d15102b
GM
133092011-05-26 Glenn Morris <rgm@gnu.org>
13310
98f593b8
GM
13311 * files.el (hack-local-variables-prop-line, hack-local-variables):
13312 Downcase mode names, as seems to be traditional.
27b48e63 13313 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13314
7d15102b
GM
13315 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13316 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13317
51d5b4ec
JD
133182011-05-25 Julien Danjou <julien@danjou.info>
13319
13320 * textmodes/rst.el (rst-define-level-faces): Do not define face
13321 symbol if it is already defined.
13322
91513f63
VB
133232011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13324
13325 * play/5x5.el (5x5-new-game, 5x5-randomize):
13326 Reset 5x5-solver-output to nil when a new grid is cast.
13327 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13328 these debugging traces, as defmacro breaks the compiled code.
13329
4d90d6d0
DK
133302011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13331
13332 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13333
e1b90ef6
LL
133342011-05-24 Leo Liu <sdl.web@gmail.com>
13335
13336 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13337 (vc-bzr-sha1): Adapt.
13338
d8e4b68b 13339 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13340
13341 * bindings.el: Provide sha1 feature.
13342
db0406bb 133432011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13344
13345 * mail/sendmail.el: Require `rfc2047'.
13346 (mail-insert-from-field): Do not perform RFC2047 encoding.
13347 (mail-encode-header): New function.
13348 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13349 buffer to the return value of select-message-coding-system.
13350 Call mail-encode-header.
b8d747b9
KH
13351
13352 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13353
db0406bb 133542011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13355
4d90d6d0
DK
13356 * mail/supercite.el (sc-default-cite-frame):
13357 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13358
eb8a5e9b
GM
133592011-05-24 Glenn Morris <rgm@gnu.org>
13360
f8630703
GM
13361 * progmodes/python.el (brm-menu): Declare.
13362
8831bbed
GM
13363 * emulation/viper.el (viper-set-hooks): Declare.
13364
eb8a5e9b
GM
13365 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13366 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13367 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13368 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13369 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13370 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13371
a2a25d24
SM
133722011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 Add an :exit-function for completion-at-point.
13375
13376 * minibuffer.el (completion--done): New fun.
13377 (completion--do-completion): Use it. New arg `expect-exact'.
13378 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13379 since completion--do-completion does it for us now.
13380 (minibuffer-force-complete): Use completion--done and
13381 completion--replace. Handle sole-completion case with more care.
13382 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13383 (completion-extra-properties): New var.
13384 (completion-annotate-function): Make obsolete.
13385 (minibuffer-completion-help): Adjust accordingly.
13386 Use completion-list-insert-choice-function.
13387 (completion-at-point, completion-help-at-point):
13388 Bind completion-extra-properties.
13389 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13390 * simple.el (completion-list-insert-choice-function): New var.
13391 (completion-setup-function): Preserve it.
13392 (choose-completion): Pay attention to it, shuffle the code a bit.
13393 (choose-completion-string): New arg `insert-function'.
13394
13395 * textmodes/bibtex.el: Convert to lexical binding.
13396 (bibtex-mode-map): Use completion-at-point.
13397 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13398 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13399 (bibtex-complete): Define as obsolete alias.
13400 (bibtex-complete-internal): Remove.
13401 (bibtex-format-entry): Remove unused sub-group in regexp.
13402 * shell.el (shell--command-completion-data)
13403 (shell-environment-variable-completion):
13404 * pcomplete.el (pcomplete-completions-at-point):
13405 * comint.el (comint--complete-file-name-data): Use :exit-function
13406 instead of completion-table-with-terminator so it also works for
13407 choose-completion.
13408
e44e373d
SM
134092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13410
4f91a816
SM
13411 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13412
782fc819
SM
13413 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13414 (bug#8710).
13415
e44e373d
SM
13416 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13417
381987c3
KM
134182011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13419
13420 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13421 customization variable and implement: If non-nil, auto-fill will
13422 be inhibited while on topic's header line.
13423
b776bc70
VB
134242011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13425
13426 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13427 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13428 always have a solution in grid size = 5 cases.
13429 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13430 (5x5-solver-output, 5x5-log-buffer): New vars.
13431 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13432 Make these variables buffer local to achieve 5x5 multi-session-ness.
13433 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13434 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13435 (5x5-solve-suggest): New funs.
13436 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13437 randomize a grid so that we ensure that there is always a solution.
13438 (5x5-make-random-grid): Allow other movement than flipping.
13439
7de88b6e
KR
134402011-05-23 Kevin Ryde <user42@zip.com.au>
13441
13442 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13443 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13444 advice and passes PREDICATE.
13445
b1ef1257
SM
134462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13447
bbca48fe
SM
13448 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13449 byte-compile-lambda if it's actually a lambda.
13450
b1ef1257
SM
13451 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13452 Fix function quoting. Use backquote better.
13453
92a9cc65
YS
134542011-05-22 Yuanle Song <sylecn@gmail.com>
13455
13456 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13457 matching (Bug#8516).
13458
f0fb8059
JA
134592011-01-22 Jari Aalto <jari.aalto@cante.net>
13460
13461 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13462 different face (Bug#8178).
13463
d5b44c93
CY
134642011-05-22 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13467 defface (Bug#8144).
13468
79106a44
SM
134692011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13470
9c848d8a
SM
13471 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13472 funcall as well (bug#8712). Warn when performing those conversions.
13473 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13474
79106a44
SM
13475 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13476
88dfa756
GM
134772011-05-22 Glenn Morris <rgm@gnu.org>
13478
13479 * files.el (hack-local-variables-prop-line): Small simplifications.
13480 (hack-local-variables, hack-local-variables-prop-line):
13481 If MODE-ONLY, return the mode, rather than just `t'.
13482
b7cf2c79
SM
134832011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13484
13485 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13486
3f1a8558
GM
134872011-05-21 Glenn Morris <rgm@gnu.org>
13488
7e4ccca3
GM
13489 * files.el (hack-local-variables-prop-line, hack-local-variables):
13490 If only interested in the mode, don't bother doing the other stuff.
13491
637d46ca
GM
13492 * image-mode.el (image-after-revert-hook):
13493 Redraw all frames on which the image is visible. (Bug#8567)
13494
973d955b
GM
13495 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13496
3f1a8558
GM
13497 * wid-edit.el (widget-checklist-match-inline):
13498 Fix 2011-04-19 change. (Bug#8649)
13499
96479927
SM
135002011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13501
1dcf791f
SM
13502 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13503 Also allow singlespace after single-letter capitals followed by a dot.
13504
96479927
SM
13505 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13506 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13507
35fd0881
N
135082011-05-20 Nix <nix@esperi.org.uk>
13509
13510 * files.el (basic-save-buffer-2):
13511 Fix handling of break-hardlink-on-save with non-existent files.
13512
82745640
DD
135132011-05-19 Deniz Dogan <deniz@dogan.se>
13514
13515 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13516 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13517
4a720484
GM
135182011-05-19 Glenn Morris <rgm@gnu.org>
13519
d1f21341
GM
13520 * progmodes/f90.el (f90-type-def-re):
13521 Handle "type, bind(c)". (Bug#8691)
13522
4a720484
GM
13523 * emacs-lisp/autoload.el (batch-update-autoloads):
13524 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13525
2fb0a219
MA
135262011-05-18 Michael Albinus <michael.albinus@gmx.de>
13527
13528 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13529 property for the correct connection in case of multihops.
13530
e565dd37
GM
135312011-05-18 Glenn Morris <rgm@gnu.org>
13532
c2571358 13533 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13534 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13535
e565dd37
GM
13536 Rationalize calendar handling of day and month abbrev-arrays.
13537 * calendar/calendar.el (calendar-customized-p): New function.
13538 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13539 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13540 Add :set function.
13541 (calendar-abbrev-length, calendar-day-abbrev-array)
13542 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13543 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13544 Elements may no longer be nil.
13545 (calendar-day-name, calendar-month-name):
13546 Update for changed nature of abbrev arrays.
13547 * calendar/diary-lib.el (diary-name-pattern):
13548 Update for changed nature of abbrev arrays.
13549 (diary-mark-entries-1): Update calendar-make-alist calls.
13550 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13551 * calendar/cal-html.el (cal-html-day-abbrev-array):
13552 Simply inherit from calendar-day-abbrev-array.
13553
1d99a745
SM
135542011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * progmodes/grep.el (grep-mode): Disable default
13557 compilation-directory-matcher setting (bug#8684).
13558
7c1d9aa0
MA
135592011-05-17 Michael Albinus <michael.albinus@gmx.de>
13560
13561 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13562 instead of "head" and "tail". There were problems with SunOS 5.9,
13563 and it performs better.
13564
3952e9d8
GM
135652011-05-17 Glenn Morris <rgm@gnu.org>
13566
2dd12e7f
GM
13567 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13568
e4157b9c
GM
13569 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13570 Replace obsolete function.
13571
8e249bbd
GM
13572 * shell.el (pcomplete-parse-arguments-function): Declare.
13573
3952e9d8
GM
13574 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13575 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13576 (appt-check): Doc fixes.
13577 (appt-disp-window-function, appt-delete-window-function):
13578 Remove needless special case in custom :type.
13579 (appt-display-count): Default to 0, not nil.
13580 (appt-check): Reset appt-display-count to 0, not nil.
13581
c71a0d48 135822011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13583
c71a0d48
GM
13584 * progmodes/python.el (python-font-lock-keywords):
13585 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13586
31d55be9
SM
135872011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13590
3bfacb2f
KR
135912011-05-16 Kevin Ryde <user42@zip.com.au>
13592
13593 * info-look.el (makefile-automake-mode): New setups, looking in
13594 automake manual, then makefile-mode.
13595 (makefile-mode): Remove automake manual, have it just in
13596 makefile-automake-mode since there's various things different or
13597 not relevant to plain make.
13598 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13599 believe a hypothetical automake-mode would go to makefile-mode,
13600 not the other way around.
13601
c8e83751
CY
136022011-05-15 Chong Yidong <cyd@stupidchicken.com>
13603
5e9e35cd
CY
13604 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13605 hunk-end tags (Bug#8672).
13606
c8e83751
CY
13607 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13608 vc-annotate-show-diff-revision-at-line (Bug#8671).
13609
50b23e5a
GM
136102011-05-14 Glenn Morris <rgm@gnu.org>
13611
7210a739
GM
13612 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13613 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13614 (change-log-font-lock-keywords): Also handle multiple author lines
13615 with leading tabs. (Bug#8644)
7210a739 13616
4691905a
GM
13617 * calendar/appt.el (appt-check): Rename some local variables.
13618 Some simplification/reordering.
13619
50b23e5a
GM
13620 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13621 (feedmail-sendmail-f-doesnt-sell-me-out)
13622 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13623 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13624 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13625 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13626 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13627 (feedmail-binmail-gnulinuxish-template):
13628 Rename from feedmail-binmail-linuxish-template.
13629 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13630 Use insert-buffer-substring.
13631
215cda7c
BC
136322011-05-14 Bill Carpenter <bill@carpenter.org>
13633
13634 * mail/feedmail.el (feedmail-patch-level): Increase.
13635 (feedmail-debug): New custom group.
13636 (feedmail-confirm-outgoing-timeout)
13637 (feedmail-sendmail-f-doesnt-sell-me-out)
13638 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13639 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13640 (feedmail-sender-line, feedmail-from-line)
13641 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13642 (feedmail-spray-this-address)
215cda7c
BC
13643 (feedmail-spray-address-fiddle-plex-list)
13644 (feedmail-queue-use-send-time-for-date)
13645 (feedmail-queue-use-send-time-for-message-id)
13646 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13647 (feedmail-buffer-eating-function):
13648 Doc fixes.
13649 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13650 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13651 (feedmail-message-action-scroll-down): New functions.
13652 (feedmail-queue-directory, feedmail-queue-draft-directory):
13653 Use expand-file-name.
13654 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13655 Remove C-v help entry.
13656 (feedmail-queue-buffer-file-name): New variable.
13657 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13658 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13659 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13660 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13661 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13662 (feedmail-message-action-toggle-spray)
13663 (feedmail-run-the-queue-no-prompts)
13664 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13665 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13666 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13667 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13668 (feedmail-envelope-deducer, feedmail-fiddle-from)
13669 (feedmail-fiddle-sender, feedmail-default-date-generator)
13670 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13671 (feedmail-fiddle-spray-address)
13672 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13673 (feedmail-fiddle-list-of-fiddle-plexes)
13674 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13675 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13676 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13677 Change default. Doc fix.
13678 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13679 (feedmail-binmail-linuxish-template): New constant.
13680 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13681 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13682 (feedmail-send-it): Add debug call.
13683 Use feedmail-queue-buffer-file-name, and
13684 feedmail-send-it-immediately-wrapper.
13685 (feedmail-message-action-send): Add debug call.
13686 Use feedmail-send-it-immediately-wrapper.
13687 (feedmail-queue-express-to-queue): Add debug call.
13688 Run feedmail-queue-express-hook.
13689 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13690 (feedmail-message-action-help-blat):
13691 Rename from feedmail-queue-send-edit-prompt-help-first.
13692 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13693 Check line-endings. Handle errors better.
13694 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13695 Doc fix. Add debug call.
13696 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13697 Use feedmail-queue-send-edit-prompt-inner.
13698 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13699 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13700 from feedmail-queue-send-edit-prompt.
13701 (feedmail-queue-send-edit-prompt-help)
13702 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13703 (feedmail-tidy-up-slug): Add debug call.
13704 Respect feedmail-queue-slug-suspect-regexp.
13705 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13706 (feedmail-dump-message-to-queue): Add debug call.
13707 Expand queue-directory.
13708 (feedmail-dump-message-to-queue): Change message slightly.
13709 Use feedmail-say-chatter.
13710 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13711 (feedmail-send-it-immediately-wrapper): New function.
13712 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13713 Insert empty string rather than newline. Handle full-frame case.
13714 Use catch/throw. Use feedmail-say-chatter.
13715 (feedmail-fiddle-from): Try mail-host-address.
13716 (feedmail-default-message-id-generator): Doc fix.
13717 Bind system-time-locale. Handle missing end.
13718 (feedmail-fiddle-x-mailer): Add debug call.
13719 Handle feedmail-x-mailer-line being nil.
13720 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13721 Add debug call. Use buffer-substring-no-properties.
13722 (feedmail-say-debug, feedmail-say-chatter): New functions.
13723 (feedmail-find-eoh): Give an explicit error.
13724
42c7e61e
UJ
137252011-05-13 Ulf Jasper <ulf.jasper@web.de>
13726
c2571358 13727 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13728 family from helvetica to sans.
c2571358 13729 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13730 etc/images/newsticker.
13731
c2571358 13732 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13733 family from helvetica to sans.
13734
13735 * net/newst-plainview.el (newsticker-new-item-face)
13736 (newsticker-old-item-face, newsticker-immortal-item-face)
13737 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13738 (newsticker-statistics-face): Change default family from
42c7e61e 13739 helvetica to sans.
c2571358 13740 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13741 etc/images/newsticker.
13742
5d3385a0
JB
13743 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13744 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13745 auto-marking.
13746
8497a297
DV
137472011-05-13 Didier Verna <didier@xemacs.org>
13748
13749 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13750 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13751 TODO entries.
8497a297
DV
13752 (lisp-lambda-list-keyword-parameter-indentation)
13753 (lisp-lambda-list-keyword-parameter-alignment)
13754 (lisp-lambda-list-keyword-alignment): New customizable user options.
13755 (lisp-indent-defun-method): Improve docstring.
13756 (extended-loop-p): Fix comment.
13757 (lisp-indent-lambda-list-keywords-regexp): New variable.
13758 (lisp-indent-lambda-list): New function.
13759 (lisp-indent-259): Use it.
13760 (lisp-indent-defmethod): Support for more than one
13761 method qualifier and properly indent methods lambda-lists.
13762 (defgeneric): Provide a missing common-lisp-indent-function property.
13763
f278f87f
SM
137642011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13767 bounds for the empty string (bug#8667).
13768
5233edd7
GM
137692011-05-13 Glenn Morris <rgm@gnu.org>
13770
5237a44f
GM
13771 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13772
8340026c 13773 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13774 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13775
5233edd7 13776 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13777 (appt-time-msg-list): Doc fix.
a5464014 13778 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13779
92d10796
AS
137802011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13781
13782 * progmodes/ld-script.el (ld-script-keywords)
13783 (ld-script-builtins): Update keywords list.
13784
914a0ae1
SM
137852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13786
c89be45f
SM
13787 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13788
914a0ae1
SM
13789 * shell.el (shell-completion-vars): New function.
13790 (shell-mode):
13791 * simple.el (read-shell-command): Use it.
13792 (blink-matching-open): No need for " [...]" in minibuffer-message.
13793
98dc3df3
GM
137942011-05-12 Glenn Morris <rgm@gnu.org>
13795
13796 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13797 (appt-check): Simplify.
13798
d2fc7e3d 137992011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13800
4d61f28d 13801 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13802 literal "/dev/null".
13803
d2fc7e3d 138042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13805
13806 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13807 Fix typo.
13808
d2fc7e3d 138092011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13810
3f254caa
SM
13811 * progmodes/which-func.el (which-function):
13812 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13813 which might not be defined (Bug#8260).
13814
d45885f7
GM
138152011-05-12 Glenn Morris <rgm@gnu.org>
13816
13817 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13818 Let byte-compile-initial-macro-environment always take precedence.
13819
488086f4
SM
138202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * net/rcirc.el: Add support for SSL/TLS connections.
13823 (rcirc-server-alist): New field `encryption'.
13824 (rcirc): Check `encryption' settings.
13825 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13826 Merge make-local-variable into `set'.
13827 (rcirc--connection-open-p): New function.
13828 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13829 the process is not a network process (e.g. running gnutls-cli).
13830 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13831 Make rcirc-(en|de)code-coding-system local here.
13832 (rcirc-mode): Merge make-local-variable into `set'.
13833 (rcirc-parent-buffer): Make permanent buffer-local.
13834 (rcirc-multiline-minor-mode): Don't do it here.
13835 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13836 there's no server buffer.
13837
7d3b9d44
GM
138382011-05-11 Glenn Morris <rgm@gnu.org>
13839
f64049c6
GM
13840 * newcomment.el (comment-kill): Prefix "unused" local.
13841
93c9df73
GM
13842 * term/w32console.el (get-screen-color): Declare.
13843
7d3b9d44
GM
13844 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13845 Handle symbol elements of byte-compile-initial-macro-environment.
13846
9e2dd53f
LL
138472011-05-10 Leo Liu <sdl.web@gmail.com>
13848
488086f4
SM
13849 * bookmark.el (bookmark-bmenu-mode-map):
13850 Bind bookmark-bmenu-search to `/'.
8b340240 13851
9e2dd53f 13852 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13853 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13854 (Footnote-unicode): New function.
13855 (footnote-style-alist): Add unicode style to the list.
13856 (footnote-style): Doc fix.
9e2dd53f 13857
79b70037
GM
138582011-05-10 Jim Meyering <meyering@redhat.com>
13859
13860 Fix doubled-word typos.
13861 * international/quail.el (quail-insert-kbd-layout): and and -> and
13862 * kermit.el: and and -> and
13863 * net/ldap.el (ldap-search-internal): to to -> to
13864 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13865 * progmodes/js.el (js-mode): and and -> and
13866 * textmodes/artist.el (artist-move-to-xy): at at -> at
13867 (artist-draw-region-trim-line-endings): if if -> if
13868 And Safetyc -> Safety.
13869 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13870
b8f82dc1 138712011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13872 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13873
13874 * files.el (hack-one-local-variable-eval-safep):
13875 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13876
4f99f44b
GM
138772011-05-10 Glenn Morris <rgm@gnu.org>
13878
13879 * calendar/diary-lib.el (diary-list-entries-hook)
13880 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13881 (diary-nongregorian-marking-hook, diary-list-entries)
13882 (diary-include-other-diary-files, diary-mark-entries)
13883 (diary-mark-included-diary-files): Doc fixes.
13884
84f29e6b
JB
138852011-05-09 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * misc.el: Require tabulated-list.el during compilation.
13888
9bedd73a
CY
138892011-05-09 Chong Yidong <cyd@stupidchicken.com>
13890
488086f4
SM
13891 * progmodes/compile.el (compilation-start):
13892 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13893 (compilation-filter-hook): Doc fix.
13894
797c735c
DD
138952011-05-09 Deniz Dogan <deniz@dogan.se>
13896
13897 * wdired.el: Remove outdated installation comment. Fix usage
13898 comment.
13899
5f4b1dfe
JB
139002011-05-09 Juanma Barranquero <lekktu@gmail.com>
13901
13902 * misc.el: Implement new command `list-dynamic-libraries'.
13903 (list-dynamic-libraries--loaded-only-p): New variable.
13904 (list-dynamic-libraries--refresh): New function.
13905 (list-dynamic-libraries): New command.
13906
4c44026c
CY
139072011-05-09 Chong Yidong <cyd@stupidchicken.com>
13908
488086f4
SM
13909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13910 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13911 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13912 higher priority to avoid clobbering by gnu.
13913
027f966d
CY
139142011-05-08 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13917 if the face has existing theme settings (Bug#8454).
13918
085f5d7d
CY
139192011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13920
488086f4
SM
13921 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13922 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13923
2a86a00c
RS
13924 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13925 special file names `.' and `..' (Bug#8259).
13926
d9c54a06
CY
139272011-05-08 Chong Yidong <cyd@stupidchicken.com>
13928
488086f4
SM
13929 * progmodes/grep.el (grep-mode-font-lock-keywords):
13930 Remove buffer-changing entries.
d9c54a06
CY
13931 (grep-filter): New function.
13932 (grep-mode): Add it to compilation-filter-hook.
13933
13934 * progmodes/compile.el (compilation-filter-hook)
13935 (compilation-filter-start): New defvars.
13936 (compilation-filter): Call compilation-filter-hook prior to
13937 updating the process mark.
13938
c4662635
SM
139392011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13942
b0512a1d
EZ
139432011-05-07 Eli Zaretskii <eliz@gnu.org>
13944
605c9376
EZ
13945 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13946 mailclient-send-it even if window-system is nil. (Bug#8595)
13947
c4662635
SM
13948 * term/w32console.el (terminal-init-w32console):
13949 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13950 background-mode. (Bug#8597)
13951
d1dc2cc2
SM
139522011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13955 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13956 New functions.
13957 (defgeneric, eieio--defmethod): Use them.
13958 (eieio-defgeneric): Remove.
13959 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13960
915d1300
GM
139612011-05-07 Glenn Morris <rgm@gnu.org>
13962
a3961c3e
GM
13963 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13964 Use let rather than let*.
13965 (timeclock-find-discrep): Remove unused local.
13966
314347b9
GM
13967 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13968
915d1300
GM
13969 * calendar/appt.el (appt-time-msg-list): Doc fix.
13970
275b59b0
NF
139712011-05-06 Noah Friedman <friedman@splode.com>
13972
13973 * apropos.el (apropos-print-doc): Only use
13974 emacs-lisp-docstring-fill-column when it is bound to an integer,
13975 per that variable's documentation.
13976
6c19f744
SM
139772011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13980 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13981
60f884b2
GM
139822011-05-06 Glenn Morris <rgm@gnu.org>
13983
5006e634
GM
13984 * calendar/appt.el (appt-message-warning-time): Doc fix.
13985 (appt-warning-time-regexp): New option.
13986 (appt-make-list): Respect appt-message-warning-time.
13987
548d0a63
GM
13988 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13989 New options.
13990 (diary-add-to-list): Strip comments from the displayed string.
13991 (diary-mode): Set comment-start and comment-end.
13992
60f884b2
GM
13993 * vc/diff-mode.el (smerge-refine-subst): Declare.
13994 (diff-refine-hunk): Don't require smerge-mode when compiling.
13995
989681bb
JB
139962011-05-06 Juanma Barranquero <lekktu@gmail.com>
13997
13998 * simple.el (list-processes): Return nil as the docstring says.
13999
a6bc05e1
MA
140002011-05-05 Michael Albinus <michael.albinus@gmx.de>
14001
14002 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14003 to "".
14004 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14005 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14006 determining of binary transfer. (Bug#7383)
14007
23c22e9a
MA
140082011-05-05 Michael Albinus <michael.albinus@gmx.de>
14009
c4662635
SM
14010 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14011 Fix port computation bug. (Bug#8618)
23c22e9a 14012
0bff894f
GM
140132011-05-05 Glenn Morris <rgm@gnu.org>
14014
b8296902
GM
14015 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14016
1f522ce8
GM
14017 * simple.el (shell-dynamic-complete-functions)
14018 (comint-dynamic-complete-functions): Declare.
14019
cf5bee67
GM
14020 * net/network-stream.el (gnutls-negotiate):
14021 * simple.el (tabulated-list-print): Fix declarations.
14022
14023 * progmodes/gud.el (syntax-symbol, syntax-point):
14024 Remove unnecessary and incorrect declarations.
14025
0bff894f
GM
14026 * emacs-lisp/check-declare.el (check-declare-scan):
14027 Handle byte-compile-initial-macro-environment in bytecomp.el
14028
9869b3ae
SM
140292011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 Fix earlier half-done eieio-defmethod change (bug#8338).
14032 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14033 Streamline and change calling convention.
14034 (defmethod): Adjust accordingly and simplify.
14035 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14036 new eieio--defmethod.
14037 (slot-boundp): Minor CSE simplification.
14038
9c1d5ac5
MZ
140392011-05-05 Milan Zamazal <pdm@zamazal.org>
14040
14041 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14042 (glasses-make-readable): Use glasses-separate-capital-groups.
14043
455c834e
JB
140442011-05-05 Juanma Barranquero <lekktu@gmail.com>
14045
14046 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14047 (warning-series): Doc fix.
14048 (display-warning): Don't try to create the buffer if we just found it.
14049
9ed7c8cb
CY
140502011-05-04 Chong Yidong <cyd@stupidchicken.com>
14051
14052 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14053 (autoload-find-generated-file): New function.
14054 (generate-file-autoloads): Bind generated-autoload-file to
14055 buffer-file-name.
9869b3ae
SM
14056 (update-file-autoloads, update-directory-autoloads):
14057 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14058 output file (Bug#7989).
14059 (batch-update-autoloads): Doc fix.
14060
0898ca10
JB
140612011-05-04 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14064
31dfb76c
GM
140652011-05-04 Glenn Morris <rgm@gnu.org>
14066
f330b642
GM
14067 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14068 function, so it follows changes in calendar-date-style.
14069 (diary-fancy-date-matcher): New function.
14070 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14071 (diary-fancy-font-lock-fontify-region-function):
14072 Use diary-fancy-date-pattern as a function.
14073
31dfb76c
GM
14074 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14075 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14076
48e79d6a
TZ
140772011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14078
14079 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14080 instead of positional arguments. Allow :keylist and :crlfiles
14081 arguments.
14082 (open-gnutls-stream): Call it.
14083
14084 * net/network-stream.el (network-stream-open-starttls): Adjust to
14085 call `gnutls-negotiate' with :process and :hostname arguments.
14086
dd5a5ee0
SM
140872011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14088
ef80fc09
SM
14089 * minibuffer.el (completion--message): New function.
14090 (completion--do-completion, minibuffer-complete)
14091 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14092 (completion--do-completion): Don't ignore completion-auto-help when in
14093 icomplete-mode.
14094
dd5a5ee0
SM
14095 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14096 internal encoding (e.g. tibetan zero is not whitespace).
14097 (global-whitespace-mode): Prefer save-current-buffer.
14098 (whitespace-trailing-regexp): Remove useless save-match-data.
14099 (whitespace-empty-at-bob-regexp): Minor simplification.
14100
b7d22a83
CY
141012011-05-03 Chong Yidong <cyd@stupidchicken.com>
14102
14103 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14104
5192af46
AM
141052011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14106
14107 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14108 Use `concat' to create string for insertion.
5192af46 14109
5767d190
SM
141102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14113 Avoid open-line which runs post-self-insert-hook.
14114 (bibtex-fill-entry): Remove unused `end' var.
14115
bf242939
AM
141162011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14117
5767d190
SM
14118 * textmodes/ispell.el (ispell-add-per-file-word-list):
14119 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14120
25666126
LL
141212011-05-03 Leo Liu <sdl.web@gmail.com>
14122
14123 * isearch.el (isearch-yank-pop): New command.
5767d190 14124 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14125 (isearch-forward): Mention it.
14126
52d3c2d0
SM
141272011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14128
1bcace58
SM
14129 * simple.el (minibuffer-complete-shell-command): Remove.
14130 (minibuffer-local-shell-command-map): Use completion-at-point.
14131 (read-shell-command): Setup completion vars here instead.
14132 (read-expression-map): Bind TAB to symbol completion.
14133
52d3c2d0
SM
14134 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14135 error directly rather via storing it into `results'.
14136
35813471
LL
141372011-05-02 Leo Liu <sdl.web@gmail.com>
14138
14139 * vc/diff.el: Fix description.
14140
e793a940
LMI
141412011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14142
14143 * server.el (server-eval-at): New function.
14144
8de66e05
LMI
141452011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14146
14147 * net/network-stream.el (open-network-stream): Take a :nowait
14148 parameter and pass it on to `make-network-process'.
14149 (network-stream-open-plain): Ditto.
14150
dcb79f20
AS
141512011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14152
14153 * faces.el (face-spec-set-match-display): Don't match toolkit
14154 options on terminal frames.
14155
14a7fbd8
SM
141562011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14157
7eabc1be
SM
14158 * progmodes/pascal.el: Use lexical binding.
14159 (pascal-mode-map): Remove author preferences.
14160
14a7fbd8
SM
14161 * pcomplete.el (pcomplete-std-complete): Don't abuse
14162 completion-at-point.
14163
50f84510
JB
141642011-04-28 Juanma Barranquero <lekktu@gmail.com>
14165
6e087a44
JB
14166 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14167 removing code that has been dead since 1991 or so.
14168
50f84510
JB
14169 * startup.el (command-line): When warning about "_emacs", use a
14170 delayed warning to allow the user to filter it out.
14171
0ba690bd
DD
141722011-04-28 Deniz Dogan <deniz@dogan.se>
14173
14174 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14175 user has not joined.
14176
08abfaad
SM
141772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14180 aren't any completions at point.
14181
638f053a
JB
141822011-04-28 Juanma Barranquero <lekktu@gmail.com>
14183
14184 * subr.el (display-delayed-warnings): New function.
14185 (delayed-warnings-hook): New variable.
14186
8fff8daa
SM
141872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14188
08abfaad
SM
14189 * minibuffer.el (completion-at-point, completion-help-at-point):
14190 Don't presume that a given completion-at-point-function will always
14191 use the same calling convention.
14192
8fff8daa
SM
14193 * pcomplete.el (pcomplete-completions-at-point):
14194 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14195 pcomplete-seen is non-nil.
14196 (pcomplete-comint-setup): Also recognize the new comint/shell
14197 completion functions.
14198 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14199 pcomplete-seen is non-nil.
14200
841a1577 142012011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14202
841a1577 14203 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14204 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14205 the first character in the entry. This allows for code to add its
211ec907
UJ
14206 own uid to the entry.
14207 (icalendar--convert-float-to-ical): Add export of
14208 `diary-float'-entries save for those with the optional DAY
14209 argument.
14210
2a782793
DC
142112011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14212
14213 * subr.el (shell-quote-argument): Use alternate escaping strategy
14214 when we spot a variable reference in a string.
14215
0438ce91
DC
142162011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14217
14218 * cus-start.el (all): Define customization for debug-on-event.
14219
841a1577 142202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14221
14222 * subr.el (shell-quote-argument): Escape correctly under Windows.
14223
d090ed6c
SM
142242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14227
bfd31217
MA
142282011-04-25 Michael Albinus <michael.albinus@gmx.de>
14229
d090ed6c
SM
14230 * net/tramp.el (tramp-process-actions): Add POS argument.
14231 Delete region between POS and (pos).
bfd31217 14232
d090ed6c
SM
14233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14234 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14235 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14236
14237 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14238 position in `tramp-process-actions' call.
14239
14240 * net/trampver.el: Update release number.
14241
e92f3bd3
SM
142422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14243
850256b5
SM
14244 * custom.el (defcustom): Obey lexical-binding.
14245
e92f3bd3
SM
14246 Fix octave-inf completion problems reported by Alexander Klimov.
14247 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14248 Inherit from octave-mode-syntax-table.
14249 (inferior-octave-mode): Set info-lookup-mode.
14250 (inferior-octave-completion-at-point): New function.
14251 (inferior-octave-complete): Use it and completion-in-region.
14252 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14253 comint-filename-completion.
14254 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14255 symbol elements which shouldn't be word elements.
14256 (octave-font-lock-keywords, octave-beginning-of-defun)
14257 (octave-function-header-regexp): Adjust regexps accordingly.
14258 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14259
cd22b309
JB
142602011-04-25 Juanma Barranquero <lekktu@gmail.com>
14261
14262 * net/gnutls.el (gnutls-errorp): Declare before first use.
14263
8b492194
TZ
142642011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14265
14266 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14267 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14268 default trustfile exists before going to use it. Add missing
5a5fa834 14269 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14270 Reported by Claudio Bley <claudio.bley@gmail.com>.
14271 (open-gnutls-stream): Add usage example.
14272
14273 * net/network-stream.el (network-stream-open-starttls): Give host
14274 parameter to `gnutls-negotiate'.
14275 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14276 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14277
841a1577 142782011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14279
cd22b309
JB
14280 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14281 Use correct match group (bug#8438).
05842630 14282
3ba7869c
CY
142832011-04-24 Chong Yidong <cyd@stupidchicken.com>
14284
512e3ae1
CY
14285 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14286 (package-menu--generate): New arg specifying packages to show.
14287 (package-menu-refresh, package-menu-execute, list-packages):
14288 Callers changed.
14289 (package-show-package-list): New function, replacing deleted
14290 package--list-packages (renamed because it is non-internal).
14291
14292 * finder.el (finder-list-matches): Use package-show-package-list
14293 instead of deleted package--list-packages.
14294
e92f3bd3
SM
14295 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14296 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14297 (vc-annotate-mode-map): Bind it to RET.
14298
7031be6d
UR
142992011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14300
14301 * progmodes/etags.el (next-file): Don't use set-buffer to change
14302 buffers (Bug#8478).
14303
4ef177aa
CY
143042011-04-24 Chong Yidong <cyd@stupidchicken.com>
14305
c8d173eb
CY
14306 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14307
4ef177aa
CY
14308 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14309 (apropos-accumulator): Doc fix.
14310 (apropos-function, apropos-macro, apropos-command)
14311 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14312 (apropos-plist): Add face property.
14313 (apropos-symbols-internal): Fix indentation.
14314 (apropos-print): Simplify help, and recognize apropos-multi-type.
14315 (apropos-print-doc): Use button-type-get to extract the button's
14316 face property. Fill docstring (Bug#8352).
14317
4ffd0d6b 143182011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14319
14320 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14321
c6c32125 14322 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14323 (mpuz-mode-map): Use mapc.
c6c32125
JB
14324 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14325 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14326 Fix typos in docstrings.
14327
58d468b4
JB
14328 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14329 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14330
6470c3c6
JB
14331 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14332
4ffd0d6b 143332011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14334
14335 * minibuffer.el (completion--do-completion): Avoid the "Next char
14336 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14337
3ad8bad0
CY
14338 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14339 mouse-2 into unread-command-events, it is interpreted correctly.
14340
71d73c9c 14341 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14342 (image-toggle-display): Doc fix.
71d73c9c 14343
841a1577 143442011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14345
4ffd0d6b
GM
14346 * textmodes/page.el (what-page): Use line-number-at-pos to
14347 calculate line number (Bug#6825).
6e1dbaa9 14348
c2fb1b60
JB
143492011-04-22 Juanma Barranquero <lekktu@gmail.com>
14350
14351 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14352 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14353 Pass argument NO-DEFAULT to `find-tag-interactive'.
14354
e02f48d7
JB
143552011-04-22 Juanma Barranquero <lekktu@gmail.com>
14356
14357 Lexical-binding cleanup.
14358
14359 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14360 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14361 * progmodes/ada-prj.el (ada-prj-initialize-values)
14362 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14363 (ada-prj-show-value):
14364 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14365 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14366 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14367 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14368 * progmodes/bug-reference.el (bug-reference-push-button):
14369 * progmodes/fortran.el (fortran-line-length):
14370 * progmodes/glasses.el (glasses-change):
14371 * progmodes/octave-mod.el (octave-fill-paragraph):
14372 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14373 (python-pdbtrack-grub-for-buffer, python-sentinel):
14374 * progmodes/sql.el (sql-save-connection):
14375 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14376 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14377 Mark unused parameters.
14378
14379 * progmodes/compile.el (compilation--flush-directory-cache)
14380 (compilation--flush-parse, compile-internal): Mark unused parameters.
14381 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14382 (compilation-next-error-function): Remove unused variable `timestamp'.
14383
14384 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14385 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14386
14387 * progmodes/dcl-mode.el (dcl-end-of-command):
14388 Remove unused variable `start'.
14389 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14390 (dcl-option-value-basic, dcl-option-value-offset)
14391 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14392 Mark unused parameters.
14393 (dcl-save-local-variable): Remove unused variable `val'.
14394 (mode): Declare.
14395
14396 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14397 Mark unused parameters.
14398 (delphi-ignore-changes): Move before first use.
14399 (delphi-charset-token-at): Remove unused variable `start'.
14400 (delphi-else-start): Remove unused variable `if-count'.
14401 (delphi-comment-block-start, delphi-comment-block-end):
14402 Remove unused variable `kind'.
14403 (delphi-indent-line): Remove unused variable `new-point'.
14404
14405 * progmodes/ebrowse.el (ebrowse-files-list)
14406 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14407 Mark unused parameters. Don't quote `lambda'.
14408 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14409 Don't quote `lambda'.
14410 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14411 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14412 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14413 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14414 Use `ignore-errors'.
14415 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14416 (ebrowse-view/find-file-and-search-pattern)
14417 (ebrowse-view/find-member-declaration/definition):
14418 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14419 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14420 Rename parameter PREFIX-ARG to PREFIX.
14421 (ebrowse-tags-read-name): Remove unused variables `start' and
14422 `member-info'.
14423 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14424 to `tags-file'.
14425
14426 * progmodes/etags.el (local-find-tag-hook): Declare.
14427 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14428 Mark unused parameters.
14429
14430 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14431 (executable-interpret): Mark unused parameter.
14432
14433 * progmodes/flymake.el (flymake-process-sentinel)
14434 (flymake-after-change-function)
14435 (flymake-create-temp-with-folder-structure)
14436 (flymake-get-include-dirs-dot): Mark unused parameters.
14437 (flymake-safe-delete-directory): Remove unused variable `err'.
14438
14439 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14440 (speedbar-timer-fn, speedbar-line-text)
14441 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14442 (speedbar-center-buffer-smartly): Declare functions.
14443 (gdb-find-watch-expression): Remove unused variable `array'.
14444 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14445 (gdb-starting): Mark unused parameters.
14446 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14447 (gdb-table-string): Remove unused variable `res'.
14448 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14449 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14450 (gdb-display-buffer): Remove unused variable `cur-size'.
14451
14452 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14453 allow lexical-binding compilation.
14454 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14455 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14456 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14457 Mark unused parameters.
14458 (gud-gdb-marker-filter): Remove unused variable `match'.
14459 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14460 lambda expressions and funcall them, instead of using `fset'.
14461
14462 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14463 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14464
14465 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14466 variable `header-beg'; use `let'.
14467
14468 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14469 `restart', `last-sexp' and `at-do'.
14470
14471 * progmodes/js.el (js--debug): Mark unused parameter.
14472 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14473 (js--splice-into-items): Remove unused variable `item'.
14474 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14475
14476 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14477 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14478 (makefile-complete): Remove unused variable `try'.
14479 (makefile-fill-paragraph, makefile-match-function-end):
14480 Mark unused parameters.
14481
14482 * progmodes/octave-inf.el (inferior-octave-complete):
14483 Remove unused variable `proc'.
14484 (inferior-octave-output-digest): Mark unused parameter.
14485
14486 * progmodes/perl-mode.el (perl-calculate-indent):
14487 Remove unused variable `err'.
14488
14489 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14490 (prolog-indent-line): Mark unused parameters.
14491 (prolog-indent-line): Remove unused variable `beg'.
14492
14493 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14494 (reporter-dont-compact-list): Declare.
14495
14496 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14497 Remove unused variable `char'.
14498 (sh-debug): Mark unused parameter.
14499 (sh-get-indent-info): Remove unused variable `start'.
14500 (sh-calculate-indent): Remove unused variable `var'.
14501
14502 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14503 (simula-electric-keyword): Remove unused variable `null'.
14504 (simula-search-backward, simula-search-forward): Remove unused
14505 variables `begin' and `end'.
14506
14507 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14508 Remove unused variable `pos'.
14509 (vera-electric-tab, vera-comment-uncomment-region):
14510 Mark unused parameters.
14511 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14512
7ede3b65
CY
145132011-04-22 Chong Yidong <cyd@stupidchicken.com>
14514
14515 * emacs-lisp/package.el (package--builtins, package-alist)
14516 (package-load-descriptor, package-built-in-p, package-activate)
14517 (define-package, package-installed-p)
14518 (package-compute-transaction, package-buffer-info)
14519 (package--push): Doc fix. Distinguish more clearly between
14520 version strings and version lists.
14521
121656e9
JB
145222011-04-21 Juanma Barranquero <lekktu@gmail.com>
14523
14524 Lexical-binding cleanup.
14525
14526 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14527 (5x5-make-mutate-best):
14528 * play/fortune.el (fortune-in-buffer):
14529 * play/gomoku.el (gomoku-init-display):
14530 * play/solitaire.el (solitaire, solitaire-do-check):
14531 * play/tetris.el (tetris-default-update-speed-function):
14532 Mark unused parameters.
14533
14534 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14535 (bubbles--shift): Remove unused variable `char-org'.
14536 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14537 (bubbles--show-images): Remove unused variable `char'.
14538
14539 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14540 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14541 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14542 (decipher-analyze-buffer): Use ?\s.
14543 (decipher-make-checkpoint): Remove unused variable `mapping'.
14544
14545 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14546
14547 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14548 Remove unused variable `result'; use `let'.
14549
14550 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14551 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14552 (gametree-children-shown-p, gametree-compute-reduced-score):
14553 Use `ignore-errors'.
14554
14555 * play/handwrite.el (ps-lpr-switches): Declare.
14556 (handwrite): Remove unused variables `pmin' and `lastp'.
14557
14558 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14559
14560 * play/landmark.el (landmark-init-display)
14561 (landmark-update-naught-weights): Mark unused parameters.
14562 (landmark-y): Remove unused variable `noise'. Simplify.
14563 (landmark-human-plays): Remove unused variable `score'.
14564
14565 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14566 (mpuz-try-proposal): Remove unused variable `game'.
14567
14568 * play/zone.el (life-patterns): Declare.
14569
80f499c7
JB
145702011-04-20 Juanma Barranquero <lekktu@gmail.com>
14571
14572 * vc/vc.el (ediff-vc-internal): Declare function.
14573
024ff170
SM
145742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14575
c0a193ea
SM
14576 * shell.el: Use lexical-binding and std completion UI.
14577 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14578 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14579 comint-preoutput-filter-functions rather than on
14580 comint-output-filter-functions.
14581 (shell-command-completion, shell--command-completion-data)
14582 (shell-filename-completion, shell-environment-variable-completion)
14583 (shell-c-a-p-replace-by-expanded-directory): New functions.
14584 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14585 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14586 (shell-dynamic-complete-environment-variable): Use them.
14587 (shell-dynamic-complete-as-environment-variable)
14588 (shell-dynamic-complete-as-command): Remove.
14589 (shell-match-partial-variable): Match past point.
14590 * comint.el: Clean up use of completion-at-point-functions.
14591 (comint-completion-at-point): New function.
14592 (comint-mode): Use it completion-at-point-functions.
14593 (comint-dynamic-complete): Make it obsolete.
14594 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14595 (comint-c-a-p-replace-by-expanded-history): New function.
14596 (comint-dynamic-complete-functions)
14597 (comint-replace-by-expanded-history): Use it.
14598 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14599 termination strings. Try harder to avoid second try-completion.
14600 (completion-in-region-mode-map): Disable bindings that don't work yet.
14601
2dbaa080
SM
14602 * comint.el: Use lexical-binding. Require CL.
14603 (comint-dynamic-complete-functions): Use comint-filename-completion.
14604 (comint-completion-addsuffix): Tweak custom type.
14605 (comint-filename-completion, comint--common-suffix)
14606 (comint--common-quoted-suffix, comint--table-subvert)
14607 (comint--complete-file-name-data): New functions.
14608 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14609 (comint-dynamic-list-filename-completions): Use them.
14610 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14611
2dbaa080
SM
14612 * minibuffer.el (completion-in-region-mode):
14613 Keep completion-in-region-mode--predicate global.
14614 (completion-in-region--postch):
14615 Assume completion-in-region-mode--predicate is not null.
14616
c79a6f38
SM
14617 * progmodes/flymake.el (flymake-start-syntax-check-process):
14618 Obey `dir'. Simplify.
14619
024ff170
SM
14620 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14621 we're in VC after all.
14622
1c6c854e
CS
146232011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14624
14625 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14626 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14627 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14628
bed7f140
SM
146292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14630
332e62ab
SM
14631 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14632 add sanity check.
14633
bed7f140
SM
14634 * obsolete/erc-hecomplete.el: Make obsolete.
14635 * obsolete/: Standardize obsolescence info in the header.
14636
f195c582
GM
146372011-04-20 Glenn Morris <rgm@gnu.org>
14638
14639 * calendar/solar.el (solar-horizontal-coordinates):
14640 Use the longitude argument rather than `calendar-longitude'.
14641 (solar-date-next-longitude): Remove unused locals.
14642
cb79b8c0
VJL
146432011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14644
14645 * whitespace.el: New version 13.2.1.
14646
146472011-04-20 felix <EmacsWiki> (tiny change)
14648
d8e4b68b 14649 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14650 switching between major modes on a file.
14651
602ea69d
SM
146522011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14655 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14656 multi-line comments as well.
14657
06b60517
JB
146582011-04-19 Juanma Barranquero <lekktu@gmail.com>
14659
14660 Lexical-binding cleanup.
14661
14662 * arc-mode.el (archive-mode-revert):
14663 * cmuscheme.el (scheme-interactively-start-process):
14664 * custom.el (custom-initialize-delay):
14665 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14666 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14667 * emacs-lock.el (emacs-lock-clear-sentinel):
14668 * ezimage.el (defezimage):
14669 * follow.el (follow-avoid-tail-recenter):
14670 * fringe.el (set-fringe-mode-1):
14671 * generic-x.el (bat-generic-mode-compile):
14672 * help-mode.el (help-info-variable, help-do-xref)
14673 (help-mode-revert-buffer):
14674 * help.el (view-emacs-todo):
14675 * iswitchb.el (iswitchb-completion-help):
14676 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14677 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14678 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14679 * locate.el (locate-update):
14680 * longlines.el (longlines-encode-region)
14681 (longlines-after-change-function):
14682 * outline.el (outline-isearch-open-invisible):
14683 * ps-def.el (declare-function, charset-dimension, char-width)
14684 (encode-char):
14685 * ps-mule.el (ps-mule-plot-string):
14686 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14687 (recentf-edit-list-select, recentf-edit-list-validate)
14688 (recentf-open-files-action):
14689 * rect.el (delete-whitespace-rectangle-line)
14690 (rectangle-number-line-callback):
14691 * register.el (window-configuration-to-register)
14692 (frame-configuration-to-register):
14693 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14694 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14695 (xselect-convert-to-targets, xselect-convert-to-delete)
14696 (xselect-convert-to-filename, xselect-convert-to-charpos)
14697 (xselect-convert-to-lineno, xselect-convert-to-colno)
14698 (xselect-convert-to-os, xselect-convert-to-host)
14699 (xselect-convert-to-user, xselect-convert-to-class)
14700 (xselect-convert-to-name, xselect-convert-to-integer)
14701 (xselect-convert-to-atom, xselect-convert-to-identity):
14702 * subr.el (declare, ignore, process-kill-without-query)
14703 (text-clone-maintain):
14704 * terminal.el (te-get-char, te-tic-sentinel):
14705 * tool-bar.el (tool-bar-make-keymap):
14706 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14707 * type-break.el (type-break-mode, type-break-noninteractive-query):
14708 * view.el (View-back-to-mark):
14709 * wid-browse.el (widget-browse-action, widget-browse-widget)
14710 (widget-browse-widgets, widget-browse-sexp):
14711 * widget.el (define-widget-keywords):
14712 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14713 Mark unused parameters.
14714
14715 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14716 (align-areas): Remove unused variable `look'.
14717 (align-region): Remove unused variables `real-end' and `pos-list'.
14718
14719 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14720
14721 * bindings.el (mode-line-modified, mode-line-remote):
14722 Mark unused parameters.
14723 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14724
14725 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14726 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14727
14728 * comint.el (comint-history-isearch-pop-state)
14729 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14730 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14731 (comint-substitute-in-file-name): Doc fix.
14732
14733 * completion.el (cmpl-statistics-block): Mark unused parameter.
14734 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14735 (save-completions-to-file, load-completions-from-file):
14736 Remove unused local variable `e'.
14737
14738 * composite.el (compose-chars): Remove unused variable `len'.
14739 (lgstring-insert-glyph): Remove unused variable `g'.
14740 (compose-glyph-string): Remove unused variables `ascent',
14741 `descent', `lbearing' and `rbearing'.
14742 (compose-glyph-string-relative): Remove unused variables
14743 `lbearing', `rbearing' and `wadjust'.
14744 (compose-gstring-for-graphic): Remove unused variables `header',
14745 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14746 (compose-gstring-for-terminal): Remove unused variables `header'
14747 and `nchars'. Use `let', not `let*'.
14748
14749 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14750 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14751 (Custom-buffer-done, custom-buffer-create-internal)
14752 (custom-browse-visibility-action, custom-browse-group-tag-action)
14753 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14754 (widget-magic-mouse-down-action, custom-toggle-parent)
14755 (custom-add-parent-links, custom-toggle-hide-variable)
14756 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14757 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14758 (custom-face-menu-create, custom-variable-menu-create, get)
14759 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14760 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14761 (customize-apropos): Remove unused variable `tests'.
14762 (custom-group-value-create): Remove unused variable `hidden-p'.
14763 (sort-fold-case): Declare.
14764
14765 * cus-theme.el (custom-reset-standard-faces-list)
14766 (custom-reset-standard-variables-list): Declare.
14767 (customize-create-theme, custom-theme-revert, custom-theme-write)
14768 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14769 Mark unused parameters.
14770
14771 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14772
14773 * delim-col.el (delimit-columns-max): Move defvar before first use.
14774
14775 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14776 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14777
14778 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14779 (auto-insert): Declare.
14780 (desktop-restore-file-buffer): Rename desktop-* parameters;
14781 mark unused ones.
14782 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14783 (desktop-buffer): Rename desktop-* parameters.
14784
14785 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14786 (dframe-reposition-frame-xemacs, dframe-help-echo)
14787 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14788 Mark unused parameters.
14789
14790 * dired-aux.el (backup-extract-version-start, overwrite-query)
14791 (overwrite-backup-query, rename-regexp-query)
14792 (rename-non-directory-query): Declare.
14793 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14794 (dired-add-entry): Remove unused variable `orig-file-name'.
14795 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14796 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14797 `dired-copy-preserve-time' directly.
14798 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14799 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14800
14801 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14802 (dired-virtual-revert, dired-make-relative-symlink):
14803 Mark unused parameters.
14804 (manual-program): Declare.
14805 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14806 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14807 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14808
14809 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14810
14811 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14812
14813 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14814 Declare.
14815
14816 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14817
14818 * electric.el (Electric-command-loop): Rename parameter
14819 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14820
14821 * expand.el (expand-in-literal): Remove unused variable `here'.
14822
14823 * facemenu.el (facemenu-add-new-color):
14824 Remove unused variable `docstring'.
14825
14826 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14827 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14828 (face-attr-construct): Mark unused parameter. Doc fix.
14829 (read-color): Remove unused variable `hex-string'.
14830
14831 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14832 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14833 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14834 (display-buffer-other-frame): Remove unused variable `old-window'.
14835 (kill-buffer-hook): Declare.
14836 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14837 Mark unused parameters.
14838 (after-find-file): Pass 1 to `auto-save-mode', not t.
14839
14840 * files-x.el (auto-insert): Declare.
14841 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14842
14843 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14844 variable `buf'. Mark unused parameter.
06b60517
JB
14845 (find-lisp-insert-directory): Mark unused parameter.
14846
14847 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14848 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14849 (format-common-tail): Remove, unused.
14850 (format-deannotate-region): Remove unused variable `loc'.
14851 (format-annotate-region): Remove unused variable `p'.
14852 (format-annotate-single-property-change): Remove unused variables
14853 `default' and `tail'.
14854
14855 * forms.el (read-file-filter): Declare.
14856 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14857
14858 * frame.el (frame-creation-function-alist): Mark unused parameter.
14859 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14860
14861 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14862 Remove unused parameters.
14863 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14864 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14865
14866 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14867 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14868 (hfy-prepare-tag-map): Mark unused parameters.
14869 (htmlfontify-buffer): Use `called-interactively-p'.
14870
14871 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14872 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14873 (ibuffer-do-occur): Mark unused parameters.
14874 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14875 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14876
14877 * ibuffer.el: Don't quote `lambda'.
14878 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14879 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14880 Mark unused parameters.
14881
14882 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14883 (ido-completing-read): Mark unused parameters.
14884 (ido-copy-current-word): Mark unused parameters;
14885 remove unused variable `name'.
14886 (ido-sort-merged-list): Remove unused parameter `dirs'.
14887
14888 * ielm.el (ielm-input-sender): Mark unused parameter.
14889 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14890 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14891 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14892 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14893 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14894
14895 * image-dired.el (image-dired-display-thumbs): Remove unused
14896 variables `curr-file' and `count'.
14897 (image-dired-remove-tag): Remove unused variable `start'.
14898 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14899 variable `curr-file'
14900 (image-dired-rotate-original): Remove unused variable `temp-file'.
14901 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14902 Remove unused variable `file'.
14903 (image-dired-gallery-generate): Remove unused variable `curr'.
14904 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14905
14906 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14907
14908 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14909
14910 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14911
14912 * isearch.el (minibuffer-history-symbol): Declare.
14913 (isearch-edit-string): Remove unused variable `err'.
14914 (isearch-message-prefix, isearch-message-suffix):
14915 Mark unused parameters.
14916
14917 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14918
14919 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14920
14921 * makesum.el (double-column): Remove unused variable `cnt'.
14922
14923 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14924 (ido-ignore-item-temp-list): Declare.
14925
14926 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14927 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14928 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14929 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14930 `mouse-col-delta'.
14931
14932 * mouse-sel.el (mouse-extend-internal):
14933 Remove unused variable `orig-window-frame'.
14934
14935 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14936 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14937 Move declarations before first use.
14938 (pcomplete-opt): Mark unused parameters; doc fix.
14939
14940 * proced.el (proced-revert): Mark unused parameter.
14941 (proced-send-signal): Remove unused variable `err'.
14942
14943 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14944 Rename parameter PREFIX-ARG to ARG.
14945 (ps-basic-plot-string, ps-basic-plot-whitespace):
14946 Mark unused parameters.
14947
14948 * replace.el (replace-count): Define.
14949 (occur-revert-function): Mark unused parameters.
14950 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14951 (isearch-case-fold-search, isearch-string): Declare.
14952 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14953 bind `case-fold-search'. Remove unused variables `beg' and `end',
14954 and simplify.
14955 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14956 COUNT and bind `replace-count'.
14957 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14958 to COUNT.
14959
14960 * savehist.el (print-readably, print-string-length): Declare.
14961
14962 * shadowfile.el (shadow-expand-cluster-in-file-name):
14963 Remove unused variable `cluster'.
14964 (shadow-copy-file): Remove unused variable `i'.
14965 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14966 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14967 (shadow-define-literal-group, shadow-define-regexp-group)
14968 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14969
14970 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14971 (shell): Use `called-interactively-p'.
14972 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14973
14974 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14975 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14976 (delete-backward-char): Remove unused variable `ocol'.
14977 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14978 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14979 (event-apply-hyper-modifier, event-apply-shift-modifier)
14980 (event-apply-control-modifier, event-apply-meta-modifier):
14981 Mark unused parameters.
14982 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14983 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14984
14985 * speedbar.el (speedbar-ignored-directory-expressions)
14986 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14987 (speedbar-find-file, speedbar-dir-follow)
14988 (speedbar-directory-buttons-follow, speedbar-tag-find)
14989 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14990 (speedbar-buffers-line-directory, speedbar-buffer-click):
14991 Mark unused parameters.
14992 (speedbar-tag-file): Remove unused variable `mode'.
14993 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14994
14995 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14996
14997 * talk.el (talk): Remove unused variable `display'.
14998
14999 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15000 (tar-write-region-annotate): Mark unused parameter.
15001
15002 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15003 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15004 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15005 warning by another.
15006
15007 * time-stamp.el (time-stamp-string-preprocess):
15008 Remove unused variable `require-padding'.
15009
15010 * tree-widget.el (widget-glyph-enable): Declare.
15011 (tree-widget-action): Mark unused parameter.
15012
15013 * w32-fns.el (x-get-selection): Mark unused parameter.
15014 (autoload-make-program, generated-autoload-file): Declare.
15015
15016 * wdired.el (wdired-revert): Mark unused parameters.
15017 (wdired-xcase-word): Remove unused variable `err'.
15018
15019 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15020 (whitespace-help-scroll): Remove unused variable `data-help'.
15021
15022 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15023 (widget-image-insert, widget-after-change, default)
15024 (widget-default-format-handler, widget-default-notify)
15025 (widget-default-prompt-value, widget-info-link-action)
15026 (widget-url-link-action, widget-function-link-action)
15027 (widget-variable-link-action, widget-file-link-action)
15028 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15029 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15030 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15031 (widget-insert-button-action, widget-delete-button-action, visibility)
15032 (widget-documentation-link-action, widget-documentation-string-action)
15033 (widget-const-prompt-value, widget-regexp-match, symbol)
15034 (widget-coding-system-prompt-value)
15035 (widget-key-sequence-value-to-external, sexp)
15036 (widget-sexp-value-to-internal, character, vector, cons)
15037 (widget-choice-prompt-value, widget-boolean-prompt-value)
15038 (widget-color--choose-action): Mark unused parameters.
15039 (widget-item-match-inline, widget-choice-match-inline)
15040 (widget-checklist-match, widget-checklist-match-inline)
15041 (widget-group-match): Rename parameter VALUES to VALS.
15042 (widget-field-value-set): Remove unused variable `size'.
15043 (widget-color-action): Remove unused variables `value' and `start'.
15044
15045 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15046 variable `dir'. Doc fix.
06b60517
JB
15047 (windmove-find-other-window): Don't pass it.
15048
15049 * window.el (count-windows): Mark unused parameter.
15050 (bw-adjust-window): Remove unused variable `err'.
15051
15052 * woman.el (woman-file-name): Remove unused variable `default'.
15053 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15054 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15055 (global-font-lock-mode): Declare.
15056 (woman-decode-region): Mark unused parameter.
15057 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15058
15059 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15060 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15061 (x-dnd-handle-moz-url): Remove unused variable `title'.
15062 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15063
15064 * xml.el (xml-parse-tag, xml-parse-attlist):
15065 Remove unused variable `pos'.
15066
bc4f7f3d
GM
150672011-04-19 Glenn Morris <rgm@gnu.org>
15068
15069 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15070 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15071 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15072 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15073 * calendar/cal-html.el (cal-html-insert-minical):
15074 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15075 (calendar-mark-date-pattern):
15076 Prefix "unused" locals.
15077
15078 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15079 optional argument `style'.
15080
15081 * calendar/appt.el (appt-make-list):
15082 * calendar/cal-china.el (calendar-chinese-date-string):
15083 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15084 (diary-hebrew-yahrzeit):
15085 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15086 * calendar/calendar.el (calendar-generate-window):
15087 * calendar/time-date.el (time-to-days):
15088 Remove unused local variables.
15089
16a43933
CY
150902011-04-18 Chong Yidong <cyd@stupidchicken.com>
15091
15092 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15093 glyphless-char-display table.
15094 (tabulated-list-glyphless-char-display): New var.
15095
7eed1860
SS
150962011-04-18 Sam Steingold <sds@gnu.org>
15097
15098 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15099 to acknowledgments.
15100
4d2d1ccd
GM
151012011-04-17 Glenn Morris <rgm@gnu.org>
15102
15103 * calendar/diary-lib.el (diary-sexp-entry):
15104 * calendar/holidays.el (holiday-sexp):
15105 Set debug-on-error rather than the removed stack-trace-on-error.
15106
239da61d
GM
151072011-04-16 Glenn Morris <rgm@gnu.org>
15108
15109 * progmodes/f90.el: Use lexical-binding.
15110 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15111
8b05752a
SM
151122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15113
daca8ba5
SM
15114 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15115 (mail-mode): Setup mailalias completion here instead.
15116 * mail/mailalias.el: Use lexical-binding.
15117 (pattern, mailalias-done): Declare dynamic.
15118 (mail-completion-at-point-function): New function, from mail-complete.
15119 (mail-complete): Use it.
15120 (mail-completion-expand): New function.
15121 (mail-get-names): Use it.
15122 (mail-directory, mail-directory-process, mail-directory-stream):
15123 Don't use `pattern' for lexically bound arg.
15124
6f542485
SM
15125 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15126
037e7c3f
SM
15127 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15128 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15129 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15130
8b05752a
SM
15131 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15132 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15133 (byte-interactive-p): Define them again, for use when inlining
15134 old code.
15135
49093f60
JB
151362011-04-15 Juanma Barranquero <lekktu@gmail.com>
15137
15138 * loadup.el: Use `string-to-number', not `string-to-int'.
15139
b5b8e7de
SM
151402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15141
15142 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15143 gud-gdb-complete-command.
15144 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15145 (gud-gdb-completion-at-point): New function.
15146 (gud-gdb-completions): Remove.
15147
f42efeb5
MA
151482011-04-14 Michael Albinus <michael.albinus@gmx.de>
15149
49093f60
JB
15150 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15151 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15152 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15153 whether `executable-find' is bound.
f42efeb5
MA
15154
15155 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15156
e240cc21
SM
151572011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * minibuffer.el (completion-in-region-mode-predicate)
15160 (completion-in-region-mode--predicate): New vars.
15161 (completion-in-region, completion-in-region--postch)
15162 (completion-in-region-mode): Use them.
15163 (completion--capf-wrapper): Also return the hook function.
15164 (completion-at-point, completion-help-at-point):
15165 Adjust and provide a predicate.
c2bd2ab0
SM
15166
15167 Preserve arg names for advice of subr and lexical functions (bug#8457).
15168 * help-fns.el (help-function-arglist): Consolidate the subr and
15169 new-byte-code cases. Add argument `preserve-names' to extract names
15170 from the docstring when needed.
15171 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15172 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15173 (ad-arglist): Use help-function-arglist's new arg.
15174 (ad-definition-type): Use cond.
15175
c183f693
JB
151762011-04-13 Juanma Barranquero <lekktu@gmail.com>
15177
06641a47
JB
15178 * autorevert.el (auto-revert-handler):
15179 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15180 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15181 Don't quote lambda.
15182
c183f693
JB
15183 * image-mode.el (image-transform-set-scale):
15184 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15185
1e3b6001
G
151862011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15187
15188 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15189 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15190 Upgrades via gnutls-cli are too slow to be done opportunistically.
15191
2d6af8dd
JB
151922011-04-12 Juanma Barranquero <lekktu@gmail.com>
15193
15194 * dframe.el (dframe-current-frame): Remove spurious quote.
15195
c0749a51
GM
151962011-04-12 Glenn Morris <rgm@gnu.org>
15197
088d0d61
GM
15198 * calendar/cal-tex.el (cal-tex-end-document):
15199 Try to automatically use latin1 input if needed.
15200
c0749a51
GM
15201 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15202 Don't try to cons a mark onto an empty element.
15203
5c90fde0
LL
152042011-04-11 Leo Liu <sdl.web@gmail.com>
15205
15206 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15207 buffers.
15208 (ido-kill-buffer-at-head): Support killing virtual buffers.
15209
369e974d
CY
152102011-04-10 Chong Yidong <cyd@stupidchicken.com>
15211
15212 * minibuffer.el (completion-show-inline-help): New var.
15213 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15214 (minibuffer-force-complete, minibuffer-complete-word):
15215 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15216
15217 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15218 to avoid interference from inline help (Bug#5849).
15219
37f1c930
LL
152202011-04-10 Leo Liu <sdl.web@gmail.com>
15221
099c39a4
JB
15222 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15223 Fix typo.
37f1c930 15224
a32d4040
CY
152252011-04-09 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * image-mode.el (image-toggle-display-image): Signal an error if
15228 not in Image mode.
15229 (image-transform-mode, image-transform-resize)
15230 (image-transform-set-rotation): Doc fix.
daca8ba5 15231 (image-transform-set-resize): Delete.
a32d4040
CY
15232 (image-transform-set-scale, image-transform-fit-to-height)
15233 (image-transform-fit-to-width): Handle image-toggle-display-image
15234 and image-transform-resize directly.
15235
099c39a4 152362011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15237
15238 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15239 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15240 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15241 (doc-view-mode-map): Add bindings for the new functions.
15242
099c39a4 152432011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15244
4d61f28d 15245 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15246 Fix typo in docstring.
15247
3726838a
EZ
152482011-04-08 Eli Zaretskii <eliz@gnu.org>
15249
04f33f1e
EZ
15250 * files.el (file-size-human-readable): Produce one digit after
15251 decimal, like "ls -lh" does.
15252
15253 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15254 the file size representation.
15255
3726838a
EZ
15256 * simple.el (list-processes): If async subprocesses are not
15257 available, error out with a clear error message.
15258
cbb59342
CY
152592011-04-08 Chong Yidong <cyd@stupidchicken.com>
15260
15261 * help.el (help-form-show): New function, to be called from C.
15262 Put help-form output in a buffer named differently than *Help*.
15263
e3971c44
EZ
152642011-04-08 Eli Zaretskii <eliz@gnu.org>
15265
15266 * files.el (file-size-human-readable): New function.
15267
15268 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15269 computing the representation inline. Don't require `cl'.
15270
12544bbe
GM
152712011-04-08 Glenn Morris <rgm@gnu.org>
15272
a1de6c6a
GM
15273 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15274
3c4671f4
GM
15275 * net/browse-url.el (browse-url-firefox):
15276 Test system-type, not system-configuration.
15277
b605679c
GM
15278 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15279 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15280 Use log-edit-empty-buffer-p. (Bug#7598)
15281
56442f0c
GM
15282 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15283 (rlogin-mode-map): Initialize in the defvar.
15284 (rlogin): Use ignore-errors.
15285
12544bbe
GM
15286 * replace.el (occur-mode-map): Some fixes for menu items.
15287
eb237b0f
AH
152882011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15289
15290 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15291
7d668f2c
CY
152922011-04-06 Chong Yidong <cyd@stupidchicken.com>
15293
e67a13ab
CY
15294 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15295 issuing unused warnings.
15296
15297 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15298 macro directly.
15299
7d668f2c
CY
15300 * simple.el: Lisp reimplement of list-processes. Based on an
15301 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15302 (process-menu-mode): New major mode.
15303 (list-processes--refresh, list-processes):
15304 (process-menu-visit-buffer): New functions.
15305
15306 * files.el (save-buffers-kill-emacs): Don't assume any return
15307 value of list-processes, which is undocumented anyway.
15308
a83ec3c9
CY
153092011-04-06 Chong Yidong <cyd@stupidchicken.com>
15310
15311 * emacs-lisp/tabulated-list.el: New file.
15312
e91a96fe
CY
15313 * emacs-lisp/package.el: Use Tabulated List mode.
15314 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15315 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15316 table format using Tabulated List mode variables.
15317 (package--push): New macro, replacing package-list-maybe-add.
15318 (package-menu--generate): Use package--push. Renamed from
15319 package--generate-package-list.
15320 (package-menu-refresh, list-packages): Use it.
daca8ba5 15321 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15322 Return insertion data instead of inserting it directly.
099c39a4
JB
15323 (package-menu-describe-package, package-menu-execute):
15324 Use tabulated-list-get-id.
e91a96fe
CY
15325 (package-menu-mark-delete, package-menu-mark-install)
15326 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15327 (package-menu-mark-obsolete-for-deletion):
15328 Use tabulated-list-put-tag.
e91a96fe
CY
15329 (package--list-packages, package-menu-revert)
15330 (package-menu-get-package, package-menu-get-version)
15331 (package-menu-sort-by-column): Functions deleted.
15332 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15333 (package-menu--status-predicate, package-menu--version-predicate)
15334 (package-menu--name-predicate)
15335 (package-menu--description-predicate): Handle arguments in the
15336 Tabulated List format.
15337 (package-list-packages-no-fetch): Call list-packages.
15338
3e214b50
JB
153392011-04-06 Juanma Barranquero <lekktu@gmail.com>
15340
15341 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15342 (after-find-file): Don't bind it.
3e214b50
JB
15343 (revert-buffer-in-progress-p): New variable.
15344 (revert-buffer): Bind it.
15345 Pass nil for `after-find-file-from-revert-buffer'.
15346
15347 * saveplace.el (save-place-find-file-hook): Use new variable
15348 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15349
3f0f1700
GM
153502011-04-06 Glenn Morris <rgm@gnu.org>
15351
c0274801
GM
15352 * Makefile.in (AUTOGEN_VCS): New variable.
15353 (autoloads): Use $AUTOGEN_VCS.
15354
3f0f1700
GM
15355 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15356 * calendar/calendar.el (calendar-mode-map):
15357 Check for toolkit scroll bars. (Bug#8305)
15358
41ea9e48
CY
153592011-04-05 Chong Yidong <cyd@stupidchicken.com>
15360
15361 * minibuffer.el (completion-in-region--postch)
15362 (completion-in-region-mode): Remove unnecessary messages.
15363
6194c800
JB
153642011-04-05 Juanma Barranquero <lekktu@gmail.com>
15365
33256f14
JB
15366 * font-lock.el (font-lock-refresh-defaults):
15367 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15368 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15369
6194c800
JB
15370 * info.el (Info-directory-list, Info-read-node-name-2)
15371 (Info-split-parameter-string): Doc fixes.
15372 (Info-virtual-nodes): Reflow docstring.
15373 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15374 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15375 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15376 Fix typos in docstrings.
15377 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15378 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15379 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15380 (Info-restore-desktop-buffer): Mark unused parameters.
15381 (Info-directory-find-file, Info-directory-find-node)
15382 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15383 (Info-virtual-index-find-node, Info-apropos-find-file)
15384 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15385 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15386 (Info-virtual-index): Remove unused local variable `nodename'.
15387
b87a8200 153882011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15389
b87a8200
DD
15390 * net/rcirc.el: Update my e-mail address.
15391 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15392
3b2ff876
CY
153932011-04-05 Chong Yidong <cyd@stupidchicken.com>
15394
15395 * startup.el (command-line): Save the cursor's theme-face
15396 directly, instead of using face-override-spec.
15397
15398 * custom.el (load-theme): Minor optimization in assigning faces.
15399
8d17e7ca
JB
154002011-04-04 Juanma Barranquero <lekktu@gmail.com>
15401
15402 * help-fns.el (describe-variable): Complete all variables having
15403 documentation, including keywords.
15404 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15405
2fbc1934
JB
154062011-04-04 Juanma Barranquero <lekktu@gmail.com>
15407
15408 Convert to lexical-binding.
15409
15410 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15411 (bs--get-marked-string, bs--get-modified-string)
15412 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15413 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15414 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15415
15416 * ehelp.el (electric-help-execute-extended)
15417 (electric-help-ctrl-x-prefix):
15418 * hexl.el (hexl-revert-buffer-function):
15419 * linum.el (linum-after-change, linum-after-scroll):
15420 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15421
15422 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15423
74f50695
DU
154242011-04-04 Daiki Ueno <ueno@unixuser.org>
15425
15426 * epa-dired.el:
15427 * epa-mail.el:
15428 * epa-hook.el:
15429 * epa-file.el:
15430 * epa.el:
15431 * epg.el: Use lexical binding.
15432
c11325f7
CY
154332011-04-03 Chong Yidong <cyd@stupidchicken.com>
15434
0d9e9a12
CY
15435 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15436
c11325f7 15437 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15438 dictionary case for flyspell-mark-duplications-exceptions.
15439 Use regexp matching for languages.
c11325f7
CY
15440 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15441 default dictionary (Bug#7926).
15442
da91b5f2
CY
154432011-04-02 Chong Yidong <cyd@stupidchicken.com>
15444
099c39a4
JB
15445 * emacs-lisp/package.el (package--with-work-buffer):
15446 Recognize https URLs.
da91b5f2 15447
099c39a4
JB
15448 * net/network-stream.el: Move from gnus/proto-stream.el.
15449 Change prefix to network-stream throughout.
da91b5f2
CY
15450 (open-protocol-stream): Merge into open-network-stream, leaving
15451 open-protocol-stream as an alias. Handle nil BUFFER args.
15452
15453 * subr.el (open-network-stream): Move to net/network-stream.el.
15454
afa8e9f6
GM
154552011-04-02 Glenn Morris <rgm@gnu.org>
15456
1d2e369d
GM
15457 * find-dired.el (find-exec-terminator): New option.
15458 (find-ls-option): Test for -ls support.
15459 (find-ls-subdir-switches): Test for -b in find-ls-option.
15460 (find-dired, find-grep-dired): Doc fixes.
15461 (find-dired): Use find-exec-terminator.
15462
8abb7da8 15463 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15464 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15465 (find-name-arg): Remove purecopy.
8abb7da8 15466
f3ca7378
GM
15467 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15468 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15469 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15470 accordingly. Don't add the null-device if not needed.
15471
afa8e9f6
GM
15472 * files.el (save-some-buffers): Doc fix.
15473
35eae264
EZ
154742011-04-02 Eli Zaretskii <eliz@gnu.org>
15475
15476 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15477
26b51db5
JB
154782011-04-01 Juanma Barranquero <lekktu@gmail.com>
15479
15480 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15481 Use `dolist' rather than `mapcar'.
15482
7200d79c
SM
154832011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15484
03408648 15485 Add lexical binding.
7200d79c 15486
03408648
SM
15487 * subr.el (apply-partially): Use new closures rather than CL.
15488 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15489 (dolist, dotimes): Use slightly different expansion for lexical code.
15490 (functionp): Move to C.
15491 (letrec): New macro.
15492 (with-wrapper-hook): Use it and apply-partially instead of CL.
15493 (eval-after-load): Preserve lexical-binding.
15494 (save-window-excursion, with-output-to-temp-buffer): Turn them
15495 into macros.
7200d79c 15496
03408648
SM
15497 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15498
15499 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15500 than the arglist.
15501 (help-add-fundoc-usage): Don't add `Not documented'.
15502 (help-function-arglist): Handle closures, subroutines, and new
15503 byte-code-functions.
15504 (help-make-usage): Remove leading underscores.
15505 (describe-function-1): Handle closures.
15506 (describe-variable): Use special-variable-p for completion.
15507
15508 * files.el (lexical-binding): Declare safe.
f488fb65 15509
03408648
SM
15510 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15511 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15512 (pcase): Add `let' pattern.
15513 Change memoization so it actually works.
15514 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15515 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15516 <let>: New case.
f488fb65 15517
03408648
SM
15518 * emacs-lisp/macroexp.el: Use lexical binding.
15519 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15520 Don't convert ' to #' without checking that it's indeed quoting
15521 a lambda.
15522
15523 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15524 Use eval-sexp-add-defvars.
03408648
SM
15525 (eval-sexp-add-defvars): New fun.
15526
15527 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15528
15529 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15530 Don't autoload.
15531 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15532 than the internal `byte-compile-lambda'.
15533 (defmethod): Don't hide code under quotes.
15534 (eieio-defmethod): New `code' argument.
15535
15536 * emacs-lisp/eieio-comp.el: Remove.
15537
15538 * emacs-lisp/edebug.el (edebug-eval-defun)
15539 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15540 (edebug-toggle): Avoid `eval'.
15541
15542 * emacs-lisp/disass.el (disassemble-internal): Handle new
15543 `closure' objects.
15544 (disassemble-1): Handle new byte codes.
15545
15546 * emacs-lisp/cl.el (pushnew): Silence warning.
15547
15548 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15549 (cl-byte-compile-throw): Remove.
15550 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15551
15552 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15553 closures.
15554
15555 * emacs-lisp/cconv.el: New file.
15556
15557 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15558 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15559 (byte-compile-initial-macro-environment):
15560 Handle declare-function here.
15561 (byte-compile--lexical-environment): New var.
15562 (byte-stack-ref, byte-stack-set, byte-discardN)
15563 (byte-discardN-preserve-tos): New lap codes.
15564 (byte-interactive-p): Don't use any more.
15565 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15566 New macros.
15567 (byte-compile-lapcode): Use them and handle new lap codes.
15568 (byte-compile-obsolete): Remove.
15569 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15570 (byte-compile-arglist-warn): Check late def of inlinable funs.
15571 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15572 since they should have been expanded by now.
15573 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15574 (byte-compile-from-buffer): Remove unused second arg.
15575 (byte-compile-preprocess): New function.
15576 (byte-compile-toplevel-file-form): New function to distinguish
15577 file-form calls from outside from file-form calls from hunk-handlers.
15578 (byte-compile-file-form): Simplify.
15579 (byte-compile-file-form-defsubst): Remove.
15580 (byte-compile-file-form-defmumble): Simplify now that
15581 byte-compile-lambda always returns a byte-code-function.
15582 (byte-compile): Preprocess.
15583 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15584 Remove, not used any more.
15585 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15586 (byte-compile-make-args-desc): New funs.
15587 (byte-compile-lambda): Handle lexical functions. Always return
15588 a byte-code-function.
15589 (byte-compile-reserved-constants): New var, to make up room for
15590 closed-over variables.
15591 (byte-compile-constants-vector): Obey it.
15592 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15593 (byte-compile-macroexpand-declare-function): New function.
15594 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15595 byte-code-functions.
15596 (byte-compile-form): Check obsolescence here.
15597 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15598 (byte-compile-variable-ref): Remove.
15599 (byte-compile-dynamic-variable-op): New fun.
15600 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15601 (byte-compile-variable-set): New funs.
15602 (byte-compile-discard): Add 2 args.
15603 (byte-compile-stack-ref, byte-compile-stack-set)
15604 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15605 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15606 macroexpand-all instead.
15607 (byte-compile-quote-form): Remove.
15608 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15609 (byte-compile-bind, byte-compile-unbind): New funs.
15610 (byte-compile-let): Handle let* and lexical binding.
15611 (byte-compile-let*): Remove.
15612 (byte-compile-catch, byte-compile-unwind-protect)
15613 (byte-compile-track-mouse, byte-compile-condition-case):
15614 Handle a new :fun-body form, used for lexical scoping.
15615 (byte-compile-save-window-excursion)
15616 (byte-compile-with-output-to-temp-buffer): Remove.
15617 (byte-compile-defun): Simplify.
15618 (byte-compile-stack-adjustment): New fun.
15619 (byte-compile-out): Use it.
15620 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15621
15622 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15623 handler any more.
15624
15625 * emacs-lisp/byte-opt.el: Use lexical binding.
15626 (byte-inline-lapcode): Remove (to bytecomp).
15627 (byte-compile-inline-expand): Pay attention to inlining to/from
15628 lexically bound code.
15629 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15630 any more.
15631 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15632 any more and don't call compiler-macros.
15633 (byte-compile-splice-in-already-compiled-code): Remove.
15634 (byte-code): Don't inline any more.
15635 (disassemble-offset): Receive `bytes' as argument rather than via
15636 dynamic scoping.
15637 (byte-compile-tag-number): Declare before first use.
15638 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15639 `return' even if make-spliceable.
15640 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15641 obsolete interactive-p.
15642 (byte-optimize-lapcode): Optimize new lap-codes.
15643 Don't trip up on new form of `byte-constant' lap code.
15644
15645 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15646
15647 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15648
15649 * custom.el (custom-initialize-default, custom-declare-variable):
15650 Use `defvar'.
15651
15652 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15653 New variables.
15654 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15655 (COMPILE_FIRST): Add macroexp and cconv.
15656 * makefile.w32-in: Mirror changes in Makefile.in.
15657
15658 * vc/cvs-status.el:
15659 * vc/diff-mode.el:
15660 * vc/log-edit.el:
15661 * vc/log-view.el:
15662 * vc/smerge-mode.el:
15663 * textmodes/bibtex-style.el:
090bd7cb 15664 * textmodes/css-mode.el:
03408648
SM
15665 * startup.el:
15666 * uniquify.el:
da91b5f2
CY
15667 * minibuffer.el:
15668 * newcomment.el:
15669 * reveal.el:
15670 * server.el:
15671 * mpc.el:
15672 * emacs-lisp/smie.el:
15673 * doc-view.el:
15674 * dired.el:
03408648
SM
15675 * abbrev.el: Use lexical binding.
15676
0f0c1f27
EZ
156772011-04-01 Eli Zaretskii <eliz@gnu.org>
15678
15679 * info.el (info-display-manual): New function.
15680
c82b2579
SM
156812011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15684
221ddf68
TH
156852011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15686
15687 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15688 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15689
cba6e77e
GM
156902011-03-31 Glenn Morris <rgm@gnu.org>
15691
e040639f
GM
15692 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15693
cba6e77e
GM
15694 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15695
6d0f1c9e
CS
156962011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15697
15698 * progmodes/python.el (python-default-interpreter)
15699 (python-python-command-args, python-jython-command-args)
15700 (python-which-shell, python-which-args, python-which-bufname)
15701 (python-file-queue, python-comint-output-filter-function)
15702 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15703 variables and functions.
15704
3e2d70fd
SM
157052011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15706
15707 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15708 (completion-in-region-mode): New minor mode.
15709 (completion-in-region): Use it.
15710 (completion-in-region--data, completion-in-region-mode-map): New vars.
15711 (completion-in-region--postch): New function.
15712 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15713 New vars.
15714 (completion--capf-wrapper): New function.
15715 (completion-at-point): Use it to track well-behavedness of
15716 hook functions.
15717 (completion-help-at-point): New command.
15718
f3e4086c
JM
157192011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15720
15721 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15722 syntax class to search for whitespace on a single line
15723 (Message-ID: <4D938140.4030905@redhat.com>).
15724
eb7ffc14
LL
157252011-03-30 Leo Liu <sdl.web@gmail.com>
15726
15727 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15728 New commands.
15729 (edit-abbrevs-map): Bind them here.
15730 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15731
d806ab68
KM
157322011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15733
15734 * allout.el (allout-hide-by-annotation, allout-flag-region):
15735 Reduce possibility of overlay leakage by making them volatile.
15736
15737 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15738 hash is not shared between buffers. Mode initialization is
15739 responsible for giving it a useful starting value.
15740 (allout-item-span): Reduce possibility of overlay leakage by
15741 making them volatile.
15742 (allout-widgets-count-buttons-in-region): Add diagnostic function
15743 for tracking down button overlay leaks.
15744
ea622834
LL
157452011-03-29 Leo Liu <sdl.web@gmail.com>
15746
15747 * ido.el (ido-read-internal): Use the default history var
15748 minibuffer-history if no HISTORY is specified.
15749
b62f8267
G
157502011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15751
03408648
SM
15752 * net/imap.el (imap-shell-open, imap-process-connection-type):
15753 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15754 Kerberos, SSL, other subprocesses.
15755
947b6566
LL
157562011-03-28 Leo Liu <sdl.web@gmail.com>
15757
15758 * abbrev.el (abbrev-table-empty-p): New function.
15759 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15760 nonempty ones. (Bug#5937)
15761
5ffb62aa
JD
157622011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15763
15764 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15765
7a097943
LL
157662011-03-27 Leo Liu <sdl.web@gmail.com>
15767
15768 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15769 for foreground and background colors.
15770 (ansi-color-make-color-map): Adapt.
15771
c5b40130
LL
157722011-03-25 Leo Liu <sdl.web@gmail.com>
15773
1f48f7d2
LL
15774 * midnight.el (midnight-time-float): Remove. Note it calculates
15775 the microsecond component incorrectly and seconds-to-time does the
15776 same job.
625897ec 15777 Remove redundant (require 'timer).
1f48f7d2 15778
c5b40130
LL
15779 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15780 (ido-completions): Remove unused arguments. (Bug#8329)
15781
d86d2721
SM
157822011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15783
15784 * minibuffer.el (completion--flush-all-sorted-completions):
15785 Remove itself from hook.
15786 (completion-at-point): Let the functions perform the completion
15787 immediately and return nil or t.
15788 * comint.el (comint-dynamic-complete-functions): Now identical to
15789 completion-at-point-functions.
15790 (comint-dynamic-list-input-ring): Remove unused var `index'.
15791 (comint--match-partial-filename, comint--unquote&expand-filename):
15792 New funs, split from comint-match-partial-filename.
15793 (comint-dynamic-complete): Use completion-at-point.
15794 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15795
e8974c48
DA
157962011-03-24 Drew Adams <drew.adams@oracle.com>
15797
15798 * thingatpt.el: Support `defun'.
15799
def71b5e
LL
158002011-03-23 Leo Liu <sdl.web@gmail.com>
15801
cb5af48e
LL
15802 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15803
def71b5e
LL
15804 * help-mode.el (help-mode-finish): Tweak regexp.
15805
927c53e7
GM
158062011-03-23 Glenn Morris <rgm@gnu.org>
15807
18d05bed
GM
15808 * eshell/esh-opt.el (eshell-eval-using-options):
15809 Do not bind unused local variable `eshell-option-stub'.
15810
927c53e7
GM
15811 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15812
9d0da923
JB
158132011-03-22 Juanma Barranquero <lekktu@gmail.com>
15814
15815 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15816 keymap variable in `with-no-warnings' to avoid a warning when the
15817 keymap has been already `defconst'ed.
15818
4b978a67
LL
158192011-03-22 Leo Liu <sdl.web@gmail.com>
15820
15821 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15822 encode all chars in abbrevs; otherwise use emacs-mule or
15823 utf-8-emacs. (Bug#8308)
15824
5fd62452
JB
158252011-03-22 Juanma Barranquero <lekktu@gmail.com>
15826
0b1596c6
JB
15827 * simple.el (backward-delete-char-untabify):
15828 Avoid warning about using `delete-backward-char'.
15829
5fd62452
JB
15830 * image.el (image-type-file-name-regexps): Make it variable.
15831 `imagemagick-register-types' modifies it, and the user may want
15832 to add new extensions for known image types.
15833 (imagemagick-register-types): Throw error if not using ImageMagick.
15834
0b4e93f1
LL
158352011-03-22 Leo Liu <sdl.web@gmail.com>
15836
15837 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15838 located before rcirc-prompt-end-marker.
15839 (rcirc-complete): Error if point is not after rcirc prompt.
15840 Handle the case when table is nil.
9882e214 15841 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15842
fccee4ab
CY
158432011-03-22 Chong Yidong <cyd@stupidchicken.com>
15844
15845 * custom.el (custom--inhibit-theme-enable): Make it affect only
15846 custom-theme-set-variables and custom-theme-set-faces.
15847 (provide-theme): Ignore custom--inhibit-theme-enable.
15848 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15849 (custom-enabling-themes): Delete variable.
d86d2721
SM
15850 (enable-theme): Accept only loaded themes as arguments.
15851 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15852 (custom-enabled-themes): Forbid themes from setting this.
15853 Eliminate use of custom-enabling-themes.
15854 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15855
af896da6
LL
158562011-03-21 Leo Liu <sdl.web@gmail.com>
15857
15858 * ido.el (ido-read-internal): Add ido-selected to history instead
15859 of user input.
15860
78f64af0
SM
158612011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * subr.el (deferred-action-list, deferred-action-function):
15864 Mark obsolete.
15865
b16ac1ec
LL
158662011-03-21 Leo Liu <sdl.web@gmail.com>
15867
810f7698
LL
15868 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15869 change on 2011-02-13 (bug#8309).
15870
b16ac1ec
LL
15871 * minibuffer.el (read-file-name-function): Change default value.
15872 (read-file-name--defaults): Rename from read-file-name-defaults.
15873 (read-file-name-default): Rename from read-file-name.
15874 (read-file-name): Call read-file-name-function.
15875
4e05e67e
GM
158762011-03-21 Glenn Morris <rgm@gnu.org>
15877
15878 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15879 Doc fixes.
15880
4359915b
CY
158812011-03-21 Chong Yidong <cyd@stupidchicken.com>
15882
15883 * cus-theme.el: Add missing provide statement.
15884 (customize-create-theme): Extract theme value correctly.
15885 (custom-theme-visit-theme): Autoload.
15886 (customize-create-theme): Prompt before inserting default faces.
15887
1fe275ee
JB
158882011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15889
15890 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15891 units and musical notes.
15892
cd394be1 158932011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15894
15895 * ido.el (ido-read-internal): Use completing-read-default.
15896 (ido-completing-read): Fix compatibility with completing-read.
15897
7d476bde
CO
158982011-03-20 Christian Ohler <ohler@gnu.org>
15899
15900 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15901 (ert-delete-all-tests): Use `called-interactively-p' rather than
15902 `interactive-p'.
15903 (ert--make-xrefs-region): Respect END.
15904
fe0fb33e
CY
159052011-03-19 Chong Yidong <cyd@stupidchicken.com>
15906
ff854b0b
CY
15907 * dired-aux.el (dired-create-directory): Signal an error if the
15908 directory already exists (Bug#8246).
15909
fe0fb33e
CY
15910 * facemenu.el (list-colors-display): Call list-faces-display
15911 inside with-help-window.
15912 (list-colors-print): Use display property to align the final
15913 column, instead of checking window-width.
15914
576bce32
EZ
159152011-03-19 Eli Zaretskii <eliz@gnu.org>
15916
4d61f28d 15917 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15918 windows-nt systems.
15919 (emerge-protect-metachars): Quote correctly for ms-dos and
15920 windows-nt systems.
15921
89c41d68 159222011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15923
15924 * info.el (info-initialize): Replace all uses of `:' with
15925 path-separator for compatibility with non-Unix systems.
15926 Cache quoting of path-separator. (Bug#8258)
15927
b14e3e21 159282011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15929
15930 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15931 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15932 (mouse-avoidance-mode): Fix typos in docstrings.
15933
4525ce3e
CY
159342011-03-19 Chong Yidong <cyd@stupidchicken.com>
15935
15936 * startup.el (package-subdirectory-regexp): Move from package.el.
15937 Omit \\` and \\', and let callers add them.
15938
15939 * emacs-lisp/package.el (package-strip-version)
15940 (package-load-all-descriptors): Add \\` and \\' to
15941 package-subdirectory-regexp before using it.
15942 (package-untar-buffer): New arg DIR; ensure that file untars only
15943 into this expected directory. Remove superfluous delete-region.
15944 (package-unpack): Caller changed.
15945 (package-tar-file-info): Use package-subdirectory-regexp.
15946
a904a09a 159472011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15948
a904a09a
SM
15949 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15950 diff-mode-shared-map (bug#8284).
15951 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15952
159532011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15954
15955 * calendar/time-date.el (format-seconds): Use assoc instead of
15956 assoc-string, since assoc-string doesn't exist in XEmacs.
15957
171fc304
JB
159582011-03-17 Juanma Barranquero <lekktu@gmail.com>
15959
15960 * custom.el (custom-known-themes): Reflow docstring.
15961 (custom-theme-load-path): Fix typo in docstring.
15962 (load-theme): Fix typo in error message.
15963 (custom-available-themes, custom-variable-theme-value):
15964 Use `let', not `let*'.
15965
d71990a1
JB
159662011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15967
15968 * calc/README: Mention inclusion of musical notes.
15969
15970 * calc/calc-units.el (calc-lu-quant): Rename from
15971 `calc-logunits-quantity'.
15972 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15973 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15974 (calc-db): Rename from `calc-dblevel'.
15975 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15976 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15977 (calc-np): Rename from `calc-nplevel'.
15978 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15979 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15980 (calc-lu-plus): Rename from `calc-logunits-add'.
15981 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15982 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15983 (calc-lu-minus): Rename from `calc-logunits-sub'.
15984 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15985 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15986 (calc-lu-times): Rename from `calc-logunits-mul'.
15987 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15988 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15989 (calc-lu-divide): Rename from `calc-logunits-div'.
15990 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15991 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15992
15993 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15994 functions being autoloaded.
15995
15996 * calc/calc.el (calc-lu-power-reference): Rename from
15997 `calc-logunits-power-reference'.
15998 (calc-lu-field-reference): Rename from
15999 `calc-logunits-field-reference'.
16000
7a71b18d
GM
16001 * calc/calc-help.el (calc-l-prefix-help):
16002 Mention musical note functions.
d71990a1 16003
40c2934b
SM
160042011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * minibuffer.el (completion-all-sorted-completions):
16007 Use :completion-cycle-penalty text property if present.
16008
b0911414
KM
160092011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16010
16011 * allout.el (allout-yank-processing): Adjust for new rebulleting
16012 regime so bullet being yanked is used without prompting the user
16013 for a choice.
16014
8a05b668
JB
160152011-03-16 Juanma Barranquero <lekktu@gmail.com>
16016
16017 * startup.el (command-line): Warn the user that _emacs is deprecated.
16018
5ba5fb81
JB
160192011-03-16 Juanma Barranquero <lekktu@gmail.com>
16020
16021 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16022 (delphi-verbose, delphi-comment-face, delphi-string-face)
16023 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16024 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16025 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16026 (delphi-new-comment-line, delphi-font-lock-defaults)
16027 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16028 Fix typos in docstrings.
16029
2dab465b
KM
160302011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16031
5ba5fb81 16032 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16033 Invert the roles of character and string values for INSTEAD, so a
16034 string is used for the more common case of a defaulting prompt.
16035
0adf5618
SM
160362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * progmodes/ruby-mode.el (ruby-backward-sexp):
16039 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16040 * play/gamegrid.el (gamegrid-make-face):
16041 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16042 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16043 * notifications.el (notifications-notify):
16044 * net/xesam.el (xesam-search-engines):
16045 * net/quickurl.el (quickurl-list-insert):
16046 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16047
d72700e5
CY
160482011-03-15 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * startup.el (command-line): Update package subdirectory regexp.
16051
49c5410a
SM
160522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16053
c6eee9aa
SM
16054 * allout.el (allout-abbreviate-flattened-numbering)
16055 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16056
49c5410a
SM
16057 * subr.el (read-char-choice): Only show the cursor after the prompt,
16058 not after the answer.
16059
047b2bb9
KR
160602011-03-15 Kevin Ryde <user42@zip.com.au>
16061
16062 * help-fns.el (variable-at-point): Skip leading quotes, if any
16063 (bug#8253).
16064
0a57d256
SM
160652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16066
16067 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16068 warning message.
16069
77c992bc
MA
160702011-03-14 Michael Albinus <michael.albinus@gmx.de>
16071
16072 * shell.el (shell): When called interactively, offer to change the
16073 shell file name on remote hosts.
16074
eebc475d
TZ
160752011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16076
16077 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16078 integration for LDAP parameters. The host, base, user or binddn,
16079 and secret tokens can be specified in a netrc file, for instance.
16080 This is optional because an `auth-source' parameter must be
16081 specified in the search attributes.
16082
9d05d1ba
JB
160832011-03-13 Juanma Barranquero <lekktu@gmail.com>
16084
16085 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16086
09d9db2c
GM
160872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16090 into declaration. Remove redundant and harmful binding.
16091
160922011-03-12 Eli Zaretskii <eliz@gnu.org>
16093
16094 * files.el (file-ownership-preserved-p): Pass `integer' as an
16095 explicit 2nd argument to `file-attributes'. If the file's owner
16096 is the Administrators group on Windows, and the current user is
16097 Administrator, consider that a match.
16098
16099 * server.el (server-ensure-safe-dir): Consider server directory
16100 safe on MS-Windows if its owner is the Administrators group while
16101 the current Emacs user is Administrator. Use `=' to compare
16102 numerical UIDs, since they could be integers or floats.
16103
219bd536
JB
161042011-03-12 Juanma Barranquero <lekktu@gmail.com>
16105
16106 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16107
f3afd36b
MA
161082011-03-12 Michael Albinus <michael.albinus@gmx.de>
16109
16110 Sync with Tramp 2.2.1.
16111
16112 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16113
16114 * net/trampver.el: Update release number.
16115
3aaaa6f1
SM
161162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16117
94642599
SM
16118 * progmodes/compile.el (compilation--previous-directory): Fix up
16119 various nil/dead-marker mismatches (bug#8014).
16120 (compilation-directory-properties, compilation-error-properties):
16121 Don't call it at a position past the one we're about to change.
16122
3aaaa6f1
SM
16123 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16124 Disable obsolescence warnings in the file that declares it.
16125
14239447
KM
161262011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16127
099c39a4
JB
16128 * allout-widgets.el (allout-widgets-tally):
16129 Initialize allout-widgets-tally as a hash table rather than nil to
16130 prevent mode-line redisplay warnings. Also, clarify the module
16131 description and fix a comment typo.
14239447 16132
135e287c
JB
161332011-03-11 Juanma Barranquero <lekktu@gmail.com>
16134
16135 * help-fns.el (describe-variable): Don't complete keywords.
16136 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16137
ffbf300e
CY
161382011-03-10 Chong Yidong <cyd@stupidchicken.com>
16139
ba08b241
CY
16140 * emacs-lisp/package.el (package-version-join): Impose a standard
16141 string representation for pre/alpha/beta version lists.
16142 (package-unpack-single): Standardize the directory name by passing
16143 it through package-version-join.
16144 (package-strip-rcs-id): Accept any version string that does not
16145 signal an error in version-to-list.
ffbf300e 16146
f346fd6b
MA
161472011-03-10 Michael Albinus <michael.albinus@gmx.de>
16148
16149 * simple.el (delete-trailing-whitespace): Return nil for the
16150 benefit of `write-file-functions'.
16151
ccb55d27
GM
161522011-03-10 Glenn Morris <rgm@gnu.org>
16153
5ceaac0c
GM
16154 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16155
02da65ff
GM
16156 * vc/vc-git.el (vc-git-program): New option.
16157 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16158 (vc-git--call): Use it.
16159
b2f603cc
GM
16160 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16161
5772caab
GM
16162 * cus-edit.el (Custom-newline): If no button at point, look
16163 for a subgroup button at start-of-line. (Bug#2298)
16164
ccb55d27
GM
16165 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16166
ec6ecaed
JD
161672011-03-10 Julien Danjou <julien@danjou.info>
16168
16169 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16170 `cursor-type' is nil.
16171
9d5aa01d
JB
161722011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16173
16174 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16175
b6a5875b
KM
161762011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16177
7a71b18d 16178 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16179 preserves the existing header prefix, rebulleting it if necessary,
16180 rather than replacing it. This is necessary for proper operation
16181 of cooperative addons like allout-widgets.
1154d12e
JB
16182 (allout-make-topic-prefix, allout-rebullet-heading):
16183 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16184 value as alternate bullet to be used, instead of prompting the user
16185 for a bullet character.
b6a5875b 16186
ee545c35
MA
161872011-03-09 Michael Albinus <michael.albinus@gmx.de>
16188
d86d2721
SM
16189 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16190 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16191 `tramp-default-port'.
16192
c47971d7
DD
161932011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16194
16195 * net/rcirc.el (rcirc-handler-001): Remove useless
16196 with-rcirc-process-buffer.
16197 (rcirc-check-auth-status): Swap arguments to string-match.
16198
13522cb4
GM
161992011-03-09 Glenn Morris <rgm@gnu.org>
16200
0be6f4f1
GM
16201 * shell.el (shell-mode):
16202 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16203
13522cb4
GM
16204 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16205 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16206
515de2e3
CY
162072011-03-08 Chong Yidong <cyd@stupidchicken.com>
16208
16209 * emacs-lisp/package.el (package-refresh-contents)
16210 (package-menu-execute): Use condition-case-no-debug.
16211
b511b994
MA
162122011-03-08 Michael Albinus <michael.albinus@gmx.de>
16213
16214 * simple.el (shell-command-to-string): Use `process-file'.
16215
16216 * emacs-lisp/package.el (package-tar-file-info): Handle also
16217 remote files.
16218
d86d2721
SM
16219 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16220 Use `equal' for upload base check.
b511b994 16221
25bbfb31
AM
162222011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16223
16224 * textmodes/texinfo.el (texinfo-environments):
16225 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16226
be996521
GM
162272011-03-08 Glenn Morris <rgm@gnu.org>
16228
e9c8529f
GM
16229 * cus-start.el (cursor-in-non-selected-windows):
16230 Fix :set quoting oddness. (Bug#8192)
16231
be996521
GM
16232 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16233 in some setf expressions. (Bug#2159)
16234
2bb5649e
CY
162352011-03-08 Chong Yidong <cyd@stupidchicken.com>
16236
16237 * custom.el (custom-available-themes): Return themes in
16238 alphabetical order.
16239
33383987 16240See ChangeLog.15 for earlier changes.
e3d51b27
MR
16241
16242;; Local Variables:
16243;; coding: utf-8
e3d51b27
MR
16244;; End:
16245
acaf905b 16246 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16247
16248 This file is part of GNU Emacs.
16249
16250 GNU Emacs is free software: you can redistribute it and/or modify
16251 it under the terms of the GNU General Public License as published by
16252 the Free Software Foundation, either version 3 of the License, or
16253 (at your option) any later version.
16254
16255 GNU Emacs is distributed in the hope that it will be useful,
16256 but WITHOUT ANY WARRANTY; without even the implied warranty of
16257 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16258 GNU General Public License for more details.
16259
16260 You should have received a copy of the GNU General Public License
16261 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.