nt/config.nt: Sync with autogen/config.in.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9af57756
CY
12012-07-11 Chong Yidong <cyd@gnu.org>
2
3 * vc/log-edit.el (log-edit-vc-backend): New variable.
4 (log-edit): Doc fix.
5
6 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7 argument of log-edit to set up all local variables.
8 (vc-start-logentry): New optional arg specifying VC backend.
9
10 * vc/vc.el (vc-checkin): Use it.
11 (vc-deduce-fileset): Handle Log Edit buffers.
12 (vc-diff): Make first argument optional too.
13
14 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
15
8477cc7a
MA
162012-07-10 Michael Albinus <michael.albinus@gmx.de>
17
18 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
19 command, just in case. The function is not needed anymore.
20 (eshell-external-command): Do not call `eshell-remote-command'.
21
19faa8e8
SM
222012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
23
f58e0fd5
SM
24 Reduce use of (require 'cl).
25 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
26 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
27 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
28 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
29 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
30 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
31 * battery.el, avoid.el, abbrev.el: Use cl-lib.
32 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
33 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
34 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
35 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
36 * calculator.el, autorevert.el, apropos.el: Don't require CL.
37 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
38 (byte-compile-unfold-bcf, byte-compile-check-variable):
39 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
40 (byte-compile-nilconstp):
41 * emacs-lisp/autoload.el (make-autoload): Use pcase.
42 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
43
2519d43a
SM
44 * emacs-lisp/gv.el (cond): Make it a valid place.
45 (if): Simplify slightly.
46
19faa8e8
SM
47 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
48 (pcase--self-quoting-p): New function.
49 (pcase--u1): Use it.
50
c4907a5e
GM
512012-07-10 Glenn Morris <rgm@gnu.org>
52
53 * emacs-lisp/authors.el (authors-fixed-entries):
54 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
55
c4444d16
PE
562012-07-09 Paul Eggert <eggert@cs.ucla.edu>
57
58 Rename configure.in to configure.ac (Bug#11603).
59 * emacs-lisp/authors.el (authors-canonical-file-name):
60 * progmodes/autoconf.el (autoconf-mode):
61 Prefer configure.ac to configure.in.
62
d75be97d
CY
632012-07-08 Chong Yidong <cyd@gnu.org>
64
01ac65bd
CY
65 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
66 Implement the mouse-1-click-follows-link handling properly.
67
68 * info.el (Info-link-keymap): Use follow-link mechanism for
69 header-line links (Bug#374).
70
d75be97d
CY
71 * simple.el (deactivate-mark): Do not set the primary selection
72 if another program has acquired it (Bug#11772).
73
87a92845 742012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
75
76 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
77 (woman-decode-region): Replace escaped-escapes without destroying
78 bold or underline (Bug#11552).
87a92845 79 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 80
621b9d6c
CY
812012-07-07 Chong Yidong <cyd@gnu.org>
82
83 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
84 (interprogram-cut-function, interprogram-paste-function):
85 Mention that we typically mean the clipboard.
621b9d6c 86
133a11fc
GM
872012-07-06 Glenn Morris <rgm@gnu.org>
88
0d27a45e
GM
89 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
90
133a11fc
GM
91 * files.el (toggle-read-only): Restrict message to interactive use.
92
07b151f1
MA
932012-07-06 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
96
97 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
98
211b896b
GM
992012-07-06 Glenn Morris <rgm@gnu.org>
100
50394322
GM
101 * Makefile.in (compile-one-process): Rename from "recompile".
102
211b896b
GM
103 * Makefile.in (bzr-update): "compile" is the same as "recompile
104 autoloads", but parallelizable, so use that instead.
105
4737eec9
DG
1062012-07-06 Dmitry Gutov <dgutov@yandex.ru>
107
108 * window.el (quit-window): Always restore window height when
109 it's saved in quit-restore parameter.
110
226c3633 1112012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
112
113 * simple.el (kill-whole-line): Doc tweak.
114
226c3633 1152012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
116
117 * files.el (file-relative-name): Compare file names
118 case-insensitively if on MS-Windows or MS-DOS, or if
119 read-file-name-completion-ignore-case is non-nil. Don't use
120 case-fold-search for this purpose. (Bug#11827)
121
226c3633 1222012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 123
19faa8e8
SM
124 * calendar/cal-dst.el (calendar-current-time-zone):
125 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 126
60198fc9
GM
1272012-07-06 Glenn Morris <rgm@gnu.org>
128
129 * Makefile.in (cvs-update): Remove old alias.
130
957b3189
MA
1312012-07-05 Michael Albinus <michael.albinus@gmx.de>
132
133 Sync with Tramp 2.2.6-pre.
134
135 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
136 compatible declaration.
137
19faa8e8
SM
138 * net/tramp-cmds.el (tramp-append-tramp-buffers):
139 Protect `list-load-path-shadows' call.
957b3189
MA
140
141 * net/tramp-compat.el (top): Require packages, which aren't
142 autoloaded anymore for XEmacs. Protect call of
143 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
144 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
145 it hurts at least for SXEmacs.
146 (tramp-compat-temporary-file-directory): In XEmacs, there is no
147 standard-value for `temporary-file-directory'.
148
149 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
150 Redirect stderr to /dev/null.
151 (tramp-sh-handle-write-region): uid and gid can be floats.
152 Reported by Russell Sim <russell.sim@gmail.com>.
153 (tramp-sh-handle-vc-registered): Hide errors.
154 (tramp-vc-file-name-handler): Use dummy results for `process-file'
155 and `start-file-process'.
156 (tramp-maybe-open-connection): Check also whether `non-essential'
157 is bound.
158
566df3fc
CY
1592012-07-04 Chong Yidong <cyd@gnu.org>
160
161 * xml.el (xml--parse-buffer): Use xml-syntax-table.
162 (xml-parse-tag): Likewise, and avoid changing entity tables.
163 (xml-syntax-table): Define from scratch, making sure not to give
164 x2000 and other Unicode spaces whitespace syntax, since those are
165 not spaces in XML.
166 (xml-parse-fragment): Delete unused function.
167 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
168 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
169 (xml-entity-ref, xml-pe-reference-re)
170 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
171 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
172 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
173 (xml-entity-value-re): Use syntax references in regexps where
174 possible; no need to define inside a let-binding.
175 (xml-parse-dtd): Use xml-pe-reference-re.
176 (xml-entity-or-char-ref-re): New defconst.
177 (xml-parse-string, xml-substitute-special): Use it.
178
30eabd7a
SM
1792012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
180
0781098a
SM
181 * files.el (locate-dominating-file): Allow `name' to be a predicate.
182 (find-file--read-only): New function.
183 (find-file-read-only, find-file-read-only-other-window)
184 (find-file-read-only-other-frame): Use it.
185 (insert-file-contents-literally): Don't `fset'.
186 (get-free-disk-space): Use locate-dominating-file.
187
b5771c0d
SM
188 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
189 function is already compiled.
190
30eabd7a
SM
191 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
192
b4886f6e
MA
1932012-07-03 Michael Albinus <michael.albinus@gmx.de>
194
195 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
196 files on the same host.
197
b9d82339
AS
1982012-07-03 Andreas Schwab <schwab@linux-m68k.org>
199
200 * help-fns.el (describe-function-1): Only call
201 help-fns--autoloaded-p when we have a file name. (Bug#11848)
202
a76e6535
CY
2032012-07-03 Chong Yidong <cyd@gnu.org>
204
205 * xml.el: Protect parser against XML bombs.
206 (xml-entity-expansion-limit): New variable.
207 (xml-parse-string, xml-substitute-special): Use it.
208 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
209
b544fef2
GM
2102012-07-03 Glenn Morris <rgm@gnu.org>
211
212 * progmodes/bug-reference.el (bug-reference-bug-regexp):
213 Allow linking to specific messages in debbugs reports (eg 123#5).
214
a7aef6f5
CY
2152012-07-02 Chong Yidong <cyd@gnu.org>
216
217 * xml.el: Fix entity and character reference expansion, allowing
218 them to expand into markup as per XML spec.
219 (xml-default-ns): New variable.
220 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
221 (xml-parse-region): Make first two arguments optional.
222 Discard text properties.
223 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
224 All callers changed.
a7aef6f5
CY
225 (xml-parse-tag): Call xml-parse-tag-1. For backward
226 compatibility, this function should not modify buffer contents.
227 (xml-parse-tag-1): Fix opening-tag regexp.
228 (xml-parse-string): Rewrite, handling entity and character
229 references properly.
230 (xml--entity-replacement-text): Signal an error if a parameter
231 entity is undefined.
232
3df31c9f
SM
2332012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
234
2b5208f1
SM
235 * comint.el (comint-output-filter): Filter out repeated prompts.
236
3df31c9f
SM
237 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
238 and file-name-absolute-p.
239 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
240 internal calls.
241
e3ac1281
PE
2422012-07-02 Paul Eggert <eggert@cs.ucla.edu>
243
244 Spelling fixes.
245 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
246 Rename from byte-compile--refiy-function. All uses changed.
247
fbf2e7ad
CY
2482012-07-01 Chong Yidong <cyd@gnu.org>
249
250 * xml.el (xml--parse-buffer): New function. Move most of
251 xml-parse-region here.
252 (xml-parse-region): Copy region into a temporary buffer, since
253 parameter entity substitution requires changing buffer contents.
254 Use xml--parse-buffer.
255 (xml-parse-file): Use xml--parse-buffer.
256 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 257 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 258
9bf0aa15
GM
2592012-06-30 Glenn Morris <rgm@gnu.org>
260
bbce2853
GM
261 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
262
9bf0aa15
GM
263 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
264 Remove outdated and unnecessary dbus declarations.
265
0d23c240
EZ
2662012-06-30 Eli Zaretskii <eliz@gnu.org>
267
268 * emacs-lisp/timer.el (timer-until): Subtract results of
269 float-time, instead of taking float-time of the result of
270 time-subtract, since float-time signals an error for negative time
271 arguments.
272
b3218de1
CY
2732012-06-30 Chong Yidong <cyd@gnu.org>
274
275 * xml.el (xml-*-re): Convert defvars into defconsts, and
276 eval-and-compile them so eval-and-compile works on derivatives.
277 (xml--entity-replacement-text): Use eval-and-comple.
278
a40c87a0
MA
2792012-06-30 Michael Albinus <michael.albinus@gmx.de>
280
281 * vc/vc-git.el (vc-git-registered): Use cache property
282 `git-registered'.
283 (vc-git-mode-line-string): Call `vc-working-revision' instead of
284 `vc-git-working-revision' in order to benefit from the cache.
285 (vc-git-root): Use cache property `git-root'.
286
ac87de97
DG
2872012-06-30 Dmitry Gutov <dgutov@yandex.ru>
288
289 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
290 removed (likely outside Emacs).
291
ac10fe06
SM
2922012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
293
3df31c9f 294 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 295
7f3fbd5d
CY
2962012-06-30 Chong Yidong <cyd@gnu.org>
297
298 * xml.el: Implement XML parameter entities.
299 (xml-parameter-entity-alist): New variable.
300 (xml-parse-region, xml-parse-fragment): Preserve previous values
301 of xml-entity-alist and xml-parameter-entity-alist, so that
302 repeated calls on different documents do not change them.
303 (xml-parse-tag): Fix doctype regexp.
304 (xml--entity-replacement-text): New function.
305 (xml-parse-dtd): Use it. Don't handle system entities; doing that
306 properly requires url retrieval which is unimplemented.
307 (xml-escape-string): Doc fix.
308
3cfbebba
SM
3092012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
312
2af3565e
DA
3132012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
314
315 * fringe.el (fringe-mode): Doc fix.
316
929df0e7
MA
3172012-06-29 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
320 is non-nil.
321 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
322 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
323
c8d3a25c 3242012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 325
c8d3a25c
GM
326 * calendar/cal-dst.el (calendar-current-time-zone):
327 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 328
c8d3a25c 3292012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
330
331 * progmodes/which-func.el (which-func-format):
332 Add mouse-face. (Bug#11698)
333
c8d3a25c
GM
3342012-06-29 Leo Liu <sdl.web@gmail.com>
335
336 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
337
3382012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * minibuffer.el (minibuffer-confirm-exit-commands):
341 Add completion-at-point (bug#11725).
342
3432012-06-29 Glenn Morris <rgm@gnu.org>
344
345 * progmodes/f90.el (f90-font-lock-keywords-2):
346 Add some preprocessor elements. (Bug#10499)
347
3482012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * progmodes/cperl-mode.el (cperl-update-syntaxification):
351 Use syntax-propertize (bug#11739).
352
2badeec4
JB
3532012-06-28 Juanma Barranquero <lekktu@gmail.com>
354
355 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
356
ae4969c2
JD
3572012-06-28 Julien Danjou <julien@danjou.info>
358
359 * term.el (term-handle-colors-array): Use a set of new faces to
360 color the terminal. Also uses :inverse-video property.
361 (term-default-fg-color): Set to nil by default, deprecate in favor
362 of `term-face'.
363 (term-default-bg-color): Set to nil by default, deprecate in favor
364 of `term-face'.
365 (term-current-face): Use `term-face' by default.
366 (term-bold-attribute): Variable deleted.
367
1c9bd870
GM
3682012-06-28 Glenn Morris <rgm@gnu.org>
369
370 * simple.el (completion-list-mode-finish):
371 Don't use toggle-read-only. (Since completion-list-mode has
372 a special mode-class, it wasn't doing anything extra anyway.)
373
c207708c
SM
3742012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 Make inlining of other-mode interpreted functions work (bug#11799).
377 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
378 (byte-compile): Use it to fix compilation of lexical-binding closures.
379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
380 function, if needed.
381
3fd56834
SM
3822012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
383
04901786
SM
384 * help-mode.el (help-make-xrefs): Don't just withstand
385 cyclic-variable-indirection but any error in documentation-property.
386
1ec4b7b2
SM
387 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
388 memory use.
389 * bindings.el (bindings--define-key): New function.
390 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
391 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
392 * bindings.el: Use it to purecopy define-key bindings.
393
e309e2a5
SM
394 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
395
d5c6faf9
SM
396 * emacs-lisp/cl.el (flet): Mark obsolete.
397 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
398 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
399 * progmodes/js.el (js-c-fill-paragraph):
400 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
401 (ebrowse-switch-member-buffer-to-derived-class):
402 * play/5x5.el (5x5-solver): Use cl-flet.
403
6e9590e2
SM
404 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
405 (cl--symbol-function): New macro.
406 (cl--letf, cl--letf*): Use it.
407
3fd56834
SM
408 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
409 Strip "toggle-" if any.
410
35ff222c
GM
4112012-06-27 Glenn Morris <rgm@gnu.org>
412
1ba6038a
GM
413 * info.el (Info-default-directory-list): Move here from paths.el.
414 * paths.el: Remove file, which is now empty.
415 * loadup.el: No longer load "paths".
416
0ea0e51b
GM
417 * custom.el (custom-initialize-delay): Doc fix.
418
35ff222c
GM
419 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
420 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
421 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
422 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
423 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
424 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
425 * eshell/eshell.el (eshell-defgroup): Remove alias.
426
c89926a5
CY
4272012-06-27 Chong Yidong <cyd@gnu.org>
428
429 * help.el (help-enable-auto-load): New variable.
430
431 * help-fns.el (help-fns--autoloaded-p): New function.
432 (describe-function-1): Refer to a function as "autoloaded" if it
433 was autoloaded at any time in the past. Perform autoloading if
434 help-enable-auto-load is non-nil.
435
cc06e7e7
EZ
4362012-06-26 Eli Zaretskii <eliz@gnu.org>
437
438 * makefile.w32-in (compile, compile-always): Depend on
439 update-subdirs, not on subdirs.el. Otherwise, several different
440 sub-targets of 'bootstrap' running in parallel could
441 simultaneously write to subdirs.el, producing a garbled file.
442
d2c32364
SS
4432012-06-26 Sam Steingold <sds@gnu.org>
444
445 * files.el (file-name-base): New convenience function.
0d14cc21
GM
446 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
447 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
448 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
449 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
450 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
451 * textmodes/tex-mode.el: Use it.
452 Did not touch cedet and org because they are maintained elsewhere.
453
5cf983b2
MR
4542012-06-26 Martin Rudalics <rudalics@gmx.at>
455
456 * calendar/calendar.el (calendar-exit): Don't try to delete or
457 iconify last frame. See:
458 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
459
8c4f2952
JD
4602012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
461
462 * server.el (server-process-filter): Remember dir in the
463 process's `server-client-directory' properties.
464
772b2e2c
CY
4652012-06-24 Chong Yidong <cyd@gnu.org>
466
467 * xml.el (xml-parse-tag): Correctly handle comment embedded in
468 non-tag text.
469
711b11e1
JB
4702012-06-23 Juanma Barranquero <lekktu@gmail.com>
471
472 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
473
dc5d230c
SM
4742012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * help-fns.el (describe-variable): Don't croak when doc is not found.
477 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
478 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
479 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
480 * emacs-lisp/smie.el (smie-next-sexp): CSE.
481 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
482 ((lambda ..) ..).
483 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
484
136e1c1d
CY
4852012-06-23 Chong Yidong <cyd@gnu.org>
486
e8c1cabf
CY
487 * info.el (Info-mouse-follow-link): Accept symbol values of
488 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
489 (Info-fontify-node): Use Info-link-keymap for all navigation
490 buttons, with link-args property to perform the desired action.
491 (Info-link-keymap): Doc fix.
492 (Info-next-link-keymap, Info-prev-link-keymap)
493 (Info-up-link-keymap): Delete now-unused keymaps.
494
0e9e6c6a
CY
4952012-06-23 Chong Yidong <cyd@gnu.org>
496
05e89fea
CY
497 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
498
0e9e6c6a
CY
499 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
500 system abbrevs.
501
502 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
503
e33c6771
SM
5042012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
505
b68581e2
SM
506 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
507 (bug#11719).
508
e33c6771
SM
509 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
510 the requote function doesn't work properly (bug#11714).
511
7117e105
GM
5122012-06-23 Glenn Morris <rgm@gnu.org>
513
514 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
515
36cec983
SM
5162012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 Further GV/CL cleanups.
519 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
520 gv-expander.
521 (gv--defun-declaration): New function.
522 (defun-declarations-alist): Use it.
523 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
524 (gv-place): Autoload.
525 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
526 original definition of dotimes and dolist.
527 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
528 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
529 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
530 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
531 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
532 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
533 to the function's definition.
534 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
535 * window.el:
536 * files.el:
537 * faces.el:
538 * env.el: Don't use CL.
539
d35af63c
PE
5402012-06-22 Paul Eggert <eggert@cs.ucla.edu>
541
542 Support higher-resolution time stamps (Bug#9000).
543
544 * calendar/time-date.el (with-decoded-time-value): New arg
545 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
546 (encode-time-value): New optional arg PICO. New type 3.
547 (time-to-seconds) [!float-time]: Support the new picoseconds
548 component if it's used.
549 (seconds-to-time, time-subtract, time-add):
550 Support ps-resolution time stamps as well.
551
552 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
553 (timerp): Timer vectors now have length 9, not 8.
554 (timer--time): Support new-style (4-part) time stamps.
555 (timer-next-integral-multiple-of-time): Time stamps now have
556 picosecond resolution, so take a bit more care about rounding.
557 (timer-relative-time, timer-inc-time): New optional arg psecs.
558 (timer-set-time-with-usecs): Set psecs to 0.
559 (timer--activate): Check psecs component, too.
560
561 * proced.el (proced-time-lessp): Support ps-resolution stamps.
562
ac77b21a
SM
5632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
564
f143bfe3
SM
565 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
566 Move the non-essential binding to the post/pre-command-hook where it is
567 more obviously correct.
568
ac77b21a
SM
569 * subr.el (read-passwd): Don't use a history at all.
570 * savehist.el (savehist-save): Remove password saved accidentally
571 because of the above bug.
572
76386c5a
BG
5732012-06-22 Bastien Guerry <bzg@gnu.org>
574
575 * files.el (toggle-read-only): Display a message telling whether
576 the buffer is read-only or not (bug#11726).
577
2ee3d7f0
SM
5782012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * emacs-lisp/gv.el: New file.
581 * subr.el (push, pop): Extend to generalized variables.
582 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
583 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
584 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
585 gv-define-simple-setter, and gv-define-expander.
586 Remove setf-methods defined in gv. Rename cl-setf -> setf.
587 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
588 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
589 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
590 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
591 gv-letplace.
592 (cl-defstruct): Don't define setf-method any more.
593 * emacs-lisp/cl.el (flet): Don't autoload.
594 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
595 (define-setf-expander, defsetf, define-modify-macro)
596 (cl-struct-setf-expander): Move from cl-lib.el.
597 * emacs-lisp/syntax.el:
598 * emacs-lisp/ewoc.el:
599 * emacs-lisp/smie.el:
600 * emacs-lisp/cconv.el:
601 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
602 (timer--time): Use gv-define-simple-setter.
603 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
604 to avoid coding-system problems in subr.el. Adjust all users.
605 (macroexp--maxsize, macroexp-small-p): New functions.
606 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
607 * scroll-bar.el (scroll-bar-mode):
608 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
609 (normal-erase-is-backspace-mode): Don't use the `eq' place.
610 * winner.el (winner-configuration, winner-make-point-alist)
611 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
612 * files.el (locate-file-completion-table): Avoid list*.
613
c5695d1d
CY
6142012-06-22 Chong Yidong <cyd@gnu.org>
615
616 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
617 (dired-create-files): Doc fix (Bug#11329).
618 (dired-do-copy): Doc fix (Bug#11334).
619 (dired-mark-read-string): Doc fix (Bug#11553).
620
2ee3d7f0
SM
621 * dired.el (dired-recursive-copies, dired-recursive-deletes):
622 Doc fix (Bug#11326).
c5695d1d
CY
623 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
624 (dired-dwim-target): Doc fix.
625
626 * wdired.el (wdired-mode): Doc fix.
627
89b5595a
GM
6282012-06-22 Glenn Morris <rgm@gnu.org>
629
575db3f1
GM
630 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
631 (pcmpl-rpm-cache-stamp-file): New constant.
632 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
633 (pcmpl-rpm-packages): Optionally cache list of packages.
634
a4c8dd51
GM
635 * pcmpl-rpm.el (pcmpl-rpm): New group.
636 (pcmpl-rpm-query-options): New option.
637 (pcmpl-rpm-packages): No need to inline it.
638 Use pcmpl-rpm-query-options.
639
89b5595a
GM
640 * calendar/calendar.el (calendar-in-read-only-buffer):
641 Avoid some needless mode changes.
642
e76f0800
CY
6432012-06-21 Chong Yidong <cyd@gnu.org>
644
645 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
646 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 647 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 648
297a8f1d
CY
6492012-06-20 Chong Yidong <cyd@gnu.org>
650
651 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
652
d34c18b1
DR
6532012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
654
655 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
656 (bug#11201).
657
32f7f28e
CY
6582012-06-20 Chong Yidong <cyd@gnu.org>
659
660 * term.el (term-window-width): Handle the case of a missing right
661 fringe (Bug#8837).
662 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
663 (term-mode): Use define-derived-mode. Minor cleanups.
664 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
665 (term-move-columns, term-insert-char, term-emulate-terminal)
666 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 667
493c6688
MA
6682012-06-20 Michael Albinus <michael.albinus@gmx.de>
669
d34c18b1
DR
670 * net/ange-ftp.el (ange-ftp-get-passwd):
671 Bind `enable-recursive-minibuffers'.
493c6688
MA
672 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
673
3f06ecf4
DR
6742012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
675
676 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
677
68f12411
GM
6782012-06-19 Glenn Morris <rgm@gnu.org>
679
680 * progmodes/python.el (python-mode): Derive from prog-mode.
681
b3820318
KG
6822012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
683
684 * emulation/edt.el (edt-default-menu-bar-update-buffers)
685 (edt-user-menu-bar-update-buffers): New functions.
686 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
687
c6bf3022
CY
6882012-06-19 Chong Yidong <cyd@gnu.org>
689
690 * subr.el (with-selected-window): Preserve the selected window's
691 terminal's top-frame (Bug#4702).
692
693 * window.el (save-selected-window): Likewise.
694
25f09295
SM
6952012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * progmodes/python.el (python-rx-constituents): Move backquote.
698 (python-skeleton-define, python-define-auxiliary-skeleton):
699 Use `declare'.
700
6b11952a
MA
7012012-06-18 Michael Albinus <michael.albinus@gmx.de>
702
703 * minibuffer.el (read-file-name-default): Revert the patch from
704 2012-06-17.
705
ee4b1330
SM
7062012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
709 (pcase--u1, pcase--q1): Don't use apply-partially.
710
35647f79
GM
7112012-06-18 Glenn Morris <rgm@gnu.org>
712
713 * progmodes/python.el (python-proc, python-buffer)
714 (python-send-receive, python-send-string): Fix obsolete versions.
715
24b0cff0
MR
7162012-06-18 Martin Rudalics <rudalics@gmx.at>
717
718 * window.el (special-display-p): Completely remove stringp
719 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
720
29855149
MA
7212012-06-17 Michael Albinus <michael.albinus@gmx.de>
722
723 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
724
725 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
726
727 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
728 * net/tramp-sh.el (tramp-maybe-open-connection):
729 Throw if `non-essential' is non-nil.
730
07463363
MR
7312012-06-17 Martin Rudalics <rudalics@gmx.at>
732
733 * window.el (special-display-p): Signal an error if BUFFER-NAME
734 is not a string (Bug#11713).
735
48d1354e
PE
7362012-06-17 Paul Eggert <eggert@cs.ucla.edu>
737
738 * progmodes/python.el (python-info-beginning-of-backslash):
739 Rename from python-info-beginning-of-backlash, as a spelling fix.
740
eb4a8a9a
CY
7412012-06-17 Chong Yidong <cyd@gnu.org>
742
743 * term.el (term-emulate-terminal): If term-check-size is called,
744 move point to the process mark without resetting point (Bug#4635).
745
ddfbf826 7462012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
747
748 * international/mule-cmds.el (mule-menu-keymap)
749 (set-language-environment, set-locale-environment): Doc tweaks.
750
9b0e3eba
AA
7512012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
752
753 * cus-face.el (custom-face-attributes): Add wave-style underline
754 attribute.
755 * faces.el (set-face-attribute): Update docstring to describe
756 wave-style underline attribute.
757
771e3eae
CY
7582012-06-16 Chong Yidong <cyd@gnu.org>
759
760 * term/xterm.el (terminal-init-xterm): Discard input before
761 querying background mode (Bug#10959).
762
7ae2ea10
SM
7632012-06-16 Stefan Merten <smerten@oekonux.de>
764
765 * textmodes/rst.el: Added and corrected some comments.
766 (rst-re-alist-def): Improve symbol syntax.
767 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
768 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
769 (rst-official-version, rst-official-cvs-rev): Update version
770 information.
7ae2ea10 771
b6974efa
JB
7722012-06-15 Juanma Barranquero <lekktu@gmail.com>
773
774 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
775 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
776
8826d473
GM
7772012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
778
779 * progmodes/python.el: New python.el merge.
780 (python-guess-indent): Obsolete var.
781 (python-indent-guess-indent-offset): New defcustom.
782 (python-indent): Obsolete var.
783 (python-indent-offset): New defcustom.
784 (python-python-command, python-jython-command): Delete var.
785 (python-shell-interpreter): New defcustom.
786 (python-pdbtrack-do-tracking-p): Delete var.
787 (python-pdbtrack-activate): New defcustom.
788 (python-use-skeletons): Obsolete var.
789 (python-skeleton-autoinsert): New defcustom.
790 (inferior-python-filter-regexp, python-continuation-offset)
791 (python-honour-comment-indentation, python-indent-string-contents)
792 (python-jython-packages, python-mode-hook)
793 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
794 (python-shell-prompt-alist)
795 (python-source-modes): Delete defcustoms.
796 (python-check-buffer-name, python-eldoc-setup-code)
797 (python-eldoc-string-code, python-ffap-setup-code)
798 (python-ffap-string-code, python-fill-comment-function)
799 (python-fill-decorator-function, python-fill-paren-function)
800 (python-fill-string-function, python-imenu-include-defun-type)
801 (python-imenu-make-tree, python-imenu-subtree-root-label)
802 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
803 (python-shell-compilation-regexp-alist)
804 (python-shell-completion-module-string-code)
805 (python-shell-completion-pdb-string-code)
806 (python-shell-completion-setup-code)
807 (python-shell-completion-string-code)
808 (python-shell-enable-font-lock, python-shell-exec-path)
809 (python-shell-extra-pythonpaths)
810 (python-shell-internal-buffer-name, python-shell-interpreter-args)
811 (python-shell-process-environment)
812 (python-shell-prompt-block-regexp)
813 (python-shell-prompt-output-regexp)
814 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
815 (python-shell-send-setup-max-wait, python-shell-setup-codes)
816 (python-shell-virtualenv-path): New defcustoms.
817 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
818 (inferior-python-mode-syntax-table, python--prompt-regexp)
819 (python-buffer, python-command python-python-command)
820 (python-default-template, python-imports, python-indent-index)
821 (python-indent-list, python-indent-list-length)
822 (python-mode-running, python-pdbtrack-is-tracking-p)
823 (python-preoutput-continuation, python-preoutput-leftover)
824 (python-preoutput-result, python-preoutput-skip-next-prompt)
825 (python-prev-dir/file, python-recursing)
826 (python-saved-check-command, python-version-checked)
827 (python-which-func-length-limit)
828 (view-return-to-alist): Delete vars.
829 (python-check-custom-command, python-dotty-syntax-table)
830 (python-imenu-index-alist, python-indent-current-level)
831 (python-indent-dedenters, python-indent-levels)
832 (python-nav-beginning-of-defun-regexp)
833 (python-nav-list-defun-positions-cache)
834 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
835 (python-shell-internal-buffer)
836 (python-skeleton-available): New vars.
837 (def-python-skeleton): Delete macro.
838 (python-skeleton-define): New macro.
839 (python-define-auxiliary-skeleton, python-rx): New macros.
840 (python-insert-class): Delete command.
841 (python-skeleton-class): New command.
842 (python-insert-def): Delete command.
843 (python-skeleton-def): New command.
844 (python-insert-for): Delete command.
845 (python-skeleton-for): New command.
846 (python-insert-if): Delete command.
847 (python-skeleton-if): New command.
848 (python-insert-try/except, python-insert-try/finally): Delete commands.
849 (python-skeleton-try): New command.
850 (python-insert-while): Delete command.
851 (python-skeleton-while): New command.
852 (python-backspace): Delete command.
853 (python-indent-dedent-line-backspace): New command.
854 (python-electric-colon): Delete command.
855 (python-indent-electric-colon): New command.
856 (python-guess-indent): Delete command.
857 (python-indent-guess-indent-offset): New command.
858 (python-shift-left): Delete command.
859 (python-indent-shift-left): New command.
860 (python-shift-right): Delete command.
861 (python-indent-shift-right): New command.
862 (python-find-function): Delete command.
863 (python-nav-jump-to-defun): New command.
864 (python-next-statement): Delete command.
865 (python-nav-forward-sentence): New command.
866 (python-previous-statement): Delete command.
867 (python-nav-backward-sentence): New command.
868 (python-fill-paragraph): Delete command.
869 (python-fill-paragraph-function): New command.
870 (python-send-buffer): Delete command.
871 (python-shell-send-buffer): New command.
872 (python-send-defun): Delete command.
873 (python-shell-send-defun): New command.
874 (python-send-region, python-send-region-and-go): Delete commands.
875 (python-shell-send-region)
876 (python-shell-switch-to-shell): New commands.
877 (python-send-string): Delete command.
878 (python-shell-send-string): New command.
879 (python-switch-to-python): Delete command.
880 (python-shell-switch-to-shell): New command.
881 (python-describe-symbol): Delete command.
882 (python-eldoc-at-point): New command.
883 (python--set-prompt-regexp, python-args-to-list)
884 (python-after-info-look, python-check-version)
885 (python-check-comint-prompt, python-find-imports)
886 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
887 (python-unload-function, python-expand-template)
888 (python-maybe-jython, python-preoutput-filter)
889 (python-pdbtrack-get-source-buffer)
890 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
891 (python-pdbtrack-toggle-stack-tracking)
892 (python-pdbtrack-track-stack-file, python-initial-text)
893 (python-first-word, python-comment-line-p, python-send-command)
894 (python-setup-brm, python-sentinel, python-set-proc)
895 (python-skip-out, python-input-filter, python-outdent-p)
896 (python-outline-level, python-backslash-continuation-line-p)
897 (python-end-of-block, python-end-of-statement, python-mark-block)
898 (python-beginning-of-block, python-beginning-of-statement)
899 (python-blank-line-p, python-beginning-of-string)
900 (python-open-block-statement-p): Delete functions.
901 (python-indent-line, python-indent-line-1): Delete functions.
902 (python-indent-line): New function.
903 (python-indentation-levels): Delete function.
904 (python-indent-calculate-levels): New function.
905 (python-proc): Delete function.
906 (python-shell-get-process): New function.
907 (python-send-receive): Delete function.
908 (python-shell-send-string-no-output): New function.
909 (python-module-path): Delete function.
910 (python-ffap-module-path): New function.
911 (python-completion-at-point)
912 (python-symbol-completions): Delete functions.
913 (python-completion-complete-at-point): New function.
914 (python-load-file): Delete function.
915 (python-shell-send-file): New function.
916 (python-calculate-indentation): Delete function.
917 (python-indent-calculate-indentation): New function.
918 (python-skip-comments/blanks): Delete function.
919 (python-util-forward-comment): New function.
920 (python-continuation-line-p): Delete function.
921 (python-info-continuation-line-p): New function.
922 (python-which-func, python-current-defun): Delete function.
923 (python-info-current-defun): New function.
924 (python-beginning-of-defun): Delete function.
925 (python-nav-beginning-of-defun): New function.
926 (python-close-block-statement-p)
927 (python-block-end-p): Delete function.
928 (python-info-closing-block): New function.
929 (python-comint-output-filter-function)
930 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
931 (python-fill-comment, python-fill-decorator, python-fill-paren)
932 (python-fill-string, python-imenu-make-element-tree)
933 (python-imenu-make-tree, python-imenu-tree-assoc)
934 (python-indent-context, python-indent-dedent-line)
935 (python-indent-line-function)
936 (python-indent-post-self-insert-function)
937 (python-indent-toggle-levels)
938 (python-info-assignment-continuation-line-p)
939 (python-info-beginning-of-backlash)
940 (python-info-block-continuation-line-p)
941 (python-info-closing-block-message)
942 (python-info-line-ends-backslash-p)
943 (python-info-looking-at-beginning-of-defun)
944 (python-info-ppss-context, python-info-ppss-context-type)
945 (python-nav-list-defun-positions, python-nav-read-defun)
946 (python-nav-sentence-end, python-nav-sentence-start)
947 (python-pdbtrack-comint-output-filter-function)
948 (python-pdbtrack-set-tracked-buffer)
949 (python-shell-calculate-exec-path)
950 (python-shell-calculate-process-environment)
951 (python-shell-completion--do-completion-at-point)
952 (python-shell-completion--get-completions)
953 (python-shell-completion-complete-at-point)
954 (python-shell-completion-complete-or-indent)
955 (python-shell-get-or-create-process)
956 (python-shell-get-process-name)
957 (python-shell-internal-get-or-create-process)
958 (python-shell-internal-get-process-name)
959 (python-shell-internal-send-string, python-shell-make-comint)
960 (python-shell-parse-command, python-shell-send-setup-code)
961 (python-skeleton-add-menu-items)
962 (python-util-clone-local-variables, python-util-position)
963 (run-python-internal, python-indentation-levels)
964 (python-nav-beginning-of-defun)
965 (python-completion-complete-at-point): New functions.
966 (run-python): Change arguments. New API requirements.
967
4302f5ba
SM
9682012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
969
f38ea36d
SM
970 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
971 (bug#11649).
972
973 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
974 (macroexp--expand-all): Use it.
975
4302f5ba
SM
976 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
977 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
978 Use `cl-function' instead.
979
33377562
JB
9802012-06-14 Juanma Barranquero <lekktu@gmail.com>
981
982 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
983 Suggested by Stefan Monnier while discussing bug#11657.
984
54c5ba1a
SS
9852012-06-14 Sam Steingold <sds@gnu.org>
986
987 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
988
f9f1b1fe
AS
9892012-06-14 Andreas Schwab <schwab@linux-m68k.org>
990
991 * play/doctor.el (doctor-doc): Remove parameter and use
992 doctor-sent instead of sent.
993 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
994
a81068ba
SM
9952012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
996
5a315f9c
SM
997 * files.el: Require cl-lib.
998 (file-name-non-special): Replace case -> cl-case.
999
1000 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1001
a81068ba
SM
1002 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1003 mapping from #' to function*.
1004
8cca9703
CY
10052012-06-13 Chong Yidong <cyd@gnu.org>
1006
1007 * mouse.el (mouse-drag-track): Do not set the mark if the user
1008 releases the mouse without selecting anything (Bug#11588).
1009
a12ac9d7
SM
10102012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1011
ccf1dc18
SM
1012 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1013 as well (bug#11646).
1014
ef62b23d
SM
1015 * loadup.el: Count byte-code functions as well.
1016
c4c8444a
SM
1017 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1018 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1019
a12ac9d7
SM
1020 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1021 (bug#11649). Add cl-defun and cl-defmacro.
1022
87e6e64f
DA
10232012-06-13 Drew Adams <drew.adams@oracle.com>
1024
1025 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1026 Fix last change.
1027
682cefaf
MA
10282012-06-13 Michael Albinus <michael.albinus@gmx.de>
1029
1030 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1031 Otherwise, it blocks in batch mode.
1032
773e1f08
JB
10332012-06-13 Juanma Barranquero <lekktu@gmail.com>
1034
1035 * help-mode.el (bookmark-make-record-default): Declare.
1036
60057926
CY
10372012-06-13 Chong Yidong <cyd@gnu.org>
1038
1039 * emacs-lisp/package.el (list-packages): Compute a list of
1040 packages that are newly-available since the last list-packages
1041 invocation.
1042 (package-menu--new-package-list): New var.
1043 (package-menu--generate, package-menu--print-info)
1044 (package-menu--status-predicate, package-menu-mark-install):
1045 Handle new status label "new".
1046
ad4d226c
SM
10472012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1050 conversion to backquotes.
1051
f1a4e679
CY
10522012-06-12 Chong Yidong <cyd@gnu.org>
1053
1054 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1055 Rename from gud-inhibit-global-bindings.
1056
1057 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1058
1059 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1060 hook from nxml-glyph-set-hook.
1061
1062 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1063 declaration.
1064
1065 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1066
1067 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1068 Convert to defcustom.
1069
0c9e42b5
DA
10702012-06-12 Drew Adams <drew.adams@oracle.com>
1071
1072 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1073 New functions.
1074 (help-mode): Use them.
1075
09e06855
GM
10762012-06-11 Glenn Morris <rgm@gnu.org>
1077
1078 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1079 Use preprocessor face for directives.
1080 (fortran-directive-re): Doc fix.
1081
71adb94b
SM
10822012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1083
2eb87922
SM
1084 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1085 conversion to backquotes (bug#11652).
1086
71adb94b
SM
1087 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1088 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1089 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1090 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1091 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1092 (cl-ninth, cl-tenth): Mark them as inlinable.
1093 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1094 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1095 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1096 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1097 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1098 (cl-list*, cl-adjoin): Don't put an autoload manually.
1099 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1100 (cl--compiler-macro-list*): Add autoload cookie.
1101 (cl--compiler-macro-cXXr): New function.
2eb87922 1102
71adb94b
SM
1103 * help-fns.el (help-fns--compiler-macro): New function extracted from
1104 describe-function-1; follow aliases and use `compiler-macro' property.
1105 (describe-function-1): Use it.
1106
a6674402
CY
11072012-06-11 Chong Yidong <cyd@gnu.org>
1108
1109 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1110 is uninstalled, if imagemagick is installed.
1111
bb3faf5b
SM
11122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * emacs-lisp/cl-lib.el: Use lexical-binding.
1115 (cl-map-extents, cl-maclisp-member): Remove.
1116 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1117 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1118 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1119 * emacs-lisp/cl-extra.el: Use lexical-binding.
1120 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1121 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1122 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1123 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1124 * emacs-lisp/cl-seq.el: Use lexical-binding.
1125 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1126 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1127 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1128 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1129 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1130 CL's internals.
1131
2fe4b125
MA
11322012-06-11 Michael Albinus <michael.albinus@gmx.de>
1133
1134 Sync with Tramp 2.2.6-pre.
1135
1136 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1137 `print-length' and `print-level' to nil, in order to avoid
1138 truncation. Reported by Christopher Schmidt
1139 <christopher@ristopher.com>.
1140
1141 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1142
1143 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1144 New defmacro.
1145 (tramp-compat-copy-directory): Add optional argument
1146 COPY-CONTENTS. It is not handled yet.
1147
1148 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1149 (tramp-ftp-file-name-p): Simplify.
1150
1151 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1152 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1153 connection vector.
1154
1155 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1156 (tramp-methods): Do not use `tramp-password-end-of-line'.
1157 (tramp-completion-function-alist-putty): Handle UNIX case.
1158 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1159 (tramp-do-file-attributes-with-stat)
1160 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1161 gid as real numbers. They could run out of integer range on cygwin.
1162 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1163 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1164 (tramp-open-connection-setup-interactive-shell):
1165 Use `tramp-cleanup'. Move check for busyboxes ...
1166 (tramp-find-shell): ... here. Simplify implementation.
1167 Set "remote-shell" property also for alternative shells.
1168 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1169 If failing, a regular file would be written otherwise.
1170 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1171 (tramp-find-inline-encoding): Cache the coding commands in the
1172 process cache. Apply test command on the remote side, if defined.
1173 (tramp-find-inline-compress): Cache the compress commands in the
1174 process cache.
1175 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1176 when requested. Handle hops.
1177 (tramp-current-connection): New defvar.
87e6e64f
DA
1178 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1179 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1180 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1181 (tramp-get-inline-compress, tramp-get-inline-coding):
1182 Read connection properties from the process cache.
2fe4b125
MA
1183
1184 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1185 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1186 New defconsts.
2fe4b125
MA
1187 (tramp-smb-prompt): Extend for powershell prompt.
1188 (tramp-smb-file-name-handler-alist): Add handlers for
1189 `process-file', `shell-command' and `start-file-process'.
1190 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1191 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1192 (tramp-smb-file-name-p): Simplify.
1193 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1194 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1195 (tramp-smb-shell-quote-argument): New defuns.
1196 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1197 Implement using "tar". By this, time-stamps are preserved.
1198 (tramp-smb-handle-copy-file): Handle also the case of directories.
1199 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1200 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1201 Use `tramp-get-connection-buffer').
2fe4b125
MA
1202 (tramp-smb-handle-rename-file): Use "rename", when source and
1203 target are on the same share.
87e6e64f
DA
1204 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1205 Use `tramp-smb-server-version'.
2fe4b125
MA
1206 (tramp-smb-wait-for-output): Remove prompt.
1207
1208 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1209 (tramp-methods, tramp-rsh-end-of-line):
1210 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1211 (tramp-save-ad-hoc-proxies): New defcustom.
1212 (tramp-completion-function-alist): Adapt docstring.
1213 (tramp-default-password-end-of-line): Remove defcustom.
1214 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1215 (tramp-user-regexp, tramp-file-name-regexp-unified)
1216 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1217 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1218 (tramp-remote-file-name-spec-regexp): New defconst.
1219 (tramp-file-name-structure): Extend structure for hops.
1220 (tramp-get-method-parameter): Move up.
1221 (tramp-file-name-p, tramp-dissect-file-name)
1222 (with-parsed-tramp-file-name): Handle hops.
1223 (tramp-file-name-hop): New defun.
1224 (tramp-make-tramp-file-name): New optional arg HOP.
1225 (tramp-message-show-progress-reporter-message): New defvar.
1226 (tramp-with-progress-reporter): Use it. We cannot use
1227 `tramp-message-show-message' here, because this suppresses also
1228 error buffers.
1229 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1230 `tramp-message-show-message' is nil.
1231 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1232 (tramp-cleanup): New defun.
1233 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1234 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1235 an error unchanged.
1236 (tramp-completion-handle-file-name-all-completions): Handle hops.
1237 Fix an error when called from ido.
1238 (tramp-completion-dissect-file-name): Use better local variable
1239 name. Add hop to the vector.
1240 (tramp-handle-insert-file-contents): Use progress-reporter for the
1241 whole scenario.
1242 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1243 to `t'.
1244 (tramp-check-for-regexp): Simplify search.
1245 (tramp-enter-password): Remove it. Move implementation ...
1246 (tramp-action-password): ... here.
1247 (tramp-mode-string-to-int, tramp-local-host-p)
1248 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1249 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1250 Set tramp-autoload cookie.
2fe4b125
MA
1251
1252 * net/trampver.el: Update release number.
1253
12542012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1255 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1258 (tramp-parse-group, tramp-parse-file)
1259 (tramp-parse-shostkeys-sknownhosts): New defuns.
1260 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1261 (tramp-parse-shosts-group, tramp-parse-sconfig)
1262 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1263 (tramp-parse-sknownhosts, tramp-parse-hosts)
1264 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1265 Use them.
1266 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1267 (tramp-parse-putty-group): Don't narrow.
1268 (tramp-parse-putty): Make a loop.
1269 (tramp-file-name-handler): Catch the `suppress' signal.
1270
72834e10
CY
12712012-06-11 Chong Yidong <cyd@gnu.org>
1272
1273 * image.el (imagemagick-register-types): Put the ImageMagick entry
1274 at the end of image-type-file-name-regexps.
1275
a4712e11
JB
12762012-06-11 Johan Bockgård <bojohan@gnu.org>
1277
1278 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1279 (pcase, pcase-let*, pcase-dolist): Use them.
1280
82ad98e3
SM
12812012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/pcase.el (pcase--let*): New function.
1284 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1285 (pcase--expand): Use macroexp-let².
1286
f80efb86
SM
12872012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1290 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1291 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1292 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1293 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1294 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1295
31ca4639 12962012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1297
31ca4639
CY
1298 * mail/rmail.el (rmail-yank-current-message): Leave point at
1299 correct position. (Bug#11660)
94f0aa34 1300
31ca4639 13012012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1302
31ca4639 1303 * allout-widgets.el: Fix code header.
9e1b8ec4 1304
31ca4639 13052012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1306
f80efb86
SM
1307 * cus-edit.el (customize-changed-options-previous-release):
1308 Bump to 24.1.
31ca4639 1309
642b6d30
AS
13102012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1311
1312 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1313
4f5d2ba1
CY
13142012-06-09 Chong Yidong <cyd@gnu.org>
1315
1316 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1317
e75852fd
MR
13182012-06-09 Martin Rudalics <rudalics@gmx.at>
1319
1320 * window.el (special-display-popup-frame): Don't use
1321 window--display-buffer (Bug#11651).
1322
1e48e282
EZ
13232012-06-09 Eli Zaretskii <eliz@gnu.org>
1324
8a26b487
EZ
1325 Fix parallel builds: make sure loaddefs.el is not being written
1326 while Lisp files are compiled.
1327 (compile): Don't depend on 'mh-autoloads'.
1328 (compile-CMD, compile-SH): Depend on 'autoloads'.
1329 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1330
1e48e282
EZ
1331 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1332
6175e34b
CY
13332012-06-09 Chong Yidong <cyd@gnu.org>
1334
1335 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1336 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1337 Doc fixes (Bug#11225).
1338
d9857e53
SM
13392012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1342 a function if there's a clear indication that it has a compiler-macro.
1343 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1344 (macro-declarations-alist): Add arglist to declaration functions.
1345 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1346 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1347 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1348 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1349 Also add autoload to find the compiler macro.
1350 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1351 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1352 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1353 (cl--compiler-macro-get): New functions, replacing calls to
1354 cl-define-compiler-macro.
1355 (cl-typep) [compiler-macro]: Use macroexp-let².
1356
f81298f8 13572012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1358
1359 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1360 string properly, fixes Bug#11473.
1361
4b56d0fe
CY
13622012-06-08 Chong Yidong <cyd@gnu.org>
1363
1364 * faces.el (set-face-attribute): Doc fix.
1365 (modify-face): Don't use :bold and :italic.
1366 (error, warning, success): Tweak definitions.
1367
1368 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1369 (custom-modified, custom-set, custom-changed, custom-themed)
1370 (custom-saved, custom-button, custom-button-mouse)
1371 (custom-button-pressed, custom-state, custom-comment-tag)
1372 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1373 (custom-group-subtitle): Use new-style face specs.
1374 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1375 (custom-set-face, custom-changed-face, custom-saved-face)
1376 (custom-button-face, custom-button-pressed-face)
1377 (custom-documentation-face, custom-state-face)
1378 (custom-comment-face, custom-comment-tag-face)
1379 (custom-variable-tag-face, custom-variable-button-face)
1380 (custom-face-tag-face, custom-group-tag-face-1)
1381 (custom-group-tag-face): Remove obsolete face alias.
1382
1383 * epa.el (epa-validity-high, epa-validity-medium)
1384 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1385 (epa-field-name, epa-field-body):
1386 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1387 (font-lock-keyword-face, font-lock-builtin-face)
1388 (font-lock-function-name-face, font-lock-variable-name-face)
1389 (font-lock-type-face, font-lock-constant-face):
1390 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1391 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1392 * speedbar.el (speedbar-button-face, speedbar-file-face)
1393 (speedbar-directory-face, speedbar-tag-face)
1394 (speedbar-selected-face, speedbar-highlight-face)
1395 (speedbar-separator-face):
1396 * whitespace.el (whitespace-newline, whitespace-space)
1397 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1398 (whitespace-line, whitespace-space-before-tab)
1399 (whitespace-space-after-tab, whitespace-indentation)
1400 (whitespace-empty):
1401 * emulation/cua-base.el (cua-global-mark):
1402 * eshell/em-prompt.el (eshell-prompt):
1403 * net/newst-plainview.el (newsticker-new-item-face)
1404 (newsticker-old-item-face, newsticker-immortal-item-face)
1405 (newsticker-obsolete-item-face, newsticker-date-face)
1406 (newsticker-statistics-face, newsticker-default-face):
1407 * net/newst-reader.el (newsticker-feed-face)
1408 (newsticker-extra-face, newsticker-enclosure-face):
1409 * net/newst-treeview.el (newsticker-treeview-face)
1410 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1411 (newsticker-treeview-immortal-face)
1412 (newsticker-treeview-obsolete-face)
1413 (newsticker-treeview-selection-face):
1414 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1415 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1416 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1417 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1418 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1419 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1420 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1421 (mpuz-text):
1422 * progmodes/vera-mode.el (vera-font-lock-number)
1423 (vera-font-lock-function, vera-font-lock-interface):
1424 * textmodes/table.el (table-cell): Use new-style face specs, and
1425 don't use the old :bold and :italic attributes.
1426
1427 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1428 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1429 (ebrowse-member-class, ebrowse-progress): Likewise.
1430 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1431 (ebrowse-file-name-face, ebrowse-default-face)
1432 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1433 (ebrowse-progress-face): Remove obsolete faces.
1434
1435 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1436 Inherit from error and warning faces respectively.
1437
1438 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1439 Likewise.
f80efb86
SM
1440 (flyspell-incorrect-face, flyspell-duplicate-face):
1441 Remove obsolete aliases.
4b56d0fe 1442
03310646
MA
14432012-06-08 Michael Albinus <michael.albinus@gmx.de>
1444
1445 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1446 Avoid infloop.
1447
513749ee
SM
14482012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * startup.el (argv, argi): Make lexically scoped.
1451 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1452 * emacs-lisp/cl-macs.el: Use lexical-binding.
1453 Rename cl-bind-* to cl--bind-*.
1454 * files.el: Don't require `cl' since it doesn't use it.
1455 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1456
595ef4ad
JB
14572012-06-08 Juanma Barranquero <lekktu@gmail.com>
1458
1459 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1460 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1461 instead of calling external sort utility.
1462 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1463
e9f66fcb
EZ
14642012-06-08 Eli Zaretskii <eliz@gnu.org>
1465
1466 * descr-text.el (describe-char): Mention how to insert the
1467 character, if the current input method doesn't support it.
1468 See the discussion in this thread for the details:
1469 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1470
3d10db47
SS
14712012-06-08 Sam Steingold <sds@gnu.org>
1472
1473 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1474 XF86Back to previous-buffer.
1475 (minibuffer-local-map): Bind them to next-history-element and
1476 previous-history-element respectively.
1477 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1478 help-go-back respectively.
1479 * info.el (Info-mode-map): Bind them to Info-history-forward and
1480 Info-history-back respectively.
1481 These are the keys next to Up on the ThinkPad keyboard.
1482
de7e2b36
SM
14832012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1486 * emacs-lisp/cl-macs.el: Provide itself.
1487 (cl--labels-convert-cache): New var.
1488 (cl--labels-convert): New function.
1489 (cl-flet, cl-labels): New implementation with new semantics, relying on
1490 lexical-binding.
1491 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1492 (cl-closure-vars, cl--function-convert-cache)
1493 (cl--function-convert): Move from cl-macs.el.
1494 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1495 rename by removing the "cl-" prefix.
1496 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1497
6fa6c4ae
SM
14982012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1501 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1502 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1503 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1504 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1505 (cl-hash-table-count): Add old compatibility aliases.
1506
1507 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1508 Use macroexpand-all-environment instead.
1509 (cl--old-macroexpand): New var.
1510 (cl--sm-macroexpand): New function.
1511 (cl-symbol-macrolet): Use it during macro expansion.
1512 (cl--function-convert-cache): New var.
1513 (cl--function-convert): New function, extracted from
1514 cl-macroexpand-all.
1515 (cl-lexical-let): Use it.
1516
1517 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1518 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1519 (cl-member): Remove old alias.
1520
1521 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1522 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1523 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1524 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1525 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1526 (cl-macroexpand-cmacs): Remove var.
1527 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1528 Use macroexpand-all instead.
1529
4dd1c416
SM
15302012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1533 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1534 (macroexp-copyable-p): New functions and macros.
1535 * emacs-lisp/edebug.el (edebug-unwrap):
1536 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1537 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1538 (pcase--let*): Remove.
1539 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1540 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1541 macroexp-const-p instead.
1542 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1543
1544 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1545 instead of "cl-" for internal definitions. Use macroexp-const-p.
1546 (cl-old-bc-file-form): Remove var.
1547 (cl-const-exprs-p): Remove fun.
1548 (cl-labels, cl-macrolet): Use backquote.
1549 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1550 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1551 (cl-define-setf-expander): Rename from cl-define-setf-method.
1552 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1553
1554 * international/mule-cmds.el: Don't require CL.
1555 (view-hello-file): Don't use `letf'.
1556
ed8bd4d7
SM
15572012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1558
7287f2f3
SM
1559 * tmm.el (tmm-prompt): Use string-prefix-p.
1560 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1561 (tmm-add-prompt): Use minibuffer-completion-help.
1562 (tmm-delete-map): Remove.
1563
ed8bd4d7
SM
1564 * subr.el (kbd): Make it its own function.
1565
7b4cdbf4
SM
15662012-06-07 Stefan Merten <smerten@oekonux.de>
1567
1568 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1569 Silence compiler warnings. Fix versions.
ed8bd4d7 1570 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1571 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1572 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1573 (rst-package-emacs-version-alist): Correct Emacs version to
1574 represent major merge with upstream.
ed8bd4d7 1575 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1576
2b48d721
GM
15772012-06-06 Glenn Morris <rgm@gnu.org>
1578
1579 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1580 Only print environment variables if set.
1581
fa779ab0
SM
15822012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1585 (macroexp--cons): Rename from maybe-cons.
1586 (macroexp--accumulate): Rename from macroexp-accumulate.
1587 (macroexp--all-forms): Rename from macroexpand-all-forms.
1588 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1589 (macroexp--expand-all): Rename from macroexpand-all-1.
1590
628299e0
SS
15912012-06-06 Sam Steingold <sds@gnu.org>
1592
1593 * calendar/calendar.el (calendar-in-read-only-buffer):
1594 Call `special-mode' to enable the standard read-only keybindings.
1595
b7bb5838
SM
15962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1599 with "loading" messages (bug#11635).
1600
dfb308ba
MA
16012012-06-06 Michael Albinus <michael.albinus@gmx.de>
1602
1603 * files.el (enable-remote-dir-locals): New option.
1604 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1605
0372ee92
MA
1606 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1607 Ensure, that the temp directory is local.
1608
1609 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1610 `temporary-file-directory'.
1611
eed0bb91
MA
1612 * progmodes/python.el (python-send-region): Ensure, that the
1613 temporary file is created also in the remote case.
1614
7a58f64d
GM
16152012-06-06 Glenn Morris <rgm@gnu.org>
1616
f7dd4e98
GM
1617 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1618 (vc-rcs-update-changelog): Use it.
1619
090bd7cb 1620 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1621
7a58f64d
GM
1622 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1623 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1624 (vc-sccs-diff): Replace use of the external vcdiff script.
1625
daed4003
GM
16262012-06-05 Glenn Morris <rgm@gnu.org>
1627
1628 * ledit.el: Move to obsolete/.
1629
48c455c7
SS
16302012-06-05 Sam Steingold <sds@gnu.org>
1631
1632 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1633 patch (Bug#11140).
1634
57a7d507
SM
16352012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1636
090bd7cb 1637 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1638
53aacf21
SM
1639 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1640 compiler-macro expansion.
1641
57a7d507
SM
1642 Add native compiler-macro support.
1643 * emacs-lisp/macroexp.el (macroexpand-all-1):
1644 Support compiler-macros directly. Properly follow aliases and apply
1645 the compiler macros more thoroughly.
1646 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1647 macroexpand now properly follows aliases.
1648 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1649 (cl-compiler-macroexpand): Use new prop.
1650 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1651
1652 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1653
51a5f9d8
MR
16542012-06-05 Martin Rudalics <rudalics@gmx.at>
1655
1656 * window.el (get-lru-window, get-mru-window, get-largest-window):
1657 New argument NOT-SELECTED to avoid picking the selected window.
1658 (window--display-buffer-1, window--display-buffer-2): Replace by
1659 new function window--display-buffer
1660 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1661 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1662 Use window--display-buffer.
51a5f9d8
MR
1663 (display-buffer-use-some-window): Remove temporary dedication
1664 hack by calling get-lru-window and get-largest-window with
1665 NOT-SELECTED argument non-nil. Call window--display-buffer.
1666
08f9f738
GM
16672012-06-05 Glenn Morris <rgm@gnu.org>
1668
1669 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1670 Replace external vcdiff script.
1671
e364a2b7
SM
16722012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1675
041df390
CY
16762012-06-04 Chong Yidong <cyd@gnu.org>
1677
e364a2b7
SM
1678 * image.el (imagemagick-types-inhibit): Revert last change.
1679 Add INFO and M.
47b36b94 1680 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1681
7c1898a7
SM
16822012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * emacs-lisp/cl-lib.el: Rename from cl.el.
1685 * emacs-lisp/cl.el: New compatibility file.
1686 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1687 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1688 to obey the "cl-" prefix.
1689 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1690
0c3461de
GM
16912012-06-03 Glenn Morris <rgm@gnu.org>
1692
1e266c88
GM
1693 * emacs-lisp/authors.el (authors-aliases): Addition.
1694
0c3461de
GM
1695 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1696 Fix :version.
1697
d8a52e15
SM
16982012-06-03 Stefan Merten <smerten@oekonux.de>
1699
1700 * textmodes/rst.el: Add comments.
1701 (rst-transition, rst-adornment): New faces.
1702 (rst-adornment-faces-alist): Make default safe to reevaluate.
1703 Fixes
1704 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1705 Improve customization tags.
1706 (rst-define-level-faces): Clarify meaning.
1707
5205d6f6
CY
17082012-06-03 Chong Yidong <cyd@gnu.org>
1709
1710 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1711 (compilation-mode-line-run, compilation-mode-line-exit):
1712 New faces.
5205d6f6
CY
1713 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1714
757ee657
JD
17152012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1716
7c1898a7
SM
1717 * progmodes/which-func.el (which-func-update-ediff-windows):
1718 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1719
5f2c76c6
CY
17202012-06-03 Chong Yidong <cyd@gnu.org>
1721
1722 * bindings.el: Remove explicit help text from format-mode-line.
1723 It is now supplied by mode-line-default-help-echo.
1724 (mode-line-front-space, mode-line-end-spaces)
1725 (mode-line-misc-info): New variables.
1726 (mode-line-modes, mode-line-position): Move the default value to
1727 the variable definition.
1728 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1729 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1730 (mode-line-modified-help-echo): New functions.
1731 (mode-line-mule-info, mode-line-modified): Use them.
1732 (mode-line-eol-desc, propertized-buffer-identification):
1733 Consistency fixes for help text.
cbe46e5f
CY
1734 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1735 set-buffer-file-coding-system (Bug#289).
1736 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1737
f2d6a3df
SM
17382012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * simple.el (execute-extended-command): Set real-this-command
1741 (bug#11506).
1742
37269466
CY
17432012-06-02 Chong Yidong <cyd@gnu.org>
1744
1745 Remove incorrect uses of "modeline" in comments, docstrings, and
1746 function/variable names (Bug#10329).
1747
1748 * cus-edit.el (mode-line):
1749 * dframe.el (dframe-mouse-hscroll):
1750 * emacs-lisp/re-builder.el:
1751 * emacs-lisp/easy-mmode.el (define-minor-mode):
1752 * frame.el (set-frame-name):
1753 * help.el (lookup-minor-mode-from-indicator):
1754 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1755 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1756 (c-toggle-hungry-state):
1757 * progmodes/antlr-mode.el (antlr-language-alist):
1758 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1759 * progmodes/vhdl-mode.el (vhdl-mode):
1760 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1761 * term/ns-win.el (ns-face-at-pos):
1762 * term/sup-mouse.el (sup-mouse-report):
1763 * textmodes/flyspell.el (flyspell-mode-line-string):
1764 * textmodes/ispell.el (ispell-highlight-face):
1765 * textmodes/reftex-global.el:
1766 * vc/vc-arch.el (vc-arch-mode-line-string):
1767 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1768 * vc/vc-git.el (vc-git-mode-line-string):
1769 * vc/vc-hooks.el (vc-display-status)
1770 (vc-default-mode-line-string):
1771 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1772
1773 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1774
1775 * dired.el (dired-sort-set-mode-line): Rename from
1776 dired-sort-set-modeline. All callers changed.
1777
1778 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1779 eshell-status-in-modeline.
1780
1781 * foldout.el (foldout-mode-line-string): Rename from
1782 foldout-modeline-string. All callers changed.
1783 (foldout-update-mode-line): Rename from foldout-update-modeline.
1784
1785 * subr.el (redraw-modeline): Make into obsolete alias.
1786
1787 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1788 timeclock-modeline-display. Make old name an alias.
1789 (timeclock-update-mode-line): Likewise. All callers changed.
1790 (timeclock-mode-line-display): No need to check before using
1791 add-hook.
1792 (timeclock-relative, timeclock-day-over-hook)
1793 (timeclock-use-elapsed, timeclock-mode-string)
1794 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1795
1796 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1797 crisp-mode-modeline-string.
1798
1799 * play/solitaire.el (solitaire-build-mode-line): Rename from
1800 solitaire-build-modeline. All callers changed.
1801
1802 * play/zone.el (zone-hiding-mode-line): Rename from
1803 zone-hiding-modeline. All callers changed.
1804 (zone): Remove unusued `modeline-hidden-level' property.
1805
1806 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1807 xscheme-modeline-initialize. All callers changed.
1808
1809 * strokes.el (strokes-lighter): Rename from
1810 strokes-modeline-string.
1811
1812 * textmodes/sgml-mode.el (html-face-tag-alist)
1813 (html-tag-face-alist): Use mode-line face instead of obsolete
1814 alias modeline.
1815
42152ee4
SM
18162012-06-02 Stefan Merten <smerten@oekonux.de>
1817
1818 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1819 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1820
95f520b5
CY
18212012-06-02 Chong Yidong <cyd@gnu.org>
1822
1823 * image.el (imagemagick-enabled-types): Rename from
1824 imagemagick-types-enable. Add many more types.
1825 (imagemagick-types-inhibit): Change default to nil.
1826 (imagemagick-filter-types): Caller changed.
1827
4a5f187a
SM
18282012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1829
03fef3e6
SM
1830 * emacs-lisp/cl-macs.el: Use backquotes.
1831 (cl-transform-function-property): Use eval-and-compile rather than
1832 abusing `require'.
1833 (defstruct): Use declare-function instead of with-no-warnings.
1834
4a5f187a
SM
1835 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1836 (byte-compile-output-docform): Re-add the print-circle bindings.
1837 (byte-compile-fix-header): Use #$ just because it's shorter.
1838 (byte-compile-output-file-form): Remove defun/defmacro.
1839
bd56924f
MR
18402012-06-01 Martin Rudalics <rudalics@gmx.at>
1841
1842 * simple.el (choose-completion): Remove now obsolete binding for
1843 owindow.
1844
046e38ce
MA
18452012-06-01 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1848 in order to avoid "Stack overflow in regexp matcher".
1849
32d72c2f
GM
18502012-05-31 Glenn Morris <rgm@gnu.org>
1851
1852 * image.el: For clarity, call imagemagick-register-types at
1853 top-level, rather than relying on a custom :initialize.
1854 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1855 (imagemagick-filter-types): New function. (Bug#7406)
1856 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1857 If disabling support, remove elements altogether rather
1858 than using an impossible regexp.
1859 (imagemagick-types-inhibit): Give it the default init function.
1860
dd41169b
SM
18612012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1862
4a5f187a
SM
1863 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1864 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1865
efc00ab1 18662012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1867
1868 * desktop.el (desktop-read): Clear previous and next buffers for
1869 all windows and bury *Messages* buffer (bug#11556).
1870
500fcedc
SM
18712012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 Add `declare' for `defun'. Align `defmacro's with it.
1874 * emacs-lisp/easy-mmode.el (define-minor-mode)
1875 (define-globalized-minor-mode): Don't autoload the var definitions.
1876 * emacs-lisp/byte-run.el: Use lexical-binding.
1877 (defun-declarations-alist, macro-declarations-alist): New vars.
1878 (defmacro, defun): Use them.
1879 (make-obsolete, define-obsolete-function-alias)
1880 (make-obsolete-variable, define-obsolete-variable-alias):
1881 Use `declare'.
1882 (macro-declaration-function): Mark obsolete.
1883 * emacs-lisp/autoload.el: Use lexical-binding.
1884 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1885
6e8a1786
AM
18862012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1887
1888 * textmodes/ispell.el (ispell-with-no-warnings):
1889 Define as a macro.
500fcedc
SM
1890 (ispell-kill-ispell, ispell-change-dictionary):
1891 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1892 `interactive-p'.
1893
61b108cc
SM
18942012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1897 (macro-declaration-function): Move var from C code.
1898 (macro-declaration-function): Define function with defalias.
1899 * emacs-lisp/macroexp.el (macroexpand-all-1):
1900 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1901 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1902 defun/defmacro any more.
1903 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1904 Provide fallback for unknown arglist.
1905 (byte-compile-arglist-warn): Change calling convention.
1906 (byte-compile-output-file-form): Move print-vars binding.
1907 (byte-compile-output-docform): Simplify accordingly.
1908 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1909 (byte-compile-defmacro-declaration): Remove.
1910 (byte-compile-file-form-defmumble): Generalize to defalias.
1911 (byte-compile-output-as-comment): Return byte-positions.
1912 Simplify callers accordingly.
1913 (byte-compile-lambda): Use `assert'.
1914 (byte-compile-defun, byte-compile-defmacro): Remove.
1915 (byte-compile-file-form-defalias):
1916 Use byte-compile-file-form-defmumble.
1917 (byte-compile-defalias-warn): Remove.
1918
6d3f7c2f
SM
19192012-05-29 Stefan Merten <smerten@oekonux.de>
1920
1921 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1922 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1923
1924 (rst-mode-abbrev-table): Merge definition.
1925 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1926 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1927
6dbaa1c7
UJ
19282012-05-29 Ulf Jasper <ulf.jasper@web.de>
1929
1930 * calendar/icalendar.el
1931 (icalendar-export-region): Export UID properly.
1932
d209e2fb 19332012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1934 * calendar/icalendar.el (icalendar-import-format):
1935 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1936 (icalendar-import-format-uid): New.
1937 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1938 Export UID.
1939
6876a58d
SM
19402012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1943 different alternative patterns.
1944 (pcase-codegen): Be more careful to preserve identity.
1945 (pcase--u1): Don't forget to mark vars as used.
1946
1947 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1948 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1949 (byte-compile-from-buffer): ...rather than here.
1950
1951 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1952 functions from byte-compile-function-environment.
1953
46b7967e
TN
19542012-05-29 Troels Nielsen <bn.troels@gmail.com>
1955
1956 * window.el (window-deletable-p): Avoid deleting the root window
1957 of a frame with an active minibuffer.
1958
69d565e2
MR
19592012-05-29 Martin Rudalics <rudalics@gmx.at>
1960
1961 * simple.el (choose-completion): Use quit-window (Bug#11567).
1962
a149fa51
CY
19632012-05-29 Chong Yidong <cyd@gnu.org>
1964
1965 * whitespace.el (whitespace-cleanup): Fix usage of
1966 whitespace-empty-at-bob-regexp (Bug#11492).
1967
2b311310
AH
19682012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1969
1970 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1971 revert (Bug#11488).
1972
b9cb2387
JL
19732012-05-29 Juri Linkov <juri@jurta.org>
1974
1975 * isearch.el (isearch-mode-map): Bind `M-s _' to
1976 `isearch-toggle-symbol'. Bind `M-s c' to
1977 `isearch-toggle-case-fold'.
1978 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1979 (isearch-forward): Add `M-s _' to the docstring.
1980 (isearch-forward-symbol, isearch-toggle-case-fold)
1981 (isearch-symbol-regexp): New functions. (Bug#11381)
1982
d5e61c1c
JL
19832012-05-29 Juri Linkov <juri@jurta.org>
1984
1985 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1986 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1987 a function, call it to get the regexp.
1988 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1989 property `isearch-message-prefix' instead of the string "word ".
1990 (isearch-search-fun-default): For the case of `isearch-word',
1991 return a lambda that calls re-search-forward/re-search-backward
1992 with a regexp returned by `word-search-regexp' or by the function
1993 in `isearch-word'.
1994
8cbd80f7
JL
19952012-05-29 Juri Linkov <juri@jurta.org>
1996
1997 * isearch.el (isearch-search-fun-default): New function.
1998 (isearch-search-fun): Move default part to the new function
1999 `isearch-search-fun-default'.
2000 (isearch-search-fun-function): Set the default value to
2001 `isearch-search-fun-default'. (Bug#11381)
2002
2003 * comint.el (comint-history-isearch-end):
2004 Use `isearch-search-fun-default'.
2005 (comint-history-isearch-search): Use `isearch-search-fun-default'
2006 and remove spacial case for `isearch-word'.
2007 (comint-history-isearch-wrap): Remove spacial case for
2008 `isearch-word'.
2009
2010 * hexl.el (hexl-isearch-search-function):
2011 Use `isearch-search-fun-default'.
2012
2013 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2014 Use `word-search-regexp' for `isearch-word'.
2015
2016 * misearch.el (multi-isearch-search-fun):
2017 Use `isearch-search-fun-default'.
2018
2019 * simple.el (minibuffer-history-isearch-search):
2020 Use `isearch-search-fun-default' and remove spacial case for
2021 `isearch-word'.
2022 (minibuffer-history-isearch-wrap): Remove spacial case for
2023 `isearch-word'.
2024
2025 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2026 Remove spacial case for `isearch-word'.
2027 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2028
85c8c5b6
AM
20292012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2030
2031 Decrease XEmacs incompatibilities.
2032 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2033 Use `string-match'.
2034 (flyspell-delete-region-overlays): Use alternative definition for
2035 XEmacs.
2036 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2037 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2038 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2039 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2040 `define-obsolete-face-alias' under XEmacs, but old method.
2041
2042 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2043 `with-no-warnings' definition or Emacs alias.
2044 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2045 (ispell-word): Do not use `region-p' if XEmacs.
2046
8cab9efc
AM
20472012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2048
2049 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2050 Check for `ispell-dictionary-base-alist' instead of full
2051 `ispell-dictionary-alist'.
2052 (ispell-init-process): Show spellchecker when starting new Ispell
2053 process.
2054
fda91268
RZ
20552012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2058 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2059
694ea8e3
JB
20602012-05-27 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * version.el (motif-version-string, gtk-version-string)
2063 (ns-version-string): Declare.
2064
e4d4f539
JL
20652012-05-27 Juri Linkov <juri@jurta.org>
2066
2067 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2068 after the `eval-defun-1' specialcaseing
2069 like in `edebug-eval-defun' (bug#10181).
2070
2071 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2072 like in `eval-defun-1'.
2073
33017faf 20742012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2075
fda91268
RZ
2076 * mail/sendmail.el (mail-yank-region):
2077 Recognize rmail-yank-current-message in addition to insert-buffer.
2078 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2079 a *mail* buffer created through rmail-start-mail with sendmail as
2080 mail-user-agent.
2081
33017faf
GM
20822012-05-27 Chong Yidong <cyd@gnu.org>
2083
2084 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2085 Default to 256 (Bug#11267).
2086
2087 * help.el (describe-mode): Doc fix.
2088
04188bb9
GM
20892012-05-26 Glenn Morris <rgm@gnu.org>
2090
38264cc9
GM
2091 * w32-fns.el (w32-init-info): Remove.
2092 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2093
eb7afdad
GM
2094 * info.el (info-initialize): For self-contained NS builds, put the
2095 included info/ directory at the front. (Bug#2791)
2096
04188bb9
GM
2097 * paths.el (Info-default-directory-list): Make it a defcustom,
2098 mainly so that we can use custom-initialize-delay.
2099
a179e3f7
SM
21002012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2101
43416392
SM
2102 * subr.el (buffer-has-markers-at): Mark obsolete.
2103
a179e3f7 2104 * subr.el (lambda): Use declare.
43416392 2105
a179e3f7
SM
2106 * emacs-lisp/lisp-mode.el (lambda):
2107 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2108
34a008d9
AH
21092012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2110
2111 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2112
0a3b289f
GM
21132012-05-26 Glenn Morris <rgm@gnu.org>
2114
2115 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2116
758c81e8
GM
21172012-05-25 Glenn Morris <rgm@gnu.org>
2118
f9f334f0
GM
2119 * paths.el: Remove no-byte-compile.
2120 * loadup.el: No need to load paths.el uncompiled.
2121
87eb79c2
GM
2122 * image.el (imagemagick-types-inhibit): Doc fix.
2123
758c81e8
GM
2124 * version.el: Remove no-byte-compile and associated formatting.
2125 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2126 is ancient code from when there was an "inc-vers.el".
2127
e7e85dc0
SM
21282012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * progmodes/gdb-mi.el: Minor style changes.
2131 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2132 Turn into minor modes.
2133 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2134 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2135 (gdb-shell): Remove unneeded let-binding.
2136 (gdb-get-many-fields): Eliminate O(n²) behavior.
2137
f31237a4
EZ
21382012-05-25 Eli Zaretskii <eliz@gnu.org>
2139
2140 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2141 platforms that don't link in fontset.c.
2142
bc1b21bb
JL
21432012-05-25 Juri Linkov <juri@jurta.org>
2144
2145 Use the same diff color scheme as in modern VCSes (bug#10181).
2146
2147 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2148 to avoid confusion with `diff-added' that now uses green colors.
2149 (diff-removed): Use shades of red.
2150 (diff-added): Use shades of green.
2151 (diff-changed): Leave just the yellow color.
2152 (diff-use-changed-face): New variable.
2153 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2154 how to highlight context diff changes.
2155 (diff-refine-change): Use shades of yellow.
2156 (diff-refine-removed): New face that uses shades of red.
2157 (diff-refine-added): New face that uses shades of green.
2158 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2159 `diff-refine-removed' in the call to `smerge-refine-subst'
2160 depending on the value of `diff-use-changed-face'.
2161
2162 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2163 (smerge-other): Use shades of green.
2164 (smerge-base): Use shades of yellow.
2165 (smerge-refined-change): Empty face.
2166 (smerge-refined-removed): New face that uses shades of red.
2167 (smerge-refined-added): New face that uses shades of green.
2168 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2169 args `props-r' and `props-a', and use them. Doc fix.
2170 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2171 on its value use different faces `smerge-refined-change',
2172 `smerge-refined-removed', `smerge-refined-added' in the call to
2173 `smerge-refine-subst'.
2174
2175 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2176 Add face condition `min-colors 88' with shades of red.
2177 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2178 `min-colors 88' with shades of green.
2179 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2180 `min-colors 88' with shades of yellow.
2181
6df9112c
GM
21822012-05-24 Glenn Morris <rgm@gnu.org>
2183
ead5edc0
GM
2184 * paths.el (prune-directory-list, remote-shell-program): Move to...
2185 * files.el (prune-directory-list, remote-shell-program): ...here.
2186 For the latter, delay initialization, prefer ssh, just search PATH.
2187
f18b81e6
GM
2188 * paths.el (term-file-prefix): Move to faces.el (the only user).
2189 * faces.el (term-file-prefix): Move here, make it a defcustom.
2190
ee2f89a6
GM
2191 * paths.el (news-directory, news-path, news-inews-program):
2192 Move to gnus/nnspool.el.
61a583ca 2193
f8815e4c
GM
2194 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2195
c8f3b42c
GM
2196 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2197 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2198 Make the latter a defcustom, with a delayed initialization.
2199
6df9112c
GM
2200 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2201 These were deleted from Gnus itself late 2010.
2202
5dadff36
JB
22032012-05-22 Juanma Barranquero <lekktu@gmail.com>
2204
9e1701c6
JB
2205 * progmodes/which-func.el (which-func-ff-hook):
2206 Check against user-error, not error.
2207
bd7239f5 2208 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2209 cl-specs.el, which no longer exists.
2210
3290526d
GM
22112012-05-22 Glenn Morris <rgm@gnu.org>
2212
2213 * info.el (info-emacs-bug): New command.
2214 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2215 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2216
ff0c3cfb
GM
22172012-05-21 Glenn Morris <rgm@gnu.org>
2218
2219 * makefile.w32-in (update-subdirs-SH):
2220 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2221
5814f126
SM
22222012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2223
a52c0aa0
SM
2224 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2225
5814f126
SM
2226 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2227 Simplify Maven regexp, and make sure the file can't start with a space
2228 (bug#11517).
2229
b847032c
GM
22302012-05-21 Glenn Morris <rgm@gnu.org>
2231
2232 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2233 Scrap superfluous subshells.
2234
3858bfe7
SM
22352012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2238 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2239
d14b0029
JB
22402012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2241
2242 * calc/calc.el (calc-ensure-consistent-units): New variable.
2243
a52c0aa0
SM
2244 * calc/calc-units.el (math-consistent-units-p)
2245 (math-check-unit-consistency): New functions.
2246 (calc-quick-units, calc-convert-units):
2247 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2248 is non-nil.
d14b0029
JB
2249 (calc-extract-units): Fix typo.
2250
60c4db3a
SM
22512012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2252
77f3b62e
SM
2253 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2254
60c4db3a
SM
2255 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2256 (flyspell-default-deplacement-commands): Don't spell check after
2257 repeated window/frame switches (e.g. triggered by mouse-movement).
2258 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2259 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2260 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2261 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2262 Remove unused vars.
2263 (flyspell-get-casechars, flyspell-get-not-casechars):
2264 Simplify; Don't bother removing a ] just to add it back.
2265 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2266
d209e2fb 22672012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2268
2269 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2270 New functions.
bd7239f5 2271 (math-function-table): Add support for more C functions.
b1a10716 2272
3f1b25b5
AM
22732012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2274
090bd7cb
JB
2275 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2276 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2277 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2278
b581bb5c
SM
22792012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2282 their respective macro declarations.
2283 * skeleton.el (define-skeleton):
2284 * progmodes/compile.el (define-compilation-mode):
2285 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2286 (define-ibuffer-filter):
2287 * emacs-lisp/generic.el (define-generic-mode):
2288 * emacs-lisp/easy-mmode.el (define-minor-mode)
2289 (define-globalized-minor-mode):
2290 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2291 * emacs-lisp/byte-run.el (defsubst):
2292 * custom.el (deftheme): Add doc-string metadata.
2293
70b8ef8f
SM
22942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2297
b1198e17
SM
22982012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2299
9abdc45d
SM
2300 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2301
b1198e17
SM
2302 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2303 * emacs-lisp/cl-macs.el: Idem.
2304 * emacs-lisp/cl-specs.el: Remove.
2305
4735906a
SM
23062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 Minor renaming of internal CL functions and variables.
2309 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2310 (cl--position): Rename from cl-position.
2311 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2312 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2313 (cl--random-state): Rename from *random-state*.
2314
ac348012
SM
23152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2318 parens around the arg list (bug#11499).
2319
a0a79cde
JL
23202012-05-17 Juri Linkov <juri@jurta.org>
2321
2322 * isearch.el (word-search-regexp, word-search-backward)
2323 (word-search-forward, word-search-backward-lax)
2324 (word-search-forward-lax): Move functions from search.c
2325 (bug#10145, bug#11381).
2326
65034a51
AM
23272012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2328
090bd7cb
JB
2329 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2330 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2331 Delay for otherchars as for normal word components.
65034a51 2332
1a72a195
SM
23332012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * minibuffer.el (completion--sifn-requote): Fix last change.
2336 (minibuffer-local-must-match-filename-map):
2337 Move define-obsolete-variable-alias before its var.
2338
fdb058c2
SM
23392012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2340
c41045e6
SM
2341 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2342
036dfb8b
SM
2343 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2344 behavior.
2345 (completion--string-equal-p): New function.
2346 (completion--twq-all): Use it to get better assertion failure data.
2347
2473256d
SM
2348 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2349 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2350 (shell--requote-argument): New functions.
2351 (shell-completion-vars): Use them.
2352 (shell--parse-pcomplete-arguments): Rename from
2353 shell-parse-pcomplete-arguments.
2354 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2355 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2356 Obey comint-file-name-quote-list.
2357
fdb058c2
SM
2358 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2359 (smie-indent-keyword): Use it.
2360
51fa99f1
SM
23612012-05-14 Stefan Merten <smerten@oekonux.de>
2362
2363 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2364
e18afed7 23652012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2366
2367 * net/rlogin.el (rlogin-mode-map): Fix last change.
2368
e18afed7 23692012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2370
2371 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2372 the following \r\n using a single `process-send-string', since the
2373 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2374 with two `process-send-string's (Bug#11444).
8633b1f4 2375
e18afed7 23762012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2377
fdb058c2
SM
2378 * shell.el (shell-parse-pcomplete-arguments):
2379 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2380
2d21d7f6
WJ
23812012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2382
e18afed7 2383 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2384 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2385 (image-transform-width, image-transform-fit-width): New functions.
2386 (image-transform-properties): Use them.
2387 (image-transform-check-size): New function.
2388 (image-toggle-display-image): Use it (for testing).
2389 (image-transform-set-rotation): Reduce angle mod 360.
2390 Delete obsolete comment.
2391
7102e6d0
WJ
23922012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2393
2394 * image-mode.el: Fix scaling (bug#11399).
2395 (image-transform-resize): Doc fix.
2396 (image-transform-properties): Default scale is 1 and height should
2397 be an integer.
2398
06bc5e6e
SM
23992012-05-13 Johan Bockgård <bojohan@gnu.org>
2400
2401 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2402 than hard-coding `car', to fix misbehavior when moving forward.
2403
0ae03b6a
CY
24042012-05-13 Chong Yidong <cyd@gnu.org>
2405
2406 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2407 (tabulated-list-entries, tabulated-list-padding)
2408 (tabulated-list-sort-key): Make permanent-local.
2409
2410 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2411 (electric-buffer-list): Put electric buffer menu
2412 command descriptions in this docstring, instead of the docstring
2413 of electric-buffer-menu-mode. Code cleanups.
2414 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2415 Electric-buffer-menu-mode.
2416 (electric-buffer-update-highlight): Minor code cleanup.
2417
205a7391
MA
24182012-05-13 Michael Albinus <michael.albinus@gmx.de>
2419
2420 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2421 (Bug#11447)
2422
e5bd0a28
SM
24232012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 Move define-obsolete-variable-alias before the var's definition.
2426 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2427 * tooltip.el (tooltip-hook):
2428 * textmodes/reftex-toc.el (reftex-toc-map):
2429 * textmodes/reftex-sel.el (reftex-select-label-map)
2430 (reftex-select-bib-map):
2431 * textmodes/reftex-index.el (reftex-index-map)
2432 (reftex-index-phrases-map):
2433 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2434 * progmodes/meta-mode.el (meta-mode-map):
2435 * novice.el (disabled-command-hook):
2436 * loadhist.el (unload-hook-features-list):
2437 * frame.el (blink-cursor):
2438 * files.el (find-file-not-found-hooks, write-file-hooks)
2439 (write-contents-hooks):
2440 * emulation/tpu-edt.el (GOLD-map):
2441 * emacs-lock.el (emacs-lock-from-exiting):
2442 * emacs-lisp/generic.el (generic-font-lock-defaults):
2443 * emacs-lisp/chart.el (chart-map):
2444 * dos-fns.el (register-name-alist):
2445 * dired-x.el (dired-omit-files-p):
2446 * desktop.el (desktop-enable):
2447 * cus-edit.el (custom-mode-hook):
2448 * buff-menu.el (buffer-menu-mode-hook):
2449 * bookmark.el (bookmark-read-annotation-text-func)
2450 (bookmark-exit-hooks):
2451 * allout.el (allout-mode-deactivate-hook)
2452 (allout-exposure-change-hook, allout-structure-added-hook)
2453 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2454 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2455 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2456 comes before the corresponding variable's definition.
2457
ac59c2f6
CY
24582012-05-12 Chong Yidong <cyd@gnu.org>
2459
2460 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2461 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2462 (Buffer-menu-mode-map): Bind it.
2463 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2464
dee6c9a3
SM
24652012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2171cea5
SM
2467 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2468 (prolog-upper-case-string, prolog-lower-case-string)
2469 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2470 (prolog-use-smie, prolog-smie-grammar): New vars.
2471 (prolog-smie-forward-token, prolog-smie-backward-token)
2472 (prolog-smie-rules): New funs.
2473 (prolog-comment-indent): Remove.
2474 (prolog-mode-variables): Use default comment indentation instead.
2475 Setup SMIE.
2476 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2477 (prolog-mode): Don't call them any more.
2478 (prolog-electric-colon, prolog-electric-dash)
2479 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2480
aa0382bd
SM
2481 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2482
dbacb4bd
SM
2483 * minibuffer.el (completion--twq-all): Again, allow case differences.
2484
13bdd94c
SM
2485 * term.el: Move keymap initialization code to be more idiomatic.
2486 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2487 (term-terminal-menu): Move initialization into declaration.
2488 (term-escape-char): Let the user set it in her .emacs.
2489
ff46c759
SM
2490 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2491 Provide SMIE-based indentation (not enabled by default yet).
2492 (sh-mode-map): Don't bind electric keys.
2493 Use electric-pair-mode instead of skeleton-pair.
2494 (sh-assignment-regexp): Fit within 80 columns.
2495 (sh-indent-supported): Specify actual shell name instead of boolean.
2496 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2497 (sh-maybe-here-document): Use it. Make obsolete.
2498 (sh-electric-here-document-mode) New minor mode.
2499 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2500 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2501 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2502 (sh-smie-rc-grammar, sh-use-smie): New vars.
2503 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2504 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2505 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2506 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2507 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2508 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2509 (sh-set-shell): Use smie-setup if requested.
2510
dee6c9a3
SM
2511 * term.el (term-set-escape-char): Properly set term-escape-char.
2512 See http://stackoverflow.com/questions/10524656.
2513
9f9aa044
CY
25142012-05-10 Chong Yidong <cyd@gnu.org>
2515
2516 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2517 Use url-generic-parse-url, and handle host names and Windows
2518 filenames properly.
2519 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2520 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2521 URL schemes to work on.
2522 (ffap--toggle-read-only): New function.
2523 (ffap-read-only, ffap-read-only-other-window)
2524 (ffap-read-only-other-frame): Use it.
2525 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2526 necessary for ffap-url-unwrap-remote.
2527
836d29b3
DA
25282012-05-10 Dave Abrahams <dave@boostpro.com>
2529
2530 * cus-start.el (create-lockfiles): Add it.
2531
00fd78ed
CY
25322012-05-09 Chong Yidong <cyd@gnu.org>
2533
2534 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2535 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2536
666b903b 25372012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2538
2539 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2540
666b903b 25412012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2542
2543 * ansi-color.el (ansi-color-process-output): Check for validity of
2544 comint-last-output-start before using it. This avoids a bad
2545 interaction with gdb-mi's input/output buffer.
2546
666b903b 25472012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2548
2549 * files.el (dir-locals-read-from-file):
2550 Mention dir-locals in any error message.
2551
666b903b 25522012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2553
2554 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2555 package (Bug#11410).
2556
f677562b
CY
2557 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2558 variables into description.
2559
666b903b 25602012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2561
2562 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2563 shell-delimiter-argument-list (bug#11348).
2564 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2565
b499d8d0
JB
25662012-05-09 Juanma Barranquero <lekktu@gmail.com>
2567
8f6b6da8
JB
2568 * textmodes/rst.el: Silence byte-compiler warnings.
2569 (rst-re-alist, rst-reset-section-caches): Move around.
2570 (rst-re): Use `characterp', not `char-valid-p'.
2571 (font-lock-beg, font-lock-end): Declare.
2572
4824146a
JB
2573 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2574 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2575
b499d8d0
JB
2576 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2577
ad89bb83
GM
25782012-05-08 Glenn Morris <rgm@gnu.org>
2579
2580 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2581
8bba5a75
SM
25822012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2583
49ed9c8e
SM
2584 * vc/log-edit.el: Add GNU coding standards highlighting.
2585 (log-edit-font-lock-gnu-style)
2586 (log-edit-font-lock-gnu-keywords): New vars.
2587 (log-edit-font-lock-keywords): New fun.
2588 (log-edit-mode): Don't fold case in font-lock.
2589 (log-edit-font-lock-keywords): Do not assume case-folding.
2590
07d00b56
SM
2591 * imenu.el: Misc cleanup. Make docstrings out of comments.
2592 Use lexical-binding.
2593 (imenu--index-alist, imenu--last-menubar-index-alist)
2594 (imenu-menubar-modified-tick): Use defvar-local.
2595 (imenu--split-menu): Remove unused var.
2596 (imenu--cleanup-seen): Declare as global.
2597 (imenu--cleanup): Use dolist.
2598
8bba5a75
SM
2599 * subr.el (defvar-local): Add debug spec and doc-string position.
2600
5075bdb5
GM
26012012-05-08 Glenn Morris <rgm@gnu.org>
2602
090bd7cb 2603 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2604 * language/english.el, language/georgian.el, language/greek.el:
2605 * language/japanese.el, language/khmer.el, language/korean.el:
2606 * language/lao.el, language/misc-lang.el, language/romanian.el:
2607 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2608 * language/thai.el, language/utf-8-lang.el:
2609 Remove no-byte-compile setting.
2610
5075bdb5
GM
2611 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2612
06f679a7
AH
26132012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2614
2615 * progmodes/make-mode.el (makefile-browse):
2616 Remove unnecessary interactive. (Bug#11324)
2617
03794570
GM
26182012-05-07 Glenn Morris <rgm@gnu.org>
2619
af8630f4
GM
2620 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2621
03794570
GM
2622 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2623
f0809a9d
SM
26242012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2625
28be5ce7
SM
2626 * loadup.el: Preload newcomment.el.
2627 * newcomment.el: Move autoload-only code to toplevel.
2628
f0809a9d
SM
2629 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2630 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2631 Handle new :right-align column property.
2632 (tabulated-list-print-col): Idem, plus use `display' text-property to
2633 try and preserve alignment for variable pitch fonts.
2634
1241b724
CY
26352012-05-07 Chong Yidong <cyd@gnu.org>
2636
2637 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2638 (tabulated-list-use-header-line): New var.
2639 (tabulated-list-init-header): Use it.
2640 (tabulated-list-print-fake-header): New function.
2641 (tabulated-list-print): Use it.
2642 (tabulated-list-sort-button-map): Add non-header-line commands.
2643 (tabulated-list-init-header): Add column name property to basic
2644 labels as well.
2645 (tabulated-list-col-sort): Handle non-header-line button case.
2646 (tabulated-list--sort-by-column-name): Fix a corner case.
2647
f0809a9d
SM
2648 * buff-menu.el (list-buffers--refresh):
2649 Handle Buffer-menu-use-header-line.
1241b724 2650
e5f9458f
CY
26512012-05-06 Chong Yidong <cyd@gnu.org>
2652
2653 * buff-menu.el: Convert to Tabulated List mode.
2654 (Buffer-menu-buffer+size-width): Make obsolete.
2655 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2656 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2657 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2658 documentation into docstring of buffer-menu.
2659 (Buffer-menu-toggle-files-only): Add an informative message.
2660 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2661 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2662 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2663 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2664 (Buffer-menu-execute, Buffer-menu-select)
2665 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2666 (Buffer-menu-bury): Use Tabulated List machinery.
2667 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2668 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2669 Delete.
e5f9458f
CY
2670 (list-buffers--refresh): New function.
2671 (list-buffers-noselect): Use it.
2672 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2673 (Buffer-menu--pretty-file-name): New helper functions.
2674
2675 * loadup.el: Preload tabulated-list.
2676
2677 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2678 tabulated-list-sort-column.
2679 (tabulated-list-init-header): Add the initial aligning space even
2680 if tabulated-list-padding is zero.
2681
e129292c
CS
26822012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2683
2684 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2685 whose cdr is not a cons cell correctly (bug#11038).
2686
6632d361
CY
26872012-05-06 Chong Yidong <cyd@gnu.org>
2688
e129292c
CS
2689 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2690 Accept additional plist in column descriptors.
6632d361
CY
2691 (tabulated-list-init-header): Obey it.
2692 (tabulated-list-get-entry): New function.
2693 (tabulated-list-put-tag): Use it. Use string-width instead of
2694 length.
2695 (tabulated-list--column-number): New function.
2696 (tabulated-list-print): Use it.
e129292c
CS
2697 (tabulated-list-print-col): New function.
2698 Set `tabulated-list-column-name' property on each column's text.
6632d361 2699 (tabulated-list-print-entry): Use it.
e129292c
CS
2700 (tabulated-list-delete-entry, tabulated-list-set-col):
2701 New functions.
6632d361
CY
2702 (tabulated-list-sort-column): New command (Bug#11337).
2703
3cc99f68
CY
2704 * buff-menu.el (list-buffers): Move C-x C-b binding from
2705 buff-menu.el to bindings.el.
2706
2707 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2708 :advertised-binding feature.
2709
52b61776
TN
27102012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2711
2712 * progmodes/compile.el (compilation-internal-error-properties):
2713 Calculate start position correctly when end-col is set but
2714 end-line is not (Bug#11382).
2715
ebfe2597
WJ
27162012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2717
2718 * man.el (Man-unindent): Use text-property-default-nonsticky to
2719 prevent untabify from inheriting face properties (Bug#11408).
2720
6d3f7c2f
SM
27212012-05-05 Stefan Merten <smerten@oekonux.de>
2722
2723 * textmodes/rst.el: Major merge with upstream development up to
2724 Docutils SVN r7399 / rst.el V1.2.1.
2725
2726 Clarify maintainership and authors.
2727
2728 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2729 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2730 (rst-official-version, rst-official-cvs-rev, rst-version)
2731 (rst-package-emacs-version-alist): New functions and variables
2732 for version information.
2733
2734 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2735 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2736 (rst-mode-syntax-table, rst-mode): New and corrected functions
2737 and variables representing reStructuredText features.
2738
2739 (rst-re): New function for reStructuredText regexes. Use in
2740 many places.
2741
2742 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2743 (rst-mode-map): Rebind keys.
2744
2745 (rst-mode-lazy, rst-font-lock-keywords)
2746 (rst-font-lock-extend-region)
2747 (rst-font-lock-extend-region-internal)
2748 (rst-font-lock-extend-region-extend)
2749 (rst-font-lock-find-unindented-line-limit)
2750 (rst-font-lock-find-unindented-line-match)
2751 (rst-adornment-level, rst-font-lock-adornment-level)
2752 (rst-font-lock-adornment-match)
2753 (rst-font-lock-handle-adornment-pre-match-form)
2754 (rst-font-lock-handle-adornment-matcher): Major revision of
2755 font-locking. Integrate with other code. Use `jit-lock-mode'.
2756
2757 (rst-preferred-adornments, rst-adjust-hook)
2758 (rst-new-adornment-down, rst-preferred-bullets)
2759 (rst-preferred-bullets, rst-indent, rst-indent-width)
2760 (rst-indent-field, rst-indent-literal-normal)
2761 (rst-indent-literal-minimized, rst-indent-comment): Change,
2762 extend and improve customization.
2763
2764 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2765 (rst-normalize-cursor-position, rst-get-decoration)
2766 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2767 (rst-rstrip, rst-toc-insert-find-delete-contents)
2768 (rst-shift-fill-region, rst-compute-bullet-tabs)
2769 (rst-debug-print-tabs, rst-debug-mark-found)
2770 (rst-shift-region-guts, rst-shift-region-right)
2771 (rst-shift-region-left, rst-use-char-classes)
2772 (rst-font-lock-keywords-function)
2773 (rst-font-lock-indentation-point)
2774 (rst-font-lock-find-unindented-line-begin)
2775 (rst-font-lock-find-unindented-line-end)
2776 (rst-font-lock-find-unindented-line)
2777 (rst-font-lock-adornment-point, rst-font-lock-level)
2778 (rst-adornment-level-alist): Remove functions and variables.
2779
2780 (rst-compare-adornments, rst-get-adornment-match)
2781 (rst-suggest-new-adornment, rst-get-adornments-around)
2782 (rst-adornment-complete-p, rst-get-next-adornment)
2783 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2784 (rst-straighten-adornments): Standardize function names to
2785 use "adornment" instead of "decoration". Correct callers.
2786 Similar standardizing in many places.
2787
2788 (rst-update-section, rst-adjust, rst-promote-region)
2789 (rst-enumerate-region, rst-bullet-list-region)
2790 (rst-repeat-last-character): Correct use of `interactive'.
2791
2792 (rst-classify-adornment, rst-find-all-adornments)
2793 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2794 (rst-find-leftmost-column, rst-repeat-last-character):
2795 Refactor functions.
2796
2797 (rst-find-title-line, rst-reset-section-caches)
2798 (rst-get-adornments-around, rst-adjust-adornment-work)
2799 (rst-arabic-to-roman, rst-roman-to-arabic)
2800 (rst-insert-list-pos, rst-insert-list-new-item)
2801 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2802 New functions.
2803
2804 (rst-all-sections, rst-section-hierarchy)
2805 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2806 New variables.
2807
2808 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2809 configuration instead of only buffer. Change where necessary.
2810
2811 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2812 (rst-shift-region, rst-adaptive-fill): New functions for
2813 indentation and filling.
2814
2815 (rst-comment-line-break, rst-comment-indent)
2816 (rst-comment-insert-comment, rst-comment-region)
2817 (rst-uncomment-region): New functions for handling comments.
2818
2819 (rst-compile): Quote shell arguments.
2820
2821 (rst-compile-pdf-preview, rst-compile-slides-preview):
2822 Delete temporary files after use.
2823
a43f98b3
GM
28242012-05-05 Glenn Morris <rgm@gnu.org>
2825
48176e8b
GM
2826 * calendar/cal-html.el: Optionally include holidays in the output.
2827 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2828 (cal-html-holidays): New option.
2829 (cal-html-css-default): Add holiday entry.
2830 (holiday-in-range): Autoload it.
2831 (cal-html-htmlify-entry): Add optional class argument.
2832 (cal-html-htmlify-list): Add optional holidays argument.
2833 (cal-html-insert-agenda-days): Include holidays in the output.
2834 (cal-html-one-month): Maybe include holidays.
2835
a43f98b3
GM
2836 * calendar/holidays.el (holiday-in-range):
2837 Move here from cal-tex-list-holidays.
2838 * calendar/cal-tex.el (cal-tex-list-holidays):
2839 Make it an obsolete alias for holiday-in-range. Update all callers.
2840
fef9d149 28412012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2842
2843 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2844 Nextstep.
2845
248da2f4
RW
28462012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2847
2848 * files.el (file-auto-mode-skip): New var.
2849 (set-auto-mode-1): Use it.
2850
f95e9344
SM
28512012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2852
df96ab1e
SM
2853 * repeat.el: Use lexical-binding.
2854 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2855 (repeat-undo-count): Remove.
2856 (repeat):
2857 * progmodes/octave-mod.el (octave-abbrev-start):
2858 * progmodes/f90.el (f90-abbrev-start):
2859 * face-remap.el (text-scale-adjust):
2860 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2861
5342bb06
SM
2862 * emacs-lisp/pcase.el (pcase--let*): New function.
2863 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2864 a bit more.
2865 (pcase--split-pred): Be more clever about ruling out overlap between
2866 a predicate and some constant pattern.
2867 (pcase--q1): Use `null' instead of (eq foo nil).
2868
f95e9344
SM
2869 * subr.el (setq-local, defvar-local): New macros.
2870 (kbd): Redefine as an alias.
2871 (with-selected-window): Leave unrelated frames alone.
2872 (set-temporary-overlay-map): New function.
2873
71873e2b
SM
28742012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * subr.el (user-error): New function.
2877 * window.el (switch-to-buffer):
2878 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2879 (smerge-match-conflict):
2880 * simple.el (previous-matching-history-element)
2881 (next-matching-history-element, goto-history-element, undo-more)
2882 (undo-start):
2883 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2884 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2885 (next-file, tags-loop-scan, list-tags, complete-tag):
2886 * progmodes/compile.el (compilation-loop):
2887 * mouse.el (mouse-minibuffer-check):
2888 * man.el (Man-bgproc-sentinel, Man-goto-page):
2889 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2890 (Info-history-forward, Info-follow-reference, Info-menu)
2891 (Info-extract-menu-item, Info-extract-menu-counting)
2892 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2893 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2894 (Info-next-reference, Info-prev-reference, Info-index)
2895 (Info-index-next, Info-follow-nearest-node)
2896 (Info-copy-current-node-name):
2897 * imenu.el (imenu--make-index-alist)
2898 (imenu-default-create-index-function, imenu-add-to-menubar):
2899 * files.el (basic-save-buffer, recover-file):
2900 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2901 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2902 (checkdoc-message-text, checkdoc-defun):
2903 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2904 * cus-edit.el (customize-changed-options, customize-rogue)
2905 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2906 (custom-variable-mark-to-reset-standard)
2907 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2908 (custom-file):
2909 * completion.el (check-completion-length):
2910 * comint.el (comint-search-arg)
2911 (comint-previous-matching-input-string-position)
2912 (comint-previous-matching-input)
2913 (comint-replace-by-expanded-history-before-point, comint-send-input)
2914 (comint-copy-old-input, comint-backward-matching-input)
2915 (comint-goto-process-mark, comint-set-process-mark):
2916 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2917 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2918
8a61ee22
SM
29192012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2920
66408d1e
SM
2921 * dabbrev.el (dabbrev--ignore-case-p): New function.
2922 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2923 Use it.
2924
8a61ee22
SM
2925 * files.el (automount-dir-prefix): Mark as obsolete.
2926
3c74813a
GM
29272012-05-04 Glenn Morris <rgm@gnu.org>
2928
2929 * patcomp.el, play/bruce.el: Move to obsolete/.
2930
0bfcf5c5
PE
29312012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2932
2933 Fix minor Y10k bugs.
2934 * arc-mode.el (archive-unixdate):
2935 * autoinsert.el (auto-insert-alist):
2936 * calc/calc-forms.el (math-this-year):
2937 * emacs-lisp/copyright.el (copyright-current-year)
2938 (copyright-update-year, copyright):
2939 * tar-mode.el (tar-clip-time-string):
2940 * time.el (display-time-update):
2941 Don't assume years have 4 digits.
2942
78f3273a
CY
29432012-05-04 Chong Yidong <cyd@gnu.org>
2944
2945 * dos-w32.el (file-name-buffer-file-type-alist)
2946 (direct-print-region-use-command-dot-com):
2947 * ffap.el (ffap-menu-regexp):
2948 * find-file.el (ff-special-constructs):
2949 * follow.el (follow-debug):
2950 * forms.el (forms--debug):
2951 * iswitchb.el (iswitchb-all-frames):
2952 * ido.el (ido-all-frames):
2953 * emacs-lisp/timer.el (timer-max-repeats):
2954 * mail/feedmail.el (feedmail-mail-send-hook)
2955 (feedmail-mail-send-hook-queued):
2956 * mail/footnote.el (footnote-signature-separator):
2957 * mail/mailabbrev.el (mail-alias-separator-string)
2958 (mail-abbrev-mode-regexp):
2959 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2960 * progmodes/idlwave.el (idlwave-libinfo-file)
2961 (idlwave-default-completion-case-is-down)
2962 (idlwave-library-routines): Convert defvars to defcustoms.
2963
2964 * mail/rmail.el (rmail-decode-mime-charset):
2965 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2966 (idlwave-shell-fix-inserted-breaks)
2967 (idlwave-shell-activate-alt-keybindings)
2968 (idlwave-shell-use-breakpoint-glyph):
2969 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2970
f7ae6719
SM
29712012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2974
47086495
WS
29752012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2976
2977 * progmodes/verilog-mode.el (font-lock-keywords):
2978 Fix mis-highligting auto. Reported by Craig Barner.
2979 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2980 defines from global name space. Reported by Dan Dever.
2981 (verilog-auto-reset, verilog-auto-reset-widths)
2982 (verilog-auto-tieoff): Support using unbased numbers for
2983 AUTORESET and AUTOTIEOFF.
2984 (verilog-submit-bug-report): Update variable list.
2985 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2986 parenthesis from not matching. Reported by Michael Rytting.
2987 (verilog-auto-template-lint): Fix hash error when linting modules
2988 with no used templates.
2989 (verilog-warn, verilog-warn-error)
2990 (verilog-warn-fatal): When non-interactive report multiple
2991 warnings before exiting. Suggested by Brad Dobbie.
2992 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2993 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2994 to report unused template errors. Reported by Brad Dobbie.
2995 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2996 nets, bug438. Reported by Vns Blore.
2997 (verilog-auto-inout-module, verilog-auto-reg)
2998 (verilog-read-decls, verilog-read-sub-decls-sig)
2999 (verilog-signals-edit-wire-reg, verilog-signals-with):
3000 Fix passing of Verilog data types in ANSI input/output ports
3001 such as "output logic" into the AUTOs. Special case "wire" and
3002 "reg" for backwards compatibility presuming Verilog 2001.
3003 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3004 (verilog-preprocess): Fix replication of preprocess output.
3005 Reported by Brad Dobbie.
3006 (verilog-auto-inst-interfaced-ports):
3007 Create verilog-auto-inst-interfaced-ports, bug429.
3008 Reported by Julian Gorfajn.
3009 (verilog-after-save-font-hook)
3010 (verilog-before-save-font-hook): New variable.
3011 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3012 (verilog-save-font-mods): Wrap disabling fontification, reported
3013 by David Rogoff.
3014 (verilog-do-indent, verilog-pretty-declarations-auto)
3015 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3016 Reported by Pierre-David Pfister.
3017 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3018 of class declarations, bug292. Reported by Kevin Heilman.
3019 (verilog-read-decls): Fix 'parameter type' not appearing in
3020 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3021 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3022 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3023 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3024 Reported by David Kravitz.
3025
30262012-05-03 Michael McNamara <mac@mail.brushroad.com>
3027
3028 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3029 assignment with tests in ifs and for loops.
3030 (verilog-extended-complete-re, verilog-complete-reg): Change so
3031 that DPI inport functions don't look like fuction declarations.
3032 (verilog-pretty-expr): Don't line up assignment
3033 operations to the test and increment in if and for loops
3034 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3035 that DPI inport functions don't look like fuction declarations.
47086495 3036
2e51d4b5
KH
30372012-05-03 Kenichi Handa <handa@m17n.org>
3038
3039 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3040 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3041 (Bug#11282).
3042
2bd785a2
SM
30432012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * emacs-lisp/bytecomp.el
3046 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3047 since cconv.el might have introduced :fun-body, internal-make-closure,
3048 and friends for bytecomp to handle (bug#11391).
3049 * custom.el (defcustom): Avoid ((λ ..) ..).
3050
99d27583
SM
30512012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3054
55a71479
JB
30552012-05-02 Juanma Barranquero <lekktu@gmail.com>
3056
3057 * notifications.el (dbus-debug):
3058 * term/linux.el (gpm-mouse-enable):
3059 * term/screen.el (xterm-register-default-colors): Declare.
3060
7b97c764
CY
30612012-05-02 Chong Yidong <cyd@gnu.org>
3062
2bc356d7
CY
3063 * cus-start.el (gc-cons-percentage, exec-suffixes)
3064 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3065 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3066 (make-cursor-line-fully-visible, void-text-area-pointer)
3067 (font-list-limit): Add customization data.
3068
7b97c764
CY
3069 * allout.el (allout-exposure-change-functions)
3070 (allout-structure-added-functions)
3071 (allout-structure-deleted-functions)
3072 (allout-structure-shifted-functions): Rename abnormal hooks from
3073 *-hook, and convert to defcustoms.
5d3385a0
JB
3074 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3075 Convert to defcustoms.
7b97c764
CY
3076 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3077
3078 * allout-widgets.el: Hook callers changed.
3079
90207a15 30802012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3081
3082 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3083 the yanked message in preference to the default value of
3084 buffer-file-coding-system.
3085
90207a15 30862012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3087
5d3385a0
JB
3088 * window.el (display-buffer--action-function-custom-type):
3089 Fix entry.
d9558cad 3090
90207a15 30912012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3092
3093 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3094
d80ac57b
GM
30952012-05-01 Glenn Morris <rgm@gnu.org>
3096
976f7668
GM
3097 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3098
beb83b5a
GM
3099 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3100
d80ac57b
GM
3101 * cus-edit.el (custom-variable-documentation): Simplify with format.
3102
b593d6a9
AH
31032012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3104 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * simple.el (suggest-key-bindings, execute-extended-command):
3107 Move from keyboard.c.
3108
782fbf2a
CY
31092012-05-01 Chong Yidong <cyd@gnu.org>
3110
3111 * follow.el: Eliminate advice.
3112 (set-process-filter, process-filter, sit-for): Advice deleted.
3113 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3114 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3115 Vars deleted.
782fbf2a
CY
3116 (follow-auto): Use a :set function.
3117 (follow-mode): Rewritten. Don't advise process filters.
3118 (follow-switch-to-current-buffer-all, follow-scroll-up)
3119 (follow-scroll-down): Assume follow-mode is bound.
3120 (follow-comint-scroll-to-bottom)
3121 (follow-align-compilation-windows): New functions.
3122 (follow--window-sorter): New function.
3123 (follow-all-followers): Use it to explicitly sort windows by their
3124 positions; don't make assumptions about next-window order.
3125 (follow-windows-start-end, follow-delete-other-windows-and-split)
3126 (follow-calc-win-start): Doc fix.
3127 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3128 vertical-motion unnecessarily.
3129 (follow-adjust-window): New function.
3130 (follow-post-command-hook): Use it.
3131 (follow-call-set-process-filter, follow-call-process-filter)
3132 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3133 (follow-stop-intercept-process-output, follow-generic-filter):
3134 Functions deleted.
3135 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3136 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3137 New functions, replacing advice on scroll-bar-* commands.
87233a14 3138 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3139
3140 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3141 (comint-postoutput-scroll-to-bottom): Use it.
3142 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3143
290af740
GM
31442012-05-01 Glenn Morris <rgm@gnu.org>
3145
3146 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3147 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3148 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3149 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3150 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3151 Remove no-byte-compile setting.
3152
6eac8dc9
SM
31532012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3156 all-completions code to not return a number in the last cdr.
3157
9cc7819c
LL
31582012-04-30 Leo Liu <sdl.web@gmail.com>
3159
3160 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3161 read-only error.
3162
c93b886f
CY
31632012-04-29 Chong Yidong <cyd@gnu.org>
3164
3165 * follow.el (follow-calc-win-end): Rewrite to handle partial
3166 screen lines correctly (Bug#8390).
3167 (follow-avoid-tail-recenter): Minor cleanup.
3168
8b6c19f4
SM
31692012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 Avoid the obsolete `assoc' package.
3172 * speedbar.el (speedbar-refresh): Avoid adelete.
3173 (speedbar-file-lists): Simplify and avoid aput.
3174 * man.el (Man--sections, Man--refpages): New vars, replacing
3175 Man-sections-alist and Man-refpages-alist.
3176 (Man-build-section-alist, Man-build-references-alist):
3177 Use them; avoid aput.
3178 (Man--last-section, Man--last-refpage): New vars.
3179 (Man-follow-manual-reference): Use them.
3180 Use the `default' arg of completing-read.
3181 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3182
c5bb7569
CY
31832012-04-27 Chong Yidong <cyd@gnu.org>
3184
d1d2e2e8
CY
3185 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3186
15cd8efd
CY
3187 * startup.el (x-apply-session-resources): New function.
3188
3189 * term/ns-win.el (ns-initialize-window-system):
3190 * term/w32-win.el (w32-initialize-window-system):
3191 * term/x-win.el (x-initialize-window-system): Use it to properly
3192 set menu-bar-mode and other vars from X resources, even if the
3193 initial frame is not a window-system frame (Bug#2299).
3194
c5bb7569
CY
3195 * subr.el (read-key): Avoid running filter function when setting
3196 up temporary tool bar entries (Bug#9922).
3197
a8e7d6d7 31982012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3199
3200 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3201 (Bug#11344)
3202
a8e7d6d7 32032012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3204
3205 * select.el (xselect--encode-string): New function, split from
3206 xselect-convert-to-string.
3207 (xselect-convert-to-string): Use it.
3208 (xselect-convert-to-filename, xselect-convert-to-os)
3209 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3210 returned strings are properly encoded (Bug#11315).
3211
a8e7d6d7 32122012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3213
3214 * simple.el (delete-active-region): Move to killing custom group.
3215
a8e7d6d7 32162012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3217
3218 * progmodes/which-func.el (which-func-current): Quote %
3219 characters for mode-line processing.
3220
578c1d4b 32212012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3222
3223 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3224 reaching eob (Bug#11286).
3225
a8e7d6d7 32262012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3227
3228 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3229 (gdb): Make it buffer-local and init to zero.
3230 (gdb-control-commands-regexp): New variable.
3231 (gdb-send): Don't wrap in "-interpreter-exec console" if
3232 gdb-control-level is positive. Increment gdb-control-level
3233 whenever the command matches gdb-control-commands-regexp, and
3234 decrement it each time the command is "end". (Bug#11279)
3235
a8e7d6d7 32362012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3237
3238 * window.el (adjust-window-trailing-edge, enlarge-window)
3239 (shrink-window, window-resize):
3240 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3241 windows (Bug#11276).
3242
b3608390
CY
32432012-04-27 Chong Yidong <cyd@gnu.org>
3244
3245 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3246 fix "missing prefix" warning. All callers changed.
b3608390 3247
797e6e88
SM
32482012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/assoc.el: Move to obsolete/.
3251
e95a67dc
SM
32522012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3253
657c21e4 3254 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3255
3256 * term/ns-win.el (ns-define-service):
3257 * progmodes/pascal.el (pascal-goto-defun):
3258 * progmodes/js.el (js--read-tab):
3259 * progmodes/etags.el (tags-lazy-completion-table):
3260 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3261 * emacs-lisp/ewoc.el (ewoc--wrap):
3262 * emacs-lisp/assoc.el (aput, adelete, amake):
3263 * doc-view.el (doc-view-convert-current-doc):
3264 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3265
cb3e7ae0
CY
32662012-04-26 Chong Yidong <cyd@gnu.org>
3267
dce04f7f
CY
3268 * image.el (image-type-from-buffer): Only return supported image
3269 type (Bug#9045).
3270
cb3e7ae0
CY
3271 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3272 value, for symmetry with diff-end-of-hunk.
3273 (diff-split-hunk, diff-find-source-location)
3274 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3275 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3276 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3277 compute the relevant hunk or file properly (Bug#6005).
3278 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3279
0d42eb3e
SM
32802012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * vc/vc-mtn.el:
3283 * vc/vc-hg.el:
3284 * vc/vc-git.el:
3285 * vc/vc-dir.el:
3286 * vc/vc-cvs.el:
3287 * vc/vc-bzr.el:
3288 * vc/vc-arch.el:
3289 * vc/vc.el: Replace lexical-let by lexical-binding.
3290 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3291 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3292 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3293
f08ae1c9
CY
32942012-04-26 Chong Yidong <cyd@gnu.org>
3295
8b71081d
CY
3296 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3297 (diff-mode-shared-map): Bind it to / and [remap undo].
3298
f08ae1c9
CY
3299 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3300 (ediff-window-setup-function): Use it as the default, to set up
3301 windows based on whether the current frame is graphical (Bug#2138).
3302 (ediff-choose-window-setup-function-automatically): Make obsolete.
3303
3304 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3305
ef24141c
SM
33062012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3307
cc356a5d
SM
3308 * ffap.el: Remove old code for obsolete package.
3309 (ffap-complete-as-file-p): Remove.
3310
b4ff4f1f
SM
3311 Use completion-table-with-quoting for comint and pcomplete.
3312 * comint.el (comint--unquote&requote-argument)
3313 (comint--unquote-argument, comint--requote-argument): New functions.
3314 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3315 (comint-quote-filename): Use regexp-opt-charset.
3316 (comint--common-suffix, comint--common-quoted-suffix)
3317 (comint--table-subvert): Remove.
3318 (comint-unquote-function, comint-requote-function): New vars.
3319 (comint--complete-file-name-data): Use them with
3320 completion-table-with-quoting.
3321 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3322 * pcomplete.el (pcomplete-arg-quote-list)
3323 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3324 (pcomplete-unquote-argument-function): Default to non-nil.
3325 (pcomplete-unquote-argument): Simplify.
3326 (pcomplete--common-quoted-suffix): Remove.
3327 (pcomplete-requote-argument-function): New var.
3328 (pcomplete--common-suffix): New function.
3329 (pcomplete-completions-at-point): Use completion-table-with-quoting
3330 and completion-table-subvert.
3331
79c4eeb4
SM
3332 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3333 (minibuffer--double-dollars): Preserve properties.
3334 (completion--sifn-requote): New function.
3335 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3336
ef24141c
SM
3337 * minibuffer.el: Add support for completion of quoted/escaped data.
3338 (completion-table-with-quoting, completion-table-subvert): New funs.
3339 (completion--twq-try, completion--twq-all): New functions.
3340 (completion--nth-completion): New function.
3341 (completion-try-completion, completion-all-completions): Use it.
3342
784e7d6e
LL
33432012-04-25 Leo Liu <sdl.web@gmail.com>
3344
dd2ac746
SM
3345 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3346 Use compilation-message if available to find real filename.
784e7d6e 3347
07875ee7
CY
33482012-04-25 Chong Yidong <cyd@gnu.org>
3349
3350 * vc/diff-mode.el (diff-setup-whitespace): New function.
3351 (diff-mode): Use it.
3352
3353 * vc/diff.el (diff-sentinel):
3354 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3355 Whitespace mode variables based on diff style (Bug#8612).
3356
5055880d
LL
33572012-04-25 Leo Liu <sdl.web@gmail.com>
3358
daf75653
LL
3359 * progmodes/python.el (python-send-region): Add suffix .py to the
3360 temp file.
3361
5055880d
LL
3362 * files.el (auto-mode-alist): Use javascript-mode instead.
3363
db9b177b
AH
33642012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3365
ef24141c 3366 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3367
090bd7cb 3368 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3369 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3370 references, see Bug#9.
ef24141c 3371 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3372 when receiving a fault reply.
ef24141c 3373 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3374
090bd7cb 3375 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3376 (soap-inspect-simple-type): New function.
db9b177b 3377
090bd7cb 3378 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3379 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3380 (soap-decode-basic-type, soap-encode-basic-type):
3381 support unsignedInt and double basic types.
db9b177b 3382 (soap-resolve-references-for-simple-type)
ef24141c
SM
3383 (soap-parse-simple-type, soap-encode-simple-type): New function.
3384 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3385
090bd7cb 3386 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3387 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3388 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3389 the local name of "soapenc:Array".
3390 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3391 decoding integer, byte and anyURI xsd types.
3392
1fc6097b
CY
33932012-04-25 Chong Yidong <cyd@gnu.org>
3394
3395 * cus-edit.el (custom-buffer-create-internal): Update header text.
3396
afc6df87
EZ
33972012-04-25 Eli Zaretskii <eliz@gnu.org>
3398
3399 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3400 settings on 'system-type', not on 'window-system'. On MS-Windows,
3401 set interactive-mode on in GDB.
3402
dfbd787f
SM
34032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3406 (ruby-syntax-propertize-regexp): Remove.
3407 (ruby-syntax-propertize-function): Split regexp into chunks.
3408 Match following code directly.
3409
85222d44
DG
34102012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3411
51a8ea2a
DG
3412 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3413 (ruby-syntax-propertize-regexp): New function.
3414 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3415 by a special keyword.
3416
85222d44
DG
3417 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3418 (ruby-syntax-general-delimiters-goto-beg)
3419 (ruby-syntax-propertize-general-delimiters): New functions.
3420 (ruby-syntax-propertize-function): Use them to handle GDL.
3421 (ruby-font-lock-keywords): Move old handling of GDL...
3422 (ruby-font-lock-syntactic-keywords): .. to here.
3423 (ruby-calculate-indent): Adjust indentation for GDL.
3424
b613912b
MA
34252012-04-24 Michael Albinus <michael.albinus@gmx.de>
3426
b5380639
MA
3427 * notifications.el (top): Remove unneeded declarations.
3428 (notifications-specification-version): Change to "1.2".
e43042fe 3429 (notifications-interface, notifications-notify-method)
b613912b
MA
3430 (notifications-close-notification-method): Fix docstring.
3431 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3432 (notifications-notify): Add :action-items, :resident and
3433 :transient hints. Change "image_data" to "image-data" and
3434 "image_path" to "image-path".
b613912b
MA
3435 (notifications-get-capabilities): New defun.
3436
257440aa
LL
34372012-04-24 Leo Liu <sdl.web@gmail.com>
3438
3439 * progmodes/python.el: Move hideshow setup to the end.
3440
b1bac16e
MR
34412012-04-24 Martin Rudalics <rudalics@gmx.at>
3442
3443 * window.el (handle-select-window): Clear echo area since this is
3444 no more done by read_char (Bug#11304).
3445
d81bd059
SM
34462012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3449 and `/ M' to filter-derived-mode.
3450 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3451 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3452 (ibuffer-mark-by-mode): Use default rather than initial-input.
3453 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3454
c4cf6d91
IA
34552012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3456
3457 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3458 (ibuffer-filter-by-derived-mode): New filter.
3459 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3460
7511ded8
CY
34612012-04-23 Andreas Politz <politza@fh-trier.de>
3462
3463 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3464
775c916b
CY
34652012-04-23 Chong Yidong <cyd@gnu.org>
3466
3467 * cus-edit.el (customize-apropos, customize-apropos-options):
3468 Disable matching of non-option variables (Bug#11176).
3469 (customize-option, customize-option-other-window)
3470 (customize-changed-options): Doc fix.
3471 (customize-apropos-options, customize-apropos-faces)
3472 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3473
3474 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3475 Fix word list splitting (Bug#11132).
46c71e23
CY
3476 (apropos-symbol, apropos-keybinding, apropos-label)
3477 (apropos-property, apropos-function-button)
3478 (apropos-variable-button, apropos-misc-button): New faces.
3479 (apropos-symbol-face, apropos-keybinding-face)
3480 (apropos-label-face, apropos-property-face, apropos-match-face):
3481 Variables removed (Bug#8396).
3482 (apropos-library-button, apropos-format-plist, apropos-print)
3483 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3484
2df41f9c
MA
34852012-04-23 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/xesam.el (xesam-mode-map): Use let-bound map in
3488 initialization. (Bug#11292)
3489
da00640a
AM
34902012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3491
3492 Preserve ispell session localwords when switching back to
3493 original buffer.
3494
090bd7cb
JB
3495 * textmodes/ispell.el (ispell-buffer-session-localwords):
3496 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3497 (ispell-kill-ispell): add option 'clear to delete session
3498 localwords.
3499 (ispell-command-loop, ispell-change-dictionary)
3500 (ispell-buffer-local-words): Preserve session localwords when
3501 needed.
3502
090bd7cb
JB
3503 * textmodes/flyspell.el (flyspell-process-localwords)
3504 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3505
f621ccf5
AM
35062012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3507
090bd7cb
JB
3508 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3509 using obsolete `translation-table-for-input'.
ef24141c
SM
3510 (ispell-word, ispell-process-line, ispell-complete-word):
3511 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3512
c2d1019e
CY
35132012-04-22 Chong Yidong <cyd@gnu.org>
3514
3515 * cus-edit.el (custom-variable-menu)
3516 (custom-variable-reset-saved, custom-face-menu)
3517 (custom-face-reset-saved): If there is no saved value, make the
3518 "reset-saved" operation bring back the default (Bug#9509).
3519 (custom-face-state): Properly detect themed faces.
3520
eeddc531
CY
3521 * faces.el (face-spec-set): Stop supporting deprecated form of
3522 third arg.
3523
dcbf5805
MA
35242012-04-22 Michael Albinus <michael.albinus@gmx.de>
3525
3526 Move functions from C to Lisp. Make non-blocking method calls
3527 the default. Implement further D-Bus standard interfaces.
3528
ef24141c
SM
3529 * net/dbus.el (dbus-message-internal): Declare function.
3530 Remove unneeded function declarations.
dcbf5805
MA
3531 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3532 (dbus-message-type-method-return, dbus-message-type-error)
3533 (dbus-message-type-signal): Declare variables. Remove local
3534 definitions.
3535 (dbus-interface-dbus, dbus-interface-peer)
3536 (dbus-interface-introspectable, dbus-interface-properties)
3537 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3538 Adapt docstring.
3539 (dbus-interface-objectmanager): New defconst.
3540 (dbus-call-method, dbus-call-method-asynchronously)
3541 (dbus-send-signal, dbus-method-return-internal)
3542 (dbus-method-error-internal, dbus-register-service)
3543 (dbus-register-signal, dbus-register-method): New defuns, moved
3544 from dbusbind.c
3545 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3546 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3547 New defuns.
dcbf5805
MA
3548 (dbus-call-method-non-blocking): Make it an obsolete function.
3549 (dbus-unregister-object, dbus-unregister-service)
3550 (dbus-handle-event, dbus-register-property)
3551 (dbus-property-handler): Obey the new structure of
3552 `bus-registered-objects'.
3553 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3554 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3555 Use `dbus-call-method'.
3556
cf20dee0
CY
35572012-04-22 Chong Yidong <cyd@gnu.org>
3558
3559 * cus-edit.el (custom-commands, custom-reset-menu)
3560 (Custom-reset-standard): Tweak labels.
3561 (custom-reset-button-menu): Change default to t.
3562 (custom-buffer-create-internal): For the custom-reset-button-menu
3563 case, put the revert button first.
3564 (custom-group-subtitle): New face.
3565 (custom-group-value-create): Align docstring to a specific column.
3566
3567 * wid-edit.el (widget-documentation-link-add): Don't handle
3568 indentation in this function.
3569 (widget-documentation-string-indent-to): New function.
3570 (widget-documentation-string-value-create): Use it.
3571
3572 * autorevert.el (auto-revert):
3573 * epg-config.el (epg):
3574 * ibuffer.el (ibuffer):
3575 * mpc.el (mpc):
3576 * ses.el (ses):
3577 * eshell/eshell.el (eshell):
3578 * net/ange-ftp.el (ange-ftp):
3579 * progmodes/ebnf2ps.el (postscript):
3580 * progmodes/flymake.el (flymake):
3581 * progmodes/prolog.el (prolog):
3582 * progmodes/verilog-mode.el (verilog-mode):
3583 * progmodes/which-func.el (which-func):
3584 * term/xterm.el (xterm):
3585 * textmodes/picture.el (picture):
3586 * textmodes/tildify.el (tildify):
3587 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3588 customization buffers.
3589
583e23bd
AM
35902012-04-22 Alan Mackenzie <acm@muc.de>
3591
3592 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3593 Adding a ) can hide the resulting (..) from searches. Fix it.
3594 Bound the backward search to the position of the existing (.
3595
7dd51bf1
JB
35962012-04-21 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * progmodes/verilog-mode.el (verilog-mode): Check whether
3599 which-func-modes is t before adding verilog-mode.
3600 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3601
d64a438f
LL
36022012-04-21 Leo Liu <sdl.web@gmail.com>
3603
7dd51bf1 3604 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3605
081e8d65
MV
36062012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3607
3608 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3609 filling of the last column of a table (Bug#5635).
3610 (woman-find-next-control-line): New arg, specifying an additional
3611 regexp component for the control line.
3612 (woman2-roff-buffer): Use it.
3613 (woman-break-table): New function.
3614 (woman2-TS): Use it.
3615
36162012-04-21 Chong Yidong <cyd@gnu.org>
3617
3618 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3619 (woman-horizontal-escapes, woman-negative-vertical-space)
3620 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3621 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3622
ed571ccb
SM
36232012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * minibuffer.el (completion-file-name-table): Complete user names.
3626
39773899
LL
36272012-04-20 Leo Liu <sdl.web@gmail.com>
3628
3629 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3630 and pcase-let*.
3631
de6ff46d
CY
36322012-04-20 Chong Yidong <cyd@gnu.org>
3633
3634 * server.el (server-execute): Respect initial-buffer-choice if it
3635 is a string and there are no files to open (Bug#2825).
3636 (server-create-window-system-frame, server-create-tty-frame):
3637 Don't switch buffers here.
2d0e8e61
CY
3638 (server-process-filter): Only try to open a window system frame if
3639 compiled with graphical support (Bug#8314).
de6ff46d 3640
54071013
DN
36412012-04-20 Dan Nicolaescu <dann@gnu.org>
3642
3643 * battery.el (battery-echo-area-format): Display remaining time
3644 for sysfs backend too (Bug#11269).
3645 (battery-linux-sysfs): Fix conditional for the charge.
3646
f30d612a
CY
36472012-04-20 Chong Yidong <cyd@gnu.org>
3648
c07a4c0b 3649 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3650 (gdb-inferior-io--init-proc): New function.
3651 (gdb-init-1): Use it.
3652 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3653 responsible for allocating a new pty and hooking it to gdb when
3654 the old pty gets an EIO due to process exit.
3655 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3656 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3657 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3658
2116e93c
EZ
36592012-04-20 Eli Zaretskii <eliz@gnu.org>
3660
3661 * window.el (window-min-size, window-sizable, window-min-delta)
3662 (window-max-delta, window--resizable, window-resizable)
3663 (window-total-size, window-full-height-p, window-full-width-p)
3664 (window-in-direction, window--resize-mini-window, window-resize)
3665 (window--resize-child-windows-normal)
3666 (window--resize-child-windows, window--resize-siblings)
3667 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3668 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3669
c07a4c0b 36702012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3671
ef24141c
SM
3672 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3673 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3674 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3675 pty process (Bug#11273).
3676 (gdb-update): New arg to suppress talking to the gdb process.
3677 (gdb-done-or-error): Use it.
3678 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3679 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3680 sentinel not being called.
3681
3682 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3683
d02766ab
CY
3684 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3685
c07a4c0b 36862012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3687
3688 * net/network-stream.el (open-network-stream): Doc fix.
3689
c07a4c0b 36902012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3691
3692 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3693
c07a4c0b 36942012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3695
3696 Ensure searching for keywords is case sensitive.
3697
3698 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3699 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3700 (c-defun-name, c-mark-function, c-cpp-define-name)
3701 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3702 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3703
ef24141c
SM
3704 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3705 Bind case-fold-search to nil.
f0f6bc35 3706
c07a4c0b 37072012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3708
3709 * mail/sendmail.el (mail-bury): Call return action with the right
3710 Rmail buffer (Bug#11242).
3711
9a864fa2
CY
3712 * server.el (server-process-filter): Handle corner case where both
3713 tty and nowait options are present (Bug#11102).
3714
539aa513
EZ
37152012-04-20 Eli Zaretskii <eliz@gnu.org>
3716
3717 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3718 (top level): Put into the executable the ident-style '$Id:' tag on
3719 windows-nt as well.
539aa513 3720
cfc7d5da
SM
37212012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * electric.el (electric-indent-post-self-insert-function): Check that
3724 electric-indent-mode is enabled in current buffer.
3725
5b01685c
JB
37262012-04-19 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * imenu.el (imenu-progress-message): Restore; it is "used" in
3729 erc/erc-imenu.el and net/snmp-mode.el.
3730
4d6769e1
JB
37312012-04-19 Juanma Barranquero <lekktu@gmail.com>
3732
3733 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3734 (mouse-avoidance-nudge-mouse): Remove unused binding.
3735
3736 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3737
3738 * descr-text.el (describe-char):
3739 * progmodes/python.el (python-describe-symbol):
3740 Don't call `toggle-read-only', set `buffer-read-only'.
3741
3742 * imenu.el (imenu-default-goto-function): Mark unused args.
3743 (imenu-progress-message): Remove obsolete macro; all callers changed.
3744
3745 * subr.el (keymap-canonicalize): Remove unused binding.
3746 (read-passwd): Mark unused arg.
3747
3748 * tutorial.el (tutorial--display-changes): Remove unused binding.
3749 (tutorial--save-tutorial-to): Remove unused variable.
3750
3751 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3752 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3753 (package-generate-autoloads, package-menu--generate)
3754 (package-menu--find-upgrades): Remove unused bindings.
3755
3756 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3757 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3758 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3759 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3760 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3761 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3762 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3763 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3764 (cua-delete-char-rectangle): Mark unused args.
3765 (cua-align-rectangle): Remove unused binding.
3766
3767 * mail/rmail.el (compilation--message->loc)
3768 (epa--find-coding-system-for-mime-charset): Declare.
3769
3770 * net/dbus.el (dbus-register-service): Declare.
3771 (dbus-name-owner-changed-handler): Remove unused binding.
3772
3773 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3774 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3775 (nxml-scan-backward-within): Mark unused arg.
3776 (nxml-dynamic-markup-word): Remove unused binding.
3777
3778 * mouse.el (mouse-menu-major-mode-map):
3779 * emacs-lisp/authors.el (authors-scan-change-log)
3780 (authors-add-to-author-list):
3781 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3782 * emacs-lisp/smie.el (smie-auto-fill):
3783 * mail/sendmail.el (mail-bury):
3784 * mail/unrmail.el (unrmail):
3785 * net/tls.el (open-tls-stream):
3786 * textmodes/picture.el (picture-mouse-set-point):
3787 Remove unused bindings.
3788
8c8fc5df
MA
37892012-04-19 Michael Albinus <michael.albinus@gmx.de>
3790
3791 * net/tramp.el (tramp-action-password): Let-bind
3792 `enable-recursive-minibuffers' to t.
3793
a77b0ac9
SS
37942012-04-18 Sam Steingold <sds@gnu.org>
3795
3796 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3797 instead of 'string to accommodate values like [f11].
3798 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3799 * progmodes/gdb-mi.el: Likewise.
3800
12a106a9
LL
38012012-04-18 Leo Liu <sdl.web@gmail.com>
3802
3803 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3804 current buffer.
3805 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3806 LOCAL is nil.
3807
bc6494ef
CY
38082012-04-18 Chong Yidong <cyd@gnu.org>
3809
3810 * simple.el (line-move): Use forward-line if in batch mode
3811 (Bug#11053).
3812
c09c46b2
CS
38132012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3814
3815 * files.el (after-find-file): Do not try to add a final newline if
3816 the buffer is read-only (Bug#11156).
3817
5f6530ea
RS
38182012-04-17 Richard Stallman <rms@gnu.org>
3819
3820 * mail/rmail.el (rmail-start-mail):
3821 Pass (rmail-mail-return...) for the return-action.
3822 Pass (rmail-yank-current-message...) for the yank-action.
3823 (rmail-yank-current-message): New function.
3824 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3825 (rmail-reply): Likewise.
3826 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3827
3828 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3829 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3830 buffer, not newbuf.
3831
197b6f3c
JB
38322012-04-17 Juanma Barranquero <lekktu@gmail.com>
3833
3834 * server.el (server-ensure-safe-dir): Simplify.
3835
2311d8e5 38362012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3837
2311d8e5
GM
3838 * emacs-lisp/smie.el: Provide smarter auto-filling.
3839 (smie-auto-fill): New function.
3840 (smie-setup): Use it.
98fb480e 3841
2311d8e5
GM
3842 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3843
38442012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3845
3846 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3847 (comment-indent): Use it.
3848
2311d8e5 38492012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3850
3851 * ses.el: The overall change is to add cell renaming, that is
3852 setting fancy names for cell symbols other than name matching
3853 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3854 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3855 (ses-create-cell-variable): New defun.
2311d8e5 3856 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3857 (ses-relocate-formula): Relocate formulas only for cells the
3858 symbols of which are not renamed, i.e. symbols whose names do not
3859 match regexp "\\`[A-Z]+[0-9]+\\'".
3860 (ses-relocate-all): Relocate values only for cells the symbols of
3861 which are not renamed.
3862 (ses-load): Create cells variables as the (ses-cell ...) are read,
3863 in order to check row col consistency with cell symbol name only
3864 for cells that are not renamed.
3865 (ses-replace-name-in-formula): New defun.
3866 (ses-rename-cell): New defun.
4bdf2ad2 3867
fc72b15c
PO
38682012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3869
3870 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3871 New option (bug#11118).
3872 (perl-calculate-indent): Respect it.
3873
12e10e61
GM
38742012-04-17 Glenn Morris <rgm@gnu.org>
3875
3876 * dired-aux.el (dired-mark-read-string): Doc fix.
3877
30009afd
DA
38782012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3879
3880 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3881 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3882
41f03f4d
GM
38832012-04-17 Glenn Morris <rgm@gnu.org>
3884
3885 * mouse.el (mouse-drag-track):
3886 * speedbar.el (speedbar-frame-mode):
3887 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3888
f45f90f3
LL
38892012-04-16 Leo Liu <sdl.web@gmail.com>
3890
3891 * progmodes/python.el: Trivial cleanup.
3892
94ee8db5
GM
38932012-04-16 Glenn Morris <rgm@gnu.org>
3894
121b8917
GM
3895 * vc/vc.el (vc-string-prefix-p):
3896 * vc/pcvs-util.el (cvs-string-prefix-p):
3897 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3898 * mpc.el (mpc-string-prefix-p):
3899 Make all of these into obsolete aliases for string-prefix-p.
3900 Update callers.
3901 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3902
1197ecfa
GM
3903 * textmodes/two-column.el: Move custom options to the start.
3904 (frame-width): Remove compat definition.
3905 (2C-associate-buffer, 2C-dissociate):
3906 Use with-current-buffer rather than save-excursion.
3907 (2C-dissociate): Force a mode-line update.
3908 (2C-autoscroll): Use ignore-errors.
3909
099e7202
GM
3910 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3911 Autoload trivia.
3912
bf350d6a
GM
3913 * emacs-lisp/cl-extra.el (*random-state*):
3914 Remove unnecessary declaration.
3915
0e829eab
GM
3916 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3917
e3ad7552
GM
3918 * play/cookie1.el (cookie-snarf):
3919 Give an explicit error if input file cannot be read.
3920
68892d27
GM
3921 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3922
20f0c46d
GM
3923 * progmodes/perl-mode.el (c-macro-expand):
3924 Remove unnecessary autoload (it is in loaddefs.el).
3925
5a0978ce
GM
3926 * textmodes/picture.el (picture-desired-column)
3927 (picture-update-desired-column): Convert comments to doc-strings.
3928 (picture-substitute): Remove function.
3929 (picture-mode-map): Initialize in the defvar.
3930
6b955486
GM
3931 * woman.el: Remove eval-after-load for tar-mode.
3932 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3933 (woman-tar-extract-file): Autoload it.
3934
94ee8db5
GM
3935 * frame.el (automatic-hscrolling): Make this alias obsolete.
3936
177eca34
AM
39372012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3938
090bd7cb 3939 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3940 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3941 (ispell-dictionary-base-alist): Revert to original XEmacs
3942 friendly version for default. [:alpha:] will be added in
090bd7cb 3943 `ispell-set-spellchecker-params' if needed.
177eca34 3944
c505aaeb
CY
39452012-04-16 Chong Yidong <cyd@gnu.org>
3946
3947 * image.el (imagemagick--extension-regexp): New variable.
3948 (imagemagick-register-types): Use it.
3949 (imagemagick-types-inhibit): Add :set function. Allow new value
3950 of t to inhibit all types.
3951
3952 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3953 so we can preload it.
3954
3955 * loadup.el (fboundp): Preload regexp-opt, needed by
3956 imagemagick-register-types.
3957
60efac0f
CY
39582012-04-15 Chong Yidong <cyd@gnu.org>
3959
3960 * frame.el (scrolling): Remove nearly unused customization group.
3961
3962 * scroll-all.el (scroll-all-mode): Move to windows group.
3963
5dd1713e
CY
39642012-04-15 Chong Yidong <cyd@gnu.org>
3965
3966 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3967
e6fd457e
CY
39682012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3971 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3972
e153c136
GM
39732012-04-15 Glenn Morris <rgm@gnu.org>
3974
3975 * simple.el (process-file-side-effects): Doc fix.
3976
e6fd457e 39772012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3978
3979 * international/mule-cmds.el (set-language-environment): Doc fix.
3980
3603c3b1
JB
39812012-04-14 Juanma Barranquero <lekktu@gmail.com>
3982
3983 * server.el (server-auth-key, server-generate-key): Doc fixes.
3984 (server-get-auth-key): Doc fix. Use `string-match-p'.
3985 (server-start): Reflow docstring.
3986
e6de100c
LI
39872012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3988
3989 * server.el (server-generate-key): `called-interactively-p'
3990 requires a parameter.
3991
29734c21
MN
39922012-04-14 Michal Nazarewicz <mina86@mina86.com>
3993
3994 * server.el (server-auth-key): New variable.
75f1671a 3995 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3996 (server-start): Use the new variable and functions to allow
3997 setting a permanent server key (bug#9423).
3998
d65c9521
LL
39992012-04-14 Leo Liu <sdl.web@gmail.com>
4000
4001 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4002
5ae255c7
PE
40032012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4004
4005 Spelling fixes.
4006 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4007 Emacs uses American spelling.
4008
d5e6342e
JB
40092012-04-14 Juanma Barranquero <lekktu@gmail.com>
4010
4011 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4012 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4013 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4014 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4015
ab036cd7
SM
40162012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * progmodes/which-func.el (which-func-modes): Change default.
4019
35dc09a1 40202012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4021
4022 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4023 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4024
35dc09a1 40252012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4026
4027 * custom.el (custom-theme-set-variables): Doc fix.
4028
35dc09a1 40292012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4030
4031 * international/mule.el (set-auto-coding-for-load): Doc fix.
4032
35dc09a1 40332012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4034
35dc09a1
GM
4035 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4036 imenu work again for Objective C Mode. Correct the *-index values,
4037 these having been disturbed by a previous change in 2011-08.
57f845ee 4038
0de3da9f
AM
4039 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4040 Correct two search limits.
4041
35dc09a1 40422012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4043
4044 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4045
35dc09a1 40462012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4047
4048 * international/characters.el: Fix sorting.
4049
35dc09a1 40502012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4051
4052 * international/characters.el: Add more missing Latin case pairs.
4053
35dc09a1 40542012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4055
4056 * files.el (dir-locals-set-class-variables): Doc fix.
4057
35dc09a1 40582012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4059
3f1b5bf8
EZ
4060 * international/characters.el: Add set-case-syntax-pair call for
4061 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4062 counterpart. (Bug#11209)
4063
9f847f41
EZ
4064 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4065
35dc09a1 40662012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4067
4068 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4069
35dc09a1 40702012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4071
35dc09a1
GM
4072 * textmodes/ispell.el (ispell-dictionary-base-alist):
4073 Add data for Hebrew.
e2627d21 4074
35dc09a1 40752012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4076
35dc09a1
GM
4077 * net/rcirc.el (rcirc-cmd-quit):
4078 Revert 2012-03-18 change (Bug#11192).
5c14e333 4079
35dc09a1 40802012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4081
4082 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4083
35dc09a1 40842012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4085
4517fe3a
SM
4086 * minibuffer.el (completion-in-region-mode-map):
4087 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4088
b472a594
VD
40892012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4090
4091 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4092
09b95ce3
MY
40932012-04-13 Masatake YAMATO <yamato@redhat.com>
4094
4095 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4096 to allow `C-M-f' and `C-M-b' to move to the nearest path
4097 separator (bug#9511).
4098
4b63a9ca
LI
40992012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4100
4101 * avoid.el: Require cl when compiling. And also move the
4102 `provide' to the end.
4103
7b55b8bf
TV
41042012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4105
4106 * avoid.el (mouse-avoidance-banish-position): New variable.
4107 (mouse-avoidance-banish-destination): Use it (bug#10165).
4108
adedaa1f
LL
41092012-04-13 Leo Liu <sdl.web@gmail.com>
4110
4111 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4112
70e74021
KB
41132012-04-13 Ken Brown <kbrown@cornell.edu>
4114
4115 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4116 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4117 (browse-url-filename-alist): For the same reason, don't modify
4118 file:// URLs on Cygwin.
4119
e75e89ba
SM
41202012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4123 the region on shift if the binding is already shifted (bug#11221).
4124
82f289a4
GM
41252012-04-12 Glenn Morris <rgm@gnu.org>
4126
4127 * mail/mailpost.el: Move to obsolete/.
4128
d333dc4c
DA
41292012-04-12 Drew Adams <drew.adams@oracle.com>
4130
4131 * imenu.el (imenu--generic-function): Ignore invisible definitions
4132 (bug#10123).
4133
0d15b5ba
VD
41342012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4135
4136 * hexl.el (hexl-bits): New variable.
4137 (hexl-options): Mention the variable in the doc string.
75f1671a 4138 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4139 (hexl-mode): Mention the new variable.
75f1671a
JB
4140 (hexl-mode, hexl-current-address, hexl-current-address):
4141 Use the displen.
0d15b5ba
VD
4142 (hexl-ascii-start-column): New function.
4143 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4144 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4145
64a440db
AM
41462012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4147
4148 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4149 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4150 the encoding, as expected by hunspell.
4151
6decb6c2
SM
41522012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * battery.el (battery--linux-sysfs-regexp): New const.
4155 (battery-status-function): Use it. Remove yeeloong special case.
4156 (battery-yeeloong-sysfs): Remove.
4157 (battery-echo-area-format): Remove yeeloong special case.
4158
088be6fb
SM
41592012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4160
6622e416
SM
4161 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4162 Reported by Noah Friedman.
4163
088be6fb
SM
4164 * subr.el (read-passwd): Use read-string.
4165
b49f886e
LMI
41662012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4167
4168 * vcursor.el (vcursor-move): Increase the priority of the overlay
4169 (bug#9663).
4170
a63067fc
DD
41712012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4172
4173 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4174 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4175
ac3cf14a
WS
41762012-04-11 William Stevenson <yhvh2000@gmail.com>
4177
4178 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4179 define-minor-mode (bug#10760).
4180
c4fc691b 41812012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4182
4d6769e1 4183 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4184 that directories matching `grep-find-ignored-files' won't be
4185 pruned (bug#10351).
4186
af23e2e5
CY
41872012-04-11 Chong Yidong <cyd@gnu.org>
4188
4189 * startup.el (command-line): Remove support for long-obsolete
4190 variable font-lock-face-attributes.
4191
ab7ce8c1
GM
41922012-04-11 Glenn Morris <rgm@gnu.org>
4193
4194 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4195
de8c03dc
SM
41962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * window.el (window--state-get-1): Obey window-point-insertion-type.
4199
050cc68b
LB
42002012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4201
4202 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4203 to previous function when point is on the first character of a
75f1671a 4204 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4205
a38c310c
GM
42062012-04-11 Glenn Morris <rgm@gnu.org>
4207
effed0c2
GM
4208 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4209 not just file-errors.
4210
a38c310c
GM
4211 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4212 (vc-bzr-sha1): Use internal sha1.
4213
0221e323
SM
42142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4217
43956923
SG
42182012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4219
4220 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4221 that start in the middle of the line (bug#10496).
4222
6a8c9eaf
DN
42232012-04-10 Dan Nicolaescu <dann@gnu.org>
4224
4225 * battery.el (battery-linux-proc-acpi): Only one battery is
4226 discharged at a time, but that seems to confuse battery.el when
4227 computing `rate-type' for the battery not being discharged
4228 (bug#10332).
4229
1930bf5d
SM
42302012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4231
2a718f6f
SM
4232 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4233
599430d0
SM
4234 * international/quail.el: Use dolist and simplify.
4235 (quail-define-package, quail-update-keyboard-layout)
4236 (quail-define-rules): Use dolist.
4237 (quail-insert-kbd-layout, quail-get-translation): CSE.
4238
a2754b6c
SM
4239 * tmm.el: Use dolist, remove left over hook.
4240 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4241 Use dolist.
4242 (calendar-load-hook): Don't mess with it.
4243
1930bf5d
SM
4244 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4245 Use derived-mode-p. Run the diff asynchronously.
4246
9f67961c
LMI
42472012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4248
4249 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4250
2a8ce227
JB
42512012-04-10 Juanma Barranquero <lekktu@gmail.com>
4252
4253 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4254 (list-dynamic-libraries--loaded): New function.
4255 (list-dynamic-libraries--refresh): Use it.
4256
8f33b5f8
NW
42572012-04-10 Nathan Weizenbaum <nweiz@google.com>
4258
1930bf5d
SM
4259 * progmodes/python.el (python-fill-paragraph):
4260 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4261 disabled (bug#7018).
4262
b12f0439
L
42632012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4264
1930bf5d 4265 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4266 DOS/MS Windows for the Baltic languages. There are still plenty
4267 of texts written in this encoding/codepage (bug#6519).
b12f0439 4268
57c3bd01
GM
42692012-04-10 Glenn Morris <rgm@gnu.org>
4270
4271 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4272 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4273
6c3eab30
FA
42742012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4275
1930bf5d 4276 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4277 next-line "n" and previous-line "p" in order to make recentf more
4278 consistent with ibuffer, dired or org-mode (bug#9387).
4279
24d78a88
LMI
42802012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4281
bc72b5d9
LMI
4282 * image.el (put-image): Return the overlay created instead of the
4283 optional input string (bug#7834). Note that this may break code
4284 that is (for some reason or other) depending on `put-image'
4285 returning the string.
4286
bd2dba5a
LMI
4287 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4288
74beb59f
LMI
4289 * simple.el (zap-to-char): Allow zapping using input methods
4290 (bug#1580).
4291
24d78a88
LMI
4292 * textmodes/fill.el (fill-region): Leave point and mark where they
4293 were before filling (bug#5399).
4294
263f20cd
GM
42952012-04-09 Glenn Morris <rgm@gnu.org>
4296
4297 * version.el (emacs-bzr-get-version):
4298 Handle lightweight checkouts of local branches.
4299
58d1f797
AS
43002012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4301
263f20cd 4302 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4303
b4d3bc10
CY
43042012-04-09 Chong Yidong <cyd@gnu.org>
4305
4306 * custom.el (custom-variable-p): Return nil for non-symbol
4307 arguments instead of signaling an error.
4308 (user-variable-p): Obsolete alias for custom-variable-p.
4309
4310 * apropos.el (apropos-variable):
4311 * files-x.el (read-file-local-variable):
4312 * simple.el (set-variable):
4313 * woman.el (woman-mini-help):
4314 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4315
fd06db5d
GM
43162012-04-09 Glenn Morris <rgm@gnu.org>
4317
e5fcdb5e
GM
4318 * startup.el (normal-top-level): Don't look for leim-list.el
4319 in places where it will not be found. (Bug#910)
4320
fd06db5d
GM
4321 * international/mule-cmds.el (set-default-coding-systems):
4322 * files.el (normal-mode):
4323 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4324 This function was removed with ucs-tables.el in 2008.
4325
b39bb7e1
EZ
43262012-04-08 Eli Zaretskii <eliz@gnu.org>
4327
4328 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4329 ispell-encoding8-command to "-i", without a trailing space.
4330 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4331 separate command-line arguments, to specify the encoding, since
4332 that's how hunspell expects it.
4333
5c5b8e23
GM
43342012-04-08 Glenn Morris <rgm@gnu.org>
4335
4336 * loadup.el: Load bindings before cus-start.
4337 This reduces somewhat the number of "rogue" settings in emacs -Q.
4338
a1ed8b05
GM
43392012-04-07 Glenn Morris <rgm@gnu.org>
4340
4341 * version.el (emacs-bzr-get-version): New function.
dfae128a 4342 (emacs-bzr-version): New variable.
a1ed8b05
GM
4343 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4344 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4345
b142f158
EZ
43462012-04-07 Eli Zaretskii <eliz@gnu.org>
4347
dfae128a
GM
4348 * international/uni-bidi.el, international/uni-category.el:
4349 * international/uni-combining.el, international/uni-decimal.el:
4350 * international/uni-decomposition.el, international/uni-digit.el:
4351 * international/uni-lowercase.el, international/uni-mirrored.el:
4352 * international/uni-name.el, international/uni-numeric.el:
4353 * international/uni-titlecase.el, international/uni-uppercase.el:
4354 Update for Unicode 6.1.
b142f158 4355
9078ead6
EZ
43562012-04-07 Eli Zaretskii <eliz@gnu.org>
4357
4358 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4359
f23d2c7d
LMI
43602012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361
4362 * window.el (shrink-window): Mention the `window-min-height'
4363 variable in the doc string.
4364
0a0a3573
BG
43652012-04-05 Bastien Guerry <bzg@altern.org>
4366
4367 * color.el (color-lighten-name): Fix typo.
4368
e5248ac9
SM
43692012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * server.el (server--on-display-p): New function.
4372 (server--on-display-p): Use it.
4373
b4243e22
GV
43742012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4375
4376 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4377 (bug#11145).
4378
305d9f44
SM
43792012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * comint.el (comint--common-quoted-suffix): Check string boundary
4382 before comparing (bug#11158).
4383 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4384
3d439cd1
CY
43852012-04-04 Chong Yidong <cyd@gnu.org>
4386
321cc491
CY
4387 * minibuffer.el (completion-extra-properties): Doc fix.
4388
3d439cd1
CY
4389 * subr.el (delayed-warnings-hook): Doc fix.
4390
2d562c0f
DU
43912012-04-04 Daiki Ueno <ueno@unixuser.org>
4392
4393 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4394 selection (Bug#11159).
4395 (epa-insert-keys): Inform that the default public key will be
4396 exported if no key is selected.
4397
4443f204
RS
43982012-04-04 Richard Stallman <rms@gnu.org>
4399
4400 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4401
529c06b6
CY
44022012-04-03 Chong Yidong <cyd@gnu.org>
4403
4404 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4405 mail-insert-file, not its obsolete alias mail-attach-file.
4406
66b907dc
MA
44072012-04-03 Michael Albinus <michael.albinus@gmx.de>
4408
4409 * notifications.el (notifications-notify): Fix docstring.
4410
c0ea195d
GM
44112012-04-02 Glenn Morris <rgm@gnu.org>
4412
4413 * emacs-lisp/authors.el (authors-aliases): Another addition.
4414
5ca64e00
MA
44152012-04-02 Michael Albinus <michael.albinus@gmx.de>
4416
4417 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4418 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4419 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4420
42ee526b
CY
44212012-04-01 Chong Yidong <cyd@gnu.org>
4422
4423 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4424 Handle root directory properly.
4425 (copy-directory): Caller changed.
4426
4427 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4428 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4429
0b021094
GM
44302012-03-31 Glenn Morris <rgm@gnu.org>
4431
40f86458
GM
4432 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4433
7019c177
GM
4434 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4435
a1daddd6
GM
4436 * calendar/calendar.el (calendar-window-list)
4437 (calendar-hide-window): Restore. (Bug#11140)
4438 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4439
0b021094
GM
4440 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4441
40311efc
TV
44422012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4443
4444 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4445 Check if file is a symlink (Bug#10489).
4446
4447 * files.el (copy-directory): Likewise.
4448
5319014e
CY
44492012-03-30 Chong Yidong <cyd@gnu.org>
4450
4451 * image.el (imagemagick-types-inhibit)
4452 (imagemagick-register-types): Doc fix.
4453
935d1290
AM
44542012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4455
090bd7cb 4456 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4457 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4458 and treats ~word as ordinary words in pipe mode.
935d1290 4459
61c6e8fd
GM
44602012-03-30 Glenn Morris <rgm@gnu.org>
4461
4462 * tutorial.el (help-with-tutorial): Ensure local variables don't
4463 happen to make the buffer read-only. (Bug#11127)
4464
81fdff00
SM
44652012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4468 (perl-calculate-indent): Return `noindent' in strings.
4469
6e7a6ec0
SS
44702012-03-28 Sam Steingold <sds@gnu.org>
4471
4472 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4473 instead of the broken adhockery which does not prevent calendar
4474 buffers from being displayed at random after exit.
4475 (calendar-window-list, calendar-hide-window): Remove the broken
4476 adhockery.
4477
fee88ca0
GM
44782012-03-28 Glenn Morris <rgm@gnu.org>
4479
4480 * replace.el (query-replace-map): Doc fix.
4481
38de3354
AS
44822012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4483
4484 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4485 contents. (Bug#11109)
4486
b973155e
SM
44872012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4490 (bug#11077).
4491 (avl-tree--check, avl-tree--check-node): New funs.
4492
dcb6e7b3
MR
44932012-03-27 Martin Rudalics <rudalics@gmx.at>
4494
4495 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4496 (switch-to-prev-buffer, switch-to-next-buffer):
4497 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4498 showing a buffer already is done on the same frame.
4499
b4fa35fa
GM
45002012-03-27 Glenn Morris <rgm@gnu.org>
4501
4502 * startup.el (mail-host-address): Doc fix.
4503
f9210e18
SM
45042012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4507 than 197 variables.
4508
c0bf7753
AF
45092012-03-26 Ami Fischman <ami@fischman.org>
4510
4511 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4512
33da7b16
GM
45132012-03-26 Glenn Morris <rgm@gnu.org>
4514
02243d9d
GM
4515 * files.el (save-buffers-kill-emacs): Doc fix.
4516
33da7b16
GM
4517 * startup.el (normal-top-level, command-line, command-line-1):
4518 Give them doc strings.
4519
e5a69fd0
EZ
45202012-03-25 Eli Zaretskii <eliz@gnu.org>
4521
4522 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4523 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4524
9a69676a
CY
45252012-03-25 Chong Yidong <cyd@gnu.org>
4526
4125cb8b
CY
4527 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4528 theme if it was previously enabled before (Bug#11031).
4529
dd470960
CY
4530 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4531 spec with custom-face-get-current-spec if its :shown-value is not
4532 determined yet (Bug#9337).
4125cb8b 4533 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4534
9a69676a
CY
4535 * button.el (button-at): Minor addition to docstring.
4536
6e7e90fa
SL
45372012-03-24 Simon Leinen <simon.leinen@gmail.com>
4538
4539 * vc/vc.el (vc-merge): Fix a prompt.
4540
f06e2758
CY
45412012-03-24 Chong Yidong <cyd@gnu.org>
4542
4543 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4544 point (Bug#9623).
4545
6e7e90fa
SL
4546 * button.el (button-at): Minor addition to docstring.
4547
b9d0879b
SM
45482012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * newcomment.el (comment-choose-indent): No space after BOL.
4551
e71cebb3
SS
45522012-03-22 Sam Steingold <sds@gnu.org>
4553
4554 * window.el (switch-to-prev-buffer): Revert last patch because the
4555 bug turned out to be an advertised feature (Elisp manual 28.14).
4556
335aff35
GM
45572012-03-22 Glenn Morris <rgm@gnu.org>
4558
4559 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4560 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4561
c676576a
LMI
45622012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4563
4564 * net/network-stream.el (network-stream-open-starttls): Make error
4565 message under Windows be less misleading.
4566
126f3d39
LW
45672012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4568
4569 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4570 understands (bug#9942).
4571
64fee311
CY
45722012-03-22 Chong Yidong <cyd@gnu.org>
4573
4574 * simple.el (end-of-visible-line): Handle return value of
4575 next-single-property-change properly (Bug#9371).
4576
a640d29a
KH
45772012-03-22 Kenichi Handa <handa@m17n.org>
4578
4579 * international/quail.el (quail-insert-kbd-layout): Fix previous
4580 change. To avoid unwanted bidi reordering, use
4581 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4582
39675016
DG
45832012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4584
4585 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4586 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4587 (ruby-beginning-of-indent): Be more careful with the difference
4588 between word-boundary and symbol boundary.
4589 (ruby-mode-syntax-table): Make : a symbol constituent.
4590
0a6934fc 45912012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4592
3d008e4f
SM
4593 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4594
0a6934fc
SM
45952012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4596
af67c9d7
SM
4597 * progmodes/etags.el (tags-completion-at-point-function):
4598 Improve last fix.
4599
1acad97c
SM
4600 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4601
e298b5da
SS
46022012-03-21 Sam Steingold <sds@gnu.org>
4603
4604 * progmodes/etags.el (tags-completion-at-point-function):
4605 Avoid the error when point is inside the pattern.
4606
91d82a70
JY
46072012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4608
4609 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4610 line (Bug#10855).
4611
69188b79
CY
46122012-03-21 Drew Adams <drew.adams@oracle.com>
4613
4614 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4615
99fc91fe
AK
46162012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4617
4618 * ido.el (ido-set-current-directory, ido-read-internal)
4619 (ido-choose-completion-string, ido-completion-help): Handle nil
4620 value of ido-completion-buffer (Bug#11008).
4621
087bbb4c
SS
46222012-03-21 Sam Steingold <sds@gnu.org>
4623
4624 * window.el (switch-to-prev-buffer): Do not switch to a visible
4625 window previous buffer, just like with the frame previous buffers.
4626
fb5b8aca
CY
46272012-03-21 Chong Yidong <cyd@gnu.org>
4628
4629 * faces.el (make-face, make-empty-face, copy-face):
4630 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4631 Doc fixes.
4632
dc9924b8
SM
46332012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4636 (widget-complete): Remove broken use of it.
4637
f0bcceb9
CY
46382012-03-20 Chong Yidong <cyd@gnu.org>
4639
dc9924b8
SM
4640 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4641 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4642 characters.
4643
ee52ebf3
TH
46442012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4645
4646 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4647 to draw rectangles, not squares. (Regression introduced by revno
4648 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4649
4c5779ab
CY
46502012-03-18 Chong Yidong <cyd@gnu.org>
4651
4652 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4653 it is not yet defined (for temacs).
4654
15360934
LL
46552012-03-18 Leo Liu <sdl.web@gmail.com>
4656
dc9924b8 4657 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4658
d9a8eb66
EZ
46592012-03-17 Eli Zaretskii <eliz@gnu.org>
4660
4661 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4662 (ispell-choices-win-default-height, ispell-silently-savep)
4663 (ispell-dictionary-alist, ispell-encoding8-command)
4664 (ispell-check-version, ispell-aspell-find-dictionary)
4665 (ispell-valid-dictionary-list, ispell-words-keyword)
4666 (ispell-get-word, ispell-internal-change-dictionary)
4667 (ispell-region, ispell-skip-region-list)
4668 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4669 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4670 (ispell-message-text-end, ispell-message)
4671 (ispell-buffer-local-parsing): Doc fix.
4672
f02ff80d
J
46732012-03-13 Jambunathan K <kjambunathan@gmail.com>
4674
4675 * htmlfontify.el: Add support for code block fontification for ODT
4676 export (Bug #9914).
4677 (hfy-optimisations): Define new option
4678 `body-text-only'
4679 (hfy-fontify-buffer): Honor above setting.
4680 (hfy-begin-span, hfy-end-span): New routines factored out form
4681 `hfy-fontify-buffer'.
4682 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4683 that permit insertion of custom tags.
4684 (hfy-fontify-buffer): Use above handlers.
4685 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4686 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4687 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4688 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4689 bind a special variable `hfy-user-sheet-assoc'.
4690 (htmlfontify-string): New defun.
4691 (hfy-compile-face-map): Make sure that the last char in the
4692 buffer is correctly fontified.
4693 (hfy-face-resolve-face): Whitespace only change.
4694
9ac7a13f
EZ
46952012-03-17 Eli Zaretskii <eliz@gnu.org>
4696
4697 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4698 message more clear.
4699
e2b5bdd7
LL
47002012-03-16 Leo Liu <sdl.web@gmail.com>
4701
4702 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4703
2e492df3
AM
47042012-03-16 Alan Mackenzie <acm@muc.de>
4705
4706 Further optimise the handling of large macros.
4707
4708 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4709 limit to a call of `c-literal-limits'.
4710 (c-determine-+ve-limit): New function.
dc9924b8
SM
4711 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4712 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4713 In CASE 5B, restrict a search limit to 500.
4714 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4715
4716 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4717 Restrict macro bounds to +-500 from after-change's BEG END.
4718
50e94f0c
LL
47192012-03-16 Leo Liu <sdl.web@gmail.com>
4720
4721 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4722
6f09f6ed
AH
47232012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4724
4725 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4726 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4727
c7e73d51
GM
47282012-03-16 Glenn Morris <rgm@gnu.org>
4729
da986230
GM
4730 * view.el (view-buffer, view-buffer-other-window)
4731 (view-buffer-other-frame): Doc fixes re special mode-class.
4732
0835f01e
GM
4733 * subr.el (eval-after-load): If named feature is provided not from
4734 a file, run after-load forms. (Bug#10946)
4735
c7e73d51
GM
4736 * calendar/calendar.el (calendar-insert-at-column):
4737 Handle non-unit-width characters a bit better. (Bug#10978)
4738
3f2eafd1
CY
47392012-03-15 Chong Yidong <cyd@gnu.org>
4740
4741 * emacs-lisp/ring.el (ring-extend): New function.
4742 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4743
4744 * comint.el (comint-read-input-ring)
4745 (comint-add-to-input-history): Grow comint-input-ring lazily.
4746
103af3fe
SM
47472012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4748
663b1677
SM
4749 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4750 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4751
103af3fe
SM
4752 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4753 (imenu-add-to-menubar): Don't add a redundant index.
4754 (imenu-update-menubar): Handle a dynamically composed keymap.
4755
899cb7cb
KY
47562012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4757
4758 * mail/sendmail.el (mail-encode-header):
4759 Bind rfc2047-encode-encoded-words to nil.
4760
3809f91d
GM
47612012-03-13 Glenn Morris <rgm@gnu.org>
4762
4763 * calendar/calendar.el (calendar-string-spread):
4764 Handle non-unit-width characters a bit better. (Bug#10978)
4765
9e345a01
LL
47662012-03-13 Leo Liu <sdl.web@gmail.com>
4767
4768 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4769 directory and file as argument (Bug#10822).
4770
4a07df36
KS
47712012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4772
4773 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4774 For dynamically generated code, follow $PC.
4775 (gdb-disassembly-handler-custom): Handle no function name case.
4776
4aaa9356
TL
47772012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4778
4779 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4780 * emulation/ws-mode.el (ws-query-replace):
4781 * sort.el (sort-regexp-fields):
4782 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4783
225979da
SM
47842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * dabbrev.el: Fix cycle completion order (bug#10963).
4787 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4788 (dabbrev-completion): Don't use an obarray; provide
4789 a cycle-sort-function.
4790
e2f1fdab
LL
47912012-03-12 Leo Liu <sdl.web@gmail.com>
4792
dc9924b8 4793 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4794 (kill-do-not-save-duplicates): Doc fix.
4795
b19490ed
SM
47962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * dabbrev.el: Fix cycle completion (bug#10963).
4799 Use lexical binding and wrap to 80 columns.
4800 (dabbrev-completion): Delay computing the list of completions.
4801
4b05d722
KH
48022012-03-12 Kenichi Handa <handa@m17n.org>
4803
4804 * international/quail.el (quail-insert-kbd-layout): Surround each
4805 row by LRO and PDF instead of inserting many LRMs. Pad the left
4806 and right of each non-spacing marks. Insert invisible space
4807 between lower and upper characters to prevent composition.
4808
dbbc2e69
SM
48092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * minibuffer.el (minibuffer-complete): Don't get confused when the
4812 function is run twice via different commands (bug#10958).
4813 (complete-with-action): Fix docstring.
4814
292112ed
CY
48152012-03-12 Chong Yidong <cyd@gnu.org>
4816
5d1ac394
CY
4817 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4818 (nxml-completion-at-point-function): New function.
4819 (nxml-mode): Use it.
4820 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4821
292112ed
CY
4822 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4823 Load generated autoloads file before byte compiling (Bug#10970).
4824 (package--make-autoloads-and-compile): New helper fun.
4825
4098f8f7
CS
48262012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4827
4828 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4829
8f754691
MA
48302012-03-11 Michael Albinus <michael.albinus@gmx.de>
4831
4832 * autorevert.el (auto-revert-handler): Ensure, that
4833 file-readable-p is applied only for local files or in
4834 auto-revert-tail-mode.
4835
e29ab36b
AS
48362012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4837
dbbc2e69
SM
4838 * server.el (server-eval-at): Handle non-tcp connections.
4839 Decode result string.
ad0bf5b6 4840
e29ab36b
AS
4841 * server.el (server-msg-size): New constant.
4842 (server-reply-print): New function.
4843 (server-eval-and-print): Use it.
4844 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4845 Handle -print-nonl.
4846
de5939ba
CS
48472012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4848
4849 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4850 (Bug#10987).
4851
0c93eabf
CY
48522012-03-11 Chong Yidong <cyd@gnu.org>
4853
397a688f
CY
4854 * simple.el (goto-line): Doc fix (Bug#9938).
4855
2cc775f9
CY
4856 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4857
0c93eabf
CY
4858 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4859 when finished (Bug#10963).
4860
c491fa41
MR
48612012-03-11 Martin Rudalics <rudalics@gmx.at>
4862
4863 * window.el (split-window-below): Fix bug in case where
4864 split-window-keep-point is nil (Bug#10971).
4865
300e8fa5
JL
48662012-03-11 Juri Linkov <juri@jurta.org>
4867
4868 * replace.el (replace-highlight): Set isearch-word to nil
4869 unconditionally. (Bug#10887)
4870
dbf6c5a1
EZ
48712012-03-10 Eli Zaretskii <eliz@gnu.org>
4872
4873 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4874 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4875 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4876 (mairix-widget-create-query): Add usage information about mairix
4877 search forms: negating words, searching for substrings, etc.
4878
b9e501de
JP
48792012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4880
4881 * international/fontset.el (font-encoding-alist): Add an entry for
4882 ksx1001 (Bug#5667).
4883
92795c91
RS
48842012-03-10 Richard Stallman <rms@gnu.org>
4885
1694e6c1
RS
4886 * mail/sendmail.el (mail-encode-header):
4887 Set rfc2047-encode-encoded-words.
4888
607e8555
RS
4889 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4890
de3bc99a
RS
4891 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4892 view buffer means not swapped.
4893 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4894 (rmail-write-region-annotate): Error if real text has disappeared.
4895
92795c91
RS
4896 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4897
699bd04e
CY
48982012-03-10 Chong Yidong <cyd@gnu.org>
4899
4900 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4901 * emulation/cua-base.el (cua--init-keymaps):
4902 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4903
570a1714
MR
49042012-03-10 Martin Rudalics <rudalics@gmx.at>
4905
dbbc2e69
SM
4906 * speedbar.el (speedbar-unhighlight-one-tag-line):
4907 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4908
82dcf4e4
CY
49092012-03-10 Chong Yidong <cyd@gnu.org>
4910
7a2c7ca7
CY
4911 * minibuffer.el (completion-in-region, completion-help-at-point):
4912 Give the completion field overlay a high priority (Bug#6830).
4913
82dcf4e4
CY
4914 * dired.el (dired-goto-file): Recognize absolute file name
4915 listings (Bug#7126).
4916 (dired-goto-file-1): New helper function.
4917 (dired-toggle-read-only): Inhibit warnings.
4918
052e28ac
MA
49192012-03-09 Michael Albinus <michael.albinus@gmx.de>
4920
75f1671a 4921 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4922 there are no properties.
4923
95d5e396
LL
49242012-03-09 Leo Liu <sdl.web@gmail.com>
4925
4926 * savehist.el (savehist-printable): Stricter check for string
4927 value (Bug#10937).
4928
3f018d6d
EZ
49292012-03-09 Eli Zaretskii <eliz@gnu.org>
4930
dbbc2e69
SM
4931 * mail/smtpmail.el (smtpmail-send-it):
4932 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4933 valid mbox format.
4934
f7fd3d79
GM
49352012-03-09 Glenn Morris <rgm@gnu.org>
4936
4937 * files.el (dir-locals-find-file):
4938 Don't check result is regular, readable.
4939 (dir-locals-read-from-file): Demote errors.
4940
6ff6e72f
EZ
49412012-03-08 Eli Zaretskii <eliz@gnu.org>
4942
dbbc2e69
SM
4943 * international/quail.el (quail-insert-kbd-layout):
4944 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4945 layout cell, to prevent their reordering by bidi display engine.
4946 For details, see the discussion in
4947 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4948
9cec7834
AM
49492012-03-08 Alan Mackenzie <acm@muc.de>
4950
4951 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4952 the starting position; make it extend the marked region when
4953 invoked repeatedly - all under appropriate circumstances.
4954 Fixes bugs #5525, #10906.
4955
9a40b8d4
GM
49562012-03-08 Glenn Morris <rgm@gnu.org>
4957
4958 * files.el (locate-dominating-file, dir-locals-find-file):
4959 Undo 2012-03-06 change.
4960
7a08ed35
EZ
49612012-03-07 Eli Zaretskii <eliz@gnu.org>
4962
dbbc2e69
SM
4963 * international/quail.el (quail-help):
4964 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4965 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4966 for the reason.
4967
5aca4f71 49682012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4969
4970 Avoid superfluous registering of signals. (Bug#10807)
4971
4972 * notifications.el (notifications-on-action-object)
4973 (notifications-on-close-object): New defvars.
4974 (notifications-on-action-signal, notifications-on-closed-signal):
4975 Unregister the signal if not needed any longer.
4976 (notifications-notify): Register `notifications-action-signal' or
4977 `notifications-closed-signal', if :on-action or :on-close has been
4978 passed as argument.
4979
78e8b10a
CY
49802012-03-07 Chong Yidong <cyd@gnu.org>
4981
4982 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4983 non-X platforms.
4984
69481eb8
GM
49852012-03-06 Glenn Morris <rgm@gnu.org>
4986
4987 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4988 (x-disown-selection-internal, x-get-selection-internal):
4989 Doc fix (add arglist signatures). (Bug#10783)
4990
133b8e11
KS
49912012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4992
4993 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4994 Handle breakpoints with no "type".
4995
99a83064
GM
49962012-03-06 Glenn Morris <rgm@gnu.org>
4997
4998 * files.el (locate-dominating-file): Add optional predicate argument.
4999 (dir-locals-find-file): Make use of above change.
5000
17798e78
TTN
50012012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5002
5003 * info.el (Info-insert-dir): Also try "dir.gz".
5004
eb182446
GM
50052012-03-06 Glenn Morris <rgm@gnu.org>
5006
8f2114ee
GM
5007 * files.el (dir-locals-find-file):
5008 Ignore non-readable or non-regular files. (Bug#10928)
5009
eb182446
GM
5010 * files.el (locate-dominating-file): Doc fix.
5011
24679323
AS
50122012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5013
5014 * calendar/calendar.el (calendar-set-mode-line):
5015 `getenv' returns a string. (Bug#10951)
5016
01d972a9
LL
50172012-03-05 Leo Liu <sdl.web@gmail.com>
5018
109aa8a9
LL
5019 * simple.el (backward-delete-char-untabify): Constrain point to
5020 field (Bug#10939).
5021
01d972a9
LL
5022 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5023
10607bea
CY
50242012-03-05 Chong Yidong <cyd@gnu.org>
5025
5026 * simple.el (count-words): If called from Lisp, return the word
5027 count, for symmetry with `count-lines'. Arglist changed.
5028 (count-words--message): Args changed. Consolidate counting code
5029 from count-words and count-words-region.
5030 (count-words-region): Caller changed.
5031 (count-lines-region): Make it an obsolete alias.
5032
5dd11cfe
TH
50332012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5034
5035 * saveplace.el (save-place-to-alist)
5036 (save-place-ignore-files-regexp): Allow value nil to disable this
5037 feature.
5038
c349f4e6
CY
50392012-03-04 Chong Yidong <cyd@gnu.org>
5040
5041 * faces.el (face-spec-reset-face): For the default face, reset the
5042 attributes to default values (Bug#10748).
5043
e627be4c
LMI
50442012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5045
5046 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5047 previous patch: Check `message-send-mail-function', and not the
5048 default function (bug#10897).
5049
ebeabff4
MA
50502012-03-04 Michael Albinus <michael.albinus@gmx.de>
5051
a41a6cf4
MA
5052 * notifications.el (notifications-on-action-signal)
5053 (notifications-on-closed-signal): Check for unique service name of
5054 incoming event. Fix error in removing entry.
ebeabff4 5055 (top): Register for signals with wildcard service name.
a41a6cf4 5056 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5057
c1ca42b4
CY
50582012-03-04 Chong Yidong <cyd@gnu.org>
5059
dc9924b8 5060 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5061
ea16568d
GM
50622012-03-04 Glenn Morris <rgm@gnu.org>
5063
5064 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5065 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5066 (expand-abbrev, define-abbrev-table): Doc fixes.
5067
fbae4637
LMI
50682012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5069
5070 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5071 `message-default-send-mail-function' and not `send-mail-function'
5072 when doing the prompting for `sendmail-query-once' before sending
5073 in Message buffers (bug#10897).
5074
a1e7225c
LMI
5075 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5076 This is inconsistent with all the other stream functions, which leave
5077 the setting up to the higher levels (if so wanted) (bug#10931).
5078
56d093a9
AM
50792012-03-02 Alan Mackenzie <acm@muc.de>
5080
5081 Depessimize the handling of very large macros.
5082
5083 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5084 (c-macro-cache-syntactic): New variables to implement a one
5085 element macro cache.
5086 (c-invalidate-macro-cache): New function.
5087 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5088 Adapt to use the new cache.
5089 (c-state-safe-place): Use better the cache of safe positions.
5090 (c-state-semi-nonlit-pos-cache)
5091 (c-state-semi-nonlit-pos-cache-limit):
5092 New variables for...
5093 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5094 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5095 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5096 Use c-state-semi-safe-place.
56d093a9 5097
dbbc2e69
SM
5098 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5099 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5100
817e5c3d
MA
51012012-03-02 Michael Albinus <michael.albinus@gmx.de>
5102
dbbc2e69
SM
5103 * jka-compr.el (jka-compr-call-process):
5104 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5105 not remote.
5106
a032a702
MA
51072012-03-01 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5110 access of FILE2, if FILE1 does not exist.
5111
99a54f21
MA
5112 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5113 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5114
5115 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5116 Add "PAGER=" to `process-environment'.
5117
f6561e1f
MM
51182012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5119
5120 * progmodes/sql.el: Bug fix
5121 (sql-get-login-ext): Save login values in globals.
5122 (sql-get-login): Use new version of `sql-get-login-ext'.
5123 (sql-interactive-mode): Set global `sql-connection' to nil.
5124 (sql-connect): Set global values for connection.
5125 (sql-product-interactive): Save global values as buffer local.
5126
2d44d9cc
LL
51272012-02-29 Leo Liu <sdl.web@gmail.com>
5128
5129 * abbrev.el (define-abbrevs): Reset sys to nil.
5130
96b49301 51312012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5132
bf7f9bc5
JB
5133 * files.el (file-equal-p): Rename from `files-equal-p'.
5134 Return nil when one or both files don't exist.
96b49301 5135 (file-subdir-of-p): Now only top directory must exists,
5136 return nil if it doesn't.
bf7f9bc5
JB
5137 (copy-directory): No need to test with `file-subdir-of-p' after
5138 creating dir.
5139 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5140 to `file-equal-p'.
96b49301 5141
44e97401
GM
51422012-02-28 Glenn Morris <rgm@gnu.org>
5143
5144 * shell.el (shell-mode):
5145 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5146 * play/landmark.el (landmark-font-lock-face-O):
5147 * play/handwrite.el (handwrite):
5148 * play/gomoku.el (gomoku-O):
5149 * net/browse-url.el (browse-url-browser-display):
5150 * international/mule.el (define-charset):
5151 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5152 * filesets.el (filesets-find-file-delay):
5153 * eshell/em-xtra.el (eshell-xtra):
5154 * eshell/em-unix.el (eshell-grep):
5155 * emulation/viper.el (viper-mode):
5156 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5157 * emacs-lisp/easymenu.el (easy-menu-define):
5158 * calendar/timeclock.el (timeclock-use-display-time):
5159 * bs.el (bs-mode):
5160 * bookmark.el (bookmark-save-flag):
5161 Doc fix (standardize possessive apostrophe usage).
5162
c98c6276
CY
51632012-02-27 Chong Yidong <cyd@gnu.org>
5164
bf7f9bc5
JB
5165 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5166 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5167
c98c6276
CY
5168 * font-lock.el (font-lock-specified-p): Rename from
5169 font-lock-spec-present. Callers changed.
5170
9c62cd04 51712012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5172
bf7f9bc5
JB
5173 * emacs-lisp/package.el (package-compute-transaction):
5174 Handle holding a package version to t in package-load-list.
8ac9e529 5175
530739c9
MA
51762012-02-26 Michael Albinus <michael.albinus@gmx.de>
5177
5178 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5179 (tramp-get-inode, tramp-get-device): Use cached values.
5180
487915d7
AM
51812012-02-26 Alan Mackenzie <acm@muc.de>
5182
5183 Check there is a font-lock specification before doing initial
5184 fontification.
5185
5186 * font-core.el (font-lock-mode): Move the conditional from
5187 :after-hook to font-lock-initial-fontify.
5188 (font-lock-default-function): Move the check for a specification
5189 to font-lock-spec-present.
5190
dc9924b8 5191 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5192 (font-lock-spec-present): New function.
5193
4fd96557
JB
51942012-02-26 Jim Blandy <jimb@red-bean.com>
5195
5196 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5197 (gdb-send): Apply it to the operand of the '-interpreter-exec
5198 console' command, so that we can pass arguments with (say) quotes
5199 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5200
9a4888c0
CY
52012012-02-26 Chong Yidong <cyd@gnu.org>
5202
07498861
CY
5203 * help-fns.el (describe-function-1): Clarify description of
5204 remapping (Bug#10844).
5205
9a4888c0
CY
5206 * files.el (files-equal-p): Doc fix.
5207 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5208 and quit the loop once a mismatch is found.
5209
ea8fb88d
JB
52102012-02-25 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * bs.el (bs--show-with-configuration): Don't throw an error
5213 if the window cannot be split; otherwise, subsequent calls to
5214 bs-show fail, restoring a stale window config. (Bug#10882)
5215
525795c1
JD
52162012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5217
5218 * term/ns-win.el (global-map): Bind ns-drag-file to
5219 ns-find-file (Bug#5855, Bug#10050).
5220
f008086f
AS
52212012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * calendar/parse-time.el (parse-time-string): Allow extractor to
5224 return nil.
5225
a3fcfa99
MA
52262012-02-25 Michael Albinus <michael.albinus@gmx.de>
5227
91027d08
JB
5228 * net/tramp.el (tramp-file-name-for-operation):
5229 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5230
5231 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5232 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5233 Add COPY-CONTENTS argument.
a3fcfa99 5234
67b0de11
CY
52352012-02-25 Chong Yidong <cyd@gnu.org>
5236
5237 Add custom groups for VC backends, for consistency with vc-bzr.
5238
5239 * vc/vc-arch.el (vc-arch):
5240 * vc/vc-cvs.el (vc-cvs):
5241 * vc/vc-git.el (vc-git):
5242 * vc/vc-hg.el (vc-hg):
5243 * vc/vc-mtn.el (vc-mtn):
5244 * vc/vc-rcs.el (vc-rcs):
5245 * vc/vc-sccs.el (vc-sccs):
5246 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5247 All relevant defcustoms reassigned.
5248
3c9dfce6
CY
52492012-02-25 Chong Yidong <cyd@gnu.org>
5250
1339bf43
CY
5251 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5252
3c9dfce6
CY
5253 * term/x-win.el (x-initialize-window-system): Reduce default for
5254 x-selection-timeout to 5 seconds (Bug#8869).
5255
25b2e303 52562012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5257
ec70a47d
GM
5258 * files.el (files-equal-p, file-subdir-of-p): New functions.
5259 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5260 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5261 * dired-aux.el (dired-copy-file-recursive): Same.
5262 (dired-create-files): Modify destination when source is equal to
5263 dest when copying files.
53a46cd0 5264 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5265
914260cd
MA
52662012-02-24 Michael Albinus <michael.albinus@gmx.de>
5267
5268 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5269 (Bug#10874)
5270
2cb228f7
AM
52712012-02-23 Alan Mackenzie <acm@muc.de>
5272
5273 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5274 parameter "after-hook:" to allow the expansion to run code after
5275 the execution of the mode hooks.
5276
5277 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5278 from font-lock-mode-internal.
2cb228f7 5279
91027d08 5280 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5281 :after-hook.
5282
8f0fde21
SM
52832012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5284
3e88618b
SM
5285 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5286 (completion--cache-all-sorted-completions): New function.
5287 (completion-all-sorted-completions): Use it.
5288 (completion--do-completion, minibuffer-force-complete):
5289 Use it to re-instate the flush hook.
5290
8f0fde21
SM
5291 * icomplete.el (icomplete-completions): Replace last fix with a better
5292 one (bug#10850).
5293
8e911f6f
DG
52942012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5295
5296 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5297 when it might call us back infinitely (bug#10797).
5298
49fe4321
GM
52992012-02-23 Glenn Morris <rgm@gnu.org>
5300
5301 * minibuffer.el (completion-category-overrides): Doc fix.
5302
b291b572
SM
53032012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5306 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5307
31a9ef2e
GM
53082012-02-23 Glenn Morris <rgm@gnu.org>
5309
5e6e6794 5310 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5311 (authors-obsolete-files-regexps, authors-ignored-files)
5312 (authors-ambiguous-files, authors-renamed-files-alist):
5313 Add more entries.
5314
0bd1e074
JL
53152012-02-23 Juri Linkov <juri@jurta.org>
5316
5317 * isearch.el (isearch-occur): Sync interactive spec with occur's
5318 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5319
b617673c
JL
5320 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5321
19e9789e
JL
53222012-02-22 Juri Linkov <juri@jurta.org>
5323
5324 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5325 (ucs-insert): Doc fix. Check for hex digits in the string.
5326 Don't display `nil' in the error message. (Bug#10857)
5327
f41ce09d
AM
53282012-02-22 Alan Mackenzie <acm@muc.de>
5329
7a71b18d 5330 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5331
ac2eceee
GM
53322012-02-22 Glenn Morris <rgm@gnu.org>
5333
5334 * ffap.el (ffap-c-path):
5335 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5336
abd1f678
CY
53372012-02-22 Chong Yidong <cyd@gnu.org>
5338
5339 * custom.el (load-theme): Doc fix.
5340
f25aef2e
GM
53412012-02-22 Glenn Morris <rgm@gnu.org>
5342
5343 * dired-x.el (dired-guess-shell-alist-default):
5344 Remove escape sequences from nroff output. (Bug#172)
5345
5f8dc2ca
GM
53462012-02-21 Glenn Morris <rgm@gnu.org>
5347
6ff86ec4
GM
5348 * vc/emerge.el (emerge-defvar-local):
5349 Set `permanent-local' property rather than unused `preserved'.
5350
be3223a3 5351 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5352 (picture-mode-map): Use it. (Bug#10860)
5353 (picture-mode): Doc fix.
5354
3fe58f4f
JB
53552012-02-21 Juanma Barranquero <lekktu@gmail.com>
5356
5357 * newcomment.el (uncomment-region-default): Remove unused binding.
5358
f9a998c3
GM
53592012-02-21 Glenn Morris <rgm@gnu.org>
5360
5361 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5362 (picture-self-insert, picture-tab-chars): Doc fix.
5363 (picture-mode-map): Fix C-a, C-e.
5364
c6029348
GM
53652012-02-20 Glenn Morris <rgm@gnu.org>
5366
5367 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5368
ab1ce9d7
LL
53692012-02-20 Leo Liu <sdl.web@gmail.com>
5370
5371 * icomplete.el (icomplete-completions): Check FROM arg before
5372 passing to substring (Bug#10850).
5373
0fd40f89
CY
53742012-02-19 Chong Yidong <cyd@gnu.org>
5375
5376 * comint.el: Require ansi-color.
5377 (comint-output-filter-functions): Add ansi-color-process-output.
5378
5379 * ansi-color.el: Don't set comint-output-filter-functions; it is
5380 now in the initial value defined in comint.el.
5381 (ansi-color-apply-face-function): New variable.
5382 (ansi-color-apply-on-region): Use it.
5383 (ansi-color-apply-overlay-face): New function.
5384
5385 * shell.el (shell): No need to require ansi-color.
5386 (shell-mode): Use ansi-color-apply-face-function to highlight
5387 color escapes using font-lock-face property (Bug#10835).
5388
20af2394
CY
53892012-02-19 Chong Yidong <cyd@gnu.org>
5390
5391 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5392 mode-line formats (Bug#10839).
5393
e23a3fbe
GM
53942012-02-18 Glenn Morris <rgm@gnu.org>
5395
b474519e
GM
5396 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5397
5398 * mail/undigest.el (unforward-rmail-message): Doc fix.
5399
e23a3fbe
GM
5400 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5401
57939ff4
EZ
54022012-02-18 Eli Zaretskii <eliz@gnu.org>
5403
5404 * international/characters.el (script-list): Sync with the latest
5405 Unicode Character Database.
5406
0c23686e
AS
54072012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5408
5409 * international/titdic-cnv.el: Remove duplicate coding tag.
5410 * language/cham.el: Likewise.
5411 * language/tai-viet.el: Likewise.
5412
6818b449
GM
54132012-02-18 Glenn Morris <rgm@gnu.org>
5414
5415 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5416 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5417 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5418 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5419 * calendar/holidays.el (holiday-bahai-holidays)
5420 (calendar-holidays, list-holidays):
5421 Use utf-8 Bahá'í in doc-strings, menus, etc.
5422
0311a3fc
TH
54232012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5424
5425 * saveplace.el (save-place-ignore-files-regexp): New variable
5426 allowing for excluding files from saving their location of point.
5427 The default value matches the temporary commit message editing
5428 files from Git, SVN, Bazaar, and Mercurial.
5429 (save-place-to-alist): Use it.
5430
d209e2fb 54312012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5432 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * newcomment.el (uncomment-region-default): Don't leave extra space
5435 when an arg is provided (bug#8150).
5436
ee0ce425
TZ
54372012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5438
eb864a71 5439 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5440
95ddf442
GM
54412012-02-17 Glenn Morris <rgm@gnu.org>
5442
5443 * net/socks.el: Require network-stream. (Bug#10599)
5444
48dd1e39 54452012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5446
5447 * international/charprop.el:
5448 * international/uni-name.el:
5449 * international/uni-old-name.el:
5450 * international/uni-comment.el: Regenerate.
5451
d68cd087
GM
54522012-02-16 Glenn Morris <rgm@gnu.org>
5453
5454 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5455 Interactively in calendar buffer, give an error if not on a date.
5456
13932042
GM
54572012-02-15 Glenn Morris <rgm@gnu.org>
5458
5459 * shell.el (shell-delimiter-argument-list):
5460 Revert 2011-02-17 change. (Bug#8027)
5461
c3a70e2b
CY
54622012-02-15 Chong Yidong <cyd@gnu.org>
5463
60236b0d
CY
5464 * minibuffer.el (completion-at-point-functions): Doc fix.
5465
c3a70e2b
CY
5466 * custom.el (defcustom): Doc fix; note use of defvar.
5467
9f26dc24
GM
54682012-02-15 Glenn Morris <rgm@gnu.org>
5469
5470 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5471 Doc fixes.
5472
6546b134
GM
54732012-02-14 Glenn Morris <rgm@gnu.org>
5474
5475 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5476
d29b2b4c
LI
54772012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5478
5479 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5480 way the ports list is computed.
835bdcba
LI
5481 (smtpmail-query-smtp-server): Prompt the user for a port number if
5482 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5483
08dcdbc9
TZ
54842012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5485
5486 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5487
2605051a
GM
54882012-02-13 Glenn Morris <rgm@gnu.org>
5489
5490 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5491
7ee99f32
TZ
54922012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5493
5494 * net/gnutls.el (gnutls-trustfiles): New variable.
5495 (gnutls-negotiate): Use it.
5496
5f0af64f
LI
54972012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5498
5499 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5500 does its stuff if Gnus is running.
5501
c14fcc95
AM
55022012-02-13 Alan Mackenzie <acm@muc.de>
5503
5504 Fix a loop in c-set-fl-decl-start.
5505
7a71b18d 5506 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5507 c-backward-syntactic-ws actually moves backwards.
5508
142b4d90
LL
55092012-02-13 Leo Liu <sdl.web@gmail.com>
5510
5511 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5512 beginning so that all \C-o chars are removed.
5513
fa9958a6
TZ
55142012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5515
dc9924b8 5516 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5517
0bc5886a
AM
55182012-02-12 Alan Mackenzie <acm@muc.de>
5519
5520 Fix infinite loop with long macros.
4d6769e1 5521 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5522
d4bd55e7
CY
55232012-02-12 Chong Yidong <cyd@gnu.org>
5524
5525 * window.el (display-buffer): Doc fix (Bug#10785).
5526
66f3fe22
GM
55272012-02-12 Glenn Morris <rgm@gnu.org>
5528
bd7da63e
GM
5529 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5530 (x-disown-selection-internal, x-get-selection-internal):
5531 Sync docs with the xselect.c versions.
5532
66f3fe22
GM
5533 * allout-widgets.el: Add missing license notice.
5534
3e0d2fa7
GM
55352012-02-11 Glenn Morris <rgm@gnu.org>
5536
cfecdf09
GM
5537 * select.el (x-get-selection-internal, x-own-selection-internal)
5538 (x-disown-selection-internal):
5539 * x-dnd.el (x-get-selection-internal): Update declarations.
5540
6d216d7f
GM
5541 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5542
2bed3f04
GM
5543 * window.el (window-sides-slots):
5544 * tool-bar.el (tool-bar-position):
5545 * term/xterm.el (xterm-extra-capabilities):
5546 * ses.el (ses-self-reference-early-detection):
5547 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5548 (verilog-auto-wire-type)
5549 (verilog-auto-delete-trailing-whitespace)
5550 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5551 (verilog-auto-tieoff-declaration):
5552 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5553 (sql-oracle-statement-starters, sql-oracle-scan-on):
5554 * progmodes/prolog.el (prolog-align-comments-flag)
5555 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5556 (prolog-left-indent-regexp, prolog-paren-indent-p)
5557 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5558 (prolog-types, prolog-mode-specificators)
5559 (prolog-determinism-specificators, prolog-directives)
5560 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5561 (prolog-electric-dot-flag)
5562 (prolog-electric-dot-full-predicate-template)
5563 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5564 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5565 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5566 (prolog-program-switches, prolog-prompt-regexp)
5567 (prolog-debug-on-string, prolog-debug-off-string)
5568 (prolog-trace-on-string, prolog-trace-off-string)
5569 (prolog-zip-on-string, prolog-zip-off-string)
5570 (prolog-use-standard-consult-compile-method-flag)
5571 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5572 (prolog-imenu-max-lines, prolog-info-predicate-index)
5573 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5574 (prolog-char-quote-workaround):
5575 * progmodes/cc-vars.el (c-defun-tactic):
5576 * net/tramp.el (tramp-encoding-command-interactive)
5577 (tramp-local-end-of-line):
5578 * net/soap-client.el (soap-client):
5579 * net/netrc.el (netrc-file):
5580 * net/gnutls.el (gnutls):
5581 * minibuffer.el (completion-category-overrides)
5582 (completion-cycle-threshold)
5583 (completion-pcm-complete-word-inserts-delimiters):
5584 * man.el (Man-name-local-regexp):
5585 * mail/feedmail.el (feedmail-display-full-frame):
5586 * international/characters.el (glyphless-char-display-control):
5587 * eshell/em-ls.el (eshell-ls-date-format):
5588 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5589 (lisp-lambda-list-keyword-parameter-indentation)
5590 (lisp-lambda-list-keyword-parameter-alignment):
5591 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5592 * dired-x.el (dired-omit-verbose):
5593 * cus-theme.el (custom-theme-allow-multiple-selections):
5594 * calc/calc.el (calc-highlight-selections-with-faces)
5595 (calc-lu-field-reference, calc-lu-power-reference)
5596 (calc-note-threshold):
5597 * battery.el (battery-mode-line-limit):
5598 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5599 (archive-7z-update):
5600 * allout.el (allout-prefixed-keybindings)
5601 (allout-unprefixed-keybindings)
5602 (allout-inhibit-auto-fill-on-headline)
5603 (allout-flattened-numbering-abbreviation):
5604 * allout-widgets.el (allout-widgets-auto-activation)
5605 (allout-widgets-icons-dark-subdir)
5606 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5607 (allout-widgets-theme-dark-background)
5608 (allout-widgets-theme-light-background)
5609 (allout-widgets-item-image-properties-emacs)
5610 (allout-widgets-item-image-properties-xemacs)
5611 (allout-widgets-run-unit-tests-on-load)
5612 (allout-widgets-time-decoration-activity)
5613 (allout-widgets-hook-error-post-time)
5614 (allout-widgets-track-decoration):
5615 Add missing :version tags to new defcustoms and defgroups.
5616
5fec1b8e
GM
5617 * progmodes/sql.el (sql-ansi-statement-starters)
5618 (sql-oracle-statement-starters): Add custom type.
5619
3e0d2fa7
GM
5620 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5621 (prolog-system-version): Give it a type.
5622
90b671e2
EZ
56232012-02-11 Eli Zaretskii <eliz@gnu.org>
5624
5625 * term/pc-win.el (x-select-text, x-selection-owner-p)
5626 (x-own-selection-internal, x-disown-selection-internal)
5627 (x-get-selection-internal): Sync doc strings and argument lists
5628 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5629
5eac0c02
LL
56302012-02-11 Leo Liu <sdl.web@gmail.com>
5631
5632 * progmodes/python.el (python-end-of-statement): Fix infinite
5633 loop. (Bug#10788)
5634
f82cb659
GM
56352012-02-10 Glenn Morris <rgm@gnu.org>
5636
5637 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5638 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5639
cc26d239
LI
56402012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5641
5642 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5643 about SMTP before checking the From header.
5644
91027d08 5645 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5646 into own function for reuse by emacsbug.el.
5647
1be3ca5a
LL
56482012-02-10 Leo Liu <sdl.web@gmail.com>
5649
5650 * subr.el (condition-case-unless-debug): Rename from
5651 condition-case-no-debug. All callers changed.
5652 (with-demoted-errors): Fix caller.
5653
5654 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5655 * nxml/rng-valid.el (rng-do-some-validation):
5656 * emacs-lisp/package.el (package-refresh-contents)
5657 (package-menu-execute):
5658 * desktop.el (desktop-create-buffer):
91027d08 5659 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5660
b011fbfe
GM
56612012-02-10 Glenn Morris <rgm@gnu.org>
5662
b2096d72
GM
5663 * textmodes/bibtex.el:
5664 Add missing :version tags for new/changed defcustoms.
5665
b011fbfe
GM
5666 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5667
4c7e65bf
LI
56682012-02-09 Lars Ingebrigtsen <larsi@rusty>
5669
5670 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5671 (smtpmail-via-smtp): Use it, or fall back on the From address.
5672 (smtpmail-send-it): Ditto.
5673
f3934f6f
SM
56742012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5677 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5678 (byte-compile-tmp-var): New const.
5679 (byte-compile-defvar): Use it to minimize .elc size.
5680 Just use `defvar' rather than simulate it (bug#10761).
5681
a075a2c5
GM
56822012-02-09 Glenn Morris <rgm@gnu.org>
5683
cf3aa21b
GM
5684 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5685
354998cd
GM
5686 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5687 Add :version tags.
5688
dc9924b8
SM
5689 * progmodes/compile.el (compilation-error-screen-columns)
5690 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5691
dab3703d
GM
5692 * vc/log-view.el (log-view-toggle-entry-display):
5693 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5694
3f88cd72
GM
5695 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5696 (report-emacs-bug-can-use-xdg-email):
5697 (report-emacs-bug-insert-to-mailer): Doc fixes.
5698 (report-emacs-bug): Message fix.
5699
d95b247d
GM
5700 * net/browse-url.el (browse-url-can-use-xdg-open)
5701 (browse-url-xdg-open): Doc fixes.
5702
a075a2c5
GM
5703 * electric.el (electric-indent-mode, electric-pair-mode)
5704 (electric-layout-rules, electric-layout-mode): Doc fixes.
5705 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5706
ffb6157e
MR
57072012-02-08 Martin Rudalics <rudalics@gmx.at>
5708
5709 * server.el (server-unselect-display): Don't inadvertently kill
5710 the current buffer. (Bug#10729)
5711
e1ac4066
GM
57122012-02-08 Glenn Morris <rgm@gnu.org>
5713
34e8a2da
GM
5714 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5715 (sql-list-table): Doc fixes.
5716
b4ac6e8c
GM
5717 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5718 Comment out (does nothing).
5719
e1ac4066
GM
5720 * completion.el (dynamic-completion-mode):
5721 * dirtrack.el (dirtrack-debug-mode):
5722 * electric.el (electric-layout-mode):
5723 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5724 * face-remap.el (text-scale-mode, buffer-face-mode):
5725 * iimage.el (iimage-mode):
5726 * image-mode.el (image-transform-mode):
5727 * minibuffer.el (completion-in-region-mode):
5728 * scroll-lock.el (scroll-lock-mode):
5729 * simple.el (next-error-follow-minor-mode):
5730 * tar-mode.el (tar-subfile-mode):
5731 * tooltip.el (tooltip-mode):
5732 * vcursor.el (vcursor-use-vcursor-map):
5733 * wid-browse.el (widget-minor-mode):
5734 * emulation/tpu-edt.el (tpu-edt-mode):
5735 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5736 * international/iso-ascii.el (iso-ascii-mode):
5737 * language/thai-util.el (thai-word-mode):
5738 * mail/supercite.el (sc-minor-mode):
5739 * net/goto-addr.el (goto-address-mode):
5740 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5741 * progmodes/cwarn.el (cwarn-mode):
5742 * progmodes/flymake.el (flymake-mode):
5743 * progmodes/glasses.el (glasses-mode):
5744 * progmodes/hideshow.el (hs-minor-mode):
5745 * progmodes/pascal.el (pascal-outline-mode):
5746 * textmodes/enriched.el (enriched-mode):
5747 * vc/smerge-mode.el (smerge-mode):
5748 Doc fixes (minor mode argument).
5749
5e0d957f
EZ
57502012-02-07 Eli Zaretskii <eliz@gnu.org>
5751
5752 * ls-lisp.el (ls-lisp-sanitize): New function.
5753 (ls-lisp-insert-directory): Use it to fix or remove any elements
5754 in file-alist with missing attributes. (Bug#4673)
5755
98d7371e
AM
57562012-02-07 Alan Mackenzie <acm@muc.de>
5757
5758 Fix spurious recognition of c-in-knr-argdecl.
5759
5760 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5761 putative K&R region.
5762
667ced3a
AM
57632012-02-07 Alan Mackenzie <acm@muc.de>
5764
eb864a71
LM
5765 * progmodes/cc-engine.el (c-forward-objc-directive):
5766 Prevent looping in "#pragma mark @implementation".
667ced3a 5767
5b77774d
MA
57682012-02-07 Michael Albinus <michael.albinus@gmx.de>
5769
5770 * notifications.el (notifications-on-closed-signal): Make `reason'
5771 optional. (Bug#10744)
5772
af008560
GM
57732012-02-07 Glenn Morris <rgm@gnu.org>
5774
60d47423
GM
5775 * emacs-lisp/easy-mmode.el (define-minor-mode):
5776 Doc fixes for the macro and the mode it defines.
5777
dd605cc4
GM
5778 * image.el (imagemagick-types-inhibit): Doc fix.
5779
af008560
GM
5780 * cus-start.el (imagemagick-render-type): Add it.
5781
5cc59a37
LI
57822012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5783
4d6769e1
JB
5784 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5785 Set the default at load time, too, so that `font-lock-fontify-buffer'
5786 can be called without setting up the entire mode first. This fixes
5787 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5788
9a6dd747
CY
57892012-02-06 Chong Yidong <cyd@gnu.org>
5790
2d16b285
CY
5791 * simple.el (list-processes--refresh): Delete exited processes
5792 (Bug#8094).
5793
171e9b6e
CY
5794 * comint.el (comint-next-prompt): next-single-char-property-change
5795 and prev-single-char-property-change never return nil (Bug#8657).
5796
9a6dd747
CY
5797 * custom.el (defcustom): Doc fix (Bug#9711).
5798
aa4589a7
CY
57992012-02-05 Chong Yidong <cyd@gnu.org>
5800
5c2a252f
CY
5801 * cus-edit.el (custom-variable-reset-backup): Quote the value
5802 before storing it in the customized-value property (Bug#6712).
4aab9006 5803 (custom-display): Add a customization type tag.
983b9602 5804 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5805
aa4589a7
CY
5806 * wid-edit.el (widget-field-value-get): New optional arg to
5807 suppress trailing whitespace truncation.
5808 (character): Use it (Bug#2689).
5809
1ff980ae
AS
58102012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5811
5812 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5813 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5814
03988c98
CY
58152012-02-05 Chong Yidong <cyd@gnu.org>
5816
eeb6cc88
CY
5817 * cus-edit.el (custom-variable-value-create): For mismatched
5818 types, show the current value (Bug#7600).
5819
03988c98
CY
5820 * custom.el (defcustom): Doc fix.
5821
f8cdeef0
GM
58222012-02-05 Glenn Morris <rgm@gnu.org>
5823
5824 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5825
0696d255
JB
58262012-02-05 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5829 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5830 (pp-last-sexp): Use `looking-at-p'.
5831
34c99998
GM
58322012-02-04 Glenn Morris <rgm@gnu.org>
5833
8f05da42
GM
5834 * files.el (revert-buffer):
5835 Doc fix (mention revert-buffer-in-progress-p).
5836
f160676e
GM
5837 * emacs-lisp/ert-x.el (ert-simulate-command):
5838 Check deferred-action-list (which is obsolete) is bound.
5839
c7291ad9
GM
5840 * subr.el (with-wrapper-hook): Doc fixes.
5841
34c99998
GM
5842 * simple.el (filter-buffer-substring-functions)
5843 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5844
6283a7d3
LL
58452012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5846
5847 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5848 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5849
e96e3013
LL
58502012-02-04 Leo Liu <sdl.web@gmail.com>
5851
5852 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5853
8ded50f2
GM
58542012-02-04 Glenn Morris <rgm@gnu.org>
5855
82ff1d13
GM
5856 * image.el (image-extension-data): Add obsolete alias.
5857
987a0a16
GM
5858 * isearch.el (isearch-update): Doc fix.
5859
ea32ef46
GM
5860 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5861
8ded50f2
GM
5862 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5863
eea14f31
GM
58642012-02-03 Glenn Morris <rgm@gnu.org>
5865
5866 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5867 (image-animate-timeout): Doc fix.
5868
5869 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5870
12f381b7
GM
58712012-02-02 Glenn Morris <rgm@gnu.org>
5872
953cebf5
GM
5873 * server.el (server-auth-dir): Doc fix.
5874 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5875
12f381b7
GM
5876 * subr.el (run-mode-hooks): Doc fix.
5877
953a8c3b
JL
58782012-02-02 Juri Linkov <juri@jurta.org>
5879
5880 * image-mode.el (image-toggle-display-image): Remove tautological
5881 `major-mode' from the `derived-mode-p' test.
5882
c5d3843c
KH
58832012-02-02 Kenichi Handa <handa@m17n.org>
5884
9f6e692e 5885 * composite.el (compose-region): Cancel previous change.
c5d3843c 5886
159462d4 58872012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5888
5889 * composite.el (compose-region, compose-string): Signal error for
5890 a null string component (Bug#6988).
5891
9f562668
CY
58922012-02-01 Chong Yidong <cyd@gnu.org>
5893
e2cef717
CY
5894 * view.el (view-buffer-other-window, view-buffer-other-frame):
5895 Handle special modes like view-buffer (Bug#10650).
5896 (view-buffer): Simplify.
5897
9f562668
CY
5898 * frame.el (set-frame-font): Tweak meaning of third argument.
5899
9f6e692e
JB
5900 * dynamic-setting.el (font-setting-change-default-font):
5901 Use set-frame-font (Bug#9982).
9f562668 5902
781acb9f
GM
59032012-02-01 Glenn Morris <rgm@gnu.org>
5904
6035be52
GM
5905 * progmodes/compile.el (compilation-internal-error-properties):
5906 Respect compilation-first-column in the "*compilation*" buffer.
5907
781acb9f
GM
5908 * emacs-lisp/easy-mmode.el (define-minor-mode):
5909 Relax :variable's test for a named function.
5910
abbceb00
AM
59112012-01-31 Alan Mackenzie <acm@muc.de>
5912
5913 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5914 off by one error.
5915
fce3fdeb
CY
59162012-01-31 Chong Yidong <cyd@gnu.org>
5917
5918 * frame.el (set-frame-font): New arg ALL-FRAMES.
5919
5920 * menu-bar.el (menu-set-font): Use set-frame-font.
5921
5922 * faces.el (face-spec-reset-face): Don't apply unspecified
5923 attribute values to the default face.
5924
47893581
JB
59252012-01-31 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * progmodes/cwarn.el (cwarn): Remove dead link.
5928 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5929 Remove * from defcustom docstrings.
5930 (turn-on-cwarn-mode): Make obsolete.
5931 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5932 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5933
e58e988a
GM
59342012-01-31 Glenn Morris <rgm@gnu.org>
5935
60dc2671 5936 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5937 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5938 Allow named functions to be used as the cdr of :variable.
e58e988a 5939
7a3f511d
GM
59402012-01-30 Glenn Morris <rgm@gnu.org>
5941
5942 * emacs-lisp/authors.el (authors-fixed-entries):
5943 Remove reference to deleted file rnewspost.el.
5944
cb882333
JB
59452012-01-29 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * window.el (window-with-parameter): Remove unused variable `windows'.
5948 (window--side-check): Remove unused variable `code'.
5949 (window--resize-siblings): Remove unused variable `first'.
5950 (adjust-window-trailing-edge): Remove unused variable `failed'.
5951 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5952 Use `let', not `let*'.
5953 (balance-windows-2): Remove unused variable `found'.
5954 (window--state-put-2): Remove unused variable `splits'.
5955 (window-state-put): Remove unused variable `selected'.
5956 (same-window-p): Use `string-match-p'.
5957 (display-buffer-assq-regexp): Remove unused variable `value'.
5958 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5959 Mark argument ALIST as ignored.
5960 (pop-to-buffer): Remove unused variable `old-window'.
5961
907201af
EZ
59622012-01-29 Eli Zaretskii <eliz@gnu.org>
5963
5964 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5965 and .lzma compressed files.
5966
ea162670
CY
59672012-01-29 Chong Yidong <cyd@gnu.org>
5968
5b95ee8a
CY
5969 * frame.el (window-system-default-frame-alist): Doc fix.
5970
ea162670
CY
5971 * dynamic-setting.el (font-setting-change-default-font): Don't
5972 change the default face if SET-FONT argument is non-nil (Bug#9982).
5973
d6e6f4b1
SB
59742012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5975
5976 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5977
0f29fa41 59782012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5979
5980 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5981 breakpoints in files outside current directory (Bug#6098).
5982
db174434
CY
59832012-01-29 Chong Yidong <cyd@gnu.org>
5984
6b25e4e2
SE
5985 * progmodes/python.el: Require ansi-color at top-level.
5986
6df6ae42
JB
5987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5988 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5989 (lisp-mode-abbrev-table): Add doc.
5990 (lisp-mode-variables): Don't set local-abbrev-table.
5991 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5992
e70ee681
RW
59932012-01-28 Roland Winkler <winkler@gnu.org>
5994
5995 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5996
ace88aa2
RW
59972012-01-28 Roland Winkler <winkler@gnu.org>
5998
5999 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6000 (bibtex-set-dialect): Use it. Either set global values of
6001 dialect-dependent variables or bind these variables buffer-locally
6002 (Bug#10254).
6003 (bibtex-mode): Call bibtex-set-dialect via
6004 hack-local-variables-hook.
eb864a71
LM
6005 (bibtex-dialect): Update docstring.
6006 Add safe-local-variable predicate.
ace88aa2
RW
6007 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6008 bibtex-set-dialect.
6009 (bibtex-mode-map): Define menu for each dialect.
6010 (bibtex-entry): Fix docstring.
6011
93376c5b
CY
60122012-01-28 Chong Yidong <cyd@gnu.org>
6013
6014 * eshell/esh-arg.el (eshell-quote-argument): New function.
6015
6016 * eshell/esh-ext.el (eshell-invoke-batch-file):
6017 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6018 first arg to eshell-parse-command (Bug#10523).
6019
4372494f
DA
60202012-01-28 Drew Adams <drew.adams@oracle.com>
6021
6022 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6023 `default-directory' is non-nil.
6024
4d4ec1f8
EZ
60252012-01-28 Eli Zaretskii <eliz@gnu.org>
6026
6027 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6028 line that displays system-configuration-options. (Bug#9924)
6029
7c188927
DA
60302012-01-28 Drew Adams <drew.adams@oracle.com>
6031
6032 * descr-text.el (describe-char): Show information about POS, in
6033 addition to information about the character at POS. Improve and
6034 update the doc string. Change "code point" to "code point in
6035 charset", to avoid confusion with the character's Unicode code
6036 point shown above that. (Bug#10129)
6037
e0da685a
EZ
60382012-01-28 Eli Zaretskii <eliz@gnu.org>
6039
6040 * descr-text.el (describe-char): Show the raw character, not only
6041 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6042 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6043 for the reasons.
6044
70550acf
PH
60452012-01-28 Phil Hagelberg <phil@hagelb.org>
6046
eb864a71
LM
6047 * emacs-lisp/package.el (package-install):
6048 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6049
0ce8e868
CY
60502012-01-28 Chong Yidong <cyd@gnu.org>
6051
cb882333
JB
6052 * emacs-lisp/package.el (package-maybe-load-descriptor):
6053 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6054 (package-maybe-load-descriptor): Use it.
6055 (package-download-transaction): Fully load required packages
6056 inside the loop, so that `require' calls work (Bug#10593).
6057 (package-install): No need to call package-initialize now.
6058
2e7f3bea
CY
60592012-01-28 Chong Yidong <cyd@gnu.org>
6060
6e9bad14
CY
6061 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6062
f823b8ca
CY
6063 * tooltip.el (tooltip-mode): Doc fix.
6064 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6065
2680c309
CY
6066 * frame.el (set-cursor-color): Doc fix (Bug#352).
6067
d7a9e63b
CY
6068 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6069 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6070
2e7f3bea
CY
6071 * cus-edit.el (custom-buffer-create-internal): Fix search button
6072 action (Bug#10542).
2ae01800 6073 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6074
fc4f7a23
EW
60752012-01-27 Eduard Wiebe <usenet@pusto.de>
6076
6077 * dired.el (dired-mark-files-regexp):
6078 Include any subdirectory components. (Bug#10445)
6079
7dd37071
ML
60802012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6081
6082 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6083 Handle [host]:port syntax. (Bug#10533)
6084
a268160b
AH
60852012-01-27 Alex Harsanyi <harsanyi@mac.com>
6086
6087 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6088
e43273ef
GM
60892012-01-26 Glenn Morris <rgm@gnu.org>
6090
6091 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6092 * term.el (term-raw-escape-map): Use Control-X-prefix.
6093 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6094
1edf595d
MR
60952012-01-25 Martin Rudalics <rudalics@gmx.at>
6096
6097 * window.el (window-state-get, window--state-get-1): Don't deal
6098 with fixed-sizeness of windows. Simplify code.
6099
fa8eafef
JC
61002012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6101
6df6ae42
JB
6102 * window.el (window--state-get-1, window--state-put-2):
6103 Don't save and restore the mark.
fa8eafef 6104
0b21c100
CY
61052012-01-25 Chong Yidong <cyd@gnu.org>
6106
6107 * custom.el (custom-variable-p): Doc fix.
6108
5ae1a6c8
GM
61092012-01-25 Glenn Morris <rgm@gnu.org>
6110
40047858
GM
6111 * dired.el (dired-goto-file): Handle some of the more common
6112 characters that `ls -b' escapes. (Bug#10596)
6113
5ddce96c
GM
6114 * progmodes/compile.el (compilation-next-error-function):
6115 Respect compilation-first-column in the "*compilation*" buffer.
6116 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6117
5ae1a6c8
GM
6118 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6119
b559f1a9
GM
61202012-01-24 Glenn Morris <rgm@gnu.org>
6121
6122 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6123
6725d21a
JD
61242012-01-24 Julien Danjou <julien@danjou.info>
6125
6126 * color.el (color-rgb-to-hsl): Fix value computing.
6127 (color-hue-to-rgb): New function.
6128 (color-hsl-to-rgb): New function.
6129 (color-clamp, color-saturate-hsl, color-saturate-name)
6130 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6131 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6132
70df4bbe
GM
61332012-01-24 Glenn Morris <rgm@gnu.org>
6134
6135 * vc/vc-rcs.el (vc-rcs-create-tag):
6136 * vc/vc-sccs.el (vc-sccs-create-tag):
6137 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6138
802a2ae2
ML
61392012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6140
6141 * eshell/esh-util.el (eshell-read-hosts-file):
6142 Skip comment lines. (Bug#10549)
6143
d7128bb1
ML
6144 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6145
d1a5c3b4
JB
61462012-01-23 Juanma Barranquero <lekktu@gmail.com>
6147
2724d9c7
JB
6148 * subr.el (display-delayed-warnings): Doc fix.
6149 (collapse-delayed-warnings): New function to collapse identical
6150 adjacent warnings.
6151 (delayed-warnings-hook): Add it.
d1a5c3b4 6152
a5509865
MA
61532012-01-22 Michael Albinus <michael.albinus@gmx.de>
6154
6155 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6156
a5509865
MA
6157 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6158 (tramp-default-user-alist): Don't add "pscp".
6159 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6160 property "login-as", if set. (Bug#10530)
6161
cc6d5805
MA
61622012-01-21 Michael Albinus <michael.albinus@gmx.de>
6163
6164 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6165 "plink1" and "psftp". (Bug#10530)
6166
61672012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6168
6169 * international/mule-cmds.el (prefer-coding-system): Show a
6170 warning message if the default value of file-name-coding-system
6171 was not changed.
6172
f0960428
JC
61732012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6174
cb882333
JB
6175 * windmove.el (windmove-reference-loc):
6176 Fix windmove-reference-loc miscalculation.
f0960428 6177
dd6f2a63
JB
61782012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6179
6180 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6181 default unit.
6182
7b447e9b
GM
61832012-01-21 Glenn Morris <rgm@gnu.org>
6184
117a9ea1
GM
6185 * international/mule.el (auto-coding-alist): Add .tbz.
6186
7b447e9b
GM
6187 * files.el (local-enable-local-variables): Doc fix.
6188 (inhibit-local-variables-regexps): Rename from
6189 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6190 Doc fix. Add some extensions from auto-coding-alist.
6191 (inhibit-local-variables-suffixes):
6192 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6193 (inhibit-local-variables-p):
6194 New function, extracted from set-auto-mode-1.
6195 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6196 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6197 (hack-local-variables): Doc fix. Make the mode-only case
6198 respect enable-local-variables and friends.
6199 Respect inhibit-local-variables-regexps for file-locals, but
6200 not for directory-locals.
6201 (set-visited-file-name):
6202 Take account of inhibit-local-variables-regexps.
6203 Whether it applies may change as the file name is changed.
6204 * jka-cmpr-hook.el (jka-compr-install):
6205 * jka-compr.el (jka-compr-uninstall):
6206 Update for inhibit-first-line-modes-suffixes name change.
6207
dd6e3cdd
MR
62082012-01-20 Martin Rudalics <rudalics@gmx.at>
6209
6210 * help-macro.el (make-help-screen): Temporarily restore original
6211 binding for minor-mode-map-alist (Bug#10454).
6212
0d0deb38
JD
62132012-01-19 Julien Danjou <julien@danjou.info>
6214
6215 * color.el (color-name-to-rgb): Use the white color to find the max
6216 color component value and return correctly computed values.
6217 (color-name-to-rgb): Add missing float conversion for max value.
6218
34a02f46
MR
62192012-01-19 Martin Rudalics <rudalics@gmx.at>
6220
6221 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6222 special state value for window-persistent-parameters.
6223 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6224 (window--state-put-2): Reset all window parameters to nil before
6225 assigning values of persistent parameters.
6226
606c44c4
AM
62272012-01-18 Alan Mackenzie <acm@muc.de>
6228
6229 Eliminate sluggishness and hangs in fontification of "semicolon
6230 deserts".
6231
cb882333
JB
6232 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6233 Change value 10000 -> 3000.
606c44c4
AM
6234 (c-state-safe-place): Reformulate so it doesn't stack up an
6235 infinite number of wrong entries in c-state-nonlit-pos-cache.
6236 (c-determine-limit-get-base, c-determine-limit): New functions to
6237 determine backward search limits disregarding literals.
6238 (c-find-decl-spots): Amend commenting.
6239 (c-cheap-inside-bracelist-p): New function which detects "={".
6240
6241 * progmodes/cc-fonts.el
6242 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6243 backward search.
6244 (c-font-lock-declarations): Fix an occurrence of point being
6245 undefined. Check additionally for point being in a bracelist or
6246 near a macro invocation without a semicolon so as to avoid a
6247 fruitless time consuming search for a declarator. Give a more
6248 precise search limit for declarators using the new
6249 c-determine-limit.
6250
f3860cea
GM
62512012-01-18 Glenn Morris <rgm@gnu.org>
6252
6253 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6254 (set-auto-mode): Doc fixes.
6255
1db03b16
GM
62562012-01-17 Glenn Morris <rgm@gnu.org>
6257
0e6038be
GM
6258 * isearch.el (search-nonincremental-instead): Fix doc typo.
6259
1db03b16
GM
6260 * dired.el (dired-insert-directory): Handle newlines in directory name.
6261 (dired-build-subdir-alist): Unescape newlines in directory name.
6262
4cb0aa75
MA
62632012-01-17 Michael Albinus <michael.albinus@gmx.de>
6264
6265 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6266 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6267 (tramp-action-terminal): Use it. (Bug#10530)
6268
1d00653d
SM
62692012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6272
6a6ee00d
MR
62732012-01-16 Martin Rudalics <rudalics@gmx.at>
6274
6275 * window.el (window-state-ignored-parameters): Remove variable.
6276 (window--state-get-1): Rename argument MARKERS to IGNORE.
6277 Handle persistent window parameters. Make copy of clone-of
6278 parameter only if requested. (Bug#10348)
6279 (window--state-put-2): Install a window parameter only if it has
6280 a non-nil value or an existing parameter shall be overwritten.
6281
97912def
MA
62822012-01-15 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6285
688070a5
EZ
62862012-01-14 Eli Zaretskii <eliz@gnu.org>
6287
6288 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6289 don't pass the (nil) value of `upnode' to string-match.
6290
301afadc
CY
62912012-01-14 Chong Yidong <cyd@gnu.org>
6292
6293 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6294 Fix values recognized by the cursorBlink resource.
301afadc 6295
9e5788aa
PE
62962012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6297
6298 * epg.el (epg--make-temp-file): Avoid permission race condition
6299 when running on old Emacs versions (bug#10403).
6300
3cdb7f5a
GM
63012012-01-14 Glenn Morris <rgm@gnu.org>
6302
6303 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6304
8c82b1b4
AM
63052012-01-13 Alan Mackenzie <acm@muc.de>
6306
6307 Fix filling for when filladapt mode is enabled.
6308
6309 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6310 c-mask-paragraph, pass in `fill-paragraph' rather than
6311 `fill-region-as-paragraph'. (This is a reversion of a previous
6312 change.)
eb864a71
LM
6313 * progmodes/cc-mode.el (c-basic-common-init):
6314 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6315
e517eda4
GM
63162012-01-13 Glenn Morris <rgm@gnu.org>
6317
1498536e
GM
6318 * dired.el (dired-switches-escape-p): New function.
6319 (dired-insert-directory): Use dired-switches-escape-p.
6320 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6321
e517eda4
GM
6322 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6323
328f984d
GM
63242012-01-12 Glenn Morris <rgm@gnu.org>
6325
6326 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6327 changes in adaptive-fill-regexp. (Bug#10276)
6328
2cc769a8
AM
63292012-01-11 Alan Mackenzie <acm@muc.de>
6330
6331 Fix Emacs bug #10463 - put `widen's around the critical spots.
6332
1d00653d 6333 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6334 widen around each invocation of c-state-pp-to-literal. Remove an
6335 unused let variable.
6336
e52c37fa
GM
63372012-01-11 Glenn Morris <rgm@gnu.org>
6338
6339 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6340 Doc fix.
e52c37fa 6341
96f8741e
CY
63422012-01-10 Chong Yidong <cyd@gnu.org>
6343
1d00653d
SM
6344 * net/network-stream.el (network-stream-open-starttls):
6345 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6346 response to the capability command.
6347
b09a806e
GM
63482012-01-10 Glenn Morris <rgm@gnu.org>
6349
6350 * mail/unrmail.el (unrmail): Tweak previous change.
6351
7655cb66
CY
63522012-01-09 Chong Yidong <cyd@gnu.org>
6353
6354 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6355
9d5a8f0b
AM
63562012-01-08 Alan Mackenzie <acm@muc.de>
6357
6358 Optimise font locking in long enum definitions.
6359
6360 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6361 arm to a cond form to handle enums.
6362 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6363 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6364
9a0115ab 63652012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6366
6367 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6368 (Bug#10401)
6bb72cbd 6369
f186bb95
LMI
63702012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
29232a68
LMI
6372 * faces.el (set-face-attribute): Clarify the meaning of the nil
6373 frame (bug#10294).
6374
4e5d086d
LMI
6375 * subr.el (with-selected-frame): Mention that the selected frame
6376 is restored (bug#9980).
6377
8e66aebe
LMI
6378 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6379 (bug#9759).
6380
cd394be1 6381 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6382 (password-read): Don't autoload unused function.
6383
adf4e762
JB
63842012-01-07 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * progmodes/which-func.el (which-func-mode): Turn into a
6387 non-interactive function and mark as obsolete (bug#10428).
6388
89bd9ccd
CY
63892012-01-06 Chong Yidong <cyd@gnu.org>
6390
6391 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6392 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6393 functions, along with 1 and -1.
6394
4afee9d5
EZ
63952012-01-06 Eli Zaretskii <eliz@gnu.org>
6396
6397 * time.el (display-time-load-average)
6398 (display-time-default-load-average): Doc fixes. See the thread
6399 starting at
6400 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6401 for the details.
6402
536aea70
GM
64032012-01-06 Glenn Morris <rgm@gnu.org>
6404
665ae865
GM
6405 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6406 has no messages. (Bug#10377)
6407
c869783d
GM
6408 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6409 than Info-edit. (Bug#10385)
6410
2bb4227e
GM
6411 * time.el (display-time-load-average, display-time-next-load-average):
6412 Doc fixes.
6413
7d5944b9
GM
6414 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6415 local setting of buffer-read-only to the input buffer. (Bug#10419)
6416
536aea70
GM
6417 * calendar/calendar.el (calendar-mode):
6418 Locally set scroll-margin to 0. (Bug#10379)
6419
7dccca16
UM
64202012-01-06 Ulrich Mueller <ulm@gentoo.org>
6421
6422 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6423
afbb7930
GM
64242012-01-05 Glenn Morris <rgm@gnu.org>
6425
6426 * eshell/em-unix.el (diff-no-select): Autoload it.
6427 (eshell/diff): Use diff-no-select. (Bug#10420)
6428
04482335
CY
64292012-01-05 Chong Yidong <cyd@gnu.org>
6430
7baca3bc
CY
6431 * shell.el (shell-dynamic-complete-functions): Revert last change.
6432 (shell-command-completion-function): New function.
6433 (shell-completion-vars): Use it to implement
6434 shell-completion-execonly (Bug#10417).
6435
04482335
CY
6436 * custom.el (enable-theme): Don't set custom-safe-themes.
6437
1d00653d
SM
6438 * cus-theme.el (custom-theme-merge-theme):
6439 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6440
bb5aa5d6
MM
64412012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6442
6443 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6444 first prompt in `sql-interacive-mode'.
6445 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6446 keywords.
6df6ae42 6447 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6448 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6449 context of original buffer. Invoke `sql-login-hook'.
6450
a7183d7c
EZ
64512012-01-04 Eli Zaretskii <eliz@gnu.org>
6452
6453 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6454 letters in cite-prefix.
6455
a1eacd1e
LMI
64562012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6457
6458 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6459
787cdb34
CY
64602012-01-03 Chong Yidong <cyd@gnu.org>
6461
1d00653d
SM
6462 * shell.el (shell-dynamic-complete-functions):
6463 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6464 comint-filename-completion first (Bug#10417).
6465
30710442
RS
64662012-01-02 Richard Stallman <rms@gnu.org>
6467
6468 * battery.el (battery-status-function):
6469 Detect when to use battery-yeeloong-sysfs.
6470 (battery-echo-area-format): Add string for Yeeloong.
6471 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6472 (battery-yeeloong-sysfs): New function.
6473
f75bfc33
CY
64742012-01-02 Chong Yidong <cyd@gnu.org>
6475
6476 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6477 (dirtrack): Merge code for handling relative filenames in prompt
6478 from shell-dir-cookie-watcher.
6479 (dirtrack-debug-message): New arg to avoid excess format calls.
6480
6481 * shell.el (shell-dir-cookie-re): Variable deleted.
6482 (shell-dir-cookie-watcher): Function deleted.
6483 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6484 with dirtrack-mode.
6485
651e947e
EZ
64862012-01-01 Eli Zaretskii <eliz@gnu.org>
6487
1d00653d
SM
6488 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6489 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6490 libgnutls-26.dll.
6491
94d4c7dc
AS
64922011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6493
6494 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6495
8d43f3cd
EZ
64962011-12-31 Eli Zaretskii <eliz@gnu.org>
6497
6498 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6499 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6500
98c8795a
MA
65012011-12-29 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6504 also for alternative shells.
6505 (tramp-open-connection-setup-interactive-shell): Check, whether
6506 the shell is a busybox.
6507 (tramp-send-command): Don't suppress multiple prompts for
6508 busyboxes, it hurts.
6509
51281b32
CY
65102011-12-28 Chong Yidong <cyd@gnu.org>
6511
6512 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6513 (gdb-get-source-file): Move mode line update to
6514 gdb-get-source-file (Bug#10087).
6515
2170cb53
CY
65162011-12-25 Chong Yidong <cyd@gnu.org>
6517
6518 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6519 gud-gdb-marker-filter without taking it as an argument.
6520 (gud-gdb-run-command-fetch-lines): Caller changed.
6521 (gud-gdb-completion-function): New variable.
6522 (gud-gdb-completion-at-point): Use it.
6523 (gud-gdb-completions-1): Split from gud-gdb-completions.
6524
6525 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6526 function as separate arguments.
6527 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6528 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6529 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6530 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6531 (gdb-stopped, def-gdb-auto-update-trigger)
6532 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6533 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6534 Callers changed.
2170cb53
CY
6535 (gud-gdbmi-completions): New function.
6536 (gdb): Use it for generating the completion table.
6537
be8b11bb
AM
65382011-12-24 Alan Mackenzie <acm@muc.de>
6539
6540 Introduce a mechanism to widen the region used in context font
1d00653d 6541 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6542
1d00653d
SM
6543 * progmodes/cc-langs.el (c-before-font-lock-functions):
6544 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6545 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6546 functions to be run just before context (etc.) font locking.
6547
6548 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6549 New, functionality extracted from
be8b11bb 6550 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6551 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6552 (c-after-change): Set c-in-after-change-fontification.
6553 (c-set-fl-decl-start): Rejig its interface, so it can be called
6554 from both after-change and context fontifying.
b81d40f0
JB
6555 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6556 New functions.
6557 (c-standard-font-lock-fontify-region-function): New variable.
6558 (c-font-lock-fontify-region): New function.
be8b11bb 6559
341cf6ac
JL
65602011-12-24 Juri Linkov <juri@jurta.org>
6561
6562 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6563 (Bug#10348)
6564
bffcee0a
MA
65652011-12-23 Michael Albinus <michael.albinus@gmx.de>
6566
6567 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6568 existence of source file. (Bug#10325)
6569
cb5e207c
AM
65702011-12-23 Alan Mackenzie <acm@muc.de>
6571
6572 Fix unstable fontification inside templates.
6573
b81d40f0
JB
6574 * progmodes/cc-langs.el (c-before-font-lock-functions):
6575 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6576 additionally has c-set-fl-decl-start. The other languages (apart
6577 from AWK) have that as a single entry.
6578
b81d40f0
JB
6579 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6580 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6581 c-set-fl-decl-start.
6582
b81d40f0
JB
6583 * progmodes/cc-mode.el (c-common-init, c-after-change):
6584 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6585 (c-set-fl-decl-start): New function, extracted from
6586 c-font-lock-enclosing-decls and enhanced.
6587
60ff536c
JB
65882011-12-23 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6591
1c4757d6
JL
65922011-12-22 Juri Linkov <juri@jurta.org>
6593
6594 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6595
d031f2c7
CY
65962011-12-22 Chong Yidong <cyd@gnu.org>
6597
6598 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6599
bace743a
DA
66002011-12-21 Drew Adams <drew.adams@oracle.com>
6601
6602 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6603
728a1f2b
JC
66042011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6605
6606 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6607
0d373f73
TZ
66082011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6609
fec0aaa4
TZ
6610 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6611 highlighting and support. Fix up comments for capitalization.
6612 (cfengine-mode-debug): New var.
6613 (cfengine3-mode): Change the modeline indicator to "CFE3".
6614 (cfengine3-font-lock-keywords): Improve defun highlighting.
6615 (cfengine2-actions): Rename from `cfengine-actions'.
6616 (cfengine2-font-lock-keywords): Rename from
6617 `cfengine-font-lock-keywords'.
6618 (cfengine2-imenu-expression): Rename from
6619 `cfengine-imenu-expression'.
6620 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6621 (cfengine2-beginning-of-defun): Rename from
6622 `cfengine-beginning-of-defun'.
6623 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6624 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6625 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6626 modeline indicator to "CFE2".
6627 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6628 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6629
bc86f573
CY
66302011-12-21 Chong Yidong <cyd@gnu.org>
6631
6632 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6633 filename argument.
6634
d45ba96b
MR
66352011-12-20 Martin Rudalics <rudalics@gmx.at>
6636
6637 * window.el (window-normalize-buffer-to-display): Remove.
6638 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6639
a6198c90
CY
66402011-12-19 Chong Yidong <cyd@gnu.org>
6641
6642 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6643 Don't signal an error in a predicate function; return non-nil.
6644 (vc-dir-mark-file): Move the error here.
6645 (vc-dir-mark-unmark): If acting on the region, keep going if one
6646 of the entries cannot be marked/unmarked.
6647 (vc-dir-mark-all-files): If current entry is a directory, mark
6648 only child files, as documented.
6649
34c5fb55
VB
66502011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6651
6652 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6653 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6654 addition.
6655
c803b2b7
JD
66562011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6657
6658 * term/ns-win.el (ns-get-selection-internal)
6659 (ns-store-selection-internal): Declare.
1154d12e
JB
6660 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6661 Declare as obsolete.
6662 (ns-get-pasteboard, ns-paste-secondary):
6663 Use ns-get-selection-internal.
6664 (ns-set-pasteboard, ns-copy-including-secondary):
6665 Use ns-store-selection-internal.
c803b2b7 6666
9cff91f8 66672011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6668
6669 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6670 (vc-deduce-fileset): Doc fix.
99a289d9 6671
f16c898a
AS
66722011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6673
6674 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6675
763237c4
SS
66762011-12-13 Sam Steingold <sds@gnu.org>
6677
6678 * man.el (Man-getpage-in-background): When running under a
6679 window-system, ignore $MANWIDTH and $COLUMNS.
6680
5fc1c122
KH
66812011-12-15 Kenichi Handa <handa@m17n.org>
6682
6683 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6684 (setup-ethiopic-environment-internal): Comment out key-binding for
6685 ethio-toggle-punctuation.
6686
13d49cbb
AM
66872011-12-13 Alan Mackenzie <acm@muc.de>
6688
898169a2
AM
6689 Add the switch statement to AWK Mode.
6690
7a71b18d 6691 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6692 "default" to the keywords regexp.
6693
7a71b18d 6694 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6695 expression as the rest.
1d00653d
SM
6696 (c-nonlabel-token-key): Allow string literals for AWK.
6697 Refactor for the other modes.
898169a2 6698
13d49cbb 6699 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6700 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6701 routines. Limit backward searching in c-font-lock-enclosing.decl.
6702
6703 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6704 pp-state and literal type in addition to the limits.
1d00653d 6705 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6706 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6707 (c-slow-in-literal, c-fast-in-literal): Remove.
6708 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6709
6710 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6711 being in a literal. Add a limit for backward searching.
6712
6713 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6714 c-slow-in-literal.
6715
15e0efc7
SM
67162011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6719
454592a6
MR
67202011-12-13 Martin Rudalics <rudalics@gmx.at>
6721
6722 * window.el (delete-other-windows): Use correct frame in call to
6723 window-with-parameter.
6724
87393f26
DP
67252011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6726
6727 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6728 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6729 (makefile-gmake-statements, makefile-makepp-statements):
6730 Use it and add new makepp keywords.
6731 (makefile-makepp-font-lock-keywords): Add new patterns.
6732 (makefile-match-function-end): Match new [...] and [[...]].
6733
11636b22
JB
67342011-12-11 Juanma Barranquero <lekktu@gmail.com>
6735
6736 * ses.el (ses-call-printer-return, ses-cell-property-get)
6737 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6738 (ses-create-cell-variable, ses-reset-header-string)
6739 (ses-cell-set-formula, ses-repair-cell-reference-all)
6740 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6741 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6742 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6743 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6744 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6745 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6746 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6747 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6748 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6749 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6750 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6751 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6752
cf018193
VB
67532011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6754
6755 * ses.el: The overall change is to add cell renaming, that is
6756 setting fancy names for cell symbols other than name matching
6757 "\\`[A-Z]+[0-9]+\\'" regexp .
6758 (ses-create-cell-variable): New defun.
6759 (ses-relocate-formula): Relocate formulas only for cells the
6760 symbols of which are not renamed, i.e. symbols whose names do not
6761 match regexp "\\`[A-Z]+[0-9]+\\'".
6762 (ses-relocate-all): Relocate values only for cells the symbols of
6763 which are not renamed.
6764 (ses-load): Create cells variables as the (ses-cell ...) are read,
6765 in order to check row col consistency with cell symbol name only
6766 for cells that are not renamed.
6767 (ses-replace-name-in-formula): New defun.
6768 (ses-rename-cell): New defun.
6769
ee957461
CY
67702011-12-11 Chong Yidong <cyd@gnu.org>
6771
6772 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6773 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6774
9a9e9ef0
MR
67752011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6776
6777 * window.el (other-window): Fix docstring.
6778
92a8eba5
EZ
67792011-12-10 Eli Zaretskii <eliz@gnu.org>
6780
6781 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6782 `from' or `to' address before taking its substring.
6783 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6784 encoded name is chopped in the middle of the encoded string, and
6785 thus displayed encoded.
6786
e152e577
JB
67872011-12-10 Juanma Barranquero <lekktu@gmail.com>
6788
6789 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6790
e5d84bfe
EZ
67912011-12-10 Eli Zaretskii <eliz@gnu.org>
6792
6793 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6794 to use texinfo-update-node and commands that call it if the
6795 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6796 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6797 (texinfo-all-menus-update, texinfo-master-menu)
6798 (texinfo-update-node, texinfo-every-node-update)
6799 (texinfo-multiple-files-update): Doc fix. Warn against updating
6800 all the @node lines.
6801 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6802 argument is numeric. Explain better in the doc string what the
6803 function really does.
6804 (texinfo-insert-master-menu-list): Improve the error message
6805 displayed if there's no menu in the Top node.
6806 (Bug#2975) See also this thread:
e5d84bfe
EZ
6807 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6808
1d84e9bb
MG
68092011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6810
6811 * speedbar.el (speedbar-supported-extension-expressions):
6812 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6813
382c953b
JB
68142011-12-09 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * printing.el (pr-mode-alist):
6817 * simple.el (filter-buffer-substring-functions)
6818 (completion-list-insert-choice-function):
6819 * window.el (window-with-parameter, window-atom-root)
6820 (window-sides-slots, window-size-fixed, window-min-delta)
6821 (window-max-delta, window--resize-mini-window)
6822 (window--resize-child-windows-normal, window-tree)
6823 (delete-other-windows, quit-window, split-window)
6824 (display-buffer-record-window, special-display-buffer-names)
6825 (special-display-regexps, special-display-popup-frame)
6826 (same-window-p, split-window-sensibly)
6827 (display-buffer-overriding-action, display-buffer-alist)
6828 (display-buffer-base-action, display-buffer, switch-to-buffer)
6829 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6830 (fit-window-to-buffer, recenter-positions)
6831 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6832 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6833 and remove unneeded backslashes in docstrings.
6834
39c9faef
SM
68352011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6836
98449af8
SM
6837 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6838
39c9faef
SM
6839 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6840 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6841 end in ".mk".
6842 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6843 when reading the makefile (bug#10116).
6844
86ed9fdc
SM
68452011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6848 (bug#10116).
6849
5580f89d
GM
68502011-12-06 Glenn Morris <rgm@gnu.org>
6851
6852 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6853
28d3917c
CY
68542011-12-06 Chong Yidong <cyd@gnu.org>
6855
6856 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6857
a98edce9
JB
68582011-12-06 Juanma Barranquero <lekktu@gmail.com>
6859
6860 * textmodes/table.el (table-shorten-cell): Fix typo.
6861
e65adfac
CG
68622011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6863
6864 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6865
71cc0b74
EZ
68662011-12-05 Eli Zaretskii <eliz@gnu.org>
6867
6868 * descr-text.el (describe-char): Fix display of strong
6869 right-to-left characters and directional embeddings and overrides.
6870
6871 * simple.el (what-cursor-position): Fix display of codepoints of
6872 strong right-to-left characters.
6873
315bc30d
CY
68742011-12-05 Chong Yidong <cyd@gnu.org>
6875
6876 * faces.el (read-color): Doc fix.
6877
58a70b94
GM
68782011-12-05 Glenn Morris <rgm@gnu.org>
6879
6880 * align.el (align--set-marker): Add doc-string.
6881 Don't try to move something that is not a marker. (Bug#10216)
6882
5158face
GM
68832011-12-04 Glenn Morris <rgm@gnu.org>
6884
6885 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6886 overly zealous deletion of trailing whitespace.
6887
520fca41
JB
68882011-12-04 Juanma Barranquero <lekktu@gmail.com>
6889
6890 * server.el (server-delete-client): On Windows, do not try to delete
6891 the only terminal.
6892 (server-process-filter): On Windows, treat requests for a tty frame as
6893 if they were for a GUI frame if the running server is in GUI mode.
6894
5e605a2e
GM
68952011-12-03 Glenn Morris <rgm@gnu.org>
6896
6897 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6898
5c3fe83f
SM
68992011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6f5e57e7
SM
6901 * electric.el: Streamline electric-indent's hook.
6902 (electric-indent-chars): Revert to simple list.
6903 (electric-indent-functions): New var.
6904 (electric-indent-post-self-insert-function): Use it.
6905
5c3fe83f
SM
6906 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6907 there's no inferior buffer (bug#10196).
6908 (prolog-consult-compile): Don't use toggle-read-only.
6909
6bdac736
MA
69102011-12-02 Michael Albinus <michael.albinus@gmx.de>
6911
6912 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6913 interrupt. (Bug#10187)
6914
6131ba7f
SM
69152011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6916
99c79fee
SM
6917 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6918 (bug#9160).
6919
6131ba7f
SM
6920 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6921 (bug#10191).
6922
cb0a02ea
JL
69232011-12-02 Juri Linkov <juri@jurta.org>
6924
6925 * info.el (Info-search): Display "end of manual" when Isearch
6926 reaches the end of single-file Info manual. (Bug#9918)
6927
66e0570c
EZ
69282011-12-02 Eli Zaretskii <eliz@gnu.org>
6929
6930 * isearch.el (isearch-message-prefix): Run the input method part
6931 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6932
02b16839
JL
69332011-12-02 Juri Linkov <juri@jurta.org>
6934
6935 * isearch.el (isearch-occur): Use `word-search-regexp' for
6936 `isearch-word'.
6937 (isearch-search-and-update): Add condition for `isearch-word' and
6938 call `word-search-regexp'. (Bug#10145)
6939
0b950688
GM
69402011-12-01 Glenn Morris <rgm@gnu.org>
6941
6942 * eshell/em-hist.el (eshell-hist-initialize):
6943 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6944 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6945
9505c3c7
SM
69462011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6949
1bbe96b2 69502011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6951
a1beca85
SM
6952 * progmodes/verilog-mode.el (verilog-pretty-expr):
6953 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6954 verilog, such as += *= and the like.
6955 (verilog-assignment-operator-re): Regular expression to find the
6956 assigment operator in a verilog assignment.
6957 (verilog-assignment-operation-re): Regular expression to find an
6958 assignment statement for pretty-expr.
6959 (verilog-in-attribute-p): Query returns true if point is in an
6960 attribute context; used to skip these for expression line up from
6961 pretty-expr.
6962 (verilog-in-parameter-p): Query returns true if point is in an
6963 parameter definition context; used to skip these for expression
6964 line up from pretty-expr.
6965 (verilog-in-parenthesis-p): Query returns true if point is in a
6966 parenthetical expression, specifically ( ) but not [ ] or { };
6967 used by pretty-expr.
6968 (verilog-just-one-space): If there is no space, don't add one.
6969 (verilog-get-lineup-indent-2): Specifically skip just attribute
6970 contexts for expression lineup, rather than skipping all
6971 parenthetical expressions.
6972 (verilog-calculate-indent): Fix comment, and fix indent.
6973 (verilog-do-indent): Indent declarations in lists (suggested by
6974 Joachim Lechner).
6975 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6976 skeleton items.
6977 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6978 by Alain Mellan).
6979
1bbe96b2 69802011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6981
6982 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6983 parameters with embedded comments. Reported by Ray Stevens.
6984 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6985 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6986 Reported by Tim Holt.
6987 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6988 instantiated by upper module causing wrong expansion until AUTOed a
6989 second time. Reported by K C Buckenmaier.
6990 (verilog-diff-auto): Fix showing .* as a difference when
6991 `verilog-auto-star-save' off. Reported by Dan Dever.
6992 (verilog-auto-reset, verilog-read-always-signals)
6993 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6994 temporary signals in reset list if
6995 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6996 style to each signal's assignment type, bug381.
6997 Reported by Thomas Esposito.
6288f0ca
WS
6998 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6999 (verilog-uvm-statement-re): Support UVM indentation and
7000 highlighting, with old OVM keywords only.
a1beca85 7001 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7002 Support AUTOTIEOFF creating non-wire data types.
7003 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7004 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7005 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7006 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7007 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7008 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7009 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7010 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7011 non-numeric vector width. Reported by Alex Reed.
7012 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7013 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7014 (verilog-auto-delete-trailing-whitespace):
7015 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7016 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7017 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7018 Fix verilog-scan-cache corruption when running user AUTO expansion
7019 hooks that call indentation routines.
7020 (verilog-simplify-range-expression): Fix typo ignoring lower case
7021 identifiers.
7022 (verilog-delete-auto): Fix delete-autos to also remove user created
7023 automatics, as long as they start with AUTO.
7024 (verilog-batch-diff-auto, verilog-diff-auto)
7025 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7026 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7027 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7028 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7029 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7030 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7031 is disabled and its cache will get corrupt, causing AUTOS not to
7032 expand. Instead use only -quick functions.
7033 (verilog-scan-region): Fix scanning over escaped quotes.
7034 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7035 (verilog-re-search-backward-quick)
7036 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7037 related functions now ignore strings, to fix misparsing of strings
7038 with magic comments embedded in them.
a1beca85
SM
7039 (verilog-read-auto-template):
7040 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7041 Reported by Brad Dobbie.
7042 (verilog-read-auto-template):
7043 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7044 Reported by Brad Dobbie.
6288f0ca
WS
7045 (verilog-auto-inst, verilog-auto-inst-param)
7046 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7047 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7048 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7049 debugging templates without merge conflicts, bug357.
7050 Reported by Brad Dobbie.
7051 (verilog-read-auto-template):
7052 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7053 Reported by Brad Dobbie.
7054 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7055 abbrevs so user won't be asked to save.
7056 (verilog-read-auto-lisp-present): Fix to start at beginning of
7057 buffer in case called outside of verilog-auto.
7058 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7059 to "X-2". Reported by Matthew Myers.
7060 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7061 all inputs from module templates. Reported by Leith Johnson.
7062 (verilog-module-inside-filename-p): Fix locating programs as with
7063 modules.
7064 (verilog-auto-inst-port): Fix vl-width expressions when using
7065 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7066 (verilog-decls-get-regs, verilog-decls-get-signals,
7067 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7068 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7069 verilog-read-decls): Combine reg and wire structures into one var
7070 structure to represent SystemVerilog concepts.
7071 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7072 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7073 (verilog-auto-wire-type, verilog-insert-definition):
7074 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7075 SystemVerilog "logic" keyword instead of "wire"/"reg".
7076 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7077 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7078 ifdef or generate if so there's not a driver conflict).
7079 Reported by Matthew Myers.
7080 (verilog-auto-declare-nettype, verilog-insert-definition):
7081 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7082 `default_nettype none. Reported by Julian Gorfajn.
7083 (verilog-read-always-signals-recurse, verilog-read-decls)
7084 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7085 malformed end statement, bug325. Reported by Joshua Wise and
7086 Andrew Drake.
7087 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7088 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7089 when expanding .* in interfaces, bug320.
7090 Reported by Pierre-David Pfister.
6288f0ca 7091 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7092 name and open parenthesis, bug317.
7093 Reported by Pierre-David Pfister.
6288f0ca
WS
7094 (verilog-simplify-range-expression): Fix simplification of
7095 multiplications inside AUTOWIRE connections, bug303.
7096 (verilog-auto-inst-port): Support parameter expansion in
7097 multidimensional arrays.
7098 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7099 after "assert property". Reported by Julian Gorfajn.
7100 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7101 with multiplication, bug303.
7102 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7103 Reported by Jan Frode Lonnum.
7104
1bbe96b2
GM
71052011-11-30 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7108 (hfy-shell-file-name, hfy-shell):
7109 * international/fontset.el (x-decompose-font-name): Fix typos.
7110
71112011-11-29 Ken Brown <kbrown@cornell.edu>
7112
7113 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7114 (gdb-version): Remove defvar.
7115 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7116 (gdb-gud-context-command, gdb-non-stop-handler)
7117 (gdb-current-context-command, gdb-stopped): Use it.
7118 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7119 (gdb-non-stop-handler): Don't enable pretty-printing here.
7120 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7121 non-stop mode. Use the following.
7122 (gdb-check-target-async): New defun.
7123 (gud-watch, gdb-stopped): Fix whitespace.
7124 (gdb-get-source-file): Don't try to display the source file if
7125 `gdb-main-file' is nil.
7126
71272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * align.el: Try to generate fewer markers (bug#10047).
7130 (align--set-marker): New macro.
7131 (align-region): Use it.
7132
c935221f
SM
71332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7134
7135 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7136
e70b5064
CY
71372011-11-29 Chong Yidong <cyd@gnu.org>
7138
7139 * indent.el (indent-for-tab-command, indent-according-to-mode):
7140 Doc fix.
7141 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7142
f3af92b7
MA
71432011-11-29 Michael Albinus <michael.albinus@gmx.de>
7144
7145 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7146 aware of remote file names. (Bug#10124)
7147
ed472be9
CY
71482011-11-29 Chong Yidong <cyd@gnu.org>
7149
7150 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7151
24510c22
SM
71522011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * files.el (find-file): Don't use force-same-window (bug#10144).
7155 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7156 use pop-to-buffer if the selected window can't be used.
7157 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7158
c60c3703
EZ
71592011-11-28 Eli Zaretskii <eliz@gnu.org>
7160
7161 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7162 special-mode-map.
7163
e95def75
CY
71642011-11-28 Chong Yidong <cyd@gnu.org>
7165
7166 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7167
c3f1c606
NR
71682011-11-27 Nick Roberts <nickrob@snap.net.nz>
7169
7170 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7171 gdb-get-source-file-list on gdb-create-source-file-list.
7172
00db469c
EZ
71732011-11-26 Eli Zaretskii <eliz@gnu.org>
7174
7175 * whitespace.el (whitespace-newline): Use a different foreground
7176 color for 16-color light-background displays.
7177
4ad3bc2a
CY
71782011-11-24 Chong Yidong <cyd@gnu.org>
7179
7180 * window.el (display-buffer--special-action): Doc fix.
7181
e9fce1ac
JB
71822011-11-25 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7185 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7186 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7187 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7188 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7189 (avl-tree-stack-first):
7190 * emacs-lisp/cconv.el (cconv--analyse-use):
7191 * net/gnutls.el (gnutls-negotiate): Fix typos.
7192
cb825e5d
GM
71932011-11-24 Glenn Morris <rgm@gnu.org>
7194
3adbe224
GM
7195 * lpr.el (lpr-windows-system, lpr-lp-system):
7196 * mail/binhex.el (binhex-begin-line):
7197 * progmodes/grep.el (grep-history, grep-find-history):
7198 * textmodes/flyspell.el:
7199 * vc/pcvs-defs.el (cvs-global-menu):
7200 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7201 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7202 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7203
321decc8
GM
7204 * net/tls.el: Fix case of "GnuTLS".
7205
420b63ad
GM
7206 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7207
cb825e5d
GM
7208 * version.el (emacs-build-system): Give it a doc-string.
7209
a0649f08
JL
72102011-11-24 Juri Linkov <juri@jurta.org>
7211
7212 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7213
c0bc0fd4
GM
72142011-11-24 Glenn Morris <rgm@gnu.org>
7215
7216 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7217 if called on a non-mime message just toggle the headers. (Bug#8006)
7218
20db1522
JB
72192011-11-24 Juanma Barranquero <lekktu@gmail.com>
7220
7221 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7222 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7223 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7224 (allout-rebullet-heading, allout-open-sibtopic)
7225 (allout-toggle-current-subtree-encryption)
7226 (allout-toggle-subtree-encryption, allout-encrypt-string)
7227 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7228 (allout-distinctive-bullets-string, allout-auto-activation):
7229 * window.el (window-normalize-buffer-to-display):
7230 * progmodes/verilog-mode.el (verilog-batch-indent):
7231 * textmodes/bibtex.el (bibtex-field-braces-opt)
7232 (bibtex-field-strings-opt):
7233 * vc/cvs-status.el (cvs-tree-merge):
7234 Fix typos.
7235
7262a87c
MA
72362011-11-23 Michael Albinus <michael.albinus@gmx.de>
7237
7238 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7239 `non-essential' to t, in order to avoid remote connections.
7240
283430a1
EZ
72412011-11-23 Eli Zaretskii <eliz@gnu.org>
7242
a1beca85
SM
7243 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7244 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7245 case-insensitively.
7246
d2992a38
ML
72472011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7248
7249 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7250
50419064
GM
72512011-11-23 Glenn Morris <rgm@gnu.org>
7252
da94eca1
GM
7253 * paths.el (rmail-file-name): Reformat the doc-string so that it
7254 is picked up.
7255
9aac4de2
GM
7256 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7257 (rmail-auto-file): Ignore case in the "special" field names,
7258 as mail-fetch-field does for all others.
7259
8038d2d2
GM
7260 * mail/rmail.el (rmail-forward):
7261 * mail/rmailkwd.el (rmail-set-label):
7262 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7263 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7264
f3fe222a
GM
7265 * mail/rmail.el (rmail-current-message): Doc fix.
7266
50419064
GM
7267 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7268
28109f49
SM
72692011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7272
394c65f1
GM
72732011-11-22 Glenn Morris <rgm@gnu.org>
7274
7275 * mail/rmailmm.el (test-rmail-mime-handler)
7276 (test-rmail-mime-bulk-handler)
7277 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7278
f2a0aa3a
JL
72792011-11-21 Juri Linkov <juri@jurta.org>
7280
1154d12e
JB
7281 * calc/calc.el (calc-read-key-sequence):
7282 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7283
9c34a344
LMI
72842011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7287 Tell the caller that the next line needs recomputation, even
7288 though it doesn't start a sexp (bug#10094).
7289
f04a3be9
SM
72902011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7293
7978747f
SM
72942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7295
f04a3be9
SM
7296 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7297 Use force-same-window.
7978747f 7298
fe7a3057
JB
72992011-11-20 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * descr-text.el (describe-char-unicode-data):
7302 * json.el (json-string-escape):
7303 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7304 (Footnote-unicode, Footnote-style-p):
7305 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7306
24901d61
CY
73072011-11-20 Chong Yidong <cyd@gnu.org>
7308
7309 * window.el (replace-buffer-in-windows): Restore interactive spec.
7310
bac7ff22
SM
73112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7312
24f3d7b9
SM
7313 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7314
bac7ff22
SM
7315 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7316 (byte-compile-global-not-obsolete-vars): New var.
7317 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7318 Use it.
7319 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7320
cd1181db
JB
73212011-11-20 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7324 * progmodes/pascal.el (electric-pascal-equal):
7325 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7326 * xml.el (xml-substitute-special): Fix typos.
7327
7fb18e9e
GM
73282011-11-20 Glenn Morris <rgm@gnu.org>
7329
7330 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7331 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7332 Doc fixes.
7333 (rmail-decode-mime-charset): Mark as obsolete.
7334
7335 * mail/rmailsum.el (rmail-message-regexp-p-1):
7336 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7337 Before using mime functions, check they are set. (Bug#10077)
7338
d5a6b3ba
JL
73392011-11-19 Juri Linkov <juri@jurta.org>
7340
7341 * info.el (Info-finder-find-node): Use `package--builtins' instead
7342 of `package-alist'. Use node names formed by the pattern "Keyword "
7343 and the keyword name.
7344
e981b61f
AS
73452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7346
1d00653d 7347 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7348
3ffbc301
JL
73492011-11-19 Juri Linkov <juri@jurta.org>
7350
7351 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7352 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7353 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7354 `old-history', `old-history-forward'. Add let-binding
7355 `window-selected'. Remove calls to `kill-buffer',
7356 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7357 before calling `Info-find-node', so `Info-find-node-2' will reread
7358 the Info file. Restore window positions only when `window-selected'
7359 is non-nil.
7360
30c62133
JL
73612011-11-19 Juri Linkov <juri@jurta.org>
7362
7363 * isearch.el (isearch-lazy-highlight-new-loop):
7364 Remove condition `(not isearch-error)'. (Bug#9918)
7365
7366 * misearch.el (multi-isearch-search-fun): Add condition
7367 `(not bound)' to ignore lazy-highlighting search.
7368 Add the search-failed message "end of multi" when the end of
7369 multi-sequence is reached. Uncapitalize the search-failed
7370 message "Repeat for next buffer".
7371
7372 * info.el (Info-search): Add the search-failed message
7373 "end of the manual" when the end of the manual is reached
7374 in Isearch mode.
7375
645ca9cf
JL
73762011-11-19 Juri Linkov <juri@jurta.org>
7377
7378 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7379 Use non-destructive `remove' instead of `delete' because
7380 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7381 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7382
df754f66
JL
73832011-11-19 Juri Linkov <juri@jurta.org>
7384
7385 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7386 to nil instead of binding `search-ring' and `regexp-search-ring'.
7387 (Bug#9185)
7388
0e23d96a
EZ
73892011-11-19 Eli Zaretskii <eliz@gnu.org>
7390
7391 * simple.el (line-move): Force movement by logical lines for any
7392 hscrolled window, not only when auto-hscroll-mode is on.
7393 (line-move-visual): Update doc string to that effect. (Bug#10076)
7394
8a6ccb66
AS
73952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7396
7397 * language/european.el (macintosh): Define as alias for mac-roman.
7398
49ae5b39
EZ
73992011-11-19 Eli Zaretskii <eliz@gnu.org>
7400
7401 * mail/rmailmm.el (rmail-mime-display-header)
7402 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7403 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7404 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7405 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7406 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7407 of a raw aref.
7408 (rmail-mime-entity-segment): To get past the tagline, move forward
7409 2 more lines, to account for the 2 empty lines that precede and
7410 follow the line with the buttons.
7411 (rmail-mime-update-tagline): Move one more line, to get past the
7412 empty line that follows the buttons in the tagline. (Bug#9520)
7413
c56cad4a
MR
74142011-11-19 Martin Rudalics <rudalics@gmx.at>
7415
7416 * window.el (window-max-delta-1, window-min-delta-1)
7417 (window-min-size-1, window-state-get-1, window-state-put-1)
7418 (window-state-put-2): Use "window--" prefix.
7419
cbe71af3
SM
74202011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7421
2ad52c60
SM
7422 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7423 (smie-warning-count): New var.
7424 (smie-set-prec2tab): Use it.
7425 (smie-bnf->prec2): Improve warnings. Add docstring.
7426 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7427 (smie-bnf--set-class): New function.
7428 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7429 corner case.
7430
6944dbc1
SM
7431 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7432 (compilation-error-properties, compilation-move-to-column):
7433 Handle compilation-first-column while in the target buffer.
7434
c400c4d7
SM
7435 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7436 Don't hardcode point-min==1.
7437
6dbe3e96
SM
7438 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7439 (eshell-rewrite-for-command): Remove workaround.
7440 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7441 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7442 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7443
cbe71af3
SM
7444 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7445
a8e1496d
GM
74462011-11-17 Glenn Morris <rgm@gnu.org>
7447
7448 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7449 Ignore buffer-local generated-autoload-file if it is the same
7450 as the global value. (Bug#10049)
7451
df85d315
JB
74522011-11-17 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7455 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7456 (reftex-toc-previous-heading, reftex-toc-max-level)
7457 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7458 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7459 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7460 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7461 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7462 (reftex-toc-rename-label, reftex-toc-visit-location)
7463 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7464 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7465 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7466 leaving "*toc*" only for references to the buffer.
7467
a0c2d0ae
MR
74682011-11-17 Martin Rudalics <rudalics@gmx.at>
7469
7470 * window.el (window-resize, delete-window, split-window):
7471 Replace window-splits by window-combination-resize.
1d00653d 7472 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7473
35c0bac8
GM
74742011-11-17 Glenn Morris <rgm@gnu.org>
7475
7476 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7477 Make bash entry derive from sh entry, not shell entry.
7478
d0c8fc8a
MA
74792011-11-16 Michael Albinus <michael.albinus@gmx.de>
7480
7262a87c
MA
7481 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7482 local file name.
7483
7877f373
JB
74842011-11-16 Juanma Barranquero <lekktu@gmail.com>
7485
7486 * menu-bar.el (menu-bar-file-menu):
7487 * printing.el (pr-ps-utility):
7488 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7489 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7490 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7491 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7492 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7493 (icalendar--convert-cyclic-to-ical)
7494 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7495 (icalendar--convert-ical-to-diary)
7496 (icalendar--convert-recurring-to-diary)
7497 (icalendar--convert-non-recurring-all-day-to-diary)
7498 (icalendar-import-format-sample):
7499 * progmodes/idlw-shell.el (idlwave-shell-mode):
7500 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7501 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7502 (vhdl-ps-print-init): Fix typos.
7503
10649b82
KM
75042011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7505
9d0cfcd6
GM
7506 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7507 FSF and collapse date sequence, obscure author/maintainer email address
7508 better, remove extra version line, track relocation of author's webpage.
10649b82 7509
9d0cfcd6
GM
7510 * progmodes/python.el (python-pdbtrack-input-prompt)
7511 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7512 regular python pdb prompts. Adjustments shamelessly taken exactly as
7513 suggested in EmacsWiki page (tiny change):
7514 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7515
58179cce
JB
75162011-11-16 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * expand.el (expand-pos, expand-index, expand-point):
7519 Remove redundant info from docstring.
7520 (expand-add-abbrevs): Doc fix.
7521 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7522 (expand-sample-perl-mode-expand-list): Fix typos.
7523
7524 * net/dbus.el (dbus-event-member-name):
7525 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7526 * term/pc-win.el (msdos-create-frame-with-faces):
7527 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7528
b6f67890
MR
75292011-11-16 Martin Rudalics <rudalics@gmx.at>
7530
7531 * window.el (split-window, window-state-get-1)
7532 (window-state-put-1, window-state-put-2): Rename occurrences of
7533 window-nest to window-combination-limit.
1d00653d 7534 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7535
ce7ddba0
CY
75362011-11-16 Chong Yidong <cyd@gnu.org>
7537
7538 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7539 regexp (Bug#10033).
7540
3ae704f4
SM
75412011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7544 `completing-read' will remove *Completions* and will preserve
7545 current-buffer for us.
7546 (tmm-add-prompt): Users of *Completions* will always (re)set its
7547 major mode.
7548 (tmm-old-comp-map): Remove.
7549
6ad1cdde
GM
75502011-11-16 Glenn Morris <rgm@gnu.org>
7551
7552 * mail/rmailedit.el: Require rmailmm when compiling.
7553 (rmail-old-mime-state): New declaration.
7554 (rmail-edit-current-message): If editing a mime message,
7555 edit the "raw" message from the mbox buffer.
7556 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7557
d20faa20
GM
75582011-11-15 Glenn Morris <rgm@gnu.org>
7559
7560 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7561 which wasn't being used. Add optional arg to force given state.
7562 (rmail-mime): Add optional arg to force given state.
7563
c7015153
JB
75642011-11-15 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7567 * frame.el (display-mm-dimensions-alist):
7568 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7569 (outline-move-subtree-down):
7570 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7571 (newsticker--treeview-do-get-node):
7572 * net/quickurl.el (quickurl-list-buffer-name):
7573 * progmodes/dcl-mode.el (dcl-mode):
7574 * progmodes/gdb-mi.el (gdb-mapcar*):
7575 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7576
45261b50
GM
75772011-11-15 Glenn Morris <rgm@gnu.org>
7578
7579 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7580 in a boolean sense, so just make it a boolean, and fix the doc.
7581 (rmail-show-mime-function, rmail-mime-feature)
7582 (rmail-require-mime-maybe): Doc fixes.
7583 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7584
7585 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7586
0d26e0b6
JB
75872011-11-15 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7590 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7591 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7592 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7593
447f30f6
GM
75942011-11-15 Glenn Morris <rgm@gnu.org>
7595
672b871d
GM
7596 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7597 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7598 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7599 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7600 (rmail-mime, rmail-show-mime): Doc fixes.
7601
f6aa5bb1
GM
7602 * term/ns-win.el (mode-line-frame-identification):
7603 Leave it alone. (Bug#10051)
7604
947cd66b
GM
7605 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7606
447f30f6
GM
7607 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7608 Handle empty buffers. (Bug#9978)
7609
0b381c7e
JB
76102011-11-14 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * international/mule.el (define-charset):
7613 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7614 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7615 * progmodes/verilog-mode.el (verilog-backward-token):
7616 * textmodes/ispell.el (lookup-words):
7617 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7618
71e027ac
GM
76192011-11-14 Glenn Morris <rgm@gnu.org>
7620
56632ce4
GM
7621 * progmodes/executable.el
7622 (executable-make-buffer-file-executable-if-script-p):
7623 Handle file-modes returning nil.
7624
40500957
GM
7625 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7626 message - not necessary, and causes problems. (Bug#9831)
7627
071c2340
GM
7628 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7629
d3cfca60
GM
7630 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7631
71e027ac
GM
7632 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7633 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7634 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7635
89d61221
MR
76362011-11-12 Martin Rudalics <rudalics@gmx.at>
7637
7638 * window.el (window-resize, delete-window): Use window-splits
7639 variable instead of function.
7640 (window-state-get-1, window-state-put-2, window-state-put):
7641 Don't deal with windows' splits status.
7642
98282f6f
GM
76432011-11-12 Glenn Morris <rgm@gnu.org>
7644
7645 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7646 (apropos-documentation): Doc fixes.
7647
40a8bdf6
JB
76482011-11-11 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7651 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7652
65bd19ff
SM
76532011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * electric.el (electric-indent-post-self-insert-function): Make it
7656 possible for a char to only indent in some circumstances.
7657 (electric-indent-mode): Simplify.
7658
54f9154c
MR
76592011-11-11 Martin Rudalics <rudalics@gmx.at>
7660
7661 * window.el (windows-with-parameter): Remove unused function.
7662 (windows-at-side): Rename to window-at-side-list.
7663 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7664 (window-side-check, window-size-ignore, window-size-fixed-1)
7665 (window-in-direction-2): Prefix with "window--".
7666 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7667
68cbc58b
GM
76682011-11-11 Glenn Morris <rgm@gnu.org>
7669
7670 * subr.el (eval-after-load): If FILE is already loaded,
7671 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7672
b2621720
GM
76732011-11-10 Glenn Morris <rgm@gnu.org>
7674
9a4de110
GM
7675 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7676 Call svn via vc-svn-command rather than vc-do-command.
7677 (vc-svn-command): Add --non-interactive. (Bug#9993)
7678 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7679
b2621720
GM
7680 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7681 Add toggle-read-only. (Bug#7292)
7682 * files.el (toggle-read-only): Mention that it should only
7683 be used interactively. (Bug#10006)
7684
1dce7193
SM
76852011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7686
d9ac1a1e
SM
7687 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7688 Adjust regexp for OCaml warnings.
7689
0c325082
SM
7690 * electric.el (electric-pair-post-self-insert-function): Let user
7691 turn it off buffer-locally (bug#9932).
7692
90132c14
SM
7693 * progmodes/python.el (python-beginning-of-statement):
7694 Rewrite (bug#2703).
7695
1dce7193
SM
7696 * progmodes/compile.el: Better handle TABs (bug#9749).
7697 (compilation-internal-error-properties)
7698 (compilation-next-error-function): Obey the target buffer's
7699 compilation-error-screen-columns.
7700
c4e7c63a
JB
77012011-11-09 Juanma Barranquero <lekktu@gmail.com>
7702
7703 * progmodes/meta-mode.el: Remove obsolete comments.
7704 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7705 Fix typos in docstrings.
7706
2cffd681
MR
77072011-11-09 Martin Rudalics <rudalics@gmx.at>
7708
7709 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7710 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7711 (window--resizable): New function. Make all callers of
7712 window-resizable call window--resizable instead.
7713 (window-resizable): Rewrite in terms of window--resizable.
7714
0edcba87
GM
77152011-11-08 Glenn Morris <rgm@gnu.org>
7716
7717 * progmodes/delphi.el (delphi-mode-syntax-table):
7718 Let define-derived-mode define a proper syntax table. (Bug#9994)
7719
4b0d61e3
SM
77202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * window.el: Stay away from defsubst.
7723 (window-list-no-nils): Remove.
7724 (window-state-get-1, window-state-get): Use backquote instead.
7725
cd394be1 77262011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7727
4b0d61e3 7728 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7729 Fix incorrect use of default argument in `completing-read'.
7730
e1c2c6f2
MR
77312011-11-08 Martin Rudalics <rudalics@gmx.at>
7732
7733 * window.el (display-buffer-function, special-display-function):
7734 Mention display-buffer-record-window but do not mention
7735 help-setup parameter in doc-strings.
b3f4a882 7736 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7737
105216ed
CY
77382011-11-08 Chong Yidong <cyd@gnu.org>
7739
7740 * window.el (window-total-height, window-total-width): Doc fix.
7741 (window-body-size): Move from C.
7742 (window-body-height, window-body-width): Move to C.
7743
0a9f9ab5
SM
77442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * window.el: Make special-display like display-buffer-alist (bug#9532).
7747 (display-buffer--special-action): New function, morphed
7748 from display-buffer--special.
7749 (display-buffer): Use it to handle special-display-buffers at higher
7750 priority (just after display-buffer-alist).
7751 (display-buffer-fallback-action, display-buffer--other-frame-action)
7752 (pop-to-buffer-same-window): Remove display-buffer--special.
7753
a769dd15
GM
77542011-11-07 Glenn Morris <rgm@gnu.org>
7755
7756 * calendar/cal-menu.el (cal-menu-set-date-title):
7757 Do nothing if not in a calendar. (Bug#9976)
7758
05a61ee3
SM
77592011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * files.el (find-file): Always use selected-window.
7762
be7f5545
MR
77632011-11-07 Martin Rudalics <rudalics@gmx.at>
7764
7765 * window.el (window-combinations): Make WINDOW argument
7766 mandatory. Rewrite doc-string.
7767 (walk-window-subtree, window-atom-check, window-min-delta)
7768 (window-max-delta, window--resize-this-window)
7769 (window--resize-root-window-vertically, window-tree)
7770 (balance-windows, window-state-put): Rewrite doc-strings as to
7771 not mention the term "subwindow".
7772 (window--resize-subwindows-skip-p): Rename to
7773 window--resize-child-windows-skip-p.
7774 (window--resize-subwindows-normal): Rename to
7775 window--resize-child-windows-normal.
7776 (window--resize-subwindows): Rename to
7777 window--resize-child-windows.
7778 (window-or-subwindow-p): Rename to window--in-subtree-p.
7779
3c6702ef
ML
77802011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7781
7782 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7783 Ensure that mbox format messages end in two newlines (Bug#9974).
7784
49745b39
CY
77852011-11-06 Chong Yidong <cyd@gnu.org>
7786
7787 * window.el (window-combination-p): Function deleted; its
7788 side-effect is not used in any existing code.
7789 (window-combinations, window-combined-p): Call window-*-child
7790 directly.
7791
24300f5f
CY
77922011-11-05 Chong Yidong <cyd@gnu.org>
7793
7794 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7795 (window-size-ignore, window-state-get): Callers changed.
7796 (window-normalize-window): Rename from window-normalize-any-window.
7797 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7798 (window-normalize-live-window): Delete.
447f16b8
CY
7799 (window-combination-p, window-combined-p, window-combinations)
7800 (walk-window-subtree, window-atom-root, window-min-size)
7801 (window-sizable, window-sizable-p, window-size-fixed-p)
7802 (window-min-delta, window-max-delta, window-resizable)
7803 (window-resizable-p, window-full-height-p, window-full-width-p)
7804 (window-current-scroll-bars, window-point-1, set-window-point-1)
7805 (window-at-side-p, window-in-direction, window-resize)
7806 (adjust-window-trailing-edge, maximize-window, minimize-window)
7807 (window-deletable-p, delete-window, delete-other-windows)
7808 (record-window-buffer, unrecord-window-buffer)
7809 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7810 (quit-window, split-window, window-state-put)
7811 (set-window-text-height, fit-window-to-buffer)
7812 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7813
89bd5ee1
EZ
78142011-11-04 Eli Zaretskii <eliz@gnu.org>
7815
53479029
EZ
7816 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7817 rfc2047-decode-string.
7818 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7819 warnings.
7820
89bd5ee1
EZ
7821 * window.el (window-body-height, window-body-width): Mention in
7822 the doc string that the return values are in frame's canonical
7823 units. (Bug#9949)
7824
bd17fdee
AM
78252011-11-03 Alan Mackenzie <acm@muc.de>
7826
7827 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7828 change in cc-engine.el.
7829
acc825c5
SM
78302011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7833
1885e5b8
MR
78342011-11-02 Martin Rudalics <rudalics@gmx.at>
7835
7836 * window.el (quit-window): Call unrecord-window-buffer after
7837 showing another buffer in the window. (Bug#9937)
acc825c5 7838 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7839
ebe06da9
JB
78402011-11-02 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7843 Accept status with more than 9 shelves. (Bug#9935)
7844 Reported by Colin D Bennett <colin@gibibit.com>.
7845
4ee88440
MR
78462011-11-01 Martin Rudalics <rudalics@gmx.at>
7847
7848 * help.el (with-help-window): Don't reference
7849 temp-buffer-show-specifiers in doc-string.
7850
08e1d82c
AS
78512011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7852
7853 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7854 menu-item.
7855
84bd6e9e
VJL
78562011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7857
7858 * whitespace.el: New version 13.2.2.
7859 (whitespace-newline-mode): Disable properly. Reported by Sarah
7860 <EmacsWiki>.
7861
dba0634a
UJ
78622011-10-30 Ulf Jasper <ulf.jasper@web.de>
7863
7864 * net/newst-treeview.el: Remove "Time-stamp".
7865 (newsticker--group-manage-orphan-feeds): Do not call
7866 newsticker--treeview-tree-update.
db22a3c2
JB
7867 (newsticker-treeview-update, newsticker-treeview):
7868 Call newsticker--treeview-tree-update if necessary.
dba0634a 7869
3d8daefe
MR
78702011-10-30 Martin Rudalics <rudalics@gmx.at>
7871
7872 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7873 (window-iso-combinations): Remove "iso-" infix.
7874 Suggested by Chong Yidong.
3d8daefe
MR
7875 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7876 (window-max-delta-1, window-resize, window--resize-siblings)
7877 (window--resize-this-window, adjust-window-trailing-edge)
7878 (split-window, balance-windows-1)
7879 (shrink-window-if-larger-than-buffer):
7880 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7881 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7882
1bc4c3ae
SM
78832011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7886 in place (bug#9907).
7887 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7888 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7889 (eshell-structure-basic-command, eshell-rewrite-while-command)
7890 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7891 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7892 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7893 (eshell-do-pipelines-synchronously, eshell-eval-command):
7894 Use backquotes and prefer setq to set.
7895 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7896 (eshell-macrop): Use functionp.
c1e2f5fa 7897 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7898
30b65d9c
CY
78992011-10-30 Chong Yidong <cyd@gnu.org>
7900
7901 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7902 instead of set-mark (Bug#9810).
7903
2d197ffb
CY
79042011-10-30 Chong Yidong <cyd@gnu.org>
7905
7906 * window.el (split-window-below, split-window-right): Rename from
7907 split-window-above-each-other and split-window-side-by-side
7908 respectively. All callers changed.
7909 (split-window-sensibly, split-window-sensibly): Use them.
7910 (split-window-keep-point): Doc fix.
7911
7912 * isearch.el: Add isearch-scroll property to split-window-below
7913 and split-window-right.
7914
7915 * follow.el (follow-mode):
7916 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7917 * progmodes/ada-xref.el (ada-gdb-application):
7918 * emulation/vip.el (vip-buffer-in-two-windows):
7919 * image-dired.el (image-dired-dired-with-window-configuration):
7920 * dired-x.el (dired-do-find-marked-files):
7921 * dired.el (dired-pop-to-buffer):
7922 * bs.el (bs--show-with-configuration):
7923 * vc/emerge.el (emerge-setup-windows):
7924 * textmodes/two-column.el (2C-two-columns):
7925 * textmodes/reftex-toc.el (reftex-toc):
7926 * progmodes/gdb-mi.el (gdb-setup-windows):
7927 * progmodes/fortran.el (fortran-window-create):
7928 * net/newst-treeview.el (newsticker--treeview-window-init):
7929 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7930 * emulation/tpu-edt.el (tpu-gold-map):
7931 * emulation/crisp.el (crisp-mode-map):
7932 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7933
38bb2ca8
CY
79342011-10-29 Chong Yidong <cyd@gnu.org>
7935
aa4de341
CY
7936 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7937
e1eb5385
CY
7938 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7939
5d2ece3c
CY
7940 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7941 forged Ispell output (Bug#7904).
7942
38bb2ca8
CY
7943 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7944
d0af9f77
SM
79452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * doc-view.el: Avoid ugly errors about not finding nil.
7948 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7949 (doc-view-dvipdf-program, doc-view-unoconv-program)
7950 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7951 Avoid nil or absolute file name as default value.
7952 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7953
52bedd34
AM
79542011-10-28 Alan Mackenzie <acm@muc.de>
7955
db22a3c2 7956 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7957
7e43cfa5
AM
79582011-10-28 Alan Mackenzie <acm@muc.de>
7959
7960 Amend the handling of c-beginning/end-of-defun in nested declaration
7961 scopes.
7962
52bedd34
AM
7963 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7964 cc-langs.el. Change it to a defcustom.
7e43cfa5 7965
52bedd34
AM
7966 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7967 cc-vars.el.
7e43cfa5 7968
d0af9f77
SM
7969 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7970 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7971
52bedd34 7972 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7973 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7974 (c-widen-to-enclosing-decl-scope): New function.
7975 (c-while-widening-to-decl-block): New macro.
7976 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7977 outward for defun boundaries, and correspondingly change symbol
7978 `respect-enclosure' to `go-outward'.
7979 (c-declaration-limits): Change algorithm to report only the "innermost"
7980 defun's boundaries.
7981
1a2ce9ee
DD
79822011-10-28 Deniz Dogan <deniz@dogan.se>
7983
7984 * net/rcirc.el (rcirc-mode): Use hard newlines.
7985
bc97a826
AM
79862011-10-28 Alan Mackenzie <acm@muc.de>
7987
7988 Amend to indent and fontify macros "which include their own semicolon"
7989 correctly, using the "virtual semicolon" mechanism.
7990
52bedd34 7991 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7992
d0af9f77 7993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7994 Recode to scan one line at a time rather than having \n and \r
58179cce 7995 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7996 (c-forward-label): Amend for virtual semicolons.
58179cce 7997 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7998
52bedd34
AM
7999 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8000 of the new C macros.
bc97a826 8001
52bedd34 8002 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8003 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8004 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8005 (c-opt-cpp-macro-define): Make into a full language variable.
8006 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8007 AWK Mode (including \n, \r) removed, no longer needed.
8008
d0af9f77
SM
8009 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8010 Invoke c-make-macro-with-semi-re.
bc97a826 8011
52bedd34
AM
8012 * progmodes/cc-vars.el (c-macro-with-semi-re):
8013 (c-macro-names-with-semicolon): New variables.
58179cce 8014 (c-make-macro-with-semi-re): New function.
bc97a826 8015
7a6c0941
SM
80162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * vc/log-edit.el: Fill empty field rather than adding new one.
8019 (log-edit-add-field): New function.
8020 (log-edit-insert-changelog): Use it.
8021
b0c4cdcf
ML
80222011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8023
8024 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8025
ee1f1da9
SM
80262011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8029 (gdb--check-interpreter): New function.
8030 (gdb): Use it.
8031
51bc5f8b
GM
80322011-10-27 Glenn Morris <rgm@gnu.org>
8033
416a2c45
GM
8034 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8035 (least-positive-float, least-negative-float)
8036 (least-positive-normalized-float, least-negative-normalized-float)
8037 (float-epsilon, float-negative-epsilon):
8038 Remove unnecessary declarations.
8039
8040 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8041 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8042 (least-positive-float, least-negative-float)
8043 (least-positive-normalized-float, least-negative-normalized-float)
8044 (float-epsilon, float-negative-epsilon): Add doc-strings,
8045 based on those in cl.texi.
8046
51bc5f8b
GM
8047 * files.el (set-visited-file-name): If the major-mode changed,
8048 reload the local variables. (Bug#9796)
8049
15de15c6
CY
80502011-10-27 Chong Yidong <cyd@gnu.org>
8051
8052 * subr.el (change-major-mode-after-body-hook): New hook.
8053 (run-mode-hooks): Run it.
8054
ee1f1da9
SM
8055 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8056 Use change-major-mode-before-body-hook.
15de15c6
CY
8057
8058 * simple.el (fundamental-mode):
8059 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8060 change introducing fundamental-mode-hook.
8061
5430d399
JB
80622011-10-26 Juanma Barranquero <lekktu@gmail.com>
8063
acc825c5 8064 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8065
ad74a69e
MA
80662011-10-26 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8069 tramp.el explicitly. (Bug#7583)
ad74a69e 8070
71d4c2a5
SM
80712011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * progmodes/octave-mod.el:
8074 * progmodes/octave-inf.el: Update maintainer.
8075
b1f6fa26
CY
80762011-10-26 Chong Yidong <cyd@gnu.org>
8077
8078 * subr.el (with-wrapper-hook): Rewrite doc.
8079
3f04efd6
MA
80802011-10-25 Michael Albinus <michael.albinus@gmx.de>
8081
8082 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8083 filenames "/method:foo:". (Bug#9793)
3f04efd6 8084
410488d3
SM
80852011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8088 (bug#9865).
8089
c1ebb47e
GM
80902011-10-24 Glenn Morris <rgm@gnu.org>
8091
8092 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8093
7f5c46c7
MA
80942011-10-24 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * notifications.el: Add the requirement of a running D-Bus session
8097 bus to the Commentary.
8098
db2440b6
JL
80992011-10-24 Juri Linkov <juri@jurta.org>
8100
8101 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8102 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8103 (Bug#9364)
8104
feecf435
JL
81052011-10-24 Juri Linkov <juri@jurta.org>
8106
8107 * info.el (Info-following-node-name-re): Add newline to the list
8108 of allowed characters for leading space. (Bug#9824)
8109
a3839de2
SM
81102011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8111
acc825c5
SM
8112 * progmodes/octave-inf.el (inferior-octave-mode-map):
8113 Fix C-c C-h binding.
a3839de2
SM
8114 * progmodes/octave-mod.el (octave-help): Remove.
8115
09388e76
MA
81162011-10-23 Michael Albinus <michael.albinus@gmx.de>
8117
8118 Sync with Tramp 2.2.3.
8119
8120 * net/tramp-cache.el (top): Pacify byte-compiler using
8121 `init-file-user' and `site-run-file'.
8122
8123 * net/trampver.el: Update release number.
8124
86c60681
CY
81252011-10-23 Chong Yidong <cyd@gnu.org>
8126
8127 * files.el (toggle-read-only): Remove obsolete comment about
8128 version control.
8129
8130 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8131 for toggle-read-only. Note that this hasn't called vc-next-action
8132 since 2008-05-02, though it wasn't documented at the time.
8133
a3839de2
SM
8134 * vc/ediff-init.el (ediff-toggle-read-only-function):
8135 Use toggle-read-only.
86c60681 8136
cd5495ff
AM
81372011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8138
8139 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8140 of c-parse-state.
8141
00b77525 8142 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8143 correct faulty logical expression.
cd5495ff
AM
8144 (c-parse-state-state, c-record-parse-state-state):
8145 (c-replay-parse-state-state): New defvar/defuns.
8146 (c-debug-parse-state): Use new functions.
8147
42ee24ed
MR
81482011-10-22 Martin Rudalics <rudalics@gmx.at>
8149
8150 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8151 last fix. Use window-in-direction correctly.
42ee24ed 8152
a7dee7e7
CY
81532011-10-21 Chong Yidong <cyd@gnu.org>
8154
8155 * progmodes/idlwave.el (idlwave-mode):
8156 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8157 require-final-newline; that's done in prog-mode.
8158 Suggested by Stefan Monnier.
a7dee7e7 8159
e07b9a6d
MR
81602011-10-21 Martin Rudalics <rudalics@gmx.at>
8161
8162 * mouse.el (mouse-drag-window-above)
8163 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8164 (mouse-drag-mode-line-1, mouse-drag-header-line)
8165 (mouse-drag-vertical-line-rightward-window): Remove.
8166 (mouse-drag-line): New function.
8167 (mouse-drag-mode-line, mouse-drag-header-line)
8168 (mouse-drag-vertical-line): Call mouse-drag-line.
8169 * window.el (window-at-side-p, windows-at-side): New functions.
8170
7e1361d9
UM
81712011-10-21 Ulrich Mueller <ulm@gentoo.org>
8172
8173 * tar-mode.el (tar-grind-file-mode):
8174 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8175
30fcaf3a
CY
81762011-10-21 Chong Yidong <cyd@gnu.org>
8177
8178 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8179 * progmodes/vera-mode.el (vera-mode):
8180 Use mode-require-final-newline.
30fcaf3a 8181
516eddb0
GM
81822011-10-20 Glenn Morris <rgm@gnu.org>
8183
db22a3c2 8184 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8185
10d5f513
CS
81862011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8187
8188 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8189
ac6c8639
CY
81902011-10-20 Chong Yidong <cyd@gnu.org>
8191
8192 * emulation/cua-base.el (cua-mode):
8193 * mail/footnote.el (footnote-mode):
8194 * mail/mailabbrev.el (mail-abbrevs-mode):
8195 * net/xesam.el (xesam-minor-mode):
8196 * progmodes/bug-reference.el (bug-reference-mode):
8197 * progmodes/cap-words.el (capitalized-words-mode):
8198 * progmodes/compile.el (compilation-minor-mode)
8199 (compilation-shell-minor-mode):
8200 * progmodes/gud.el (gud-tooltip-mode):
8201 * progmodes/hideif.el (hide-ifdef-mode):
8202 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8203 * progmodes/subword.el (subword-mode):
8204 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8205 * progmodes/which-func.el (which-function-mode):
8206 * term/tvi970.el (tvi970-set-keypad-mode):
8207 * term/vt100.el (vt100-wide-mode):
8208 * textmodes/flyspell.el (flyspell-mode):
8209 * textmodes/ispell.el (ispell-minor-mode):
8210 * textmodes/nroff-mode.el (nroff-electric-mode):
8211 * textmodes/paragraphs.el (use-hard-newlines):
8212 * textmodes/refill.el (refill-mode):
8213 * textmodes/reftex.el (reftex-mode):
8214 * textmodes/rst.el (rst-minor-mode):
8215 * textmodes/sgml-mode.el (html-autoview-mode)
8216 (sgml-electric-tag-pair-mode):
8217 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8218 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8219 * emulation/crisp.el (crisp-mode):
8220 * emacs-lisp/eldoc.el (eldoc-mode):
8221 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8222 minor mode behavior.
8223
aa42ab43
JL
82242011-10-19 Juri Linkov <juri@jurta.org>
8225
8226 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8227 the list of hard-coded chars with escape-glyph face.
8228
89400f1d
SM
82292011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8232
305c07f6
MA
82332011-10-19 Michael Albinus <michael.albinus@gmx.de>
8234
8235 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8236 running process.
8237
13754b54
GM
82382011-10-19 Glenn Morris <rgm@gnu.org>
8239
8240 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8241 Ignore ignored files. (Bug#9726)
8242
06e21633
CY
82432011-10-19 Chong Yidong <cyd@gnu.org>
8244
8245 Doc fix for minor modes, stating that an omitted argument enables
8246 the mode unconditionally when called from Lisp.
8247
8248 * abbrev.el (abbrev-mode):
8249 * allout.el (allout-mode):
8250 * autoinsert.el (auto-insert-mode):
8251 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8252 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8253 (global-auto-revert-mode):
8254 * battery.el (display-battery-mode):
8255 * composite.el (global-auto-composition-mode)
8256 (auto-composition-mode):
8257 * delsel.el (delete-selection-mode):
8258 * desktop.el (desktop-save-mode):
8259 * dired-x.el (dired-omit-mode):
8260 * dirtrack.el (dirtrack-mode):
8261 * doc-view.el (doc-view-minor-mode):
8262 * double.el (double-mode):
8263 * electric.el (electric-indent-mode, electric-pair-mode):
8264 * emacs-lock.el (emacs-lock-mode):
8265 * epa-hook.el (auto-encryption-mode):
8266 * follow.el (follow-mode):
8267 * font-core.el (font-lock-mode):
8268 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8269 * help.el (temp-buffer-resize-mode):
8270 * hilit-chg.el (highlight-changes-mode)
8271 (highlight-changes-visible-mode):
8272 * hi-lock.el (hi-lock-mode):
8273 * hl-line.el (hl-line-mode, global-hl-line-mode):
8274 * icomplete.el (icomplete-mode):
8275 * ido.el (ido-everywhere):
8276 * image-file.el (auto-image-file-mode):
8277 * image-mode.el (image-minor-mode):
8278 * iswitchb.el (iswitchb-mode):
8279 * jka-cmpr-hook.el (auto-compression-mode):
8280 * linum.el (linum-mode):
8281 * longlines.el (longlines-mode):
8282 * master.el (master-mode):
8283 * mb-depth.el (minibuffer-depth-indicate-mode):
8284 * menu-bar.el (menu-bar-mode):
8285 * minibuf-eldef.el (minibuffer-electric-default-mode):
8286 * mouse-sel.el (mouse-sel-mode):
8287 * msb.el (msb-mode):
8288 * mwheel.el (mouse-wheel-mode):
8289 * outline.el (outline-minor-mode):
8290 * paren.el (show-paren-mode):
8291 * recentf.el (recentf-mode):
8292 * reveal.el (reveal-mode, global-reveal-mode):
8293 * rfn-eshadow.el (file-name-shadow-mode):
8294 * ruler-mode.el (ruler-mode):
8295 * savehist.el (savehist-mode):
8296 * scroll-all.el (scroll-all-mode):
8297 * scroll-bar.el (scroll-bar-mode):
8298 * server.el (server-mode):
8299 * shell.el (shell-dirtrack-mode):
8300 * simple.el (auto-fill-mode, transient-mark-mode)
8301 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8302 (line-number-mode, column-number-mode, size-indication-mode)
8303 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8304 * strokes.el (strokes-mode):
8305 * time.el (display-time-mode):
8306 * t-mouse.el (gpm-mouse-mode):
8307 * tool-bar.el (tool-bar-mode):
8308 * tooltip.el (tooltip-mode):
8309 * type-break.el (type-break-mode-line-message-mode)
8310 (type-break-query-mode):
8311 * view.el (view-mode):
8312 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8313 (global-whitespace-mode, global-whitespace-newline-mode):
8314 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8315
a3839de2
SM
8316 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8317 Fix autogenerated docstring.
06e21633 8318
5214e501
JL
83192011-10-19 Juri Linkov <juri@jurta.org>
8320
8321 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8322 by checking environment variables "DESKTOP_SESSION" and
8323 "XDG_CURRENT_DESKTOP". (Bug#9779)
8324
195f8db9
JL
83252011-10-19 Juri Linkov <juri@jurta.org>
8326
8327 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8328 (browse-url-chromium-program, browse-url-chromium-arguments):
8329 New defcustoms.
8330 (browse-url-default-browser): Check for `browse-url-chromium' and
8331 call `browse-url-chromium-program'.
8332 (browse-url-chromium): New command. (Bug#9779)
8333
343a34ff
JB
83342011-10-18 Juanma Barranquero <lekktu@gmail.com>
8335
8336 * facemenu.el (list-colors-duplicates): On Windows, detect more
8337 duplicates by assuming that only colors matching "^System" are
8338 special "system colors". (Bug#9722)
8339
6978a151
SM
83402011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8343 to distinguish the author from the committer.
8344
6a80b297
MA
83452011-10-18 Michael Albinus <michael.albinus@gmx.de>
8346
8347 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8348
b31a5677
JK
83492011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8350
8351 * international/mule.el (sgml-html-meta-auto-coding-function):
8352 Add support for detecting encoding in HTML5 specified only as
8353 <meta charset="UTF-8">. Implementation just makes http-equiv and
8354 content-type parts from HTML4 encoding string optional. (Bug#9716)
8355
80c6d77f
GM
83562011-10-18 Glenn Morris <rgm@gnu.org>
8357
8358 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8359
08b0fee8
CY
83602011-10-18 Chong Yidong <cyd@gnu.org>
8361
8362 * faces.el (cursor): Doc fix.
8363
67e729a5
CY
83642011-10-17 Chong Yidong <cyd@gnu.org>
8365
8366 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8367
343a34ff 83682011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8369
8370 * dirtrack.el (dirtrack): Support shell buffers with path
8371 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8372
0bc06380
TZ
83732011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8374
8375 * json.el: Bump version to 1.3 and note change in History.
8376 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8377
8b79f3e0
SM
83782011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8379
5a7c536b
SM
8380 * comint.el (comint-insert-input, comint-send-input)
8381 (comint-get-old-input-default, comint-backward-matching-input)
8382 (comint-next-prompt): Use nil instead of `input' for field property of
8383 past user input (bug#114).
8384
96a8a0df
SM
8385 * minibuffer.el (completion--replace): Inherit surrounding properties
8386 (bug#114).
8387 (minibuffer-complete-and-exit): Use it.
8388
8b79f3e0
SM
8389 * comint.el (comint--table-subvert): Quote the all-completions output
8390 (bug#9160).
8391
b8f7ff0d
MR
83922011-10-17 Martin Rudalics <rudalics@gmx.at>
8393
8b79f3e0 8394 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8395
b8f7ff0d 8396 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8397 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8398 entries and separate them from frame entries.
8399
c235b555
GM
84002011-10-15 Glenn Morris <rgm@gnu.org>
8401
8402 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8403 Doc fixes.
8404
6bbfa6e1
CY
84052011-10-15 Chong Yidong <cyd@stupidchicken.com>
8406
8b79f3e0
SM
8407 * net/network-stream.el (network-stream-open-starttls):
8408 Improve detection of failure due to lack of TLS support.
ec5c990d 8409
6bbfa6e1
CY
8410 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8411 putting the input text in front and in bold.
8412
98488977
SM
84132011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8414
3d1337be
SM
8415 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8416
ee0b45e4
SM
8417 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8418 empty buffer.
8419
98488977
SM
8420 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8421 unread-command-events rather than pushing yet-another event.
8422
186f4720
EZ
84232011-10-14 Eli Zaretskii <eliz@gnu.org>
8424
8425 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8426 the explanation of the possible choices. Make the options passed
8427 to completing-read shorter.
8428
8b7a997c
AM
84292011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8430
8431 * textmodes/flyspell.el (flyspell-large-region): Make sure
8432 extended character mode is used if defined (Bug#1339).
8433
12587bbb
EZ
84342011-10-13 Eli Zaretskii <eliz@gnu.org>
8435
8436 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8437 character info for LRE, LRO, RLE, and RLO characters by appending
8438 an invisible PDF.
12587bbb 8439
bad41229
SM
84402011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8443 even in case of error; add debug spec; simplify data flow.
8444 (with-timeout-handler): Remove.
8445
28dbc92f
MA
84462011-10-12 Michael Albinus <michael.albinus@gmx.de>
8447
8448 Fix Bug#6019, Bug#9315.
8449
8450 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8451 complete `buffer-file-name', the local file name part could look
8452 remotely (for example on VMS).
8453
8454 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8455 `tramp-run-real-handler'.
8456 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8457 already quoted by '"'.
8458
8459 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8460 Let `file-name-handler-alist' be nil, the local file name part
8461 could look remotely (for example on VMS).
8462
e1b0b23a
SM
84632011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8466 from here...
8467 (flyspell-post-command-hook): ...to here.
8468
a120bde9
SM
84692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8470
8471 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8472 if not needed.
8473 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8474 using completion. Protect against "slow" callers.
8475 Remove the "message hack".
8476
7ce7717b
JL
84772011-10-11 Juri Linkov <juri@jurta.org>
8478
8479 * isearch.el (isearch-lazy-highlight-word): New variable.
8480 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8481 Use it. (Bug#9727)
8482
c02ee9d6
GM
84832011-10-11 Glenn Morris <rgm@gnu.org>
8484
8485 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8486 like f90-previous-statement does.
8487
93e616fd 84882011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8489
1f190e73 8490 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8491 only in interactive use, to avoid error.
8492
af7b6078
SM
84932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * minibuffer.el (completion-file-name-table): Fix last change,
8496 i.e. ignore normal errors but not the other ones.
8497
0563dae9
MR
84982011-10-10 Martin Rudalics <rudalics@gmx.at>
8499
8500 * window.el (special-display-buffer-names)
8501 (special-display-regexps): Remove some remnants of earlier
8502 changes from doc-strings.
366ca7f3
MR
8503 (quit-windows-on): New function.
8504
8505 * vc/vc.el (vc-revert, vc-rollback):
8506 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8507 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8508 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8509
49677495
MR
85102011-10-09 Martin Rudalics <rudalics@gmx.at>
8511
8512 * window.el (frame-auto-hide-function): Add version tag.
8513 (Bug#9699)
8514
56f2d1e1
MA
85152011-10-09 Michael Albinus <michael.albinus@gmx.de>
8516
8517 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8518 condition.
8519
112a6592
LL
85202011-10-09 Leo Liu <sdl.web@gmail.com>
8521
8522 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8523 (Bug#9701)
8524
0812589b
GM
85252011-10-08 Glenn Morris <rgm@gnu.org>
8526
8527 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8528 before the first code statement zero indent. (Bug#9690)
8529
b2b0776e
CY
85302011-10-08 Chong Yidong <cyd@stupidchicken.com>
8531
8532 * simple.el (count-words-region): Always count in the region.
8533 Report the number of lines and characters too.
8534 (count-words): New command, which counts in the buffer if the
8535 region is inactive, as count-words-region used to.
8536 (count-words--message): New function. Handle plurals.
8537 (count-lines-region): Make it an alias for count-words-region.
8538
8539 * bindings.el (esc-map): Replace count-lines-region with
8540 count-words-region.
8541
c557cd6b
MR
85422011-10-08 Martin Rudalics <rudalics@gmx.at>
8543
8544 * window.el (window--delete): Delete dedicated frame
8545 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8546 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8547
61a57ef4 85482011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8549
3a7d293b 8550 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8551
c3833279
CY
85522011-10-07 Chong Yidong <cyd@stupidchicken.com>
8553
8554 * bindings.el ([M-left],[M-right]): Bind to left-word and
8555 right-word respectively.
8556
21ce8245
GM
85572011-10-07 Glenn Morris <rgm@gnu.org>
8558
8559 * cus-start.el (debug-on-quit): Fix custom type.
8560
6d823bb2
LMI
85612011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8562
0181e193
LMI
8563 * subr.el (define-key-after): Clarify that the function is not
8564 useful for non-menu keymaps.
8565
6d823bb2
LMI
8566 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8567
8e3459ce 85682011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8569
21ce8245 8570 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8571 in current minibuffer (Fix bug with recursive minibuffers).
8572
a1c2d21e
CY
85732011-10-06 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * progmodes/gdb-mi.el (gdb): Doc fix.
8576
5a4cf282
MR
85772011-10-05 Martin Rudalics <rudalics@gmx.at>
8578
8579 * window.el (frame-auto-hide-function): New option replacing
8580 frame-auto-delete. Suggested by Stefan Monnier.
8581 (window--delete): Call frame-auto-hide-function instead of
8582 investigating frame-auto-delete.
c96111ea
MR
8583 (window-point-1, set-window-point-1): New functions.
8584 (window-in-direction, record-window-buffer, window-state-get-1)
8585 (display-buffer-record-window): Use window-point-1 instead of
8586 window-point.
8587 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8588
9854542e
SM
85892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8592
8943cfb0
GM
85932011-10-05 Glenn Morris <rgm@gnu.org>
8594
8595 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8596 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8597
647ab967
LL
85982011-10-05 Leo Liu <sdl.web@gmail.com>
8599
8600 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8601 works with buffer object.
8602
3ddfbced
SM
86032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * mpc.el (mpc-tool-bar-map): Add labels.
8606
bdfa5dd2
GM
86072011-10-04 Glenn Morris <rgm@gnu.org>
8608
8609 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8610
0e2070b5
MR
86112011-10-04 Martin Rudalics <rudalics@gmx.at>
8612
8613 * window.el (window--delete): New function.
8614 (frame-auto-delete): Resuscitate option.
8615 (bury-buffer, replace-buffer-in-windows)
8616 (quit-window): Rewrite using window--delete.
8617 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8618 Pass display-buffer-mark-dedicated to window--display-buffer-2
8619 (Bug#9639).
8620
3dc61a09
SM
86212011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8622
915a9b64
SM
8623 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8624 returns a list (bug#9554). Add remote file name completion.
8625 * comint.el (comint--table-subvert): Curry and get quote&unquote
8626 functions as arguments.
8627 (comint--complete-file-name-data): Adjust call accordingly.
8628 * pcomplete.el (pcomplete--table-subvert): Remove.
8629 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8630
3dc61a09
SM
8631 * minibuffer.el (completion-table-case-fold): Use currying.
8632 (completion--styles-type, completion--cycling-threshold-type):
8633 New constants.
8634 (completion-styles, completion-category-overrides)
8635 (completion-cycle-threshold): Use them.
8636 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8637 completion-table-case-fold.
8638
8ea0a993
SB
86392011-10-03 Stephen Berman <stephen.berman@gmx.net>
8640
8641 * minibuffer.el (completion-category-overrides): Fix type of styles
8642 and add more user friendly tags (bug#9660).
8643
8c24b7f6
SM
86442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8647 (mule-input-method-string): New widget.
8648 (default-input-method, language-info-custom-alist): Use it.
8649
428fe61a
SM
86502011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8651
32c1fffd
SM
8652 * pcomplete.el: Require comint.
8653 (pcomplete--common-suffix): Remove.
8654 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8655 (pcomplete--table-subvert): Sync with comint--table-subvert.
8656 (pcomplete--entries): Use comint-completion-file-name-table.
8657 * comint.el (comint-unquote-filename): Simplify.
8658 (comint-completion-file-name-table): New function (bug#9616).
8659 (comint--complete-file-name-data): Use it.
8660
428fe61a
SM
8661 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8662 (pcmpl-gnu-tar-buffer): Remove.
8663 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8664 around. Make sure pcomplete-suffix-list is only changed temporarily.
8665 Don't look inside the tar's file if it's too large.
428fe61a 8666
04c52e2f
CY
86672011-10-01 Chong Yidong <cyd@stupidchicken.com>
8668
ce3cefcc
CY
8669 * cus-edit.el (custom-mode-map):
8670 * epa.el (epa-key-list-mode-map):
8671 * man.el (Man-mode-map):
8672 * startup.el (splash-screen-keymap):
8673 * simple.el (special-mode-map): Use scroll-up-command and
8674 scroll-down-command.
8675
8676 * progmodes/idlw-help.el (idlwave-help-mode-map):
8677 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8678 * net/newst-plainview.el (newsticker-mode-map):
8679 * emulation/ws-mode.el (wordstar-mode-map):
8680 * emulation/vi.el (vi-com-map):
8681 * calc/calc-graph.el (calc-graph-show-dumb):
8682 * term/sun.el (terminal-init-sun):
8683 * term/ns-win.el (global-map):
8684 * progmodes/grep.el (grep-mode-map):
8685 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8686 * mail/rmail.el (rmail-mode-map):
8687 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8688
04c52e2f
CY
8689 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8690 custom-safe-themes as special.
8691
79adf8c8
JD
86922011-10-01 Julien Danjou <julien@danjou.info>
8693
8694 * notifications.el (notifications-notify): Fix docstring.
8695
63bd50d3
PS
86962011-10-01 Per Starbäck <per@starback.se>
8697
8698 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8699
199e4c7e
MR
87002011-09-30 Martin Rudalics <rudalics@gmx.at>
8701
8702 * startup.el (command-line-1): Fix last fix by inserting
8703 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8704 (Bug#9605) and (Bug#9636)
199e4c7e 8705
fe5f08dd
EZ
87062011-09-29 Eli Zaretskii <eliz@gnu.org>
8707
8708 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8709 window is hscrolled, move by logical lines. (Bug#9607)
8710 (line-move-visual): Update the doc string to the above effect.
8711
b5516bbd
MR
87122011-09-29 Martin Rudalics <rudalics@gmx.at>
8713
ccee00c0
MR
8714 * window.el (display-buffer-record-window): When WINDOW is the
8715 selected window use `point' instead of `window-point'. (Bug#9626)
8716
b5516bbd
MR
8717 * startup.el (command-line-1): Use insert-before-markers when
8718 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8719
b5516bbd
MR
8720 * help.el (help-window): Remove variable.
8721
52aa0014
GM
87222011-09-29 Glenn Morris <rgm@gnu.org>
8723
8724 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8725
df9a7357
JB
87262011-09-29 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * descr-text.el (describe-char-categories): Accept category
8729 descriptions more than one line long.
8730
a8406c20
SM
87312011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8732
88d9610c
SM
8733 * simple.el (delete-trailing-whitespace): Fix last change.
8734
a5daf810
SM
8735 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8736 Don't confuse "y => 3" as the beginning of a `y' operation.
8737
a8406c20
SM
8738 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8739 object has more than 4 slots (bug#9613).
8740
a239d4e9
JB
87412011-09-28 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * subr.el (with-output-to-temp-buffer):
8744 * net/quickurl.el (quickurl, quickurl-browse-url):
8745 Fix typos in docstrings.
8746
693fbdb6
EZ
87472011-09-27 Eli Zaretskii <eliz@gnu.org>
8748
8749 * minibuffer.el (completion-styles)
8750 (completion-category-overrides): Cross reference each other in doc
8751 strings.
8752
8b457e28
GM
87532011-09-27 Glenn Morris <rgm@gnu.org>
8754
8755 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8756 to split-string. (Bug#9606)
8757
85a16208
LMI
87582011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8759
8760 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8761 (bug#9615).
8762
502f9ebd
CY
87632011-09-27 Chong Yidong <cyd@stupidchicken.com>
8764
8765 * emacs-lisp/package.el (list-packages): Fix echo area message.
8766
7690bdea
LL
87672011-09-27 Leo Liu <sdl.web@gmail.com>
8768
8769 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8770
e2ee6f30
MA
87712011-09-25 Michael Albinus <michael.albinus@gmx.de>
8772
8773 * net/dbus.el (dbus-unregister-object): Don't release services for
8774 registered signals. (Bug#9581)
8775
f3f98342
TZ
87762011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8777
8778 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8779 function that picks between cfengine 2 and 3 support
8780 automatically. Update docs accordingly.
8781
dd7aa8dd
KH
87822011-09-22 Kenichi Handa <handa@m17n.org>
8783
8784 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8785 ZERO.
8786 (indian-itrans-v5-table-for-tamil): New variable.
8787 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8788
3f2b07f8
KM
87892011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8790
8791 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8792 that's true if the current command involved collapsing of text.
8793 It's reset to false at the beginning of the next command.
8794 (allout-post-command-business): Move the cursor to the beginning
8795 of entry if the cursor is hidden and collapsing activity just
8796 happened.
8797
371d6a61
CY
87982011-09-24 Chong Yidong <cyd@stupidchicken.com>
8799
8800 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8801 tracking (Bug#9541).
8802
2ac2721a
UJ
88032011-09-24 Ulf Jasper <ulf.jasper@web.de>
8804
8805 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8806 (newsticker-show-news): Automatically load html rendering package
8807 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8808 because w3m-fill-column is let-bound" and the error "Symbol's value
8809 as variable is void: w3m-fill-column".
2ac2721a 8810
fac7ae53
MA
88112011-09-24 Michael Albinus <michael.albinus@gmx.de>
8812
8813 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8814 Release services only if they are defined. (Bug#9581)
8815
e08b633b
RS
88162011-09-23 Richard Stallman <rms@gnu.org>
8817
e488d29c
RS
8818 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8819 distinguish start of paragraph from start of its text.
8820
19c38752
RS
8821 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8822
e08b633b
RS
8823 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8824 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8825 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8826
0a39f27e
AS
88272011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8828
8829 * international/mule-diag.el (mule-diag): Insert a newline after
8830 each fontset description.
8831
db4e950d
SM
88322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * simple.el (delete-trailing-whitespace):
8835 Document last change; simplify.
8836
eca3f3ea
PW
88372011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8838
d68e189a
PW
8839 * simple.el (delete-trailing-whitespace): Also delete
8840 extra newlines at the end of the buffer.
8841
eca3f3ea
PW
8842 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8843 (picture-newline): Use forward-line so as to ignore fields.
8844
01c157cc
SM
88452011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * subr.el (with-wrapper-hook): Fix edebug spec.
8848
022de23e
LMI
88492011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8850
8851 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8852 (bug#4538).
8853
91683089
MA
88542011-09-23 Michael Albinus <michael.albinus@gmx.de>
8855
eca3f3ea
PW
8856 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8857 Fix nasty bug using wrong cached values.
91683089 8858
5bdd6fa4
AM
88592011-09-23 Alan Mackenzie <acm@muc.de>
8860
8861 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8862
97adfb97
CY
88632011-09-23 Chong Yidong <cyd@stupidchicken.com>
8864
8865 * window.el (pop-to-buffer): Ensure right window is selected if we
8866 chose another frame.
8867
d4ef2b50
EZ
88682011-09-22 Eli Zaretskii <eliz@gnu.org>
8869
8870 * simple.el (what-cursor-position): Use get-char-property-change
8871 and next-single-char-property-change, to be able to show display
8872 properties that come from overlays as well as text properties.
8873
72258fe5
CY
88742011-09-22 Chong Yidong <cyd@stupidchicken.com>
8875
8876 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8877
8878 * cmuscheme.el (run-scheme, switch-to-scheme):
8879 * cus-edit.el (customize-group, custom-buffer-create)
8880 (customize-browse):
8881 * info.el (info):
8882 * shell.el (shell):
8883 * mail/sendmail.el (mail):
8884 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8885
8f098516
RS
88862011-09-22 Richard Stallman <rms@gnu.org>
8887
8888 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8889 move back only to line beg, don't move back over blank lines.
8890
e74f1bb6
MA
88912011-09-22 Michael Albinus <michael.albinus@gmx.de>
8892
8893 * files.el (copy-directory): Set directory attributes only in case
8894 they could be retrieved from the source directory. (Bug#9565)
8895
bfeef8b6
DK
88962011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8897
8898 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8899 (hs-find-block-beginning, hs-hide-level-recursive):
8900 Ignore strings as well as comments. (Bug#9502)
8901
7e423bb8
AS
89022011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8903
8904 * progmodes/sql.el (sql-comint-postgres):
8905 Convert port number to a string. (Bug#9566)
8906
b4d72fcf
MR
89072011-09-22 Martin Rudalics <rudalics@gmx.at>
8908
8909 * window.el (quit-window): Undedicate window when switching to
8910 previous buffer. Reported by Thierry Volpiatto
8911 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8912 (special-display-popup-frame): When popping up a new frame reset
8913 its previous buffers to nil. Simplify code.
b4d72fcf 8914
a7b88dc6
MA
89152011-09-21 Michael Albinus <michael.albinus@gmx.de>
8916
8917 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8918 and process filter, as done also in `shell-command'.
8919
cf4eacfd
MR
89202011-09-21 Martin Rudalics <rudalics@gmx.at>
8921
eca3f3ea 8922 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8923 Call set-window-start with NOFORCE argument t.
8924 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8925 (quit-window): Reword doc-string. Handle new format of
8926 quit-restore parameter. Don't delete window if it has a
8927 previous buffer we can show instead of the present one.
8928 (display-buffer-record-window): Rewrite using a new format for
8929 the quit-restore window parameter
8930 (special-display-popup-frame, display-buffer-same-window)
8931 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8932 (display-buffer-pop-up-window, display-buffer-use-some-window):
8933 Adapt symbol passed to display-buffer-record-window.
8934 * help.el (help-window-setup): Handle new format of quit-restore
8935 parameter.
8936
8d28cb95
SM
89372011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8938
94ab793f
SM
8939 * faces.el (face-list): Fix docstring (bug#9564).
8940
8d28cb95
SM
8941 * window.el (display-buffer--action-function-custom-type):
8942 Don't include internal functions in the Custom interface.
8943
3820edeb
JL
89442011-09-20 Juri Linkov <juri@jurta.org>
8945
8946 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8947 (Info-forward-node, Info-backward-node, Info-next-preorder)
8948 (Info-last-preorder): Use it. (Bug#9528)
8949
5147931d
JL
89502011-09-20 Juri Linkov <juri@jurta.org>
8951
8952 * info.el (Info-last-preorder): Visit last menu item only when
8953 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8954
cf499a1a
JD
89552011-09-20 Julien Danjou <julien@danjou.info>
8956
8957 * password-cache.el (password-cache-remove): Remove entries even if the
8958 value is nil, so that password with a nil value (negative caching) is
8959 possible to invalidate.
8960
f84e2fe2
LM
89612011-09-20 Lawrence Mitchell <wence@gmx.li>
8962
8963 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8964 all whitespace around breakpoint. (Bug#9553)
8965 (f90-find-breakpoint): Only break at whitespace inside a comment.
8966
78054a46
SM
89672011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * minibuffer.el (completion-file-name-table): Keep track of errors.
8970 (completion-table-with-predicate): Handle the case where pred1 is nil.
8971 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8972
345083b2
SM
89732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8974
e24e27be
SM
8975 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8976 (debugger-return-value): Signal an error if the debugging context does
8977 not await any return value.
8978
345083b2
SM
8979 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8980 * image-mode.el (image-toggle-display-text)
8981 (image-toggle-display-image): Stay away from evil `intangible'.
8982
08d355e3
LL
89832011-09-19 Leo Liu <sdl.web@gmail.com>
8984
8985 * replace.el (occur-revert-arguments): Make it permanent-local.
8986 (occur-mode): Don't call font-lock-defontify.
8987
f01da43f
CY
89882011-09-19 Chong Yidong <cyd@stupidchicken.com>
8989
8990 * net/ldap.el (ldap-search-internal): Don't push empty search
8991 result (Bug#9508).
8992
b6072fa6
SM
89932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8996
443d6696
MA
89972011-09-19 Michael Albinus <michael.albinus@gmx.de>
8998
8999 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9000 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9001
7cc6e154
JL
90022011-09-18 Juri Linkov <juri@jurta.org>
9003
9004 * buff-menu.el (Buffer-menu-mode-map):
9005 * dired.el (dired-mode-map):
9006 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9007 (lisp-interaction-mode-map):
9008 * emacs-lisp/package.el (package-menu-mode-map):
9009 * epa.el (epa-key-list-mode-map):
9010 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9011 (menu-bar-options-menu):
9012 * outline.el (outline-mode-menu-bar-map):
9013 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9014 * vc/vc-dir.el (vc-dir-menu-map):
9015 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9016 Capitalize non-function content words in menu item strings.
9017
9018 * dired.el (dired-mode-map): Add menu item for
9019 `image-dired-dired-toggle-marked-thumbs'.
9020
80302a81
JL
90212011-09-18 Juri Linkov <juri@jurta.org>
9022
9023 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9024 to `isearch-case-fold-search' and restore its original value
9025 after the `isearch-mode' call.
9026
46c5cf66
JL
90272011-09-18 Juri Linkov <juri@jurta.org>
9028
9029 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9030 because `zgrep' returns 1 for successful matches (bug#9226).
9031
d18b513b
JL
90322011-09-18 Juri Linkov <juri@jurta.org>
9033
9034 * info.el (Info-extract-menu-node-name): Check the second match
9035 for empty string (second test-case of bug#9528).
9036 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9037 intermediate nodes to the history (first test-case of bug#9528).
9038
72753f87
JL
90392011-09-18 Juri Linkov <juri@jurta.org>
9040
9041 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9042 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9043
c9384295
JL
90442011-09-18 Juri Linkov <juri@jurta.org>
9045
1154d12e
JB
9046 * info.el (Info-file-supports-index-cookies):
9047 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9048 outputs one more line for long file names (bug#4142).
c9384295 9049
d473dce8
CY
90502011-09-18 Chong Yidong <cyd@stupidchicken.com>
9051
9052 * newcomment.el (comment-normalize-vars): If prompting for
9053 comment-start, set comment-start-skip too (Bug#8424).
9054
2176854d
JB
90552011-09-18 Johan Bockgård <bojohan@gnu.org>
9056
9057 * icomplete.el: Fix previous fix of Bug#5849.
9058 (icomplete-mode): Don't set completion-show-inline-help.
9059 (icomplete-minibuffer-setup): Set completion-show-inline-help
9060 locally during icompletion.
9061
3aace4e4
CY
90622011-09-18 Chong Yidong <cyd@stupidchicken.com>
9063
c940224f
CY
9064 * woman.el (woman2-process-escapes): Don't delete unrecognized
9065 escapes (Bug#7843).
9066
3aace4e4
CY
9067 * files.el (inhibit-first-line-modes-regexps): Add image files.
9068 (hack-local-variables-prop-line): Return nil for malformed
9069 prop-lines (Bug#9044).
9070
710dec63
MA
90712011-09-18 Michael Albinus <michael.albinus@gmx.de>
9072
9073 * net/tramp.el (top): Don't require 'shell.
9074 (tramp-methods): Fix docstring.
9075 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9076 Return complete remote file name. Handle "smb" case.
9077 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9078 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9079
9080 * net/tramp-compat.el (top): Require 'shell.
9081
9082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9083 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9084 `tramp-current-host'.
9085 (tramp-get-remote-tmpdir): Remove.
9086
9087 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9088 `tramp-tmpdir' entries.
9089 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9090 (tramp-smb-handle-file-attributes): Ignore errors.
9091 (tramp-smb-wait-for-output): Check also for process end.
9092
5d5ac8ec
LMI
90932011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094
9095 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9096 when sending QUIT (bug#9312).
9097
8c0f49f0
CY
90982011-09-17 Chong Yidong <cyd@stupidchicken.com>
9099
9100 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9101 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9102 occur-mode-display-occurrence.
9103 (occur-edit-mode): Add usage message.
9104 (occur-cease-edit): New command.
9105 (occur-after-change-function): Use text properties to find the
9106 position of the prefix text.
9107 (occur-engine): Set stickiness of prefix text properties.
9108
8f1383f7
GM
91092011-09-17 Glenn Morris <rgm@gnu.org>
9110
9111 * progmodes/etags.el (complete-tag):
9112 Fix call to completion-in-region. (Bug#9526)
9113
744ba0e3
JL
91142011-09-17 Juri Linkov <juri@jurta.org>
9115
9116 * textmodes/ispell.el (ispell-word): Add to the error message
9117 the word, ispell program name and current dictionary (bug#9121).
9118 (ispell-tex-arg-end): Capitalize "error" in the error message.
9119
d9bbf400
AS
91202011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9121
9122 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9123 check. (Bug#4251)
9124
8da11505
JL
91252011-09-17 Juri Linkov <juri@jurta.org>
9126
9127 * window.el (window-safe-min-height, window-safe-min-width):
9128 Fix typos (followup to bug#9522).
9129
a91adc7e
SJ
91302011-09-17 Sven Joachim <svenjoac@gmx.de>
9131
9132 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9133
064f328a
EZ
91342011-09-16 Eli Zaretskii <eliz@gnu.org>
9135
9136 * simple.el (line-move): If goal-column is set, move by logical
9137 lines, not by display lines. (Bug#971)
9138 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9139 to reflect the above change.
9140
e69df516
SM
91412011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * image.el (imagemagick-register-types): Use regexp-opt.
9144
cbb0f9ab
CY
91452011-09-15 Chong Yidong <cyd@stupidchicken.com>
9146
9147 * window.el (display-buffer-base-action): Rename from
9148 display-buffer-default-action. Make default value empty.
9149 (display-buffer-overriding-action): Convert to defvar.
9150 (display-buffer-fallback-action): New var.
9151
25322144
CY
91522011-09-15 Chong Yidong <cyd@stupidchicken.com>
9153
9154 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9155 declaration.
9156 (package--add-to-archive-contents): If there is a duplicate entry
9157 with an older version, remove it.
9158 (package-menu-mark-delete, package-menu-mark-install)
9159 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9160 (package-menu-mark-obsolete-for-deletion):
9161 Use package-menu-get-status instead of a regexp search.
25322144
CY
9162 (package-menu-get-status): Use tabulated-list-entry.
9163 (package-menu-mark-upgrades): New command.
d770725a 9164 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9165 (package-menu-execute): Do installation before deletion.
9166 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9167 instead of checking major-mode.
9168 (package-menu--find-upgrades): New function.
9169
7520339c
LMI
91702011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9171
9172 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9173 passwords in the log buffer.
65a046c4
LMI
9174 (smtpmail-process-filter): Update the process marker so that the
9175 "broken by peer" status message is inserted in the right place.
7520339c 9176
d3c30954
SM
91772011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9178
3fe48822
SM
9179 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9180 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9181 bibtex-completion-at-point-function.
9182 (bibtex-completion-at-point-function): Use them.
9183
1b8b3954
SM
9184 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9185
d3c30954
SM
9186 * mpc.el (mpc-constraints-tag-lookup): New function.
9187 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9188 also to browser "album|playlist".
9189
72779976
JL
91902011-09-14 Juri Linkov <juri@jurta.org>
9191
9192 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9193 (isearch-edit-string): Use length of `isearch-string' when
9194 `isearch-fail-pos' returns nil.
9195 (isearch-message): Remove duplicate code and call
9196 `isearch-fail-pos' with arg `t'.
9197
a0bf2bcd
CY
91982011-09-14 Chong Yidong <cyd@stupidchicken.com>
9199
17bb0a2d
CY
9200 * replace.el (occur-mode-goto-occurrence): Don't force using other
9201 window (Bug#9499).
9202
a0bf2bcd
CY
9203 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9204
f678e0b6
MR
92052011-09-14 Martin Rudalics <rudalics@gmx.at>
9206
9207 * window.el (display-buffer-window): Remove.
9208 (display-buffer-record-window): Use help-setup window parameter
9209 instead of variable display-buffer-window.
9210 (display-buffer-function, special-display-buffer-names)
9211 (special-display-function): Mention help-setup parameter instead
9212 of display-buffer-window in doc-string.
d3c30954
SM
9213 * help.el (help-window-setup): New argument help-window.
9214 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9215 Reword some messages.
9216 (with-help-window): Pass window used for displaying the buffer
9217 to help-window-setup. Don't set display-buffer-window.
9218
8e39b2e8
GM
92192011-09-13 Glenn Morris <rgm@gnu.org>
9220
9221 * emacs-lisp/debug.el (debugger-make-xrefs):
9222 Preserve point. (Bug#9462)
9223
85e9c04b
CY
92242011-09-13 Chong Yidong <cyd@stupidchicken.com>
9225
9226 * window.el (window-deletable-p): Use next-frame.
9227
1b36ed6a
MR
92282011-09-13 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (window-auto-delete): Remove.
9231 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9232 dedication and previous buffers.
1b36ed6a
MR
9233 (switch-to-prev-buffer): Don't delete window.
9234 (delete-windows-on): Delete a window's frame if and only if the
9235 window is dedicated.
9236 (replace-buffer-in-windows): Delete buffer's window or frame if
9237 and only if window is dedicated.
9238 (quit-window): Handle quit-restore as before last change.
4d61f28d 9239 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9240
ef8ef9fb
CY
92412011-09-13 Chong Yidong <cyd@stupidchicken.com>
9242
9243 * window.el (window-deletable-p): Never delete the last frame on a
9244 given terminal.
9245
b2cba41e
GM
92462011-09-13 Glenn Morris <rgm@gnu.org>
9247
9248 * help.el (describe-key-briefly): Copy previous standard-output change.
9249
51553db6 92502011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9251
9252 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9253
b7556719
GM
92542011-09-13 Glenn Morris <rgm@gnu.org>
9255
9256 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9257 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9258
64b51947
CY
92592011-09-12 Chong Yidong <cyd@stupidchicken.com>
9260
9261 * dired-aux.el (dired-mark-read-string): Don't return default
9262 value on empty input (Bug#9361).
9263 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9264 Omit initial minibuffer contents.
9265 (dired-do-chmod): Signal an error on empty input.
9266 (dired-mark-read-string): Don't return default on empty input.
9267
9268 * files.el (file-modes-symbolic-to-number): Doc fix.
9269
393a301e
SM
92702011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * international/mule-cmds.el (ucs-completions): Remove.
9273 (read-char-by-name): Use complete-with-action instead; add metadata.
9274
fa5660f9
CY
92752011-09-11 Chong Yidong <cyd@stupidchicken.com>
9276
9277 * window.el (display-buffer--action-function-custom-type)
9278 (display-buffer--action-custom-type): New vars.
9279 (display-buffer-alist, display-buffer-default-action)
9280 (display-buffer-overriding-action): Add defcustom types.
9281
4a592f66
CY
9282 * frame.el (delete-other-frames): Doc fix (Bug#276).
9283
73d56dbd
LMI
92842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9287
37ac18a3
CY
92882011-09-11 Chong Yidong <cyd@stupidchicken.com>
9289
9290 Change modes that used same-window-* vars to use switch-to-buffer.
9291
9292 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9293 Use switch-to-buffer.
9294
9295 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9296 (customize-browse, custom-buffer-create-other-window):
9297 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9298
9299 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9300 (Info-prev, Info-up, Info-speedbar-goto-node)
9301 (info-display-manual): Use switch-to-buffer.
9302 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9303
9304 * mail/sendmail.el (mail): Use switch-to-buffer.
9305 (mail-recover): Use switch-to-buffer-other-window.
9306
9307 * cmuscheme.el (run-scheme, switch-to-scheme):
9308 * ielm.el (ielm):
9309 * shell.el (shell):
9310 * net/rlogin.el (rlogin):
9311 * net/telnet.el (telnet, rsh):
9312 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9313
10195bd6
AS
93142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9315
9316 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9317
b322f63a
LMI
93182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
39d7fed6
LMI
9320 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9321 so don't mention it (bug#9301).
ba5a81f1 9322 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9323
ee0e9f11
LMI
9324 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9325 match `x', `w32' and `ns', like the manual says (bug#9029).
9326
0b1c89c1 9327 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9328 (process-kill-buffer-query-function): Mention the buffer name in
9329 the query.
0b1c89c1 9330
77549ea8
LMI
9331 * image-mode.el (image-next-line): The line parameter is mandatory
9332 (bug#9258).
9333
803ef892
LMI
9334 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9335 which can be useful (bug#9301).
9336
12980837
LMI
9337 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9338
91054f8f
LMI
9339 * subr.el (match-string): Mention that the current buffer should
9340 be the same as the search was done in (bug#9282).
9341
b322f63a
LMI
9342 * facemenu.el: Disable the remove-* commands if the mark isn't
9343 active (bug#9162).
9344
3199b96f
CY
93452011-09-10 Chong Yidong <cyd@stupidchicken.com>
9346
9347 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9348 of display-buffer.
9349 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9350
9351 * replace.el (occur-mode-goto-occurrence)
9352 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9353 and display-buffer.
9354
9355 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9356 display-buffer.
9357
9358 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9359 special-display and same-window variables.
9360 (mail-other-window): Use switch-to-buffer-other-window.
9361 (mail-other-frame): USe switch-to-buffer-other-frame.
9362
393a301e
SM
9363 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9364 Use display-buffer-other-frame.
3199b96f
CY
9365 (gdb-display-gdb-buffer): Use pop-to-buffer.
9366
9367 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9368
9369 * progmodes/python.el: Don't set same-window-buffer-names.
9370
9371 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9372
9373 * window.el (display-buffer-alist): Add *Python*.
9374
8319e0bf
CY
93752011-09-10 Chong Yidong <cyd@stupidchicken.com>
9376
9377 * window.el (display-buffer-alist): Add entry for buffers
9378 previously handled same-window-*.
9379 (display-buffer-alist, display-buffer-default-action)
9380 (display-buffer-overriding-action): Mark as risky.
9381 (display-buffer-alist): Document action function changes.
9382 (display-buffer--same-window-action)
9383 (display-buffer--other-frame-action): New variables.
9384 (switch-to-buffer, display-buffer-other-frame): Use them.
9385 (display-buffer): Rename reuse-frame entry to reusable-frames.
9386 (display-buffer-reuse-selected-window): Function deleted.
9387 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9388 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9389 (display-buffer-special): New function.
9390 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9391 display-buffer-reuse-or-pop-window. Split off special-display
9392 part into display-buffer-special.
9393 (display-buffer-use-some-window): Don't perform any special
9394 pop-up-frames handling.
9395 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9396 (display-buffer--maybe-same-window): Rename from
0d3ff375 9397 display-buffer-maybe-same-window.
8319e0bf 9398
919a69aa
CY
9399 * info.el: Don't set same-window-regexps.
9400 (info-setup): New function.
9401 (info-other-window, info): Call it.
9402
9403 * cus-edit.el: Don't set same-window-regexps.
9404 (customize-group): New argument.
9405 (customize-group-other-window): Use it.
9406 (customize-face, customize-face-other-window): Likewise.
9407 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9408
8319e0bf
CY
9409 * net/rlogin.el:
9410 * net/telnet.el:
9411 * progmodes/gud.el: Don't set same-window-regexps.
9412
9413 * cmuscheme.el:
9414 * ielm.el:
9415 * shell.el:
9416 * mail/sendmail.el:
9417 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9418
25173000
JL
94192011-09-10 Juri Linkov <juri@jurta.org>
9420
9421 * isearch.el (isearch-edit-string): Remove obsolete mention of
9422 `C-w' (`isearch-yank-word-or-char') from docstring.
9423 (isearch-query-replace): Fix typo in docstring (bug#9466).
9424
056e44ef
JL
94252011-09-10 Juri Linkov <juri@jurta.org>
9426
9427 * paren.el (show-paren-function): Don't show escaped parens.
9428 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9429
c3760c17
EZ
94302011-09-10 Eli Zaretskii <eliz@gnu.org>
9431
9432 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9433 (mm-default-file-encoding): Remove autoload forms, they are
9434 replaced with autoload cookies in mml.el and mm-encode.el.
9435 (mail-add-attachment): New command.
9436 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9437 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9438 the doc string.
9439 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9440
fece895e
RT
94412011-09-10 Reuben Thomas <rrt@sc3d.org>
9442
e69df516
SM
9443 * simple.el (count-words-region): Use buffer if there's no region
9444 (bug#9429).
fece895e 9445
5e68ce4a
JL
94462011-09-09 Juri Linkov <juri@jurta.org>
9447
9448 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9449 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9450 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9451
0a6b9622
AM
94522011-09-09 Alan Mackenzie <acm@muc.de>
9453
9454 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9455 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9456
14a29deb
EZ
94572011-09-09 Eli Zaretskii <eliz@gnu.org>
9458
9459 Fix for Savannah bug#9392.
9460 * simple.el (mail-encode-mml): New defvar.
9461
9462 * mail/rmail.el (mail-encode-mml): Add a defvar.
9463 (rmail-enable-mime-composing): Default to t.
9464 (rmail-forward): Use MIME method of forwarding only if both
9465 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9466 Set mail-encode-mml non-nil if the MIME method was used.
9467
9468 * mail/sendmail.el (mml-to-mime): Add autoload form.
9469 (mail-encode-mml): Add a defvar.
9470 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9471 to nil.
9472 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9473 message through mml-to-mime, and reset mail-encode-mml to nil.
9474
28c45130
GM
94752011-09-09 Glenn Morris <rgm@gnu.org>
9476
9477 * woman.el (woman-if-body): When processing an .el block,
9478 do not delete the next .el block as well. (Bug#9447)
69f4b618 9479 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9480
9b1c252e
MR
94812011-09-08 Martin Rudalics <rudalics@gmx.at>
9482
9483 * window.el (window-deletable-p): Make sure window is live before
9484 invoking window-prev-buffers.
9485
567457e3
LL
94862011-09-08 Leo Liu <sdl.web@gmail.com>
9487
9488 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9489
97f05794
JL
94902011-09-08 Juri Linkov <juri@jurta.org>
9491
9492 * progmodes/compile.el (compilation-environment): Make it
9493 a defcustom (bug#8340).
9494
8b0874b5
MR
94952011-09-08 Martin Rudalics <rudalics@gmx.at>
9496
9497 * window.el (frame-auto-delete): Rename to window-auto-delete.
9498 Make it control auto-deletion of windows and/or frames.
9499 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9500 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9501 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9502 Rewrite handling of case when window/frame can be deleted.
9503 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9504 argument t. (Bug#9456)
8b0874b5 9505
4feb6e73
CY
95062011-09-07 Chong Yidong <cyd@stupidchicken.com>
9507
9508 * help-mode.el (help-mode): Restore autoload.
9509
91ab9c13
JL
95102011-09-07 Juri Linkov <juri@jurta.org>
9511
9512 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9513 `compilation-environment'. Set buffer-local
9514 `compilation-environment' to `thisenv' later after (funcall mode).
9515 (Bug#8340)
9516
9517 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9518 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9519 instead of replacing its value. (Bug#8340)
9520
0527e251
JL
95212011-09-07 Juri Linkov <juri@jurta.org>
9522
9523 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9524 based on text properties put by `grep-filter' instead of matching
9525 escape sequences.
9526 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9527 to the value of `grep-error-screen-columns' (bug#9438).
9528
249f792c
JL
95292011-09-07 Juri Linkov <juri@jurta.org>
9530
9531 * simple.el (next-error-highlight, next-error-highlight-no-select):
9532 Doc fix (bug#9432).
9533
ff7271b9
OT
95342011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9535
9536 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9537 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9538
183fc730
LL
95392011-09-07 Leo Liu <sdl.web@gmail.com>
9540
9541 * net/rcirc.el (rcirc-mode): Conditionally initialize
9542 rcirc-input-ring.
9543
77694924
SM
95442011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/find-func.el (find-function-C-source): Only set
9547 find-function-C-source-directory after checking that we found a source
9548 file there (bug#9440).
9549
d809b8eb
AM
95502011-09-06 Alan Mackenzie <acm@muc.de>
9551
9552 * isearch.el (isearch-other-meta-char): Wherever a key list is
9553 unread, "unread" the prefix arg, too. This fixes bug #8901.
9554
453de99f
OG
95552011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9556
9557 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9558
90439906
JL
95592011-09-05 Juri Linkov <juri@jurta.org>
9560
9561 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9562
f62bd846
JL
95632011-09-05 Juri Linkov <juri@jurta.org>
9564
9565 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9566 keeping point where processing of grep matches begins, and
9567 continue to delete remaining escape sequences from the same point.
9568 (grep-filter): Make leading zero optional in "0?1;31m" because
9569 git-grep emits "\033[1;31m" escape sequences unlike expected
9570 "\033[01;31m" as GNU Grep does (bug#9408).
9571 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9572
045820ec
JL
95732011-09-05 Juri Linkov <juri@jurta.org>
9574
9575 * subr.el (y-or-n-p): Capitalize "yes".
9576
f5e29b9b
MA
95772011-09-04 Michael Albinus <michael.albinus@gmx.de>
9578
9579 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9580 `tramp-cache-unload-hook' where appropriate.
9581 (tramp-methods): Rename `tramp-remote-sh' to
9582 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9583 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9584
9585 * net/tramp-sh.el (top): Don't require 'shell.
9586 (tramp-methods): Add `tramp-remote-shell' and
9587 `tramp-remote-shell-args' entries.
9588 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9589 (tramp-sh-handle-shell-command): Remove.
9590 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9591 Use `tramp-remote-shell'.
9592
2784c434
CY
95932011-09-03 Chong Yidong <cyd@stupidchicken.com>
9594
393a301e 9595 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9596 (sendmail-query-once): Save directly to send-mail-function.
9597 Update message-send-mail-function too.
9598
9599 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9600
464cdf56
CS
96012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9602
9603 * progmodes/python.el (python-mode-map): Use correct function to
9604 start python interpreter from menu-bar (as reported by Geert
9605 Kloosterman).
9606 (inferior-python-mode-map): Fix typo.
393a301e 9607 (python-shell-map): Remove.
464cdf56 9608
d37e5c87
DD
96092011-09-03 Deniz Dogan <deniz@dogan.se>
9610
9611 * net/rcirc.el (rcirc-print): Simplify code for
9612 rcirc-scroll-show-maximum-output. There is no need to walk
9613 through all windows to find the right one.
9614
f3ada0ee
CS
96152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9616
9617 * help.el (help-return-method): Doc fix.
9618
1f3c99ca
MR
96192011-09-03 Martin Rudalics <rudalics@gmx.at>
9620
9621 * window.el (window-deletable-p): Don't return a non-nil value
9622 when there's a buffer that was shown in the window before.
9623 (Bug#9419)
393a301e
SM
9624 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9625 Set window's previous buffers to nil.
1f3c99ca 9626
a3cf097f
EZ
96272011-09-03 Eli Zaretskii <eliz@gnu.org>
9628
9629 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9630 newline before and after the tag line, so it doesn't interfere
9631 with determining the paragraph direction of bidirectional text.
9632
3d03de90
LL
96332011-09-03 Leo Liu <sdl.web@gmail.com>
9634
9635 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9636
c3313451
CY
96372011-09-02 Chong Yidong <cyd@stupidchicken.com>
9638
393a301e 9639 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9640 (pop-to-buffer): Change interactive spec. Pass second argument
9641 directly to display-buffer.
9642 (display-buffer): Fix interactive spec. Use functionp to
9643 distinguish between a function and a list of functions.
9644
9645 * abbrev.el (edit-abbrevs):
9646 * arc-mode.el (archive-extract):
9647 * autoinsert.el (auto-insert):
9648 * bookmark.el (bookmark-bmenu-list):
9649 * files.el (find-file):
9650 * view.el (view-buffer):
9651 * progmodes/compile.el (compilation-goto-locus):
9652 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9653
89894cd8
CY
96542011-09-02 Chong Yidong <cyd@stupidchicken.com>
9655
9656 * window.el (display-buffer-alist): Doc fix.
9657 (display-buffer): Add docstring. Don't treat
9658 display-buffer-default specially.
9659 (display-buffer-reuse-selected-window)
9660 (display-buffer-same-window, display-buffer-maybe-same-window)
9661 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9662 (display-buffer-pop-up-window)
9663 (display-buffer-reuse-or-pop-window)
9664 (display-buffer-use-some-window): New functions.
9665 (display-buffer-default-action): Use them.
393a301e 9666 (display-buffer-default): Delete.
89894cd8
CY
9667 (pop-to-buffer-1): Fix choice of actions.
9668
ae0bc9fb
SM
96692011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * minibuffer.el (completion--insert-strings): Don't get confused by
9672 completion entries that end with an LF char.
9673
e9d90883
EZ
96742011-09-01 Eli Zaretskii <eliz@gnu.org>
9675
9676 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9677
437014c8
CY
96782011-09-01 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9681 (display-buffer-same-window, display-buffer-other-window):
9682 New functions.
437014c8
CY
9683 (pop-to-buffer-1): New function. Use the above.
9684 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9685 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9686
9687 * view.el (view-buffer-other-window, view-buffer-other-frame):
9688 Just use pop-to-buffer.
9689
a5e063d5
TV
96902011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9691
9692 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9693
793d32bb
WH
96942011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9695
9696 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9697
d65e4c15
RS
96982011-08-31 Richard Stallman <rms@gnu.org>
9699
9700 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9701 of the separation of rmail-view-buffer from rmail-buffer.
9702 If you say no to "replace original", the decrypt is in the
9703 view buffer. If you say yes, the decrypt goes into the
9704 rmail buffer also.
9705
f818cd2a
MR
97062011-08-31 Martin Rudalics <rudalics@gmx.at>
9707
9708 * window.el (display-buffer-window): Rewrite doc-string.
9709 (display-buffer-record-window): New function.
9710 (display-buffer-macro-specifiers)
9711 (display-buffer-even-window-sizes, display-buffer-set-height)
9712 (display-buffer-set-width, display-buffer-in-window)
9713 (display-buffer-reuse-window, display-buffer-split-specifiers)
9714 (display-buffer-side-specifiers, display-buffer-split-window-1)
9715 (display-buffer-split-window, display-buffer-split-atom-window)
9716 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9717 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9718 (display-buffer-other-window-means-other-frame)
9719 (display-buffer-normalize-special)
9720 (display-buffer-normalize-default)
9721 (display-buffer-normalize-argument)
9722 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9723 (display-buffer-normalize-specifiers, display-buffer-frame)
9724 (display-buffer-same-window, display-buffer-same-frame)
9725 (display-buffer-other-window)
9726 (display-buffer-same-frame-other-window)
9727 (display-buffer-other-frame, pop-to-buffer-same-window)
9728 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9729 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9730 (switch-to-buffer-same-frame)
9731 (switch-to-buffer-other-window-same-frame)
9732 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9733 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9734 (display-buffer-alist-set): Remove.
9735 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9736 (special-display-regexps, special-display-function):
9737 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9738 parameter.
9739 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9740 (special-display-frame-alist, special-display-popup-frame)
9741 (same-window-buffer-names, same-window-regexps, same-window-p)
9742 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9743 (split-window-preferred-function, split-height-threshold)
9744 (split-width-threshold, window-splittable-p)
9745 (split-window-sensibly, window--try-to-split-window)
9746 (window--frame-usable-p, even-window-heights)
9747 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9748 (window--display-buffer-2, display-buffer-other-frame):
9749 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9750 (display-buffer-default, display-buffer-assq-regexp): New functions.
9751 (display-buffer-alist): Rewrite doc-string.
9752 (display-buffer-default-action)
9753 (display-buffer-overriding-action): New variables.
9754 (display-buffer, switch-to-buffer): Rewrite.
9755 (pop-to-buffer): Restore Emacs 23 behavior but use
9756 window-normalize-buffer-to-display.
9757 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9758 Restore Emacs 23 behavior but use
9759 window-normalize-buffer-to-switch-to.
9760 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9761 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9762 Rewrite using Emacs 23 options.
f818cd2a 9763
5bc3b51d
MA
97642011-08-31 Michael Albinus <michael.albinus@gmx.de>
9765
9766 * net/tramp.el (tramp-root-regexp): Remove.
9767 (tramp-completion-file-name-regexp-unified)
9768 (tramp-completion-file-name-regexp-separate)
9769 (tramp-completion-file-name-regexp-url): Don't use leading volume
9770 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9771 (tramp-drop-volume-letter): Simplify definition.
9772 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9773
b1a4f8e1
SM
97742011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9777 (bug#9356).
9778
5664fa7b
RT
97792011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9780
b1a4f8e1 9781 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9782
9a45d6c3
JL
97832011-08-29 Juri Linkov <juri@jurta.org>
9784
9785 * isearch.el (isearch-done): Don't display message "Mark saved"
9786 when arg `edit' is non-nil to prevent its flicker in the echo area.
9787
fb87e0fb
CY
97882011-08-28 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9791 obsolete packages for deletion.
9792
09ac1c2a
CS
97932011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9794
9795 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9796 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9797 view-mode from help-mode.
9798 (help-xref-override-view-map): Remove.
9799 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9800 view-mode is not used anymore.
9801
7a1ff57f
CY
98022011-08-28 Chong Yidong <cyd@stupidchicken.com>
9803
9804 * server.el (server-port): Doc fix.
9805
b9696605
CY
9806 * cus-theme.el (custom-theme-choose-mode): Inherit from
9807 special-mode (Bug#9124).
9808 (custom-theme-choose-mode-map): Add special-mode to parent.
9809
ef8cdf8c
AM
98102011-08-28 Alan Mackenzie <acm@muc.de>
9811
9812 * progmodes/cc-fonts.el
9813 (c-make-font-lock-BO-decl-search-function): New function.
9814 (c-basic-matchers-after - "Fontify the clauses after various
9815 keywords"): Extract the three keyword lists for the 3 erroneous
9816 constructs from the list of four, and use the new function above
9817 in place of an old one.
9818
27de4e20
DD
98192011-08-28 Deniz Dogan <deniz@dogan.se>
9820
9821 * net/rcirc.el (rcirc-insert-prev-input)
9822 (rcirc-insert-next-input): Remove unused argument.
9823
356a3681
SM
98242011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9827
3fc9b218
AM
98282011-08-27 Alan Mackenzie <acm@muc.de>
9829
9830 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9831 handle function pointer parameters properly.
9832
538a061c
MR
98332011-08-27 Martin Rudalics <rudalics@gmx.at>
9834
9835 * window.el (display-buffer-reuse-window): Fix case where
9836 selected window was reused with non-nil OTHER-WINDOW argument.
9837 (Bug#9381)
9838
35b1c40c
DD
98392011-08-27 Deniz Dogan <deniz@dogan.se>
9840
9841 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9842 oftc's NickServ messages.
9843
2f6a3e79
GM
98442011-08-27 Glenn Morris <rgm@gnu.org>
9845
9846 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9847
7254299e
CY
98482011-08-26 Chong Yidong <cyd@stupidchicken.com>
9849
9850 * emacs-lisp/package.el (package-install): Call package-initialize
9851 if called interactively.
9852
f8ccf167
LL
98532011-08-26 Leo Liu <sdl.web@gmail.com>
9854
9855 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9856
3e8cd5ce
JL
98572011-08-25 Juri Linkov <juri@jurta.org>
9858
9859 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9860 `search-whitespace-regexp' (bug#9364).
9861
93eb7113
JL
98622011-08-25 Juri Linkov <juri@jurta.org>
9863
9864 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9865 `regexp-search-ring' to their global values to protect from
9866 updating by `read-from-minibuffer' (bug#9185).
9867
f65d1611
JL
98682011-08-25 Juri Linkov <juri@jurta.org>
9869
9870 * textmodes/ispell.el (ispell-command-loop): Add newline
9871 at the end of the "Use option `i'..." line.
9872
f1cf7a31
JL
98732011-08-25 Juri Linkov <juri@jurta.org>
9874
9875 * battery.el (display-battery-mode): If `battery-status-function'
9876 or `battery-mode-line-format' is nil, display the message and set
9877 `display-battery-mode' to nil (bug#9363).
9878
0c95fcf7
EZ
98792011-08-25 Eli Zaretskii <eliz@gnu.org>
9880
9881 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9882 bidi-string-mark-left-to-right; they are unnecessary now.
9883
a2ebe600
DD
98842011-08-25 Deniz Dogan <deniz@dogan.se>
9885
9886 * net/quickurl.el: Documentation typo fixes.
9887
e4ed06f1
CY
98882011-08-25 Chong Yidong <cyd@stupidchicken.com>
9889
9890 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9891
e5f1c99e
GM
98922011-08-25 Glenn Morris <rgm@gnu.org>
9893
b2948976
GM
9894 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9895
e5f1c99e
GM
9896 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9897 (smtpmail-via-smtp): Handle nil response from smtp.
9898
f22f4808
JL
98992011-08-24 Juri Linkov <juri@jurta.org>
9900
9901 * proced.el (proced-marked): Inherit from `error' instead of
9902 `font-lock-warning-face'.
9903
9904 * ibuffer.el (ibuffer-marked-face): Change default face from
9905 `font-lock-warning-face' to `warning'.
9906 (ibuffer-deletion-face): Change default face from
9907 `font-lock-type-face' to `error'.
9908
9909 * battery.el (battery-update): Use the face `error' instead of
9910 `font-lock-warning-face' (bug#6117).
9911
6a93965e
JL
99122011-08-24 Juri Linkov <juri@jurta.org>
9913
9914 * faces.el (success): Change face color from "Green3" to
9915 "ForestGreen" on light background (bug#9353).
9916
1ed43b09
CY
99172011-08-24 Chong Yidong <cyd@stupidchicken.com>
9918
5664fa7b
RT
9919 * window.el (quit-window): Rename from quit-restore-window.
9920 Use same arglist as old quit-window.
1ed43b09
CY
9921 (frame-auto-delete): Doc fix.
9922
9923 * view.el (view-mode-exit): Use quit-window.
9924
11dcdbb2
JL
99252011-08-24 Juri Linkov <juri@jurta.org>
9926
9927 * isearch.el (isearch-ring-adjust1): Start visiting previous
9928 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9929 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9930 for empty search string (when the last search string is reused
9931 automatically) to adjust the isearch ring to the last element and
9932 prepare the correct index for further M-p commands (bug#9185).
9933
de62b4df
KH
99342011-08-24 Kenichi Handa <handa@m17n.org>
9935
9936 * international/ucs-normalize.el: If decomposition property of
9937 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9938 nil.
9939 (nfd, nfkd): Likewise.
9940
963b492b
SM
99412011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9944 from process filters aren't reliably transmitted to the surrounding
9945 accept-process-output.
9946 (mpc-proc-check): New function.
9947 (mpc-proc-sync): Use it (bug#8293)
9948
93b6b5e1
SM
99492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9952 Add compatibility functions (bug#9313).
9953
bca633fb
EZ
99542011-08-23 Eli Zaretskii <eliz@gnu.org>
9955
b177498a
EZ
9956 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9957
6df6ae42 9958 * international/uni-bidi.el: Regenerate.
bca633fb 9959
0902a04e
KH
99602011-08-23 Kenichi Handa <handa@m17n.org>
9961
9962 * international/charprop.el:
9963 * international/uni-bidi.el:
9964 * international/uni-category.el:
9965 * international/uni-combining.el:
9966 * international/uni-comment.el:
9967 * international/uni-decimal.el:
9968 * international/uni-decomposition.el:
9969 * international/uni-digit.el:
9970 * international/uni-lowercase.el:
9971 * international/uni-mirrored.el:
9972 * international/uni-name.el:
9973 * international/uni-numeric.el:
9974 * international/uni-old-name.el:
9975 * international/uni-titlecase.el:
9976 * international/uni-uppercase.el: Regenerate.
9977
3bbf23bc
MR
99782011-08-23 Martin Rudalics <rudalics@gmx.at>
9979
9980 * help.el (help-window-setup): Fix message displayed when other
9981 window is reused. (Bug#9341)
9982
b3fd59bd
SM
99832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9984
1802e444
SM
9985 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9986 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9987
b3fd59bd
SM
9988 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9989 Mark obsolete.
9990 * shell.el (shell-parse-pcomplete-arguments): New function.
9991 (shell-completion-vars): Use it instead (bug#9160).
9992
4eb61348
SM
99932011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9994
867cab74
SM
9995 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9996 strings and comments (bug#9333).
9997
4eb61348
SM
9998 * emacs-lisp/debug.el (debug-arglist): New function.
9999 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10000 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10001
262a1439
JL
100022011-08-22 Juri Linkov <juri@jurta.org>
10003
56ee679c
JL
10004 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10005 Revert regexp that highlights output switches to its old
10006 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10007
262a1439
JL
10008 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10009 to check for empty output (bug#9226).
10010
f13f86fb
CY
100112011-08-22 Chong Yidong <cyd@stupidchicken.com>
10012
10013 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10014 symbol-constituent as the default, as that stops font-lock from
10015 working properly (Bug#8843).
10016
c65c9622
LMI
100172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018
10019 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10020 `coding-system-for-*' around the process open call to avoid
10021 auth-source side effects.
e7f2c178 10022 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10023 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10024 probe hangs.
c65c9622 10025
23a8a5ab
CY
100262011-08-21 Chong Yidong <cyd@stupidchicken.com>
10027
ff98b2dd
CY
10028 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10029
23a8a5ab
CY
10030 * emacs-lisp/find-func.el (find-function-noselect): New arg
10031 lisp-only.
10032
10033 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10034 signal an error for built-in functions (Bug#6664).
10035
f5e3c598
LMI
100362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10037
10038 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10039 (smtpmail-try-auth-methods): Use it.
10040
a3f2468a
CY
100412011-08-21 Chong Yidong <cyd@stupidchicken.com>
10042
2c34e8da
CY
10043 * font-lock.el (font-lock-fontify-region)
10044 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10045 (font-lock-default-unfontify-buffer)
10046 (font-lock-default-fontify-region)
10047 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10048
b3fd59bd
SM
10049 * progmodes/compile.el (compilation-error-properties):
10050 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10051 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10052 `ant' regexp.
ee31aabc 10053
a3f2468a
CY
10054 * net/browse-url.el (browse-url-firefox): Don't call
10055 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10056
8e999f70
GM
100572011-08-20 Glenn Morris <rgm@gnu.org>
10058
c21a496a
GM
10059 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10060
59ee0542
GM
10061 * tutorial.el (tutorial--default-keys): Update some default bindings.
10062
8e999f70
GM
10063 * files.el (hack-local-variables): Fully ignore case for "mode:".
10064
e3715033
AM
100652011-08-20 Alan Mackenzie <acm@muc.de>
10066
10067 Resolve invalid use of a regexp in regexp-opt.
10068
4d61f28d
JB
10069 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10070 detection for a java annotation.
e3715033 10071
4d61f28d 10072 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10073 detection for a java annotation.
10074
4d61f28d
JB
10075 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10076 handling for java.
e3715033
AM
10077 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10078
04ed2e9c
CY
100792011-08-20 Chong Yidong <cyd@stupidchicken.com>
10080
10081 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10082 (Bug#9274).
10083
826cee64
AM
100842011-08-20 Alan Mackenzie <acm@muc.de>
10085
58179cce 10086 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10087 such a construct. Mainly for when jit-lock etc. starts a chunk
10088 here.
10089
58179cce 10090 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10091 variable.
58179cce 10092 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10093 c-make-font-lock-search-function.
10094 (c-make-font-lock-search-function): Use the above function.
10095 (c-make-font-lock-context-search-function): New function.
10096 (c-cpp-matchers): Enhance the preprocessor expression case with
10097 the above function
10098 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10099 which takes an expression.
10100
10101 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10102
13009bd8
MR
101032011-08-20 Martin Rudalics <rudalics@gmx.at>
10104
10105 * window.el (display-buffer-reuse-window)
10106 (display-buffer-pop-up-window): Don't reuse or split a side
10107 window.
10108
9234ff7f
GM
101092011-08-19 Glenn Morris <rgm@gnu.org>
10110
10111 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10112 Downcase "Mode:". (Bug#9331)
9234ff7f 10113
f635daa1
CY
101142011-08-18 Chong Yidong <cyd@stupidchicken.com>
10115
10116 * international/characters.el: Add L and R categories.
10117
10118 * subr.el (bidi-string-mark-left-to-right): Rename from
10119 string-mark-left-to-right. Use category search.
10120
10121 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10122
bc987f8b
JL
101232011-08-18 Juri Linkov <juri@jurta.org>
10124
10125 * faces.el (error, warning, success): New faces with definitions
10126 copied from old default values of `font-lock-warning-face',
10127 `compilation-warning', `compilation-info' (bug#6117).
10128
10129 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10130
10131 * progmodes/compile.el (compilation-error): Inherit from `error'.
10132 (compilation-warning): Inherit from `warning'.
10133 (compilation-info): Inherit from `success'.
10134
10135 * dired.el (dired-marked): Inherit from `warning'.
10136 (dired-flagged): Inherit from `error'.
10137
57173b96
LMI
101382011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10139
3e79eb87
LMI
10140 * mail/smtpmail.el (auth-source): Require to avoid problems with
10141 binding variables (bug#9298). Also clean up some unused
10142 autoloads.
10143
b3fd59bd
SM
10144 * net/network-stream.el (network-stream-open-starttls):
10145 Support using starttls.el without using gnutls-cli.
57173b96 10146
02b404de
JL
101472011-08-17 Juri Linkov <juri@jurta.org>
10148
10149 * progmodes/grep.el (rgrep): Handle the case when
10150 `grep-find-command' is a cons cell (bug#9278).
10151
8c9177f2
MR
101522011-08-17 Martin Rudalics <rudalics@gmx.at>
10153
10154 * window.el (display-buffer-pop-up-frame): Run frame creation
10155 function with BUFFER current (as special-display-popup-frame
10156 does). Reported by Drew Adams.
10157
3644a0ab
DU
101582011-08-17 Daiki Ueno <ueno@unixuser.org>
10159
10160 * epa-mail.el: Simplify GnuPG group expansion using
10161 epg-expand-group.
10162 (epa-mail-group-alist, epa-mail-group-modtime)
10163 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10164 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10165 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10166 Remove.
10167
5e617bc2 101682011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10169
10170 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10171
9c4aeabf
AM
101722011-08-16 Alan Mackenzie <acm@muc.de>
10173
10174 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10175 Correct, to avoid the inside of macros.
10176
3a99bf64
RS
101772011-08-16 Richard Stallman <rms@gnu.org>
10178
04963aa8
RS
10179 * epa-mail.el: Handle GnuPG group definitions.
10180 (epa-mail-group-alist, epa-mail-group-modtime)
10181 (epa-mail-gnupg-conf-file): New variables.
10182 (epa-mail-parse-groups, epa-mail-sync-groups)
10183 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10184 (epa-mail-expand-recipients): New functions.
10185 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10186
177549d0
RS
10187 * mail/rmail.el (rmail-epa-decrypt): New command.
10188
fe38beef
RS
10189 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10190 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10191 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10192 (epa-decrypt-armor-in-region): Make error message clearer.
10193
934eacb9
SM
101942011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10197 and "a2b" to "ab" for `prefix'.
10198
d024fb4e
CY
101992011-08-14 Chong Yidong <cyd@stupidchicken.com>
10200
10201 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10202 filter groups.
de148fee
CY
10203 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10204 Fourquet (Bug#8804).
d024fb4e 10205
62f1ca49
JB
102062011-08-12 Juanma Barranquero <lekktu@gmail.com>
10207
10208 * startup.el (argi): Declare as global variable (bug#9275).
10209
9ccaaa4b
CY
102102011-08-12 Chong Yidong <cyd@stupidchicken.com>
10211
10212 * subr.el (string-mark-left-to-right): Search the entire string
10213 for RTL script, not just the terminating character. Doc fix.
10214
a3dae87a
SM
102152011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10216
6cd18349
SM
10217 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10218 New function.
10219 (js--regexp-literal, js-syntax-propertize-function): Remove.
10220 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10221 (js-mode-map): Don't rebind electric keys.
10222 (js-insert-and-indent): Remove.
10223 (js-mode): Setup electric-layout and electric-indent instead.
10224
a3dae87a
SM
10225 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10226
9d5cb631
DU
102272011-08-12 Daiki Ueno <ueno@unixuser.org>
10228
10229 * epa.el (epa-progress-callback-function): Fix the logic of
10230 displaying progress.
10231 * epa-file.el (epa-file-insert-file-contents): Make progress
10232 display more user-friendly.
10233 (epa-file-write-region): Ditto.
10234
3e26a4a2
CY
102352011-08-10 Chong Yidong <cyd@stupidchicken.com>
10236
10237 * subr.el (string-mark-left-to-right): New function.
10238
10239 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10240 Use string-mark-left-to-right.
10241 (list-buffers-noselect): Caller changed.
10242
a3dae87a
SM
10243 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10244 Use string-mark-left-to-right.
3e26a4a2
CY
10245 (tabulated-list-print): Recenter after moving point.
10246
ac8cf6e6
JL
102472011-08-10 Juri Linkov <juri@jurta.org>
10248
10249 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10250 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10251 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10252
8d96c9a4
CY
102532011-08-09 Chong Yidong <cyd@stupidchicken.com>
10254
10255 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10256 (Bug#7554).
10257
7be1c708 102582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10259
10260 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10261 character. (Bug#6594)
10262
37e11a63
CY
102632011-08-08 Chong Yidong <cyd@stupidchicken.com>
10264
839dde57
CY
10265 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10266 (image-dired--with-db-file): New macro.
10267 (image-dired-write-tags, image-dired-remove-tag)
10268 (image-dired-create-gallery-lists, image-dired-write-comments)
10269 (image-dired-get-comment, image-dired-mark-tagged-files)
10270 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10271 (image-dired-gallery-generate): Use insert-file-contents.
10272
37e11a63
CY
10273 * time.el (display-time-world-list, display-time-world-display):
10274 * time-stamp.el (time-stamp-string):
10275 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10276 set-time-zone-rule (Bug#7337).
10277
0b4946c4
DU
102782011-08-08 Daiki Ueno <ueno@unixuser.org>
10279
10280 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10281 (epg-error-to-string, epg-errors-to-string): New function.
10282 (epg-wait-for-completion): Reverse errors list.
10283 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10284 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10285 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10286 (epg-sign-keys, epg-generate-key-from-file)
10287 (epg-generate-key-from-string): Format errors by using
10288 epg-errors-to-string (bug#9255).
10289 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10290
75bfc667
JL
102912011-08-07 Juri Linkov <juri@jurta.org>
10292
10293 * faces.el (list-faces-display): Remove extra angle bracket
10294 from `help-mode-map'.
10295
10296 * info.el (Info-history-toc-nodes): Doc fix.
10297
10298 * longlines.el (longlines-mode): Doc fix.
10299
673e08bb
SM
103002011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10301
4640dd88
SM
10302 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10303 of statements and in a few more cases (bug#9183).
10304
673e08bb
SM
10305 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10306 New functions.
10307 (cl-transform-lambda): Use them (bug#9239).
10308
89b3f019
MR
103092011-08-05 Martin Rudalics <rudalics@gmx.at>
10310
10311 * window.el (display-buffer-same-window)
10312 (display-buffer-same-frame, display-buffer-other-window)
10313 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10314 (pop-to-buffer-other-window)
10315 (pop-to-buffer-same-frame-other-window)
10316 (pop-to-buffer-other-frame): Make them defuns.
10317 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10318
640c8776
SM
103192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * subr.el (make-composed-keymap): Move from C. Change calling
10322 convention, and improve docstring to bring attention to a subtle point.
10323 * minibuffer.el (completing-read-default): Adjust accordingly.
10324
63648a95
MA
103252011-08-03 Michael Albinus <michael.albinus@gmx.de>
10326
10327 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10328 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10329
10330 * net/trampver.el: Update release number.
10331
b796c9b7
SM
103322011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10335 "in" (bug#9190).
10336
2239d7d5
LMI
103372011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
e07dd7c3
LMI
10339 * mail/sendmail.el (sendmail-query-once): Restore the current
10340 buffer after querying (bug#9074).
10341
0e6a2bd7
LMI
10342 * dired.el (dired-flagged): Use different faces for marked and
10343 flagged files (bug#6117).
10344
ce887515
LMI
10345 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10346 (bug#4433).
10347
92f2affc
LMI
10348 * ido.el (ido-mode): Switch off the message if called
10349 non-interactively.
10350
57d5aff0
LMI
10351 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10352 before 587, since it appears that that's more likely to work for
10353 more people.
10354
98cd6c18 10355 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10356 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10357 exist.
10358
b96dec83
LMI
10359 * info.el: Remove the `Info-beginning-of-buffer' function
10360 (bug#8325).
10361
b796c9b7
SM
10362 * net/network-stream.el (network-stream-open-starttls):
10363 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10364
d90e2ea0
MR
103652011-08-01 Martin Rudalics <rudalics@gmx.at>
10366
10367 * window.el (display-buffer-in-window): Don't set dedicated status
10368 of window here (Bug#9215).
10369 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10370 (display-buffer-pop-up-side-window)
b796c9b7 10371 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10372
cca09170
SM
103732011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10376 before binding generated-autoload-file.
10377
027b979c
DD
103782011-08-01 Deniz Dogan <deniz@dogan.se>
10379
10380 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10381
3c7ee4f3
MA
103822011-07-30 Michael Albinus <michael.albinus@gmx.de>
10383
10384 Sync with Tramp 2.2.2.
10385
10386 * net/trampver.el: Update release number.
10387
2cc8e51a
JL
103882011-07-30 Juri Linkov <juri@jurta.org>
10389
10390 * dired-aux.el (dired-touch-initial): Remove function.
10391 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10392 current time, and `default' to the last modification time of the
10393 current marked file (bug#6887).
10394
a514d856
JM
103952011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10396
10397 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10398 numeric argument to read-number (bug#9163).
a514d856 10399
8a7eddd7
MA
104002011-07-27 Michael Albinus <michael.albinus@gmx.de>
10401
10402 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10403 connection process, it could be nil.
10404
1ddd96f5
LL
104052011-07-27 Leo Liu <sdl.web@gmail.com>
10406
10407 Simplify url handling in rcirc-mode.
10408
10409 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10410 (rcirc-browse-url-at-mouse): Remove.
10411 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10412
b248a85d
AM
104132011-07-26 Alan Mackenzie <acm@muc.de>
10414
10415 Fontify bitfield declarations properly.
10416
10417 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10418 (c-symbol-chars): Now exported as a lang variable.
10419 (c-not-primitive-type-keywords): New lang variable.
10420
10421 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10422 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10423 parsed as a bitfield declaration.
b248a85d 10424
b796c9b7
SM
10425 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10426 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10427 (c-punctuation-in): New function.
10428 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10429 declarations properly.
10430
68575ab0
UJ
104312011-07-26 Ulf Jasper <ulf.jasper@web.de>
10432
10433 * calendar/icalendar.el (icalendar--all-events): Take care of
10434 multiple vcalendars in a single file.
b796c9b7 10435 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10436
0f0a88b9
DD
104372011-07-25 Deniz Dogan <deniz@dogan.se>
10438
10439 * image.el (insert-image): Clarifying docstring.
10440
0b3f36df
MA
104412011-07-24 Michael Albinus <michael.albinus@gmx.de>
10442
10443 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10444 `tramp-send-command-and-check' if there is no error.
10445 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10446
a9901f61
AM
104472011-07-22 Alan Mackenzie <acm@muc.de>
10448
10449 Prevent cc-langs.elc being loaded at run time.
10450
10451 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10452 cc-langs.
10453
4d61f28d 10454 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10455 "(require 'cc-langs)". Quote a form so it will evaluate at
10456 (cc-mode's) compilation time.
10457
11d074b2
MA
104582011-07-22 Michael Albinus <michael.albinus@gmx.de>
10459
10460 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10461 loading. (Bug#9114)
10462
938b94c8
MR
104632011-07-21 Martin Rudalics <rudalics@gmx.at>
10464
10465 * window.el (display-buffer-pop-up-window)
10466 (display-buffer-pop-up-side-window)
10467 (display-buffer-in-side-window): Call display-buffer-set-height
10468 and display-buffer-set-width after setting the new window's
b796c9b7 10469 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10470
bfa4f190
SS
104712011-07-20 Sam Steingold <sds@gnu.org>
10472
10473 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10474 (etags-tags-included-tables): Call `convert-standard-filename' on
10475 the file names contained in TAGS so that windows Emacs can handle
10476 TAGS files created by cygwin ctags.
10477
8ca42262
LMI
104782011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10479
10480 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10481 which apparently didn't work.
10482
5db2afd2 104832011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10484
5db2afd2
RW
10485 * proced.el (proced-send-signal): For *Marked Processes* buffer
10486 put point at beginning of buffer.
10487
92e15d10
SB
104882011-07-19 Stephen Berman <stephen.berman@gmx.net>
10489
10490 * proced.el (proced-format): Make header lines align with the text
10491 (bug#1779).
10492
1bfd59e5
LMI
104932011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10494
10495 * view.el (view-buffer): Allow running in `special' modes if we're
10496 visiting a file (bug#8615).
10497
f5aae37c
MR
104982011-07-19 Martin Rudalics <rudalics@gmx.at>
10499
10500 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10501 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10502 New functions.
f5aae37c
MR
10503 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10504 more accurately.
10505
bf2c1571
AM
105062011-07-18 Alan Mackenzie <acm@muc.de>
10507
10508 Fontify declarators properly when, e.g., a jit-lock chunk begins
10509 inside a declaration.
10510
10511 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10512
b796c9b7
SM
10513 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10514 New function.
bf2c1571
AM
10515 (c-complex-decl-matchers): Insert reference to
10516 c-font-lock-enclosing-decls.
10517
10518 * progmodes/cc-engine.el (c-backward-single-comment):
10519 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10520 to nil around calls to (forward-comment -1).
10521
4e190b80
LMI
105222011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
12dc863d
LMI
10524 * image.el (put-image): Doc typo fix.
10525
a762e966
LMI
10526 * progmodes/etags.el (tags-search): Doc typo fix.
10527
4e190b80
LMI
10528 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10529 password if we get errors 550 to 554.
10530
f019fb21
LMI
105312011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10532
b796c9b7 10533 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10534
81746738
LMI
10535 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10536 indentation character (bug#6380).
10537
3ee3a1b5
LMI
10538 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10539
c82f64de
LMI
10540 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10541 to clarify what the problem is (bug#4291).
10542
f019fb21
LMI
10543 * simple.el (current-kill): Clarify what
10544 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10545 (auto-fill-mode): Document `auto-fill-function' in relation to
10546 `auto-fill-mode' (bug#2470).
f019fb21 10547
0794775d
LM
105482011-07-16 Lawrence Mitchell <wence@gmx.li>
10549
10550 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10551 method if slot is read-only (bug#9035).
10552
be39b8cc
MR
105532011-07-16 Martin Rudalics <rudalics@gmx.at>
10554
b796c9b7 10555 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10556 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10557 selected before, see discussion of (Bug#8615), (Bug#6954).
10558 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10559
6ccf7859
GM
105602011-07-15 Glenn Morris <rgm@gnu.org>
10561
10562 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10563 Respect help-form.
6ccf7859 10564
87e86684
LM
105652011-07-09 Lawrence Mitchell <wence@gmx.li>
10566
10567 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10568 (gnutls-negotiate): Use it.
10569
d6066239
LMI
105702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571
b796c9b7
SM
10572 * net/gnutls.el (gnutls-negotiate):
10573 Upcase `gnutls-algorithm-priority'.
d6066239 10574
bd23ebc0
GM
105752011-07-15 Glenn Morris <rgm@gnu.org>
10576
c65bca65
GM
10577 * jka-compr.el (jka-compr-verbose): Move from here...
10578 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10579 Add missing :version tag.
10580 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10581
478615cc
LMI
105822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10583
7b41decb
LMI
10584 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10585 (gnutls-negotiate): Use it.
10586
dbc44fcd
LMI
10587 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10588
06789f97
LMI
10589 * info.el (Info-beginning-of-buffer): New command.
10590 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10591 announcing `b' as the key (bug#8325).
ab896c37 10592 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10593
c39da690
LMI
10594 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10595
3aa5f34b
LMI
10596 * international/mule-cmds.el
10597 (describe-specified-language-support): Make the error message
10598 clearer (bug#8905).
10599
4bf0979f
LMI
10600 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10601
478615cc
LMI
10602 * isearch.el (isearch-barrier): Add a doc string, since it's
10603 mentioned in a function doc string (bug#8678).
10604
75c68aa1
MR
106052011-07-15 Martin Rudalics <rudalics@gmx.at>
10606
10607 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10608 buffer argument (Bug#9083) and self-identifying label argument.
10609
a7c33da2
GM
106102011-07-15 Glenn Morris <rgm@gnu.org>
10611
10612 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10613
2f5c6024
LMI
106142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615
10616 * man.el (Man-fontify-manpage): Fix message when formatting the
10617 man page (bug#7929).
10618
0bb23927 106192011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10620
10621 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10622 argument LRM; if non-nil, append an invisible LRM character to the
10623 buffer name.
10624 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10625 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10626 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10627 paragraph direction.
cce4b0a7 10628
621ef9ab
LMI
106292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10630
d1583c48
LMI
10631 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10632 the man page name (bug#7929).
10633
6a57fb5f
LMI
10634 * image.el (put-image): Mention the `put-image' overlay property
10635 (bug#7834).
10636
d7956b14
LMI
10637 * scroll-bar.el (set-scroll-bar-mode): Mention that
10638 `scroll-bar-mode' lists the values (bug#7772).
10639
5b2d4a66
LMI
10640 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10641 command (bug#7729).
10642
7509a874
LMI
10643 * rect.el (apply-on-rectangle): Return the point after the last
10644 operation.
10645 (string-rectangle): Go to the point after the last operation
10646 (bug#7522).
10647
4fe74b19
LMI
10648 * printing.el (pr-toggle-region): Clarify the documentation
10649 slightly (bug#7493).
10650
b796c9b7
SM
10651 * time.el (display-time-update):
10652 Allow `display-time-mail-function' to return nil (bug#7158).
10653 Fix suggested by Detlev Zundel.
ab283561 10654
fc233c9d
LMI
10655 * vc/diff.el (diff): Clarify the order the file names are read
10656 (bug#7111).
10657
43f5740b
LMI
10658 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10659 the doc string (bug#7015).
10660
f2182a76
LMI
10661 * font-lock.el (font-lock-maximum-decoration): Mention what
10662 numeric levels mean (bug#6935).
10663
621ef9ab
LMI
10664 * startup.el (initial-buffer-choice): Don't mention the `none'
10665 selection, which is against policy.
10666
adc47434
MR
106672011-07-14 Martin Rudalics <rudalics@gmx.at>
10668
b796c9b7
SM
10669 * window.el (display-buffer-normalize-special):
10670 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10671
7e5bfb8f
EZ
106722011-07-14 Eli Zaretskii <eliz@gnu.org>
10673
10674 * subr.el (version<, version<=, version=): Mention "-CVS" and
10675 "-12345" alpha version numbers.
10676
27fa387a
CY
106772011-07-14 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * bindings.el: Add advertised binding for set-mark-command
10680 (Bug#5772).
10681
8bdfa064
CY
106822011-07-14 Chong Yidong <cyd@stupidchicken.com>
10683
10684 * bindings.el (mode-line-other-buffer):
10685 * bookmark.el (bookmark-bmenu-2-window):
10686 * bs.el (bs-cycle-next, bs-cycle-previous):
10687 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10688 switch-to-buffer.
10689
10690 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10691 Delete.
8bdfa064 10692
5eba16a3
JB
106932011-07-14 Juanma Barranquero <lekktu@gmail.com>
10694
10695 * follow.el (follow-debug-message, follow-redisplay):
10696 * jka-cmpr-hook.el (with-auto-compression-mode):
10697 Fix typos in docstrings.
10698
15853710
LMI
106992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10700
a28e4607
LMI
10701 * subr.el (with-silent-modifications): Clarify somewhat what the
10702 macro inhibits (bug#6525).
10703
15853710
LMI
10704 * simple.el (eval-expression): Note what it does if called
10705 interactively (bug#6495).
10706
bee0fcef
CY
107072011-07-13 Chong Yidong <cyd@stupidchicken.com>
10708
b796c9b7
SM
10709 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10710 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10711
10712 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10713 Remove switch-to-buffer.
10714
58274504
LMI
107152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10716
bd2fcc8d
LMI
10717 * files.el (make-directory): Clarify that an error will be raised
10718 if there's an error (bug#6397).
10719
0f04b32c
LMI
10720 * startup.el (initial-buffer-choice): Add `none' as a choice
10721 (bug#6234).
10722
465c5fc8
LMI
10723 * subr.el (add-hook): Clarify section about buffer-local hooks
10724 (bug#6218).
10725
58274504
LMI
10726 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10727
bead9a43
JB
107282011-07-13 Juanma Barranquero <lekktu@gmail.com>
10729
10730 * tabify.el (untabify): Preserve the current column so that point
10731 doesn't move (bug#6032).
10732
3af98a7b
LMI
107332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10734
b796c9b7
SM
10735 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10736 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10737
6240145a
GM
107382011-07-13 Glenn Morris <rgm@gnu.org>
10739
10740 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10741 (dired-insert-directory): Give a message the first time
10742 if ls is found not to support --dired.
10743
1d8c2ccc
LMI
107442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
10746 * simple.el (toggle-truncate-lines): Clarify what is toggled
10747 (bug#5580). Text by Drew Adams.
10748
5fc4038e
CY
107492011-07-13 Chong Yidong <cyd@stupidchicken.com>
10750
10751 * simple.el (blink-matching-open): Make the error message from the
10752 last change less verbose.
10753
bf6012e5
DN
107542011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10755
10756 * font-lock.el (font-lock-comment-face): Use the high contrast
10757 "yellow" color for font-lock-comment-face on low color terminals
10758 using a dark background color (bug#4221).
10759
343c3b5a
LMI
107602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10761
7e9505c5
LMI
10762 * dired.el (dired-insert-set-properties): Make the doc string
10763 reflect what it does now (bug#5325).
10764
c26fdcf5
LMI
10765 * simple.el (blink-matching-open): Say that we were unable to find
10766 the match within the limit, if we're limited (bug#5122).
10767
bb388cc5
LMI
10768 * international/mule-cmds.el (prefer-coding-system): Add an
10769 example (bug#4869).
10770
343c3b5a
LMI
10771 * progmodes/etags.el (tags-search): Document `file-list-form'
10772 (bug#4731).
10773
2a517d45
LM
107742011-07-13 Lawrence Mitchell <wence@gmx.li>
10775
10776 * net/browse-url.el (browse-url-default-browser)
10777 (browse-url-browser-function): Make the default browser choice a
10778 bit more logical (bug#4300). Also clean up the doc string.
10779
b6c78ef2
JB
107802011-07-13 Juanma Barranquero <lekktu@gmail.com>
10781
10782 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10783 binary endings (bug#4440).
10784
1c4dd947
LMI
107852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10786
a2014063
LMI
10787 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10788 which can be pretty annoying (bug#8971).
10789
9c9c2d88
LMI
10790 * jka-compr.el (jka-compr-verbose): New variable, and use
10791 throughout (bug#8971).
10792
1c4dd947
LMI
10793 * info.el (Info-find-file): Fall back on the installation
10794 directory if we can't find the info node anywhere else.
10795
a1c9f41b
SO
107962011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10797
10798 * vc/vc.el (vc-revert-file):
10799 Don't set file time-stamp in the past. (Bug#5181)
10800
536f3d36
LMI
108012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10802
7152b011
LMI
10803 * files.el (after-find-file): Give a better error message when
10804 trying to find a symlink that points to a file that doesn't exist
10805 (bug#4398).
10806
536f3d36
LMI
10807 * progmodes/cc-vars.el: Remove (probably) misleading comment
10808 (bug#4396).
10809
460c0fba
JB
108102011-07-12 Johan Bockgård <bojohan@gnu.org>
10811
10812 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10813
7a6bda45
CY
108142011-07-12 Chong Yidong <cyd@stupidchicken.com>
10815
10816 * mouse-sel.el: Hack restoring functionality, while keeping
10817 compatibility with 2010-07-03 changes to mouse selection.
10818 (mouse-sel-primary-overlay): New var.
10819 (mouse-sel-selection-alist): Use it.
10820 (mouse-sel-mode): Doc fix; remove points that are default features
10821 of mouse.el.
10822
c79598ef
JB
108232011-07-12 Johan Bockgård <bojohan@gnu.org>
10824
10825 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10826 Fix previous fix (bug#2490).
10827
ff8be6ef
RW
108282011-07-12 Roland Winkler <winkler@gnu.org>
10829
b796c9b7
SM
10830 * textmodes/bibtex.el (bibtex-initialize):
10831 Use pop-to-buffer-same-window.
ff8be6ef
RW
10832 (bibtex-search-entries): Fix interactive call.
10833
296ba3ee
LMI
108342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10835
f5242a02 10836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10837 Fontise bytecomp Error lines more correctly (bug#2490).
10838 Fix suggested by Johan Bockgård.
f5242a02 10839
296ba3ee
LMI
10840 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10841
10842 * dired-x.el (dired-guess-default): Use `delete-dups'.
10843
f69fd0d2
CY
108442011-07-12 Chong Yidong <cyd@stupidchicken.com>
10845
10846 * dired.el (dired-mark-prompt):
10847 * dired-aux.el (dired-read-shell-command): Doc fix.
10848
eab5dc07
LMI
108492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10850
b796c9b7
SM
10851 * mail/sendmail.el (sendmail-query-once):
10852 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10853 emacs -Q.
10854
10855 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10856
eab5dc07
LMI
10857 * cus-edit.el (custom-file): Take an optional no-error variable.
10858 (customize-save-variable): Set the variable, and give a warning if
10859 running under "emacs -q".
10860
a1e65d42
JB
108612011-07-11 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * loadhist.el (unload-feature-special-hooks):
10864 Add `auto-coding-functions', `fill-nobreak-predicate' and
10865 `find-directory-functions' (bug#5327).
10866
1d52da10
LMI
108672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10868
be958f1d
LMI
10869 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10870
5bedb26c
LMI
10871 * cus-edit.el (custom-guess-name-alist): -alist variables should
10872 use the `alist' type (bug#3120). Suggested by Drew Adams.
10873
1d52da10
LMI
10874 * printing.el: Add documentation to all the `pr-toggle-' commands.
10875
cd394be1 108762011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10877
10878 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10879 backends where it makes sense (bug#2623).
10880
dcc88d8a
LMI
108812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10882
c3de9feb
LMI
10883 * dired-x.el (dired-guess-default): Remove duplicate shell command
10884 entries (bug#2028).
8a93078b 10885 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10886 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10887
dcc88d8a
LMI
10888 * subr.el (remove-duplicates): New conveniency function.
10889
505e3645
LMI
108902011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10891
10892 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10893 (bug#1526).
10894
108952011-07-10 Martin Rudalics <rudalics@gmx.at>
10896
10897 * window.el (display-buffer-normalize-default): Don't invert
10898 meaning of even-window-heights. Reported by Eli Zaretskii
10899 <eliz@gnu.org>.
10900
455e4fa1
BR
109012011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10902
10903 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10904
8e0bc3e9
CY
109052011-07-10 Chong Yidong <cyd@stupidchicken.com>
10906
10907 * window.el (display-buffer): Fix arguments to
10908 display-buffer-reuse-window in last change.
10909
fa7c3228
CY
10910 * faces.el (link): Use a less saturated blue on light backgrounds.
10911
10912 * startup.el (fancy-startup-text, fancy-about-text)
10913 (fancy-startup-tail): Use font-lock faces, for background safety.
10914
c0a7f300
BN
109152011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10916
b796c9b7
SM
10917 * emulation/viper-cmd.el (viper-change-state-to-vi):
10918 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10919
4dc2a129
MR
109202011-07-09 Martin Rudalics <rudalics@gmx.at>
10921
10922 * window.el (display-buffer-default-specifiers): Remove.
10923 (display-buffer-macro-specifiers): Remove default specifiers.
10924 (display-buffer-alist): Default to nil.
b796c9b7 10925 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10926 (display-buffer-pop-up-window): Allow splitting internal
10927 windows. Check whether a live window was created.
10928 (display-buffer-other-window-means-other-frame)
10929 (display-buffer-normalize-arguments): Rename to
10930 display-buffer-normalize-argument and rewrite. Set the
10931 other-window specifier.
10932 (display-buffer-normalize-special): New function.
10933 (display-buffer-normalize-options): Rename to
10934 display-buffer-normalize-default and rewrite.
10935 (display-buffer-normalize-options-inhibit): Remove.
10936 (display-buffer-normalize-specifiers): Rewrite.
10937 (display-buffer): Process other-window specifier and call
10938 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10939 more faithfully.
b796c9b7 10940 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10941 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10942 (display-buffer-in-window, display-buffer-alist-set):
10943 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10944 <tassilo@member.fsf.org>.
10945
2d43b8c9
LL
109462011-07-09 Leo Liu <sdl.web@gmail.com>
10947
10948 * register.el (insert-register): Restore accidental change on
10949 2011-06-26. (Bug#9028)
10950
7f9b7c53
GM
109512011-07-09 Glenn Morris <rgm@gnu.org>
10952
10953 * subr.el (remq): Handle the empty list. (Bug#9024)
10954
f042cfd8
AS
109552011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10956
10957 * mail/sendmail.el (send-mail-function): No longer delay custom
10958 initialization.
10959 * custom.el (custom-initialize-delay): Doc fix.
10960
856b2f11
SM
109612011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10964
afae1d68
MA
109652011-07-08 Michael Albinus <michael.albinus@gmx.de>
10966
10967 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10968 human-friendly prompt.
10969
0757af94
SM
109702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10973 provided by a particular plugin.
10974
d760b731
LMI
109752011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10976
10977 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10978 save customizations (with "emacs -Q"), just set the variable
10979 instead of erroring out.
10980
10981 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10982
cd79ce90
JL
109832011-07-08 Juri Linkov <juri@jurta.org>
10984
10985 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10986 (archive-zip-update-case): Use 7z if found by `executable-find'.
10987 The order of searching the available programs is the same as in
10988 `archive-zip-extract' (bug#8968).
10989
14cc04aa
CY
109902011-07-07 Chong Yidong <cyd@stupidchicken.com>
10991
10992 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10993 (menu-bar-options-menu): Tweak descriptions.
10994
0a1848ec
LMI
109952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996
10997 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10998 menu items into verb phrases (bug#1421). Also refill to fit under
10999 80 columns.
11000
f5bd0689
CY
110012011-07-07 Chong Yidong <cyd@stupidchicken.com>
11002
538e85c6
CY
11003 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11004 (Info-read-node-name): Doc fix (Bug#1084).
11005
f5bd0689
CY
11006 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11007 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11008 (end-of-sexp, beginning-of-sexp)
11009 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11010 (forward-symbol, forward-same-syntax, word-at-point)
11011 (sentence-at-point): Doc fix (Bug#1144).
11012
56ec5115
LMI
110132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11014
f3f8e37f
LMI
11015 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11016 should cover it (bug#1281).
11017
0757af94 11018 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11019
e9fce1ac 11020 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11021 negotiation fails, then possibly try again with a non-encrypted
11022 connection (bug#9017).
11023
56ec5115
LMI
11024 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11025 be used.
11026
c2f9aec8
RS
110272011-07-07 Richard Stallman <rms@gnu.org>
11028
11029 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11030 property, and handle its changed format.
11031 Look for the correct line number.
11032 Use file's line contents (but not past first =) to find
11033 correct line in message.
11034
ef7b981d 110352011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11036
11037 * international/characters.el (build-unicode-category-table):
11038 Delete it.
0757af94 11039 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11040
0757af94 11041 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11042 to src/chartab.c.
11043 (get-char-code-property): Call unicode-property-table-internal to
11044 load a file. Call get-unicode-property-internal where necessary.
11045 (put-char-code-property): Call unicode-property-table-internal to
11046 load a file. Call put-unicode-property-internal where necessary.
11047 put-unicode-property-internal where necessary.
0757af94
SM
11048 (char-code-property-description):
11049 Call unicode-property-table-internal to load a file.
c805dec0
KH
11050
11051 * international/charprop.el:
11052 * international/uni-bidi.el:
11053 * international/uni-category.el:
11054 * international/uni-combining.el:
11055 * international/uni-comment.el:
11056 * international/uni-decimal.el:
11057 * international/uni-decomposition.el:
11058 * international/uni-digit.el:
11059 * international/uni-lowercase.el:
11060 * international/uni-mirrored.el:
11061 * international/uni-name.el:
11062 * international/uni-numeric.el:
11063 * international/uni-old-name.el:
11064 * international/uni-titlecase.el:
11065 * international/uni-uppercase.el: Regenerate.
11066
11067 * loadup.el: Load international/charprop.el before
11068 international/characters.
11069
e14b388a
CY
110702011-07-07 Chong Yidong <cyd@stupidchicken.com>
11071
11072 * window.el (next-buffer, previous-buffer): Signal an error if
11073 called from a minibuffer window.
11074
11075 * bindings.el: Revert 2011-07-04 change.
11076
354cf0ba
RS
110772011-07-06 Richard Stallman <rms@gnu.org>
11078
11079 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11080 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11081 Treat markers like ints.
11082 (rmail-mime-entity): Doc fix.
11083
a48868a7
LMI
110842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11085
4906cd3d
LMI
11086 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11087 defcustom again for backwards compatibility.
11088
e0457abe
LMI
11089 * simple.el (shell-command-on-region): Fill.
11090
d67f7e1f
LMI
11091 * dired-aux.el (dired-kill-line): Add a doc string.
11092
fe204702
LMI
11093 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11094 to "\\sw\\|\\s_" (bug#358).
11095
a48868a7
LMI
11096 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11097 (dired-unmark-backward): Ditto.
11098 (dired-flag-backup-files): Ditto.
11099
11100 * dired-x.el (dired-mark-sexp): Ditto.
11101
aa8a705c
RS
111022011-07-06 Richard Stallman <rms@gnu.org>
11103
11104 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11105 (rmail-mime-entity): New arg TRUNCATED.
11106 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11107 New functions.
11108 (rmail-mime-save): Warn if entity is truncated.
11109 (rmail-mime-toggle-hidden): Likewise, for showing.
11110 (rmail-mime-process-multipart): Record when an entity is truncated.
11111
a9a936b9
RS
11112 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11113 if ENTITY is a string.
11114
1f2b92cb
LMI
111152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11116
f4f73198 11117 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11118 of faces when `M-C-x'-ing their definitions (bug#8378).
11119 Also clean up the code slightly.
f4f73198 11120
12b16734 11121 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11122 because that makes the colors go away.
12b16734 11123
f0691d22
LMI
11124 * mail/sendmail.el (send-mail-function): Change the default to
11125 `sendmail-query-once'.
9e87df06 11126 (sendmail-query-once): Add an autoload cookie.
f0691d22 11127
1f2b92cb
LMI
11128 * net/network-stream.el (network-stream-open-starttls): Try using
11129 a plain connection even if the server offered STARTTLS, and we
11130 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11131 capability. This should make smtpmail.el work in slightly more
11132 configurations.
11133
1cdd2a1b
MA
111342011-07-06 Michael Albinus <michael.albinus@gmx.de>
11135
11136 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11137 New defun.
11138 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11139
fbcc67e2
MM
111402011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11141
11142 * progmodes/sql.el: Version 3.0
0757af94 11143 (sql-product-alist): Add product :completion-object,
fbcc67e2 11144 :completion-column, and :statement attributes.
0757af94 11145 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11146 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11147 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11148 ansi keywords.
11149 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11150 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11151 (sql-oracle-show-reserved-words): New function for development.
11152 (sql-product-font-lock): Simplify for source code buffers.
11153 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11154 New functions.
11155 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11156 (sql-mode-map): Add statement movement functions.
11157 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11158 New variable.
fbcc67e2
MM
11159 (sql-statement-regexp, sql-beginning-of-statement)
11160 (sql-end-of-statement, sql-signum): New functions.
0757af94 11161 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11162 (sql-show-sqli-buffer): Bug fix.
11163 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11164 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11165 with sql-interactive-mode.
11166 (sql-save-connection): Save buffer local settings.
0757af94 11167 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11168 (sql-product-interactive): Bug fix.
11169 (sql-preoutput-hold): New variable.
11170 (sql-interactive-remove-continuation-prompt): Bug fixes.
11171 (sql-debug-redirect): New variable.
11172 (sql-str-literal): New function.
11173 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11174 Redesign.
fbcc67e2
MM
11175 (sql-oracle-save-settings, sql-oracle-restore-settings)
11176 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11177 (sql-completion-object, sql-completion-column)
11178 (sql-completion-sqlbuf): New variables.
11179 (sql-build-completions-1, sql-build-completions)
11180 (sql-try-completion): New functions.
11181 (sql-read-table-name): Use them.
11182 (sql-contains-names): New buffer local variable.
11183 (sql-list-all, sql-list-table): Use it.
11184 (sql-oracle-completion-types): New variable.
11185 (sql-oracle-completion-object, sql-sqlite-completion-object)
11186 (sql-postgres-completion-object): New functions.
11187
d4eaeab1
GM
111882011-07-06 Glenn Morris <rgm@gnu.org>
11189
11190 * window.el (pop-to-buffer): Doc fix.
11191
322b7dab 111922011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11193
11194 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11195
322b7dab 111962011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11197
322b7dab 11198 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11199
322b7dab 11200 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11201
605dd5bf
CY
112022011-07-05 Chong Yidong <cyd@stupidchicken.com>
11203
11204 * button.el (button): Inherit from link face. Suggested by Dan
11205 Nicolaescu.
11206
7dbfa719
SM
112072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11208
3db614b0
SM
11209 * progmodes/gdb-mi.el: Fit in 80 columns.
11210 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11211 switch-to-buffer.
11212
7dbfa719
SM
11213 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11214 if imenu is simply not configured (bug#8941).
11215
919d884a
KM
112162011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11217
11218 * allout.el (allout-post-undo-hook): New allout outline-change
11219 event hook to signal undo activity.
11220 (allout-post-command-business): Run allout-post-undo-hook if an
11221 undo just occurred.
7dbfa719
SM
11222 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11223 * allout-widgets.el (allout-widgets-after-undo-function):
11224 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11225 in the vicinity of an undo.
11226 (allout-widgets-mode): Include allout-widgets-after-undo-function
11227 on the new allout-post-undo-hook.
11228
450a0f09
SM
112292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11232 Let define-derived-mode define it.
11233 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11234 cycles of abbrev-table inheritance (bug#8998).
11235
2de69e00
RW
112362011-07-05 Roland Winkler <winkler@gnu.org>
11237
11238 * textmodes/bibtex.el: Add support for biblatex.
11239 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11240 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11241 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11242 (bibtex-entry-alist, bibtex-field-alist): New variables.
11243 (bibtex-entry-field-alist): Obsolete alias for
11244 bibtex-BibTeX-entry-alist.
11245 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11246 (bibtex-set-dialect): New command.
11247 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11248 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11249 Bind via bibtex-set-dialect.
2de69e00
RW
11250 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11251 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11252 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11253 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11254 Define via bibtex-set-dialect.
450a0f09
SM
11255 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11256 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11257 (bibtex-vec-push, bibtex-vec-incr): New functions.
11258 (bibtex-format-entry, bibtex-field-list)
11259 (bibtex-print-help-message, bibtex-validate)
11260 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11261
2dcdbdd9
SM
112622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * progmodes/compile.el (compilation-goto-locus):
11265 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11266 * bs.el (bs-cycle-next, bs-cycle-previous):
11267 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11268 * bindings.el (mode-line-other-buffer):
11269 * autoinsert.el (auto-insert):
11270 * arc-mode.el (archive-extract):
11271 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11272
b27640fe
JB
112732011-07-05 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11276 Fix check of `emacs-lock-unlockable-modes'.
11277 Coerce true values of `emacs-lock--try-unlocking' to t.
11278
53bbe3ad
JB
112792011-07-05 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11282 * emacs-lock.el: New file.
11283
1d3cdbc7
JD
112842011-07-05 Julien Danjou <julien@danjou.info>
11285
11286 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11287 than `boundp' to check if face is set.
11288
9173deec
JB
112892011-07-05 Juanma Barranquero <lekktu@gmail.com>
11290
11291 * register.el (registerv-make):
11292 * window.el (window-min-height): Fix typos in docstrings.
11293
869795d6
JD
112942011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11295
9173deec 11296 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11297 Update doc string.
11298
b768cdcd
JB
112992011-07-04 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * server.el (server-execute): Catch quit and call
11302 `server-return-error' to pass the error back to emacsclient and
11303 close the connection (bug#8942).
11304
13aa217b
KM
113052011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11306
11307 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11308 insecure exception for current topic. Also note that auto-saves
11309 are handled differently.
11310
5d3385a0 11311 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11312 State variables for tracking auto-save inhibition situation.
11313
11314 (allout-write-contents-hook-handler): Rename from
11315 'allout-write-file-hook-handler', and describe how it depends on
11316 write-contents-functions sensitivity to non-nil value to prevent
11317 file write.
11318
11319 (allout-auto-save-hook-handler): Remove. auto-save does not check
11320 this in individual buffers, only in the starting buffer, so this
11321 is not the right way for us to inhibit auto-save in a buffer
11322 according to its condition.
11323
11324 (allout-mode): Use new allout-write-contents-hook-handler, and
11325 only with write-contents-functions. Remove auto-save provisions -
11326 they're implemented elsewhere.
11327
11328 (allout-before-change-handler): If undo is in progress, note that
11329 for attention of allout-post-command-business.
11330
11331 (allout-post-command-business): If the command we're following was
11332 an undo, check for change in the status of encrypted items and
11333 adjust auto-save inhibitions accordingly.
11334
11335 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11336 according to whether there are or aren't any plain-text topics
11337 pending encryption.
11338
2dcdbdd9 11339 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11340 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11341 if there are plain-text topics pending encryption.
13aa217b
KM
11342
11343 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11344 buffer-saved-size and some allout state to not inhibit auto-saves
11345 if there are no longer any plain-text topics pending encryption.
11346
0757af94
SM
11347 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11348 No longer provide for exemption of the current topic.
13aa217b 11349
ac89b32c
JL
113502011-07-04 Juri Linkov <juri@jurta.org>
11351
11352 Add 7z operations to delete and save changed members (bug#8968).
11353 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11354 New defcustoms.
11355 (archive-7z-write-file-member): New function.
11356 (archive-7z-summarize): Fix the number of dashes in the
11357 listing output.
11358
8fa39615
SM
113592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11362 (bug#8958).
11363
2f11b3f1
CY
113642011-07-04 Chong Yidong <cyd@stupidchicken.com>
11365
d66fef2b
CY
11366 * bindings.el: Ignore next-buffer and previous-buffer in
11367 minibuffer-local-map.
11368
2f11b3f1
CY
11369 * font-lock.el (font-lock-builtin-face): Change light background
11370 color to dark slate blue (Bug#6693).
11371
f932a347
WD
113722011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11373
11374 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11375
c8af70e1
SM
113762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11380 Add switch-to-buffer.
11381
f158badc
LMI
113822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * isearch.el (isearch-search-fun-function): Clarify further the
11385 meaning of the function returned.
11386
6d95bd46
MA
113872011-07-04 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11390
11391 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11392 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11393 Use it.
11394 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11395 `tramp-default-remote-path' does not exist.
11396 (tramp-send-command-and-read): New optional argument NOERROR.
11397 (tramp-open-connection-setup-interactive-shell)
11398 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11399 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11400 (tramp-process-sentinel): Flush also process' connection property.
11401 (tramp-sh-handle-start-file-process): Do not set process
11402 sentinel. It is done now ...
11403 (tramp-maybe-open-connection): ... here. (Bug#8929)
11404
909e6b67
MK
114052011-07-04 MON KEY <monkey@sandpframing.com>
11406
11407 * play/animate.el (animate-string): Doc fixes and allow changing
11408 the buffer name (bug#5417).
11409
114102011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11411
c8af70e1 11412 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11413
f34755dc
PE
114142011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11415
396cec72
PE
11416 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11417 This is simpler and helps future-proof the code.
11418 (timer-until): Use time-subtract and float-time.
08235028 11419 (timer--time-less-p): Use time-less-p.
f34755dc 11420
56e6cc31
JB
114212011-07-04 Juanma Barranquero <lekktu@gmail.com>
11422
3abb79e5
JB
11423 * type-break.el (timep): Use the value of `float-time' to avoid a
11424 byte-compiler warning.
11425
56e6cc31
JB
11426 * server.el (server-eval-and-print): Return any result, even nil.
11427
7b9430b4
PE
114282011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11429
11430 * type-break.el: Accept time formats that the builtins accept.
11431 (timep, type-break-time-difference): Accept any format that
11432 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11433 This is simpler and helps future-proof the code.
11434 (type-break-time-difference): Round rather than ignoring
11435 subseconds components.
11436
3034e9e7
LMI
114372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11438
11439 * info.el (Info-apropos-matches): Make non-interactive, since it
11440 doesn't seem to do anything useful as a command (bug#8829).
11441
1485f4c0
CY
114422011-07-03 Chong Yidong <cyd@stupidchicken.com>
11443
11444 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11445 Move from faces.el.
1485f4c0
CY
11446 (frame-default-terminal-background): New function.
11447
11448 * custom.el (custom-push-theme): Don't record faces in `changed'
11449 theme; this doesn't work correctly for per-frame face settings.
11450 (disable-theme): Use face-set-after-frame-default to reset faces.
11451 (custom--frame-color-default): New function.
11452
9fa3dd45
LMI
114532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11454
c8af70e1 11455 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11456 (bug#8769).
11457
6cbbc20c
KR
114582011-03-29 Kevin Ryde <user42@zip.com.au>
11459
11460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11461 `perl-Test2' extend to match possible "fail #N" rep count
11462 (bug#8377).
11463
c7f98048
LMI
114642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11465
65676592
LMI
11466 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11467 `smtpmail-via-smtp' now returns the error instead of nil.
11468
c7f98048
LMI
11469 * isearch.el (isearch-search-fun-function): Clarify the doc string
11470 (bug#8101).
11471
56e6cc31 114722011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11473
11474 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11475 unnecessary spaces (bug#8987).
11476
2b216704
LMI
114772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11478
11479 * net/network-stream.el (open-network-stream): Use the
11480 :end-of-capability command thoughout.
11481
114822011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11483
11484 * net/network-stream.el (open-network-stream): Add the
11485 :end-of-capability command parameter, used by pop3.el.
11486
36adf6ce
LMI
114872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11488
1ca0da0e
LMI
11489 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11490
fc00f69c
LMI
11491 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11492 for list)" (bug#6475).
11493
28fd8759 11494 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11495 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11496 an error (bug#6297).
11497
0dd8b6da
LMI
11498 * man.el (Man-reference-regexp): Allow matching possible
11499 word-wrapped references (bug#6289).
11500
ce1438d6
LMI
11501 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11502 for consistency with the other vc buffers (bug#6197).
11503 (vc-checkin): Ditto.
11504
11505 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11506
36adf6ce
LMI
11507 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11508
e83cc1f7
LMI
115092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11510
8a20ca4c
LMI
11511 * custom.el (defcustom): Clarify that :set is only used in the
11512 Customize user interface (bug#6089).
11513
83319045
LMI
11514 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11515 associated with a file, refuse to run instead of erroring out
11516 (bug#6084).
11517
a8392169
LMI
11518 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11519 the doc string, since it appears that using `fill-column' always
11520 controls the width (bug#7845).
11521
e83cc1f7
LMI
11522 * simple.el (shell-command-on-region): Say where the error output
11523 went if `shell-command-default-error-buffer' is set (bug#6857).
11524
e47ca23b
KM
115252011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11526
11527 * allout.el (allout-yank-processing): Adjust cursor position for
11528 backwards-deleted space.
11529
11530 (allout-rebullet-heading): Register changes with
11531 allout-exposure-changed-hook, so the modified topic is properly
11532 decorated.
11533
5cf56143
LMI
115342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
08549772
LMI
11536 * minibuffer.el (completion-in-region): Document PREDICATE
11537 (bug#7136).
11538
48e96771
LMI
11539 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11540 of keyword/argument pairs (bug#6904).
11541
c8af70e1
SM
11542 * replace.el (multi-occur):
11543 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11544
e17d05e2
LMI
115452011-07-02 Drew Adams <drew.adams@oracle.com>
11546
11547 * dired.el (dired-mark-if): Make the message about whether it's
11548 marking or unmarking clearer (bug#8523).
11549
063b0e45
LMI
115502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11551
11552 * disp-table.el (display-table-print-array): New function.
11553 (describe-display-table): Use it to print the vectors more pretty
11554 (Bug#8859).
11555
28545e04
MR
115562011-07-02 Martin Rudalics <rudalics@gmx.at>
11557
11558 * window.el (window-state-get-1): Don't assign clone numbers.
11559 Add clone-of item to list of window parameters.
11560 (window-state-put-2): Don't process clone numbers.
11561 (display-buffer-alist): Fix doc-string.
11562
3349e122
SM
115632011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * subr.el (remq): Don't allocate if it's not needed.
11566 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11567 (keymap--merge-bindings): New functions.
11568 (keymap-canonicalize): Use them to refine the canonicalization.
11569 * minibuffer.el (minibuffer-local-completion-map)
11570 (minibuffer-local-must-match-map): Move initialization from C.
11571 (minibuffer-local-filename-completion-map): Move initialization from C;
11572 don't inherit from anything here.
11573 (minibuffer-local-filename-must-match-map): Make obsolete.
11574 (completing-read-default): Use make-composed-keymap to combine
11575 minibuffer-local-filename-completion-map with either
11576 minibuffer-local-must-match-map or
11577 minibuffer-local-filename-completion-map.
11578
d224ac83
GM
115792011-07-01 Glenn Morris <rgm@gnu.org>
11580
3de63bf8
GM
11581 * type-break.el (type-break-time-sum): Use dolist.
11582
d224ac83
GM
11583 * textmodes/flyspell.el (flyspell-word-search-backward):
11584 Replace CL function.
11585
1a1e3f32
SM
115862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11587
fe3f64d5
SM
11588 * mouse.el (mouse--strip-first-event): New function.
11589 (function-key-map): Use it to map fringe clicks to normal clicks
11590 by default.
11591
eb604e34
SM
11592 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11593 (vc-bzr-revision-completion-table): Add support for annotate and date.
11594
1a1e3f32
SM
11595 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11596 inherit from parent.
11597
5bd35902
LMI
115982011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11599
ace6c69c 11600 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11601 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11602
191e2bed
LMI
11603 * dired.el (dired-mode): Fix up the doc string as suggested by
11604 Drew Adams (bug#8817).
11605
5bd35902
LMI
11606 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11607 cookie, since the manual says that it should be possible to add
11608 this function to `find-file-hook' (bug#8709).
11609
eee8207a
TZ
116102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11611
11612 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11613 here. Noted Ted Zlatanov as the maintainer.
11614 (cfengine-common-settings, cfengine-common-syntax): New functions
11615 to set up common things between `cfengine-mode' and
11616 `cfengine3-mode'.
11617 (cfengine3-mode): New mode.
11618 (cfengine3-defuns cfengine3-defuns-regex
11619 (cfengine3-class-selector-regex cfengine3-category-regex)
11620 (cfengine3-vartypes cfengine3-font-lock-keywords)
11621 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11622 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11623
36b148cf
MA
116242011-07-01 Michael Albinus <michael.albinus@gmx.de>
11625
11626 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11627
11628 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11629
0bf4ba9a
MR
116302011-07-01 Martin Rudalics <rudalics@gmx.at>
11631
11632 * window.el (same-window-buffer-names, same-window-regexps)
11633 (same-window-p, special-display-frame-alist)
11634 (special-display-popup-frame, special-display-function)
11635 (special-display-buffer-names, special-display-regexps)
11636 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11637 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11638 (split-window-preferred-function, split-height-threshold)
11639 (split-width-threshold, even-window-heights)
11640 (display-buffer-mark-dedicated, window-splittable-p)
11641 (split-window-sensibly, window-safely-shrinkable-p):
11642 Un-obsolete.
11643 (display-buffer): Don't spread args with function specifier
11644 because special-display-popup-frame won't like it.
11645
35837f51
PE
116462011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11647
d0672f86
PE
11648 Time-stamp simplifications and fixes.
11649 These improve accuracy slightly, and future-proof the code
11650 against some potential changes to current-time format.
11651
b9444d97
PE
11652 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11653 by using time-since and float-time.
11654
0ef923dc
PE
11655 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11656 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11657 + NNN microseconds".
11658
2f81380d
PE
11659 * type-break.el (type-break-time-sum): Rewrite using time-add.
11660
845b5c3e
PE
11661 * play/hanoi.el (hanoi-current-time-float): Remove.
11662 All uses replaced by float-time.
11663
ee6f1be0
PE
11664 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11665 This yields a more-accurate answer.
11666 (rng-time-to-float): Remove; no longer needed.
11667
fe955043
PE
11668 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11669
5777162a
PE
11670 * calendar/timeclock.el (timeclock-seconds-to-time):
11671 Defalias to seconds-to-time, since they're the same thing.
11672
3103f8b6 11673 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11674 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11675 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11676
0e61a35f
SM
116772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * window.el (bury-buffer): Don't iconify the only frame.
11680 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11681 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11682
ddd63a1e
CY
116832011-07-01 Chong Yidong <cyd@stupidchicken.com>
11684
0e61a35f
SM
11685 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11686 Add mouse-yank-primary.
ddd63a1e 11687
055f4923
TZ
116882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11689
11690 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11691
6a2fb145
SM
116922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11695 (find-library-name): Use it to find relative load names when provided
11696 absolute file name (bug#8803).
11697
fd4983f2
LMI
116982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11699
887d14ad
LMI
11700 * textmodes/flyspell.el (flyspell-word): Consider words that
11701 differ only in case as potential doublons (bug#5687).
11702
c53dc7fc
LMI
11703 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11704 Remove two rather uninteresting debugging-like messages to make
11705 debbugs.el more silent.
11706
fd4983f2
LMI
11707 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11708 a password-like phrase.
11709
7a71b18d 117102011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11711
11712 * progmodes/cc-guess.el: New file.
11713
6a2fb145 11714 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11715
11716 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11717 derived from `c-basic-common-init'.
11718
11719 * progmodes/cc-mode.el (top-level): Require cc-guess.
11720 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11721
1fa280a3
LM
117222011-06-30 Lawrence Mitchell <wence@gmx.li>
11723
11724 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11725
e6597158
AM
117262011-06-30 Alan Mackenzie <acm@muc.de>
11727
1fa280a3
LM
11728 * progmodes/cc-engine.el (c-guess-continued-construct):
11729 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11730 lock is disabled. Name this case as "CASE G".
11731
68ba37fb
KM
117322011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11733
11734 * allout.el (allout-yank-processing): Fix injection of extra space
11735 between bullet and non-whitespace character in first topic when
11736 pasting, ensuring that the actual spacing in the pasted topic
11737 following the bullet char is preserved. This extra space was
11738 causing pasted encrypted topics to get a decrypted status even
11739 when the content was actually still encrypted. Now the decryption
11740 status from before the paste is preserved.
11741
11742 (allout-flag-region): Set all allout overlays so they evaporate
11743 when reduced to zero length (evanescent), to prevent overlay
11744 leakage.
11745
887a0b34
GM
117462011-06-30 Glenn Morris <rgm@gnu.org>
11747
94b9acce
GM
11748 * w32-fns.el (w32-charset-info-alist): Declare.
11749
1d9b46d4
GM
11750 * find-dired.el (find-grep-options): Simplify.
11751
cc232200
GM
11752 * term/ns-win.el (ns-set-resource): Declare.
11753
28e77c46
GM
11754 * ses.el (row, col): Declare dynamic variables honestly.
11755
887a0b34
GM
11756 * textmodes/reftex-parse.el (index-tags): Declare.
11757
658d8eb8
CY
117582011-06-30 Chong Yidong <cyd@stupidchicken.com>
11759
11760 * cus-edit.el (customize-push-and-save): New function.
11761
11762 * files.el (hack-local-variables-confirm): Use it.
11763
1fa280a3
LM
11764 * custom.el (load-theme): New arg NO-CONFIRM.
11765 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11766 (custom-enabled-themes): Doc fix.
11767
11768 * cus-theme.el (customize-create-theme)
11769 (custom-theme-merge-theme): Callers to load-theme changed.
11770
bb617717
LMI
117712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
d61bdd5d
LMI
11773 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11774 short URLs have at least one dot in them (bug #7614).
11775
bb617717
LMI
11776 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11777 nil, because using a pty is apparently too slow (bug #895).
11778
2f31f37a
LMI
117792011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780
11781 * mail/sendmail.el (sendmail-query-once): New function.
11782 (sendmail-query-once-function): New variable.
11783
3076b24e
GM
117842011-06-29 Glenn Morris <rgm@gnu.org>
11785
faf2a174
GM
11786 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11787
3076b24e
GM
11788 * ses.el (top-level): Require cl when compiling.
11789 (ses-set-localvars): Fix error statement.
11790 Call it at compile time to silence a storm of warnings.
11791
5386012d
MR
117922011-06-29 Martin Rudalics <rudalics@gmx.at>
11793
11794 * window.el (normalize-live-buffer): Rename to
11795 window-normalize-buffer.
11796 (normalize-live-frame): Rename to window-normalize-frame.
11797 (normalize-any-window): Rename to window-normalize-any-window.
11798 (normalize-live-window): Rename to window-normalize-live-window.
11799 (make-window-atom): Rename to window-make-atom.
11800 (window-resize-reset): Rename to window--resize-reset.
11801 (window-resize-reset-1): Rename to window--resize-reset-1.
11802 (resize-mini-window): Rename to window--resize-mini-window.
11803 (resize-subwindows-skip-p): Rename to
11804 window--resize-subwindows-skip-p.
11805 (resize-subwindows-normal): Rename to
11806 window--resize-subwindows-normal.
11807 (resize-subwindows): Rename to window--resize-subwindows.
11808 (resize-other-windows): Rename to window--resize-siblings.
11809 (resize-this-window): Rename to window--resize-this-window.
11810 (resize-root-window): Rename to window--resize-root-window.
11811 (resize-root-window-vertically): Rename to
11812 window--resize-root-window-vertically.
11813 (normalize-buffer-to-display): Rename to
11814 window-normalize-buffer-to-display.
11815 (normalize-buffer-to-switch-to): Rename to
11816 window-normalize-buffer-to-switch-to.
11817 Correspondingly update all callers of the functions listed
11818 above.
11819 (display-buffer-alist, display-buffer-normalize-arguments)
11820 (display-buffer-normalize-options, display-buffer)
11821 (display-buffer-alist-set): Use "function" instead of
11822 "fun-with-args".
11823
1176868d
CY
118242011-06-28 Chong Yidong <cyd@stupidchicken.com>
11825
11826 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11827 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11828 debbugs.gnu.org. Mention acknowledgment email.
11829
20a7a65f
LMI
118302011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831
11832 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11833 buffer multibyteness, since it shouldn't matter.
11834
5f45cca5
MR
118352011-06-28 Martin Rudalics <rudalics@gmx.at>
11836
11837 * window.el (display-buffer-in-side-window): Handle dedicated
11838 windows as in display-buffer-reuse-window.
11839 (display-buffer-normalize-alist): Use value of override
11840 specifier.
11841 (display-buffer-normalize-specifiers): Use value of
11842 other-window-means-other-frame specifier.
11843 (display-buffer-alist): Rewrite some texts in widgets.
11844 (display-buffer): Spread arguments when calling function
11845 specified by fun-with-args.
11846
ad85fe1f
DD
118472011-06-28 Deniz Dogan <deniz@dogan.se>
11848
1fa280a3
LM
11849 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11850 Unnest `let'.
da68c4c8 11851
ad85fe1f
DD
11852 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11853 selectors (Bug#5732).
ec49bd31 11854 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11855
a08cc025
JA
118562011-06-27 Jari Aalto <jari.aalto@cante.net>
11857
11858 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11859 (eshell-ls-date-format): New defcustom.
11860 (eshell-ls-file): Use it.
11861
e2b551c5
SM
118622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11865
8982b231
KY
118662011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11867
11868 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11869 (ange-ftp-make-tmp-name): New arg.
11870 (ange-ftp-file-local-copy): Use it.
11871
36c9fa27
J
118722011-06-27 Jambunathan K <kjambunathan@gmail.com>
11873
11874 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11875 no-conversion (Bug#8870).
11876
d68443dc
MR
118772011-06-27 Martin Rudalics <rudalics@gmx.at>
11878
11879 * window.el (window-right, window-left, window-child)
11880 (window-child-count, window-last-child)
11881 (window-iso-combination-p, walk-window-tree-1)
11882 (window-atom-check-1, window-tree-1, delete-window)
11883 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11884 new naming conventions - window-vchild, window-hchild,
11885 window-next and window-prev are now called window-top-child,
11886 window-left-child, window-next-sibling and window-prev-sibling
11887 respectively.
d615d6d2
MR
11888 (resize-window-reset): Rename to window-resize-reset.
11889 (resize-window-reset-1): Rename to window-resize-reset-1.
11890 (resize-window): Rename to window-resize.
11891 (window-min-height, window-min-width)
11892 (resize-mini-window, resize-this-window, resize-root-window)
11893 (resize-root-window-vertically, adjust-window-trailing-edge)
11894 (enlarge-window, shrink-window, maximize-window)
11895 (minimize-window, delete-window, quit-restore-window)
11896 (split-window, balance-windows, balance-windows-area-adjust)
11897 (balance-windows-area, window-state-put-2)
11898 (display-buffer-even-window-sizes, display-buffer-set-height)
11899 (display-buffer-set-width, set-window-text-height)
11900 (fit-window-to-buffer): Rename all "resize-window" prefixed
11901 calls to use the "window-resize" prefix convention.
11902 (display-buffer-alist): Fix symbol for label specifier.
11903 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11904 corresponding specifier.
11905 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11906
b6458526
VB
119072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11908
11909 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11910 convention.
11911 (ses-call-printer): Does not pass an empty string to formatter when the
11912 cell is empty to keep from barking printer Calc math-format-value.
11913
d31fd9ac
RS
119142011-06-27 Richard Stallman <rms@gnu.org>
11915
43d5bf84
RS
11916 * battery.el (battery-mode-line-limit): New variable.
11917 (battery-update): Handle it.
11918
d31fd9ac
RS
11919 * mail/rmailmm.el (rmail-mime-process-multipart):
11920 Handle truncated messages.
11921
819a6054
GM
119222011-06-27 Glenn Morris <rgm@gnu.org>
11923
11924 * progmodes/flymake.el (flymake-err-line-patterns):
11925 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11926
cedc73f2
VB
119272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11928
819a6054 11929 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11930 (ses--clean-!, ses--clean-_): New functions.
11931 (ses-range): Add configurability of readout order, and conversion
11932 to Calc vector.
11933
5e5d49b6
VB
11934 * ses.el (ses-repair-cell-reference-all): New function.
11935 (ses-cell-symbol): Set macro as safe, so that it can be used in
11936 formulas.
11937
56e6cc31 11938 * ses.el: Update cycle detection algorithm.
90ca8b49 11939 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11940 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11941 (ses-set-localvars): New function.
11942 (ses-make-cell): Add property-list as a cell element.
11943 (ses-cell-property-get-fun, ses-cell-property-get)
11944 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11945 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11946 New functions.
90ca8b49
VB
11947 (ses-cell-property-set, ses-cell-property-pop)
11948 (ses-cell-property-get-handle): New macro.
11949 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11950 New aliases, used for code readability.
11951 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11952 cycle detection.
11953 (ses-self-reference-early-detection): New defcustom.
fac916bf 11954 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11955 (ses-mode): Use ses-set-localvars.
11956 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11957 before lauching the update processing.
11958 (ses-initialize-Dijkstra-attempt): New function.
11959 (ses-recalculate-cell): Update for cycle detection based on
11960 Dijkstra algorithm.
11961
2bb63e81
VB
11962 * ses.el: Fix commenting and indenting convention.
11963
c9d29fb8
SM
119642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * bs.el (bs-cycle-next): Complete last change.
11967
d8e4b68b
JB
119682011-06-27 Drew Adams <drew.adams@oracle.com>
11969
11970 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11971
40098786
LMI
119722011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11973
c9d29fb8
SM
11974 * net/network-stream.el (network-stream-open-starttls):
11975 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11976 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11977
40098786
LMI
11978 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11979 to binary to possibly avoid line encoding issues on Windows (among
11980 other things).
11981
468d09d4
LMI
119822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11983
11984 * net/network-stream.el (open-network-stream): Return an :error
11985 saying what the problem was, if possible.
11986
11987 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11988 server.
11989
11990 * net/network-stream.el (network-stream-open-starttls): If we
11991 wanted to use STARTTLS, and the server offered it, but we weren't
11992 able to because we had no STARTTLS support, then close the connection.
11993 (open-network-stream): Return an :error element, if present.
11994
16f07dd7
CY
119952011-06-26 Chong Yidong <cyd@stupidchicken.com>
11996
88821ca0
CY
11997 * hl-line.el (hl-line-sticky-flag): Doc fix.
11998 (global-hl-line-sticky-flag): New option (Bug#8323).
11999 (global-hl-line-highlight): Obey it.
12000
16f07dd7
CY
12001 * vc/vc.el (vc-revert-show-diff): Default to t.
12002
6b5ccddf
KM
120032011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12004
c9d29fb8
SM
12005 * allout-widgets.el (allout-widgets-post-command-business):
12006 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12007 undecorated when an isearch is continued past, and isearch
12008 automatically collapses them. This leads to "widget leaks", where
12009 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12010 hidden widgets can slow down cursor travel, substantially.
12011 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12012 so we're doing without this nicety.
12013
12014 (allout-widgets-tally-string): Don't try to do a hash-table-count
12015 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12016 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12017 *Messages* when allout-widgets-maintain-tally is t.
12018
355f2e07
MR
120192011-06-26 Martin Rudalics <rudalics@gmx.at>
12020
12021 * window.el (display-buffer-normalize-argument): Rename to
12022 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12023 LABEL argument. Respect special-display-function when popping up
12024 a new frame. Fix code searching for a window showing the buffer
12025 on another frame.
c9d29fb8
SM
12026 (display-buffer-normalize-specifiers):
12027 Call display-buffer-normalize-arguments.
355f2e07
MR
12028 (display-buffer-in-window): Don't undedicate the window if its
12029 buffer remains the same.
12030 Reported by Drew Adams <drew.adams@oracle.com>.
12031 (display-buffer-alist): Add choice for same-window macro
12032 specfier.
12033 (display-buffer): Mention special meaning of LABEL argument in
12034 doc-string. Fix quoting. Don't pop up a new frame even as
12035 fallback.
12036
7ca8fc42
JB
120372011-06-26 Juanma Barranquero <lekktu@gmail.com>
12038
12039 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12040 avoid deleting the current window in some cases (bug#8911).
12041
bc312254
AS
120422011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12043
12044 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12045 (Bug#8934)
12046
2db18f3f
LMI
120472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12048
c9d29fb8
SM
12049 * net/network-stream.el (network-stream-open-starttls):
12050 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12051 (network-stream-open-tls): Ditto.
12052
6302e0d3
LL
120532011-06-26 Leo Liu <sdl.web@gmail.com>
12054
12055 * register.el (registerv): New struct.
12056 (registerv-make): New function.
c9d29fb8
SM
12057 (jump-to-register, describe-register-1, insert-register):
12058 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12059 struct. (Bug#8415)
12060
5fdd4046
CY
120612011-06-26 Chong Yidong <cyd@stupidchicken.com>
12062
2afef60a
CY
12063 * vc/vc.el (vc-revert-show-diff): New defcustom.
12064 (vc-diff-internal): New arg specifying diff buffer.
12065 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12066 reuse an existing *vc-diff* buffer (Bug#8927).
12067
5fdd4046
CY
12068 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12069
e93db24a
GM
120702011-06-26 Glenn Morris <rgm@gnu.org>
12071
12072 * progmodes/f90.el (f90-critical-indent): New option.
12073 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12074 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12075 (f90-mode): Doc fix.
12076 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12077 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12078 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12079 (f90-match-end): Handle block, critical.
12080
eefff499
GM
120812011-06-25 Glenn Morris <rgm@gnu.org>
12082
f6ba4cc9
GM
12083 * calendar/diary-lib.el (diary-included-files): Doc fix.
12084 (diary-include-files): New function, extracted from
12085 diary-include-other-diary-files and diary-mark-included-diary-files.
12086 (diary-include-other-diary-files, diary-mark-included-diary-files):
12087 Just call diary-include-files.
12088 (diary-mark-entries): Reset diary-included-files on first call.
12089
16712304
GM
12090 * calendar/diary-lib.el (diary-mark-entries)
12091 (diary-mark-included-diary-files):
12092 Visit included diary-files in temp buffers.
12093
5d8e0d43
GM
12094 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12095 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12096 (f90-start-block-re, f90-imenu-generic-expression)
12097 (f90-looking-at-program-block-start, f90-no-block-limit):
12098 Add support for submodules.
12099
ccf7a5d5
GM
12100 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12101 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12102
11fdef7d 121032011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12104
12105 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12106 buffer-file-type before setting its value, to avoid disastrous
eefff499 12107 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12108
74f53697
JB
121092011-06-25 Juanma Barranquero <lekktu@gmail.com>
12110
12111 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12112
12113 * ses.el (ses-unload-function):
12114 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12115
12116 * proced.el (proced-unload-function):
12117 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12118
18a4ce5e
AR
121192011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12120
12121 * server.el (server-create-window-system-frame): Add parameters arg.
12122 (server-process-filter): Doc fix. Handle frame-parameters.
12123
519d22cc
JB
121242011-06-25 Juanma Barranquero <lekktu@gmail.com>
12125
12126 Fix bug#8730, bug#8781.
12127
12128 * loadhist.el (unload--set-major-mode): New function.
12129 (unload-feature): Use it.
12130
12131 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12132 (python-unload-function): New function.
12133
c206f5b0
SM
121342011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12137
f9ad64f3
GS
121382011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12139
12140 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12141 the candidates list.
12142
7d0da90e
JB
121432011-06-24 Juanma Barranquero <lekktu@gmail.com>
12144
12145 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12146
14b4e83d
RS
121472011-06-23 Richard Stallman <rms@gnu.org>
12148
12149 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12150 (rmail-variables): Set next-error-move-function.
12151 (rmail-what-message): Take argument POS.
12152 (rmail-next-error-move): New function.
12153
273d2baf
SM
121542011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12157 messages for adjacent non-terminals.
12158
56c2cc9a
RS
121592011-06-23 Richard Stallman <rms@gnu.org>
12160
12161 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12162 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12163 (rmail-start-mail): Don't specify use of rmail-mail-return;
12164 that's done by mail-bury now.
12165 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12166
d59eb518
MA
121672011-06-23 Michael Albinus <michael.albinus@gmx.de>
12168
12169 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12170 SIZE is a number.
12171
02cfc6d6
MR
121722011-06-23 Martin Rudalics <rudalics@gmx.at>
12173
12174 * window.el (get-lru-window, get-mru-window)
12175 (get-largest-window): Never return a minibuffer window.
12176 (display-buffer-pop-up-window): Fix a bug that could lead to
12177 reusing the minibuffer window.
12178 (display-buffer): Pass original specifier argument to
12179 display-buffer-function instead of the normalized one.
12180 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12181
4e323265
LL
121822011-06-22 Leo Liu <sdl.web@gmail.com>
12183
12184 * minibuffer.el (completing-read-function)
12185 (completing-read-default): Move from minibuf.c
12186
7a70468f
RS
121872011-06-22 Richard Stallman <rms@gnu.org>
12188
50718fc2
RS
12189 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12190 to Rmail even if not started by a special Rmail command.
12191
7a70468f
RS
12192 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12193 Copy the buffer currently showing just one message.
12194
297dde5a
RW
121952011-06-22 Roland Winkler <winkler@gnu.org>
12196
12197 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12198 (bibtex-clean-entry): First delete the old key so that a
12199 customized algorithm for generating the new key does not get
12200 confused by the old key.
12201 (bibtex-url): Obey regexp of first step.
12202 (bibtex-search-entries): Do not use add-to-list with local
12203 list-var.
12204
97bb1093
LMI
122052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12206
12207 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12208 stored a user name, then query for the password first, instead of
12209 waiting for SMTP to give an error message and the trying again.
12210
1c0f1a19
JD
122112011-06-22 Lawrence Mitchell <wence@gmx.li>
12212
12213 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12214 BUFFER in call-process.
12215
396f7c9d
LMI
122162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12217
12218 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12219 QUIT twice.
ddb7ffee
LMI
12220 (smtpmail-try-auth-methods): Require user name and password from
12221 auth-source.
396f7c9d 12222
8998d1b3
MR
122232011-06-22 Martin Rudalics <rudalics@gmx.at>
12224
12225 * window.el (display-buffer-default-specifiers)
12226 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12227 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12228 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12229
12230 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12231 (special-display-frame-alist, special-display-popup-frame):
12232 Remove duplicate declarations. These are now in window.el.
12233
4ea31e07
LMI
122342011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12235
c9d29fb8
SM
12236 * mail/smtpmail.el (smtpmail-via-smtp):
12237 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12238 server supports it. SMTP servers that support STARTTLS commonly
12239 require it.
12240
12241 * net/network-stream.el (network-stream-open-starttls): Support
12242 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12243 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12244
95f41d9a
LMI
12245 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12246 upgrades with `open-network-stream', and rely solely on
12247 auth-source for all credentials. Big changes throughout the file,
12248 but in particular:
c9d29fb8
SM
12249 (smtpmail-auth-credentials): Remove.
12250 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12251 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12252 MAIL FROM, too.
95f41d9a 12253
c9d29fb8
SM
12254 * net/network-stream.el (network-stream-open-starttls):
12255 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12256 STARTTLS.
12257 (auth-source): Require.
12258 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12259 (network-stream-certificate): Change cert-cert to cert and
12260 cert-key to key.
4ea31e07 12261
065ec2c7
MA
122622011-06-21 Michael Albinus <michael.albinus@gmx.de>
12263
12264 * net/tramp-cache.el (top): Don't load the persistency file when
12265 "emacs -Q" has been called.
12266
cd93b359
DR
122672011-06-21 Tim Harper <timcharper@gmail.com>
12268
d8e4b68b
JB
12269 * term/ns-win.el (ns-initialize-window-system):
12270 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12271 resource to NO as it is not yet supported by the NS port.
12272
ae9c0411
JB
122732011-06-21 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12276 (list-dynamic-libraries): ...not here.
12277
7f3f739f
LL
122782011-06-21 Leo Liu <sdl.web@gmail.com>
12279
12280 * subr.el (sha1): Implement sha1 using secure-hash.
12281
327c8fb1
MR
122822011-06-21 Martin Rudalics <rudalics@gmx.at>
12283
12284 * window.el (display-buffer-alist): In default value do not
12285 enforce searching a window on any but the selected frame.
12286 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12287 (display-buffer-select-window): Remove function.
12288 (display-buffer-in-window): When a window on another frame gets
12289 reused, do not select it any more but just raise its frame if
12290 necessary (Bug#8851) and (Bug#8856).
12291 (display-buffer-normalize-options): Handle pop-up-frames related
12292 options more faithfully.
12293 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12294 window if it is on another frame.
c9d29fb8
SM
12295 (display-buffer-alist, display-buffer-default-specifiers):
12296 Don't make new frame unsplittable by default.
9e9de014
MR
12297 (display-buffer-normalize-argument): Fix doc-string typo and use
12298 'same-frame-other-window instead of 'other-window when associating
12299 with display-buffer-macro-specifiers.
327c8fb1 12300
7cf3f556
VB
123012011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12302
12303 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12304 New functions.
12305 (5x5-mode-map, 5x5-mode-menu): Bind them.
12306 (5x5-draw-grid): Tweak the solver's rendering.
12307
60a406cf
SM
123082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12311 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12312
d8e4b68b 123132011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12314
12315 * menu-bar.el: Use function variable instead of switch-to-buffer.
12316 (menu-bar-select-buffer-function): New variable.
60a406cf 12317 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12318
478d6f95
SM
123192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12322 variable's status.
12323
ca530739
JD
123242011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12325
12326 * x-dnd.el (x-dnd-version-from-flags)
12327 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12328 and long as number (Bug#8899).
12329 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12330
bcd70d97
SM
123312011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12332
60a406cf 12333 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12334 (completion-try-completion, completion-all-completions): Compute the
12335 metadata argument if it's missing; make it optional (bug#8795).
12336
60a406cf 12337 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12338 (widget-complete): Use new :completion-function property.
12339 (widget-completions-at-point): New function.
12340 (default): Use :completion-function instead of :complete.
60a406cf
SM
12341 (widget-default-completions): Rename from widget-default-complete;
12342 Rewrite.
bcd70d97
SM
12343 (widget-string-complete, widget-file-complete, widget-color-complete):
12344 Remove functions.
12345 (file, symbol, function, variable, coding-system, color):
12346 * international/mule-cmds.el (default-input-method, charset)
12347 (language-info-custom-alist):
12348 * cus-edit.el (face): Use new property :completions.
12349
12350 * progmodes/pascal.el (pascal-completions-at-point): New function.
12351 (pascal-mode): Use it.
12352 (pascal-mode-map): Use completion-at-point.
12353 (pascal-toggle-completions): Make obsolete.
12354 (pascal-complete-word, pascal-show-completions):
12355 * progmodes/octave-mod.el (octave-complete-symbol):
12356 Redefine as obsolete alias.
12357 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12358 Signal absence of completion info for old Octave,
12359 (inferior-octave-complete): Redefine as obsolete alias.
12360 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12361 (meta-completions-at-point): Rename from meta-complete-symbol and
12362 adapt it for use on completion-at-point-functions.
12363 (meta-common-mode): Use it.
12364 (meta-looking-at-backward, meta-match-buffer): Remove.
12365 (meta-complete-symbol): Redefine as obsolete alias.
12366 (meta-common-mode-map): Use completion-at-point.
12367 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12368 (makefile-mode-map): Use completion-at-point.
12369 (makefile-completions-at-point): Rename from makefile-complete and
12370 adapt it for use on completion-at-point-functions.
12371 (makefile-mode): Use it.
12372 (makefile-complete): Redefine as obsolete alias.
12373
aebf69c8
DD
123742011-06-20 Deniz Dogan <deniz@dogan.se>
12375
12376 * net/rcirc.el: Delete trailing whitespaces once and for all.
12377
bfbbb27d
DC
123782011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12379
12380 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12381
d264a46b
CY
123822011-06-19 Chong Yidong <cyd@stupidchicken.com>
12383
4ca009e5
CY
12384 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12385
d264a46b
CY
12386 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12387
fbf5b3ce
MR
123882011-06-19 Martin Rudalics <rudalics@gmx.at>
12389
12390 * window.el (display-buffer-other-window-means-other-frame):
12391 Call display-buffer-normalize-alist.
12392 (display-buffer-normalize-specifiers-1): Rename to
12393 display-buffer-normalize-argument. New argument other-frame.
12394 Rewrite.
12395 (display-buffer-normalize-specifiers-2): Rename to
12396 display-buffer-normalize-options.
12397 (display-buffer-normalize-alist-1): New function.
12398 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12399 display-buffer-normalize-alist.
12400 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12401 (display-buffer-normalize-options-inhibit): New variable.
12402 (display-buffer-normalize-specifiers): Rewrite calling
12403 display-buffer-normalize-alist,
12404 display-buffer-normalize-argument, and
12405 display-buffer-normalize-options. Don't call the latter if
12406 display-buffer-normalize-options-inhibit is non-nil.
12407 (frame-auto-delete): New option.
12408 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12409 (window-list-no-nils, window-state-ignored-parameters)
12410 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12411 (window-state-put-1, window-state-put-2, window-state-put):
12412 New functions.
9a028c23
MR
12413 (display-buffer-normalize-options): Move special-display-p group
12414 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12415
6d10d800
CY
124162011-06-18 Chong Yidong <cyd@stupidchicken.com>
12417
6420d28b
CY
12418 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12419 groups (Bug#8776).
12420 (rx-submatch-n): New function.
12421 (rx): Document it.
12422
ddb8b596
CY
12423 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12424 (Bug#8768).
12425
12426 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12427
77080289
CY
12428 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12429
61dfb316
CY
12430 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12431 anytime existing face settings are present (Bug#8889).
12432
6d10d800
CY
12433 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12434 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12435 Remove unused argument.
12436
be3fb2b8
MR
124372011-06-18 Martin Rudalics <rudalics@gmx.at>
12438
bcd70d97
SM
12439 * window.el (display-buffer-default-specifiers):
12440 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12441 pop-up-window-min-width, and another reuse-window specifier
12442 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12443 (display-buffer-normalize-specifiers-2):
12444 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12445 pop-up-windows is unset. Add a reuse-window specifier for the
12446 case popping up a new window fails.
12447 (special-display-popup-frame): Remove double quoting.
28dec25a 12448 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12449
1c6d8c76
SM
124502011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12453 according to comint-completion-addsuffix.
12454
12455 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12456 (pcomplete-suffix-list): Mark as obsolete.
12457 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12458 pcomplete-seen in the closure.
12459 (pcomplete-comint-setup): Setup completion-at-point as well.
12460 (pcomplete--entries): New function.
12461 (pcomplete--env-regexp): New var.
12462 (pcomplete-entries): Rewrite to work with partial-completion and
12463 without relying on pcomplete-suffix-list.
12464 (pcomplete-pare-list): Remove, unused.
12465
25aef8b8
MR
124662011-06-17 Martin Rudalics <rudalics@gmx.at>
12467
12468 * window.el (display-buffer-alist): Set pop-up-window-min-height
12469 and pop-up-window-min-width in default value. Reported by
12470 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12471 other-window-means-other-frame.
12472 (display-buffer-macro-specifiers): Comment out entry for
12473 other-window specifier.
12474 (display-buffer-other-window-means-other-frame): New function.
12475 (display-buffer-normalize-specifiers-1): New arguments
12476 buffer-name and label. Treat other-window case specially.
12477 (display-buffer-normalize-specifiers-2): Treat other-window case
12478 specially.
12479 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12480 (display-buffer-normalize-specifiers):
12481 Call display-buffer-normalize-specifiers-3.
25aef8b8 12482
dbad4f69
MR
124832011-06-17 Martin Rudalics <rudalics@gmx.at>
12484
12485 * window.el (same-window-p): Fix two typos introduced when
12486 adding with-no-warnings.
d1067961
MR
12487 (display-buffer-normalize-specifiers-1): Don't check
12488 pop-up-frames for 'unset initialization.
12489 (display-buffer-normalize-specifiers-2): Major rewrite using
12490 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12491 (pop-up-frames, display-buffer-reuse-frames)
12492 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12493 Suggested by David Engster <deng@randomsample.de>.
12494 (even-window-heights): Initialize to 'unset.
12495 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12496 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12497 other window case.
dbad4f69 12498
9b9c9e3a
MR
124992011-06-16 Martin Rudalics <rudalics@gmx.at>
12500
bcd70d97
SM
12501 * window.el (display-buffer-normalize-specifiers-1):
12502 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12503 second argument of display-buffer (Bug#8865).
981d5c09
MR
12504 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12505 (switch-to-buffer-other-window-same-frame)
12506 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12507 Adams (Bug#8875).
9c2755e9
MR
12508 (display-buffer): Don't check noninteractive when calling
12509 display-buffer-pop-up-frame.
12510 (display-buffer-pop-up-frame): Never pop up a frame in
12511 noninteractive mode (Bug#8857).
67222e1d
MR
12512 (enlarge-window, shrink-window): Don't report an error when the
12513 window can't be resized as requested (Bug#8862).
9b9c9e3a 12514
2b75be67
SM
125152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12516
9ffdd3ba
SM
12517 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12518
cb581a67
SM
12519 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12520
2b75be67
SM
12521 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12522
8c0e3589
AM
125232011-06-15 Alan Mackenzie <acm@muc.de>
12524
cb581a67
SM
12525 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12526 for declarators, disable knr checking to speed up for normal files.
12527 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12528
b96e6cde
LMI
125292011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12530
4bba86e6
LMI
12531 * net/network-stream.el (open-network-stream): Add the keyword
12532 :always-query-capabilities for the case where you want to force a
12533 `plain' network connection, but the protocol still requires the
12534 capabilitiy command (i.e., SMTP and EHLO).
12535
2b75be67 12536 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12537 consistency with other `-live-p' functions.
12538
efdcdbf8
SM
125392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * window.el (same-window-buffer-names, same-window-regexps)
12542 (special-display-frame-alist, special-display-popup-frame)
12543 (special-display-function, special-display-buffer-names)
12544 (special-display-regexps, pop-up-frame-alist)
12545 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12546 (pop-up-windows, split-window-preferred-function)
12547 (split-height-threshold, split-width-threshold, even-window-heights)
12548 (display-buffer-mark-dedicated): Don't encourage the use of
12549 display-buffer-alist from Elisp code.
12550
c5cde042
DN
125512011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12552
12553 * progmodes/python.el (python-mode): Derive from prog-mode.
12554 * progmodes/ps-mode.el (ps-mode):
12555 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12556 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12557 * progmodes/ld-script.el (ld-script-mode): Likewise.
12558
baa1c9ab
MR
125592011-06-15 Martin Rudalics <rudalics@gmx.at>
12560
12561 * window.el (display-buffer-alist): Trim default value to avoid
12562 popping up a new frame (Bug#8857) or reusing an arbitrary window
12563 on another frame.
12564 (display-buffer): Do not fall back on popping up a new frame in
12565 batch mode (Bug#8857).
12566
c5dd5a51
CY
125672011-06-14 Chong Yidong <cyd@stupidchicken.com>
12568
12569 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12570 (custom-theme-summary): New function.
12571 (customize-themes): Use it.
12572
d647b7c4
GM
125732011-06-13 Glenn Morris <rgm@gnu.org>
12574
12575 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12576
9481c002
MR
125772011-06-13 Martin Rudalics <rudalics@gmx.at>
12578
357f93d2
MR
12579 * help.el (help-window): Remove variable.
12580 (help-window-point-marker, temp-buffer-max-height)
12581 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12582 (help-print-return-message): Don't set help-window.
12583 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12584 (help-window-setup-finish): Remove.
12585 (help-window-display-message, help-window-setup)
12586 (with-help-window): Major rewrite based on new
12587 display-buffer-window variable.
12588
12589 * help-mode.el (help-mode-finish): Remove help-window related
12590 code.
12591
12592 * view.el (view-exits-all-viewing-windows): Remove reference to
12593 view-return-to-alist in doc-string.
12594 (view-return-to-alist): Make obsolete.
12595 (view-buffer): Call pop-to-buffer-same-window and remove
12596 undo-window code.
12597 (view-buffer-other-window): Call pop-to-buffer-other-window and
12598 simplify code. Ignore second argument.
12599 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12600 simplify code. Ignore second argument.
12601 (view-return-to-alist-update): Make obsolete.
12602 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12603 Rewrite using quit-restore window parameters.
2b75be67
SM
12604 (view-mode-exit): Rename second argument to EXIT-ONLY.
12605 Rewrite using quit-restore-window.
357f93d2
MR
12606 (View-exit, View-exit-and-edit, View-leave, View-quit)
12607 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12608 appropriate arguments.
12609 (view-end-message): Use quit-restore window parameter.
12610
9481c002
MR
12611 * window.el (display-buffer-function): Rewrite doc-string.
12612 (display-buffer-window, display-buffer-alist): New variables.
12613 (display-buffer-split-specifiers)
12614 (display-buffer-side-specifiers)
12615 (display-buffer-macro-specifiers): New constants.
12616 (display-buffer-even-window-sizes, display-buffer-set-height)
12617 (display-buffer-set-width, display-buffer-select-window)
12618 (display-buffer-in-window, display-buffer-reuse-window)
12619 (display-buffer-split-window-1, display-buffer-split-window)
12620 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12621 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12622 (display-buffer-in-side-window, normalize-buffer-to-display)
12623 (display-buffer-normalize-specifiers-1)
12624 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12625 (display-buffer-normalize-specifiers, display-buffer-frame):
12626 New functions.
9481c002
MR
12627 (display-buffer): Major rewrite.
12628 (display-buffer-other-window, display-buffer-other-frame)
12629 (pop-to-buffer, switch-to-buffer-other-window)
12630 (switch-to-buffer-other-frame): Rewrite.
12631 (display-buffer-same-window, display-buffer-same-frame)
12632 (display-buffer-same-frame-other-window)
12633 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12634 (pop-to-buffer-other-window)
12635 (pop-to-buffer-same-frame-other-window)
12636 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12637 (switch-to-buffer-other-window-same-frame): New functions.
12638 (same-window-p, special-display-p): Rewrite disabling warnings.
12639 Make obsolete.
12640 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12641 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12642 Make obsolete
12643 (same-window-buffer-names, same-window-regexps)
12644 (special-display-frame-alist, special-display-popup-frame)
12645 (special-display-function, special-display-buffer-names)
12646 (special-display-regexps, pop-up-frame-alist)
12647 (pop-up-frame-function, split-window-preferred-function)
12648 (split-height-threshold, split-width-threshold)
12649 (even-window-heights): Make obsolete.
12650
9db51aca
GM
126512011-06-12 Glenn Morris <rgm@gnu.org>
12652
12653 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12654 Misc simplifications.
9db51aca 12655
39cffb44
MR
126562011-06-12 Martin Rudalics <rudalics@gmx.at>
12657
12658 * window.el (window-safely-shrinkable-p): Restore function which
12659 was inadvertently removed in change from 2011-06-11. Declare as
12660 obsolete.
12661
2b75be67
SM
12662 * calendar/calendar.el (calendar-generate-window):
12663 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12664 window-safely-shrinkable-p.
12665
a8955be7
GM
126662011-06-12 Glenn Morris <rgm@gnu.org>
12667
12668 * progmodes/fortran.el (fortran-mode-syntax-table):
12669 * progmodes/f90.el (f90-mode-syntax-table):
12670 Set % to punctuation. (Bug#8820)
12671 (f90-find-tag-default): Remove, no longer needed.
12672
f0d4059d
DC
126732011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12674
12675 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12676
1100a63c
CY
126772011-06-11 Chong Yidong <cyd@stupidchicken.com>
12678
12679 * image.el (image-animated-p): Return animation delay in seconds.
12680 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12681 (image-animate-timeout): Remove DELAY argument. Don't assume
12682 every subimage has the same delay; get it from image-animated-p.
12683 (image-animate): Caller changed.
12684
def722bf
MA
126852011-06-11 Michael Albinus <michael.albinus@gmx.de>
12686
12687 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12688 to ignored backtrace functions.
12689
0a2bb1a9
GM
126902011-06-11 Glenn Morris <rgm@gnu.org>
12691
12692 * calendar/appt.el (appt-disp-window-function): Doc fix.
12693 (appt-check): Handle overlapping appointments. (Bug#8337)
12694
6198ccd0
MR
126952011-06-11 Martin Rudalics <rudalics@gmx.at>
12696
12697 * window.el (window-tree-1, window-tree): New functions, moving
12698 the latter to window.el.
12699 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12700 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12701 (bw-refresh-edges): Remove.
12702 (balance-windows-1, balance-windows-2): New functions.
12703 (balance-windows): Rewrite in terms of window tree functions,
12704 balance-windows-1 and balance-windows-2.
12705 (bw-adjust-window): Remove.
12706 (balance-windows-area-adjust): New function with functionality of
12707 bw-adjust-window but using resize-window.
2b75be67
SM
12708 (set-window-text-height): Rewrite doc-string.
12709 Use normalize-live-window and resize-window.
12710 (enlarge-window-horizontally, shrink-window-horizontally):
12711 Rename argument to DELTA.
6198ccd0
MR
12712 (window-buffer-height): New function.
12713 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12714 Rewrite using new window resize routines.
2b75be67
SM
12715 (kill-buffer-and-window, mouse-autoselect-window-select):
12716 Use ignore-errors instead of condition-case.
6198ccd0
MR
12717 (quit-window): Call delete-frame instead of delete-windows-on
12718 for the only buffer on frame.
12719
9397e56f
MR
127202011-06-10 Martin Rudalics <rudalics@gmx.at>
12721
12722 * loadup.el (top-level): Load window before files for the sake
12723 of replace-buffer-in-windows.
12724
12725 * files.el (read-buffer-to-switch)
12726 (switch-to-buffer-other-window)
2b75be67
SM
12727 (switch-to-buffer-other-frame, display-buffer-other-frame):
12728 Move to window.el.
9397e56f
MR
12729
12730 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12731 (previous-buffer): Move to window.el.
12732
12733 * bindings.el (unbury-buffer): Move to window.el.
12734
12735 * window.el (delete-other-windows-vertically): Move after
12736 definition of delete-other-windows.
12737 (other-window, delete-windows-on, replace-buffer-in-windows):
12738 Move here from window.c.
12739 (record-window-buffer, unrecord-window-buffer)
12740 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12741 (switch-to-next-buffer): New functions.
12742 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12743 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12744 (previous-buffer): Move here from simple.el.
12745 Call switch-to-prev-buffer.
9397e56f
MR
12746 (bury-buffer): Move here from buffer.c. Switch to previous
12747 buffer when window cannot be deleted.
12748 (unbury-buffer): Move here from bindings.el.
12749 (ctl-x-map): Move binding for other-window from window.c to
12750 here.
12751 (read-buffer-to-switch, switch-to-buffer-other-window)
12752 (switch-to-buffer-other-frame): Move here from files.el.
12753 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12754 (switch-to-buffer): Move here from buffer.c.
12755 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12756
562dd5e9
MR
127572011-06-10 Martin Rudalics <rudalics@gmx.at>
12758
12759 * window.el (window-min-height, window-min-width): Move here
12760 from window.c. Add defcustoms and rewrite doc-strings.
12761 (resize-mini-window, resize-window): New functions.
12762 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12763 Move here from window.c.
12764 (maximize-window, minimize-window): New functions.
12765 (delete-window, delete-other-windows, split-window): Move here
12766 from window.c.
12767 (window-split-min-size): New function.
12768 (split-window-keep-point): Mention split-window-above-each-other
12769 instead of split-window-vertically.
2b75be67 12770 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12771 Rename split-window-vertically to split-window-above-each-other
12772 and provide defalias for old definition.
12773 (split-window-side-by-side, split-window-horizontally):
12774 Rename split-window-horizontally to split-window-side-by-side
12775 and provide defalias for the old definition.
562dd5e9
MR
12776 (ctl-x-map): Move bindings for delete-window,
12777 delete-other-windows and enlarge-window here from window.c.
12778 Replace bindings for split-window-vertically and
12779 split-window-horizontally by bindings for
12780 split-window-above-each-other and split-window-side-by-side.
12781
12782 * cus-start.el (all): Remove entries for window-min-height and
12783 window-min-width. Add entries for window-splits and
12784 window-nest.
12785
f0da764a
GM
127862011-06-09 Glenn Morris <rgm@gnu.org>
12787
80675c21
GM
12788 * calendar/appt.el (appt-mode-line): New function.
12789 (appt-check, appt-disp-window): Use it.
12790
f0da764a
GM
12791 * files.el (hack-one-local-variable-eval-safep):
12792 Allow minor-modes with explicit +/-1 arguments.
12793
59f623b7
TZ
127942011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12795
12796 * term/xterm.el (xterm): Add defgroup.
12797 (xterm-extra-capabilities): Add defcustom to supply known xterm
12798 capabilities, skip querying them, or query them (default).
12799 (terminal-init-xterm): Use it.
12800 (terminal-init-xterm-modify-other-keys): New function to set up
12801 modifyOtherKeys support to simplify `terminal-init-xterm'.
12802
9aab8e0d
MR
128032011-06-09 Martin Rudalics <rudalics@gmx.at>
12804
12805 * window.el (resize-window-reset, resize-window-reset-1)
12806 (resize-subwindows-skip-p, resize-subwindows-normal)
12807 (resize-subwindows, resize-other-windows, resize-this-window)
12808 (resize-root-window, resize-root-window-vertically)
12809 (window-deletable-p, window-or-subwindow-p)
12810 (frame-root-window-p): New functions.
12811
e8b08aee
GM
128122011-06-09 Glenn Morris <rgm@gnu.org>
12813
12814 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12815 (ange-ftp-get-files): Use it.
12816
254c37a5
AK
128172011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12818
12819 * mail/sendmail.el (mail-recover-1, mail-recover):
12820 * files.el (recover-file, recover-session):
12821 Handle dired-listing-switches not being just a single short option.
12822
35d7dbd3
GM
128232011-06-09 Glenn Morris <rgm@gnu.org>
12824
12825 * calendar/appt.el (appt-display-message, appt-disp-window):
12826 Handle lists of appointments.
12827
387522b2
MR
128282011-06-08 Martin Rudalics <rudalics@gmx.at>
12829
2b75be67
SM
12830 * window.el (one-window-p): Move down in code.
12831 Rewrite doc-string.
12832 (window-current-scroll-bars): Rewrite doc-string.
12833 Normalize live window argument.
387522b2
MR
12834 (walk-windows, get-window-with-predicate, count-windows):
12835 Rewrite doc-string. Use window-list-1.
12836 (window-in-direction-2, window-in-direction, get-mru-window):
12837 New functions.
12838
d8e4b68b 128392011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12840
12841 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12842 Doc fix (Bug#8713).
12843
128442011-06-08 Chong Yidong <cyd@stupidchicken.com>
12845
12846 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12847
128482011-06-08 Juanma Barranquero <lekktu@gmail.com>
12849
12850 * loadhist.el (unload-feature-special-hooks):
12851 Add `comint-output-filter-functions'.
12852
0de12c52
IK
128532011-06-08 Ivan Kanis <gnu@kanis.fr>
12854
12855 * calendar/appt.el (appt-check): Move some initializations into the let.
12856
f3d1777e
MR
128572011-06-08 Martin Rudalics <rudalics@gmx.at>
12858
12859 * window.el (window-height): Defalias to window-total-height.
12860 (window-width): Defalias to window-body-width.
12861
18af70d0
CY
128622011-06-07 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * image-mode.el (image-toggle-animation): New command.
12865 (image-mode-map): Bind it to RET.
12866 (image-mode): Update message.
12867 (image-toggle-display-image): Avoid a spurious cache flush.
12868 (image-transform-rotation): Doc fix.
12869 (image-transform-properties): Return quickly in the normal case.
12870 (image-animate-loop): Rename from image-animate-max-time.
12871
2b75be67 12872 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12873 (create-animated-image): Remove unnecessary function.
12874 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12875 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12876 (image-animate-timer): Use car-safe.
12877 (image-animate-timeout): Rename argument.
12878
190b47e6
MR
128792011-06-07 Martin Rudalics <rudalics@gmx.at>
12880
12881 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12882 window.c. Rename first argument to ALL-FRAMES.
12883 Rephrase doc-strings.
12884 (get-buffer-window-list): Rewrite using window-list-1.
12885 Rephrase doc-string.
a1511caf
MR
12886 (window-safe-min-height, window-safe-min-width): New constants.
12887 (window-size-ignore, window-min-size, window-min-size-1)
12888 (window-sizable, window-sizable-p, window-size-fixed-1)
12889 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12890 (window-max-delta-1, window-max-delta, window-resizable)
12891 (window-resizable-p, window-total-height, window-total-width)
12892 (window-body-width): New functions.
12893 (window-full-height-p, window-full-width-p): Rewrite using
12894 window-total-size.
12895 (window-body-height): Rewrite using window-body-size.
190b47e6 12896
85cc1f11
MR
128972011-06-06 Martin Rudalics <rudalics@gmx.at>
12898
12899 * window.el (window-right, window-left, window-child)
12900 (window-child-count, window-last-child, window-any-p)
12901 (normalize-live-buffer, normalize-live-frame)
12902 (normalize-any-window, normalize-live-window)
12903 (window-iso-combination-p, window-iso-combined-p)
12904 (window-iso-combinations)
12905 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12906 (windows-with-parameter, window-with-parameter)
12907 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12908 (window-atom-check, window-side-check, window-check):
12909 New functions.
85cc1f11
MR
12910 (ignore-window-parameters, window-sides, window-sides-vertical)
12911 (window-sides-slots): New variables.
12912 (window-size-fixed): Move down in code. Minor doc-string fix.
12913
e7156492
AS
129142011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12915
12916 * comint.el (comint-dynamic-complete-as-filename)
12917 (comint-dynamic-complete-filename): Correctly call
12918 completion-in-region.
12919
7e821d0d
DD
129202011-06-05 Deniz Dogan <deniz@dogan.se>
12921
12922 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12923 in last change.
12924
ac09b8a1
DD
129252011-06-05 Deniz Dogan <deniz@dogan.se>
12926
12927 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12928 (rcirc): Use it to prompt for encryption.
12929
34699b85
RW
129302011-06-05 Roland Winkler <winkler@gnu.org>
12931
12932 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12933 (bibtex-search-entries): New command bound to C-c C-a.
12934 (bibtex-display-entries): New function.
12935
004dedd3
RW
129362011-06-05 Roland Winkler <winkler@gnu.org>
12937
12938 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12939 (bibtex-insert-kill): After yanking insert newline if necessary.
12940 (bibtex-initialize): Call bibtex-string-files-init only once.
12941 (bibtex-mode): Do not call easy-menu-add.
12942 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12943 (bibtex-yank): Set arg properly if nil.
12944
022fe7ce
RW
129452011-06-05 Roland Winkler <winkler@gnu.org>
12946
2b75be67
SM
12947 * textmodes/bibtex.el (bibtex-search-entry-globally):
12948 New variable.
022fe7ce
RW
12949 (bibtex-search-entry): Use it.
12950
b7c3692a
RW
129512011-06-05 Roland Winkler <winkler@gnu.org>
12952
12953 * textmodes/bibtex.el (bibtex-entry-format): New option
12954 sort-fields.
12955 (bibtex-format-entry, bibtex-reformat): Honor this option.
12956 (bibtex-parse-entry): Return fields in proper order.
12957
8eda563d
JB
129582011-06-05 Juanma Barranquero <lekktu@gmail.com>
12959
12960 * doc-view.el (doc-view-remove-if): Move computation of result out
12961 of `dolist' to silence misleading lexical-binding warning.
12962
7dbe3dbc
CY
129632011-06-04 Chong Yidong <cyd@stupidchicken.com>
12964
12965 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12966 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12967
0c33dd17
MA
129682011-06-04 Michael Albinus <michael.albinus@gmx.de>
12969
12970 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12971 "SunOS 5.10".
12972
f8f91c2b
MA
129732011-06-04 Michael Albinus <michael.albinus@gmx.de>
12974
12975 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12976 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12977 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12978 (tramp-parse-putty):
12979 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12980 (tramp-completion-function-alist-ssh)
12981 (tramp-completion-function-alist-telnet)
12982 (tramp-completion-function-alist-su)
12983 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12984 cookie.
12985
12986 * net/tramp-ftp.el:
12987 * net/tramp-sh.el:
12988 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12989 load "tramp.el" `tramp-set-completion-function'.
12990
e17d9003
SM
129912011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * shell.el: Require and use pcomplete.
12994 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12995 (shell-completion-vars): Set pcomplete-default-completion-function.
12996
6c4cab03
DD
129972011-06-04 Deniz Dogan <deniz@dogan.se>
12998
12999 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13000 `memq' (Bug#8799).
13001
ea9fafe0
SM
130022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13005
b3e945d3
JB
130062011-06-02 Juanma Barranquero <lekktu@gmail.com>
13007
13008 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13009 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13010 * vc/log-view.el (log-view-beginning-of-defun):
13011 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13012 (smerge-refine-forward, smerge-refine-chopup-region):
13013 Silence warning for unused `dotimes' counter variables.
13014
7d520089
SM
130152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * net/tramp.el (tramp-with-progress-reporter): Rename from
13018 with-progress-reporter. Use `declare'.
13019 * net/tramp-smb.el:
13020 * net/tramp-sh.el:
13021 * net/tramp-gvfs.el: Update all uses.
13022
a1c2400f
JB
130232011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13024
13025 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13026 buffer isn't killed before making it current.
13027
2403c841
SM
130282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 Silence various byte-compiler warnings.
13031 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13032 `access-type' and new obsolescence format.
13033 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13034 new format.
13035 (byte-compile-check-variable): New `access-type' argument.
13036 Only warn if the access-type is obsolete.
13037 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13038 (byte-compile-variable-set): Adjust callers.
13039 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13040 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13041 setting it as obsolete.
13042 * simple.el (minibuffer-completing-symbol):
13043 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13044 access as obsolete.
13045 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13046 obsolete yet.
13047 * international/quail.el (quail-mouse-choose-completion): Remove unused
13048 code referring to obsolete var.
13049 (quail-choose-completion-string): Remove.
13050 * server.el (server-clients-with, server-kill-buffer-query-function)
13051 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13052 * proced.el (proced-send-signal):
13053 * emacs-lisp/lisp.el (lisp-complete-symbol):
13054 Replace completion-annotate-function with completion-extra-properties.
13055
2462470b
SM
130562011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13057
fb5b2591
SM
13058 * simple.el (goto-line): Use read-number.
13059 (overriding-map-is-bound): Remove.
13060 (saved-overriding-map): Change default.
13061 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13062 Take the map as argument.
13063 (universal-argument, negative-argument, digit-argument): Use it.
13064 (restore-overriding-map): Adjust.
13065 (do-auto-fill): Use fill-forward-paragraph.
13066 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13067
fd6fa53f
SM
13068 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13069 (minibuffer-inactive-mode): New major mode.
13070 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13071 the *Messages* buffer" hack.
13072 (mouse-popup-menubar): Don't burp if the event is a normal key.
13073
2462470b
SM
13074 Miscellaneous tweaks.
13075 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13076 lexical scoping as in subr.el's dolist and dotimes.
13077 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13078 Silence compiler warning.
13079 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13080 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13081 * international/ccl.el (ccl-compile): Trivial simplification.
13082 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13083 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13084 `printflag' argument.
13085 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13086 Purecopy the whole obsolescence data.
13087
108bf785
LL
130882011-06-01 Leo Liu <sdl.web@gmail.com>
13089
13090 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13091 improve doc-string as suggested by Marco Pessotto
13092 <melmothx@gmail.com>.
13093 (rcirc-print): Fix last change.
13094
30a23501
SM
130952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * minibuffer.el (complete-with-action): Return nil for the metadata and
13098 boundaries of non-functional tables.
13099 (completion-table-dynamic): Return nil for the metadata.
13100 (completion-table-with-terminator): Add default case, using
13101 complete-with-action.
13102 (completion--metadata): New function.
13103 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13104 to try and avoid pathological performance problems.
13105 (completion--embedded-envvar-table): Return `category' metadata.
13106
bcd54f83
LMI
131072011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * subr.el (process-alive-p): New tiny convenience function.
13110
e227544d
SM
131112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13114 content but also its previous major mode.
13115
e8296fdc
HE
131162011-05-31 Helmut Eller <eller.helmut@gmail.com>
13117
4d61f28d 13118 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13119 *Backtrace* buffer when we exit with C-M-c.
13120
620c53a6
SM
131212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * minibuffer.el: Add metadata method to completion tables.
13124 (completion-category-overrides): New defcustom.
13125 (completion-metadata, completion--field-metadata)
13126 (completion-metadata-get, completion--styles)
13127 (completion--cycle-threshold): New functions.
13128 (completion-try-completion, completion-all-completions):
13129 Add `metadata' argument to choose completion-styles.
13130 (completion--do-completion): Use metadata to choose cycling.
13131 (completion-all-sorted-completions): Use metadata for sorting.
13132 Remove :completion-cycle-penalty which is not needed any more.
13133 (completion--try-word-completion): Add `metadata' argument.
13134 (minibuffer-completion-help): Check metadata for annotation function
13135 and sorting.
13136 (completion-file-name-table): Return `category' metadata.
13137 (minibuffer-completing-file-name): Make obsolete.
13138 * simple.el (minibuffer-completing-symbol): Make obsolete.
13139 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13140 completion-try-completion.
13141
1257e755
SM
131422011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13145
3767e706
LL
131462011-05-30 Leo Liu <sdl.web@gmail.com>
13147
13148 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13149 (rcirc-print): Decode all incoming messages (bug#8744).
13150 (rcirc-decode-coding-system): Allow value nil for automatic coding
13151 system detection.
3767e706 13152
d1a5d56a
GM
131532011-06-01 Glenn Morris <rgm@gnu.org>
13154
13155 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13156
e8cbec34
CY
131572011-05-29 Chong Yidong <cyd@stupidchicken.com>
13158
13159 * image.el (image-animate-max-time): Allow nil and t values.
13160 Default to nil.
13161 (create-animated-image): Doc fix.
13162 (image-animate-start): Remove second arg; just use
13163 image-animate-max-time.
13164 (image-animate-timeout): Doc fix. Args changed.
13165
13166 * image-mode.el (image-toggle-display-image): Ensure that the
13167 image spec passed to the animate timer is the same object as in
58179cce 13168 the buffer's display property (Bug#6981).
e8cbec34
CY
13169 (image-transform-properties): Doc fix.
13170
13171 * image.el (image-animate-max-time): Default to nil.
13172
159daf87
MR
131732011-05-29 Martin Rudalics <rudalics@gmx.at>
13174
13175 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13176 entire buffer list (Bug#8184).
13177
d66c4c7c
CY
131782011-05-29 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * image.el (imagemagick-types-inhibit)
13181 (imagemagick-register-types): Doc fix.
13182
80aec780
DD
131832011-05-29 Deniz Dogan <deniz@dogan.se>
13184
13185 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13186 default.
13187
1dd3c2d9
CY
131882011-05-29 Chong Yidong <cyd@stupidchicken.com>
13189
13190 * select.el: Don't perform clipboard-manager saving in hooks;
13191 leave the hooks empty.
13192
60e56523
LL
131932011-05-28 Leo Liu <sdl.web@gmail.com>
13194
13195 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13196 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13197 (occur-edit-mode): New major mode (Bug#8463).
13198 (occur-after-change-function): New function.
13199 (occur-engine): Give Occur tags a read-only property.
13200
2b1e1a22
KR
132012011-05-28 Kevin Ryde <user42@zip.com.au>
13202
13203 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13204
5d344e88
CY
132052011-05-28 Chong Yidong <cyd@stupidchicken.com>
13206
8e6ca83d
CY
13207 * bindings.el (help-echo): Make the initial non-indicator dash
13208 empty on graphical terminals (Bug#7295).
13209
5d344e88
CY
13210 * files.el (auto-mode-alist): Move config rule after the
13211 in-stripping one (Bug#8547).
13212
bfbbace7
CY
13213 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13214
fbeba6e2
CY
13215 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13216 setting (Bug#8740).
13217
60ed8c72
AA
132182011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13219
4ac619f0
AA
13220 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13221 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13222 (Bug#8539).
60ed8c72 13223
23db196e
CY
132242011-05-28 Chong Yidong <cyd@stupidchicken.com>
13225
13226 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13227
5012f24c
DK
132282011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13229
13230 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13231 (hs-hide-block-at-point, hs-find-block-beginning)
13232 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13233 (Bug#8279).
13234
6a639b16
GM
132352011-05-28 Glenn Morris <rgm@gnu.org>
13236
13237 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13238
d43eaf2c
CY
132392011-05-28 Chong Yidong <cyd@stupidchicken.com>
13240
5199bde1
CY
13241 * help-fns.el (describe-function-1): If the function is a derived
13242 major mode, print the parent mode.
13243
d43eaf2c
CY
13244 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13245 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13246
423428a8
SM
132472011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13248
0ff8e1ba 13249 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13250 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13251 * progmodes/etags.el (tags-completion-at-point-function):
13252 * info-look.el (info-lookup-completions-at-point): Mark as
13253 non-exclusive.
13254 (info-complete): Adjust accordingly.
13255
423428a8
SM
13256 * info-look.el: Convert to lexical-binding and completion-at-point.
13257 (info-lookup-completions-at-point): New function.
13258 (info-complete): Use it and completion-in-region.
13259
b74aa22b
DA
132602011-05-28 Drew Adams <drew.adams@oracle.com>
13261
13262 * isearch.el: Let M-e start with point at the first mismatched char.
13263 (isearch-fail-pos): New function.
13264 (isearch-edit-string): Use it.
13265
66e2e71d
DK
132662011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13267
13268 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13269
b1890b0f 132702011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13271
13272 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13273 traversal functions for avl-trees.
13274 (avl-tree--stack): New struct.
13275 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13276 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13277 (avl-tree--do-enter): Add optional `updatefun' arg.
13278 Change return value.
eb95d01d 13279 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13280 (avl-tree--do-delete): Add `test' and `nilflag' args.
13281 Change return value.
eb95d01d
TC
13282 (avl-tree-member): Add optional `nilflag'
13283 (avl-tree-member-p): New function.
13284 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13285 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13286 (avl-tree-stack-empty-p): New functions.
13287
3769ddcf
TC
13288 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13289 avl-tree--del-balance1 and make it work both ways.
13290 (avl-tree--del-balance2): Remove.
13291 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13292 make it work both ways.
13293 (avl-tree--enter-balance2): Remove.
13294 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13295 New macros.
13296 (avl-tree--mapc, avl-tree-map): Add direction argument.
13297
eb95d01d 132982011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13299
13300 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13301
a9f737ee
CY
133022011-05-27 Chong Yidong <cyd@stupidchicken.com>
13303
13304 * select.el: Support clipboard managers with built-in function
13305 x-clipboard-manager-save, via delete-frame-functions and
13306 kill-emacs-hook.
13307 (xselect-convert-to-targets): Add MULTIPLE target to list.
13308 (xselect-convert-to-save-targets): New function.
13309
c92a1e54
KH
133102011-05-27 Kenichi Handa <handa@m17n.org>
13311
13312 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13313 let-binding rfc2047-encode-encoded-words to nil.
13314
e145f188
GM
133152011-05-27 Glenn Morris <rgm@gnu.org>
13316
5ec8a862
GM
13317 * mail/emacsbug.el: Don't require url-util.
13318
4b29d9fb
GM
13319 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13320
e145f188
GM
13321 * files.el (set-auto-mode):
13322 Also respect mode: entries at the end of the file. (Bug#8586)
13323
7d15102b
GM
133242011-05-26 Glenn Morris <rgm@gnu.org>
13325
98f593b8
GM
13326 * files.el (hack-local-variables-prop-line, hack-local-variables):
13327 Downcase mode names, as seems to be traditional.
27b48e63 13328 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13329
7d15102b
GM
13330 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13331 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13332
51d5b4ec
JD
133332011-05-25 Julien Danjou <julien@danjou.info>
13334
13335 * textmodes/rst.el (rst-define-level-faces): Do not define face
13336 symbol if it is already defined.
13337
91513f63
VB
133382011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13339
13340 * play/5x5.el (5x5-new-game, 5x5-randomize):
13341 Reset 5x5-solver-output to nil when a new grid is cast.
13342 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13343 these debugging traces, as defmacro breaks the compiled code.
13344
4d90d6d0
DK
133452011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13346
13347 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13348
e1b90ef6
LL
133492011-05-24 Leo Liu <sdl.web@gmail.com>
13350
13351 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13352 (vc-bzr-sha1): Adapt.
13353
d8e4b68b 13354 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13355
13356 * bindings.el: Provide sha1 feature.
13357
db0406bb 133582011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13359
13360 * mail/sendmail.el: Require `rfc2047'.
13361 (mail-insert-from-field): Do not perform RFC2047 encoding.
13362 (mail-encode-header): New function.
13363 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13364 buffer to the return value of select-message-coding-system.
13365 Call mail-encode-header.
b8d747b9
KH
13366
13367 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13368
db0406bb 133692011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13370
4d90d6d0
DK
13371 * mail/supercite.el (sc-default-cite-frame):
13372 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13373
eb8a5e9b
GM
133742011-05-24 Glenn Morris <rgm@gnu.org>
13375
f8630703
GM
13376 * progmodes/python.el (brm-menu): Declare.
13377
8831bbed
GM
13378 * emulation/viper.el (viper-set-hooks): Declare.
13379
eb8a5e9b
GM
13380 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13381 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13382 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13383 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13384 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13385 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13386
a2a25d24
SM
133872011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 Add an :exit-function for completion-at-point.
13390
13391 * minibuffer.el (completion--done): New fun.
13392 (completion--do-completion): Use it. New arg `expect-exact'.
13393 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13394 since completion--do-completion does it for us now.
13395 (minibuffer-force-complete): Use completion--done and
13396 completion--replace. Handle sole-completion case with more care.
13397 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13398 (completion-extra-properties): New var.
13399 (completion-annotate-function): Make obsolete.
13400 (minibuffer-completion-help): Adjust accordingly.
13401 Use completion-list-insert-choice-function.
13402 (completion-at-point, completion-help-at-point):
13403 Bind completion-extra-properties.
13404 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13405 * simple.el (completion-list-insert-choice-function): New var.
13406 (completion-setup-function): Preserve it.
13407 (choose-completion): Pay attention to it, shuffle the code a bit.
13408 (choose-completion-string): New arg `insert-function'.
13409
13410 * textmodes/bibtex.el: Convert to lexical binding.
13411 (bibtex-mode-map): Use completion-at-point.
13412 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13413 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13414 (bibtex-complete): Define as obsolete alias.
13415 (bibtex-complete-internal): Remove.
13416 (bibtex-format-entry): Remove unused sub-group in regexp.
13417 * shell.el (shell--command-completion-data)
13418 (shell-environment-variable-completion):
13419 * pcomplete.el (pcomplete-completions-at-point):
13420 * comint.el (comint--complete-file-name-data): Use :exit-function
13421 instead of completion-table-with-terminator so it also works for
13422 choose-completion.
13423
e44e373d
SM
134242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13425
4f91a816
SM
13426 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13427
782fc819
SM
13428 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13429 (bug#8710).
13430
e44e373d
SM
13431 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13432
381987c3
KM
134332011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13434
13435 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13436 customization variable and implement: If non-nil, auto-fill will
13437 be inhibited while on topic's header line.
13438
b776bc70
VB
134392011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13440
13441 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13442 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13443 always have a solution in grid size = 5 cases.
13444 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13445 (5x5-solver-output, 5x5-log-buffer): New vars.
13446 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13447 Make these variables buffer local to achieve 5x5 multi-session-ness.
13448 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13449 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13450 (5x5-solve-suggest): New funs.
13451 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13452 randomize a grid so that we ensure that there is always a solution.
13453 (5x5-make-random-grid): Allow other movement than flipping.
13454
7de88b6e
KR
134552011-05-23 Kevin Ryde <user42@zip.com.au>
13456
13457 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13458 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13459 advice and passes PREDICATE.
13460
b1ef1257
SM
134612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13462
bbca48fe
SM
13463 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13464 byte-compile-lambda if it's actually a lambda.
13465
b1ef1257
SM
13466 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13467 Fix function quoting. Use backquote better.
13468
92a9cc65
YS
134692011-05-22 Yuanle Song <sylecn@gmail.com>
13470
13471 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13472 matching (Bug#8516).
13473
f0fb8059
JA
134742011-01-22 Jari Aalto <jari.aalto@cante.net>
13475
13476 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13477 different face (Bug#8178).
13478
d5b44c93
CY
134792011-05-22 Chong Yidong <cyd@stupidchicken.com>
13480
13481 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13482 defface (Bug#8144).
13483
79106a44
SM
134842011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13485
9c848d8a
SM
13486 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13487 funcall as well (bug#8712). Warn when performing those conversions.
13488 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13489
79106a44
SM
13490 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13491
88dfa756
GM
134922011-05-22 Glenn Morris <rgm@gnu.org>
13493
13494 * files.el (hack-local-variables-prop-line): Small simplifications.
13495 (hack-local-variables, hack-local-variables-prop-line):
13496 If MODE-ONLY, return the mode, rather than just `t'.
13497
b7cf2c79
SM
134982011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13501
3f1a8558
GM
135022011-05-21 Glenn Morris <rgm@gnu.org>
13503
7e4ccca3
GM
13504 * files.el (hack-local-variables-prop-line, hack-local-variables):
13505 If only interested in the mode, don't bother doing the other stuff.
13506
637d46ca
GM
13507 * image-mode.el (image-after-revert-hook):
13508 Redraw all frames on which the image is visible. (Bug#8567)
13509
973d955b
GM
13510 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13511
3f1a8558
GM
13512 * wid-edit.el (widget-checklist-match-inline):
13513 Fix 2011-04-19 change. (Bug#8649)
13514
96479927
SM
135152011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13516
1dcf791f
SM
13517 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13518 Also allow singlespace after single-letter capitals followed by a dot.
13519
96479927
SM
13520 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13521 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13522
35fd0881
N
135232011-05-20 Nix <nix@esperi.org.uk>
13524
13525 * files.el (basic-save-buffer-2):
13526 Fix handling of break-hardlink-on-save with non-existent files.
13527
82745640
DD
135282011-05-19 Deniz Dogan <deniz@dogan.se>
13529
13530 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13531 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13532
4a720484
GM
135332011-05-19 Glenn Morris <rgm@gnu.org>
13534
d1f21341
GM
13535 * progmodes/f90.el (f90-type-def-re):
13536 Handle "type, bind(c)". (Bug#8691)
13537
4a720484
GM
13538 * emacs-lisp/autoload.el (batch-update-autoloads):
13539 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13540
2fb0a219
MA
135412011-05-18 Michael Albinus <michael.albinus@gmx.de>
13542
13543 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13544 property for the correct connection in case of multihops.
13545
e565dd37
GM
135462011-05-18 Glenn Morris <rgm@gnu.org>
13547
c2571358 13548 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13549 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13550
e565dd37
GM
13551 Rationalize calendar handling of day and month abbrev-arrays.
13552 * calendar/calendar.el (calendar-customized-p): New function.
13553 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13554 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13555 Add :set function.
13556 (calendar-abbrev-length, calendar-day-abbrev-array)
13557 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13558 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13559 Elements may no longer be nil.
13560 (calendar-day-name, calendar-month-name):
13561 Update for changed nature of abbrev arrays.
13562 * calendar/diary-lib.el (diary-name-pattern):
13563 Update for changed nature of abbrev arrays.
13564 (diary-mark-entries-1): Update calendar-make-alist calls.
13565 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13566 * calendar/cal-html.el (cal-html-day-abbrev-array):
13567 Simply inherit from calendar-day-abbrev-array.
13568
1d99a745
SM
135692011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * progmodes/grep.el (grep-mode): Disable default
13572 compilation-directory-matcher setting (bug#8684).
13573
7c1d9aa0
MA
135742011-05-17 Michael Albinus <michael.albinus@gmx.de>
13575
13576 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13577 instead of "head" and "tail". There were problems with SunOS 5.9,
13578 and it performs better.
13579
3952e9d8
GM
135802011-05-17 Glenn Morris <rgm@gnu.org>
13581
2dd12e7f
GM
13582 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13583
e4157b9c
GM
13584 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13585 Replace obsolete function.
13586
8e249bbd
GM
13587 * shell.el (pcomplete-parse-arguments-function): Declare.
13588
3952e9d8
GM
13589 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13590 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13591 (appt-check): Doc fixes.
13592 (appt-disp-window-function, appt-delete-window-function):
13593 Remove needless special case in custom :type.
13594 (appt-display-count): Default to 0, not nil.
13595 (appt-check): Reset appt-display-count to 0, not nil.
13596
c71a0d48 135972011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13598
c71a0d48
GM
13599 * progmodes/python.el (python-font-lock-keywords):
13600 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13601
31d55be9
SM
136022011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13605
3bfacb2f
KR
136062011-05-16 Kevin Ryde <user42@zip.com.au>
13607
13608 * info-look.el (makefile-automake-mode): New setups, looking in
13609 automake manual, then makefile-mode.
13610 (makefile-mode): Remove automake manual, have it just in
13611 makefile-automake-mode since there's various things different or
13612 not relevant to plain make.
13613 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13614 believe a hypothetical automake-mode would go to makefile-mode,
13615 not the other way around.
13616
c8e83751
CY
136172011-05-15 Chong Yidong <cyd@stupidchicken.com>
13618
5e9e35cd
CY
13619 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13620 hunk-end tags (Bug#8672).
13621
c8e83751
CY
13622 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13623 vc-annotate-show-diff-revision-at-line (Bug#8671).
13624
50b23e5a
GM
136252011-05-14 Glenn Morris <rgm@gnu.org>
13626
7210a739
GM
13627 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13628 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13629 (change-log-font-lock-keywords): Also handle multiple author lines
13630 with leading tabs. (Bug#8644)
7210a739 13631
4691905a
GM
13632 * calendar/appt.el (appt-check): Rename some local variables.
13633 Some simplification/reordering.
13634
50b23e5a
GM
13635 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13636 (feedmail-sendmail-f-doesnt-sell-me-out)
13637 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13638 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13639 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13640 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13641 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13642 (feedmail-binmail-gnulinuxish-template):
13643 Rename from feedmail-binmail-linuxish-template.
13644 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13645 Use insert-buffer-substring.
13646
215cda7c
BC
136472011-05-14 Bill Carpenter <bill@carpenter.org>
13648
13649 * mail/feedmail.el (feedmail-patch-level): Increase.
13650 (feedmail-debug): New custom group.
13651 (feedmail-confirm-outgoing-timeout)
13652 (feedmail-sendmail-f-doesnt-sell-me-out)
13653 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13654 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13655 (feedmail-sender-line, feedmail-from-line)
13656 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13657 (feedmail-spray-this-address)
215cda7c
BC
13658 (feedmail-spray-address-fiddle-plex-list)
13659 (feedmail-queue-use-send-time-for-date)
13660 (feedmail-queue-use-send-time-for-message-id)
13661 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13662 (feedmail-buffer-eating-function):
13663 Doc fixes.
13664 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13665 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13666 (feedmail-message-action-scroll-down): New functions.
13667 (feedmail-queue-directory, feedmail-queue-draft-directory):
13668 Use expand-file-name.
13669 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13670 Remove C-v help entry.
13671 (feedmail-queue-buffer-file-name): New variable.
13672 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13673 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13674 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13675 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13676 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13677 (feedmail-message-action-toggle-spray)
13678 (feedmail-run-the-queue-no-prompts)
13679 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13680 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13681 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13682 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13683 (feedmail-envelope-deducer, feedmail-fiddle-from)
13684 (feedmail-fiddle-sender, feedmail-default-date-generator)
13685 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13686 (feedmail-fiddle-spray-address)
13687 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13688 (feedmail-fiddle-list-of-fiddle-plexes)
13689 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13690 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13691 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13692 Change default. Doc fix.
13693 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13694 (feedmail-binmail-linuxish-template): New constant.
13695 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13696 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13697 (feedmail-send-it): Add debug call.
13698 Use feedmail-queue-buffer-file-name, and
13699 feedmail-send-it-immediately-wrapper.
13700 (feedmail-message-action-send): Add debug call.
13701 Use feedmail-send-it-immediately-wrapper.
13702 (feedmail-queue-express-to-queue): Add debug call.
13703 Run feedmail-queue-express-hook.
13704 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13705 (feedmail-message-action-help-blat):
13706 Rename from feedmail-queue-send-edit-prompt-help-first.
13707 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13708 Check line-endings. Handle errors better.
13709 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13710 Doc fix. Add debug call.
13711 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13712 Use feedmail-queue-send-edit-prompt-inner.
13713 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13714 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13715 from feedmail-queue-send-edit-prompt.
13716 (feedmail-queue-send-edit-prompt-help)
13717 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13718 (feedmail-tidy-up-slug): Add debug call.
13719 Respect feedmail-queue-slug-suspect-regexp.
13720 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13721 (feedmail-dump-message-to-queue): Add debug call.
13722 Expand queue-directory.
13723 (feedmail-dump-message-to-queue): Change message slightly.
13724 Use feedmail-say-chatter.
13725 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13726 (feedmail-send-it-immediately-wrapper): New function.
13727 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13728 Insert empty string rather than newline. Handle full-frame case.
13729 Use catch/throw. Use feedmail-say-chatter.
13730 (feedmail-fiddle-from): Try mail-host-address.
13731 (feedmail-default-message-id-generator): Doc fix.
13732 Bind system-time-locale. Handle missing end.
13733 (feedmail-fiddle-x-mailer): Add debug call.
13734 Handle feedmail-x-mailer-line being nil.
13735 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13736 Add debug call. Use buffer-substring-no-properties.
13737 (feedmail-say-debug, feedmail-say-chatter): New functions.
13738 (feedmail-find-eoh): Give an explicit error.
13739
42c7e61e
UJ
137402011-05-13 Ulf Jasper <ulf.jasper@web.de>
13741
c2571358 13742 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13743 family from helvetica to sans.
c2571358 13744 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13745 etc/images/newsticker.
13746
c2571358 13747 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13748 family from helvetica to sans.
13749
13750 * net/newst-plainview.el (newsticker-new-item-face)
13751 (newsticker-old-item-face, newsticker-immortal-item-face)
13752 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13753 (newsticker-statistics-face): Change default family from
42c7e61e 13754 helvetica to sans.
c2571358 13755 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13756 etc/images/newsticker.
13757
5d3385a0
JB
13758 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13759 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13760 auto-marking.
13761
8497a297
DV
137622011-05-13 Didier Verna <didier@xemacs.org>
13763
13764 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13765 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13766 TODO entries.
8497a297
DV
13767 (lisp-lambda-list-keyword-parameter-indentation)
13768 (lisp-lambda-list-keyword-parameter-alignment)
13769 (lisp-lambda-list-keyword-alignment): New customizable user options.
13770 (lisp-indent-defun-method): Improve docstring.
13771 (extended-loop-p): Fix comment.
13772 (lisp-indent-lambda-list-keywords-regexp): New variable.
13773 (lisp-indent-lambda-list): New function.
13774 (lisp-indent-259): Use it.
13775 (lisp-indent-defmethod): Support for more than one
13776 method qualifier and properly indent methods lambda-lists.
13777 (defgeneric): Provide a missing common-lisp-indent-function property.
13778
f278f87f
SM
137792011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13780
13781 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13782 bounds for the empty string (bug#8667).
13783
5233edd7
GM
137842011-05-13 Glenn Morris <rgm@gnu.org>
13785
5237a44f
GM
13786 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13787
8340026c 13788 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13789 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13790
5233edd7 13791 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13792 (appt-time-msg-list): Doc fix.
a5464014 13793 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13794
92d10796
AS
137952011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13796
13797 * progmodes/ld-script.el (ld-script-keywords)
13798 (ld-script-builtins): Update keywords list.
13799
914a0ae1
SM
138002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13801
c89be45f
SM
13802 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13803
914a0ae1
SM
13804 * shell.el (shell-completion-vars): New function.
13805 (shell-mode):
13806 * simple.el (read-shell-command): Use it.
13807 (blink-matching-open): No need for " [...]" in minibuffer-message.
13808
98dc3df3
GM
138092011-05-12 Glenn Morris <rgm@gnu.org>
13810
13811 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13812 (appt-check): Simplify.
13813
d2fc7e3d 138142011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13815
4d61f28d 13816 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13817 literal "/dev/null".
13818
d2fc7e3d 138192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13820
13821 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13822 Fix typo.
13823
d2fc7e3d 138242011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13825
3f254caa
SM
13826 * progmodes/which-func.el (which-function):
13827 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13828 which might not be defined (Bug#8260).
13829
d45885f7
GM
138302011-05-12 Glenn Morris <rgm@gnu.org>
13831
13832 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13833 Let byte-compile-initial-macro-environment always take precedence.
13834
488086f4
SM
138352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * net/rcirc.el: Add support for SSL/TLS connections.
13838 (rcirc-server-alist): New field `encryption'.
13839 (rcirc): Check `encryption' settings.
13840 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13841 Merge make-local-variable into `set'.
13842 (rcirc--connection-open-p): New function.
13843 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13844 the process is not a network process (e.g. running gnutls-cli).
13845 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13846 Make rcirc-(en|de)code-coding-system local here.
13847 (rcirc-mode): Merge make-local-variable into `set'.
13848 (rcirc-parent-buffer): Make permanent buffer-local.
13849 (rcirc-multiline-minor-mode): Don't do it here.
13850 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13851 there's no server buffer.
13852
7d3b9d44
GM
138532011-05-11 Glenn Morris <rgm@gnu.org>
13854
f64049c6
GM
13855 * newcomment.el (comment-kill): Prefix "unused" local.
13856
93c9df73
GM
13857 * term/w32console.el (get-screen-color): Declare.
13858
7d3b9d44
GM
13859 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13860 Handle symbol elements of byte-compile-initial-macro-environment.
13861
9e2dd53f
LL
138622011-05-10 Leo Liu <sdl.web@gmail.com>
13863
488086f4
SM
13864 * bookmark.el (bookmark-bmenu-mode-map):
13865 Bind bookmark-bmenu-search to `/'.
8b340240 13866
9e2dd53f 13867 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13868 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13869 (Footnote-unicode): New function.
13870 (footnote-style-alist): Add unicode style to the list.
13871 (footnote-style): Doc fix.
9e2dd53f 13872
79b70037
GM
138732011-05-10 Jim Meyering <meyering@redhat.com>
13874
13875 Fix doubled-word typos.
13876 * international/quail.el (quail-insert-kbd-layout): and and -> and
13877 * kermit.el: and and -> and
13878 * net/ldap.el (ldap-search-internal): to to -> to
13879 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13880 * progmodes/js.el (js-mode): and and -> and
13881 * textmodes/artist.el (artist-move-to-xy): at at -> at
13882 (artist-draw-region-trim-line-endings): if if -> if
13883 And Safetyc -> Safety.
13884 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13885
b8f82dc1 138862011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13887 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13888
13889 * files.el (hack-one-local-variable-eval-safep):
13890 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13891
4f99f44b
GM
138922011-05-10 Glenn Morris <rgm@gnu.org>
13893
13894 * calendar/diary-lib.el (diary-list-entries-hook)
13895 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13896 (diary-nongregorian-marking-hook, diary-list-entries)
13897 (diary-include-other-diary-files, diary-mark-entries)
13898 (diary-mark-included-diary-files): Doc fixes.
13899
84f29e6b
JB
139002011-05-09 Juanma Barranquero <lekktu@gmail.com>
13901
13902 * misc.el: Require tabulated-list.el during compilation.
13903
9bedd73a
CY
139042011-05-09 Chong Yidong <cyd@stupidchicken.com>
13905
488086f4
SM
13906 * progmodes/compile.el (compilation-start):
13907 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13908 (compilation-filter-hook): Doc fix.
13909
797c735c
DD
139102011-05-09 Deniz Dogan <deniz@dogan.se>
13911
13912 * wdired.el: Remove outdated installation comment. Fix usage
13913 comment.
13914
5f4b1dfe
JB
139152011-05-09 Juanma Barranquero <lekktu@gmail.com>
13916
13917 * misc.el: Implement new command `list-dynamic-libraries'.
13918 (list-dynamic-libraries--loaded-only-p): New variable.
13919 (list-dynamic-libraries--refresh): New function.
13920 (list-dynamic-libraries): New command.
13921
4c44026c
CY
139222011-05-09 Chong Yidong <cyd@stupidchicken.com>
13923
488086f4
SM
13924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13925 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13926 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13927 higher priority to avoid clobbering by gnu.
13928
027f966d
CY
139292011-05-08 Chong Yidong <cyd@stupidchicken.com>
13930
13931 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13932 if the face has existing theme settings (Bug#8454).
13933
085f5d7d
CY
139342011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13935
488086f4
SM
13936 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13937 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13938
2a86a00c
RS
13939 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13940 special file names `.' and `..' (Bug#8259).
13941
d9c54a06
CY
139422011-05-08 Chong Yidong <cyd@stupidchicken.com>
13943
488086f4
SM
13944 * progmodes/grep.el (grep-mode-font-lock-keywords):
13945 Remove buffer-changing entries.
d9c54a06
CY
13946 (grep-filter): New function.
13947 (grep-mode): Add it to compilation-filter-hook.
13948
13949 * progmodes/compile.el (compilation-filter-hook)
13950 (compilation-filter-start): New defvars.
13951 (compilation-filter): Call compilation-filter-hook prior to
13952 updating the process mark.
13953
c4662635
SM
139542011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13957
b0512a1d
EZ
139582011-05-07 Eli Zaretskii <eliz@gnu.org>
13959
605c9376
EZ
13960 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13961 mailclient-send-it even if window-system is nil. (Bug#8595)
13962
c4662635
SM
13963 * term/w32console.el (terminal-init-w32console):
13964 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13965 background-mode. (Bug#8597)
13966
d1dc2cc2
SM
139672011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13970 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13971 New functions.
13972 (defgeneric, eieio--defmethod): Use them.
13973 (eieio-defgeneric): Remove.
13974 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13975
915d1300
GM
139762011-05-07 Glenn Morris <rgm@gnu.org>
13977
a3961c3e
GM
13978 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13979 Use let rather than let*.
13980 (timeclock-find-discrep): Remove unused local.
13981
314347b9
GM
13982 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13983
915d1300
GM
13984 * calendar/appt.el (appt-time-msg-list): Doc fix.
13985
275b59b0
NF
139862011-05-06 Noah Friedman <friedman@splode.com>
13987
13988 * apropos.el (apropos-print-doc): Only use
13989 emacs-lisp-docstring-fill-column when it is bound to an integer,
13990 per that variable's documentation.
13991
6c19f744
SM
139922011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13995 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13996
60f884b2
GM
139972011-05-06 Glenn Morris <rgm@gnu.org>
13998
5006e634
GM
13999 * calendar/appt.el (appt-message-warning-time): Doc fix.
14000 (appt-warning-time-regexp): New option.
14001 (appt-make-list): Respect appt-message-warning-time.
14002
548d0a63
GM
14003 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14004 New options.
14005 (diary-add-to-list): Strip comments from the displayed string.
14006 (diary-mode): Set comment-start and comment-end.
14007
60f884b2
GM
14008 * vc/diff-mode.el (smerge-refine-subst): Declare.
14009 (diff-refine-hunk): Don't require smerge-mode when compiling.
14010
989681bb
JB
140112011-05-06 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * simple.el (list-processes): Return nil as the docstring says.
14014
a6bc05e1
MA
140152011-05-05 Michael Albinus <michael.albinus@gmx.de>
14016
14017 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14018 to "".
14019 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14020 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14021 determining of binary transfer. (Bug#7383)
14022
23c22e9a
MA
140232011-05-05 Michael Albinus <michael.albinus@gmx.de>
14024
c4662635
SM
14025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14026 Fix port computation bug. (Bug#8618)
23c22e9a 14027
0bff894f
GM
140282011-05-05 Glenn Morris <rgm@gnu.org>
14029
b8296902
GM
14030 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14031
1f522ce8
GM
14032 * simple.el (shell-dynamic-complete-functions)
14033 (comint-dynamic-complete-functions): Declare.
14034
cf5bee67
GM
14035 * net/network-stream.el (gnutls-negotiate):
14036 * simple.el (tabulated-list-print): Fix declarations.
14037
14038 * progmodes/gud.el (syntax-symbol, syntax-point):
14039 Remove unnecessary and incorrect declarations.
14040
0bff894f
GM
14041 * emacs-lisp/check-declare.el (check-declare-scan):
14042 Handle byte-compile-initial-macro-environment in bytecomp.el
14043
9869b3ae
SM
140442011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 Fix earlier half-done eieio-defmethod change (bug#8338).
14047 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14048 Streamline and change calling convention.
14049 (defmethod): Adjust accordingly and simplify.
14050 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14051 new eieio--defmethod.
14052 (slot-boundp): Minor CSE simplification.
14053
9c1d5ac5
MZ
140542011-05-05 Milan Zamazal <pdm@zamazal.org>
14055
14056 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14057 (glasses-make-readable): Use glasses-separate-capital-groups.
14058
455c834e
JB
140592011-05-05 Juanma Barranquero <lekktu@gmail.com>
14060
14061 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14062 (warning-series): Doc fix.
14063 (display-warning): Don't try to create the buffer if we just found it.
14064
9ed7c8cb
CY
140652011-05-04 Chong Yidong <cyd@stupidchicken.com>
14066
14067 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14068 (autoload-find-generated-file): New function.
14069 (generate-file-autoloads): Bind generated-autoload-file to
14070 buffer-file-name.
9869b3ae
SM
14071 (update-file-autoloads, update-directory-autoloads):
14072 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14073 output file (Bug#7989).
14074 (batch-update-autoloads): Doc fix.
14075
0898ca10
JB
140762011-05-04 Juanma Barranquero <lekktu@gmail.com>
14077
14078 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14079
31dfb76c
GM
140802011-05-04 Glenn Morris <rgm@gnu.org>
14081
f330b642
GM
14082 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14083 function, so it follows changes in calendar-date-style.
14084 (diary-fancy-date-matcher): New function.
14085 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14086 (diary-fancy-font-lock-fontify-region-function):
14087 Use diary-fancy-date-pattern as a function.
14088
31dfb76c
GM
14089 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14090 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14091
48e79d6a
TZ
140922011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14093
14094 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14095 instead of positional arguments. Allow :keylist and :crlfiles
14096 arguments.
14097 (open-gnutls-stream): Call it.
14098
14099 * net/network-stream.el (network-stream-open-starttls): Adjust to
14100 call `gnutls-negotiate' with :process and :hostname arguments.
14101
dd5a5ee0
SM
141022011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14103
ef80fc09
SM
14104 * minibuffer.el (completion--message): New function.
14105 (completion--do-completion, minibuffer-complete)
14106 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14107 (completion--do-completion): Don't ignore completion-auto-help when in
14108 icomplete-mode.
14109
dd5a5ee0
SM
14110 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14111 internal encoding (e.g. tibetan zero is not whitespace).
14112 (global-whitespace-mode): Prefer save-current-buffer.
14113 (whitespace-trailing-regexp): Remove useless save-match-data.
14114 (whitespace-empty-at-bob-regexp): Minor simplification.
14115
b7d22a83
CY
141162011-05-03 Chong Yidong <cyd@stupidchicken.com>
14117
14118 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14119
5192af46
AM
141202011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14121
14122 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14123 Use `concat' to create string for insertion.
5192af46 14124
5767d190
SM
141252011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14128 Avoid open-line which runs post-self-insert-hook.
14129 (bibtex-fill-entry): Remove unused `end' var.
14130
bf242939
AM
141312011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14132
5767d190
SM
14133 * textmodes/ispell.el (ispell-add-per-file-word-list):
14134 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14135
25666126
LL
141362011-05-03 Leo Liu <sdl.web@gmail.com>
14137
14138 * isearch.el (isearch-yank-pop): New command.
5767d190 14139 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14140 (isearch-forward): Mention it.
14141
52d3c2d0
SM
141422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14143
1bcace58
SM
14144 * simple.el (minibuffer-complete-shell-command): Remove.
14145 (minibuffer-local-shell-command-map): Use completion-at-point.
14146 (read-shell-command): Setup completion vars here instead.
14147 (read-expression-map): Bind TAB to symbol completion.
14148
52d3c2d0
SM
14149 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14150 error directly rather via storing it into `results'.
14151
35813471
LL
141522011-05-02 Leo Liu <sdl.web@gmail.com>
14153
14154 * vc/diff.el: Fix description.
14155
e793a940
LMI
141562011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14157
14158 * server.el (server-eval-at): New function.
14159
8de66e05
LMI
141602011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14161
14162 * net/network-stream.el (open-network-stream): Take a :nowait
14163 parameter and pass it on to `make-network-process'.
14164 (network-stream-open-plain): Ditto.
14165
dcb79f20
AS
141662011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * faces.el (face-spec-set-match-display): Don't match toolkit
14169 options on terminal frames.
14170
14a7fbd8
SM
141712011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14172
7eabc1be
SM
14173 * progmodes/pascal.el: Use lexical binding.
14174 (pascal-mode-map): Remove author preferences.
14175
14a7fbd8
SM
14176 * pcomplete.el (pcomplete-std-complete): Don't abuse
14177 completion-at-point.
14178
50f84510
JB
141792011-04-28 Juanma Barranquero <lekktu@gmail.com>
14180
6e087a44
JB
14181 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14182 removing code that has been dead since 1991 or so.
14183
50f84510
JB
14184 * startup.el (command-line): When warning about "_emacs", use a
14185 delayed warning to allow the user to filter it out.
14186
0ba690bd
DD
141872011-04-28 Deniz Dogan <deniz@dogan.se>
14188
14189 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14190 user has not joined.
14191
08abfaad
SM
141922011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14193
14194 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14195 aren't any completions at point.
14196
638f053a
JB
141972011-04-28 Juanma Barranquero <lekktu@gmail.com>
14198
14199 * subr.el (display-delayed-warnings): New function.
14200 (delayed-warnings-hook): New variable.
14201
8fff8daa
SM
142022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14203
08abfaad
SM
14204 * minibuffer.el (completion-at-point, completion-help-at-point):
14205 Don't presume that a given completion-at-point-function will always
14206 use the same calling convention.
14207
8fff8daa
SM
14208 * pcomplete.el (pcomplete-completions-at-point):
14209 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14210 pcomplete-seen is non-nil.
14211 (pcomplete-comint-setup): Also recognize the new comint/shell
14212 completion functions.
14213 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14214 pcomplete-seen is non-nil.
14215
841a1577 142162011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14217
841a1577 14218 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14219 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14220 the first character in the entry. This allows for code to add its
211ec907
UJ
14221 own uid to the entry.
14222 (icalendar--convert-float-to-ical): Add export of
14223 `diary-float'-entries save for those with the optional DAY
14224 argument.
14225
2a782793
DC
142262011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14227
14228 * subr.el (shell-quote-argument): Use alternate escaping strategy
14229 when we spot a variable reference in a string.
14230
0438ce91
DC
142312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14232
14233 * cus-start.el (all): Define customization for debug-on-event.
14234
841a1577 142352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14236
14237 * subr.el (shell-quote-argument): Escape correctly under Windows.
14238
d090ed6c
SM
142392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14242
bfd31217
MA
142432011-04-25 Michael Albinus <michael.albinus@gmx.de>
14244
d090ed6c
SM
14245 * net/tramp.el (tramp-process-actions): Add POS argument.
14246 Delete region between POS and (pos).
bfd31217 14247
d090ed6c
SM
14248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14249 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14250 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14251
14252 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14253 position in `tramp-process-actions' call.
14254
14255 * net/trampver.el: Update release number.
14256
e92f3bd3
SM
142572011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14258
850256b5
SM
14259 * custom.el (defcustom): Obey lexical-binding.
14260
e92f3bd3
SM
14261 Fix octave-inf completion problems reported by Alexander Klimov.
14262 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14263 Inherit from octave-mode-syntax-table.
14264 (inferior-octave-mode): Set info-lookup-mode.
14265 (inferior-octave-completion-at-point): New function.
14266 (inferior-octave-complete): Use it and completion-in-region.
14267 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14268 comint-filename-completion.
14269 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14270 symbol elements which shouldn't be word elements.
14271 (octave-font-lock-keywords, octave-beginning-of-defun)
14272 (octave-function-header-regexp): Adjust regexps accordingly.
14273 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14274
cd22b309
JB
142752011-04-25 Juanma Barranquero <lekktu@gmail.com>
14276
14277 * net/gnutls.el (gnutls-errorp): Declare before first use.
14278
8b492194
TZ
142792011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14280
14281 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14282 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14283 default trustfile exists before going to use it. Add missing
5a5fa834 14284 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14285 Reported by Claudio Bley <claudio.bley@gmail.com>.
14286 (open-gnutls-stream): Add usage example.
14287
14288 * net/network-stream.el (network-stream-open-starttls): Give host
14289 parameter to `gnutls-negotiate'.
14290 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14291 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14292
841a1577 142932011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14294
cd22b309
JB
14295 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14296 Use correct match group (bug#8438).
05842630 14297
3ba7869c
CY
142982011-04-24 Chong Yidong <cyd@stupidchicken.com>
14299
512e3ae1
CY
14300 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14301 (package-menu--generate): New arg specifying packages to show.
14302 (package-menu-refresh, package-menu-execute, list-packages):
14303 Callers changed.
14304 (package-show-package-list): New function, replacing deleted
14305 package--list-packages (renamed because it is non-internal).
14306
14307 * finder.el (finder-list-matches): Use package-show-package-list
14308 instead of deleted package--list-packages.
14309
e92f3bd3
SM
14310 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14311 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14312 (vc-annotate-mode-map): Bind it to RET.
14313
7031be6d
UR
143142011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14315
14316 * progmodes/etags.el (next-file): Don't use set-buffer to change
14317 buffers (Bug#8478).
14318
4ef177aa
CY
143192011-04-24 Chong Yidong <cyd@stupidchicken.com>
14320
c8d173eb
CY
14321 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14322
4ef177aa
CY
14323 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14324 (apropos-accumulator): Doc fix.
14325 (apropos-function, apropos-macro, apropos-command)
14326 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14327 (apropos-plist): Add face property.
14328 (apropos-symbols-internal): Fix indentation.
14329 (apropos-print): Simplify help, and recognize apropos-multi-type.
14330 (apropos-print-doc): Use button-type-get to extract the button's
14331 face property. Fill docstring (Bug#8352).
14332
4ffd0d6b 143332011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14334
14335 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14336
c6c32125 14337 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14338 (mpuz-mode-map): Use mapc.
c6c32125
JB
14339 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14340 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14341 Fix typos in docstrings.
14342
58d468b4
JB
14343 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14344 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14345
6470c3c6
JB
14346 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14347
4ffd0d6b 143482011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14349
14350 * minibuffer.el (completion--do-completion): Avoid the "Next char
14351 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14352
3ad8bad0
CY
14353 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14354 mouse-2 into unread-command-events, it is interpreted correctly.
14355
71d73c9c 14356 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14357 (image-toggle-display): Doc fix.
71d73c9c 14358
841a1577 143592011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14360
4ffd0d6b
GM
14361 * textmodes/page.el (what-page): Use line-number-at-pos to
14362 calculate line number (Bug#6825).
6e1dbaa9 14363
c2fb1b60
JB
143642011-04-22 Juanma Barranquero <lekktu@gmail.com>
14365
14366 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14367 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14368 Pass argument NO-DEFAULT to `find-tag-interactive'.
14369
e02f48d7
JB
143702011-04-22 Juanma Barranquero <lekktu@gmail.com>
14371
14372 Lexical-binding cleanup.
14373
14374 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14375 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14376 * progmodes/ada-prj.el (ada-prj-initialize-values)
14377 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14378 (ada-prj-show-value):
14379 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14380 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14381 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14382 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14383 * progmodes/bug-reference.el (bug-reference-push-button):
14384 * progmodes/fortran.el (fortran-line-length):
14385 * progmodes/glasses.el (glasses-change):
14386 * progmodes/octave-mod.el (octave-fill-paragraph):
14387 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14388 (python-pdbtrack-grub-for-buffer, python-sentinel):
14389 * progmodes/sql.el (sql-save-connection):
14390 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14391 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14392 Mark unused parameters.
14393
14394 * progmodes/compile.el (compilation--flush-directory-cache)
14395 (compilation--flush-parse, compile-internal): Mark unused parameters.
14396 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14397 (compilation-next-error-function): Remove unused variable `timestamp'.
14398
14399 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14400 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14401
14402 * progmodes/dcl-mode.el (dcl-end-of-command):
14403 Remove unused variable `start'.
14404 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14405 (dcl-option-value-basic, dcl-option-value-offset)
14406 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14407 Mark unused parameters.
14408 (dcl-save-local-variable): Remove unused variable `val'.
14409 (mode): Declare.
14410
14411 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14412 Mark unused parameters.
14413 (delphi-ignore-changes): Move before first use.
14414 (delphi-charset-token-at): Remove unused variable `start'.
14415 (delphi-else-start): Remove unused variable `if-count'.
14416 (delphi-comment-block-start, delphi-comment-block-end):
14417 Remove unused variable `kind'.
14418 (delphi-indent-line): Remove unused variable `new-point'.
14419
14420 * progmodes/ebrowse.el (ebrowse-files-list)
14421 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14422 Mark unused parameters. Don't quote `lambda'.
14423 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14424 Don't quote `lambda'.
14425 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14426 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14427 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14428 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14429 Use `ignore-errors'.
14430 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14431 (ebrowse-view/find-file-and-search-pattern)
14432 (ebrowse-view/find-member-declaration/definition):
14433 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14434 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14435 Rename parameter PREFIX-ARG to PREFIX.
14436 (ebrowse-tags-read-name): Remove unused variables `start' and
14437 `member-info'.
14438 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14439 to `tags-file'.
14440
14441 * progmodes/etags.el (local-find-tag-hook): Declare.
14442 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14443 Mark unused parameters.
14444
14445 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14446 (executable-interpret): Mark unused parameter.
14447
14448 * progmodes/flymake.el (flymake-process-sentinel)
14449 (flymake-after-change-function)
14450 (flymake-create-temp-with-folder-structure)
14451 (flymake-get-include-dirs-dot): Mark unused parameters.
14452 (flymake-safe-delete-directory): Remove unused variable `err'.
14453
14454 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14455 (speedbar-timer-fn, speedbar-line-text)
14456 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14457 (speedbar-center-buffer-smartly): Declare functions.
14458 (gdb-find-watch-expression): Remove unused variable `array'.
14459 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14460 (gdb-starting): Mark unused parameters.
14461 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14462 (gdb-table-string): Remove unused variable `res'.
14463 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14464 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14465 (gdb-display-buffer): Remove unused variable `cur-size'.
14466
14467 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14468 allow lexical-binding compilation.
14469 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14470 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14471 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14472 Mark unused parameters.
14473 (gud-gdb-marker-filter): Remove unused variable `match'.
14474 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14475 lambda expressions and funcall them, instead of using `fset'.
14476
14477 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14478 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14479
14480 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14481 variable `header-beg'; use `let'.
14482
14483 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14484 `restart', `last-sexp' and `at-do'.
14485
14486 * progmodes/js.el (js--debug): Mark unused parameter.
14487 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14488 (js--splice-into-items): Remove unused variable `item'.
14489 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14490
14491 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14492 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14493 (makefile-complete): Remove unused variable `try'.
14494 (makefile-fill-paragraph, makefile-match-function-end):
14495 Mark unused parameters.
14496
14497 * progmodes/octave-inf.el (inferior-octave-complete):
14498 Remove unused variable `proc'.
14499 (inferior-octave-output-digest): Mark unused parameter.
14500
14501 * progmodes/perl-mode.el (perl-calculate-indent):
14502 Remove unused variable `err'.
14503
14504 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14505 (prolog-indent-line): Mark unused parameters.
14506 (prolog-indent-line): Remove unused variable `beg'.
14507
14508 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14509 (reporter-dont-compact-list): Declare.
14510
14511 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14512 Remove unused variable `char'.
14513 (sh-debug): Mark unused parameter.
14514 (sh-get-indent-info): Remove unused variable `start'.
14515 (sh-calculate-indent): Remove unused variable `var'.
14516
14517 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14518 (simula-electric-keyword): Remove unused variable `null'.
14519 (simula-search-backward, simula-search-forward): Remove unused
14520 variables `begin' and `end'.
14521
14522 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14523 Remove unused variable `pos'.
14524 (vera-electric-tab, vera-comment-uncomment-region):
14525 Mark unused parameters.
14526 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14527
7ede3b65
CY
145282011-04-22 Chong Yidong <cyd@stupidchicken.com>
14529
14530 * emacs-lisp/package.el (package--builtins, package-alist)
14531 (package-load-descriptor, package-built-in-p, package-activate)
14532 (define-package, package-installed-p)
14533 (package-compute-transaction, package-buffer-info)
14534 (package--push): Doc fix. Distinguish more clearly between
14535 version strings and version lists.
14536
121656e9
JB
145372011-04-21 Juanma Barranquero <lekktu@gmail.com>
14538
14539 Lexical-binding cleanup.
14540
14541 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14542 (5x5-make-mutate-best):
14543 * play/fortune.el (fortune-in-buffer):
14544 * play/gomoku.el (gomoku-init-display):
14545 * play/solitaire.el (solitaire, solitaire-do-check):
14546 * play/tetris.el (tetris-default-update-speed-function):
14547 Mark unused parameters.
14548
14549 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14550 (bubbles--shift): Remove unused variable `char-org'.
14551 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14552 (bubbles--show-images): Remove unused variable `char'.
14553
14554 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14555 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14556 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14557 (decipher-analyze-buffer): Use ?\s.
14558 (decipher-make-checkpoint): Remove unused variable `mapping'.
14559
14560 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14561
14562 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14563 Remove unused variable `result'; use `let'.
14564
14565 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14566 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14567 (gametree-children-shown-p, gametree-compute-reduced-score):
14568 Use `ignore-errors'.
14569
14570 * play/handwrite.el (ps-lpr-switches): Declare.
14571 (handwrite): Remove unused variables `pmin' and `lastp'.
14572
14573 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14574
14575 * play/landmark.el (landmark-init-display)
14576 (landmark-update-naught-weights): Mark unused parameters.
14577 (landmark-y): Remove unused variable `noise'. Simplify.
14578 (landmark-human-plays): Remove unused variable `score'.
14579
14580 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14581 (mpuz-try-proposal): Remove unused variable `game'.
14582
14583 * play/zone.el (life-patterns): Declare.
14584
80f499c7
JB
145852011-04-20 Juanma Barranquero <lekktu@gmail.com>
14586
14587 * vc/vc.el (ediff-vc-internal): Declare function.
14588
024ff170
SM
145892011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14590
c0a193ea
SM
14591 * shell.el: Use lexical-binding and std completion UI.
14592 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14593 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14594 comint-preoutput-filter-functions rather than on
14595 comint-output-filter-functions.
14596 (shell-command-completion, shell--command-completion-data)
14597 (shell-filename-completion, shell-environment-variable-completion)
14598 (shell-c-a-p-replace-by-expanded-directory): New functions.
14599 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14600 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14601 (shell-dynamic-complete-environment-variable): Use them.
14602 (shell-dynamic-complete-as-environment-variable)
14603 (shell-dynamic-complete-as-command): Remove.
14604 (shell-match-partial-variable): Match past point.
14605 * comint.el: Clean up use of completion-at-point-functions.
14606 (comint-completion-at-point): New function.
14607 (comint-mode): Use it completion-at-point-functions.
14608 (comint-dynamic-complete): Make it obsolete.
14609 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14610 (comint-c-a-p-replace-by-expanded-history): New function.
14611 (comint-dynamic-complete-functions)
14612 (comint-replace-by-expanded-history): Use it.
14613 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14614 termination strings. Try harder to avoid second try-completion.
14615 (completion-in-region-mode-map): Disable bindings that don't work yet.
14616
2dbaa080
SM
14617 * comint.el: Use lexical-binding. Require CL.
14618 (comint-dynamic-complete-functions): Use comint-filename-completion.
14619 (comint-completion-addsuffix): Tweak custom type.
14620 (comint-filename-completion, comint--common-suffix)
14621 (comint--common-quoted-suffix, comint--table-subvert)
14622 (comint--complete-file-name-data): New functions.
14623 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14624 (comint-dynamic-list-filename-completions): Use them.
14625 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14626
2dbaa080
SM
14627 * minibuffer.el (completion-in-region-mode):
14628 Keep completion-in-region-mode--predicate global.
14629 (completion-in-region--postch):
14630 Assume completion-in-region-mode--predicate is not null.
14631
c79a6f38
SM
14632 * progmodes/flymake.el (flymake-start-syntax-check-process):
14633 Obey `dir'. Simplify.
14634
024ff170
SM
14635 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14636 we're in VC after all.
14637
1c6c854e
CS
146382011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14639
14640 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14641 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14642 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14643
bed7f140
SM
146442011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14645
332e62ab
SM
14646 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14647 add sanity check.
14648
bed7f140
SM
14649 * obsolete/erc-hecomplete.el: Make obsolete.
14650 * obsolete/: Standardize obsolescence info in the header.
14651
f195c582
GM
146522011-04-20 Glenn Morris <rgm@gnu.org>
14653
14654 * calendar/solar.el (solar-horizontal-coordinates):
14655 Use the longitude argument rather than `calendar-longitude'.
14656 (solar-date-next-longitude): Remove unused locals.
14657
cb79b8c0
VJL
146582011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14659
14660 * whitespace.el: New version 13.2.1.
14661
146622011-04-20 felix <EmacsWiki> (tiny change)
14663
d8e4b68b 14664 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14665 switching between major modes on a file.
14666
602ea69d
SM
146672011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14670 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14671 multi-line comments as well.
14672
06b60517
JB
146732011-04-19 Juanma Barranquero <lekktu@gmail.com>
14674
14675 Lexical-binding cleanup.
14676
14677 * arc-mode.el (archive-mode-revert):
14678 * cmuscheme.el (scheme-interactively-start-process):
14679 * custom.el (custom-initialize-delay):
14680 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14681 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14682 * emacs-lock.el (emacs-lock-clear-sentinel):
14683 * ezimage.el (defezimage):
14684 * follow.el (follow-avoid-tail-recenter):
14685 * fringe.el (set-fringe-mode-1):
14686 * generic-x.el (bat-generic-mode-compile):
14687 * help-mode.el (help-info-variable, help-do-xref)
14688 (help-mode-revert-buffer):
14689 * help.el (view-emacs-todo):
14690 * iswitchb.el (iswitchb-completion-help):
14691 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14692 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14693 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14694 * locate.el (locate-update):
14695 * longlines.el (longlines-encode-region)
14696 (longlines-after-change-function):
14697 * outline.el (outline-isearch-open-invisible):
14698 * ps-def.el (declare-function, charset-dimension, char-width)
14699 (encode-char):
14700 * ps-mule.el (ps-mule-plot-string):
14701 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14702 (recentf-edit-list-select, recentf-edit-list-validate)
14703 (recentf-open-files-action):
14704 * rect.el (delete-whitespace-rectangle-line)
14705 (rectangle-number-line-callback):
14706 * register.el (window-configuration-to-register)
14707 (frame-configuration-to-register):
14708 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14709 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14710 (xselect-convert-to-targets, xselect-convert-to-delete)
14711 (xselect-convert-to-filename, xselect-convert-to-charpos)
14712 (xselect-convert-to-lineno, xselect-convert-to-colno)
14713 (xselect-convert-to-os, xselect-convert-to-host)
14714 (xselect-convert-to-user, xselect-convert-to-class)
14715 (xselect-convert-to-name, xselect-convert-to-integer)
14716 (xselect-convert-to-atom, xselect-convert-to-identity):
14717 * subr.el (declare, ignore, process-kill-without-query)
14718 (text-clone-maintain):
14719 * terminal.el (te-get-char, te-tic-sentinel):
14720 * tool-bar.el (tool-bar-make-keymap):
14721 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14722 * type-break.el (type-break-mode, type-break-noninteractive-query):
14723 * view.el (View-back-to-mark):
14724 * wid-browse.el (widget-browse-action, widget-browse-widget)
14725 (widget-browse-widgets, widget-browse-sexp):
14726 * widget.el (define-widget-keywords):
14727 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14728 Mark unused parameters.
14729
14730 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14731 (align-areas): Remove unused variable `look'.
14732 (align-region): Remove unused variables `real-end' and `pos-list'.
14733
14734 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14735
14736 * bindings.el (mode-line-modified, mode-line-remote):
14737 Mark unused parameters.
14738 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14739
14740 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14741 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14742
14743 * comint.el (comint-history-isearch-pop-state)
14744 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14745 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14746 (comint-substitute-in-file-name): Doc fix.
14747
14748 * completion.el (cmpl-statistics-block): Mark unused parameter.
14749 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14750 (save-completions-to-file, load-completions-from-file):
14751 Remove unused local variable `e'.
14752
14753 * composite.el (compose-chars): Remove unused variable `len'.
14754 (lgstring-insert-glyph): Remove unused variable `g'.
14755 (compose-glyph-string): Remove unused variables `ascent',
14756 `descent', `lbearing' and `rbearing'.
14757 (compose-glyph-string-relative): Remove unused variables
14758 `lbearing', `rbearing' and `wadjust'.
14759 (compose-gstring-for-graphic): Remove unused variables `header',
14760 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14761 (compose-gstring-for-terminal): Remove unused variables `header'
14762 and `nchars'. Use `let', not `let*'.
14763
14764 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14765 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14766 (Custom-buffer-done, custom-buffer-create-internal)
14767 (custom-browse-visibility-action, custom-browse-group-tag-action)
14768 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14769 (widget-magic-mouse-down-action, custom-toggle-parent)
14770 (custom-add-parent-links, custom-toggle-hide-variable)
14771 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14772 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14773 (custom-face-menu-create, custom-variable-menu-create, get)
14774 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14775 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14776 (customize-apropos): Remove unused variable `tests'.
14777 (custom-group-value-create): Remove unused variable `hidden-p'.
14778 (sort-fold-case): Declare.
14779
14780 * cus-theme.el (custom-reset-standard-faces-list)
14781 (custom-reset-standard-variables-list): Declare.
14782 (customize-create-theme, custom-theme-revert, custom-theme-write)
14783 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14784 Mark unused parameters.
14785
14786 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14787
14788 * delim-col.el (delimit-columns-max): Move defvar before first use.
14789
14790 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14791 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14792
14793 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14794 (auto-insert): Declare.
14795 (desktop-restore-file-buffer): Rename desktop-* parameters;
14796 mark unused ones.
14797 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14798 (desktop-buffer): Rename desktop-* parameters.
14799
14800 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14801 (dframe-reposition-frame-xemacs, dframe-help-echo)
14802 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14803 Mark unused parameters.
14804
14805 * dired-aux.el (backup-extract-version-start, overwrite-query)
14806 (overwrite-backup-query, rename-regexp-query)
14807 (rename-non-directory-query): Declare.
14808 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14809 (dired-add-entry): Remove unused variable `orig-file-name'.
14810 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14811 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14812 `dired-copy-preserve-time' directly.
14813 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14814 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14815
14816 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14817 (dired-virtual-revert, dired-make-relative-symlink):
14818 Mark unused parameters.
14819 (manual-program): Declare.
14820 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14821 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14822 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14823
14824 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14825
14826 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14827
14828 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14829 Declare.
14830
14831 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14832
14833 * electric.el (Electric-command-loop): Rename parameter
14834 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14835
14836 * expand.el (expand-in-literal): Remove unused variable `here'.
14837
14838 * facemenu.el (facemenu-add-new-color):
14839 Remove unused variable `docstring'.
14840
14841 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14842 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14843 (face-attr-construct): Mark unused parameter. Doc fix.
14844 (read-color): Remove unused variable `hex-string'.
14845
14846 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14847 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14848 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14849 (display-buffer-other-frame): Remove unused variable `old-window'.
14850 (kill-buffer-hook): Declare.
14851 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14852 Mark unused parameters.
14853 (after-find-file): Pass 1 to `auto-save-mode', not t.
14854
14855 * files-x.el (auto-insert): Declare.
14856 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14857
14858 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14859 variable `buf'. Mark unused parameter.
06b60517
JB
14860 (find-lisp-insert-directory): Mark unused parameter.
14861
14862 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14863 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14864 (format-common-tail): Remove, unused.
14865 (format-deannotate-region): Remove unused variable `loc'.
14866 (format-annotate-region): Remove unused variable `p'.
14867 (format-annotate-single-property-change): Remove unused variables
14868 `default' and `tail'.
14869
14870 * forms.el (read-file-filter): Declare.
14871 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14872
14873 * frame.el (frame-creation-function-alist): Mark unused parameter.
14874 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14875
14876 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14877 Remove unused parameters.
14878 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14879 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14880
14881 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14882 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14883 (hfy-prepare-tag-map): Mark unused parameters.
14884 (htmlfontify-buffer): Use `called-interactively-p'.
14885
14886 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14887 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14888 (ibuffer-do-occur): Mark unused parameters.
14889 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14890 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14891
14892 * ibuffer.el: Don't quote `lambda'.
14893 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14894 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14895 Mark unused parameters.
14896
14897 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14898 (ido-completing-read): Mark unused parameters.
14899 (ido-copy-current-word): Mark unused parameters;
14900 remove unused variable `name'.
14901 (ido-sort-merged-list): Remove unused parameter `dirs'.
14902
14903 * ielm.el (ielm-input-sender): Mark unused parameter.
14904 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14905 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14906 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14907 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14908 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14909
14910 * image-dired.el (image-dired-display-thumbs): Remove unused
14911 variables `curr-file' and `count'.
14912 (image-dired-remove-tag): Remove unused variable `start'.
14913 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14914 variable `curr-file'
14915 (image-dired-rotate-original): Remove unused variable `temp-file'.
14916 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14917 Remove unused variable `file'.
14918 (image-dired-gallery-generate): Remove unused variable `curr'.
14919 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14920
14921 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14922
14923 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14924
14925 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14926
14927 * isearch.el (minibuffer-history-symbol): Declare.
14928 (isearch-edit-string): Remove unused variable `err'.
14929 (isearch-message-prefix, isearch-message-suffix):
14930 Mark unused parameters.
14931
14932 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14933
14934 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14935
14936 * makesum.el (double-column): Remove unused variable `cnt'.
14937
14938 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14939 (ido-ignore-item-temp-list): Declare.
14940
14941 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14942 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14943 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14944 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14945 `mouse-col-delta'.
14946
14947 * mouse-sel.el (mouse-extend-internal):
14948 Remove unused variable `orig-window-frame'.
14949
14950 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14951 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14952 Move declarations before first use.
14953 (pcomplete-opt): Mark unused parameters; doc fix.
14954
14955 * proced.el (proced-revert): Mark unused parameter.
14956 (proced-send-signal): Remove unused variable `err'.
14957
14958 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14959 Rename parameter PREFIX-ARG to ARG.
14960 (ps-basic-plot-string, ps-basic-plot-whitespace):
14961 Mark unused parameters.
14962
14963 * replace.el (replace-count): Define.
14964 (occur-revert-function): Mark unused parameters.
14965 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14966 (isearch-case-fold-search, isearch-string): Declare.
14967 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14968 bind `case-fold-search'. Remove unused variables `beg' and `end',
14969 and simplify.
14970 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14971 COUNT and bind `replace-count'.
14972 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14973 to COUNT.
14974
14975 * savehist.el (print-readably, print-string-length): Declare.
14976
14977 * shadowfile.el (shadow-expand-cluster-in-file-name):
14978 Remove unused variable `cluster'.
14979 (shadow-copy-file): Remove unused variable `i'.
14980 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14981 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14982 (shadow-define-literal-group, shadow-define-regexp-group)
14983 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14984
14985 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14986 (shell): Use `called-interactively-p'.
14987 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14988
14989 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14990 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14991 (delete-backward-char): Remove unused variable `ocol'.
14992 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14993 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14994 (event-apply-hyper-modifier, event-apply-shift-modifier)
14995 (event-apply-control-modifier, event-apply-meta-modifier):
14996 Mark unused parameters.
14997 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14998 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14999
15000 * speedbar.el (speedbar-ignored-directory-expressions)
15001 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15002 (speedbar-find-file, speedbar-dir-follow)
15003 (speedbar-directory-buttons-follow, speedbar-tag-find)
15004 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15005 (speedbar-buffers-line-directory, speedbar-buffer-click):
15006 Mark unused parameters.
15007 (speedbar-tag-file): Remove unused variable `mode'.
15008 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15009
15010 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15011
15012 * talk.el (talk): Remove unused variable `display'.
15013
15014 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15015 (tar-write-region-annotate): Mark unused parameter.
15016
15017 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15018 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15019 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15020 warning by another.
15021
15022 * time-stamp.el (time-stamp-string-preprocess):
15023 Remove unused variable `require-padding'.
15024
15025 * tree-widget.el (widget-glyph-enable): Declare.
15026 (tree-widget-action): Mark unused parameter.
15027
15028 * w32-fns.el (x-get-selection): Mark unused parameter.
15029 (autoload-make-program, generated-autoload-file): Declare.
15030
15031 * wdired.el (wdired-revert): Mark unused parameters.
15032 (wdired-xcase-word): Remove unused variable `err'.
15033
15034 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15035 (whitespace-help-scroll): Remove unused variable `data-help'.
15036
15037 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15038 (widget-image-insert, widget-after-change, default)
15039 (widget-default-format-handler, widget-default-notify)
15040 (widget-default-prompt-value, widget-info-link-action)
15041 (widget-url-link-action, widget-function-link-action)
15042 (widget-variable-link-action, widget-file-link-action)
15043 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15044 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15045 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15046 (widget-insert-button-action, widget-delete-button-action, visibility)
15047 (widget-documentation-link-action, widget-documentation-string-action)
15048 (widget-const-prompt-value, widget-regexp-match, symbol)
15049 (widget-coding-system-prompt-value)
15050 (widget-key-sequence-value-to-external, sexp)
15051 (widget-sexp-value-to-internal, character, vector, cons)
15052 (widget-choice-prompt-value, widget-boolean-prompt-value)
15053 (widget-color--choose-action): Mark unused parameters.
15054 (widget-item-match-inline, widget-choice-match-inline)
15055 (widget-checklist-match, widget-checklist-match-inline)
15056 (widget-group-match): Rename parameter VALUES to VALS.
15057 (widget-field-value-set): Remove unused variable `size'.
15058 (widget-color-action): Remove unused variables `value' and `start'.
15059
15060 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15061 variable `dir'. Doc fix.
06b60517
JB
15062 (windmove-find-other-window): Don't pass it.
15063
15064 * window.el (count-windows): Mark unused parameter.
15065 (bw-adjust-window): Remove unused variable `err'.
15066
15067 * woman.el (woman-file-name): Remove unused variable `default'.
15068 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15069 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15070 (global-font-lock-mode): Declare.
15071 (woman-decode-region): Mark unused parameter.
15072 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15073
15074 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15075 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15076 (x-dnd-handle-moz-url): Remove unused variable `title'.
15077 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15078
15079 * xml.el (xml-parse-tag, xml-parse-attlist):
15080 Remove unused variable `pos'.
15081
bc4f7f3d
GM
150822011-04-19 Glenn Morris <rgm@gnu.org>
15083
15084 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15085 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15086 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15087 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15088 * calendar/cal-html.el (cal-html-insert-minical):
15089 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15090 (calendar-mark-date-pattern):
15091 Prefix "unused" locals.
15092
15093 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15094 optional argument `style'.
15095
15096 * calendar/appt.el (appt-make-list):
15097 * calendar/cal-china.el (calendar-chinese-date-string):
15098 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15099 (diary-hebrew-yahrzeit):
15100 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15101 * calendar/calendar.el (calendar-generate-window):
15102 * calendar/time-date.el (time-to-days):
15103 Remove unused local variables.
15104
16a43933
CY
151052011-04-18 Chong Yidong <cyd@stupidchicken.com>
15106
15107 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15108 glyphless-char-display table.
15109 (tabulated-list-glyphless-char-display): New var.
15110
7eed1860
SS
151112011-04-18 Sam Steingold <sds@gnu.org>
15112
15113 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15114 to acknowledgments.
15115
4d2d1ccd
GM
151162011-04-17 Glenn Morris <rgm@gnu.org>
15117
15118 * calendar/diary-lib.el (diary-sexp-entry):
15119 * calendar/holidays.el (holiday-sexp):
15120 Set debug-on-error rather than the removed stack-trace-on-error.
15121
239da61d
GM
151222011-04-16 Glenn Morris <rgm@gnu.org>
15123
15124 * progmodes/f90.el: Use lexical-binding.
15125 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15126
8b05752a
SM
151272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15128
daca8ba5
SM
15129 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15130 (mail-mode): Setup mailalias completion here instead.
15131 * mail/mailalias.el: Use lexical-binding.
15132 (pattern, mailalias-done): Declare dynamic.
15133 (mail-completion-at-point-function): New function, from mail-complete.
15134 (mail-complete): Use it.
15135 (mail-completion-expand): New function.
15136 (mail-get-names): Use it.
15137 (mail-directory, mail-directory-process, mail-directory-stream):
15138 Don't use `pattern' for lexically bound arg.
15139
6f542485
SM
15140 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15141
037e7c3f
SM
15142 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15143 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15144 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15145
8b05752a
SM
15146 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15147 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15148 (byte-interactive-p): Define them again, for use when inlining
15149 old code.
15150
49093f60
JB
151512011-04-15 Juanma Barranquero <lekktu@gmail.com>
15152
15153 * loadup.el: Use `string-to-number', not `string-to-int'.
15154
b5b8e7de
SM
151552011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15158 gud-gdb-complete-command.
15159 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15160 (gud-gdb-completion-at-point): New function.
15161 (gud-gdb-completions): Remove.
15162
f42efeb5
MA
151632011-04-14 Michael Albinus <michael.albinus@gmx.de>
15164
49093f60
JB
15165 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15166 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15167 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15168 whether `executable-find' is bound.
f42efeb5
MA
15169
15170 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15171
e240cc21
SM
151722011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15173
15174 * minibuffer.el (completion-in-region-mode-predicate)
15175 (completion-in-region-mode--predicate): New vars.
15176 (completion-in-region, completion-in-region--postch)
15177 (completion-in-region-mode): Use them.
15178 (completion--capf-wrapper): Also return the hook function.
15179 (completion-at-point, completion-help-at-point):
15180 Adjust and provide a predicate.
c2bd2ab0
SM
15181
15182 Preserve arg names for advice of subr and lexical functions (bug#8457).
15183 * help-fns.el (help-function-arglist): Consolidate the subr and
15184 new-byte-code cases. Add argument `preserve-names' to extract names
15185 from the docstring when needed.
15186 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15187 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15188 (ad-arglist): Use help-function-arglist's new arg.
15189 (ad-definition-type): Use cond.
15190
c183f693
JB
151912011-04-13 Juanma Barranquero <lekktu@gmail.com>
15192
06641a47
JB
15193 * autorevert.el (auto-revert-handler):
15194 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15195 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15196 Don't quote lambda.
15197
c183f693
JB
15198 * image-mode.el (image-transform-set-scale):
15199 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15200
1e3b6001
G
152012011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15202
15203 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15204 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15205 Upgrades via gnutls-cli are too slow to be done opportunistically.
15206
2d6af8dd
JB
152072011-04-12 Juanma Barranquero <lekktu@gmail.com>
15208
15209 * dframe.el (dframe-current-frame): Remove spurious quote.
15210
c0749a51
GM
152112011-04-12 Glenn Morris <rgm@gnu.org>
15212
088d0d61
GM
15213 * calendar/cal-tex.el (cal-tex-end-document):
15214 Try to automatically use latin1 input if needed.
15215
c0749a51
GM
15216 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15217 Don't try to cons a mark onto an empty element.
15218
5c90fde0
LL
152192011-04-11 Leo Liu <sdl.web@gmail.com>
15220
15221 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15222 buffers.
15223 (ido-kill-buffer-at-head): Support killing virtual buffers.
15224
369e974d
CY
152252011-04-10 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * minibuffer.el (completion-show-inline-help): New var.
15228 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15229 (minibuffer-force-complete, minibuffer-complete-word):
15230 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15231
15232 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15233 to avoid interference from inline help (Bug#5849).
15234
37f1c930
LL
152352011-04-10 Leo Liu <sdl.web@gmail.com>
15236
099c39a4
JB
15237 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15238 Fix typo.
37f1c930 15239
a32d4040
CY
152402011-04-09 Chong Yidong <cyd@stupidchicken.com>
15241
15242 * image-mode.el (image-toggle-display-image): Signal an error if
15243 not in Image mode.
15244 (image-transform-mode, image-transform-resize)
15245 (image-transform-set-rotation): Doc fix.
daca8ba5 15246 (image-transform-set-resize): Delete.
a32d4040
CY
15247 (image-transform-set-scale, image-transform-fit-to-height)
15248 (image-transform-fit-to-width): Handle image-toggle-display-image
15249 and image-transform-resize directly.
15250
099c39a4 152512011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15252
15253 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15254 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15255 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15256 (doc-view-mode-map): Add bindings for the new functions.
15257
099c39a4 152582011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15259
4d61f28d 15260 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15261 Fix typo in docstring.
15262
3726838a
EZ
152632011-04-08 Eli Zaretskii <eliz@gnu.org>
15264
04f33f1e
EZ
15265 * files.el (file-size-human-readable): Produce one digit after
15266 decimal, like "ls -lh" does.
15267
15268 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15269 the file size representation.
15270
3726838a
EZ
15271 * simple.el (list-processes): If async subprocesses are not
15272 available, error out with a clear error message.
15273
cbb59342
CY
152742011-04-08 Chong Yidong <cyd@stupidchicken.com>
15275
15276 * help.el (help-form-show): New function, to be called from C.
15277 Put help-form output in a buffer named differently than *Help*.
15278
e3971c44
EZ
152792011-04-08 Eli Zaretskii <eliz@gnu.org>
15280
15281 * files.el (file-size-human-readable): New function.
15282
15283 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15284 computing the representation inline. Don't require `cl'.
15285
12544bbe
GM
152862011-04-08 Glenn Morris <rgm@gnu.org>
15287
a1de6c6a
GM
15288 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15289
3c4671f4
GM
15290 * net/browse-url.el (browse-url-firefox):
15291 Test system-type, not system-configuration.
15292
b605679c
GM
15293 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15294 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15295 Use log-edit-empty-buffer-p. (Bug#7598)
15296
56442f0c
GM
15297 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15298 (rlogin-mode-map): Initialize in the defvar.
15299 (rlogin): Use ignore-errors.
15300
12544bbe
GM
15301 * replace.el (occur-mode-map): Some fixes for menu items.
15302
eb237b0f
AH
153032011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15304
15305 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15306
7d668f2c
CY
153072011-04-06 Chong Yidong <cyd@stupidchicken.com>
15308
e67a13ab
CY
15309 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15310 issuing unused warnings.
15311
15312 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15313 macro directly.
15314
7d668f2c
CY
15315 * simple.el: Lisp reimplement of list-processes. Based on an
15316 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15317 (process-menu-mode): New major mode.
15318 (list-processes--refresh, list-processes):
15319 (process-menu-visit-buffer): New functions.
15320
15321 * files.el (save-buffers-kill-emacs): Don't assume any return
15322 value of list-processes, which is undocumented anyway.
15323
a83ec3c9
CY
153242011-04-06 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * emacs-lisp/tabulated-list.el: New file.
15327
e91a96fe
CY
15328 * emacs-lisp/package.el: Use Tabulated List mode.
15329 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15330 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15331 table format using Tabulated List mode variables.
15332 (package--push): New macro, replacing package-list-maybe-add.
15333 (package-menu--generate): Use package--push. Renamed from
15334 package--generate-package-list.
15335 (package-menu-refresh, list-packages): Use it.
daca8ba5 15336 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15337 Return insertion data instead of inserting it directly.
099c39a4
JB
15338 (package-menu-describe-package, package-menu-execute):
15339 Use tabulated-list-get-id.
e91a96fe
CY
15340 (package-menu-mark-delete, package-menu-mark-install)
15341 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15342 (package-menu-mark-obsolete-for-deletion):
15343 Use tabulated-list-put-tag.
e91a96fe
CY
15344 (package--list-packages, package-menu-revert)
15345 (package-menu-get-package, package-menu-get-version)
15346 (package-menu-sort-by-column): Functions deleted.
15347 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15348 (package-menu--status-predicate, package-menu--version-predicate)
15349 (package-menu--name-predicate)
15350 (package-menu--description-predicate): Handle arguments in the
15351 Tabulated List format.
15352 (package-list-packages-no-fetch): Call list-packages.
15353
3e214b50
JB
153542011-04-06 Juanma Barranquero <lekktu@gmail.com>
15355
15356 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15357 (after-find-file): Don't bind it.
3e214b50
JB
15358 (revert-buffer-in-progress-p): New variable.
15359 (revert-buffer): Bind it.
15360 Pass nil for `after-find-file-from-revert-buffer'.
15361
15362 * saveplace.el (save-place-find-file-hook): Use new variable
15363 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15364
3f0f1700
GM
153652011-04-06 Glenn Morris <rgm@gnu.org>
15366
c0274801
GM
15367 * Makefile.in (AUTOGEN_VCS): New variable.
15368 (autoloads): Use $AUTOGEN_VCS.
15369
3f0f1700
GM
15370 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15371 * calendar/calendar.el (calendar-mode-map):
15372 Check for toolkit scroll bars. (Bug#8305)
15373
41ea9e48
CY
153742011-04-05 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * minibuffer.el (completion-in-region--postch)
15377 (completion-in-region-mode): Remove unnecessary messages.
15378
6194c800
JB
153792011-04-05 Juanma Barranquero <lekktu@gmail.com>
15380
33256f14
JB
15381 * font-lock.el (font-lock-refresh-defaults):
15382 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15383 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15384
6194c800
JB
15385 * info.el (Info-directory-list, Info-read-node-name-2)
15386 (Info-split-parameter-string): Doc fixes.
15387 (Info-virtual-nodes): Reflow docstring.
15388 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15389 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15390 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15391 Fix typos in docstrings.
15392 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15393 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15394 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15395 (Info-restore-desktop-buffer): Mark unused parameters.
15396 (Info-directory-find-file, Info-directory-find-node)
15397 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15398 (Info-virtual-index-find-node, Info-apropos-find-file)
15399 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15400 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15401 (Info-virtual-index): Remove unused local variable `nodename'.
15402
b87a8200 154032011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15404
b87a8200
DD
15405 * net/rcirc.el: Update my e-mail address.
15406 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15407
3b2ff876
CY
154082011-04-05 Chong Yidong <cyd@stupidchicken.com>
15409
15410 * startup.el (command-line): Save the cursor's theme-face
15411 directly, instead of using face-override-spec.
15412
15413 * custom.el (load-theme): Minor optimization in assigning faces.
15414
8d17e7ca
JB
154152011-04-04 Juanma Barranquero <lekktu@gmail.com>
15416
15417 * help-fns.el (describe-variable): Complete all variables having
15418 documentation, including keywords.
15419 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15420
2fbc1934
JB
154212011-04-04 Juanma Barranquero <lekktu@gmail.com>
15422
15423 Convert to lexical-binding.
15424
15425 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15426 (bs--get-marked-string, bs--get-modified-string)
15427 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15428 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15429 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15430
15431 * ehelp.el (electric-help-execute-extended)
15432 (electric-help-ctrl-x-prefix):
15433 * hexl.el (hexl-revert-buffer-function):
15434 * linum.el (linum-after-change, linum-after-scroll):
15435 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15436
15437 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15438
74f50695
DU
154392011-04-04 Daiki Ueno <ueno@unixuser.org>
15440
15441 * epa-dired.el:
15442 * epa-mail.el:
15443 * epa-hook.el:
15444 * epa-file.el:
15445 * epa.el:
15446 * epg.el: Use lexical binding.
15447
c11325f7
CY
154482011-04-03 Chong Yidong <cyd@stupidchicken.com>
15449
0d9e9a12
CY
15450 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15451
c11325f7 15452 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15453 dictionary case for flyspell-mark-duplications-exceptions.
15454 Use regexp matching for languages.
c11325f7
CY
15455 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15456 default dictionary (Bug#7926).
15457
da91b5f2
CY
154582011-04-02 Chong Yidong <cyd@stupidchicken.com>
15459
099c39a4
JB
15460 * emacs-lisp/package.el (package--with-work-buffer):
15461 Recognize https URLs.
da91b5f2 15462
099c39a4
JB
15463 * net/network-stream.el: Move from gnus/proto-stream.el.
15464 Change prefix to network-stream throughout.
da91b5f2
CY
15465 (open-protocol-stream): Merge into open-network-stream, leaving
15466 open-protocol-stream as an alias. Handle nil BUFFER args.
15467
15468 * subr.el (open-network-stream): Move to net/network-stream.el.
15469
afa8e9f6
GM
154702011-04-02 Glenn Morris <rgm@gnu.org>
15471
1d2e369d
GM
15472 * find-dired.el (find-exec-terminator): New option.
15473 (find-ls-option): Test for -ls support.
15474 (find-ls-subdir-switches): Test for -b in find-ls-option.
15475 (find-dired, find-grep-dired): Doc fixes.
15476 (find-dired): Use find-exec-terminator.
15477
8abb7da8 15478 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15479 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15480 (find-name-arg): Remove purecopy.
8abb7da8 15481
f3ca7378
GM
15482 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15483 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15484 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15485 accordingly. Don't add the null-device if not needed.
15486
afa8e9f6
GM
15487 * files.el (save-some-buffers): Doc fix.
15488
35eae264
EZ
154892011-04-02 Eli Zaretskii <eliz@gnu.org>
15490
15491 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15492
26b51db5
JB
154932011-04-01 Juanma Barranquero <lekktu@gmail.com>
15494
15495 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15496 Use `dolist' rather than `mapcar'.
15497
7200d79c
SM
154982011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15499
03408648 15500 Add lexical binding.
7200d79c 15501
03408648
SM
15502 * subr.el (apply-partially): Use new closures rather than CL.
15503 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15504 (dolist, dotimes): Use slightly different expansion for lexical code.
15505 (functionp): Move to C.
15506 (letrec): New macro.
15507 (with-wrapper-hook): Use it and apply-partially instead of CL.
15508 (eval-after-load): Preserve lexical-binding.
15509 (save-window-excursion, with-output-to-temp-buffer): Turn them
15510 into macros.
7200d79c 15511
03408648
SM
15512 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15513
15514 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15515 than the arglist.
15516 (help-add-fundoc-usage): Don't add `Not documented'.
15517 (help-function-arglist): Handle closures, subroutines, and new
15518 byte-code-functions.
15519 (help-make-usage): Remove leading underscores.
15520 (describe-function-1): Handle closures.
15521 (describe-variable): Use special-variable-p for completion.
15522
15523 * files.el (lexical-binding): Declare safe.
f488fb65 15524
03408648
SM
15525 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15526 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15527 (pcase): Add `let' pattern.
15528 Change memoization so it actually works.
15529 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15530 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15531 <let>: New case.
f488fb65 15532
03408648
SM
15533 * emacs-lisp/macroexp.el: Use lexical binding.
15534 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15535 Don't convert ' to #' without checking that it's indeed quoting
15536 a lambda.
15537
15538 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15539 Use eval-sexp-add-defvars.
03408648
SM
15540 (eval-sexp-add-defvars): New fun.
15541
15542 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15543
15544 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15545 Don't autoload.
15546 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15547 than the internal `byte-compile-lambda'.
15548 (defmethod): Don't hide code under quotes.
15549 (eieio-defmethod): New `code' argument.
15550
15551 * emacs-lisp/eieio-comp.el: Remove.
15552
15553 * emacs-lisp/edebug.el (edebug-eval-defun)
15554 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15555 (edebug-toggle): Avoid `eval'.
15556
15557 * emacs-lisp/disass.el (disassemble-internal): Handle new
15558 `closure' objects.
15559 (disassemble-1): Handle new byte codes.
15560
15561 * emacs-lisp/cl.el (pushnew): Silence warning.
15562
15563 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15564 (cl-byte-compile-throw): Remove.
15565 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15566
15567 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15568 closures.
15569
15570 * emacs-lisp/cconv.el: New file.
15571
15572 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15573 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15574 (byte-compile-initial-macro-environment):
15575 Handle declare-function here.
15576 (byte-compile--lexical-environment): New var.
15577 (byte-stack-ref, byte-stack-set, byte-discardN)
15578 (byte-discardN-preserve-tos): New lap codes.
15579 (byte-interactive-p): Don't use any more.
15580 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15581 New macros.
15582 (byte-compile-lapcode): Use them and handle new lap codes.
15583 (byte-compile-obsolete): Remove.
15584 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15585 (byte-compile-arglist-warn): Check late def of inlinable funs.
15586 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15587 since they should have been expanded by now.
15588 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15589 (byte-compile-from-buffer): Remove unused second arg.
15590 (byte-compile-preprocess): New function.
15591 (byte-compile-toplevel-file-form): New function to distinguish
15592 file-form calls from outside from file-form calls from hunk-handlers.
15593 (byte-compile-file-form): Simplify.
15594 (byte-compile-file-form-defsubst): Remove.
15595 (byte-compile-file-form-defmumble): Simplify now that
15596 byte-compile-lambda always returns a byte-code-function.
15597 (byte-compile): Preprocess.
15598 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15599 Remove, not used any more.
15600 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15601 (byte-compile-make-args-desc): New funs.
15602 (byte-compile-lambda): Handle lexical functions. Always return
15603 a byte-code-function.
15604 (byte-compile-reserved-constants): New var, to make up room for
15605 closed-over variables.
15606 (byte-compile-constants-vector): Obey it.
15607 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15608 (byte-compile-macroexpand-declare-function): New function.
15609 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15610 byte-code-functions.
15611 (byte-compile-form): Check obsolescence here.
15612 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15613 (byte-compile-variable-ref): Remove.
15614 (byte-compile-dynamic-variable-op): New fun.
15615 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15616 (byte-compile-variable-set): New funs.
15617 (byte-compile-discard): Add 2 args.
15618 (byte-compile-stack-ref, byte-compile-stack-set)
15619 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15620 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15621 macroexpand-all instead.
15622 (byte-compile-quote-form): Remove.
15623 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15624 (byte-compile-bind, byte-compile-unbind): New funs.
15625 (byte-compile-let): Handle let* and lexical binding.
15626 (byte-compile-let*): Remove.
15627 (byte-compile-catch, byte-compile-unwind-protect)
15628 (byte-compile-track-mouse, byte-compile-condition-case):
15629 Handle a new :fun-body form, used for lexical scoping.
15630 (byte-compile-save-window-excursion)
15631 (byte-compile-with-output-to-temp-buffer): Remove.
15632 (byte-compile-defun): Simplify.
15633 (byte-compile-stack-adjustment): New fun.
15634 (byte-compile-out): Use it.
15635 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15636
15637 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15638 handler any more.
15639
15640 * emacs-lisp/byte-opt.el: Use lexical binding.
15641 (byte-inline-lapcode): Remove (to bytecomp).
15642 (byte-compile-inline-expand): Pay attention to inlining to/from
15643 lexically bound code.
15644 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15645 any more.
15646 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15647 any more and don't call compiler-macros.
15648 (byte-compile-splice-in-already-compiled-code): Remove.
15649 (byte-code): Don't inline any more.
15650 (disassemble-offset): Receive `bytes' as argument rather than via
15651 dynamic scoping.
15652 (byte-compile-tag-number): Declare before first use.
15653 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15654 `return' even if make-spliceable.
15655 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15656 obsolete interactive-p.
15657 (byte-optimize-lapcode): Optimize new lap-codes.
15658 Don't trip up on new form of `byte-constant' lap code.
15659
15660 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15661
15662 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15663
15664 * custom.el (custom-initialize-default, custom-declare-variable):
15665 Use `defvar'.
15666
15667 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15668 New variables.
15669 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15670 (COMPILE_FIRST): Add macroexp and cconv.
15671 * makefile.w32-in: Mirror changes in Makefile.in.
15672
15673 * vc/cvs-status.el:
15674 * vc/diff-mode.el:
15675 * vc/log-edit.el:
15676 * vc/log-view.el:
15677 * vc/smerge-mode.el:
15678 * textmodes/bibtex-style.el:
090bd7cb 15679 * textmodes/css-mode.el:
03408648
SM
15680 * startup.el:
15681 * uniquify.el:
da91b5f2
CY
15682 * minibuffer.el:
15683 * newcomment.el:
15684 * reveal.el:
15685 * server.el:
15686 * mpc.el:
15687 * emacs-lisp/smie.el:
15688 * doc-view.el:
15689 * dired.el:
03408648
SM
15690 * abbrev.el: Use lexical binding.
15691
0f0c1f27
EZ
156922011-04-01 Eli Zaretskii <eliz@gnu.org>
15693
15694 * info.el (info-display-manual): New function.
15695
c82b2579
SM
156962011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15699
221ddf68
TH
157002011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15701
15702 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15703 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15704
cba6e77e
GM
157052011-03-31 Glenn Morris <rgm@gnu.org>
15706
e040639f
GM
15707 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15708
cba6e77e
GM
15709 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15710
6d0f1c9e
CS
157112011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15712
15713 * progmodes/python.el (python-default-interpreter)
15714 (python-python-command-args, python-jython-command-args)
15715 (python-which-shell, python-which-args, python-which-bufname)
15716 (python-file-queue, python-comint-output-filter-function)
15717 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15718 variables and functions.
15719
3e2d70fd
SM
157202011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15721
15722 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15723 (completion-in-region-mode): New minor mode.
15724 (completion-in-region): Use it.
15725 (completion-in-region--data, completion-in-region-mode-map): New vars.
15726 (completion-in-region--postch): New function.
15727 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15728 New vars.
15729 (completion--capf-wrapper): New function.
15730 (completion-at-point): Use it to track well-behavedness of
15731 hook functions.
15732 (completion-help-at-point): New command.
15733
f3e4086c
JM
157342011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15735
15736 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15737 syntax class to search for whitespace on a single line
15738 (Message-ID: <4D938140.4030905@redhat.com>).
15739
eb7ffc14
LL
157402011-03-30 Leo Liu <sdl.web@gmail.com>
15741
15742 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15743 New commands.
15744 (edit-abbrevs-map): Bind them here.
15745 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15746
d806ab68
KM
157472011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15748
15749 * allout.el (allout-hide-by-annotation, allout-flag-region):
15750 Reduce possibility of overlay leakage by making them volatile.
15751
15752 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15753 hash is not shared between buffers. Mode initialization is
15754 responsible for giving it a useful starting value.
15755 (allout-item-span): Reduce possibility of overlay leakage by
15756 making them volatile.
15757 (allout-widgets-count-buttons-in-region): Add diagnostic function
15758 for tracking down button overlay leaks.
15759
ea622834
LL
157602011-03-29 Leo Liu <sdl.web@gmail.com>
15761
15762 * ido.el (ido-read-internal): Use the default history var
15763 minibuffer-history if no HISTORY is specified.
15764
b62f8267
G
157652011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15766
03408648
SM
15767 * net/imap.el (imap-shell-open, imap-process-connection-type):
15768 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15769 Kerberos, SSL, other subprocesses.
15770
947b6566
LL
157712011-03-28 Leo Liu <sdl.web@gmail.com>
15772
15773 * abbrev.el (abbrev-table-empty-p): New function.
15774 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15775 nonempty ones. (Bug#5937)
15776
5ffb62aa
JD
157772011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15778
15779 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15780
7a097943
LL
157812011-03-27 Leo Liu <sdl.web@gmail.com>
15782
15783 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15784 for foreground and background colors.
15785 (ansi-color-make-color-map): Adapt.
15786
c5b40130
LL
157872011-03-25 Leo Liu <sdl.web@gmail.com>
15788
1f48f7d2
LL
15789 * midnight.el (midnight-time-float): Remove. Note it calculates
15790 the microsecond component incorrectly and seconds-to-time does the
15791 same job.
625897ec 15792 Remove redundant (require 'timer).
1f48f7d2 15793
c5b40130
LL
15794 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15795 (ido-completions): Remove unused arguments. (Bug#8329)
15796
d86d2721
SM
157972011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * minibuffer.el (completion--flush-all-sorted-completions):
15800 Remove itself from hook.
15801 (completion-at-point): Let the functions perform the completion
15802 immediately and return nil or t.
15803 * comint.el (comint-dynamic-complete-functions): Now identical to
15804 completion-at-point-functions.
15805 (comint-dynamic-list-input-ring): Remove unused var `index'.
15806 (comint--match-partial-filename, comint--unquote&expand-filename):
15807 New funs, split from comint-match-partial-filename.
15808 (comint-dynamic-complete): Use completion-at-point.
15809 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15810
e8974c48
DA
158112011-03-24 Drew Adams <drew.adams@oracle.com>
15812
15813 * thingatpt.el: Support `defun'.
15814
def71b5e
LL
158152011-03-23 Leo Liu <sdl.web@gmail.com>
15816
cb5af48e
LL
15817 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15818
def71b5e
LL
15819 * help-mode.el (help-mode-finish): Tweak regexp.
15820
927c53e7
GM
158212011-03-23 Glenn Morris <rgm@gnu.org>
15822
18d05bed
GM
15823 * eshell/esh-opt.el (eshell-eval-using-options):
15824 Do not bind unused local variable `eshell-option-stub'.
15825
927c53e7
GM
15826 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15827
9d0da923
JB
158282011-03-22 Juanma Barranquero <lekktu@gmail.com>
15829
15830 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15831 keymap variable in `with-no-warnings' to avoid a warning when the
15832 keymap has been already `defconst'ed.
15833
4b978a67
LL
158342011-03-22 Leo Liu <sdl.web@gmail.com>
15835
15836 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15837 encode all chars in abbrevs; otherwise use emacs-mule or
15838 utf-8-emacs. (Bug#8308)
15839
5fd62452
JB
158402011-03-22 Juanma Barranquero <lekktu@gmail.com>
15841
0b1596c6
JB
15842 * simple.el (backward-delete-char-untabify):
15843 Avoid warning about using `delete-backward-char'.
15844
5fd62452
JB
15845 * image.el (image-type-file-name-regexps): Make it variable.
15846 `imagemagick-register-types' modifies it, and the user may want
15847 to add new extensions for known image types.
15848 (imagemagick-register-types): Throw error if not using ImageMagick.
15849
0b4e93f1
LL
158502011-03-22 Leo Liu <sdl.web@gmail.com>
15851
15852 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15853 located before rcirc-prompt-end-marker.
15854 (rcirc-complete): Error if point is not after rcirc prompt.
15855 Handle the case when table is nil.
9882e214 15856 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15857
fccee4ab
CY
158582011-03-22 Chong Yidong <cyd@stupidchicken.com>
15859
15860 * custom.el (custom--inhibit-theme-enable): Make it affect only
15861 custom-theme-set-variables and custom-theme-set-faces.
15862 (provide-theme): Ignore custom--inhibit-theme-enable.
15863 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15864 (custom-enabling-themes): Delete variable.
d86d2721
SM
15865 (enable-theme): Accept only loaded themes as arguments.
15866 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15867 (custom-enabled-themes): Forbid themes from setting this.
15868 Eliminate use of custom-enabling-themes.
15869 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15870
af896da6
LL
158712011-03-21 Leo Liu <sdl.web@gmail.com>
15872
15873 * ido.el (ido-read-internal): Add ido-selected to history instead
15874 of user input.
15875
78f64af0
SM
158762011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15877
15878 * subr.el (deferred-action-list, deferred-action-function):
15879 Mark obsolete.
15880
b16ac1ec
LL
158812011-03-21 Leo Liu <sdl.web@gmail.com>
15882
810f7698
LL
15883 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15884 change on 2011-02-13 (bug#8309).
15885
b16ac1ec
LL
15886 * minibuffer.el (read-file-name-function): Change default value.
15887 (read-file-name--defaults): Rename from read-file-name-defaults.
15888 (read-file-name-default): Rename from read-file-name.
15889 (read-file-name): Call read-file-name-function.
15890
4e05e67e
GM
158912011-03-21 Glenn Morris <rgm@gnu.org>
15892
15893 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15894 Doc fixes.
15895
4359915b
CY
158962011-03-21 Chong Yidong <cyd@stupidchicken.com>
15897
15898 * cus-theme.el: Add missing provide statement.
15899 (customize-create-theme): Extract theme value correctly.
15900 (custom-theme-visit-theme): Autoload.
15901 (customize-create-theme): Prompt before inserting default faces.
15902
1fe275ee
JB
159032011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15904
15905 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15906 units and musical notes.
15907
cd394be1 159082011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15909
15910 * ido.el (ido-read-internal): Use completing-read-default.
15911 (ido-completing-read): Fix compatibility with completing-read.
15912
7d476bde
CO
159132011-03-20 Christian Ohler <ohler@gnu.org>
15914
15915 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15916 (ert-delete-all-tests): Use `called-interactively-p' rather than
15917 `interactive-p'.
15918 (ert--make-xrefs-region): Respect END.
15919
fe0fb33e
CY
159202011-03-19 Chong Yidong <cyd@stupidchicken.com>
15921
ff854b0b
CY
15922 * dired-aux.el (dired-create-directory): Signal an error if the
15923 directory already exists (Bug#8246).
15924
fe0fb33e
CY
15925 * facemenu.el (list-colors-display): Call list-faces-display
15926 inside with-help-window.
15927 (list-colors-print): Use display property to align the final
15928 column, instead of checking window-width.
15929
576bce32
EZ
159302011-03-19 Eli Zaretskii <eliz@gnu.org>
15931
4d61f28d 15932 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15933 windows-nt systems.
15934 (emerge-protect-metachars): Quote correctly for ms-dos and
15935 windows-nt systems.
15936
89c41d68 159372011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15938
15939 * info.el (info-initialize): Replace all uses of `:' with
15940 path-separator for compatibility with non-Unix systems.
15941 Cache quoting of path-separator. (Bug#8258)
15942
b14e3e21 159432011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15944
15945 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15946 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15947 (mouse-avoidance-mode): Fix typos in docstrings.
15948
4525ce3e
CY
159492011-03-19 Chong Yidong <cyd@stupidchicken.com>
15950
15951 * startup.el (package-subdirectory-regexp): Move from package.el.
15952 Omit \\` and \\', and let callers add them.
15953
15954 * emacs-lisp/package.el (package-strip-version)
15955 (package-load-all-descriptors): Add \\` and \\' to
15956 package-subdirectory-regexp before using it.
15957 (package-untar-buffer): New arg DIR; ensure that file untars only
15958 into this expected directory. Remove superfluous delete-region.
15959 (package-unpack): Caller changed.
15960 (package-tar-file-info): Use package-subdirectory-regexp.
15961
a904a09a 159622011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15963
a904a09a
SM
15964 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15965 diff-mode-shared-map (bug#8284).
15966 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15967
159682011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
15970 * calendar/time-date.el (format-seconds): Use assoc instead of
15971 assoc-string, since assoc-string doesn't exist in XEmacs.
15972
171fc304
JB
159732011-03-17 Juanma Barranquero <lekktu@gmail.com>
15974
15975 * custom.el (custom-known-themes): Reflow docstring.
15976 (custom-theme-load-path): Fix typo in docstring.
15977 (load-theme): Fix typo in error message.
15978 (custom-available-themes, custom-variable-theme-value):
15979 Use `let', not `let*'.
15980
d71990a1
JB
159812011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15982
15983 * calc/README: Mention inclusion of musical notes.
15984
15985 * calc/calc-units.el (calc-lu-quant): Rename from
15986 `calc-logunits-quantity'.
15987 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15988 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15989 (calc-db): Rename from `calc-dblevel'.
15990 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15991 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15992 (calc-np): Rename from `calc-nplevel'.
15993 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15994 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15995 (calc-lu-plus): Rename from `calc-logunits-add'.
15996 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15997 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15998 (calc-lu-minus): Rename from `calc-logunits-sub'.
15999 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16000 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16001 (calc-lu-times): Rename from `calc-logunits-mul'.
16002 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16003 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16004 (calc-lu-divide): Rename from `calc-logunits-div'.
16005 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16006 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16007
16008 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16009 functions being autoloaded.
16010
16011 * calc/calc.el (calc-lu-power-reference): Rename from
16012 `calc-logunits-power-reference'.
16013 (calc-lu-field-reference): Rename from
16014 `calc-logunits-field-reference'.
16015
7a71b18d
GM
16016 * calc/calc-help.el (calc-l-prefix-help):
16017 Mention musical note functions.
d71990a1 16018
40c2934b
SM
160192011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * minibuffer.el (completion-all-sorted-completions):
16022 Use :completion-cycle-penalty text property if present.
16023
b0911414
KM
160242011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16025
16026 * allout.el (allout-yank-processing): Adjust for new rebulleting
16027 regime so bullet being yanked is used without prompting the user
16028 for a choice.
16029
8a05b668
JB
160302011-03-16 Juanma Barranquero <lekktu@gmail.com>
16031
16032 * startup.el (command-line): Warn the user that _emacs is deprecated.
16033
5ba5fb81
JB
160342011-03-16 Juanma Barranquero <lekktu@gmail.com>
16035
16036 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16037 (delphi-verbose, delphi-comment-face, delphi-string-face)
16038 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16039 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16040 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16041 (delphi-new-comment-line, delphi-font-lock-defaults)
16042 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16043 Fix typos in docstrings.
16044
2dab465b
KM
160452011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16046
5ba5fb81 16047 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16048 Invert the roles of character and string values for INSTEAD, so a
16049 string is used for the more common case of a defaulting prompt.
16050
0adf5618
SM
160512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16052
16053 * progmodes/ruby-mode.el (ruby-backward-sexp):
16054 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16055 * play/gamegrid.el (gamegrid-make-face):
16056 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16057 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16058 * notifications.el (notifications-notify):
16059 * net/xesam.el (xesam-search-engines):
16060 * net/quickurl.el (quickurl-list-insert):
16061 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16062
d72700e5
CY
160632011-03-15 Chong Yidong <cyd@stupidchicken.com>
16064
16065 * startup.el (command-line): Update package subdirectory regexp.
16066
49c5410a
SM
160672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16068
c6eee9aa
SM
16069 * allout.el (allout-abbreviate-flattened-numbering)
16070 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16071
49c5410a
SM
16072 * subr.el (read-char-choice): Only show the cursor after the prompt,
16073 not after the answer.
16074
047b2bb9
KR
160752011-03-15 Kevin Ryde <user42@zip.com.au>
16076
16077 * help-fns.el (variable-at-point): Skip leading quotes, if any
16078 (bug#8253).
16079
0a57d256
SM
160802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16083 warning message.
16084
77c992bc
MA
160852011-03-14 Michael Albinus <michael.albinus@gmx.de>
16086
16087 * shell.el (shell): When called interactively, offer to change the
16088 shell file name on remote hosts.
16089
eebc475d
TZ
160902011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16091
16092 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16093 integration for LDAP parameters. The host, base, user or binddn,
16094 and secret tokens can be specified in a netrc file, for instance.
16095 This is optional because an `auth-source' parameter must be
16096 specified in the search attributes.
16097
9d05d1ba
JB
160982011-03-13 Juanma Barranquero <lekktu@gmail.com>
16099
16100 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16101
09d9db2c
GM
161022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16105 into declaration. Remove redundant and harmful binding.
16106
161072011-03-12 Eli Zaretskii <eliz@gnu.org>
16108
16109 * files.el (file-ownership-preserved-p): Pass `integer' as an
16110 explicit 2nd argument to `file-attributes'. If the file's owner
16111 is the Administrators group on Windows, and the current user is
16112 Administrator, consider that a match.
16113
16114 * server.el (server-ensure-safe-dir): Consider server directory
16115 safe on MS-Windows if its owner is the Administrators group while
16116 the current Emacs user is Administrator. Use `=' to compare
16117 numerical UIDs, since they could be integers or floats.
16118
219bd536
JB
161192011-03-12 Juanma Barranquero <lekktu@gmail.com>
16120
16121 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16122
f3afd36b
MA
161232011-03-12 Michael Albinus <michael.albinus@gmx.de>
16124
16125 Sync with Tramp 2.2.1.
16126
16127 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16128
16129 * net/trampver.el: Update release number.
16130
3aaaa6f1
SM
161312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16132
94642599
SM
16133 * progmodes/compile.el (compilation--previous-directory): Fix up
16134 various nil/dead-marker mismatches (bug#8014).
16135 (compilation-directory-properties, compilation-error-properties):
16136 Don't call it at a position past the one we're about to change.
16137
3aaaa6f1
SM
16138 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16139 Disable obsolescence warnings in the file that declares it.
16140
14239447
KM
161412011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16142
099c39a4
JB
16143 * allout-widgets.el (allout-widgets-tally):
16144 Initialize allout-widgets-tally as a hash table rather than nil to
16145 prevent mode-line redisplay warnings. Also, clarify the module
16146 description and fix a comment typo.
14239447 16147
135e287c
JB
161482011-03-11 Juanma Barranquero <lekktu@gmail.com>
16149
16150 * help-fns.el (describe-variable): Don't complete keywords.
16151 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16152
ffbf300e
CY
161532011-03-10 Chong Yidong <cyd@stupidchicken.com>
16154
ba08b241
CY
16155 * emacs-lisp/package.el (package-version-join): Impose a standard
16156 string representation for pre/alpha/beta version lists.
16157 (package-unpack-single): Standardize the directory name by passing
16158 it through package-version-join.
16159 (package-strip-rcs-id): Accept any version string that does not
16160 signal an error in version-to-list.
ffbf300e 16161
f346fd6b
MA
161622011-03-10 Michael Albinus <michael.albinus@gmx.de>
16163
16164 * simple.el (delete-trailing-whitespace): Return nil for the
16165 benefit of `write-file-functions'.
16166
ccb55d27
GM
161672011-03-10 Glenn Morris <rgm@gnu.org>
16168
5ceaac0c
GM
16169 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16170
02da65ff
GM
16171 * vc/vc-git.el (vc-git-program): New option.
16172 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16173 (vc-git--call): Use it.
16174
b2f603cc
GM
16175 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16176
5772caab
GM
16177 * cus-edit.el (Custom-newline): If no button at point, look
16178 for a subgroup button at start-of-line. (Bug#2298)
16179
ccb55d27
GM
16180 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16181
ec6ecaed
JD
161822011-03-10 Julien Danjou <julien@danjou.info>
16183
16184 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16185 `cursor-type' is nil.
16186
9d5aa01d
JB
161872011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16188
16189 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16190
b6a5875b
KM
161912011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16192
7a71b18d 16193 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16194 preserves the existing header prefix, rebulleting it if necessary,
16195 rather than replacing it. This is necessary for proper operation
16196 of cooperative addons like allout-widgets.
1154d12e
JB
16197 (allout-make-topic-prefix, allout-rebullet-heading):
16198 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16199 value as alternate bullet to be used, instead of prompting the user
16200 for a bullet character.
b6a5875b 16201
ee545c35
MA
162022011-03-09 Michael Albinus <michael.albinus@gmx.de>
16203
d86d2721
SM
16204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16205 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16206 `tramp-default-port'.
16207
c47971d7
DD
162082011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16209
16210 * net/rcirc.el (rcirc-handler-001): Remove useless
16211 with-rcirc-process-buffer.
16212 (rcirc-check-auth-status): Swap arguments to string-match.
16213
13522cb4
GM
162142011-03-09 Glenn Morris <rgm@gnu.org>
16215
0be6f4f1
GM
16216 * shell.el (shell-mode):
16217 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16218
13522cb4
GM
16219 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16220 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16221
515de2e3
CY
162222011-03-08 Chong Yidong <cyd@stupidchicken.com>
16223
16224 * emacs-lisp/package.el (package-refresh-contents)
16225 (package-menu-execute): Use condition-case-no-debug.
16226
b511b994
MA
162272011-03-08 Michael Albinus <michael.albinus@gmx.de>
16228
16229 * simple.el (shell-command-to-string): Use `process-file'.
16230
16231 * emacs-lisp/package.el (package-tar-file-info): Handle also
16232 remote files.
16233
d86d2721
SM
16234 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16235 Use `equal' for upload base check.
b511b994 16236
25bbfb31
AM
162372011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16238
16239 * textmodes/texinfo.el (texinfo-environments):
16240 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16241
be996521
GM
162422011-03-08 Glenn Morris <rgm@gnu.org>
16243
e9c8529f
GM
16244 * cus-start.el (cursor-in-non-selected-windows):
16245 Fix :set quoting oddness. (Bug#8192)
16246
be996521
GM
16247 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16248 in some setf expressions. (Bug#2159)
16249
2bb5649e
CY
162502011-03-08 Chong Yidong <cyd@stupidchicken.com>
16251
16252 * custom.el (custom-available-themes): Return themes in
16253 alphabetical order.
16254
33383987 16255See ChangeLog.15 for earlier changes.
e3d51b27
MR
16256
16257;; Local Variables:
16258;; coding: utf-8
e3d51b27
MR
16259;; End:
16260
acaf905b 16261 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16262
16263 This file is part of GNU Emacs.
16264
16265 GNU Emacs is free software: you can redistribute it and/or modify
16266 it under the terms of the GNU General Public License as published by
16267 the Free Software Foundation, either version 3 of the License, or
16268 (at your option) any later version.
16269
16270 GNU Emacs is distributed in the hope that it will be useful,
16271 but WITHOUT ANY WARRANTY; without even the implied warranty of
16272 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16273 GNU General Public License for more details.
16274
16275 You should have received a copy of the GNU General Public License
16276 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.