Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
19faa8e8
SM
12012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4 (pcase--self-quoting-p): New function.
5 (pcase--u1): Use it.
6
c4907a5e
GM
72012-07-10 Glenn Morris <rgm@gnu.org>
8
9 * emacs-lisp/authors.el (authors-fixed-entries):
10 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11
c4444d16
PE
122012-07-09 Paul Eggert <eggert@cs.ucla.edu>
13
14 Rename configure.in to configure.ac (Bug#11603).
15 * emacs-lisp/authors.el (authors-canonical-file-name):
16 * progmodes/autoconf.el (autoconf-mode):
17 Prefer configure.ac to configure.in.
18
d75be97d
CY
192012-07-08 Chong Yidong <cyd@gnu.org>
20
01ac65bd
CY
21 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
22 Implement the mouse-1-click-follows-link handling properly.
23
24 * info.el (Info-link-keymap): Use follow-link mechanism for
25 header-line links (Bug#374).
26
d75be97d
CY
27 * simple.el (deactivate-mark): Do not set the primary selection
28 if another program has acquired it (Bug#11772).
29
87a92845 302012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
31
32 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
33 (woman-decode-region): Replace escaped-escapes without destroying
34 bold or underline (Bug#11552).
87a92845 35 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 36
621b9d6c
CY
372012-07-07 Chong Yidong <cyd@gnu.org>
38
39 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
40 (interprogram-cut-function, interprogram-paste-function):
41 Mention that we typically mean the clipboard.
621b9d6c 42
133a11fc
GM
432012-07-06 Glenn Morris <rgm@gnu.org>
44
0d27a45e
GM
45 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
46
133a11fc
GM
47 * files.el (toggle-read-only): Restrict message to interactive use.
48
07b151f1
MA
492012-07-06 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
52
53 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
54
211b896b
GM
552012-07-06 Glenn Morris <rgm@gnu.org>
56
50394322
GM
57 * Makefile.in (compile-one-process): Rename from "recompile".
58
211b896b
GM
59 * Makefile.in (bzr-update): "compile" is the same as "recompile
60 autoloads", but parallelizable, so use that instead.
61
4737eec9
DG
622012-07-06 Dmitry Gutov <dgutov@yandex.ru>
63
64 * window.el (quit-window): Always restore window height when
65 it's saved in quit-restore parameter.
66
226c3633 672012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
68
69 * simple.el (kill-whole-line): Doc tweak.
70
226c3633 712012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
72
73 * files.el (file-relative-name): Compare file names
74 case-insensitively if on MS-Windows or MS-DOS, or if
75 read-file-name-completion-ignore-case is non-nil. Don't use
76 case-fold-search for this purpose. (Bug#11827)
77
226c3633 782012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 79
19faa8e8
SM
80 * calendar/cal-dst.el (calendar-current-time-zone):
81 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 82
60198fc9
GM
832012-07-06 Glenn Morris <rgm@gnu.org>
84
85 * Makefile.in (cvs-update): Remove old alias.
86
957b3189
MA
872012-07-05 Michael Albinus <michael.albinus@gmx.de>
88
89 Sync with Tramp 2.2.6-pre.
90
91 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
92 compatible declaration.
93
19faa8e8
SM
94 * net/tramp-cmds.el (tramp-append-tramp-buffers):
95 Protect `list-load-path-shadows' call.
957b3189
MA
96
97 * net/tramp-compat.el (top): Require packages, which aren't
98 autoloaded anymore for XEmacs. Protect call of
99 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
100 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
101 it hurts at least for SXEmacs.
102 (tramp-compat-temporary-file-directory): In XEmacs, there is no
103 standard-value for `temporary-file-directory'.
104
105 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
106 Redirect stderr to /dev/null.
107 (tramp-sh-handle-write-region): uid and gid can be floats.
108 Reported by Russell Sim <russell.sim@gmail.com>.
109 (tramp-sh-handle-vc-registered): Hide errors.
110 (tramp-vc-file-name-handler): Use dummy results for `process-file'
111 and `start-file-process'.
112 (tramp-maybe-open-connection): Check also whether `non-essential'
113 is bound.
114
566df3fc
CY
1152012-07-04 Chong Yidong <cyd@gnu.org>
116
117 * xml.el (xml--parse-buffer): Use xml-syntax-table.
118 (xml-parse-tag): Likewise, and avoid changing entity tables.
119 (xml-syntax-table): Define from scratch, making sure not to give
120 x2000 and other Unicode spaces whitespace syntax, since those are
121 not spaces in XML.
122 (xml-parse-fragment): Delete unused function.
123 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
124 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
125 (xml-entity-ref, xml-pe-reference-re)
126 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
127 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
128 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
129 (xml-entity-value-re): Use syntax references in regexps where
130 possible; no need to define inside a let-binding.
131 (xml-parse-dtd): Use xml-pe-reference-re.
132 (xml-entity-or-char-ref-re): New defconst.
133 (xml-parse-string, xml-substitute-special): Use it.
134
30eabd7a
SM
1352012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
136
0781098a
SM
137 * files.el (locate-dominating-file): Allow `name' to be a predicate.
138 (find-file--read-only): New function.
139 (find-file-read-only, find-file-read-only-other-window)
140 (find-file-read-only-other-frame): Use it.
141 (insert-file-contents-literally): Don't `fset'.
142 (get-free-disk-space): Use locate-dominating-file.
143
b5771c0d
SM
144 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
145 function is already compiled.
146
30eabd7a
SM
147 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
148
b4886f6e
MA
1492012-07-03 Michael Albinus <michael.albinus@gmx.de>
150
151 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
152 files on the same host.
153
b9d82339
AS
1542012-07-03 Andreas Schwab <schwab@linux-m68k.org>
155
156 * help-fns.el (describe-function-1): Only call
157 help-fns--autoloaded-p when we have a file name. (Bug#11848)
158
a76e6535
CY
1592012-07-03 Chong Yidong <cyd@gnu.org>
160
161 * xml.el: Protect parser against XML bombs.
162 (xml-entity-expansion-limit): New variable.
163 (xml-parse-string, xml-substitute-special): Use it.
164 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
165
b544fef2
GM
1662012-07-03 Glenn Morris <rgm@gnu.org>
167
168 * progmodes/bug-reference.el (bug-reference-bug-regexp):
169 Allow linking to specific messages in debbugs reports (eg 123#5).
170
a7aef6f5
CY
1712012-07-02 Chong Yidong <cyd@gnu.org>
172
173 * xml.el: Fix entity and character reference expansion, allowing
174 them to expand into markup as per XML spec.
175 (xml-default-ns): New variable.
176 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
177 (xml-parse-region): Make first two arguments optional.
178 Discard text properties.
179 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
180 All callers changed.
a7aef6f5
CY
181 (xml-parse-tag): Call xml-parse-tag-1. For backward
182 compatibility, this function should not modify buffer contents.
183 (xml-parse-tag-1): Fix opening-tag regexp.
184 (xml-parse-string): Rewrite, handling entity and character
185 references properly.
186 (xml--entity-replacement-text): Signal an error if a parameter
187 entity is undefined.
188
3df31c9f
SM
1892012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
190
2b5208f1
SM
191 * comint.el (comint-output-filter): Filter out repeated prompts.
192
3df31c9f
SM
193 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
194 and file-name-absolute-p.
195 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
196 internal calls.
197
e3ac1281
PE
1982012-07-02 Paul Eggert <eggert@cs.ucla.edu>
199
200 Spelling fixes.
201 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
202 Rename from byte-compile--refiy-function. All uses changed.
203
fbf2e7ad
CY
2042012-07-01 Chong Yidong <cyd@gnu.org>
205
206 * xml.el (xml--parse-buffer): New function. Move most of
207 xml-parse-region here.
208 (xml-parse-region): Copy region into a temporary buffer, since
209 parameter entity substitution requires changing buffer contents.
210 Use xml--parse-buffer.
211 (xml-parse-file): Use xml--parse-buffer.
212 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 213 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 214
9bf0aa15
GM
2152012-06-30 Glenn Morris <rgm@gnu.org>
216
bbce2853
GM
217 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
218
9bf0aa15
GM
219 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
220 Remove outdated and unnecessary dbus declarations.
221
0d23c240
EZ
2222012-06-30 Eli Zaretskii <eliz@gnu.org>
223
224 * emacs-lisp/timer.el (timer-until): Subtract results of
225 float-time, instead of taking float-time of the result of
226 time-subtract, since float-time signals an error for negative time
227 arguments.
228
b3218de1
CY
2292012-06-30 Chong Yidong <cyd@gnu.org>
230
231 * xml.el (xml-*-re): Convert defvars into defconsts, and
232 eval-and-compile them so eval-and-compile works on derivatives.
233 (xml--entity-replacement-text): Use eval-and-comple.
234
a40c87a0
MA
2352012-06-30 Michael Albinus <michael.albinus@gmx.de>
236
237 * vc/vc-git.el (vc-git-registered): Use cache property
238 `git-registered'.
239 (vc-git-mode-line-string): Call `vc-working-revision' instead of
240 `vc-git-working-revision' in order to benefit from the cache.
241 (vc-git-root): Use cache property `git-root'.
242
ac87de97
DG
2432012-06-30 Dmitry Gutov <dgutov@yandex.ru>
244
245 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
246 removed (likely outside Emacs).
247
ac10fe06
SM
2482012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
249
3df31c9f 250 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 251
7f3fbd5d
CY
2522012-06-30 Chong Yidong <cyd@gnu.org>
253
254 * xml.el: Implement XML parameter entities.
255 (xml-parameter-entity-alist): New variable.
256 (xml-parse-region, xml-parse-fragment): Preserve previous values
257 of xml-entity-alist and xml-parameter-entity-alist, so that
258 repeated calls on different documents do not change them.
259 (xml-parse-tag): Fix doctype regexp.
260 (xml--entity-replacement-text): New function.
261 (xml-parse-dtd): Use it. Don't handle system entities; doing that
262 properly requires url retrieval which is unimplemented.
263 (xml-escape-string): Doc fix.
264
3cfbebba
SM
2652012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
268
2af3565e
DA
2692012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
270
271 * fringe.el (fringe-mode): Doc fix.
272
929df0e7
MA
2732012-06-29 Michael Albinus <michael.albinus@gmx.de>
274
275 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
276 is non-nil.
277 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
278 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
279
c8d3a25c 2802012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 281
c8d3a25c
GM
282 * calendar/cal-dst.el (calendar-current-time-zone):
283 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 284
c8d3a25c 2852012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
286
287 * progmodes/which-func.el (which-func-format):
288 Add mouse-face. (Bug#11698)
289
c8d3a25c
GM
2902012-06-29 Leo Liu <sdl.web@gmail.com>
291
292 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
293
2942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * minibuffer.el (minibuffer-confirm-exit-commands):
297 Add completion-at-point (bug#11725).
298
2992012-06-29 Glenn Morris <rgm@gnu.org>
300
301 * progmodes/f90.el (f90-font-lock-keywords-2):
302 Add some preprocessor elements. (Bug#10499)
303
3042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * progmodes/cperl-mode.el (cperl-update-syntaxification):
307 Use syntax-propertize (bug#11739).
308
2badeec4
JB
3092012-06-28 Juanma Barranquero <lekktu@gmail.com>
310
311 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
312
ae4969c2
JD
3132012-06-28 Julien Danjou <julien@danjou.info>
314
315 * term.el (term-handle-colors-array): Use a set of new faces to
316 color the terminal. Also uses :inverse-video property.
317 (term-default-fg-color): Set to nil by default, deprecate in favor
318 of `term-face'.
319 (term-default-bg-color): Set to nil by default, deprecate in favor
320 of `term-face'.
321 (term-current-face): Use `term-face' by default.
322 (term-bold-attribute): Variable deleted.
323
1c9bd870
GM
3242012-06-28 Glenn Morris <rgm@gnu.org>
325
326 * simple.el (completion-list-mode-finish):
327 Don't use toggle-read-only. (Since completion-list-mode has
328 a special mode-class, it wasn't doing anything extra anyway.)
329
c207708c
SM
3302012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 Make inlining of other-mode interpreted functions work (bug#11799).
333 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
334 (byte-compile): Use it to fix compilation of lexical-binding closures.
335 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
336 function, if needed.
337
3fd56834
SM
3382012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
339
04901786
SM
340 * help-mode.el (help-make-xrefs): Don't just withstand
341 cyclic-variable-indirection but any error in documentation-property.
342
1ec4b7b2
SM
343 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
344 memory use.
345 * bindings.el (bindings--define-key): New function.
346 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
347 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
348 * bindings.el: Use it to purecopy define-key bindings.
349
e309e2a5
SM
350 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
351
d5c6faf9
SM
352 * emacs-lisp/cl.el (flet): Mark obsolete.
353 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
354 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
355 * progmodes/js.el (js-c-fill-paragraph):
356 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
357 (ebrowse-switch-member-buffer-to-derived-class):
358 * play/5x5.el (5x5-solver): Use cl-flet.
359
6e9590e2
SM
360 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
361 (cl--symbol-function): New macro.
362 (cl--letf, cl--letf*): Use it.
363
3fd56834
SM
364 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
365 Strip "toggle-" if any.
366
35ff222c
GM
3672012-06-27 Glenn Morris <rgm@gnu.org>
368
1ba6038a
GM
369 * info.el (Info-default-directory-list): Move here from paths.el.
370 * paths.el: Remove file, which is now empty.
371 * loadup.el: No longer load "paths".
372
0ea0e51b
GM
373 * custom.el (custom-initialize-delay): Doc fix.
374
35ff222c
GM
375 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
376 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
377 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
378 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
379 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
380 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
381 * eshell/eshell.el (eshell-defgroup): Remove alias.
382
c89926a5
CY
3832012-06-27 Chong Yidong <cyd@gnu.org>
384
385 * help.el (help-enable-auto-load): New variable.
386
387 * help-fns.el (help-fns--autoloaded-p): New function.
388 (describe-function-1): Refer to a function as "autoloaded" if it
389 was autoloaded at any time in the past. Perform autoloading if
390 help-enable-auto-load is non-nil.
391
cc06e7e7
EZ
3922012-06-26 Eli Zaretskii <eliz@gnu.org>
393
394 * makefile.w32-in (compile, compile-always): Depend on
395 update-subdirs, not on subdirs.el. Otherwise, several different
396 sub-targets of 'bootstrap' running in parallel could
397 simultaneously write to subdirs.el, producing a garbled file.
398
d2c32364
SS
3992012-06-26 Sam Steingold <sds@gnu.org>
400
401 * files.el (file-name-base): New convenience function.
0d14cc21
GM
402 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
403 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
404 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
405 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
406 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
407 * textmodes/tex-mode.el: Use it.
408 Did not touch cedet and org because they are maintained elsewhere.
409
5cf983b2
MR
4102012-06-26 Martin Rudalics <rudalics@gmx.at>
411
412 * calendar/calendar.el (calendar-exit): Don't try to delete or
413 iconify last frame. See:
414 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
415
8c4f2952
JD
4162012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
417
418 * server.el (server-process-filter): Remember dir in the
419 process's `server-client-directory' properties.
420
772b2e2c
CY
4212012-06-24 Chong Yidong <cyd@gnu.org>
422
423 * xml.el (xml-parse-tag): Correctly handle comment embedded in
424 non-tag text.
425
711b11e1
JB
4262012-06-23 Juanma Barranquero <lekktu@gmail.com>
427
428 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
429
dc5d230c
SM
4302012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * help-fns.el (describe-variable): Don't croak when doc is not found.
433 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
434 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
435 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
436 * emacs-lisp/smie.el (smie-next-sexp): CSE.
437 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
438 ((lambda ..) ..).
439 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
440
136e1c1d
CY
4412012-06-23 Chong Yidong <cyd@gnu.org>
442
e8c1cabf
CY
443 * info.el (Info-mouse-follow-link): Accept symbol values of
444 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
445 (Info-fontify-node): Use Info-link-keymap for all navigation
446 buttons, with link-args property to perform the desired action.
447 (Info-link-keymap): Doc fix.
448 (Info-next-link-keymap, Info-prev-link-keymap)
449 (Info-up-link-keymap): Delete now-unused keymaps.
450
0e9e6c6a
CY
4512012-06-23 Chong Yidong <cyd@gnu.org>
452
05e89fea
CY
453 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
454
0e9e6c6a
CY
455 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
456 system abbrevs.
457
458 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
459
e33c6771
SM
4602012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
461
b68581e2
SM
462 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
463 (bug#11719).
464
e33c6771
SM
465 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
466 the requote function doesn't work properly (bug#11714).
467
7117e105
GM
4682012-06-23 Glenn Morris <rgm@gnu.org>
469
470 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
471
36cec983
SM
4722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 Further GV/CL cleanups.
475 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
476 gv-expander.
477 (gv--defun-declaration): New function.
478 (defun-declarations-alist): Use it.
479 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
480 (gv-place): Autoload.
481 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
482 original definition of dotimes and dolist.
483 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
484 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
485 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
486 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
487 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
488 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
489 to the function's definition.
490 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
491 * window.el:
492 * files.el:
493 * faces.el:
494 * env.el: Don't use CL.
495
d35af63c
PE
4962012-06-22 Paul Eggert <eggert@cs.ucla.edu>
497
498 Support higher-resolution time stamps (Bug#9000).
499
500 * calendar/time-date.el (with-decoded-time-value): New arg
501 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
502 (encode-time-value): New optional arg PICO. New type 3.
503 (time-to-seconds) [!float-time]: Support the new picoseconds
504 component if it's used.
505 (seconds-to-time, time-subtract, time-add):
506 Support ps-resolution time stamps as well.
507
508 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
509 (timerp): Timer vectors now have length 9, not 8.
510 (timer--time): Support new-style (4-part) time stamps.
511 (timer-next-integral-multiple-of-time): Time stamps now have
512 picosecond resolution, so take a bit more care about rounding.
513 (timer-relative-time, timer-inc-time): New optional arg psecs.
514 (timer-set-time-with-usecs): Set psecs to 0.
515 (timer--activate): Check psecs component, too.
516
517 * proced.el (proced-time-lessp): Support ps-resolution stamps.
518
ac77b21a
SM
5192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
520
f143bfe3
SM
521 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
522 Move the non-essential binding to the post/pre-command-hook where it is
523 more obviously correct.
524
ac77b21a
SM
525 * subr.el (read-passwd): Don't use a history at all.
526 * savehist.el (savehist-save): Remove password saved accidentally
527 because of the above bug.
528
76386c5a
BG
5292012-06-22 Bastien Guerry <bzg@gnu.org>
530
531 * files.el (toggle-read-only): Display a message telling whether
532 the buffer is read-only or not (bug#11726).
533
2ee3d7f0
SM
5342012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * emacs-lisp/gv.el: New file.
537 * subr.el (push, pop): Extend to generalized variables.
538 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
539 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
540 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
541 gv-define-simple-setter, and gv-define-expander.
542 Remove setf-methods defined in gv. Rename cl-setf -> setf.
543 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
544 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
545 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
546 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
547 gv-letplace.
548 (cl-defstruct): Don't define setf-method any more.
549 * emacs-lisp/cl.el (flet): Don't autoload.
550 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
551 (define-setf-expander, defsetf, define-modify-macro)
552 (cl-struct-setf-expander): Move from cl-lib.el.
553 * emacs-lisp/syntax.el:
554 * emacs-lisp/ewoc.el:
555 * emacs-lisp/smie.el:
556 * emacs-lisp/cconv.el:
557 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
558 (timer--time): Use gv-define-simple-setter.
559 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
560 to avoid coding-system problems in subr.el. Adjust all users.
561 (macroexp--maxsize, macroexp-small-p): New functions.
562 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
563 * scroll-bar.el (scroll-bar-mode):
564 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
565 (normal-erase-is-backspace-mode): Don't use the `eq' place.
566 * winner.el (winner-configuration, winner-make-point-alist)
567 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
568 * files.el (locate-file-completion-table): Avoid list*.
569
c5695d1d
CY
5702012-06-22 Chong Yidong <cyd@gnu.org>
571
572 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
573 (dired-create-files): Doc fix (Bug#11329).
574 (dired-do-copy): Doc fix (Bug#11334).
575 (dired-mark-read-string): Doc fix (Bug#11553).
576
2ee3d7f0
SM
577 * dired.el (dired-recursive-copies, dired-recursive-deletes):
578 Doc fix (Bug#11326).
c5695d1d
CY
579 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
580 (dired-dwim-target): Doc fix.
581
582 * wdired.el (wdired-mode): Doc fix.
583
89b5595a
GM
5842012-06-22 Glenn Morris <rgm@gnu.org>
585
575db3f1
GM
586 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
587 (pcmpl-rpm-cache-stamp-file): New constant.
588 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
589 (pcmpl-rpm-packages): Optionally cache list of packages.
590
a4c8dd51
GM
591 * pcmpl-rpm.el (pcmpl-rpm): New group.
592 (pcmpl-rpm-query-options): New option.
593 (pcmpl-rpm-packages): No need to inline it.
594 Use pcmpl-rpm-query-options.
595
89b5595a
GM
596 * calendar/calendar.el (calendar-in-read-only-buffer):
597 Avoid some needless mode changes.
598
e76f0800
CY
5992012-06-21 Chong Yidong <cyd@gnu.org>
600
601 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
602 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 603 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 604
297a8f1d
CY
6052012-06-20 Chong Yidong <cyd@gnu.org>
606
607 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
608
d34c18b1
DR
6092012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
610
611 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
612 (bug#11201).
613
32f7f28e
CY
6142012-06-20 Chong Yidong <cyd@gnu.org>
615
616 * term.el (term-window-width): Handle the case of a missing right
617 fringe (Bug#8837).
618 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
619 (term-mode): Use define-derived-mode. Minor cleanups.
620 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
621 (term-move-columns, term-insert-char, term-emulate-terminal)
622 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 623
493c6688
MA
6242012-06-20 Michael Albinus <michael.albinus@gmx.de>
625
d34c18b1
DR
626 * net/ange-ftp.el (ange-ftp-get-passwd):
627 Bind `enable-recursive-minibuffers'.
493c6688
MA
628 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
629
3f06ecf4
DR
6302012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
631
632 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
633
68f12411
GM
6342012-06-19 Glenn Morris <rgm@gnu.org>
635
636 * progmodes/python.el (python-mode): Derive from prog-mode.
637
b3820318
KG
6382012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
639
640 * emulation/edt.el (edt-default-menu-bar-update-buffers)
641 (edt-user-menu-bar-update-buffers): New functions.
642 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
643
c6bf3022
CY
6442012-06-19 Chong Yidong <cyd@gnu.org>
645
646 * subr.el (with-selected-window): Preserve the selected window's
647 terminal's top-frame (Bug#4702).
648
649 * window.el (save-selected-window): Likewise.
650
25f09295
SM
6512012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * progmodes/python.el (python-rx-constituents): Move backquote.
654 (python-skeleton-define, python-define-auxiliary-skeleton):
655 Use `declare'.
656
6b11952a
MA
6572012-06-18 Michael Albinus <michael.albinus@gmx.de>
658
659 * minibuffer.el (read-file-name-default): Revert the patch from
660 2012-06-17.
661
ee4b1330
SM
6622012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
665 (pcase--u1, pcase--q1): Don't use apply-partially.
666
35647f79
GM
6672012-06-18 Glenn Morris <rgm@gnu.org>
668
669 * progmodes/python.el (python-proc, python-buffer)
670 (python-send-receive, python-send-string): Fix obsolete versions.
671
24b0cff0
MR
6722012-06-18 Martin Rudalics <rudalics@gmx.at>
673
674 * window.el (special-display-p): Completely remove stringp
675 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
676
29855149
MA
6772012-06-17 Michael Albinus <michael.albinus@gmx.de>
678
679 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
680
681 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
682
683 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
684 * net/tramp-sh.el (tramp-maybe-open-connection):
685 Throw if `non-essential' is non-nil.
686
07463363
MR
6872012-06-17 Martin Rudalics <rudalics@gmx.at>
688
689 * window.el (special-display-p): Signal an error if BUFFER-NAME
690 is not a string (Bug#11713).
691
48d1354e
PE
6922012-06-17 Paul Eggert <eggert@cs.ucla.edu>
693
694 * progmodes/python.el (python-info-beginning-of-backslash):
695 Rename from python-info-beginning-of-backlash, as a spelling fix.
696
eb4a8a9a
CY
6972012-06-17 Chong Yidong <cyd@gnu.org>
698
699 * term.el (term-emulate-terminal): If term-check-size is called,
700 move point to the process mark without resetting point (Bug#4635).
701
ddfbf826 7022012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
703
704 * international/mule-cmds.el (mule-menu-keymap)
705 (set-language-environment, set-locale-environment): Doc tweaks.
706
9b0e3eba
AA
7072012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
708
709 * cus-face.el (custom-face-attributes): Add wave-style underline
710 attribute.
711 * faces.el (set-face-attribute): Update docstring to describe
712 wave-style underline attribute.
713
771e3eae
CY
7142012-06-16 Chong Yidong <cyd@gnu.org>
715
716 * term/xterm.el (terminal-init-xterm): Discard input before
717 querying background mode (Bug#10959).
718
7ae2ea10
SM
7192012-06-16 Stefan Merten <smerten@oekonux.de>
720
721 * textmodes/rst.el: Added and corrected some comments.
722 (rst-re-alist-def): Improve symbol syntax.
723 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
724 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
725 (rst-official-version, rst-official-cvs-rev): Update version
726 information.
7ae2ea10 727
b6974efa
JB
7282012-06-15 Juanma Barranquero <lekktu@gmail.com>
729
730 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
731 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
732
8826d473
GM
7332012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
734
735 * progmodes/python.el: New python.el merge.
736 (python-guess-indent): Obsolete var.
737 (python-indent-guess-indent-offset): New defcustom.
738 (python-indent): Obsolete var.
739 (python-indent-offset): New defcustom.
740 (python-python-command, python-jython-command): Delete var.
741 (python-shell-interpreter): New defcustom.
742 (python-pdbtrack-do-tracking-p): Delete var.
743 (python-pdbtrack-activate): New defcustom.
744 (python-use-skeletons): Obsolete var.
745 (python-skeleton-autoinsert): New defcustom.
746 (inferior-python-filter-regexp, python-continuation-offset)
747 (python-honour-comment-indentation, python-indent-string-contents)
748 (python-jython-packages, python-mode-hook)
749 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
750 (python-shell-prompt-alist)
751 (python-source-modes): Delete defcustoms.
752 (python-check-buffer-name, python-eldoc-setup-code)
753 (python-eldoc-string-code, python-ffap-setup-code)
754 (python-ffap-string-code, python-fill-comment-function)
755 (python-fill-decorator-function, python-fill-paren-function)
756 (python-fill-string-function, python-imenu-include-defun-type)
757 (python-imenu-make-tree, python-imenu-subtree-root-label)
758 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
759 (python-shell-compilation-regexp-alist)
760 (python-shell-completion-module-string-code)
761 (python-shell-completion-pdb-string-code)
762 (python-shell-completion-setup-code)
763 (python-shell-completion-string-code)
764 (python-shell-enable-font-lock, python-shell-exec-path)
765 (python-shell-extra-pythonpaths)
766 (python-shell-internal-buffer-name, python-shell-interpreter-args)
767 (python-shell-process-environment)
768 (python-shell-prompt-block-regexp)
769 (python-shell-prompt-output-regexp)
770 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
771 (python-shell-send-setup-max-wait, python-shell-setup-codes)
772 (python-shell-virtualenv-path): New defcustoms.
773 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
774 (inferior-python-mode-syntax-table, python--prompt-regexp)
775 (python-buffer, python-command python-python-command)
776 (python-default-template, python-imports, python-indent-index)
777 (python-indent-list, python-indent-list-length)
778 (python-mode-running, python-pdbtrack-is-tracking-p)
779 (python-preoutput-continuation, python-preoutput-leftover)
780 (python-preoutput-result, python-preoutput-skip-next-prompt)
781 (python-prev-dir/file, python-recursing)
782 (python-saved-check-command, python-version-checked)
783 (python-which-func-length-limit)
784 (view-return-to-alist): Delete vars.
785 (python-check-custom-command, python-dotty-syntax-table)
786 (python-imenu-index-alist, python-indent-current-level)
787 (python-indent-dedenters, python-indent-levels)
788 (python-nav-beginning-of-defun-regexp)
789 (python-nav-list-defun-positions-cache)
790 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
791 (python-shell-internal-buffer)
792 (python-skeleton-available): New vars.
793 (def-python-skeleton): Delete macro.
794 (python-skeleton-define): New macro.
795 (python-define-auxiliary-skeleton, python-rx): New macros.
796 (python-insert-class): Delete command.
797 (python-skeleton-class): New command.
798 (python-insert-def): Delete command.
799 (python-skeleton-def): New command.
800 (python-insert-for): Delete command.
801 (python-skeleton-for): New command.
802 (python-insert-if): Delete command.
803 (python-skeleton-if): New command.
804 (python-insert-try/except, python-insert-try/finally): Delete commands.
805 (python-skeleton-try): New command.
806 (python-insert-while): Delete command.
807 (python-skeleton-while): New command.
808 (python-backspace): Delete command.
809 (python-indent-dedent-line-backspace): New command.
810 (python-electric-colon): Delete command.
811 (python-indent-electric-colon): New command.
812 (python-guess-indent): Delete command.
813 (python-indent-guess-indent-offset): New command.
814 (python-shift-left): Delete command.
815 (python-indent-shift-left): New command.
816 (python-shift-right): Delete command.
817 (python-indent-shift-right): New command.
818 (python-find-function): Delete command.
819 (python-nav-jump-to-defun): New command.
820 (python-next-statement): Delete command.
821 (python-nav-forward-sentence): New command.
822 (python-previous-statement): Delete command.
823 (python-nav-backward-sentence): New command.
824 (python-fill-paragraph): Delete command.
825 (python-fill-paragraph-function): New command.
826 (python-send-buffer): Delete command.
827 (python-shell-send-buffer): New command.
828 (python-send-defun): Delete command.
829 (python-shell-send-defun): New command.
830 (python-send-region, python-send-region-and-go): Delete commands.
831 (python-shell-send-region)
832 (python-shell-switch-to-shell): New commands.
833 (python-send-string): Delete command.
834 (python-shell-send-string): New command.
835 (python-switch-to-python): Delete command.
836 (python-shell-switch-to-shell): New command.
837 (python-describe-symbol): Delete command.
838 (python-eldoc-at-point): New command.
839 (python--set-prompt-regexp, python-args-to-list)
840 (python-after-info-look, python-check-version)
841 (python-check-comint-prompt, python-find-imports)
842 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
843 (python-unload-function, python-expand-template)
844 (python-maybe-jython, python-preoutput-filter)
845 (python-pdbtrack-get-source-buffer)
846 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
847 (python-pdbtrack-toggle-stack-tracking)
848 (python-pdbtrack-track-stack-file, python-initial-text)
849 (python-first-word, python-comment-line-p, python-send-command)
850 (python-setup-brm, python-sentinel, python-set-proc)
851 (python-skip-out, python-input-filter, python-outdent-p)
852 (python-outline-level, python-backslash-continuation-line-p)
853 (python-end-of-block, python-end-of-statement, python-mark-block)
854 (python-beginning-of-block, python-beginning-of-statement)
855 (python-blank-line-p, python-beginning-of-string)
856 (python-open-block-statement-p): Delete functions.
857 (python-indent-line, python-indent-line-1): Delete functions.
858 (python-indent-line): New function.
859 (python-indentation-levels): Delete function.
860 (python-indent-calculate-levels): New function.
861 (python-proc): Delete function.
862 (python-shell-get-process): New function.
863 (python-send-receive): Delete function.
864 (python-shell-send-string-no-output): New function.
865 (python-module-path): Delete function.
866 (python-ffap-module-path): New function.
867 (python-completion-at-point)
868 (python-symbol-completions): Delete functions.
869 (python-completion-complete-at-point): New function.
870 (python-load-file): Delete function.
871 (python-shell-send-file): New function.
872 (python-calculate-indentation): Delete function.
873 (python-indent-calculate-indentation): New function.
874 (python-skip-comments/blanks): Delete function.
875 (python-util-forward-comment): New function.
876 (python-continuation-line-p): Delete function.
877 (python-info-continuation-line-p): New function.
878 (python-which-func, python-current-defun): Delete function.
879 (python-info-current-defun): New function.
880 (python-beginning-of-defun): Delete function.
881 (python-nav-beginning-of-defun): New function.
882 (python-close-block-statement-p)
883 (python-block-end-p): Delete function.
884 (python-info-closing-block): New function.
885 (python-comint-output-filter-function)
886 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
887 (python-fill-comment, python-fill-decorator, python-fill-paren)
888 (python-fill-string, python-imenu-make-element-tree)
889 (python-imenu-make-tree, python-imenu-tree-assoc)
890 (python-indent-context, python-indent-dedent-line)
891 (python-indent-line-function)
892 (python-indent-post-self-insert-function)
893 (python-indent-toggle-levels)
894 (python-info-assignment-continuation-line-p)
895 (python-info-beginning-of-backlash)
896 (python-info-block-continuation-line-p)
897 (python-info-closing-block-message)
898 (python-info-line-ends-backslash-p)
899 (python-info-looking-at-beginning-of-defun)
900 (python-info-ppss-context, python-info-ppss-context-type)
901 (python-nav-list-defun-positions, python-nav-read-defun)
902 (python-nav-sentence-end, python-nav-sentence-start)
903 (python-pdbtrack-comint-output-filter-function)
904 (python-pdbtrack-set-tracked-buffer)
905 (python-shell-calculate-exec-path)
906 (python-shell-calculate-process-environment)
907 (python-shell-completion--do-completion-at-point)
908 (python-shell-completion--get-completions)
909 (python-shell-completion-complete-at-point)
910 (python-shell-completion-complete-or-indent)
911 (python-shell-get-or-create-process)
912 (python-shell-get-process-name)
913 (python-shell-internal-get-or-create-process)
914 (python-shell-internal-get-process-name)
915 (python-shell-internal-send-string, python-shell-make-comint)
916 (python-shell-parse-command, python-shell-send-setup-code)
917 (python-skeleton-add-menu-items)
918 (python-util-clone-local-variables, python-util-position)
919 (run-python-internal, python-indentation-levels)
920 (python-nav-beginning-of-defun)
921 (python-completion-complete-at-point): New functions.
922 (run-python): Change arguments. New API requirements.
923
4302f5ba
SM
9242012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
925
f38ea36d
SM
926 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
927 (bug#11649).
928
929 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
930 (macroexp--expand-all): Use it.
931
4302f5ba
SM
932 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
933 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
934 Use `cl-function' instead.
935
33377562
JB
9362012-06-14 Juanma Barranquero <lekktu@gmail.com>
937
938 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
939 Suggested by Stefan Monnier while discussing bug#11657.
940
54c5ba1a
SS
9412012-06-14 Sam Steingold <sds@gnu.org>
942
943 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
944
f9f1b1fe
AS
9452012-06-14 Andreas Schwab <schwab@linux-m68k.org>
946
947 * play/doctor.el (doctor-doc): Remove parameter and use
948 doctor-sent instead of sent.
949 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
950
a81068ba
SM
9512012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
952
5a315f9c
SM
953 * files.el: Require cl-lib.
954 (file-name-non-special): Replace case -> cl-case.
955
956 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
957
a81068ba
SM
958 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
959 mapping from #' to function*.
960
8cca9703
CY
9612012-06-13 Chong Yidong <cyd@gnu.org>
962
963 * mouse.el (mouse-drag-track): Do not set the mark if the user
964 releases the mouse without selecting anything (Bug#11588).
965
a12ac9d7
SM
9662012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
967
ccf1dc18
SM
968 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
969 as well (bug#11646).
970
ef62b23d
SM
971 * loadup.el: Count byte-code functions as well.
972
c4c8444a
SM
973 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
974 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
975
a12ac9d7
SM
976 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
977 (bug#11649). Add cl-defun and cl-defmacro.
978
87e6e64f
DA
9792012-06-13 Drew Adams <drew.adams@oracle.com>
980
981 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
982 Fix last change.
983
682cefaf
MA
9842012-06-13 Michael Albinus <michael.albinus@gmx.de>
985
986 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
987 Otherwise, it blocks in batch mode.
988
773e1f08
JB
9892012-06-13 Juanma Barranquero <lekktu@gmail.com>
990
991 * help-mode.el (bookmark-make-record-default): Declare.
992
60057926
CY
9932012-06-13 Chong Yidong <cyd@gnu.org>
994
995 * emacs-lisp/package.el (list-packages): Compute a list of
996 packages that are newly-available since the last list-packages
997 invocation.
998 (package-menu--new-package-list): New var.
999 (package-menu--generate, package-menu--print-info)
1000 (package-menu--status-predicate, package-menu-mark-install):
1001 Handle new status label "new".
1002
ad4d226c
SM
10032012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1006 conversion to backquotes.
1007
f1a4e679
CY
10082012-06-12 Chong Yidong <cyd@gnu.org>
1009
1010 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1011 Rename from gud-inhibit-global-bindings.
1012
1013 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1014
1015 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1016 hook from nxml-glyph-set-hook.
1017
1018 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1019 declaration.
1020
1021 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1022
1023 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1024 Convert to defcustom.
1025
0c9e42b5
DA
10262012-06-12 Drew Adams <drew.adams@oracle.com>
1027
1028 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1029 New functions.
1030 (help-mode): Use them.
1031
09e06855
GM
10322012-06-11 Glenn Morris <rgm@gnu.org>
1033
1034 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1035 Use preprocessor face for directives.
1036 (fortran-directive-re): Doc fix.
1037
71adb94b
SM
10382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1039
2eb87922
SM
1040 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1041 conversion to backquotes (bug#11652).
1042
71adb94b
SM
1043 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1044 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1045 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1046 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1047 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1048 (cl-ninth, cl-tenth): Mark them as inlinable.
1049 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1050 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1051 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1052 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1053 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1054 (cl-list*, cl-adjoin): Don't put an autoload manually.
1055 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1056 (cl--compiler-macro-list*): Add autoload cookie.
1057 (cl--compiler-macro-cXXr): New function.
2eb87922 1058
71adb94b
SM
1059 * help-fns.el (help-fns--compiler-macro): New function extracted from
1060 describe-function-1; follow aliases and use `compiler-macro' property.
1061 (describe-function-1): Use it.
1062
a6674402
CY
10632012-06-11 Chong Yidong <cyd@gnu.org>
1064
1065 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1066 is uninstalled, if imagemagick is installed.
1067
bb3faf5b
SM
10682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/cl-lib.el: Use lexical-binding.
1071 (cl-map-extents, cl-maclisp-member): Remove.
1072 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1073 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1074 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1075 * emacs-lisp/cl-extra.el: Use lexical-binding.
1076 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1077 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1078 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1079 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1080 * emacs-lisp/cl-seq.el: Use lexical-binding.
1081 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1082 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1083 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1084 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1085 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1086 CL's internals.
1087
2fe4b125
MA
10882012-06-11 Michael Albinus <michael.albinus@gmx.de>
1089
1090 Sync with Tramp 2.2.6-pre.
1091
1092 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1093 `print-length' and `print-level' to nil, in order to avoid
1094 truncation. Reported by Christopher Schmidt
1095 <christopher@ristopher.com>.
1096
1097 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1098
1099 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1100 New defmacro.
1101 (tramp-compat-copy-directory): Add optional argument
1102 COPY-CONTENTS. It is not handled yet.
1103
1104 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1105 (tramp-ftp-file-name-p): Simplify.
1106
1107 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1108 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1109 connection vector.
1110
1111 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1112 (tramp-methods): Do not use `tramp-password-end-of-line'.
1113 (tramp-completion-function-alist-putty): Handle UNIX case.
1114 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1115 (tramp-do-file-attributes-with-stat)
1116 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1117 gid as real numbers. They could run out of integer range on cygwin.
1118 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1119 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1120 (tramp-open-connection-setup-interactive-shell):
1121 Use `tramp-cleanup'. Move check for busyboxes ...
1122 (tramp-find-shell): ... here. Simplify implementation.
1123 Set "remote-shell" property also for alternative shells.
1124 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1125 If failing, a regular file would be written otherwise.
1126 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1127 (tramp-find-inline-encoding): Cache the coding commands in the
1128 process cache. Apply test command on the remote side, if defined.
1129 (tramp-find-inline-compress): Cache the compress commands in the
1130 process cache.
1131 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1132 when requested. Handle hops.
1133 (tramp-current-connection): New defvar.
87e6e64f
DA
1134 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1135 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1136 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1137 (tramp-get-inline-compress, tramp-get-inline-coding):
1138 Read connection properties from the process cache.
2fe4b125
MA
1139
1140 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1141 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1142 New defconsts.
2fe4b125
MA
1143 (tramp-smb-prompt): Extend for powershell prompt.
1144 (tramp-smb-file-name-handler-alist): Add handlers for
1145 `process-file', `shell-command' and `start-file-process'.
1146 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1147 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1148 (tramp-smb-file-name-p): Simplify.
1149 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1150 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1151 (tramp-smb-shell-quote-argument): New defuns.
1152 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1153 Implement using "tar". By this, time-stamps are preserved.
1154 (tramp-smb-handle-copy-file): Handle also the case of directories.
1155 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1156 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1157 Use `tramp-get-connection-buffer').
2fe4b125
MA
1158 (tramp-smb-handle-rename-file): Use "rename", when source and
1159 target are on the same share.
87e6e64f
DA
1160 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1161 Use `tramp-smb-server-version'.
2fe4b125
MA
1162 (tramp-smb-wait-for-output): Remove prompt.
1163
1164 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1165 (tramp-methods, tramp-rsh-end-of-line):
1166 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1167 (tramp-save-ad-hoc-proxies): New defcustom.
1168 (tramp-completion-function-alist): Adapt docstring.
1169 (tramp-default-password-end-of-line): Remove defcustom.
1170 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1171 (tramp-user-regexp, tramp-file-name-regexp-unified)
1172 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1173 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1174 (tramp-remote-file-name-spec-regexp): New defconst.
1175 (tramp-file-name-structure): Extend structure for hops.
1176 (tramp-get-method-parameter): Move up.
1177 (tramp-file-name-p, tramp-dissect-file-name)
1178 (with-parsed-tramp-file-name): Handle hops.
1179 (tramp-file-name-hop): New defun.
1180 (tramp-make-tramp-file-name): New optional arg HOP.
1181 (tramp-message-show-progress-reporter-message): New defvar.
1182 (tramp-with-progress-reporter): Use it. We cannot use
1183 `tramp-message-show-message' here, because this suppresses also
1184 error buffers.
1185 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1186 `tramp-message-show-message' is nil.
1187 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1188 (tramp-cleanup): New defun.
1189 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1190 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1191 an error unchanged.
1192 (tramp-completion-handle-file-name-all-completions): Handle hops.
1193 Fix an error when called from ido.
1194 (tramp-completion-dissect-file-name): Use better local variable
1195 name. Add hop to the vector.
1196 (tramp-handle-insert-file-contents): Use progress-reporter for the
1197 whole scenario.
1198 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1199 to `t'.
1200 (tramp-check-for-regexp): Simplify search.
1201 (tramp-enter-password): Remove it. Move implementation ...
1202 (tramp-action-password): ... here.
1203 (tramp-mode-string-to-int, tramp-local-host-p)
1204 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1205 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1206 Set tramp-autoload cookie.
2fe4b125
MA
1207
1208 * net/trampver.el: Update release number.
1209
12102012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1211 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1214 (tramp-parse-group, tramp-parse-file)
1215 (tramp-parse-shostkeys-sknownhosts): New defuns.
1216 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1217 (tramp-parse-shosts-group, tramp-parse-sconfig)
1218 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1219 (tramp-parse-sknownhosts, tramp-parse-hosts)
1220 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1221 Use them.
1222 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1223 (tramp-parse-putty-group): Don't narrow.
1224 (tramp-parse-putty): Make a loop.
1225 (tramp-file-name-handler): Catch the `suppress' signal.
1226
72834e10
CY
12272012-06-11 Chong Yidong <cyd@gnu.org>
1228
1229 * image.el (imagemagick-register-types): Put the ImageMagick entry
1230 at the end of image-type-file-name-regexps.
1231
a4712e11
JB
12322012-06-11 Johan Bockgård <bojohan@gnu.org>
1233
1234 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1235 (pcase, pcase-let*, pcase-dolist): Use them.
1236
82ad98e3
SM
12372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/pcase.el (pcase--let*): New function.
1240 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1241 (pcase--expand): Use macroexp-let².
1242
f80efb86
SM
12432012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1246 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1247 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1248 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1249 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1250 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1251
31ca4639 12522012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1253
31ca4639
CY
1254 * mail/rmail.el (rmail-yank-current-message): Leave point at
1255 correct position. (Bug#11660)
94f0aa34 1256
31ca4639 12572012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1258
31ca4639 1259 * allout-widgets.el: Fix code header.
9e1b8ec4 1260
31ca4639 12612012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1262
f80efb86
SM
1263 * cus-edit.el (customize-changed-options-previous-release):
1264 Bump to 24.1.
31ca4639 1265
642b6d30
AS
12662012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1267
1268 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1269
4f5d2ba1
CY
12702012-06-09 Chong Yidong <cyd@gnu.org>
1271
1272 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1273
e75852fd
MR
12742012-06-09 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (special-display-popup-frame): Don't use
1277 window--display-buffer (Bug#11651).
1278
1e48e282
EZ
12792012-06-09 Eli Zaretskii <eliz@gnu.org>
1280
8a26b487
EZ
1281 Fix parallel builds: make sure loaddefs.el is not being written
1282 while Lisp files are compiled.
1283 (compile): Don't depend on 'mh-autoloads'.
1284 (compile-CMD, compile-SH): Depend on 'autoloads'.
1285 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1286
1e48e282
EZ
1287 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1288
6175e34b
CY
12892012-06-09 Chong Yidong <cyd@gnu.org>
1290
1291 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1292 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1293 Doc fixes (Bug#11225).
1294
d9857e53
SM
12952012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1298 a function if there's a clear indication that it has a compiler-macro.
1299 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1300 (macro-declarations-alist): Add arglist to declaration functions.
1301 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1302 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1303 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1304 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1305 Also add autoload to find the compiler macro.
1306 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1307 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1308 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1309 (cl--compiler-macro-get): New functions, replacing calls to
1310 cl-define-compiler-macro.
1311 (cl-typep) [compiler-macro]: Use macroexp-let².
1312
f81298f8 13132012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1314
1315 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1316 string properly, fixes Bug#11473.
1317
4b56d0fe
CY
13182012-06-08 Chong Yidong <cyd@gnu.org>
1319
1320 * faces.el (set-face-attribute): Doc fix.
1321 (modify-face): Don't use :bold and :italic.
1322 (error, warning, success): Tweak definitions.
1323
1324 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1325 (custom-modified, custom-set, custom-changed, custom-themed)
1326 (custom-saved, custom-button, custom-button-mouse)
1327 (custom-button-pressed, custom-state, custom-comment-tag)
1328 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1329 (custom-group-subtitle): Use new-style face specs.
1330 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1331 (custom-set-face, custom-changed-face, custom-saved-face)
1332 (custom-button-face, custom-button-pressed-face)
1333 (custom-documentation-face, custom-state-face)
1334 (custom-comment-face, custom-comment-tag-face)
1335 (custom-variable-tag-face, custom-variable-button-face)
1336 (custom-face-tag-face, custom-group-tag-face-1)
1337 (custom-group-tag-face): Remove obsolete face alias.
1338
1339 * epa.el (epa-validity-high, epa-validity-medium)
1340 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1341 (epa-field-name, epa-field-body):
1342 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1343 (font-lock-keyword-face, font-lock-builtin-face)
1344 (font-lock-function-name-face, font-lock-variable-name-face)
1345 (font-lock-type-face, font-lock-constant-face):
1346 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1347 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1348 * speedbar.el (speedbar-button-face, speedbar-file-face)
1349 (speedbar-directory-face, speedbar-tag-face)
1350 (speedbar-selected-face, speedbar-highlight-face)
1351 (speedbar-separator-face):
1352 * whitespace.el (whitespace-newline, whitespace-space)
1353 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1354 (whitespace-line, whitespace-space-before-tab)
1355 (whitespace-space-after-tab, whitespace-indentation)
1356 (whitespace-empty):
1357 * emulation/cua-base.el (cua-global-mark):
1358 * eshell/em-prompt.el (eshell-prompt):
1359 * net/newst-plainview.el (newsticker-new-item-face)
1360 (newsticker-old-item-face, newsticker-immortal-item-face)
1361 (newsticker-obsolete-item-face, newsticker-date-face)
1362 (newsticker-statistics-face, newsticker-default-face):
1363 * net/newst-reader.el (newsticker-feed-face)
1364 (newsticker-extra-face, newsticker-enclosure-face):
1365 * net/newst-treeview.el (newsticker-treeview-face)
1366 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1367 (newsticker-treeview-immortal-face)
1368 (newsticker-treeview-obsolete-face)
1369 (newsticker-treeview-selection-face):
1370 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1371 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1372 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1373 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1374 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1375 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1376 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1377 (mpuz-text):
1378 * progmodes/vera-mode.el (vera-font-lock-number)
1379 (vera-font-lock-function, vera-font-lock-interface):
1380 * textmodes/table.el (table-cell): Use new-style face specs, and
1381 don't use the old :bold and :italic attributes.
1382
1383 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1384 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1385 (ebrowse-member-class, ebrowse-progress): Likewise.
1386 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1387 (ebrowse-file-name-face, ebrowse-default-face)
1388 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1389 (ebrowse-progress-face): Remove obsolete faces.
1390
1391 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1392 Inherit from error and warning faces respectively.
1393
1394 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1395 Likewise.
f80efb86
SM
1396 (flyspell-incorrect-face, flyspell-duplicate-face):
1397 Remove obsolete aliases.
4b56d0fe 1398
03310646
MA
13992012-06-08 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1402 Avoid infloop.
1403
513749ee
SM
14042012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * startup.el (argv, argi): Make lexically scoped.
1407 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1408 * emacs-lisp/cl-macs.el: Use lexical-binding.
1409 Rename cl-bind-* to cl--bind-*.
1410 * files.el: Don't require `cl' since it doesn't use it.
1411 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1412
595ef4ad
JB
14132012-06-08 Juanma Barranquero <lekktu@gmail.com>
1414
1415 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1416 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1417 instead of calling external sort utility.
1418 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1419
e9f66fcb
EZ
14202012-06-08 Eli Zaretskii <eliz@gnu.org>
1421
1422 * descr-text.el (describe-char): Mention how to insert the
1423 character, if the current input method doesn't support it.
1424 See the discussion in this thread for the details:
1425 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1426
3d10db47
SS
14272012-06-08 Sam Steingold <sds@gnu.org>
1428
1429 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1430 XF86Back to previous-buffer.
1431 (minibuffer-local-map): Bind them to next-history-element and
1432 previous-history-element respectively.
1433 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1434 help-go-back respectively.
1435 * info.el (Info-mode-map): Bind them to Info-history-forward and
1436 Info-history-back respectively.
1437 These are the keys next to Up on the ThinkPad keyboard.
1438
de7e2b36
SM
14392012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1442 * emacs-lisp/cl-macs.el: Provide itself.
1443 (cl--labels-convert-cache): New var.
1444 (cl--labels-convert): New function.
1445 (cl-flet, cl-labels): New implementation with new semantics, relying on
1446 lexical-binding.
1447 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1448 (cl-closure-vars, cl--function-convert-cache)
1449 (cl--function-convert): Move from cl-macs.el.
1450 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1451 rename by removing the "cl-" prefix.
1452 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1453
6fa6c4ae
SM
14542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1457 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1458 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1459 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1460 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1461 (cl-hash-table-count): Add old compatibility aliases.
1462
1463 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1464 Use macroexpand-all-environment instead.
1465 (cl--old-macroexpand): New var.
1466 (cl--sm-macroexpand): New function.
1467 (cl-symbol-macrolet): Use it during macro expansion.
1468 (cl--function-convert-cache): New var.
1469 (cl--function-convert): New function, extracted from
1470 cl-macroexpand-all.
1471 (cl-lexical-let): Use it.
1472
1473 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1474 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1475 (cl-member): Remove old alias.
1476
1477 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1478 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1479 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1480 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1481 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1482 (cl-macroexpand-cmacs): Remove var.
1483 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1484 Use macroexpand-all instead.
1485
4dd1c416
SM
14862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1489 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1490 (macroexp-copyable-p): New functions and macros.
1491 * emacs-lisp/edebug.el (edebug-unwrap):
1492 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1493 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1494 (pcase--let*): Remove.
1495 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1496 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1497 macroexp-const-p instead.
1498 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1499
1500 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1501 instead of "cl-" for internal definitions. Use macroexp-const-p.
1502 (cl-old-bc-file-form): Remove var.
1503 (cl-const-exprs-p): Remove fun.
1504 (cl-labels, cl-macrolet): Use backquote.
1505 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1506 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1507 (cl-define-setf-expander): Rename from cl-define-setf-method.
1508 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1509
1510 * international/mule-cmds.el: Don't require CL.
1511 (view-hello-file): Don't use `letf'.
1512
ed8bd4d7
SM
15132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1514
7287f2f3
SM
1515 * tmm.el (tmm-prompt): Use string-prefix-p.
1516 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1517 (tmm-add-prompt): Use minibuffer-completion-help.
1518 (tmm-delete-map): Remove.
1519
ed8bd4d7
SM
1520 * subr.el (kbd): Make it its own function.
1521
7b4cdbf4
SM
15222012-06-07 Stefan Merten <smerten@oekonux.de>
1523
1524 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1525 Silence compiler warnings. Fix versions.
ed8bd4d7 1526 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1527 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1528 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1529 (rst-package-emacs-version-alist): Correct Emacs version to
1530 represent major merge with upstream.
ed8bd4d7 1531 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1532
2b48d721
GM
15332012-06-06 Glenn Morris <rgm@gnu.org>
1534
1535 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1536 Only print environment variables if set.
1537
fa779ab0
SM
15382012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1541 (macroexp--cons): Rename from maybe-cons.
1542 (macroexp--accumulate): Rename from macroexp-accumulate.
1543 (macroexp--all-forms): Rename from macroexpand-all-forms.
1544 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1545 (macroexp--expand-all): Rename from macroexpand-all-1.
1546
628299e0
SS
15472012-06-06 Sam Steingold <sds@gnu.org>
1548
1549 * calendar/calendar.el (calendar-in-read-only-buffer):
1550 Call `special-mode' to enable the standard read-only keybindings.
1551
b7bb5838
SM
15522012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1555 with "loading" messages (bug#11635).
1556
dfb308ba
MA
15572012-06-06 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * files.el (enable-remote-dir-locals): New option.
1560 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1561
0372ee92
MA
1562 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1563 Ensure, that the temp directory is local.
1564
1565 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1566 `temporary-file-directory'.
1567
eed0bb91
MA
1568 * progmodes/python.el (python-send-region): Ensure, that the
1569 temporary file is created also in the remote case.
1570
7a58f64d
GM
15712012-06-06 Glenn Morris <rgm@gnu.org>
1572
f7dd4e98
GM
1573 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1574 (vc-rcs-update-changelog): Use it.
1575
090bd7cb 1576 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 1577
7a58f64d
GM
1578 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1579 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1580 (vc-sccs-diff): Replace use of the external vcdiff script.
1581
daed4003
GM
15822012-06-05 Glenn Morris <rgm@gnu.org>
1583
1584 * ledit.el: Move to obsolete/.
1585
48c455c7
SS
15862012-06-05 Sam Steingold <sds@gnu.org>
1587
1588 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1589 patch (Bug#11140).
1590
57a7d507
SM
15912012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1592
090bd7cb 1593 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 1594
53aacf21
SM
1595 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1596 compiler-macro expansion.
1597
57a7d507
SM
1598 Add native compiler-macro support.
1599 * emacs-lisp/macroexp.el (macroexpand-all-1):
1600 Support compiler-macros directly. Properly follow aliases and apply
1601 the compiler macros more thoroughly.
1602 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1603 macroexpand now properly follows aliases.
1604 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1605 (cl-compiler-macroexpand): Use new prop.
1606 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1607
1608 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1609
51a5f9d8
MR
16102012-06-05 Martin Rudalics <rudalics@gmx.at>
1611
1612 * window.el (get-lru-window, get-mru-window, get-largest-window):
1613 New argument NOT-SELECTED to avoid picking the selected window.
1614 (window--display-buffer-1, window--display-buffer-2): Replace by
1615 new function window--display-buffer
1616 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1617 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1618 Use window--display-buffer.
51a5f9d8
MR
1619 (display-buffer-use-some-window): Remove temporary dedication
1620 hack by calling get-lru-window and get-largest-window with
1621 NOT-SELECTED argument non-nil. Call window--display-buffer.
1622
08f9f738
GM
16232012-06-05 Glenn Morris <rgm@gnu.org>
1624
1625 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1626 Replace external vcdiff script.
1627
e364a2b7
SM
16282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1631
041df390
CY
16322012-06-04 Chong Yidong <cyd@gnu.org>
1633
e364a2b7
SM
1634 * image.el (imagemagick-types-inhibit): Revert last change.
1635 Add INFO and M.
47b36b94 1636 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1637
7c1898a7
SM
16382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/cl-lib.el: Rename from cl.el.
1641 * emacs-lisp/cl.el: New compatibility file.
1642 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1643 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1644 to obey the "cl-" prefix.
1645 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1646
0c3461de
GM
16472012-06-03 Glenn Morris <rgm@gnu.org>
1648
1e266c88
GM
1649 * emacs-lisp/authors.el (authors-aliases): Addition.
1650
0c3461de
GM
1651 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1652 Fix :version.
1653
d8a52e15
SM
16542012-06-03 Stefan Merten <smerten@oekonux.de>
1655
1656 * textmodes/rst.el: Add comments.
1657 (rst-transition, rst-adornment): New faces.
1658 (rst-adornment-faces-alist): Make default safe to reevaluate.
1659 Fixes
1660 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1661 Improve customization tags.
1662 (rst-define-level-faces): Clarify meaning.
1663
5205d6f6
CY
16642012-06-03 Chong Yidong <cyd@gnu.org>
1665
1666 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1667 (compilation-mode-line-run, compilation-mode-line-exit):
1668 New faces.
5205d6f6
CY
1669 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1670
757ee657
JD
16712012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1672
7c1898a7
SM
1673 * progmodes/which-func.el (which-func-update-ediff-windows):
1674 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1675
5f2c76c6
CY
16762012-06-03 Chong Yidong <cyd@gnu.org>
1677
1678 * bindings.el: Remove explicit help text from format-mode-line.
1679 It is now supplied by mode-line-default-help-echo.
1680 (mode-line-front-space, mode-line-end-spaces)
1681 (mode-line-misc-info): New variables.
1682 (mode-line-modes, mode-line-position): Move the default value to
1683 the variable definition.
1684 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1685 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1686 (mode-line-modified-help-echo): New functions.
1687 (mode-line-mule-info, mode-line-modified): Use them.
1688 (mode-line-eol-desc, propertized-buffer-identification):
1689 Consistency fixes for help text.
cbe46e5f
CY
1690 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1691 set-buffer-file-coding-system (Bug#289).
1692 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1693
f2d6a3df
SM
16942012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1695
1696 * simple.el (execute-extended-command): Set real-this-command
1697 (bug#11506).
1698
37269466
CY
16992012-06-02 Chong Yidong <cyd@gnu.org>
1700
1701 Remove incorrect uses of "modeline" in comments, docstrings, and
1702 function/variable names (Bug#10329).
1703
1704 * cus-edit.el (mode-line):
1705 * dframe.el (dframe-mouse-hscroll):
1706 * emacs-lisp/re-builder.el:
1707 * emacs-lisp/easy-mmode.el (define-minor-mode):
1708 * frame.el (set-frame-name):
1709 * help.el (lookup-minor-mode-from-indicator):
1710 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1711 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1712 (c-toggle-hungry-state):
1713 * progmodes/antlr-mode.el (antlr-language-alist):
1714 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1715 * progmodes/vhdl-mode.el (vhdl-mode):
1716 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1717 * term/ns-win.el (ns-face-at-pos):
1718 * term/sup-mouse.el (sup-mouse-report):
1719 * textmodes/flyspell.el (flyspell-mode-line-string):
1720 * textmodes/ispell.el (ispell-highlight-face):
1721 * textmodes/reftex-global.el:
1722 * vc/vc-arch.el (vc-arch-mode-line-string):
1723 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1724 * vc/vc-git.el (vc-git-mode-line-string):
1725 * vc/vc-hooks.el (vc-display-status)
1726 (vc-default-mode-line-string):
1727 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1728
1729 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1730
1731 * dired.el (dired-sort-set-mode-line): Rename from
1732 dired-sort-set-modeline. All callers changed.
1733
1734 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1735 eshell-status-in-modeline.
1736
1737 * foldout.el (foldout-mode-line-string): Rename from
1738 foldout-modeline-string. All callers changed.
1739 (foldout-update-mode-line): Rename from foldout-update-modeline.
1740
1741 * subr.el (redraw-modeline): Make into obsolete alias.
1742
1743 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1744 timeclock-modeline-display. Make old name an alias.
1745 (timeclock-update-mode-line): Likewise. All callers changed.
1746 (timeclock-mode-line-display): No need to check before using
1747 add-hook.
1748 (timeclock-relative, timeclock-day-over-hook)
1749 (timeclock-use-elapsed, timeclock-mode-string)
1750 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1751
1752 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1753 crisp-mode-modeline-string.
1754
1755 * play/solitaire.el (solitaire-build-mode-line): Rename from
1756 solitaire-build-modeline. All callers changed.
1757
1758 * play/zone.el (zone-hiding-mode-line): Rename from
1759 zone-hiding-modeline. All callers changed.
1760 (zone): Remove unusued `modeline-hidden-level' property.
1761
1762 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1763 xscheme-modeline-initialize. All callers changed.
1764
1765 * strokes.el (strokes-lighter): Rename from
1766 strokes-modeline-string.
1767
1768 * textmodes/sgml-mode.el (html-face-tag-alist)
1769 (html-tag-face-alist): Use mode-line face instead of obsolete
1770 alias modeline.
1771
42152ee4
SM
17722012-06-02 Stefan Merten <smerten@oekonux.de>
1773
1774 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1775 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1776
95f520b5
CY
17772012-06-02 Chong Yidong <cyd@gnu.org>
1778
1779 * image.el (imagemagick-enabled-types): Rename from
1780 imagemagick-types-enable. Add many more types.
1781 (imagemagick-types-inhibit): Change default to nil.
1782 (imagemagick-filter-types): Caller changed.
1783
4a5f187a
SM
17842012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1785
03fef3e6
SM
1786 * emacs-lisp/cl-macs.el: Use backquotes.
1787 (cl-transform-function-property): Use eval-and-compile rather than
1788 abusing `require'.
1789 (defstruct): Use declare-function instead of with-no-warnings.
1790
4a5f187a
SM
1791 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1792 (byte-compile-output-docform): Re-add the print-circle bindings.
1793 (byte-compile-fix-header): Use #$ just because it's shorter.
1794 (byte-compile-output-file-form): Remove defun/defmacro.
1795
bd56924f
MR
17962012-06-01 Martin Rudalics <rudalics@gmx.at>
1797
1798 * simple.el (choose-completion): Remove now obsolete binding for
1799 owindow.
1800
046e38ce
MA
18012012-06-01 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1804 in order to avoid "Stack overflow in regexp matcher".
1805
32d72c2f
GM
18062012-05-31 Glenn Morris <rgm@gnu.org>
1807
1808 * image.el: For clarity, call imagemagick-register-types at
1809 top-level, rather than relying on a custom :initialize.
1810 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1811 (imagemagick-filter-types): New function. (Bug#7406)
1812 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1813 If disabling support, remove elements altogether rather
1814 than using an impossible regexp.
1815 (imagemagick-types-inhibit): Give it the default init function.
1816
dd41169b
SM
18172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1818
4a5f187a
SM
1819 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1820 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1821
efc00ab1 18222012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1823
1824 * desktop.el (desktop-read): Clear previous and next buffers for
1825 all windows and bury *Messages* buffer (bug#11556).
1826
500fcedc
SM
18272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 Add `declare' for `defun'. Align `defmacro's with it.
1830 * emacs-lisp/easy-mmode.el (define-minor-mode)
1831 (define-globalized-minor-mode): Don't autoload the var definitions.
1832 * emacs-lisp/byte-run.el: Use lexical-binding.
1833 (defun-declarations-alist, macro-declarations-alist): New vars.
1834 (defmacro, defun): Use them.
1835 (make-obsolete, define-obsolete-function-alias)
1836 (make-obsolete-variable, define-obsolete-variable-alias):
1837 Use `declare'.
1838 (macro-declaration-function): Mark obsolete.
1839 * emacs-lisp/autoload.el: Use lexical-binding.
1840 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1841
6e8a1786
AM
18422012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1843
1844 * textmodes/ispell.el (ispell-with-no-warnings):
1845 Define as a macro.
500fcedc
SM
1846 (ispell-kill-ispell, ispell-change-dictionary):
1847 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1848 `interactive-p'.
1849
61b108cc
SM
18502012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1853 (macro-declaration-function): Move var from C code.
1854 (macro-declaration-function): Define function with defalias.
1855 * emacs-lisp/macroexp.el (macroexpand-all-1):
1856 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1857 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1858 defun/defmacro any more.
1859 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1860 Provide fallback for unknown arglist.
1861 (byte-compile-arglist-warn): Change calling convention.
1862 (byte-compile-output-file-form): Move print-vars binding.
1863 (byte-compile-output-docform): Simplify accordingly.
1864 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1865 (byte-compile-defmacro-declaration): Remove.
1866 (byte-compile-file-form-defmumble): Generalize to defalias.
1867 (byte-compile-output-as-comment): Return byte-positions.
1868 Simplify callers accordingly.
1869 (byte-compile-lambda): Use `assert'.
1870 (byte-compile-defun, byte-compile-defmacro): Remove.
1871 (byte-compile-file-form-defalias):
1872 Use byte-compile-file-form-defmumble.
1873 (byte-compile-defalias-warn): Remove.
1874
6d3f7c2f
SM
18752012-05-29 Stefan Merten <smerten@oekonux.de>
1876
1877 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1878 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1879
1880 (rst-mode-abbrev-table): Merge definition.
1881 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1882 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1883
6dbaa1c7
UJ
18842012-05-29 Ulf Jasper <ulf.jasper@web.de>
1885
1886 * calendar/icalendar.el
1887 (icalendar-export-region): Export UID properly.
1888
d209e2fb 18892012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1890 * calendar/icalendar.el (icalendar-import-format):
1891 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1892 (icalendar-import-format-uid): New.
1893 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1894 Export UID.
1895
6876a58d
SM
18962012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1899 different alternative patterns.
1900 (pcase-codegen): Be more careful to preserve identity.
1901 (pcase--u1): Don't forget to mark vars as used.
1902
1903 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1904 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1905 (byte-compile-from-buffer): ...rather than here.
1906
1907 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1908 functions from byte-compile-function-environment.
1909
46b7967e
TN
19102012-05-29 Troels Nielsen <bn.troels@gmail.com>
1911
1912 * window.el (window-deletable-p): Avoid deleting the root window
1913 of a frame with an active minibuffer.
1914
69d565e2
MR
19152012-05-29 Martin Rudalics <rudalics@gmx.at>
1916
1917 * simple.el (choose-completion): Use quit-window (Bug#11567).
1918
a149fa51
CY
19192012-05-29 Chong Yidong <cyd@gnu.org>
1920
1921 * whitespace.el (whitespace-cleanup): Fix usage of
1922 whitespace-empty-at-bob-regexp (Bug#11492).
1923
2b311310
AH
19242012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1925
1926 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1927 revert (Bug#11488).
1928
b9cb2387
JL
19292012-05-29 Juri Linkov <juri@jurta.org>
1930
1931 * isearch.el (isearch-mode-map): Bind `M-s _' to
1932 `isearch-toggle-symbol'. Bind `M-s c' to
1933 `isearch-toggle-case-fold'.
1934 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1935 (isearch-forward): Add `M-s _' to the docstring.
1936 (isearch-forward-symbol, isearch-toggle-case-fold)
1937 (isearch-symbol-regexp): New functions. (Bug#11381)
1938
d5e61c1c
JL
19392012-05-29 Juri Linkov <juri@jurta.org>
1940
1941 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1942 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1943 a function, call it to get the regexp.
1944 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1945 property `isearch-message-prefix' instead of the string "word ".
1946 (isearch-search-fun-default): For the case of `isearch-word',
1947 return a lambda that calls re-search-forward/re-search-backward
1948 with a regexp returned by `word-search-regexp' or by the function
1949 in `isearch-word'.
1950
8cbd80f7
JL
19512012-05-29 Juri Linkov <juri@jurta.org>
1952
1953 * isearch.el (isearch-search-fun-default): New function.
1954 (isearch-search-fun): Move default part to the new function
1955 `isearch-search-fun-default'.
1956 (isearch-search-fun-function): Set the default value to
1957 `isearch-search-fun-default'. (Bug#11381)
1958
1959 * comint.el (comint-history-isearch-end):
1960 Use `isearch-search-fun-default'.
1961 (comint-history-isearch-search): Use `isearch-search-fun-default'
1962 and remove spacial case for `isearch-word'.
1963 (comint-history-isearch-wrap): Remove spacial case for
1964 `isearch-word'.
1965
1966 * hexl.el (hexl-isearch-search-function):
1967 Use `isearch-search-fun-default'.
1968
1969 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1970 Use `word-search-regexp' for `isearch-word'.
1971
1972 * misearch.el (multi-isearch-search-fun):
1973 Use `isearch-search-fun-default'.
1974
1975 * simple.el (minibuffer-history-isearch-search):
1976 Use `isearch-search-fun-default' and remove spacial case for
1977 `isearch-word'.
1978 (minibuffer-history-isearch-wrap): Remove spacial case for
1979 `isearch-word'.
1980
1981 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1982 Remove spacial case for `isearch-word'.
1983 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1984
85c8c5b6
AM
19852012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1986
1987 Decrease XEmacs incompatibilities.
1988 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1989 Use `string-match'.
1990 (flyspell-delete-region-overlays): Use alternative definition for
1991 XEmacs.
1992 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1993 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1994 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1995 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1996 `define-obsolete-face-alias' under XEmacs, but old method.
1997
1998 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1999 `with-no-warnings' definition or Emacs alias.
2000 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2001 (ispell-word): Do not use `region-p' if XEmacs.
2002
8cab9efc
AM
20032012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2004
2005 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2006 Check for `ispell-dictionary-base-alist' instead of full
2007 `ispell-dictionary-alist'.
2008 (ispell-init-process): Show spellchecker when starting new Ispell
2009 process.
2010
fda91268
RZ
20112012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2014 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2015
694ea8e3
JB
20162012-05-27 Juanma Barranquero <lekktu@gmail.com>
2017
2018 * version.el (motif-version-string, gtk-version-string)
2019 (ns-version-string): Declare.
2020
e4d4f539
JL
20212012-05-27 Juri Linkov <juri@jurta.org>
2022
2023 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2024 after the `eval-defun-1' specialcaseing
2025 like in `edebug-eval-defun' (bug#10181).
2026
2027 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2028 like in `eval-defun-1'.
2029
33017faf 20302012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2031
fda91268
RZ
2032 * mail/sendmail.el (mail-yank-region):
2033 Recognize rmail-yank-current-message in addition to insert-buffer.
2034 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2035 a *mail* buffer created through rmail-start-mail with sendmail as
2036 mail-user-agent.
2037
33017faf
GM
20382012-05-27 Chong Yidong <cyd@gnu.org>
2039
2040 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2041 Default to 256 (Bug#11267).
2042
2043 * help.el (describe-mode): Doc fix.
2044
04188bb9
GM
20452012-05-26 Glenn Morris <rgm@gnu.org>
2046
38264cc9
GM
2047 * w32-fns.el (w32-init-info): Remove.
2048 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2049
eb7afdad
GM
2050 * info.el (info-initialize): For self-contained NS builds, put the
2051 included info/ directory at the front. (Bug#2791)
2052
04188bb9
GM
2053 * paths.el (Info-default-directory-list): Make it a defcustom,
2054 mainly so that we can use custom-initialize-delay.
2055
a179e3f7
SM
20562012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2057
43416392
SM
2058 * subr.el (buffer-has-markers-at): Mark obsolete.
2059
a179e3f7 2060 * subr.el (lambda): Use declare.
43416392 2061
a179e3f7
SM
2062 * emacs-lisp/lisp-mode.el (lambda):
2063 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2064
34a008d9
AH
20652012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2066
2067 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2068
0a3b289f
GM
20692012-05-26 Glenn Morris <rgm@gnu.org>
2070
2071 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2072
758c81e8
GM
20732012-05-25 Glenn Morris <rgm@gnu.org>
2074
f9f334f0
GM
2075 * paths.el: Remove no-byte-compile.
2076 * loadup.el: No need to load paths.el uncompiled.
2077
87eb79c2
GM
2078 * image.el (imagemagick-types-inhibit): Doc fix.
2079
758c81e8
GM
2080 * version.el: Remove no-byte-compile and associated formatting.
2081 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2082 is ancient code from when there was an "inc-vers.el".
2083
e7e85dc0
SM
20842012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2085
2086 * progmodes/gdb-mi.el: Minor style changes.
2087 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2088 Turn into minor modes.
2089 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2090 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2091 (gdb-shell): Remove unneeded let-binding.
2092 (gdb-get-many-fields): Eliminate O(n²) behavior.
2093
f31237a4
EZ
20942012-05-25 Eli Zaretskii <eliz@gnu.org>
2095
2096 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2097 platforms that don't link in fontset.c.
2098
bc1b21bb
JL
20992012-05-25 Juri Linkov <juri@jurta.org>
2100
2101 Use the same diff color scheme as in modern VCSes (bug#10181).
2102
2103 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2104 to avoid confusion with `diff-added' that now uses green colors.
2105 (diff-removed): Use shades of red.
2106 (diff-added): Use shades of green.
2107 (diff-changed): Leave just the yellow color.
2108 (diff-use-changed-face): New variable.
2109 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2110 how to highlight context diff changes.
2111 (diff-refine-change): Use shades of yellow.
2112 (diff-refine-removed): New face that uses shades of red.
2113 (diff-refine-added): New face that uses shades of green.
2114 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2115 `diff-refine-removed' in the call to `smerge-refine-subst'
2116 depending on the value of `diff-use-changed-face'.
2117
2118 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2119 (smerge-other): Use shades of green.
2120 (smerge-base): Use shades of yellow.
2121 (smerge-refined-change): Empty face.
2122 (smerge-refined-removed): New face that uses shades of red.
2123 (smerge-refined-added): New face that uses shades of green.
2124 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2125 args `props-r' and `props-a', and use them. Doc fix.
2126 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2127 on its value use different faces `smerge-refined-change',
2128 `smerge-refined-removed', `smerge-refined-added' in the call to
2129 `smerge-refine-subst'.
2130
2131 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2132 Add face condition `min-colors 88' with shades of red.
2133 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2134 `min-colors 88' with shades of green.
2135 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2136 `min-colors 88' with shades of yellow.
2137
6df9112c
GM
21382012-05-24 Glenn Morris <rgm@gnu.org>
2139
ead5edc0
GM
2140 * paths.el (prune-directory-list, remote-shell-program): Move to...
2141 * files.el (prune-directory-list, remote-shell-program): ...here.
2142 For the latter, delay initialization, prefer ssh, just search PATH.
2143
f18b81e6
GM
2144 * paths.el (term-file-prefix): Move to faces.el (the only user).
2145 * faces.el (term-file-prefix): Move here, make it a defcustom.
2146
ee2f89a6
GM
2147 * paths.el (news-directory, news-path, news-inews-program):
2148 Move to gnus/nnspool.el.
61a583ca 2149
f8815e4c
GM
2150 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2151
c8f3b42c
GM
2152 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2153 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2154 Make the latter a defcustom, with a delayed initialization.
2155
6df9112c
GM
2156 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2157 These were deleted from Gnus itself late 2010.
2158
5dadff36
JB
21592012-05-22 Juanma Barranquero <lekktu@gmail.com>
2160
9e1701c6
JB
2161 * progmodes/which-func.el (which-func-ff-hook):
2162 Check against user-error, not error.
2163
bd7239f5 2164 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2165 cl-specs.el, which no longer exists.
2166
3290526d
GM
21672012-05-22 Glenn Morris <rgm@gnu.org>
2168
2169 * info.el (info-emacs-bug): New command.
2170 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2171 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2172
ff0c3cfb
GM
21732012-05-21 Glenn Morris <rgm@gnu.org>
2174
2175 * makefile.w32-in (update-subdirs-SH):
2176 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2177
5814f126
SM
21782012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2179
a52c0aa0
SM
2180 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2181
5814f126
SM
2182 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2183 Simplify Maven regexp, and make sure the file can't start with a space
2184 (bug#11517).
2185
b847032c
GM
21862012-05-21 Glenn Morris <rgm@gnu.org>
2187
2188 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2189 Scrap superfluous subshells.
2190
3858bfe7
SM
21912012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2194 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2195
d14b0029
JB
21962012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2197
2198 * calc/calc.el (calc-ensure-consistent-units): New variable.
2199
a52c0aa0
SM
2200 * calc/calc-units.el (math-consistent-units-p)
2201 (math-check-unit-consistency): New functions.
2202 (calc-quick-units, calc-convert-units):
2203 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2204 is non-nil.
d14b0029
JB
2205 (calc-extract-units): Fix typo.
2206
60c4db3a
SM
22072012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2208
77f3b62e
SM
2209 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2210
60c4db3a
SM
2211 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2212 (flyspell-default-deplacement-commands): Don't spell check after
2213 repeated window/frame switches (e.g. triggered by mouse-movement).
2214 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2215 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2216 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2217 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2218 Remove unused vars.
2219 (flyspell-get-casechars, flyspell-get-not-casechars):
2220 Simplify; Don't bother removing a ] just to add it back.
2221 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2222
d209e2fb 22232012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2224
2225 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2226 New functions.
bd7239f5 2227 (math-function-table): Add support for more C functions.
b1a10716 2228
3f1b25b5
AM
22292012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2230
090bd7cb
JB
2231 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2232 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2233 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2234
b581bb5c
SM
22352012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2238 their respective macro declarations.
2239 * skeleton.el (define-skeleton):
2240 * progmodes/compile.el (define-compilation-mode):
2241 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2242 (define-ibuffer-filter):
2243 * emacs-lisp/generic.el (define-generic-mode):
2244 * emacs-lisp/easy-mmode.el (define-minor-mode)
2245 (define-globalized-minor-mode):
2246 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2247 * emacs-lisp/byte-run.el (defsubst):
2248 * custom.el (deftheme): Add doc-string metadata.
2249
70b8ef8f
SM
22502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2253
b1198e17
SM
22542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2255
9abdc45d
SM
2256 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2257
b1198e17
SM
2258 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2259 * emacs-lisp/cl-macs.el: Idem.
2260 * emacs-lisp/cl-specs.el: Remove.
2261
4735906a
SM
22622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 Minor renaming of internal CL functions and variables.
2265 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2266 (cl--position): Rename from cl-position.
2267 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2268 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2269 (cl--random-state): Rename from *random-state*.
2270
ac348012
SM
22712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2274 parens around the arg list (bug#11499).
2275
a0a79cde
JL
22762012-05-17 Juri Linkov <juri@jurta.org>
2277
2278 * isearch.el (word-search-regexp, word-search-backward)
2279 (word-search-forward, word-search-backward-lax)
2280 (word-search-forward-lax): Move functions from search.c
2281 (bug#10145, bug#11381).
2282
65034a51
AM
22832012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2284
090bd7cb
JB
2285 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2286 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2287 Delay for otherchars as for normal word components.
65034a51 2288
1a72a195
SM
22892012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 * minibuffer.el (completion--sifn-requote): Fix last change.
2292 (minibuffer-local-must-match-filename-map):
2293 Move define-obsolete-variable-alias before its var.
2294
fdb058c2
SM
22952012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2296
c41045e6
SM
2297 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2298
036dfb8b
SM
2299 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2300 behavior.
2301 (completion--string-equal-p): New function.
2302 (completion--twq-all): Use it to get better assertion failure data.
2303
2473256d
SM
2304 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2305 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2306 (shell--requote-argument): New functions.
2307 (shell-completion-vars): Use them.
2308 (shell--parse-pcomplete-arguments): Rename from
2309 shell-parse-pcomplete-arguments.
2310 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2311 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2312 Obey comint-file-name-quote-list.
2313
fdb058c2
SM
2314 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2315 (smie-indent-keyword): Use it.
2316
51fa99f1
SM
23172012-05-14 Stefan Merten <smerten@oekonux.de>
2318
2319 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2320
e18afed7 23212012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2322
2323 * net/rlogin.el (rlogin-mode-map): Fix last change.
2324
e18afed7 23252012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2326
2327 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2328 the following \r\n using a single `process-send-string', since the
2329 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2330 with two `process-send-string's (Bug#11444).
8633b1f4 2331
e18afed7 23322012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2333
fdb058c2
SM
2334 * shell.el (shell-parse-pcomplete-arguments):
2335 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2336
2d21d7f6
WJ
23372012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2338
e18afed7 2339 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2340 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2341 (image-transform-width, image-transform-fit-width): New functions.
2342 (image-transform-properties): Use them.
2343 (image-transform-check-size): New function.
2344 (image-toggle-display-image): Use it (for testing).
2345 (image-transform-set-rotation): Reduce angle mod 360.
2346 Delete obsolete comment.
2347
7102e6d0
WJ
23482012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2349
2350 * image-mode.el: Fix scaling (bug#11399).
2351 (image-transform-resize): Doc fix.
2352 (image-transform-properties): Default scale is 1 and height should
2353 be an integer.
2354
06bc5e6e
SM
23552012-05-13 Johan Bockgård <bojohan@gnu.org>
2356
2357 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2358 than hard-coding `car', to fix misbehavior when moving forward.
2359
0ae03b6a
CY
23602012-05-13 Chong Yidong <cyd@gnu.org>
2361
2362 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2363 (tabulated-list-entries, tabulated-list-padding)
2364 (tabulated-list-sort-key): Make permanent-local.
2365
2366 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2367 (electric-buffer-list): Put electric buffer menu
2368 command descriptions in this docstring, instead of the docstring
2369 of electric-buffer-menu-mode. Code cleanups.
2370 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2371 Electric-buffer-menu-mode.
2372 (electric-buffer-update-highlight): Minor code cleanup.
2373
205a7391
MA
23742012-05-13 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2377 (Bug#11447)
2378
e5bd0a28
SM
23792012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 Move define-obsolete-variable-alias before the var's definition.
2382 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2383 * tooltip.el (tooltip-hook):
2384 * textmodes/reftex-toc.el (reftex-toc-map):
2385 * textmodes/reftex-sel.el (reftex-select-label-map)
2386 (reftex-select-bib-map):
2387 * textmodes/reftex-index.el (reftex-index-map)
2388 (reftex-index-phrases-map):
2389 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2390 * progmodes/meta-mode.el (meta-mode-map):
2391 * novice.el (disabled-command-hook):
2392 * loadhist.el (unload-hook-features-list):
2393 * frame.el (blink-cursor):
2394 * files.el (find-file-not-found-hooks, write-file-hooks)
2395 (write-contents-hooks):
2396 * emulation/tpu-edt.el (GOLD-map):
2397 * emacs-lock.el (emacs-lock-from-exiting):
2398 * emacs-lisp/generic.el (generic-font-lock-defaults):
2399 * emacs-lisp/chart.el (chart-map):
2400 * dos-fns.el (register-name-alist):
2401 * dired-x.el (dired-omit-files-p):
2402 * desktop.el (desktop-enable):
2403 * cus-edit.el (custom-mode-hook):
2404 * buff-menu.el (buffer-menu-mode-hook):
2405 * bookmark.el (bookmark-read-annotation-text-func)
2406 (bookmark-exit-hooks):
2407 * allout.el (allout-mode-deactivate-hook)
2408 (allout-exposure-change-hook, allout-structure-added-hook)
2409 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2410 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2411 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2412 comes before the corresponding variable's definition.
2413
ac59c2f6
CY
24142012-05-12 Chong Yidong <cyd@gnu.org>
2415
2416 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2417 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2418 (Buffer-menu-mode-map): Bind it.
2419 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2420
dee6c9a3
SM
24212012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2171cea5
SM
2423 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2424 (prolog-upper-case-string, prolog-lower-case-string)
2425 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2426 (prolog-use-smie, prolog-smie-grammar): New vars.
2427 (prolog-smie-forward-token, prolog-smie-backward-token)
2428 (prolog-smie-rules): New funs.
2429 (prolog-comment-indent): Remove.
2430 (prolog-mode-variables): Use default comment indentation instead.
2431 Setup SMIE.
2432 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2433 (prolog-mode): Don't call them any more.
2434 (prolog-electric-colon, prolog-electric-dash)
2435 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2436
aa0382bd
SM
2437 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2438
dbacb4bd
SM
2439 * minibuffer.el (completion--twq-all): Again, allow case differences.
2440
13bdd94c
SM
2441 * term.el: Move keymap initialization code to be more idiomatic.
2442 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2443 (term-terminal-menu): Move initialization into declaration.
2444 (term-escape-char): Let the user set it in her .emacs.
2445
ff46c759
SM
2446 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2447 Provide SMIE-based indentation (not enabled by default yet).
2448 (sh-mode-map): Don't bind electric keys.
2449 Use electric-pair-mode instead of skeleton-pair.
2450 (sh-assignment-regexp): Fit within 80 columns.
2451 (sh-indent-supported): Specify actual shell name instead of boolean.
2452 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2453 (sh-maybe-here-document): Use it. Make obsolete.
2454 (sh-electric-here-document-mode) New minor mode.
2455 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2456 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2457 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2458 (sh-smie-rc-grammar, sh-use-smie): New vars.
2459 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2460 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2461 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2462 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2463 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2464 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2465 (sh-set-shell): Use smie-setup if requested.
2466
dee6c9a3
SM
2467 * term.el (term-set-escape-char): Properly set term-escape-char.
2468 See http://stackoverflow.com/questions/10524656.
2469
9f9aa044
CY
24702012-05-10 Chong Yidong <cyd@gnu.org>
2471
2472 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2473 Use url-generic-parse-url, and handle host names and Windows
2474 filenames properly.
2475 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2476 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2477 URL schemes to work on.
2478 (ffap--toggle-read-only): New function.
2479 (ffap-read-only, ffap-read-only-other-window)
2480 (ffap-read-only-other-frame): Use it.
2481 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2482 necessary for ffap-url-unwrap-remote.
2483
836d29b3
DA
24842012-05-10 Dave Abrahams <dave@boostpro.com>
2485
2486 * cus-start.el (create-lockfiles): Add it.
2487
00fd78ed
CY
24882012-05-09 Chong Yidong <cyd@gnu.org>
2489
2490 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2491 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2492
666b903b 24932012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2494
2495 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2496
666b903b 24972012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2498
2499 * ansi-color.el (ansi-color-process-output): Check for validity of
2500 comint-last-output-start before using it. This avoids a bad
2501 interaction with gdb-mi's input/output buffer.
2502
666b903b 25032012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2504
2505 * files.el (dir-locals-read-from-file):
2506 Mention dir-locals in any error message.
2507
666b903b 25082012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2509
2510 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2511 package (Bug#11410).
2512
f677562b
CY
2513 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2514 variables into description.
2515
666b903b 25162012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2517
2518 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2519 shell-delimiter-argument-list (bug#11348).
2520 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2521
b499d8d0
JB
25222012-05-09 Juanma Barranquero <lekktu@gmail.com>
2523
8f6b6da8
JB
2524 * textmodes/rst.el: Silence byte-compiler warnings.
2525 (rst-re-alist, rst-reset-section-caches): Move around.
2526 (rst-re): Use `characterp', not `char-valid-p'.
2527 (font-lock-beg, font-lock-end): Declare.
2528
4824146a
JB
2529 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2530 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2531
b499d8d0
JB
2532 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2533
ad89bb83
GM
25342012-05-08 Glenn Morris <rgm@gnu.org>
2535
2536 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2537
8bba5a75
SM
25382012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2539
49ed9c8e
SM
2540 * vc/log-edit.el: Add GNU coding standards highlighting.
2541 (log-edit-font-lock-gnu-style)
2542 (log-edit-font-lock-gnu-keywords): New vars.
2543 (log-edit-font-lock-keywords): New fun.
2544 (log-edit-mode): Don't fold case in font-lock.
2545 (log-edit-font-lock-keywords): Do not assume case-folding.
2546
07d00b56
SM
2547 * imenu.el: Misc cleanup. Make docstrings out of comments.
2548 Use lexical-binding.
2549 (imenu--index-alist, imenu--last-menubar-index-alist)
2550 (imenu-menubar-modified-tick): Use defvar-local.
2551 (imenu--split-menu): Remove unused var.
2552 (imenu--cleanup-seen): Declare as global.
2553 (imenu--cleanup): Use dolist.
2554
8bba5a75
SM
2555 * subr.el (defvar-local): Add debug spec and doc-string position.
2556
5075bdb5
GM
25572012-05-08 Glenn Morris <rgm@gnu.org>
2558
090bd7cb 2559 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
2560 * language/english.el, language/georgian.el, language/greek.el:
2561 * language/japanese.el, language/khmer.el, language/korean.el:
2562 * language/lao.el, language/misc-lang.el, language/romanian.el:
2563 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2564 * language/thai.el, language/utf-8-lang.el:
2565 Remove no-byte-compile setting.
2566
5075bdb5
GM
2567 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2568
06f679a7
AH
25692012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2570
2571 * progmodes/make-mode.el (makefile-browse):
2572 Remove unnecessary interactive. (Bug#11324)
2573
03794570
GM
25742012-05-07 Glenn Morris <rgm@gnu.org>
2575
af8630f4
GM
2576 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2577
03794570
GM
2578 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2579
f0809a9d
SM
25802012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2581
28be5ce7
SM
2582 * loadup.el: Preload newcomment.el.
2583 * newcomment.el: Move autoload-only code to toplevel.
2584
f0809a9d
SM
2585 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2586 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2587 Handle new :right-align column property.
2588 (tabulated-list-print-col): Idem, plus use `display' text-property to
2589 try and preserve alignment for variable pitch fonts.
2590
1241b724
CY
25912012-05-07 Chong Yidong <cyd@gnu.org>
2592
2593 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2594 (tabulated-list-use-header-line): New var.
2595 (tabulated-list-init-header): Use it.
2596 (tabulated-list-print-fake-header): New function.
2597 (tabulated-list-print): Use it.
2598 (tabulated-list-sort-button-map): Add non-header-line commands.
2599 (tabulated-list-init-header): Add column name property to basic
2600 labels as well.
2601 (tabulated-list-col-sort): Handle non-header-line button case.
2602 (tabulated-list--sort-by-column-name): Fix a corner case.
2603
f0809a9d
SM
2604 * buff-menu.el (list-buffers--refresh):
2605 Handle Buffer-menu-use-header-line.
1241b724 2606
e5f9458f
CY
26072012-05-06 Chong Yidong <cyd@gnu.org>
2608
2609 * buff-menu.el: Convert to Tabulated List mode.
2610 (Buffer-menu-buffer+size-width): Make obsolete.
2611 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2612 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2613 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2614 documentation into docstring of buffer-menu.
2615 (Buffer-menu-toggle-files-only): Add an informative message.
2616 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2617 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2618 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2619 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2620 (Buffer-menu-execute, Buffer-menu-select)
2621 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2622 (Buffer-menu-bury): Use Tabulated List machinery.
2623 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2624 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2625 Delete.
e5f9458f
CY
2626 (list-buffers--refresh): New function.
2627 (list-buffers-noselect): Use it.
2628 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2629 (Buffer-menu--pretty-file-name): New helper functions.
2630
2631 * loadup.el: Preload tabulated-list.
2632
2633 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2634 tabulated-list-sort-column.
2635 (tabulated-list-init-header): Add the initial aligning space even
2636 if tabulated-list-padding is zero.
2637
e129292c
CS
26382012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2639
2640 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2641 whose cdr is not a cons cell correctly (bug#11038).
2642
6632d361
CY
26432012-05-06 Chong Yidong <cyd@gnu.org>
2644
e129292c
CS
2645 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2646 Accept additional plist in column descriptors.
6632d361
CY
2647 (tabulated-list-init-header): Obey it.
2648 (tabulated-list-get-entry): New function.
2649 (tabulated-list-put-tag): Use it. Use string-width instead of
2650 length.
2651 (tabulated-list--column-number): New function.
2652 (tabulated-list-print): Use it.
e129292c
CS
2653 (tabulated-list-print-col): New function.
2654 Set `tabulated-list-column-name' property on each column's text.
6632d361 2655 (tabulated-list-print-entry): Use it.
e129292c
CS
2656 (tabulated-list-delete-entry, tabulated-list-set-col):
2657 New functions.
6632d361
CY
2658 (tabulated-list-sort-column): New command (Bug#11337).
2659
3cc99f68
CY
2660 * buff-menu.el (list-buffers): Move C-x C-b binding from
2661 buff-menu.el to bindings.el.
2662
2663 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2664 :advertised-binding feature.
2665
52b61776
TN
26662012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2667
2668 * progmodes/compile.el (compilation-internal-error-properties):
2669 Calculate start position correctly when end-col is set but
2670 end-line is not (Bug#11382).
2671
ebfe2597
WJ
26722012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2673
2674 * man.el (Man-unindent): Use text-property-default-nonsticky to
2675 prevent untabify from inheriting face properties (Bug#11408).
2676
6d3f7c2f
SM
26772012-05-05 Stefan Merten <smerten@oekonux.de>
2678
2679 * textmodes/rst.el: Major merge with upstream development up to
2680 Docutils SVN r7399 / rst.el V1.2.1.
2681
2682 Clarify maintainership and authors.
2683
2684 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2685 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2686 (rst-official-version, rst-official-cvs-rev, rst-version)
2687 (rst-package-emacs-version-alist): New functions and variables
2688 for version information.
2689
2690 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2691 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2692 (rst-mode-syntax-table, rst-mode): New and corrected functions
2693 and variables representing reStructuredText features.
2694
2695 (rst-re): New function for reStructuredText regexes. Use in
2696 many places.
2697
2698 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2699 (rst-mode-map): Rebind keys.
2700
2701 (rst-mode-lazy, rst-font-lock-keywords)
2702 (rst-font-lock-extend-region)
2703 (rst-font-lock-extend-region-internal)
2704 (rst-font-lock-extend-region-extend)
2705 (rst-font-lock-find-unindented-line-limit)
2706 (rst-font-lock-find-unindented-line-match)
2707 (rst-adornment-level, rst-font-lock-adornment-level)
2708 (rst-font-lock-adornment-match)
2709 (rst-font-lock-handle-adornment-pre-match-form)
2710 (rst-font-lock-handle-adornment-matcher): Major revision of
2711 font-locking. Integrate with other code. Use `jit-lock-mode'.
2712
2713 (rst-preferred-adornments, rst-adjust-hook)
2714 (rst-new-adornment-down, rst-preferred-bullets)
2715 (rst-preferred-bullets, rst-indent, rst-indent-width)
2716 (rst-indent-field, rst-indent-literal-normal)
2717 (rst-indent-literal-minimized, rst-indent-comment): Change,
2718 extend and improve customization.
2719
2720 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2721 (rst-normalize-cursor-position, rst-get-decoration)
2722 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2723 (rst-rstrip, rst-toc-insert-find-delete-contents)
2724 (rst-shift-fill-region, rst-compute-bullet-tabs)
2725 (rst-debug-print-tabs, rst-debug-mark-found)
2726 (rst-shift-region-guts, rst-shift-region-right)
2727 (rst-shift-region-left, rst-use-char-classes)
2728 (rst-font-lock-keywords-function)
2729 (rst-font-lock-indentation-point)
2730 (rst-font-lock-find-unindented-line-begin)
2731 (rst-font-lock-find-unindented-line-end)
2732 (rst-font-lock-find-unindented-line)
2733 (rst-font-lock-adornment-point, rst-font-lock-level)
2734 (rst-adornment-level-alist): Remove functions and variables.
2735
2736 (rst-compare-adornments, rst-get-adornment-match)
2737 (rst-suggest-new-adornment, rst-get-adornments-around)
2738 (rst-adornment-complete-p, rst-get-next-adornment)
2739 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2740 (rst-straighten-adornments): Standardize function names to
2741 use "adornment" instead of "decoration". Correct callers.
2742 Similar standardizing in many places.
2743
2744 (rst-update-section, rst-adjust, rst-promote-region)
2745 (rst-enumerate-region, rst-bullet-list-region)
2746 (rst-repeat-last-character): Correct use of `interactive'.
2747
2748 (rst-classify-adornment, rst-find-all-adornments)
2749 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2750 (rst-find-leftmost-column, rst-repeat-last-character):
2751 Refactor functions.
2752
2753 (rst-find-title-line, rst-reset-section-caches)
2754 (rst-get-adornments-around, rst-adjust-adornment-work)
2755 (rst-arabic-to-roman, rst-roman-to-arabic)
2756 (rst-insert-list-pos, rst-insert-list-new-item)
2757 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2758 New functions.
2759
2760 (rst-all-sections, rst-section-hierarchy)
2761 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2762 New variables.
2763
2764 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2765 configuration instead of only buffer. Change where necessary.
2766
2767 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2768 (rst-shift-region, rst-adaptive-fill): New functions for
2769 indentation and filling.
2770
2771 (rst-comment-line-break, rst-comment-indent)
2772 (rst-comment-insert-comment, rst-comment-region)
2773 (rst-uncomment-region): New functions for handling comments.
2774
2775 (rst-compile): Quote shell arguments.
2776
2777 (rst-compile-pdf-preview, rst-compile-slides-preview):
2778 Delete temporary files after use.
2779
a43f98b3
GM
27802012-05-05 Glenn Morris <rgm@gnu.org>
2781
48176e8b
GM
2782 * calendar/cal-html.el: Optionally include holidays in the output.
2783 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2784 (cal-html-holidays): New option.
2785 (cal-html-css-default): Add holiday entry.
2786 (holiday-in-range): Autoload it.
2787 (cal-html-htmlify-entry): Add optional class argument.
2788 (cal-html-htmlify-list): Add optional holidays argument.
2789 (cal-html-insert-agenda-days): Include holidays in the output.
2790 (cal-html-one-month): Maybe include holidays.
2791
a43f98b3
GM
2792 * calendar/holidays.el (holiday-in-range):
2793 Move here from cal-tex-list-holidays.
2794 * calendar/cal-tex.el (cal-tex-list-holidays):
2795 Make it an obsolete alias for holiday-in-range. Update all callers.
2796
fef9d149 27972012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2798
2799 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2800 Nextstep.
2801
248da2f4
RW
28022012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2803
2804 * files.el (file-auto-mode-skip): New var.
2805 (set-auto-mode-1): Use it.
2806
f95e9344
SM
28072012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2808
df96ab1e
SM
2809 * repeat.el: Use lexical-binding.
2810 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2811 (repeat-undo-count): Remove.
2812 (repeat):
2813 * progmodes/octave-mod.el (octave-abbrev-start):
2814 * progmodes/f90.el (f90-abbrev-start):
2815 * face-remap.el (text-scale-adjust):
2816 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2817
5342bb06
SM
2818 * emacs-lisp/pcase.el (pcase--let*): New function.
2819 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2820 a bit more.
2821 (pcase--split-pred): Be more clever about ruling out overlap between
2822 a predicate and some constant pattern.
2823 (pcase--q1): Use `null' instead of (eq foo nil).
2824
f95e9344
SM
2825 * subr.el (setq-local, defvar-local): New macros.
2826 (kbd): Redefine as an alias.
2827 (with-selected-window): Leave unrelated frames alone.
2828 (set-temporary-overlay-map): New function.
2829
71873e2b
SM
28302012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * subr.el (user-error): New function.
2833 * window.el (switch-to-buffer):
2834 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2835 (smerge-match-conflict):
2836 * simple.el (previous-matching-history-element)
2837 (next-matching-history-element, goto-history-element, undo-more)
2838 (undo-start):
2839 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2840 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2841 (next-file, tags-loop-scan, list-tags, complete-tag):
2842 * progmodes/compile.el (compilation-loop):
2843 * mouse.el (mouse-minibuffer-check):
2844 * man.el (Man-bgproc-sentinel, Man-goto-page):
2845 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2846 (Info-history-forward, Info-follow-reference, Info-menu)
2847 (Info-extract-menu-item, Info-extract-menu-counting)
2848 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2849 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2850 (Info-next-reference, Info-prev-reference, Info-index)
2851 (Info-index-next, Info-follow-nearest-node)
2852 (Info-copy-current-node-name):
2853 * imenu.el (imenu--make-index-alist)
2854 (imenu-default-create-index-function, imenu-add-to-menubar):
2855 * files.el (basic-save-buffer, recover-file):
2856 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2857 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2858 (checkdoc-message-text, checkdoc-defun):
2859 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2860 * cus-edit.el (customize-changed-options, customize-rogue)
2861 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2862 (custom-variable-mark-to-reset-standard)
2863 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2864 (custom-file):
2865 * completion.el (check-completion-length):
2866 * comint.el (comint-search-arg)
2867 (comint-previous-matching-input-string-position)
2868 (comint-previous-matching-input)
2869 (comint-replace-by-expanded-history-before-point, comint-send-input)
2870 (comint-copy-old-input, comint-backward-matching-input)
2871 (comint-goto-process-mark, comint-set-process-mark):
2872 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2873 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2874
8a61ee22
SM
28752012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2876
66408d1e
SM
2877 * dabbrev.el (dabbrev--ignore-case-p): New function.
2878 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2879 Use it.
2880
8a61ee22
SM
2881 * files.el (automount-dir-prefix): Mark as obsolete.
2882
3c74813a
GM
28832012-05-04 Glenn Morris <rgm@gnu.org>
2884
2885 * patcomp.el, play/bruce.el: Move to obsolete/.
2886
0bfcf5c5
PE
28872012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2888
2889 Fix minor Y10k bugs.
2890 * arc-mode.el (archive-unixdate):
2891 * autoinsert.el (auto-insert-alist):
2892 * calc/calc-forms.el (math-this-year):
2893 * emacs-lisp/copyright.el (copyright-current-year)
2894 (copyright-update-year, copyright):
2895 * tar-mode.el (tar-clip-time-string):
2896 * time.el (display-time-update):
2897 Don't assume years have 4 digits.
2898
78f3273a
CY
28992012-05-04 Chong Yidong <cyd@gnu.org>
2900
2901 * dos-w32.el (file-name-buffer-file-type-alist)
2902 (direct-print-region-use-command-dot-com):
2903 * ffap.el (ffap-menu-regexp):
2904 * find-file.el (ff-special-constructs):
2905 * follow.el (follow-debug):
2906 * forms.el (forms--debug):
2907 * iswitchb.el (iswitchb-all-frames):
2908 * ido.el (ido-all-frames):
2909 * emacs-lisp/timer.el (timer-max-repeats):
2910 * mail/feedmail.el (feedmail-mail-send-hook)
2911 (feedmail-mail-send-hook-queued):
2912 * mail/footnote.el (footnote-signature-separator):
2913 * mail/mailabbrev.el (mail-alias-separator-string)
2914 (mail-abbrev-mode-regexp):
2915 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2916 * progmodes/idlwave.el (idlwave-libinfo-file)
2917 (idlwave-default-completion-case-is-down)
2918 (idlwave-library-routines): Convert defvars to defcustoms.
2919
2920 * mail/rmail.el (rmail-decode-mime-charset):
2921 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2922 (idlwave-shell-fix-inserted-breaks)
2923 (idlwave-shell-activate-alt-keybindings)
2924 (idlwave-shell-use-breakpoint-glyph):
2925 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2926
f7ae6719
SM
29272012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2930
47086495
WS
29312012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2932
2933 * progmodes/verilog-mode.el (font-lock-keywords):
2934 Fix mis-highligting auto. Reported by Craig Barner.
2935 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2936 defines from global name space. Reported by Dan Dever.
2937 (verilog-auto-reset, verilog-auto-reset-widths)
2938 (verilog-auto-tieoff): Support using unbased numbers for
2939 AUTORESET and AUTOTIEOFF.
2940 (verilog-submit-bug-report): Update variable list.
2941 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2942 parenthesis from not matching. Reported by Michael Rytting.
2943 (verilog-auto-template-lint): Fix hash error when linting modules
2944 with no used templates.
2945 (verilog-warn, verilog-warn-error)
2946 (verilog-warn-fatal): When non-interactive report multiple
2947 warnings before exiting. Suggested by Brad Dobbie.
2948 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2949 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2950 to report unused template errors. Reported by Brad Dobbie.
2951 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2952 nets, bug438. Reported by Vns Blore.
2953 (verilog-auto-inout-module, verilog-auto-reg)
2954 (verilog-read-decls, verilog-read-sub-decls-sig)
2955 (verilog-signals-edit-wire-reg, verilog-signals-with):
2956 Fix passing of Verilog data types in ANSI input/output ports
2957 such as "output logic" into the AUTOs. Special case "wire" and
2958 "reg" for backwards compatibility presuming Verilog 2001.
2959 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2960 (verilog-preprocess): Fix replication of preprocess output.
2961 Reported by Brad Dobbie.
2962 (verilog-auto-inst-interfaced-ports):
2963 Create verilog-auto-inst-interfaced-ports, bug429.
2964 Reported by Julian Gorfajn.
2965 (verilog-after-save-font-hook)
2966 (verilog-before-save-font-hook): New variable.
2967 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2968 (verilog-save-font-mods): Wrap disabling fontification, reported
2969 by David Rogoff.
2970 (verilog-do-indent, verilog-pretty-declarations-auto)
2971 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2972 Reported by Pierre-David Pfister.
2973 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2974 of class declarations, bug292. Reported by Kevin Heilman.
2975 (verilog-read-decls): Fix 'parameter type' not appearing in
2976 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2977 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2978 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2979 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2980 Reported by David Kravitz.
2981
29822012-05-03 Michael McNamara <mac@mail.brushroad.com>
2983
2984 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2985 assignment with tests in ifs and for loops.
2986 (verilog-extended-complete-re, verilog-complete-reg): Change so
2987 that DPI inport functions don't look like fuction declarations.
2988 (verilog-pretty-expr): Don't line up assignment
2989 operations to the test and increment in if and for loops
2990 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 2991 that DPI inport functions don't look like fuction declarations.
47086495 2992
2e51d4b5
KH
29932012-05-03 Kenichi Handa <handa@m17n.org>
2994
2995 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2996 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2997 (Bug#11282).
2998
2bd785a2
SM
29992012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * emacs-lisp/bytecomp.el
3002 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3003 since cconv.el might have introduced :fun-body, internal-make-closure,
3004 and friends for bytecomp to handle (bug#11391).
3005 * custom.el (defcustom): Avoid ((λ ..) ..).
3006
99d27583
SM
30072012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3010
55a71479
JB
30112012-05-02 Juanma Barranquero <lekktu@gmail.com>
3012
3013 * notifications.el (dbus-debug):
3014 * term/linux.el (gpm-mouse-enable):
3015 * term/screen.el (xterm-register-default-colors): Declare.
3016
7b97c764
CY
30172012-05-02 Chong Yidong <cyd@gnu.org>
3018
2bc356d7
CY
3019 * cus-start.el (gc-cons-percentage, exec-suffixes)
3020 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3021 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3022 (make-cursor-line-fully-visible, void-text-area-pointer)
3023 (font-list-limit): Add customization data.
3024
7b97c764
CY
3025 * allout.el (allout-exposure-change-functions)
3026 (allout-structure-added-functions)
3027 (allout-structure-deleted-functions)
3028 (allout-structure-shifted-functions): Rename abnormal hooks from
3029 *-hook, and convert to defcustoms.
5d3385a0
JB
3030 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3031 Convert to defcustoms.
7b97c764
CY
3032 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3033
3034 * allout-widgets.el: Hook callers changed.
3035
90207a15 30362012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3037
3038 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3039 the yanked message in preference to the default value of
3040 buffer-file-coding-system.
3041
90207a15 30422012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3043
5d3385a0
JB
3044 * window.el (display-buffer--action-function-custom-type):
3045 Fix entry.
d9558cad 3046
90207a15 30472012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3048
3049 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3050
d80ac57b
GM
30512012-05-01 Glenn Morris <rgm@gnu.org>
3052
976f7668
GM
3053 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3054
beb83b5a
GM
3055 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3056
d80ac57b
GM
3057 * cus-edit.el (custom-variable-documentation): Simplify with format.
3058
b593d6a9
AH
30592012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3060 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * simple.el (suggest-key-bindings, execute-extended-command):
3063 Move from keyboard.c.
3064
782fbf2a
CY
30652012-05-01 Chong Yidong <cyd@gnu.org>
3066
3067 * follow.el: Eliminate advice.
3068 (set-process-filter, process-filter, sit-for): Advice deleted.
3069 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3070 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3071 Vars deleted.
782fbf2a
CY
3072 (follow-auto): Use a :set function.
3073 (follow-mode): Rewritten. Don't advise process filters.
3074 (follow-switch-to-current-buffer-all, follow-scroll-up)
3075 (follow-scroll-down): Assume follow-mode is bound.
3076 (follow-comint-scroll-to-bottom)
3077 (follow-align-compilation-windows): New functions.
3078 (follow--window-sorter): New function.
3079 (follow-all-followers): Use it to explicitly sort windows by their
3080 positions; don't make assumptions about next-window order.
3081 (follow-windows-start-end, follow-delete-other-windows-and-split)
3082 (follow-calc-win-start): Doc fix.
3083 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3084 vertical-motion unnecessarily.
3085 (follow-adjust-window): New function.
3086 (follow-post-command-hook): Use it.
3087 (follow-call-set-process-filter, follow-call-process-filter)
3088 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3089 (follow-stop-intercept-process-output, follow-generic-filter):
3090 Functions deleted.
3091 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3092 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3093 New functions, replacing advice on scroll-bar-* commands.
87233a14 3094 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3095
3096 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3097 (comint-postoutput-scroll-to-bottom): Use it.
3098 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3099
290af740
GM
31002012-05-01 Glenn Morris <rgm@gnu.org>
3101
3102 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3103 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3104 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3105 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3106 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3107 Remove no-byte-compile setting.
3108
6eac8dc9
SM
31092012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3112 all-completions code to not return a number in the last cdr.
3113
9cc7819c
LL
31142012-04-30 Leo Liu <sdl.web@gmail.com>
3115
3116 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3117 read-only error.
3118
c93b886f
CY
31192012-04-29 Chong Yidong <cyd@gnu.org>
3120
3121 * follow.el (follow-calc-win-end): Rewrite to handle partial
3122 screen lines correctly (Bug#8390).
3123 (follow-avoid-tail-recenter): Minor cleanup.
3124
8b6c19f4
SM
31252012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 Avoid the obsolete `assoc' package.
3128 * speedbar.el (speedbar-refresh): Avoid adelete.
3129 (speedbar-file-lists): Simplify and avoid aput.
3130 * man.el (Man--sections, Man--refpages): New vars, replacing
3131 Man-sections-alist and Man-refpages-alist.
3132 (Man-build-section-alist, Man-build-references-alist):
3133 Use them; avoid aput.
3134 (Man--last-section, Man--last-refpage): New vars.
3135 (Man-follow-manual-reference): Use them.
3136 Use the `default' arg of completing-read.
3137 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3138
c5bb7569
CY
31392012-04-27 Chong Yidong <cyd@gnu.org>
3140
d1d2e2e8
CY
3141 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3142
15cd8efd
CY
3143 * startup.el (x-apply-session-resources): New function.
3144
3145 * term/ns-win.el (ns-initialize-window-system):
3146 * term/w32-win.el (w32-initialize-window-system):
3147 * term/x-win.el (x-initialize-window-system): Use it to properly
3148 set menu-bar-mode and other vars from X resources, even if the
3149 initial frame is not a window-system frame (Bug#2299).
3150
c5bb7569
CY
3151 * subr.el (read-key): Avoid running filter function when setting
3152 up temporary tool bar entries (Bug#9922).
3153
a8e7d6d7 31542012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3155
3156 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3157 (Bug#11344)
3158
a8e7d6d7 31592012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3160
3161 * select.el (xselect--encode-string): New function, split from
3162 xselect-convert-to-string.
3163 (xselect-convert-to-string): Use it.
3164 (xselect-convert-to-filename, xselect-convert-to-os)
3165 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3166 returned strings are properly encoded (Bug#11315).
3167
a8e7d6d7 31682012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3169
3170 * simple.el (delete-active-region): Move to killing custom group.
3171
a8e7d6d7 31722012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3173
3174 * progmodes/which-func.el (which-func-current): Quote %
3175 characters for mode-line processing.
3176
578c1d4b 31772012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3178
3179 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3180 reaching eob (Bug#11286).
3181
a8e7d6d7 31822012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3183
3184 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3185 (gdb): Make it buffer-local and init to zero.
3186 (gdb-control-commands-regexp): New variable.
3187 (gdb-send): Don't wrap in "-interpreter-exec console" if
3188 gdb-control-level is positive. Increment gdb-control-level
3189 whenever the command matches gdb-control-commands-regexp, and
3190 decrement it each time the command is "end". (Bug#11279)
3191
a8e7d6d7 31922012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3193
3194 * window.el (adjust-window-trailing-edge, enlarge-window)
3195 (shrink-window, window-resize):
3196 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3197 windows (Bug#11276).
3198
b3608390
CY
31992012-04-27 Chong Yidong <cyd@gnu.org>
3200
3201 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3202 fix "missing prefix" warning. All callers changed.
b3608390 3203
797e6e88
SM
32042012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * emacs-lisp/assoc.el: Move to obsolete/.
3207
e95a67dc
SM
32082012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3209
657c21e4 3210 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3211
3212 * term/ns-win.el (ns-define-service):
3213 * progmodes/pascal.el (pascal-goto-defun):
3214 * progmodes/js.el (js--read-tab):
3215 * progmodes/etags.el (tags-lazy-completion-table):
3216 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3217 * emacs-lisp/ewoc.el (ewoc--wrap):
3218 * emacs-lisp/assoc.el (aput, adelete, amake):
3219 * doc-view.el (doc-view-convert-current-doc):
3220 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3221
cb3e7ae0
CY
32222012-04-26 Chong Yidong <cyd@gnu.org>
3223
dce04f7f
CY
3224 * image.el (image-type-from-buffer): Only return supported image
3225 type (Bug#9045).
3226
cb3e7ae0
CY
3227 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3228 value, for symmetry with diff-end-of-hunk.
3229 (diff-split-hunk, diff-find-source-location)
3230 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3231 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3232 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3233 compute the relevant hunk or file properly (Bug#6005).
3234 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3235
0d42eb3e
SM
32362012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * vc/vc-mtn.el:
3239 * vc/vc-hg.el:
3240 * vc/vc-git.el:
3241 * vc/vc-dir.el:
3242 * vc/vc-cvs.el:
3243 * vc/vc-bzr.el:
3244 * vc/vc-arch.el:
3245 * vc/vc.el: Replace lexical-let by lexical-binding.
3246 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3247 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3248 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3249
f08ae1c9
CY
32502012-04-26 Chong Yidong <cyd@gnu.org>
3251
8b71081d
CY
3252 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3253 (diff-mode-shared-map): Bind it to / and [remap undo].
3254
f08ae1c9
CY
3255 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3256 (ediff-window-setup-function): Use it as the default, to set up
3257 windows based on whether the current frame is graphical (Bug#2138).
3258 (ediff-choose-window-setup-function-automatically): Make obsolete.
3259
3260 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3261
ef24141c
SM
32622012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3263
cc356a5d
SM
3264 * ffap.el: Remove old code for obsolete package.
3265 (ffap-complete-as-file-p): Remove.
3266
b4ff4f1f
SM
3267 Use completion-table-with-quoting for comint and pcomplete.
3268 * comint.el (comint--unquote&requote-argument)
3269 (comint--unquote-argument, comint--requote-argument): New functions.
3270 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3271 (comint-quote-filename): Use regexp-opt-charset.
3272 (comint--common-suffix, comint--common-quoted-suffix)
3273 (comint--table-subvert): Remove.
3274 (comint-unquote-function, comint-requote-function): New vars.
3275 (comint--complete-file-name-data): Use them with
3276 completion-table-with-quoting.
3277 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3278 * pcomplete.el (pcomplete-arg-quote-list)
3279 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3280 (pcomplete-unquote-argument-function): Default to non-nil.
3281 (pcomplete-unquote-argument): Simplify.
3282 (pcomplete--common-quoted-suffix): Remove.
3283 (pcomplete-requote-argument-function): New var.
3284 (pcomplete--common-suffix): New function.
3285 (pcomplete-completions-at-point): Use completion-table-with-quoting
3286 and completion-table-subvert.
3287
79c4eeb4
SM
3288 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3289 (minibuffer--double-dollars): Preserve properties.
3290 (completion--sifn-requote): New function.
3291 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3292
ef24141c
SM
3293 * minibuffer.el: Add support for completion of quoted/escaped data.
3294 (completion-table-with-quoting, completion-table-subvert): New funs.
3295 (completion--twq-try, completion--twq-all): New functions.
3296 (completion--nth-completion): New function.
3297 (completion-try-completion, completion-all-completions): Use it.
3298
784e7d6e
LL
32992012-04-25 Leo Liu <sdl.web@gmail.com>
3300
dd2ac746
SM
3301 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3302 Use compilation-message if available to find real filename.
784e7d6e 3303
07875ee7
CY
33042012-04-25 Chong Yidong <cyd@gnu.org>
3305
3306 * vc/diff-mode.el (diff-setup-whitespace): New function.
3307 (diff-mode): Use it.
3308
3309 * vc/diff.el (diff-sentinel):
3310 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3311 Whitespace mode variables based on diff style (Bug#8612).
3312
5055880d
LL
33132012-04-25 Leo Liu <sdl.web@gmail.com>
3314
daf75653
LL
3315 * progmodes/python.el (python-send-region): Add suffix .py to the
3316 temp file.
3317
5055880d
LL
3318 * files.el (auto-mode-alist): Use javascript-mode instead.
3319
db9b177b
AH
33202012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3321
ef24141c 3322 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3323
090bd7cb 3324 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3325 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3326 references, see Bug#9.
ef24141c 3327 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3328 when receiving a fault reply.
ef24141c 3329 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3330
090bd7cb 3331 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3332 (soap-inspect-simple-type): New function.
db9b177b 3333
090bd7cb 3334 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3335 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3336 (soap-decode-basic-type, soap-encode-basic-type):
3337 support unsignedInt and double basic types.
db9b177b 3338 (soap-resolve-references-for-simple-type)
ef24141c
SM
3339 (soap-parse-simple-type, soap-encode-simple-type): New function.
3340 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3341
090bd7cb 3342 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3343 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3344 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3345 the local name of "soapenc:Array".
3346 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3347 decoding integer, byte and anyURI xsd types.
3348
1fc6097b
CY
33492012-04-25 Chong Yidong <cyd@gnu.org>
3350
3351 * cus-edit.el (custom-buffer-create-internal): Update header text.
3352
afc6df87
EZ
33532012-04-25 Eli Zaretskii <eliz@gnu.org>
3354
3355 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3356 settings on 'system-type', not on 'window-system'. On MS-Windows,
3357 set interactive-mode on in GDB.
3358
dfbd787f
SM
33592012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3362 (ruby-syntax-propertize-regexp): Remove.
3363 (ruby-syntax-propertize-function): Split regexp into chunks.
3364 Match following code directly.
3365
85222d44
DG
33662012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3367
51a8ea2a
DG
3368 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3369 (ruby-syntax-propertize-regexp): New function.
3370 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3371 by a special keyword.
3372
85222d44
DG
3373 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3374 (ruby-syntax-general-delimiters-goto-beg)
3375 (ruby-syntax-propertize-general-delimiters): New functions.
3376 (ruby-syntax-propertize-function): Use them to handle GDL.
3377 (ruby-font-lock-keywords): Move old handling of GDL...
3378 (ruby-font-lock-syntactic-keywords): .. to here.
3379 (ruby-calculate-indent): Adjust indentation for GDL.
3380
b613912b
MA
33812012-04-24 Michael Albinus <michael.albinus@gmx.de>
3382
b5380639
MA
3383 * notifications.el (top): Remove unneeded declarations.
3384 (notifications-specification-version): Change to "1.2".
e43042fe 3385 (notifications-interface, notifications-notify-method)
b613912b
MA
3386 (notifications-close-notification-method): Fix docstring.
3387 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3388 (notifications-notify): Add :action-items, :resident and
3389 :transient hints. Change "image_data" to "image-data" and
3390 "image_path" to "image-path".
b613912b
MA
3391 (notifications-get-capabilities): New defun.
3392
257440aa
LL
33932012-04-24 Leo Liu <sdl.web@gmail.com>
3394
3395 * progmodes/python.el: Move hideshow setup to the end.
3396
b1bac16e
MR
33972012-04-24 Martin Rudalics <rudalics@gmx.at>
3398
3399 * window.el (handle-select-window): Clear echo area since this is
3400 no more done by read_char (Bug#11304).
3401
d81bd059
SM
34022012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3405 and `/ M' to filter-derived-mode.
3406 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3407 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3408 (ibuffer-mark-by-mode): Use default rather than initial-input.
3409 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3410
c4cf6d91
IA
34112012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3412
3413 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3414 (ibuffer-filter-by-derived-mode): New filter.
3415 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3416
7511ded8
CY
34172012-04-23 Andreas Politz <politza@fh-trier.de>
3418
3419 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3420
775c916b
CY
34212012-04-23 Chong Yidong <cyd@gnu.org>
3422
3423 * cus-edit.el (customize-apropos, customize-apropos-options):
3424 Disable matching of non-option variables (Bug#11176).
3425 (customize-option, customize-option-other-window)
3426 (customize-changed-options): Doc fix.
3427 (customize-apropos-options, customize-apropos-faces)
3428 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3429
3430 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3431 Fix word list splitting (Bug#11132).
46c71e23
CY
3432 (apropos-symbol, apropos-keybinding, apropos-label)
3433 (apropos-property, apropos-function-button)
3434 (apropos-variable-button, apropos-misc-button): New faces.
3435 (apropos-symbol-face, apropos-keybinding-face)
3436 (apropos-label-face, apropos-property-face, apropos-match-face):
3437 Variables removed (Bug#8396).
3438 (apropos-library-button, apropos-format-plist, apropos-print)
3439 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3440
2df41f9c
MA
34412012-04-23 Michael Albinus <michael.albinus@gmx.de>
3442
3443 * net/xesam.el (xesam-mode-map): Use let-bound map in
3444 initialization. (Bug#11292)
3445
da00640a
AM
34462012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3447
3448 Preserve ispell session localwords when switching back to
3449 original buffer.
3450
090bd7cb
JB
3451 * textmodes/ispell.el (ispell-buffer-session-localwords):
3452 New buffer-local variable to hold buffer session localwords.
da00640a
AM
3453 (ispell-kill-ispell): add option 'clear to delete session
3454 localwords.
3455 (ispell-command-loop, ispell-change-dictionary)
3456 (ispell-buffer-local-words): Preserve session localwords when
3457 needed.
3458
090bd7cb
JB
3459 * textmodes/flyspell.el (flyspell-process-localwords)
3460 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 3461
f621ccf5
AM
34622012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3463
090bd7cb
JB
3464 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
3465 using obsolete `translation-table-for-input'.
ef24141c
SM
3466 (ispell-word, ispell-process-line, ispell-complete-word):
3467 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3468
c2d1019e
CY
34692012-04-22 Chong Yidong <cyd@gnu.org>
3470
3471 * cus-edit.el (custom-variable-menu)
3472 (custom-variable-reset-saved, custom-face-menu)
3473 (custom-face-reset-saved): If there is no saved value, make the
3474 "reset-saved" operation bring back the default (Bug#9509).
3475 (custom-face-state): Properly detect themed faces.
3476
eeddc531
CY
3477 * faces.el (face-spec-set): Stop supporting deprecated form of
3478 third arg.
3479
dcbf5805
MA
34802012-04-22 Michael Albinus <michael.albinus@gmx.de>
3481
3482 Move functions from C to Lisp. Make non-blocking method calls
3483 the default. Implement further D-Bus standard interfaces.
3484
ef24141c
SM
3485 * net/dbus.el (dbus-message-internal): Declare function.
3486 Remove unneeded function declarations.
dcbf5805
MA
3487 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3488 (dbus-message-type-method-return, dbus-message-type-error)
3489 (dbus-message-type-signal): Declare variables. Remove local
3490 definitions.
3491 (dbus-interface-dbus, dbus-interface-peer)
3492 (dbus-interface-introspectable, dbus-interface-properties)
3493 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3494 Adapt docstring.
3495 (dbus-interface-objectmanager): New defconst.
3496 (dbus-call-method, dbus-call-method-asynchronously)
3497 (dbus-send-signal, dbus-method-return-internal)
3498 (dbus-method-error-internal, dbus-register-service)
3499 (dbus-register-signal, dbus-register-method): New defuns, moved
3500 from dbusbind.c
3501 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3502 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3503 New defuns.
dcbf5805
MA
3504 (dbus-call-method-non-blocking): Make it an obsolete function.
3505 (dbus-unregister-object, dbus-unregister-service)
3506 (dbus-handle-event, dbus-register-property)
3507 (dbus-property-handler): Obey the new structure of
3508 `bus-registered-objects'.
3509 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3510 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3511 Use `dbus-call-method'.
3512
cf20dee0
CY
35132012-04-22 Chong Yidong <cyd@gnu.org>
3514
3515 * cus-edit.el (custom-commands, custom-reset-menu)
3516 (Custom-reset-standard): Tweak labels.
3517 (custom-reset-button-menu): Change default to t.
3518 (custom-buffer-create-internal): For the custom-reset-button-menu
3519 case, put the revert button first.
3520 (custom-group-subtitle): New face.
3521 (custom-group-value-create): Align docstring to a specific column.
3522
3523 * wid-edit.el (widget-documentation-link-add): Don't handle
3524 indentation in this function.
3525 (widget-documentation-string-indent-to): New function.
3526 (widget-documentation-string-value-create): Use it.
3527
3528 * autorevert.el (auto-revert):
3529 * epg-config.el (epg):
3530 * ibuffer.el (ibuffer):
3531 * mpc.el (mpc):
3532 * ses.el (ses):
3533 * eshell/eshell.el (eshell):
3534 * net/ange-ftp.el (ange-ftp):
3535 * progmodes/ebnf2ps.el (postscript):
3536 * progmodes/flymake.el (flymake):
3537 * progmodes/prolog.el (prolog):
3538 * progmodes/verilog-mode.el (verilog-mode):
3539 * progmodes/which-func.el (which-func):
3540 * term/xterm.el (xterm):
3541 * textmodes/picture.el (picture):
3542 * textmodes/tildify.el (tildify):
3543 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3544 customization buffers.
3545
583e23bd
AM
35462012-04-22 Alan Mackenzie <acm@muc.de>
3547
3548 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3549 Adding a ) can hide the resulting (..) from searches. Fix it.
3550 Bound the backward search to the position of the existing (.
3551
7dd51bf1
JB
35522012-04-21 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * progmodes/verilog-mode.el (verilog-mode): Check whether
3555 which-func-modes is t before adding verilog-mode.
3556 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3557
d64a438f
LL
35582012-04-21 Leo Liu <sdl.web@gmail.com>
3559
7dd51bf1 3560 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3561
081e8d65
MV
35622012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3563
3564 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3565 filling of the last column of a table (Bug#5635).
3566 (woman-find-next-control-line): New arg, specifying an additional
3567 regexp component for the control line.
3568 (woman2-roff-buffer): Use it.
3569 (woman-break-table): New function.
3570 (woman2-TS): Use it.
3571
35722012-04-21 Chong Yidong <cyd@gnu.org>
3573
3574 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3575 (woman-horizontal-escapes, woman-negative-vertical-space)
3576 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3577 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3578
ed571ccb
SM
35792012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * minibuffer.el (completion-file-name-table): Complete user names.
3582
39773899
LL
35832012-04-20 Leo Liu <sdl.web@gmail.com>
3584
3585 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3586 and pcase-let*.
3587
de6ff46d
CY
35882012-04-20 Chong Yidong <cyd@gnu.org>
3589
3590 * server.el (server-execute): Respect initial-buffer-choice if it
3591 is a string and there are no files to open (Bug#2825).
3592 (server-create-window-system-frame, server-create-tty-frame):
3593 Don't switch buffers here.
2d0e8e61
CY
3594 (server-process-filter): Only try to open a window system frame if
3595 compiled with graphical support (Bug#8314).
de6ff46d 3596
54071013
DN
35972012-04-20 Dan Nicolaescu <dann@gnu.org>
3598
3599 * battery.el (battery-echo-area-format): Display remaining time
3600 for sysfs backend too (Bug#11269).
3601 (battery-linux-sysfs): Fix conditional for the charge.
3602
f30d612a
CY
36032012-04-20 Chong Yidong <cyd@gnu.org>
3604
c07a4c0b 3605 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3606 (gdb-inferior-io--init-proc): New function.
3607 (gdb-init-1): Use it.
3608 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3609 responsible for allocating a new pty and hooking it to gdb when
3610 the old pty gets an EIO due to process exit.
3611 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3612 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3613 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3614
2116e93c
EZ
36152012-04-20 Eli Zaretskii <eliz@gnu.org>
3616
3617 * window.el (window-min-size, window-sizable, window-min-delta)
3618 (window-max-delta, window--resizable, window-resizable)
3619 (window-total-size, window-full-height-p, window-full-width-p)
3620 (window-in-direction, window--resize-mini-window, window-resize)
3621 (window--resize-child-windows-normal)
3622 (window--resize-child-windows, window--resize-siblings)
3623 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3624 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3625
c07a4c0b 36262012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3627
ef24141c
SM
3628 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3629 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3630 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3631 pty process (Bug#11273).
3632 (gdb-update): New arg to suppress talking to the gdb process.
3633 (gdb-done-or-error): Use it.
3634 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3635 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3636 sentinel not being called.
3637
3638 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3639
d02766ab
CY
3640 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3641
c07a4c0b 36422012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3643
3644 * net/network-stream.el (open-network-stream): Doc fix.
3645
c07a4c0b 36462012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3647
3648 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3649
c07a4c0b 36502012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3651
3652 Ensure searching for keywords is case sensitive.
3653
3654 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3655 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3656 (c-defun-name, c-mark-function, c-cpp-define-name)
3657 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3658 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3659
ef24141c
SM
3660 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3661 Bind case-fold-search to nil.
f0f6bc35 3662
c07a4c0b 36632012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3664
3665 * mail/sendmail.el (mail-bury): Call return action with the right
3666 Rmail buffer (Bug#11242).
3667
9a864fa2
CY
3668 * server.el (server-process-filter): Handle corner case where both
3669 tty and nowait options are present (Bug#11102).
3670
539aa513
EZ
36712012-04-20 Eli Zaretskii <eliz@gnu.org>
3672
3673 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3674 (top level): Put into the executable the ident-style '$Id:' tag on
3675 windows-nt as well.
539aa513 3676
cfc7d5da
SM
36772012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * electric.el (electric-indent-post-self-insert-function): Check that
3680 electric-indent-mode is enabled in current buffer.
3681
5b01685c
JB
36822012-04-19 Juanma Barranquero <lekktu@gmail.com>
3683
3684 * imenu.el (imenu-progress-message): Restore; it is "used" in
3685 erc/erc-imenu.el and net/snmp-mode.el.
3686
4d6769e1
JB
36872012-04-19 Juanma Barranquero <lekktu@gmail.com>
3688
3689 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3690 (mouse-avoidance-nudge-mouse): Remove unused binding.
3691
3692 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3693
3694 * descr-text.el (describe-char):
3695 * progmodes/python.el (python-describe-symbol):
3696 Don't call `toggle-read-only', set `buffer-read-only'.
3697
3698 * imenu.el (imenu-default-goto-function): Mark unused args.
3699 (imenu-progress-message): Remove obsolete macro; all callers changed.
3700
3701 * subr.el (keymap-canonicalize): Remove unused binding.
3702 (read-passwd): Mark unused arg.
3703
3704 * tutorial.el (tutorial--display-changes): Remove unused binding.
3705 (tutorial--save-tutorial-to): Remove unused variable.
3706
3707 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3708 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3709 (package-generate-autoloads, package-menu--generate)
3710 (package-menu--find-upgrades): Remove unused bindings.
3711
3712 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3713 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3714 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3715 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3716 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3717 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3718 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3719 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3720 (cua-delete-char-rectangle): Mark unused args.
3721 (cua-align-rectangle): Remove unused binding.
3722
3723 * mail/rmail.el (compilation--message->loc)
3724 (epa--find-coding-system-for-mime-charset): Declare.
3725
3726 * net/dbus.el (dbus-register-service): Declare.
3727 (dbus-name-owner-changed-handler): Remove unused binding.
3728
3729 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3730 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3731 (nxml-scan-backward-within): Mark unused arg.
3732 (nxml-dynamic-markup-word): Remove unused binding.
3733
3734 * mouse.el (mouse-menu-major-mode-map):
3735 * emacs-lisp/authors.el (authors-scan-change-log)
3736 (authors-add-to-author-list):
3737 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3738 * emacs-lisp/smie.el (smie-auto-fill):
3739 * mail/sendmail.el (mail-bury):
3740 * mail/unrmail.el (unrmail):
3741 * net/tls.el (open-tls-stream):
3742 * textmodes/picture.el (picture-mouse-set-point):
3743 Remove unused bindings.
3744
8c8fc5df
MA
37452012-04-19 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp.el (tramp-action-password): Let-bind
3748 `enable-recursive-minibuffers' to t.
3749
a77b0ac9
SS
37502012-04-18 Sam Steingold <sds@gnu.org>
3751
3752 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3753 instead of 'string to accommodate values like [f11].
3754 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3755 * progmodes/gdb-mi.el: Likewise.
3756
12a106a9
LL
37572012-04-18 Leo Liu <sdl.web@gmail.com>
3758
3759 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3760 current buffer.
3761 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3762 LOCAL is nil.
3763
bc6494ef
CY
37642012-04-18 Chong Yidong <cyd@gnu.org>
3765
3766 * simple.el (line-move): Use forward-line if in batch mode
3767 (Bug#11053).
3768
c09c46b2
CS
37692012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3770
3771 * files.el (after-find-file): Do not try to add a final newline if
3772 the buffer is read-only (Bug#11156).
3773
5f6530ea
RS
37742012-04-17 Richard Stallman <rms@gnu.org>
3775
3776 * mail/rmail.el (rmail-start-mail):
3777 Pass (rmail-mail-return...) for the return-action.
3778 Pass (rmail-yank-current-message...) for the yank-action.
3779 (rmail-yank-current-message): New function.
3780 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3781 (rmail-reply): Likewise.
3782 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3783
3784 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3785 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3786 buffer, not newbuf.
3787
197b6f3c
JB
37882012-04-17 Juanma Barranquero <lekktu@gmail.com>
3789
3790 * server.el (server-ensure-safe-dir): Simplify.
3791
2311d8e5 37922012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3793
2311d8e5
GM
3794 * emacs-lisp/smie.el: Provide smarter auto-filling.
3795 (smie-auto-fill): New function.
3796 (smie-setup): Use it.
98fb480e 3797
2311d8e5
GM
3798 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3799
38002012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3801
3802 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3803 (comment-indent): Use it.
3804
2311d8e5 38052012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3806
3807 * ses.el: The overall change is to add cell renaming, that is
3808 setting fancy names for cell symbols other than name matching
3809 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3810 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3811 (ses-create-cell-variable): New defun.
2311d8e5 3812 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3813 (ses-relocate-formula): Relocate formulas only for cells the
3814 symbols of which are not renamed, i.e. symbols whose names do not
3815 match regexp "\\`[A-Z]+[0-9]+\\'".
3816 (ses-relocate-all): Relocate values only for cells the symbols of
3817 which are not renamed.
3818 (ses-load): Create cells variables as the (ses-cell ...) are read,
3819 in order to check row col consistency with cell symbol name only
3820 for cells that are not renamed.
3821 (ses-replace-name-in-formula): New defun.
3822 (ses-rename-cell): New defun.
4bdf2ad2 3823
fc72b15c
PO
38242012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3825
3826 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3827 New option (bug#11118).
3828 (perl-calculate-indent): Respect it.
3829
12e10e61
GM
38302012-04-17 Glenn Morris <rgm@gnu.org>
3831
3832 * dired-aux.el (dired-mark-read-string): Doc fix.
3833
30009afd
DA
38342012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3835
3836 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3837 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3838
41f03f4d
GM
38392012-04-17 Glenn Morris <rgm@gnu.org>
3840
3841 * mouse.el (mouse-drag-track):
3842 * speedbar.el (speedbar-frame-mode):
3843 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3844
f45f90f3
LL
38452012-04-16 Leo Liu <sdl.web@gmail.com>
3846
3847 * progmodes/python.el: Trivial cleanup.
3848
94ee8db5
GM
38492012-04-16 Glenn Morris <rgm@gnu.org>
3850
121b8917
GM
3851 * vc/vc.el (vc-string-prefix-p):
3852 * vc/pcvs-util.el (cvs-string-prefix-p):
3853 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3854 * mpc.el (mpc-string-prefix-p):
3855 Make all of these into obsolete aliases for string-prefix-p.
3856 Update callers.
3857 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3858
1197ecfa
GM
3859 * textmodes/two-column.el: Move custom options to the start.
3860 (frame-width): Remove compat definition.
3861 (2C-associate-buffer, 2C-dissociate):
3862 Use with-current-buffer rather than save-excursion.
3863 (2C-dissociate): Force a mode-line update.
3864 (2C-autoscroll): Use ignore-errors.
3865
099e7202
GM
3866 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3867 Autoload trivia.
3868
bf350d6a
GM
3869 * emacs-lisp/cl-extra.el (*random-state*):
3870 Remove unnecessary declaration.
3871
0e829eab
GM
3872 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3873
e3ad7552
GM
3874 * play/cookie1.el (cookie-snarf):
3875 Give an explicit error if input file cannot be read.
3876
68892d27
GM
3877 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3878
20f0c46d
GM
3879 * progmodes/perl-mode.el (c-macro-expand):
3880 Remove unnecessary autoload (it is in loaddefs.el).
3881
5a0978ce
GM
3882 * textmodes/picture.el (picture-desired-column)
3883 (picture-update-desired-column): Convert comments to doc-strings.
3884 (picture-substitute): Remove function.
3885 (picture-mode-map): Initialize in the defvar.
3886
6b955486
GM
3887 * woman.el: Remove eval-after-load for tar-mode.
3888 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3889 (woman-tar-extract-file): Autoload it.
3890
94ee8db5
GM
3891 * frame.el (automatic-hscrolling): Make this alias obsolete.
3892
177eca34
AM
38932012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3894
090bd7cb 3895 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3896 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3897 (ispell-dictionary-base-alist): Revert to original XEmacs
3898 friendly version for default. [:alpha:] will be added in
090bd7cb 3899 `ispell-set-spellchecker-params' if needed.
177eca34 3900
c505aaeb
CY
39012012-04-16 Chong Yidong <cyd@gnu.org>
3902
3903 * image.el (imagemagick--extension-regexp): New variable.
3904 (imagemagick-register-types): Use it.
3905 (imagemagick-types-inhibit): Add :set function. Allow new value
3906 of t to inhibit all types.
3907
3908 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3909 so we can preload it.
3910
3911 * loadup.el (fboundp): Preload regexp-opt, needed by
3912 imagemagick-register-types.
3913
60efac0f
CY
39142012-04-15 Chong Yidong <cyd@gnu.org>
3915
3916 * frame.el (scrolling): Remove nearly unused customization group.
3917
3918 * scroll-all.el (scroll-all-mode): Move to windows group.
3919
5dd1713e
CY
39202012-04-15 Chong Yidong <cyd@gnu.org>
3921
3922 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3923
e6fd457e
CY
39242012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3927 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3928
e153c136
GM
39292012-04-15 Glenn Morris <rgm@gnu.org>
3930
3931 * simple.el (process-file-side-effects): Doc fix.
3932
e6fd457e 39332012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3934
3935 * international/mule-cmds.el (set-language-environment): Doc fix.
3936
3603c3b1
JB
39372012-04-14 Juanma Barranquero <lekktu@gmail.com>
3938
3939 * server.el (server-auth-key, server-generate-key): Doc fixes.
3940 (server-get-auth-key): Doc fix. Use `string-match-p'.
3941 (server-start): Reflow docstring.
3942
e6de100c
LI
39432012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3944
3945 * server.el (server-generate-key): `called-interactively-p'
3946 requires a parameter.
3947
29734c21
MN
39482012-04-14 Michal Nazarewicz <mina86@mina86.com>
3949
3950 * server.el (server-auth-key): New variable.
75f1671a 3951 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3952 (server-start): Use the new variable and functions to allow
3953 setting a permanent server key (bug#9423).
3954
d65c9521
LL
39552012-04-14 Leo Liu <sdl.web@gmail.com>
3956
3957 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3958
5ae255c7
PE
39592012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3960
3961 Spelling fixes.
3962 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3963 Emacs uses American spelling.
3964
d5e6342e
JB
39652012-04-14 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3968 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3969 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3970 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3971
ab036cd7
SM
39722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * progmodes/which-func.el (which-func-modes): Change default.
3975
35dc09a1 39762012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3977
3978 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3979 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3980
35dc09a1 39812012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3982
3983 * custom.el (custom-theme-set-variables): Doc fix.
3984
35dc09a1 39852012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3986
3987 * international/mule.el (set-auto-coding-for-load): Doc fix.
3988
35dc09a1 39892012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3990
35dc09a1
GM
3991 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3992 imenu work again for Objective C Mode. Correct the *-index values,
3993 these having been disturbed by a previous change in 2011-08.
57f845ee 3994
0de3da9f
AM
3995 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3996 Correct two search limits.
3997
35dc09a1 39982012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3999
4000 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4001
35dc09a1 40022012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4003
4004 * international/characters.el: Fix sorting.
4005
35dc09a1 40062012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4007
4008 * international/characters.el: Add more missing Latin case pairs.
4009
35dc09a1 40102012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4011
4012 * files.el (dir-locals-set-class-variables): Doc fix.
4013
35dc09a1 40142012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4015
3f1b5bf8
EZ
4016 * international/characters.el: Add set-case-syntax-pair call for
4017 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4018 counterpart. (Bug#11209)
4019
9f847f41
EZ
4020 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4021
35dc09a1 40222012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4023
4024 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4025
35dc09a1 40262012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4027
35dc09a1
GM
4028 * textmodes/ispell.el (ispell-dictionary-base-alist):
4029 Add data for Hebrew.
e2627d21 4030
35dc09a1 40312012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4032
35dc09a1
GM
4033 * net/rcirc.el (rcirc-cmd-quit):
4034 Revert 2012-03-18 change (Bug#11192).
5c14e333 4035
35dc09a1 40362012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4037
4038 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4039
35dc09a1 40402012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4041
4517fe3a
SM
4042 * minibuffer.el (completion-in-region-mode-map):
4043 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4044
b472a594
VD
40452012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4046
4047 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4048
09b95ce3
MY
40492012-04-13 Masatake YAMATO <yamato@redhat.com>
4050
4051 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4052 to allow `C-M-f' and `C-M-b' to move to the nearest path
4053 separator (bug#9511).
4054
4b63a9ca
LI
40552012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4056
4057 * avoid.el: Require cl when compiling. And also move the
4058 `provide' to the end.
4059
7b55b8bf
TV
40602012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4061
4062 * avoid.el (mouse-avoidance-banish-position): New variable.
4063 (mouse-avoidance-banish-destination): Use it (bug#10165).
4064
adedaa1f
LL
40652012-04-13 Leo Liu <sdl.web@gmail.com>
4066
4067 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4068
70e74021
KB
40692012-04-13 Ken Brown <kbrown@cornell.edu>
4070
4071 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4072 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4073 (browse-url-filename-alist): For the same reason, don't modify
4074 file:// URLs on Cygwin.
4075
e75e89ba
SM
40762012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4079 the region on shift if the binding is already shifted (bug#11221).
4080
82f289a4
GM
40812012-04-12 Glenn Morris <rgm@gnu.org>
4082
4083 * mail/mailpost.el: Move to obsolete/.
4084
d333dc4c
DA
40852012-04-12 Drew Adams <drew.adams@oracle.com>
4086
4087 * imenu.el (imenu--generic-function): Ignore invisible definitions
4088 (bug#10123).
4089
0d15b5ba
VD
40902012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4091
4092 * hexl.el (hexl-bits): New variable.
4093 (hexl-options): Mention the variable in the doc string.
75f1671a 4094 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4095 (hexl-mode): Mention the new variable.
75f1671a
JB
4096 (hexl-mode, hexl-current-address, hexl-current-address):
4097 Use the displen.
0d15b5ba
VD
4098 (hexl-ascii-start-column): New function.
4099 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4100 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4101
64a440db
AM
41022012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4103
4104 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4105 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4106 the encoding, as expected by hunspell.
4107
6decb6c2
SM
41082012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * battery.el (battery--linux-sysfs-regexp): New const.
4111 (battery-status-function): Use it. Remove yeeloong special case.
4112 (battery-yeeloong-sysfs): Remove.
4113 (battery-echo-area-format): Remove yeeloong special case.
4114
088be6fb
SM
41152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4116
6622e416
SM
4117 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4118 Reported by Noah Friedman.
4119
088be6fb
SM
4120 * subr.el (read-passwd): Use read-string.
4121
b49f886e
LMI
41222012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4123
4124 * vcursor.el (vcursor-move): Increase the priority of the overlay
4125 (bug#9663).
4126
a63067fc
DD
41272012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4128
4129 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4130 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4131
ac3cf14a
WS
41322012-04-11 William Stevenson <yhvh2000@gmail.com>
4133
4134 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4135 define-minor-mode (bug#10760).
4136
c4fc691b 41372012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4138
4d6769e1 4139 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4140 that directories matching `grep-find-ignored-files' won't be
4141 pruned (bug#10351).
4142
af23e2e5
CY
41432012-04-11 Chong Yidong <cyd@gnu.org>
4144
4145 * startup.el (command-line): Remove support for long-obsolete
4146 variable font-lock-face-attributes.
4147
ab7ce8c1
GM
41482012-04-11 Glenn Morris <rgm@gnu.org>
4149
4150 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4151
de8c03dc
SM
41522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * window.el (window--state-get-1): Obey window-point-insertion-type.
4155
050cc68b
LB
41562012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4157
4158 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4159 to previous function when point is on the first character of a
75f1671a 4160 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4161
a38c310c
GM
41622012-04-11 Glenn Morris <rgm@gnu.org>
4163
effed0c2
GM
4164 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4165 not just file-errors.
4166
a38c310c
GM
4167 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4168 (vc-bzr-sha1): Use internal sha1.
4169
0221e323
SM
41702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4173
43956923
SG
41742012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4175
4176 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4177 that start in the middle of the line (bug#10496).
4178
6a8c9eaf
DN
41792012-04-10 Dan Nicolaescu <dann@gnu.org>
4180
4181 * battery.el (battery-linux-proc-acpi): Only one battery is
4182 discharged at a time, but that seems to confuse battery.el when
4183 computing `rate-type' for the battery not being discharged
4184 (bug#10332).
4185
1930bf5d
SM
41862012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4187
2a718f6f
SM
4188 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4189
599430d0
SM
4190 * international/quail.el: Use dolist and simplify.
4191 (quail-define-package, quail-update-keyboard-layout)
4192 (quail-define-rules): Use dolist.
4193 (quail-insert-kbd-layout, quail-get-translation): CSE.
4194
a2754b6c
SM
4195 * tmm.el: Use dolist, remove left over hook.
4196 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4197 Use dolist.
4198 (calendar-load-hook): Don't mess with it.
4199
1930bf5d
SM
4200 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4201 Use derived-mode-p. Run the diff asynchronously.
4202
9f67961c
LMI
42032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4204
4205 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4206
2a8ce227
JB
42072012-04-10 Juanma Barranquero <lekktu@gmail.com>
4208
4209 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4210 (list-dynamic-libraries--loaded): New function.
4211 (list-dynamic-libraries--refresh): Use it.
4212
8f33b5f8
NW
42132012-04-10 Nathan Weizenbaum <nweiz@google.com>
4214
1930bf5d
SM
4215 * progmodes/python.el (python-fill-paragraph):
4216 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4217 disabled (bug#7018).
4218
b12f0439
L
42192012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4220
1930bf5d 4221 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4222 DOS/MS Windows for the Baltic languages. There are still plenty
4223 of texts written in this encoding/codepage (bug#6519).
b12f0439 4224
57c3bd01
GM
42252012-04-10 Glenn Morris <rgm@gnu.org>
4226
4227 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4228 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4229
6c3eab30
FA
42302012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4231
1930bf5d 4232 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4233 next-line "n" and previous-line "p" in order to make recentf more
4234 consistent with ibuffer, dired or org-mode (bug#9387).
4235
24d78a88
LMI
42362012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4237
bc72b5d9
LMI
4238 * image.el (put-image): Return the overlay created instead of the
4239 optional input string (bug#7834). Note that this may break code
4240 that is (for some reason or other) depending on `put-image'
4241 returning the string.
4242
bd2dba5a
LMI
4243 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4244
74beb59f
LMI
4245 * simple.el (zap-to-char): Allow zapping using input methods
4246 (bug#1580).
4247
24d78a88
LMI
4248 * textmodes/fill.el (fill-region): Leave point and mark where they
4249 were before filling (bug#5399).
4250
263f20cd
GM
42512012-04-09 Glenn Morris <rgm@gnu.org>
4252
4253 * version.el (emacs-bzr-get-version):
4254 Handle lightweight checkouts of local branches.
4255
58d1f797
AS
42562012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4257
263f20cd 4258 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4259
b4d3bc10
CY
42602012-04-09 Chong Yidong <cyd@gnu.org>
4261
4262 * custom.el (custom-variable-p): Return nil for non-symbol
4263 arguments instead of signaling an error.
4264 (user-variable-p): Obsolete alias for custom-variable-p.
4265
4266 * apropos.el (apropos-variable):
4267 * files-x.el (read-file-local-variable):
4268 * simple.el (set-variable):
4269 * woman.el (woman-mini-help):
4270 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4271
fd06db5d
GM
42722012-04-09 Glenn Morris <rgm@gnu.org>
4273
e5fcdb5e
GM
4274 * startup.el (normal-top-level): Don't look for leim-list.el
4275 in places where it will not be found. (Bug#910)
4276
fd06db5d
GM
4277 * international/mule-cmds.el (set-default-coding-systems):
4278 * files.el (normal-mode):
4279 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4280 This function was removed with ucs-tables.el in 2008.
4281
b39bb7e1
EZ
42822012-04-08 Eli Zaretskii <eliz@gnu.org>
4283
4284 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4285 ispell-encoding8-command to "-i", without a trailing space.
4286 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4287 separate command-line arguments, to specify the encoding, since
4288 that's how hunspell expects it.
4289
5c5b8e23
GM
42902012-04-08 Glenn Morris <rgm@gnu.org>
4291
4292 * loadup.el: Load bindings before cus-start.
4293 This reduces somewhat the number of "rogue" settings in emacs -Q.
4294
a1ed8b05
GM
42952012-04-07 Glenn Morris <rgm@gnu.org>
4296
4297 * version.el (emacs-bzr-get-version): New function.
dfae128a 4298 (emacs-bzr-version): New variable.
a1ed8b05
GM
4299 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4300 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4301
b142f158
EZ
43022012-04-07 Eli Zaretskii <eliz@gnu.org>
4303
dfae128a
GM
4304 * international/uni-bidi.el, international/uni-category.el:
4305 * international/uni-combining.el, international/uni-decimal.el:
4306 * international/uni-decomposition.el, international/uni-digit.el:
4307 * international/uni-lowercase.el, international/uni-mirrored.el:
4308 * international/uni-name.el, international/uni-numeric.el:
4309 * international/uni-titlecase.el, international/uni-uppercase.el:
4310 Update for Unicode 6.1.
b142f158 4311
9078ead6
EZ
43122012-04-07 Eli Zaretskii <eliz@gnu.org>
4313
4314 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4315
f23d2c7d
LMI
43162012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4317
4318 * window.el (shrink-window): Mention the `window-min-height'
4319 variable in the doc string.
4320
0a0a3573
BG
43212012-04-05 Bastien Guerry <bzg@altern.org>
4322
4323 * color.el (color-lighten-name): Fix typo.
4324
e5248ac9
SM
43252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * server.el (server--on-display-p): New function.
4328 (server--on-display-p): Use it.
4329
b4243e22
GV
43302012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4331
4332 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4333 (bug#11145).
4334
305d9f44
SM
43352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * comint.el (comint--common-quoted-suffix): Check string boundary
4338 before comparing (bug#11158).
4339 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4340
3d439cd1
CY
43412012-04-04 Chong Yidong <cyd@gnu.org>
4342
321cc491
CY
4343 * minibuffer.el (completion-extra-properties): Doc fix.
4344
3d439cd1
CY
4345 * subr.el (delayed-warnings-hook): Doc fix.
4346
2d562c0f
DU
43472012-04-04 Daiki Ueno <ueno@unixuser.org>
4348
4349 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4350 selection (Bug#11159).
4351 (epa-insert-keys): Inform that the default public key will be
4352 exported if no key is selected.
4353
4443f204
RS
43542012-04-04 Richard Stallman <rms@gnu.org>
4355
4356 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4357
529c06b6
CY
43582012-04-03 Chong Yidong <cyd@gnu.org>
4359
4360 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4361 mail-insert-file, not its obsolete alias mail-attach-file.
4362
66b907dc
MA
43632012-04-03 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * notifications.el (notifications-notify): Fix docstring.
4366
c0ea195d
GM
43672012-04-02 Glenn Morris <rgm@gnu.org>
4368
4369 * emacs-lisp/authors.el (authors-aliases): Another addition.
4370
5ca64e00
MA
43712012-04-02 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4374 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4375 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4376
42ee526b
CY
43772012-04-01 Chong Yidong <cyd@gnu.org>
4378
4379 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4380 Handle root directory properly.
4381 (copy-directory): Caller changed.
4382
4383 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4384 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4385
0b021094
GM
43862012-03-31 Glenn Morris <rgm@gnu.org>
4387
40f86458
GM
4388 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4389
7019c177
GM
4390 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4391
a1daddd6
GM
4392 * calendar/calendar.el (calendar-window-list)
4393 (calendar-hide-window): Restore. (Bug#11140)
4394 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4395
0b021094
GM
4396 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4397
40311efc
TV
43982012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4399
4400 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4401 Check if file is a symlink (Bug#10489).
4402
4403 * files.el (copy-directory): Likewise.
4404
5319014e
CY
44052012-03-30 Chong Yidong <cyd@gnu.org>
4406
4407 * image.el (imagemagick-types-inhibit)
4408 (imagemagick-register-types): Doc fix.
4409
935d1290
AM
44102012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4411
090bd7cb 4412 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4413 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4414 and treats ~word as ordinary words in pipe mode.
935d1290 4415
61c6e8fd
GM
44162012-03-30 Glenn Morris <rgm@gnu.org>
4417
4418 * tutorial.el (help-with-tutorial): Ensure local variables don't
4419 happen to make the buffer read-only. (Bug#11127)
4420
81fdff00
SM
44212012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4424 (perl-calculate-indent): Return `noindent' in strings.
4425
6e7a6ec0
SS
44262012-03-28 Sam Steingold <sds@gnu.org>
4427
4428 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4429 instead of the broken adhockery which does not prevent calendar
4430 buffers from being displayed at random after exit.
4431 (calendar-window-list, calendar-hide-window): Remove the broken
4432 adhockery.
4433
fee88ca0
GM
44342012-03-28 Glenn Morris <rgm@gnu.org>
4435
4436 * replace.el (query-replace-map): Doc fix.
4437
38de3354
AS
44382012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4439
4440 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4441 contents. (Bug#11109)
4442
b973155e
SM
44432012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4446 (bug#11077).
4447 (avl-tree--check, avl-tree--check-node): New funs.
4448
dcb6e7b3
MR
44492012-03-27 Martin Rudalics <rudalics@gmx.at>
4450
4451 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4452 (switch-to-prev-buffer, switch-to-next-buffer):
4453 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4454 showing a buffer already is done on the same frame.
4455
b4fa35fa
GM
44562012-03-27 Glenn Morris <rgm@gnu.org>
4457
4458 * startup.el (mail-host-address): Doc fix.
4459
f9210e18
SM
44602012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4463 than 197 variables.
4464
c0bf7753
AF
44652012-03-26 Ami Fischman <ami@fischman.org>
4466
4467 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4468
33da7b16
GM
44692012-03-26 Glenn Morris <rgm@gnu.org>
4470
02243d9d
GM
4471 * files.el (save-buffers-kill-emacs): Doc fix.
4472
33da7b16
GM
4473 * startup.el (normal-top-level, command-line, command-line-1):
4474 Give them doc strings.
4475
e5a69fd0
EZ
44762012-03-25 Eli Zaretskii <eliz@gnu.org>
4477
4478 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4479 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4480
9a69676a
CY
44812012-03-25 Chong Yidong <cyd@gnu.org>
4482
4125cb8b
CY
4483 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4484 theme if it was previously enabled before (Bug#11031).
4485
dd470960
CY
4486 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4487 spec with custom-face-get-current-spec if its :shown-value is not
4488 determined yet (Bug#9337).
4125cb8b 4489 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4490
9a69676a
CY
4491 * button.el (button-at): Minor addition to docstring.
4492
6e7e90fa
SL
44932012-03-24 Simon Leinen <simon.leinen@gmail.com>
4494
4495 * vc/vc.el (vc-merge): Fix a prompt.
4496
f06e2758
CY
44972012-03-24 Chong Yidong <cyd@gnu.org>
4498
4499 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4500 point (Bug#9623).
4501
6e7e90fa
SL
4502 * button.el (button-at): Minor addition to docstring.
4503
b9d0879b
SM
45042012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * newcomment.el (comment-choose-indent): No space after BOL.
4507
e71cebb3
SS
45082012-03-22 Sam Steingold <sds@gnu.org>
4509
4510 * window.el (switch-to-prev-buffer): Revert last patch because the
4511 bug turned out to be an advertised feature (Elisp manual 28.14).
4512
335aff35
GM
45132012-03-22 Glenn Morris <rgm@gnu.org>
4514
4515 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4516 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4517
c676576a
LMI
45182012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4519
4520 * net/network-stream.el (network-stream-open-starttls): Make error
4521 message under Windows be less misleading.
4522
126f3d39
LW
45232012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4524
4525 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4526 understands (bug#9942).
4527
64fee311
CY
45282012-03-22 Chong Yidong <cyd@gnu.org>
4529
4530 * simple.el (end-of-visible-line): Handle return value of
4531 next-single-property-change properly (Bug#9371).
4532
a640d29a
KH
45332012-03-22 Kenichi Handa <handa@m17n.org>
4534
4535 * international/quail.el (quail-insert-kbd-layout): Fix previous
4536 change. To avoid unwanted bidi reordering, use
4537 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4538
39675016
DG
45392012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4540
4541 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4542 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4543 (ruby-beginning-of-indent): Be more careful with the difference
4544 between word-boundary and symbol boundary.
4545 (ruby-mode-syntax-table): Make : a symbol constituent.
4546
0a6934fc 45472012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4548
3d008e4f
SM
4549 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4550
0a6934fc
SM
45512012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4552
af67c9d7
SM
4553 * progmodes/etags.el (tags-completion-at-point-function):
4554 Improve last fix.
4555
1acad97c
SM
4556 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4557
e298b5da
SS
45582012-03-21 Sam Steingold <sds@gnu.org>
4559
4560 * progmodes/etags.el (tags-completion-at-point-function):
4561 Avoid the error when point is inside the pattern.
4562
91d82a70
JY
45632012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4564
4565 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4566 line (Bug#10855).
4567
69188b79
CY
45682012-03-21 Drew Adams <drew.adams@oracle.com>
4569
4570 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4571
99fc91fe
AK
45722012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4573
4574 * ido.el (ido-set-current-directory, ido-read-internal)
4575 (ido-choose-completion-string, ido-completion-help): Handle nil
4576 value of ido-completion-buffer (Bug#11008).
4577
087bbb4c
SS
45782012-03-21 Sam Steingold <sds@gnu.org>
4579
4580 * window.el (switch-to-prev-buffer): Do not switch to a visible
4581 window previous buffer, just like with the frame previous buffers.
4582
fb5b8aca
CY
45832012-03-21 Chong Yidong <cyd@gnu.org>
4584
4585 * faces.el (make-face, make-empty-face, copy-face):
4586 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4587 Doc fixes.
4588
dc9924b8
SM
45892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4592 (widget-complete): Remove broken use of it.
4593
f0bcceb9
CY
45942012-03-20 Chong Yidong <cyd@gnu.org>
4595
dc9924b8
SM
4596 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4597 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4598 characters.
4599
ee52ebf3
TH
46002012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4601
4602 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4603 to draw rectangles, not squares. (Regression introduced by revno
4604 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4605
4c5779ab
CY
46062012-03-18 Chong Yidong <cyd@gnu.org>
4607
4608 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4609 it is not yet defined (for temacs).
4610
15360934
LL
46112012-03-18 Leo Liu <sdl.web@gmail.com>
4612
dc9924b8 4613 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4614
d9a8eb66
EZ
46152012-03-17 Eli Zaretskii <eliz@gnu.org>
4616
4617 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4618 (ispell-choices-win-default-height, ispell-silently-savep)
4619 (ispell-dictionary-alist, ispell-encoding8-command)
4620 (ispell-check-version, ispell-aspell-find-dictionary)
4621 (ispell-valid-dictionary-list, ispell-words-keyword)
4622 (ispell-get-word, ispell-internal-change-dictionary)
4623 (ispell-region, ispell-skip-region-list)
4624 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4625 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4626 (ispell-message-text-end, ispell-message)
4627 (ispell-buffer-local-parsing): Doc fix.
4628
f02ff80d
J
46292012-03-13 Jambunathan K <kjambunathan@gmail.com>
4630
4631 * htmlfontify.el: Add support for code block fontification for ODT
4632 export (Bug #9914).
4633 (hfy-optimisations): Define new option
4634 `body-text-only'
4635 (hfy-fontify-buffer): Honor above setting.
4636 (hfy-begin-span, hfy-end-span): New routines factored out form
4637 `hfy-fontify-buffer'.
4638 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4639 that permit insertion of custom tags.
4640 (hfy-fontify-buffer): Use above handlers.
4641 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4642 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4643 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4644 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4645 bind a special variable `hfy-user-sheet-assoc'.
4646 (htmlfontify-string): New defun.
4647 (hfy-compile-face-map): Make sure that the last char in the
4648 buffer is correctly fontified.
4649 (hfy-face-resolve-face): Whitespace only change.
4650
9ac7a13f
EZ
46512012-03-17 Eli Zaretskii <eliz@gnu.org>
4652
4653 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4654 message more clear.
4655
e2b5bdd7
LL
46562012-03-16 Leo Liu <sdl.web@gmail.com>
4657
4658 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4659
2e492df3
AM
46602012-03-16 Alan Mackenzie <acm@muc.de>
4661
4662 Further optimise the handling of large macros.
4663
4664 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4665 limit to a call of `c-literal-limits'.
4666 (c-determine-+ve-limit): New function.
dc9924b8
SM
4667 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4668 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4669 In CASE 5B, restrict a search limit to 500.
4670 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4671
4672 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4673 Restrict macro bounds to +-500 from after-change's BEG END.
4674
50e94f0c
LL
46752012-03-16 Leo Liu <sdl.web@gmail.com>
4676
4677 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4678
6f09f6ed
AH
46792012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4680
4681 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4682 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4683
c7e73d51
GM
46842012-03-16 Glenn Morris <rgm@gnu.org>
4685
da986230
GM
4686 * view.el (view-buffer, view-buffer-other-window)
4687 (view-buffer-other-frame): Doc fixes re special mode-class.
4688
0835f01e
GM
4689 * subr.el (eval-after-load): If named feature is provided not from
4690 a file, run after-load forms. (Bug#10946)
4691
c7e73d51
GM
4692 * calendar/calendar.el (calendar-insert-at-column):
4693 Handle non-unit-width characters a bit better. (Bug#10978)
4694
3f2eafd1
CY
46952012-03-15 Chong Yidong <cyd@gnu.org>
4696
4697 * emacs-lisp/ring.el (ring-extend): New function.
4698 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4699
4700 * comint.el (comint-read-input-ring)
4701 (comint-add-to-input-history): Grow comint-input-ring lazily.
4702
103af3fe
SM
47032012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4704
663b1677
SM
4705 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4706 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4707
103af3fe
SM
4708 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4709 (imenu-add-to-menubar): Don't add a redundant index.
4710 (imenu-update-menubar): Handle a dynamically composed keymap.
4711
899cb7cb
KY
47122012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4713
4714 * mail/sendmail.el (mail-encode-header):
4715 Bind rfc2047-encode-encoded-words to nil.
4716
3809f91d
GM
47172012-03-13 Glenn Morris <rgm@gnu.org>
4718
4719 * calendar/calendar.el (calendar-string-spread):
4720 Handle non-unit-width characters a bit better. (Bug#10978)
4721
9e345a01
LL
47222012-03-13 Leo Liu <sdl.web@gmail.com>
4723
4724 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4725 directory and file as argument (Bug#10822).
4726
4a07df36
KS
47272012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4728
4729 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4730 For dynamically generated code, follow $PC.
4731 (gdb-disassembly-handler-custom): Handle no function name case.
4732
4aaa9356
TL
47332012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4734
4735 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4736 * emulation/ws-mode.el (ws-query-replace):
4737 * sort.el (sort-regexp-fields):
4738 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4739
225979da
SM
47402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * dabbrev.el: Fix cycle completion order (bug#10963).
4743 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4744 (dabbrev-completion): Don't use an obarray; provide
4745 a cycle-sort-function.
4746
e2f1fdab
LL
47472012-03-12 Leo Liu <sdl.web@gmail.com>
4748
dc9924b8 4749 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4750 (kill-do-not-save-duplicates): Doc fix.
4751
b19490ed
SM
47522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * dabbrev.el: Fix cycle completion (bug#10963).
4755 Use lexical binding and wrap to 80 columns.
4756 (dabbrev-completion): Delay computing the list of completions.
4757
4b05d722
KH
47582012-03-12 Kenichi Handa <handa@m17n.org>
4759
4760 * international/quail.el (quail-insert-kbd-layout): Surround each
4761 row by LRO and PDF instead of inserting many LRMs. Pad the left
4762 and right of each non-spacing marks. Insert invisible space
4763 between lower and upper characters to prevent composition.
4764
dbbc2e69
SM
47652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * minibuffer.el (minibuffer-complete): Don't get confused when the
4768 function is run twice via different commands (bug#10958).
4769 (complete-with-action): Fix docstring.
4770
292112ed
CY
47712012-03-12 Chong Yidong <cyd@gnu.org>
4772
5d1ac394
CY
4773 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4774 (nxml-completion-at-point-function): New function.
4775 (nxml-mode): Use it.
4776 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4777
292112ed
CY
4778 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4779 Load generated autoloads file before byte compiling (Bug#10970).
4780 (package--make-autoloads-and-compile): New helper fun.
4781
4098f8f7
CS
47822012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4783
4784 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4785
8f754691
MA
47862012-03-11 Michael Albinus <michael.albinus@gmx.de>
4787
4788 * autorevert.el (auto-revert-handler): Ensure, that
4789 file-readable-p is applied only for local files or in
4790 auto-revert-tail-mode.
4791
e29ab36b
AS
47922012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4793
dbbc2e69
SM
4794 * server.el (server-eval-at): Handle non-tcp connections.
4795 Decode result string.
ad0bf5b6 4796
e29ab36b
AS
4797 * server.el (server-msg-size): New constant.
4798 (server-reply-print): New function.
4799 (server-eval-and-print): Use it.
4800 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4801 Handle -print-nonl.
4802
de5939ba
CS
48032012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4804
4805 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4806 (Bug#10987).
4807
0c93eabf
CY
48082012-03-11 Chong Yidong <cyd@gnu.org>
4809
397a688f
CY
4810 * simple.el (goto-line): Doc fix (Bug#9938).
4811
2cc775f9
CY
4812 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4813
0c93eabf
CY
4814 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4815 when finished (Bug#10963).
4816
c491fa41
MR
48172012-03-11 Martin Rudalics <rudalics@gmx.at>
4818
4819 * window.el (split-window-below): Fix bug in case where
4820 split-window-keep-point is nil (Bug#10971).
4821
300e8fa5
JL
48222012-03-11 Juri Linkov <juri@jurta.org>
4823
4824 * replace.el (replace-highlight): Set isearch-word to nil
4825 unconditionally. (Bug#10887)
4826
dbf6c5a1
EZ
48272012-03-10 Eli Zaretskii <eliz@gnu.org>
4828
4829 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4830 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4831 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4832 (mairix-widget-create-query): Add usage information about mairix
4833 search forms: negating words, searching for substrings, etc.
4834
b9e501de
JP
48352012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4836
4837 * international/fontset.el (font-encoding-alist): Add an entry for
4838 ksx1001 (Bug#5667).
4839
92795c91
RS
48402012-03-10 Richard Stallman <rms@gnu.org>
4841
1694e6c1
RS
4842 * mail/sendmail.el (mail-encode-header):
4843 Set rfc2047-encode-encoded-words.
4844
607e8555
RS
4845 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4846
de3bc99a
RS
4847 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4848 view buffer means not swapped.
4849 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4850 (rmail-write-region-annotate): Error if real text has disappeared.
4851
92795c91
RS
4852 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4853
699bd04e
CY
48542012-03-10 Chong Yidong <cyd@gnu.org>
4855
4856 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4857 * emulation/cua-base.el (cua--init-keymaps):
4858 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4859
570a1714
MR
48602012-03-10 Martin Rudalics <rudalics@gmx.at>
4861
dbbc2e69
SM
4862 * speedbar.el (speedbar-unhighlight-one-tag-line):
4863 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4864
82dcf4e4
CY
48652012-03-10 Chong Yidong <cyd@gnu.org>
4866
7a2c7ca7
CY
4867 * minibuffer.el (completion-in-region, completion-help-at-point):
4868 Give the completion field overlay a high priority (Bug#6830).
4869
82dcf4e4
CY
4870 * dired.el (dired-goto-file): Recognize absolute file name
4871 listings (Bug#7126).
4872 (dired-goto-file-1): New helper function.
4873 (dired-toggle-read-only): Inhibit warnings.
4874
052e28ac
MA
48752012-03-09 Michael Albinus <michael.albinus@gmx.de>
4876
75f1671a 4877 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4878 there are no properties.
4879
95d5e396
LL
48802012-03-09 Leo Liu <sdl.web@gmail.com>
4881
4882 * savehist.el (savehist-printable): Stricter check for string
4883 value (Bug#10937).
4884
3f018d6d
EZ
48852012-03-09 Eli Zaretskii <eliz@gnu.org>
4886
dbbc2e69
SM
4887 * mail/smtpmail.el (smtpmail-send-it):
4888 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4889 valid mbox format.
4890
f7fd3d79
GM
48912012-03-09 Glenn Morris <rgm@gnu.org>
4892
4893 * files.el (dir-locals-find-file):
4894 Don't check result is regular, readable.
4895 (dir-locals-read-from-file): Demote errors.
4896
6ff6e72f
EZ
48972012-03-08 Eli Zaretskii <eliz@gnu.org>
4898
dbbc2e69
SM
4899 * international/quail.el (quail-insert-kbd-layout):
4900 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4901 layout cell, to prevent their reordering by bidi display engine.
4902 For details, see the discussion in
4903 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4904
9cec7834
AM
49052012-03-08 Alan Mackenzie <acm@muc.de>
4906
4907 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4908 the starting position; make it extend the marked region when
4909 invoked repeatedly - all under appropriate circumstances.
4910 Fixes bugs #5525, #10906.
4911
9a40b8d4
GM
49122012-03-08 Glenn Morris <rgm@gnu.org>
4913
4914 * files.el (locate-dominating-file, dir-locals-find-file):
4915 Undo 2012-03-06 change.
4916
7a08ed35
EZ
49172012-03-07 Eli Zaretskii <eliz@gnu.org>
4918
dbbc2e69
SM
4919 * international/quail.el (quail-help):
4920 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4921 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4922 for the reason.
4923
5aca4f71 49242012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4925
4926 Avoid superfluous registering of signals. (Bug#10807)
4927
4928 * notifications.el (notifications-on-action-object)
4929 (notifications-on-close-object): New defvars.
4930 (notifications-on-action-signal, notifications-on-closed-signal):
4931 Unregister the signal if not needed any longer.
4932 (notifications-notify): Register `notifications-action-signal' or
4933 `notifications-closed-signal', if :on-action or :on-close has been
4934 passed as argument.
4935
78e8b10a
CY
49362012-03-07 Chong Yidong <cyd@gnu.org>
4937
4938 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4939 non-X platforms.
4940
69481eb8
GM
49412012-03-06 Glenn Morris <rgm@gnu.org>
4942
4943 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4944 (x-disown-selection-internal, x-get-selection-internal):
4945 Doc fix (add arglist signatures). (Bug#10783)
4946
133b8e11
KS
49472012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4948
4949 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4950 Handle breakpoints with no "type".
4951
99a83064
GM
49522012-03-06 Glenn Morris <rgm@gnu.org>
4953
4954 * files.el (locate-dominating-file): Add optional predicate argument.
4955 (dir-locals-find-file): Make use of above change.
4956
17798e78
TTN
49572012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4958
4959 * info.el (Info-insert-dir): Also try "dir.gz".
4960
eb182446
GM
49612012-03-06 Glenn Morris <rgm@gnu.org>
4962
8f2114ee
GM
4963 * files.el (dir-locals-find-file):
4964 Ignore non-readable or non-regular files. (Bug#10928)
4965
eb182446
GM
4966 * files.el (locate-dominating-file): Doc fix.
4967
24679323
AS
49682012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4969
4970 * calendar/calendar.el (calendar-set-mode-line):
4971 `getenv' returns a string. (Bug#10951)
4972
01d972a9
LL
49732012-03-05 Leo Liu <sdl.web@gmail.com>
4974
109aa8a9
LL
4975 * simple.el (backward-delete-char-untabify): Constrain point to
4976 field (Bug#10939).
4977
01d972a9
LL
4978 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4979
10607bea
CY
49802012-03-05 Chong Yidong <cyd@gnu.org>
4981
4982 * simple.el (count-words): If called from Lisp, return the word
4983 count, for symmetry with `count-lines'. Arglist changed.
4984 (count-words--message): Args changed. Consolidate counting code
4985 from count-words and count-words-region.
4986 (count-words-region): Caller changed.
4987 (count-lines-region): Make it an obsolete alias.
4988
5dd11cfe
TH
49892012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4990
4991 * saveplace.el (save-place-to-alist)
4992 (save-place-ignore-files-regexp): Allow value nil to disable this
4993 feature.
4994
c349f4e6
CY
49952012-03-04 Chong Yidong <cyd@gnu.org>
4996
4997 * faces.el (face-spec-reset-face): For the default face, reset the
4998 attributes to default values (Bug#10748).
4999
e627be4c
LMI
50002012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5001
5002 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5003 previous patch: Check `message-send-mail-function', and not the
5004 default function (bug#10897).
5005
ebeabff4
MA
50062012-03-04 Michael Albinus <michael.albinus@gmx.de>
5007
a41a6cf4
MA
5008 * notifications.el (notifications-on-action-signal)
5009 (notifications-on-closed-signal): Check for unique service name of
5010 incoming event. Fix error in removing entry.
ebeabff4 5011 (top): Register for signals with wildcard service name.
a41a6cf4 5012 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5013
c1ca42b4
CY
50142012-03-04 Chong Yidong <cyd@gnu.org>
5015
dc9924b8 5016 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5017
ea16568d
GM
50182012-03-04 Glenn Morris <rgm@gnu.org>
5019
5020 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5021 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5022 (expand-abbrev, define-abbrev-table): Doc fixes.
5023
fbae4637
LMI
50242012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025
5026 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5027 `message-default-send-mail-function' and not `send-mail-function'
5028 when doing the prompting for `sendmail-query-once' before sending
5029 in Message buffers (bug#10897).
5030
a1e7225c
LMI
5031 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5032 This is inconsistent with all the other stream functions, which leave
5033 the setting up to the higher levels (if so wanted) (bug#10931).
5034
56d093a9
AM
50352012-03-02 Alan Mackenzie <acm@muc.de>
5036
5037 Depessimize the handling of very large macros.
5038
5039 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5040 (c-macro-cache-syntactic): New variables to implement a one
5041 element macro cache.
5042 (c-invalidate-macro-cache): New function.
5043 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5044 Adapt to use the new cache.
5045 (c-state-safe-place): Use better the cache of safe positions.
5046 (c-state-semi-nonlit-pos-cache)
5047 (c-state-semi-nonlit-pos-cache-limit):
5048 New variables for...
5049 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5050 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5051 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5052 Use c-state-semi-safe-place.
56d093a9 5053
dbbc2e69
SM
5054 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5055 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5056
817e5c3d
MA
50572012-03-02 Michael Albinus <michael.albinus@gmx.de>
5058
dbbc2e69
SM
5059 * jka-compr.el (jka-compr-call-process):
5060 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5061 not remote.
5062
a032a702
MA
50632012-03-01 Michael Albinus <michael.albinus@gmx.de>
5064
5065 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5066 access of FILE2, if FILE1 does not exist.
5067
99a54f21
MA
5068 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5069 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5070
5071 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5072 Add "PAGER=" to `process-environment'.
5073
f6561e1f
MM
50742012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5075
5076 * progmodes/sql.el: Bug fix
5077 (sql-get-login-ext): Save login values in globals.
5078 (sql-get-login): Use new version of `sql-get-login-ext'.
5079 (sql-interactive-mode): Set global `sql-connection' to nil.
5080 (sql-connect): Set global values for connection.
5081 (sql-product-interactive): Save global values as buffer local.
5082
2d44d9cc
LL
50832012-02-29 Leo Liu <sdl.web@gmail.com>
5084
5085 * abbrev.el (define-abbrevs): Reset sys to nil.
5086
96b49301 50872012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5088
bf7f9bc5
JB
5089 * files.el (file-equal-p): Rename from `files-equal-p'.
5090 Return nil when one or both files don't exist.
96b49301 5091 (file-subdir-of-p): Now only top directory must exists,
5092 return nil if it doesn't.
bf7f9bc5
JB
5093 (copy-directory): No need to test with `file-subdir-of-p' after
5094 creating dir.
5095 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5096 to `file-equal-p'.
96b49301 5097
44e97401
GM
50982012-02-28 Glenn Morris <rgm@gnu.org>
5099
5100 * shell.el (shell-mode):
5101 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5102 * play/landmark.el (landmark-font-lock-face-O):
5103 * play/handwrite.el (handwrite):
5104 * play/gomoku.el (gomoku-O):
5105 * net/browse-url.el (browse-url-browser-display):
5106 * international/mule.el (define-charset):
5107 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5108 * filesets.el (filesets-find-file-delay):
5109 * eshell/em-xtra.el (eshell-xtra):
5110 * eshell/em-unix.el (eshell-grep):
5111 * emulation/viper.el (viper-mode):
5112 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5113 * emacs-lisp/easymenu.el (easy-menu-define):
5114 * calendar/timeclock.el (timeclock-use-display-time):
5115 * bs.el (bs-mode):
5116 * bookmark.el (bookmark-save-flag):
5117 Doc fix (standardize possessive apostrophe usage).
5118
c98c6276
CY
51192012-02-27 Chong Yidong <cyd@gnu.org>
5120
bf7f9bc5
JB
5121 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5122 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5123
c98c6276
CY
5124 * font-lock.el (font-lock-specified-p): Rename from
5125 font-lock-spec-present. Callers changed.
5126
9c62cd04 51272012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5128
bf7f9bc5
JB
5129 * emacs-lisp/package.el (package-compute-transaction):
5130 Handle holding a package version to t in package-load-list.
8ac9e529 5131
530739c9
MA
51322012-02-26 Michael Albinus <michael.albinus@gmx.de>
5133
5134 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5135 (tramp-get-inode, tramp-get-device): Use cached values.
5136
487915d7
AM
51372012-02-26 Alan Mackenzie <acm@muc.de>
5138
5139 Check there is a font-lock specification before doing initial
5140 fontification.
5141
5142 * font-core.el (font-lock-mode): Move the conditional from
5143 :after-hook to font-lock-initial-fontify.
5144 (font-lock-default-function): Move the check for a specification
5145 to font-lock-spec-present.
5146
dc9924b8 5147 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5148 (font-lock-spec-present): New function.
5149
4fd96557
JB
51502012-02-26 Jim Blandy <jimb@red-bean.com>
5151
5152 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5153 (gdb-send): Apply it to the operand of the '-interpreter-exec
5154 console' command, so that we can pass arguments with (say) quotes
5155 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5156
9a4888c0
CY
51572012-02-26 Chong Yidong <cyd@gnu.org>
5158
07498861
CY
5159 * help-fns.el (describe-function-1): Clarify description of
5160 remapping (Bug#10844).
5161
9a4888c0
CY
5162 * files.el (files-equal-p): Doc fix.
5163 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5164 and quit the loop once a mismatch is found.
5165
ea8fb88d
JB
51662012-02-25 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * bs.el (bs--show-with-configuration): Don't throw an error
5169 if the window cannot be split; otherwise, subsequent calls to
5170 bs-show fail, restoring a stale window config. (Bug#10882)
5171
525795c1
JD
51722012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5173
5174 * term/ns-win.el (global-map): Bind ns-drag-file to
5175 ns-find-file (Bug#5855, Bug#10050).
5176
f008086f
AS
51772012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5178
5179 * calendar/parse-time.el (parse-time-string): Allow extractor to
5180 return nil.
5181
a3fcfa99
MA
51822012-02-25 Michael Albinus <michael.albinus@gmx.de>
5183
91027d08
JB
5184 * net/tramp.el (tramp-file-name-for-operation):
5185 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5186
5187 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5188 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5189 Add COPY-CONTENTS argument.
a3fcfa99 5190
67b0de11
CY
51912012-02-25 Chong Yidong <cyd@gnu.org>
5192
5193 Add custom groups for VC backends, for consistency with vc-bzr.
5194
5195 * vc/vc-arch.el (vc-arch):
5196 * vc/vc-cvs.el (vc-cvs):
5197 * vc/vc-git.el (vc-git):
5198 * vc/vc-hg.el (vc-hg):
5199 * vc/vc-mtn.el (vc-mtn):
5200 * vc/vc-rcs.el (vc-rcs):
5201 * vc/vc-sccs.el (vc-sccs):
5202 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5203 All relevant defcustoms reassigned.
5204
3c9dfce6
CY
52052012-02-25 Chong Yidong <cyd@gnu.org>
5206
1339bf43
CY
5207 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5208
3c9dfce6
CY
5209 * term/x-win.el (x-initialize-window-system): Reduce default for
5210 x-selection-timeout to 5 seconds (Bug#8869).
5211
25b2e303 52122012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5213
ec70a47d
GM
5214 * files.el (files-equal-p, file-subdir-of-p): New functions.
5215 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5216 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5217 * dired-aux.el (dired-copy-file-recursive): Same.
5218 (dired-create-files): Modify destination when source is equal to
5219 dest when copying files.
53a46cd0 5220 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5221
914260cd
MA
52222012-02-24 Michael Albinus <michael.albinus@gmx.de>
5223
5224 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5225 (Bug#10874)
5226
2cb228f7
AM
52272012-02-23 Alan Mackenzie <acm@muc.de>
5228
5229 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5230 parameter "after-hook:" to allow the expansion to run code after
5231 the execution of the mode hooks.
5232
5233 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5234 from font-lock-mode-internal.
2cb228f7 5235
91027d08 5236 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5237 :after-hook.
5238
8f0fde21
SM
52392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5240
3e88618b
SM
5241 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5242 (completion--cache-all-sorted-completions): New function.
5243 (completion-all-sorted-completions): Use it.
5244 (completion--do-completion, minibuffer-force-complete):
5245 Use it to re-instate the flush hook.
5246
8f0fde21
SM
5247 * icomplete.el (icomplete-completions): Replace last fix with a better
5248 one (bug#10850).
5249
8e911f6f
DG
52502012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5251
5252 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5253 when it might call us back infinitely (bug#10797).
5254
49fe4321
GM
52552012-02-23 Glenn Morris <rgm@gnu.org>
5256
5257 * minibuffer.el (completion-category-overrides): Doc fix.
5258
b291b572
SM
52592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5262 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5263
31a9ef2e
GM
52642012-02-23 Glenn Morris <rgm@gnu.org>
5265
5e6e6794 5266 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5267 (authors-obsolete-files-regexps, authors-ignored-files)
5268 (authors-ambiguous-files, authors-renamed-files-alist):
5269 Add more entries.
5270
0bd1e074
JL
52712012-02-23 Juri Linkov <juri@jurta.org>
5272
5273 * isearch.el (isearch-occur): Sync interactive spec with occur's
5274 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5275
b617673c
JL
5276 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5277
19e9789e
JL
52782012-02-22 Juri Linkov <juri@jurta.org>
5279
5280 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5281 (ucs-insert): Doc fix. Check for hex digits in the string.
5282 Don't display `nil' in the error message. (Bug#10857)
5283
f41ce09d
AM
52842012-02-22 Alan Mackenzie <acm@muc.de>
5285
7a71b18d 5286 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5287
ac2eceee
GM
52882012-02-22 Glenn Morris <rgm@gnu.org>
5289
5290 * ffap.el (ffap-c-path):
5291 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5292
abd1f678
CY
52932012-02-22 Chong Yidong <cyd@gnu.org>
5294
5295 * custom.el (load-theme): Doc fix.
5296
f25aef2e
GM
52972012-02-22 Glenn Morris <rgm@gnu.org>
5298
5299 * dired-x.el (dired-guess-shell-alist-default):
5300 Remove escape sequences from nroff output. (Bug#172)
5301
5f8dc2ca
GM
53022012-02-21 Glenn Morris <rgm@gnu.org>
5303
6ff86ec4
GM
5304 * vc/emerge.el (emerge-defvar-local):
5305 Set `permanent-local' property rather than unused `preserved'.
5306
be3223a3 5307 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5308 (picture-mode-map): Use it. (Bug#10860)
5309 (picture-mode): Doc fix.
5310
3fe58f4f
JB
53112012-02-21 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * newcomment.el (uncomment-region-default): Remove unused binding.
5314
f9a998c3
GM
53152012-02-21 Glenn Morris <rgm@gnu.org>
5316
5317 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5318 (picture-self-insert, picture-tab-chars): Doc fix.
5319 (picture-mode-map): Fix C-a, C-e.
5320
c6029348
GM
53212012-02-20 Glenn Morris <rgm@gnu.org>
5322
5323 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5324
ab1ce9d7
LL
53252012-02-20 Leo Liu <sdl.web@gmail.com>
5326
5327 * icomplete.el (icomplete-completions): Check FROM arg before
5328 passing to substring (Bug#10850).
5329
0fd40f89
CY
53302012-02-19 Chong Yidong <cyd@gnu.org>
5331
5332 * comint.el: Require ansi-color.
5333 (comint-output-filter-functions): Add ansi-color-process-output.
5334
5335 * ansi-color.el: Don't set comint-output-filter-functions; it is
5336 now in the initial value defined in comint.el.
5337 (ansi-color-apply-face-function): New variable.
5338 (ansi-color-apply-on-region): Use it.
5339 (ansi-color-apply-overlay-face): New function.
5340
5341 * shell.el (shell): No need to require ansi-color.
5342 (shell-mode): Use ansi-color-apply-face-function to highlight
5343 color escapes using font-lock-face property (Bug#10835).
5344
20af2394
CY
53452012-02-19 Chong Yidong <cyd@gnu.org>
5346
5347 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5348 mode-line formats (Bug#10839).
5349
e23a3fbe
GM
53502012-02-18 Glenn Morris <rgm@gnu.org>
5351
b474519e
GM
5352 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5353
5354 * mail/undigest.el (unforward-rmail-message): Doc fix.
5355
e23a3fbe
GM
5356 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5357
57939ff4
EZ
53582012-02-18 Eli Zaretskii <eliz@gnu.org>
5359
5360 * international/characters.el (script-list): Sync with the latest
5361 Unicode Character Database.
5362
0c23686e
AS
53632012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5364
5365 * international/titdic-cnv.el: Remove duplicate coding tag.
5366 * language/cham.el: Likewise.
5367 * language/tai-viet.el: Likewise.
5368
6818b449
GM
53692012-02-18 Glenn Morris <rgm@gnu.org>
5370
5371 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5372 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5373 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5374 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5375 * calendar/holidays.el (holiday-bahai-holidays)
5376 (calendar-holidays, list-holidays):
5377 Use utf-8 Bahá'í in doc-strings, menus, etc.
5378
0311a3fc
TH
53792012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5380
5381 * saveplace.el (save-place-ignore-files-regexp): New variable
5382 allowing for excluding files from saving their location of point.
5383 The default value matches the temporary commit message editing
5384 files from Git, SVN, Bazaar, and Mercurial.
5385 (save-place-to-alist): Use it.
5386
d209e2fb 53872012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5388 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * newcomment.el (uncomment-region-default): Don't leave extra space
5391 when an arg is provided (bug#8150).
5392
ee0ce425
TZ
53932012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5394
eb864a71 5395 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5396
95ddf442
GM
53972012-02-17 Glenn Morris <rgm@gnu.org>
5398
5399 * net/socks.el: Require network-stream. (Bug#10599)
5400
48dd1e39 54012012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5402
5403 * international/charprop.el:
5404 * international/uni-name.el:
5405 * international/uni-old-name.el:
5406 * international/uni-comment.el: Regenerate.
5407
d68cd087
GM
54082012-02-16 Glenn Morris <rgm@gnu.org>
5409
5410 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5411 Interactively in calendar buffer, give an error if not on a date.
5412
13932042
GM
54132012-02-15 Glenn Morris <rgm@gnu.org>
5414
5415 * shell.el (shell-delimiter-argument-list):
5416 Revert 2011-02-17 change. (Bug#8027)
5417
c3a70e2b
CY
54182012-02-15 Chong Yidong <cyd@gnu.org>
5419
60236b0d
CY
5420 * minibuffer.el (completion-at-point-functions): Doc fix.
5421
c3a70e2b
CY
5422 * custom.el (defcustom): Doc fix; note use of defvar.
5423
9f26dc24
GM
54242012-02-15 Glenn Morris <rgm@gnu.org>
5425
5426 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5427 Doc fixes.
5428
6546b134
GM
54292012-02-14 Glenn Morris <rgm@gnu.org>
5430
5431 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5432
d29b2b4c
LI
54332012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5434
5435 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5436 way the ports list is computed.
835bdcba
LI
5437 (smtpmail-query-smtp-server): Prompt the user for a port number if
5438 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5439
08dcdbc9
TZ
54402012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5441
5442 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5443
2605051a
GM
54442012-02-13 Glenn Morris <rgm@gnu.org>
5445
5446 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5447
7ee99f32
TZ
54482012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5449
5450 * net/gnutls.el (gnutls-trustfiles): New variable.
5451 (gnutls-negotiate): Use it.
5452
5f0af64f
LI
54532012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5454
5455 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5456 does its stuff if Gnus is running.
5457
c14fcc95
AM
54582012-02-13 Alan Mackenzie <acm@muc.de>
5459
5460 Fix a loop in c-set-fl-decl-start.
5461
7a71b18d 5462 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5463 c-backward-syntactic-ws actually moves backwards.
5464
142b4d90
LL
54652012-02-13 Leo Liu <sdl.web@gmail.com>
5466
5467 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5468 beginning so that all \C-o chars are removed.
5469
fa9958a6
TZ
54702012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5471
dc9924b8 5472 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5473
0bc5886a
AM
54742012-02-12 Alan Mackenzie <acm@muc.de>
5475
5476 Fix infinite loop with long macros.
4d6769e1 5477 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5478
d4bd55e7
CY
54792012-02-12 Chong Yidong <cyd@gnu.org>
5480
5481 * window.el (display-buffer): Doc fix (Bug#10785).
5482
66f3fe22
GM
54832012-02-12 Glenn Morris <rgm@gnu.org>
5484
bd7da63e
GM
5485 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5486 (x-disown-selection-internal, x-get-selection-internal):
5487 Sync docs with the xselect.c versions.
5488
66f3fe22
GM
5489 * allout-widgets.el: Add missing license notice.
5490
3e0d2fa7
GM
54912012-02-11 Glenn Morris <rgm@gnu.org>
5492
cfecdf09
GM
5493 * select.el (x-get-selection-internal, x-own-selection-internal)
5494 (x-disown-selection-internal):
5495 * x-dnd.el (x-get-selection-internal): Update declarations.
5496
6d216d7f
GM
5497 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5498
2bed3f04
GM
5499 * window.el (window-sides-slots):
5500 * tool-bar.el (tool-bar-position):
5501 * term/xterm.el (xterm-extra-capabilities):
5502 * ses.el (ses-self-reference-early-detection):
5503 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5504 (verilog-auto-wire-type)
5505 (verilog-auto-delete-trailing-whitespace)
5506 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5507 (verilog-auto-tieoff-declaration):
5508 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5509 (sql-oracle-statement-starters, sql-oracle-scan-on):
5510 * progmodes/prolog.el (prolog-align-comments-flag)
5511 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5512 (prolog-left-indent-regexp, prolog-paren-indent-p)
5513 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5514 (prolog-types, prolog-mode-specificators)
5515 (prolog-determinism-specificators, prolog-directives)
5516 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5517 (prolog-electric-dot-flag)
5518 (prolog-electric-dot-full-predicate-template)
5519 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5520 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5521 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5522 (prolog-program-switches, prolog-prompt-regexp)
5523 (prolog-debug-on-string, prolog-debug-off-string)
5524 (prolog-trace-on-string, prolog-trace-off-string)
5525 (prolog-zip-on-string, prolog-zip-off-string)
5526 (prolog-use-standard-consult-compile-method-flag)
5527 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5528 (prolog-imenu-max-lines, prolog-info-predicate-index)
5529 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5530 (prolog-char-quote-workaround):
5531 * progmodes/cc-vars.el (c-defun-tactic):
5532 * net/tramp.el (tramp-encoding-command-interactive)
5533 (tramp-local-end-of-line):
5534 * net/soap-client.el (soap-client):
5535 * net/netrc.el (netrc-file):
5536 * net/gnutls.el (gnutls):
5537 * minibuffer.el (completion-category-overrides)
5538 (completion-cycle-threshold)
5539 (completion-pcm-complete-word-inserts-delimiters):
5540 * man.el (Man-name-local-regexp):
5541 * mail/feedmail.el (feedmail-display-full-frame):
5542 * international/characters.el (glyphless-char-display-control):
5543 * eshell/em-ls.el (eshell-ls-date-format):
5544 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5545 (lisp-lambda-list-keyword-parameter-indentation)
5546 (lisp-lambda-list-keyword-parameter-alignment):
5547 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5548 * dired-x.el (dired-omit-verbose):
5549 * cus-theme.el (custom-theme-allow-multiple-selections):
5550 * calc/calc.el (calc-highlight-selections-with-faces)
5551 (calc-lu-field-reference, calc-lu-power-reference)
5552 (calc-note-threshold):
5553 * battery.el (battery-mode-line-limit):
5554 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5555 (archive-7z-update):
5556 * allout.el (allout-prefixed-keybindings)
5557 (allout-unprefixed-keybindings)
5558 (allout-inhibit-auto-fill-on-headline)
5559 (allout-flattened-numbering-abbreviation):
5560 * allout-widgets.el (allout-widgets-auto-activation)
5561 (allout-widgets-icons-dark-subdir)
5562 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5563 (allout-widgets-theme-dark-background)
5564 (allout-widgets-theme-light-background)
5565 (allout-widgets-item-image-properties-emacs)
5566 (allout-widgets-item-image-properties-xemacs)
5567 (allout-widgets-run-unit-tests-on-load)
5568 (allout-widgets-time-decoration-activity)
5569 (allout-widgets-hook-error-post-time)
5570 (allout-widgets-track-decoration):
5571 Add missing :version tags to new defcustoms and defgroups.
5572
5fec1b8e
GM
5573 * progmodes/sql.el (sql-ansi-statement-starters)
5574 (sql-oracle-statement-starters): Add custom type.
5575
3e0d2fa7
GM
5576 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5577 (prolog-system-version): Give it a type.
5578
90b671e2
EZ
55792012-02-11 Eli Zaretskii <eliz@gnu.org>
5580
5581 * term/pc-win.el (x-select-text, x-selection-owner-p)
5582 (x-own-selection-internal, x-disown-selection-internal)
5583 (x-get-selection-internal): Sync doc strings and argument lists
5584 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5585
5eac0c02
LL
55862012-02-11 Leo Liu <sdl.web@gmail.com>
5587
5588 * progmodes/python.el (python-end-of-statement): Fix infinite
5589 loop. (Bug#10788)
5590
f82cb659
GM
55912012-02-10 Glenn Morris <rgm@gnu.org>
5592
5593 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5594 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5595
cc26d239
LI
55962012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5597
5598 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5599 about SMTP before checking the From header.
5600
91027d08 5601 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5602 into own function for reuse by emacsbug.el.
5603
1be3ca5a
LL
56042012-02-10 Leo Liu <sdl.web@gmail.com>
5605
5606 * subr.el (condition-case-unless-debug): Rename from
5607 condition-case-no-debug. All callers changed.
5608 (with-demoted-errors): Fix caller.
5609
5610 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5611 * nxml/rng-valid.el (rng-do-some-validation):
5612 * emacs-lisp/package.el (package-refresh-contents)
5613 (package-menu-execute):
5614 * desktop.el (desktop-create-buffer):
91027d08 5615 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5616
b011fbfe
GM
56172012-02-10 Glenn Morris <rgm@gnu.org>
5618
b2096d72
GM
5619 * textmodes/bibtex.el:
5620 Add missing :version tags for new/changed defcustoms.
5621
b011fbfe
GM
5622 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5623
4c7e65bf
LI
56242012-02-09 Lars Ingebrigtsen <larsi@rusty>
5625
5626 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5627 (smtpmail-via-smtp): Use it, or fall back on the From address.
5628 (smtpmail-send-it): Ditto.
5629
f3934f6f
SM
56302012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5633 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5634 (byte-compile-tmp-var): New const.
5635 (byte-compile-defvar): Use it to minimize .elc size.
5636 Just use `defvar' rather than simulate it (bug#10761).
5637
a075a2c5
GM
56382012-02-09 Glenn Morris <rgm@gnu.org>
5639
cf3aa21b
GM
5640 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5641
354998cd
GM
5642 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5643 Add :version tags.
5644
dc9924b8
SM
5645 * progmodes/compile.el (compilation-error-screen-columns)
5646 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5647
dab3703d
GM
5648 * vc/log-view.el (log-view-toggle-entry-display):
5649 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5650
3f88cd72
GM
5651 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5652 (report-emacs-bug-can-use-xdg-email):
5653 (report-emacs-bug-insert-to-mailer): Doc fixes.
5654 (report-emacs-bug): Message fix.
5655
d95b247d
GM
5656 * net/browse-url.el (browse-url-can-use-xdg-open)
5657 (browse-url-xdg-open): Doc fixes.
5658
a075a2c5
GM
5659 * electric.el (electric-indent-mode, electric-pair-mode)
5660 (electric-layout-rules, electric-layout-mode): Doc fixes.
5661 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5662
ffb6157e
MR
56632012-02-08 Martin Rudalics <rudalics@gmx.at>
5664
5665 * server.el (server-unselect-display): Don't inadvertently kill
5666 the current buffer. (Bug#10729)
5667
e1ac4066
GM
56682012-02-08 Glenn Morris <rgm@gnu.org>
5669
34e8a2da
GM
5670 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5671 (sql-list-table): Doc fixes.
5672
b4ac6e8c
GM
5673 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5674 Comment out (does nothing).
5675
e1ac4066
GM
5676 * completion.el (dynamic-completion-mode):
5677 * dirtrack.el (dirtrack-debug-mode):
5678 * electric.el (electric-layout-mode):
5679 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5680 * face-remap.el (text-scale-mode, buffer-face-mode):
5681 * iimage.el (iimage-mode):
5682 * image-mode.el (image-transform-mode):
5683 * minibuffer.el (completion-in-region-mode):
5684 * scroll-lock.el (scroll-lock-mode):
5685 * simple.el (next-error-follow-minor-mode):
5686 * tar-mode.el (tar-subfile-mode):
5687 * tooltip.el (tooltip-mode):
5688 * vcursor.el (vcursor-use-vcursor-map):
5689 * wid-browse.el (widget-minor-mode):
5690 * emulation/tpu-edt.el (tpu-edt-mode):
5691 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5692 * international/iso-ascii.el (iso-ascii-mode):
5693 * language/thai-util.el (thai-word-mode):
5694 * mail/supercite.el (sc-minor-mode):
5695 * net/goto-addr.el (goto-address-mode):
5696 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5697 * progmodes/cwarn.el (cwarn-mode):
5698 * progmodes/flymake.el (flymake-mode):
5699 * progmodes/glasses.el (glasses-mode):
5700 * progmodes/hideshow.el (hs-minor-mode):
5701 * progmodes/pascal.el (pascal-outline-mode):
5702 * textmodes/enriched.el (enriched-mode):
5703 * vc/smerge-mode.el (smerge-mode):
5704 Doc fixes (minor mode argument).
5705
5e0d957f
EZ
57062012-02-07 Eli Zaretskii <eliz@gnu.org>
5707
5708 * ls-lisp.el (ls-lisp-sanitize): New function.
5709 (ls-lisp-insert-directory): Use it to fix or remove any elements
5710 in file-alist with missing attributes. (Bug#4673)
5711
98d7371e
AM
57122012-02-07 Alan Mackenzie <acm@muc.de>
5713
5714 Fix spurious recognition of c-in-knr-argdecl.
5715
5716 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5717 putative K&R region.
5718
667ced3a
AM
57192012-02-07 Alan Mackenzie <acm@muc.de>
5720
eb864a71
LM
5721 * progmodes/cc-engine.el (c-forward-objc-directive):
5722 Prevent looping in "#pragma mark @implementation".
667ced3a 5723
5b77774d
MA
57242012-02-07 Michael Albinus <michael.albinus@gmx.de>
5725
5726 * notifications.el (notifications-on-closed-signal): Make `reason'
5727 optional. (Bug#10744)
5728
af008560
GM
57292012-02-07 Glenn Morris <rgm@gnu.org>
5730
60d47423
GM
5731 * emacs-lisp/easy-mmode.el (define-minor-mode):
5732 Doc fixes for the macro and the mode it defines.
5733
dd605cc4
GM
5734 * image.el (imagemagick-types-inhibit): Doc fix.
5735
af008560
GM
5736 * cus-start.el (imagemagick-render-type): Add it.
5737
5cc59a37
LI
57382012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5739
4d6769e1
JB
5740 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5741 Set the default at load time, too, so that `font-lock-fontify-buffer'
5742 can be called without setting up the entire mode first. This fixes
5743 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5744
9a6dd747
CY
57452012-02-06 Chong Yidong <cyd@gnu.org>
5746
2d16b285
CY
5747 * simple.el (list-processes--refresh): Delete exited processes
5748 (Bug#8094).
5749
171e9b6e
CY
5750 * comint.el (comint-next-prompt): next-single-char-property-change
5751 and prev-single-char-property-change never return nil (Bug#8657).
5752
9a6dd747
CY
5753 * custom.el (defcustom): Doc fix (Bug#9711).
5754
aa4589a7
CY
57552012-02-05 Chong Yidong <cyd@gnu.org>
5756
5c2a252f
CY
5757 * cus-edit.el (custom-variable-reset-backup): Quote the value
5758 before storing it in the customized-value property (Bug#6712).
4aab9006 5759 (custom-display): Add a customization type tag.
983b9602 5760 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5761
aa4589a7
CY
5762 * wid-edit.el (widget-field-value-get): New optional arg to
5763 suppress trailing whitespace truncation.
5764 (character): Use it (Bug#2689).
5765
1ff980ae
AS
57662012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5767
5768 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5769 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5770
03988c98
CY
57712012-02-05 Chong Yidong <cyd@gnu.org>
5772
eeb6cc88
CY
5773 * cus-edit.el (custom-variable-value-create): For mismatched
5774 types, show the current value (Bug#7600).
5775
03988c98
CY
5776 * custom.el (defcustom): Doc fix.
5777
f8cdeef0
GM
57782012-02-05 Glenn Morris <rgm@gnu.org>
5779
5780 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5781
0696d255
JB
57822012-02-05 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5785 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5786 (pp-last-sexp): Use `looking-at-p'.
5787
34c99998
GM
57882012-02-04 Glenn Morris <rgm@gnu.org>
5789
8f05da42
GM
5790 * files.el (revert-buffer):
5791 Doc fix (mention revert-buffer-in-progress-p).
5792
f160676e
GM
5793 * emacs-lisp/ert-x.el (ert-simulate-command):
5794 Check deferred-action-list (which is obsolete) is bound.
5795
c7291ad9
GM
5796 * subr.el (with-wrapper-hook): Doc fixes.
5797
34c99998
GM
5798 * simple.el (filter-buffer-substring-functions)
5799 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5800
6283a7d3
LL
58012012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5802
5803 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5804 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5805
e96e3013
LL
58062012-02-04 Leo Liu <sdl.web@gmail.com>
5807
5808 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5809
8ded50f2
GM
58102012-02-04 Glenn Morris <rgm@gnu.org>
5811
82ff1d13
GM
5812 * image.el (image-extension-data): Add obsolete alias.
5813
987a0a16
GM
5814 * isearch.el (isearch-update): Doc fix.
5815
ea32ef46
GM
5816 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5817
8ded50f2
GM
5818 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5819
eea14f31
GM
58202012-02-03 Glenn Morris <rgm@gnu.org>
5821
5822 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5823 (image-animate-timeout): Doc fix.
5824
5825 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5826
12f381b7
GM
58272012-02-02 Glenn Morris <rgm@gnu.org>
5828
953cebf5
GM
5829 * server.el (server-auth-dir): Doc fix.
5830 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5831
12f381b7
GM
5832 * subr.el (run-mode-hooks): Doc fix.
5833
953a8c3b
JL
58342012-02-02 Juri Linkov <juri@jurta.org>
5835
5836 * image-mode.el (image-toggle-display-image): Remove tautological
5837 `major-mode' from the `derived-mode-p' test.
5838
c5d3843c
KH
58392012-02-02 Kenichi Handa <handa@m17n.org>
5840
9f6e692e 5841 * composite.el (compose-region): Cancel previous change.
c5d3843c 5842
159462d4 58432012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5844
5845 * composite.el (compose-region, compose-string): Signal error for
5846 a null string component (Bug#6988).
5847
9f562668
CY
58482012-02-01 Chong Yidong <cyd@gnu.org>
5849
e2cef717
CY
5850 * view.el (view-buffer-other-window, view-buffer-other-frame):
5851 Handle special modes like view-buffer (Bug#10650).
5852 (view-buffer): Simplify.
5853
9f562668
CY
5854 * frame.el (set-frame-font): Tweak meaning of third argument.
5855
9f6e692e
JB
5856 * dynamic-setting.el (font-setting-change-default-font):
5857 Use set-frame-font (Bug#9982).
9f562668 5858
781acb9f
GM
58592012-02-01 Glenn Morris <rgm@gnu.org>
5860
6035be52
GM
5861 * progmodes/compile.el (compilation-internal-error-properties):
5862 Respect compilation-first-column in the "*compilation*" buffer.
5863
781acb9f
GM
5864 * emacs-lisp/easy-mmode.el (define-minor-mode):
5865 Relax :variable's test for a named function.
5866
abbceb00
AM
58672012-01-31 Alan Mackenzie <acm@muc.de>
5868
5869 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5870 off by one error.
5871
fce3fdeb
CY
58722012-01-31 Chong Yidong <cyd@gnu.org>
5873
5874 * frame.el (set-frame-font): New arg ALL-FRAMES.
5875
5876 * menu-bar.el (menu-set-font): Use set-frame-font.
5877
5878 * faces.el (face-spec-reset-face): Don't apply unspecified
5879 attribute values to the default face.
5880
47893581
JB
58812012-01-31 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * progmodes/cwarn.el (cwarn): Remove dead link.
5884 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5885 Remove * from defcustom docstrings.
5886 (turn-on-cwarn-mode): Make obsolete.
5887 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5888 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5889
e58e988a
GM
58902012-01-31 Glenn Morris <rgm@gnu.org>
5891
60dc2671 5892 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5893 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5894 Allow named functions to be used as the cdr of :variable.
e58e988a 5895
7a3f511d
GM
58962012-01-30 Glenn Morris <rgm@gnu.org>
5897
5898 * emacs-lisp/authors.el (authors-fixed-entries):
5899 Remove reference to deleted file rnewspost.el.
5900
cb882333
JB
59012012-01-29 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * window.el (window-with-parameter): Remove unused variable `windows'.
5904 (window--side-check): Remove unused variable `code'.
5905 (window--resize-siblings): Remove unused variable `first'.
5906 (adjust-window-trailing-edge): Remove unused variable `failed'.
5907 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5908 Use `let', not `let*'.
5909 (balance-windows-2): Remove unused variable `found'.
5910 (window--state-put-2): Remove unused variable `splits'.
5911 (window-state-put): Remove unused variable `selected'.
5912 (same-window-p): Use `string-match-p'.
5913 (display-buffer-assq-regexp): Remove unused variable `value'.
5914 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5915 Mark argument ALIST as ignored.
5916 (pop-to-buffer): Remove unused variable `old-window'.
5917
907201af
EZ
59182012-01-29 Eli Zaretskii <eliz@gnu.org>
5919
5920 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5921 and .lzma compressed files.
5922
ea162670
CY
59232012-01-29 Chong Yidong <cyd@gnu.org>
5924
5b95ee8a
CY
5925 * frame.el (window-system-default-frame-alist): Doc fix.
5926
ea162670
CY
5927 * dynamic-setting.el (font-setting-change-default-font): Don't
5928 change the default face if SET-FONT argument is non-nil (Bug#9982).
5929
d6e6f4b1
SB
59302012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5931
5932 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5933
0f29fa41 59342012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5935
5936 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5937 breakpoints in files outside current directory (Bug#6098).
5938
db174434
CY
59392012-01-29 Chong Yidong <cyd@gnu.org>
5940
6b25e4e2
SE
5941 * progmodes/python.el: Require ansi-color at top-level.
5942
6df6ae42
JB
5943 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5944 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5945 (lisp-mode-abbrev-table): Add doc.
5946 (lisp-mode-variables): Don't set local-abbrev-table.
5947 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5948
e70ee681
RW
59492012-01-28 Roland Winkler <winkler@gnu.org>
5950
5951 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5952
ace88aa2
RW
59532012-01-28 Roland Winkler <winkler@gnu.org>
5954
5955 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5956 (bibtex-set-dialect): Use it. Either set global values of
5957 dialect-dependent variables or bind these variables buffer-locally
5958 (Bug#10254).
5959 (bibtex-mode): Call bibtex-set-dialect via
5960 hack-local-variables-hook.
eb864a71
LM
5961 (bibtex-dialect): Update docstring.
5962 Add safe-local-variable predicate.
ace88aa2
RW
5963 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5964 bibtex-set-dialect.
5965 (bibtex-mode-map): Define menu for each dialect.
5966 (bibtex-entry): Fix docstring.
5967
93376c5b
CY
59682012-01-28 Chong Yidong <cyd@gnu.org>
5969
5970 * eshell/esh-arg.el (eshell-quote-argument): New function.
5971
5972 * eshell/esh-ext.el (eshell-invoke-batch-file):
5973 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5974 first arg to eshell-parse-command (Bug#10523).
5975
4372494f
DA
59762012-01-28 Drew Adams <drew.adams@oracle.com>
5977
5978 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5979 `default-directory' is non-nil.
5980
4d4ec1f8
EZ
59812012-01-28 Eli Zaretskii <eliz@gnu.org>
5982
5983 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5984 line that displays system-configuration-options. (Bug#9924)
5985
7c188927
DA
59862012-01-28 Drew Adams <drew.adams@oracle.com>
5987
5988 * descr-text.el (describe-char): Show information about POS, in
5989 addition to information about the character at POS. Improve and
5990 update the doc string. Change "code point" to "code point in
5991 charset", to avoid confusion with the character's Unicode code
5992 point shown above that. (Bug#10129)
5993
e0da685a
EZ
59942012-01-28 Eli Zaretskii <eliz@gnu.org>
5995
5996 * descr-text.el (describe-char): Show the raw character, not only
5997 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5998 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5999 for the reasons.
6000
70550acf
PH
60012012-01-28 Phil Hagelberg <phil@hagelb.org>
6002
eb864a71
LM
6003 * emacs-lisp/package.el (package-install):
6004 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6005
0ce8e868
CY
60062012-01-28 Chong Yidong <cyd@gnu.org>
6007
cb882333
JB
6008 * emacs-lisp/package.el (package-maybe-load-descriptor):
6009 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6010 (package-maybe-load-descriptor): Use it.
6011 (package-download-transaction): Fully load required packages
6012 inside the loop, so that `require' calls work (Bug#10593).
6013 (package-install): No need to call package-initialize now.
6014
2e7f3bea
CY
60152012-01-28 Chong Yidong <cyd@gnu.org>
6016
6e9bad14
CY
6017 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6018
f823b8ca
CY
6019 * tooltip.el (tooltip-mode): Doc fix.
6020 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6021
2680c309
CY
6022 * frame.el (set-cursor-color): Doc fix (Bug#352).
6023
d7a9e63b
CY
6024 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6025 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6026
2e7f3bea
CY
6027 * cus-edit.el (custom-buffer-create-internal): Fix search button
6028 action (Bug#10542).
2ae01800 6029 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6030
fc4f7a23
EW
60312012-01-27 Eduard Wiebe <usenet@pusto.de>
6032
6033 * dired.el (dired-mark-files-regexp):
6034 Include any subdirectory components. (Bug#10445)
6035
7dd37071
ML
60362012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6037
6038 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6039 Handle [host]:port syntax. (Bug#10533)
6040
a268160b
AH
60412012-01-27 Alex Harsanyi <harsanyi@mac.com>
6042
6043 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6044
e43273ef
GM
60452012-01-26 Glenn Morris <rgm@gnu.org>
6046
6047 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6048 * term.el (term-raw-escape-map): Use Control-X-prefix.
6049 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6050
1edf595d
MR
60512012-01-25 Martin Rudalics <rudalics@gmx.at>
6052
6053 * window.el (window-state-get, window--state-get-1): Don't deal
6054 with fixed-sizeness of windows. Simplify code.
6055
fa8eafef
JC
60562012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6057
6df6ae42
JB
6058 * window.el (window--state-get-1, window--state-put-2):
6059 Don't save and restore the mark.
fa8eafef 6060
0b21c100
CY
60612012-01-25 Chong Yidong <cyd@gnu.org>
6062
6063 * custom.el (custom-variable-p): Doc fix.
6064
5ae1a6c8
GM
60652012-01-25 Glenn Morris <rgm@gnu.org>
6066
40047858
GM
6067 * dired.el (dired-goto-file): Handle some of the more common
6068 characters that `ls -b' escapes. (Bug#10596)
6069
5ddce96c
GM
6070 * progmodes/compile.el (compilation-next-error-function):
6071 Respect compilation-first-column in the "*compilation*" buffer.
6072 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6073
5ae1a6c8
GM
6074 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6075
b559f1a9
GM
60762012-01-24 Glenn Morris <rgm@gnu.org>
6077
6078 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6079
6725d21a
JD
60802012-01-24 Julien Danjou <julien@danjou.info>
6081
6082 * color.el (color-rgb-to-hsl): Fix value computing.
6083 (color-hue-to-rgb): New function.
6084 (color-hsl-to-rgb): New function.
6085 (color-clamp, color-saturate-hsl, color-saturate-name)
6086 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6087 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6088
70df4bbe
GM
60892012-01-24 Glenn Morris <rgm@gnu.org>
6090
6091 * vc/vc-rcs.el (vc-rcs-create-tag):
6092 * vc/vc-sccs.el (vc-sccs-create-tag):
6093 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6094
802a2ae2
ML
60952012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6096
6097 * eshell/esh-util.el (eshell-read-hosts-file):
6098 Skip comment lines. (Bug#10549)
6099
d7128bb1
ML
6100 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6101
d1a5c3b4
JB
61022012-01-23 Juanma Barranquero <lekktu@gmail.com>
6103
2724d9c7
JB
6104 * subr.el (display-delayed-warnings): Doc fix.
6105 (collapse-delayed-warnings): New function to collapse identical
6106 adjacent warnings.
6107 (delayed-warnings-hook): Add it.
d1a5c3b4 6108
a5509865
MA
61092012-01-22 Michael Albinus <michael.albinus@gmx.de>
6110
6111 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6112
a5509865
MA
6113 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6114 (tramp-default-user-alist): Don't add "pscp".
6115 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6116 property "login-as", if set. (Bug#10530)
6117
cc6d5805
MA
61182012-01-21 Michael Albinus <michael.albinus@gmx.de>
6119
6120 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6121 "plink1" and "psftp". (Bug#10530)
6122
61232012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6124
6125 * international/mule-cmds.el (prefer-coding-system): Show a
6126 warning message if the default value of file-name-coding-system
6127 was not changed.
6128
f0960428
JC
61292012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6130
cb882333
JB
6131 * windmove.el (windmove-reference-loc):
6132 Fix windmove-reference-loc miscalculation.
f0960428 6133
dd6f2a63
JB
61342012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6135
6136 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6137 default unit.
6138
7b447e9b
GM
61392012-01-21 Glenn Morris <rgm@gnu.org>
6140
117a9ea1
GM
6141 * international/mule.el (auto-coding-alist): Add .tbz.
6142
7b447e9b
GM
6143 * files.el (local-enable-local-variables): Doc fix.
6144 (inhibit-local-variables-regexps): Rename from
6145 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6146 Doc fix. Add some extensions from auto-coding-alist.
6147 (inhibit-local-variables-suffixes):
6148 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6149 (inhibit-local-variables-p):
6150 New function, extracted from set-auto-mode-1.
6151 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6152 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6153 (hack-local-variables): Doc fix. Make the mode-only case
6154 respect enable-local-variables and friends.
6155 Respect inhibit-local-variables-regexps for file-locals, but
6156 not for directory-locals.
6157 (set-visited-file-name):
6158 Take account of inhibit-local-variables-regexps.
6159 Whether it applies may change as the file name is changed.
6160 * jka-cmpr-hook.el (jka-compr-install):
6161 * jka-compr.el (jka-compr-uninstall):
6162 Update for inhibit-first-line-modes-suffixes name change.
6163
dd6e3cdd
MR
61642012-01-20 Martin Rudalics <rudalics@gmx.at>
6165
6166 * help-macro.el (make-help-screen): Temporarily restore original
6167 binding for minor-mode-map-alist (Bug#10454).
6168
0d0deb38
JD
61692012-01-19 Julien Danjou <julien@danjou.info>
6170
6171 * color.el (color-name-to-rgb): Use the white color to find the max
6172 color component value and return correctly computed values.
6173 (color-name-to-rgb): Add missing float conversion for max value.
6174
34a02f46
MR
61752012-01-19 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6178 special state value for window-persistent-parameters.
6179 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6180 (window--state-put-2): Reset all window parameters to nil before
6181 assigning values of persistent parameters.
6182
606c44c4
AM
61832012-01-18 Alan Mackenzie <acm@muc.de>
6184
6185 Eliminate sluggishness and hangs in fontification of "semicolon
6186 deserts".
6187
cb882333
JB
6188 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6189 Change value 10000 -> 3000.
606c44c4
AM
6190 (c-state-safe-place): Reformulate so it doesn't stack up an
6191 infinite number of wrong entries in c-state-nonlit-pos-cache.
6192 (c-determine-limit-get-base, c-determine-limit): New functions to
6193 determine backward search limits disregarding literals.
6194 (c-find-decl-spots): Amend commenting.
6195 (c-cheap-inside-bracelist-p): New function which detects "={".
6196
6197 * progmodes/cc-fonts.el
6198 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6199 backward search.
6200 (c-font-lock-declarations): Fix an occurrence of point being
6201 undefined. Check additionally for point being in a bracelist or
6202 near a macro invocation without a semicolon so as to avoid a
6203 fruitless time consuming search for a declarator. Give a more
6204 precise search limit for declarators using the new
6205 c-determine-limit.
6206
f3860cea
GM
62072012-01-18 Glenn Morris <rgm@gnu.org>
6208
6209 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6210 (set-auto-mode): Doc fixes.
6211
1db03b16
GM
62122012-01-17 Glenn Morris <rgm@gnu.org>
6213
0e6038be
GM
6214 * isearch.el (search-nonincremental-instead): Fix doc typo.
6215
1db03b16
GM
6216 * dired.el (dired-insert-directory): Handle newlines in directory name.
6217 (dired-build-subdir-alist): Unescape newlines in directory name.
6218
4cb0aa75
MA
62192012-01-17 Michael Albinus <michael.albinus@gmx.de>
6220
6221 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6222 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6223 (tramp-action-terminal): Use it. (Bug#10530)
6224
1d00653d
SM
62252012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6228
6a6ee00d
MR
62292012-01-16 Martin Rudalics <rudalics@gmx.at>
6230
6231 * window.el (window-state-ignored-parameters): Remove variable.
6232 (window--state-get-1): Rename argument MARKERS to IGNORE.
6233 Handle persistent window parameters. Make copy of clone-of
6234 parameter only if requested. (Bug#10348)
6235 (window--state-put-2): Install a window parameter only if it has
6236 a non-nil value or an existing parameter shall be overwritten.
6237
97912def
MA
62382012-01-15 Michael Albinus <michael.albinus@gmx.de>
6239
6240 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6241
688070a5
EZ
62422012-01-14 Eli Zaretskii <eliz@gnu.org>
6243
6244 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6245 don't pass the (nil) value of `upnode' to string-match.
6246
301afadc
CY
62472012-01-14 Chong Yidong <cyd@gnu.org>
6248
6249 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6250 Fix values recognized by the cursorBlink resource.
301afadc 6251
9e5788aa
PE
62522012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6253
6254 * epg.el (epg--make-temp-file): Avoid permission race condition
6255 when running on old Emacs versions (bug#10403).
6256
3cdb7f5a
GM
62572012-01-14 Glenn Morris <rgm@gnu.org>
6258
6259 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6260
8c82b1b4
AM
62612012-01-13 Alan Mackenzie <acm@muc.de>
6262
6263 Fix filling for when filladapt mode is enabled.
6264
6265 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6266 c-mask-paragraph, pass in `fill-paragraph' rather than
6267 `fill-region-as-paragraph'. (This is a reversion of a previous
6268 change.)
eb864a71
LM
6269 * progmodes/cc-mode.el (c-basic-common-init):
6270 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6271
e517eda4
GM
62722012-01-13 Glenn Morris <rgm@gnu.org>
6273
1498536e
GM
6274 * dired.el (dired-switches-escape-p): New function.
6275 (dired-insert-directory): Use dired-switches-escape-p.
6276 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6277
e517eda4
GM
6278 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6279
328f984d
GM
62802012-01-12 Glenn Morris <rgm@gnu.org>
6281
6282 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6283 changes in adaptive-fill-regexp. (Bug#10276)
6284
2cc769a8
AM
62852012-01-11 Alan Mackenzie <acm@muc.de>
6286
6287 Fix Emacs bug #10463 - put `widen's around the critical spots.
6288
1d00653d 6289 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6290 widen around each invocation of c-state-pp-to-literal. Remove an
6291 unused let variable.
6292
e52c37fa
GM
62932012-01-11 Glenn Morris <rgm@gnu.org>
6294
6295 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6296 Doc fix.
e52c37fa 6297
96f8741e
CY
62982012-01-10 Chong Yidong <cyd@gnu.org>
6299
1d00653d
SM
6300 * net/network-stream.el (network-stream-open-starttls):
6301 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6302 response to the capability command.
6303
b09a806e
GM
63042012-01-10 Glenn Morris <rgm@gnu.org>
6305
6306 * mail/unrmail.el (unrmail): Tweak previous change.
6307
7655cb66
CY
63082012-01-09 Chong Yidong <cyd@gnu.org>
6309
6310 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6311
9d5a8f0b
AM
63122012-01-08 Alan Mackenzie <acm@muc.de>
6313
6314 Optimise font locking in long enum definitions.
6315
6316 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6317 arm to a cond form to handle enums.
6318 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6319 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6320
9a0115ab 63212012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6322
6323 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6324 (Bug#10401)
6bb72cbd 6325
f186bb95
LMI
63262012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6327
29232a68
LMI
6328 * faces.el (set-face-attribute): Clarify the meaning of the nil
6329 frame (bug#10294).
6330
4e5d086d
LMI
6331 * subr.el (with-selected-frame): Mention that the selected frame
6332 is restored (bug#9980).
6333
8e66aebe
LMI
6334 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6335 (bug#9759).
6336
cd394be1 6337 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6338 (password-read): Don't autoload unused function.
6339
adf4e762
JB
63402012-01-07 Juanma Barranquero <lekktu@gmail.com>
6341
6342 * progmodes/which-func.el (which-func-mode): Turn into a
6343 non-interactive function and mark as obsolete (bug#10428).
6344
89bd9ccd
CY
63452012-01-06 Chong Yidong <cyd@gnu.org>
6346
6347 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6348 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6349 functions, along with 1 and -1.
6350
4afee9d5
EZ
63512012-01-06 Eli Zaretskii <eliz@gnu.org>
6352
6353 * time.el (display-time-load-average)
6354 (display-time-default-load-average): Doc fixes. See the thread
6355 starting at
6356 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6357 for the details.
6358
536aea70
GM
63592012-01-06 Glenn Morris <rgm@gnu.org>
6360
665ae865
GM
6361 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6362 has no messages. (Bug#10377)
6363
c869783d
GM
6364 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6365 than Info-edit. (Bug#10385)
6366
2bb4227e
GM
6367 * time.el (display-time-load-average, display-time-next-load-average):
6368 Doc fixes.
6369
7d5944b9
GM
6370 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6371 local setting of buffer-read-only to the input buffer. (Bug#10419)
6372
536aea70
GM
6373 * calendar/calendar.el (calendar-mode):
6374 Locally set scroll-margin to 0. (Bug#10379)
6375
7dccca16
UM
63762012-01-06 Ulrich Mueller <ulm@gentoo.org>
6377
6378 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6379
afbb7930
GM
63802012-01-05 Glenn Morris <rgm@gnu.org>
6381
6382 * eshell/em-unix.el (diff-no-select): Autoload it.
6383 (eshell/diff): Use diff-no-select. (Bug#10420)
6384
04482335
CY
63852012-01-05 Chong Yidong <cyd@gnu.org>
6386
7baca3bc
CY
6387 * shell.el (shell-dynamic-complete-functions): Revert last change.
6388 (shell-command-completion-function): New function.
6389 (shell-completion-vars): Use it to implement
6390 shell-completion-execonly (Bug#10417).
6391
04482335
CY
6392 * custom.el (enable-theme): Don't set custom-safe-themes.
6393
1d00653d
SM
6394 * cus-theme.el (custom-theme-merge-theme):
6395 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6396
bb5aa5d6
MM
63972012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6398
6399 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6400 first prompt in `sql-interacive-mode'.
6401 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6402 keywords.
6df6ae42 6403 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6404 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6405 context of original buffer. Invoke `sql-login-hook'.
6406
a7183d7c
EZ
64072012-01-04 Eli Zaretskii <eliz@gnu.org>
6408
6409 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6410 letters in cite-prefix.
6411
a1eacd1e
LMI
64122012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
6414 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6415
787cdb34
CY
64162012-01-03 Chong Yidong <cyd@gnu.org>
6417
1d00653d
SM
6418 * shell.el (shell-dynamic-complete-functions):
6419 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6420 comint-filename-completion first (Bug#10417).
6421
30710442
RS
64222012-01-02 Richard Stallman <rms@gnu.org>
6423
6424 * battery.el (battery-status-function):
6425 Detect when to use battery-yeeloong-sysfs.
6426 (battery-echo-area-format): Add string for Yeeloong.
6427 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6428 (battery-yeeloong-sysfs): New function.
6429
f75bfc33
CY
64302012-01-02 Chong Yidong <cyd@gnu.org>
6431
6432 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6433 (dirtrack): Merge code for handling relative filenames in prompt
6434 from shell-dir-cookie-watcher.
6435 (dirtrack-debug-message): New arg to avoid excess format calls.
6436
6437 * shell.el (shell-dir-cookie-re): Variable deleted.
6438 (shell-dir-cookie-watcher): Function deleted.
6439 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6440 with dirtrack-mode.
6441
651e947e
EZ
64422012-01-01 Eli Zaretskii <eliz@gnu.org>
6443
1d00653d
SM
6444 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6445 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6446 libgnutls-26.dll.
6447
94d4c7dc
AS
64482011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6449
6450 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6451
8d43f3cd
EZ
64522011-12-31 Eli Zaretskii <eliz@gnu.org>
6453
6454 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6455 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6456
98c8795a
MA
64572011-12-29 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6460 also for alternative shells.
6461 (tramp-open-connection-setup-interactive-shell): Check, whether
6462 the shell is a busybox.
6463 (tramp-send-command): Don't suppress multiple prompts for
6464 busyboxes, it hurts.
6465
51281b32
CY
64662011-12-28 Chong Yidong <cyd@gnu.org>
6467
6468 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6469 (gdb-get-source-file): Move mode line update to
6470 gdb-get-source-file (Bug#10087).
6471
2170cb53
CY
64722011-12-25 Chong Yidong <cyd@gnu.org>
6473
6474 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6475 gud-gdb-marker-filter without taking it as an argument.
6476 (gud-gdb-run-command-fetch-lines): Caller changed.
6477 (gud-gdb-completion-function): New variable.
6478 (gud-gdb-completion-at-point): Use it.
6479 (gud-gdb-completions-1): Split from gud-gdb-completions.
6480
6481 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6482 function as separate arguments.
6483 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6484 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6485 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6486 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6487 (gdb-stopped, def-gdb-auto-update-trigger)
6488 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6489 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6490 Callers changed.
2170cb53
CY
6491 (gud-gdbmi-completions): New function.
6492 (gdb): Use it for generating the completion table.
6493
be8b11bb
AM
64942011-12-24 Alan Mackenzie <acm@muc.de>
6495
6496 Introduce a mechanism to widen the region used in context font
1d00653d 6497 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6498
1d00653d
SM
6499 * progmodes/cc-langs.el (c-before-font-lock-functions):
6500 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6501 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6502 functions to be run just before context (etc.) font locking.
6503
6504 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6505 New, functionality extracted from
be8b11bb 6506 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6507 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6508 (c-after-change): Set c-in-after-change-fontification.
6509 (c-set-fl-decl-start): Rejig its interface, so it can be called
6510 from both after-change and context fontifying.
b81d40f0
JB
6511 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6512 New functions.
6513 (c-standard-font-lock-fontify-region-function): New variable.
6514 (c-font-lock-fontify-region): New function.
be8b11bb 6515
341cf6ac
JL
65162011-12-24 Juri Linkov <juri@jurta.org>
6517
6518 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6519 (Bug#10348)
6520
bffcee0a
MA
65212011-12-23 Michael Albinus <michael.albinus@gmx.de>
6522
6523 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6524 existence of source file. (Bug#10325)
6525
cb5e207c
AM
65262011-12-23 Alan Mackenzie <acm@muc.de>
6527
6528 Fix unstable fontification inside templates.
6529
b81d40f0
JB
6530 * progmodes/cc-langs.el (c-before-font-lock-functions):
6531 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6532 additionally has c-set-fl-decl-start. The other languages (apart
6533 from AWK) have that as a single entry.
6534
b81d40f0
JB
6535 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6536 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6537 c-set-fl-decl-start.
6538
b81d40f0
JB
6539 * progmodes/cc-mode.el (c-common-init, c-after-change):
6540 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6541 (c-set-fl-decl-start): New function, extracted from
6542 c-font-lock-enclosing-decls and enhanced.
6543
60ff536c
JB
65442011-12-23 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6547
1c4757d6
JL
65482011-12-22 Juri Linkov <juri@jurta.org>
6549
6550 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6551
d031f2c7
CY
65522011-12-22 Chong Yidong <cyd@gnu.org>
6553
6554 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6555
bace743a
DA
65562011-12-21 Drew Adams <drew.adams@oracle.com>
6557
6558 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6559
728a1f2b
JC
65602011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6561
6562 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6563
0d373f73
TZ
65642011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6565
fec0aaa4
TZ
6566 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6567 highlighting and support. Fix up comments for capitalization.
6568 (cfengine-mode-debug): New var.
6569 (cfengine3-mode): Change the modeline indicator to "CFE3".
6570 (cfengine3-font-lock-keywords): Improve defun highlighting.
6571 (cfengine2-actions): Rename from `cfengine-actions'.
6572 (cfengine2-font-lock-keywords): Rename from
6573 `cfengine-font-lock-keywords'.
6574 (cfengine2-imenu-expression): Rename from
6575 `cfengine-imenu-expression'.
6576 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6577 (cfengine2-beginning-of-defun): Rename from
6578 `cfengine-beginning-of-defun'.
6579 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6580 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6581 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6582 modeline indicator to "CFE2".
6583 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6584 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6585
bc86f573
CY
65862011-12-21 Chong Yidong <cyd@gnu.org>
6587
6588 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6589 filename argument.
6590
d45ba96b
MR
65912011-12-20 Martin Rudalics <rudalics@gmx.at>
6592
6593 * window.el (window-normalize-buffer-to-display): Remove.
6594 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6595
a6198c90
CY
65962011-12-19 Chong Yidong <cyd@gnu.org>
6597
6598 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6599 Don't signal an error in a predicate function; return non-nil.
6600 (vc-dir-mark-file): Move the error here.
6601 (vc-dir-mark-unmark): If acting on the region, keep going if one
6602 of the entries cannot be marked/unmarked.
6603 (vc-dir-mark-all-files): If current entry is a directory, mark
6604 only child files, as documented.
6605
34c5fb55
VB
66062011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6607
6608 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6609 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6610 addition.
6611
c803b2b7
JD
66122011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6613
6614 * term/ns-win.el (ns-get-selection-internal)
6615 (ns-store-selection-internal): Declare.
1154d12e
JB
6616 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6617 Declare as obsolete.
6618 (ns-get-pasteboard, ns-paste-secondary):
6619 Use ns-get-selection-internal.
6620 (ns-set-pasteboard, ns-copy-including-secondary):
6621 Use ns-store-selection-internal.
c803b2b7 6622
9cff91f8 66232011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6624
6625 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6626 (vc-deduce-fileset): Doc fix.
99a289d9 6627
f16c898a
AS
66282011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6629
6630 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6631
763237c4
SS
66322011-12-13 Sam Steingold <sds@gnu.org>
6633
6634 * man.el (Man-getpage-in-background): When running under a
6635 window-system, ignore $MANWIDTH and $COLUMNS.
6636
5fc1c122
KH
66372011-12-15 Kenichi Handa <handa@m17n.org>
6638
6639 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6640 (setup-ethiopic-environment-internal): Comment out key-binding for
6641 ethio-toggle-punctuation.
6642
13d49cbb
AM
66432011-12-13 Alan Mackenzie <acm@muc.de>
6644
898169a2
AM
6645 Add the switch statement to AWK Mode.
6646
7a71b18d 6647 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6648 "default" to the keywords regexp.
6649
7a71b18d 6650 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6651 expression as the rest.
1d00653d
SM
6652 (c-nonlabel-token-key): Allow string literals for AWK.
6653 Refactor for the other modes.
898169a2 6654
13d49cbb 6655 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6656 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6657 routines. Limit backward searching in c-font-lock-enclosing.decl.
6658
6659 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6660 pp-state and literal type in addition to the limits.
1d00653d 6661 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6662 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6663 (c-slow-in-literal, c-fast-in-literal): Remove.
6664 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6665
6666 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6667 being in a literal. Add a limit for backward searching.
6668
6669 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6670 c-slow-in-literal.
6671
15e0efc7
SM
66722011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6675
454592a6
MR
66762011-12-13 Martin Rudalics <rudalics@gmx.at>
6677
6678 * window.el (delete-other-windows): Use correct frame in call to
6679 window-with-parameter.
6680
87393f26
DP
66812011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6682
6683 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6684 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6685 (makefile-gmake-statements, makefile-makepp-statements):
6686 Use it and add new makepp keywords.
6687 (makefile-makepp-font-lock-keywords): Add new patterns.
6688 (makefile-match-function-end): Match new [...] and [[...]].
6689
11636b22
JB
66902011-12-11 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * ses.el (ses-call-printer-return, ses-cell-property-get)
6693 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6694 (ses-create-cell-variable, ses-reset-header-string)
6695 (ses-cell-set-formula, ses-repair-cell-reference-all)
6696 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6697 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6698 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6699 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6700 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6701 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6702 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6703 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6704 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6705 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6706 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6707 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6708
cf018193
VB
67092011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6710
6711 * ses.el: The overall change is to add cell renaming, that is
6712 setting fancy names for cell symbols other than name matching
6713 "\\`[A-Z]+[0-9]+\\'" regexp .
6714 (ses-create-cell-variable): New defun.
6715 (ses-relocate-formula): Relocate formulas only for cells the
6716 symbols of which are not renamed, i.e. symbols whose names do not
6717 match regexp "\\`[A-Z]+[0-9]+\\'".
6718 (ses-relocate-all): Relocate values only for cells the symbols of
6719 which are not renamed.
6720 (ses-load): Create cells variables as the (ses-cell ...) are read,
6721 in order to check row col consistency with cell symbol name only
6722 for cells that are not renamed.
6723 (ses-replace-name-in-formula): New defun.
6724 (ses-rename-cell): New defun.
6725
ee957461
CY
67262011-12-11 Chong Yidong <cyd@gnu.org>
6727
6728 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6729 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6730
9a9e9ef0
MR
67312011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6732
6733 * window.el (other-window): Fix docstring.
6734
92a8eba5
EZ
67352011-12-10 Eli Zaretskii <eliz@gnu.org>
6736
6737 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6738 `from' or `to' address before taking its substring.
6739 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6740 encoded name is chopped in the middle of the encoded string, and
6741 thus displayed encoded.
6742
e152e577
JB
67432011-12-10 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6746
e5d84bfe
EZ
67472011-12-10 Eli Zaretskii <eliz@gnu.org>
6748
6749 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6750 to use texinfo-update-node and commands that call it if the
6751 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6752 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6753 (texinfo-all-menus-update, texinfo-master-menu)
6754 (texinfo-update-node, texinfo-every-node-update)
6755 (texinfo-multiple-files-update): Doc fix. Warn against updating
6756 all the @node lines.
6757 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6758 argument is numeric. Explain better in the doc string what the
6759 function really does.
6760 (texinfo-insert-master-menu-list): Improve the error message
6761 displayed if there's no menu in the Top node.
6762 (Bug#2975) See also this thread:
e5d84bfe
EZ
6763 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6764
1d84e9bb
MG
67652011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6766
6767 * speedbar.el (speedbar-supported-extension-expressions):
6768 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6769
382c953b
JB
67702011-12-09 Juanma Barranquero <lekktu@gmail.com>
6771
6772 * printing.el (pr-mode-alist):
6773 * simple.el (filter-buffer-substring-functions)
6774 (completion-list-insert-choice-function):
6775 * window.el (window-with-parameter, window-atom-root)
6776 (window-sides-slots, window-size-fixed, window-min-delta)
6777 (window-max-delta, window--resize-mini-window)
6778 (window--resize-child-windows-normal, window-tree)
6779 (delete-other-windows, quit-window, split-window)
6780 (display-buffer-record-window, special-display-buffer-names)
6781 (special-display-regexps, special-display-popup-frame)
6782 (same-window-p, split-window-sensibly)
6783 (display-buffer-overriding-action, display-buffer-alist)
6784 (display-buffer-base-action, display-buffer, switch-to-buffer)
6785 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6786 (fit-window-to-buffer, recenter-positions)
6787 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6788 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6789 and remove unneeded backslashes in docstrings.
6790
39c9faef
SM
67912011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6792
98449af8
SM
6793 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6794
39c9faef
SM
6795 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6796 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6797 end in ".mk".
6798 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6799 when reading the makefile (bug#10116).
6800
86ed9fdc
SM
68012011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6804 (bug#10116).
6805
5580f89d
GM
68062011-12-06 Glenn Morris <rgm@gnu.org>
6807
6808 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6809
28d3917c
CY
68102011-12-06 Chong Yidong <cyd@gnu.org>
6811
6812 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6813
a98edce9
JB
68142011-12-06 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * textmodes/table.el (table-shorten-cell): Fix typo.
6817
e65adfac
CG
68182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6819
6820 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6821
71cc0b74
EZ
68222011-12-05 Eli Zaretskii <eliz@gnu.org>
6823
6824 * descr-text.el (describe-char): Fix display of strong
6825 right-to-left characters and directional embeddings and overrides.
6826
6827 * simple.el (what-cursor-position): Fix display of codepoints of
6828 strong right-to-left characters.
6829
315bc30d
CY
68302011-12-05 Chong Yidong <cyd@gnu.org>
6831
6832 * faces.el (read-color): Doc fix.
6833
58a70b94
GM
68342011-12-05 Glenn Morris <rgm@gnu.org>
6835
6836 * align.el (align--set-marker): Add doc-string.
6837 Don't try to move something that is not a marker. (Bug#10216)
6838
5158face
GM
68392011-12-04 Glenn Morris <rgm@gnu.org>
6840
6841 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6842 overly zealous deletion of trailing whitespace.
6843
520fca41
JB
68442011-12-04 Juanma Barranquero <lekktu@gmail.com>
6845
6846 * server.el (server-delete-client): On Windows, do not try to delete
6847 the only terminal.
6848 (server-process-filter): On Windows, treat requests for a tty frame as
6849 if they were for a GUI frame if the running server is in GUI mode.
6850
5e605a2e
GM
68512011-12-03 Glenn Morris <rgm@gnu.org>
6852
6853 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6854
5c3fe83f
SM
68552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6f5e57e7
SM
6857 * electric.el: Streamline electric-indent's hook.
6858 (electric-indent-chars): Revert to simple list.
6859 (electric-indent-functions): New var.
6860 (electric-indent-post-self-insert-function): Use it.
6861
5c3fe83f
SM
6862 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6863 there's no inferior buffer (bug#10196).
6864 (prolog-consult-compile): Don't use toggle-read-only.
6865
6bdac736
MA
68662011-12-02 Michael Albinus <michael.albinus@gmx.de>
6867
6868 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6869 interrupt. (Bug#10187)
6870
6131ba7f
SM
68712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6872
99c79fee
SM
6873 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6874 (bug#9160).
6875
6131ba7f
SM
6876 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6877 (bug#10191).
6878
cb0a02ea
JL
68792011-12-02 Juri Linkov <juri@jurta.org>
6880
6881 * info.el (Info-search): Display "end of manual" when Isearch
6882 reaches the end of single-file Info manual. (Bug#9918)
6883
66e0570c
EZ
68842011-12-02 Eli Zaretskii <eliz@gnu.org>
6885
6886 * isearch.el (isearch-message-prefix): Run the input method part
6887 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6888
02b16839
JL
68892011-12-02 Juri Linkov <juri@jurta.org>
6890
6891 * isearch.el (isearch-occur): Use `word-search-regexp' for
6892 `isearch-word'.
6893 (isearch-search-and-update): Add condition for `isearch-word' and
6894 call `word-search-regexp'. (Bug#10145)
6895
0b950688
GM
68962011-12-01 Glenn Morris <rgm@gnu.org>
6897
6898 * eshell/em-hist.el (eshell-hist-initialize):
6899 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6900 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6901
9505c3c7
SM
69022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6905
1bbe96b2 69062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6907
a1beca85
SM
6908 * progmodes/verilog-mode.el (verilog-pretty-expr):
6909 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6910 verilog, such as += *= and the like.
6911 (verilog-assignment-operator-re): Regular expression to find the
6912 assigment operator in a verilog assignment.
6913 (verilog-assignment-operation-re): Regular expression to find an
6914 assignment statement for pretty-expr.
6915 (verilog-in-attribute-p): Query returns true if point is in an
6916 attribute context; used to skip these for expression line up from
6917 pretty-expr.
6918 (verilog-in-parameter-p): Query returns true if point is in an
6919 parameter definition context; used to skip these for expression
6920 line up from pretty-expr.
6921 (verilog-in-parenthesis-p): Query returns true if point is in a
6922 parenthetical expression, specifically ( ) but not [ ] or { };
6923 used by pretty-expr.
6924 (verilog-just-one-space): If there is no space, don't add one.
6925 (verilog-get-lineup-indent-2): Specifically skip just attribute
6926 contexts for expression lineup, rather than skipping all
6927 parenthetical expressions.
6928 (verilog-calculate-indent): Fix comment, and fix indent.
6929 (verilog-do-indent): Indent declarations in lists (suggested by
6930 Joachim Lechner).
6931 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6932 skeleton items.
6933 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6934 by Alain Mellan).
6935
1bbe96b2 69362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6937
6938 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6939 parameters with embedded comments. Reported by Ray Stevens.
6940 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6941 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6942 Reported by Tim Holt.
6943 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6944 instantiated by upper module causing wrong expansion until AUTOed a
6945 second time. Reported by K C Buckenmaier.
6946 (verilog-diff-auto): Fix showing .* as a difference when
6947 `verilog-auto-star-save' off. Reported by Dan Dever.
6948 (verilog-auto-reset, verilog-read-always-signals)
6949 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6950 temporary signals in reset list if
6951 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6952 style to each signal's assignment type, bug381.
6953 Reported by Thomas Esposito.
6288f0ca
WS
6954 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6955 (verilog-uvm-statement-re): Support UVM indentation and
6956 highlighting, with old OVM keywords only.
a1beca85 6957 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6958 Support AUTOTIEOFF creating non-wire data types.
6959 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6960 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6961 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6962 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6963 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6964 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6965 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6966 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6967 non-numeric vector width. Reported by Alex Reed.
6968 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6969 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6970 (verilog-auto-delete-trailing-whitespace):
6971 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6972 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6973 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6974 Fix verilog-scan-cache corruption when running user AUTO expansion
6975 hooks that call indentation routines.
6976 (verilog-simplify-range-expression): Fix typo ignoring lower case
6977 identifiers.
6978 (verilog-delete-auto): Fix delete-autos to also remove user created
6979 automatics, as long as they start with AUTO.
6980 (verilog-batch-diff-auto, verilog-diff-auto)
6981 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6982 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6983 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6984 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6985 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6986 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6987 is disabled and its cache will get corrupt, causing AUTOS not to
6988 expand. Instead use only -quick functions.
6989 (verilog-scan-region): Fix scanning over escaped quotes.
6990 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6991 (verilog-re-search-backward-quick)
6992 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6993 related functions now ignore strings, to fix misparsing of strings
6994 with magic comments embedded in them.
a1beca85
SM
6995 (verilog-read-auto-template):
6996 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6997 Reported by Brad Dobbie.
6998 (verilog-read-auto-template):
6999 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7000 Reported by Brad Dobbie.
6288f0ca
WS
7001 (verilog-auto-inst, verilog-auto-inst-param)
7002 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7003 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7004 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7005 debugging templates without merge conflicts, bug357.
7006 Reported by Brad Dobbie.
7007 (verilog-read-auto-template):
7008 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7009 Reported by Brad Dobbie.
7010 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7011 abbrevs so user won't be asked to save.
7012 (verilog-read-auto-lisp-present): Fix to start at beginning of
7013 buffer in case called outside of verilog-auto.
7014 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7015 to "X-2". Reported by Matthew Myers.
7016 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7017 all inputs from module templates. Reported by Leith Johnson.
7018 (verilog-module-inside-filename-p): Fix locating programs as with
7019 modules.
7020 (verilog-auto-inst-port): Fix vl-width expressions when using
7021 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7022 (verilog-decls-get-regs, verilog-decls-get-signals,
7023 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7024 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7025 verilog-read-decls): Combine reg and wire structures into one var
7026 structure to represent SystemVerilog concepts.
7027 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7028 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7029 (verilog-auto-wire-type, verilog-insert-definition):
7030 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7031 SystemVerilog "logic" keyword instead of "wire"/"reg".
7032 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7033 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7034 ifdef or generate if so there's not a driver conflict).
7035 Reported by Matthew Myers.
7036 (verilog-auto-declare-nettype, verilog-insert-definition):
7037 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7038 `default_nettype none. Reported by Julian Gorfajn.
7039 (verilog-read-always-signals-recurse, verilog-read-decls)
7040 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7041 malformed end statement, bug325. Reported by Joshua Wise and
7042 Andrew Drake.
7043 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7044 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7045 when expanding .* in interfaces, bug320.
7046 Reported by Pierre-David Pfister.
6288f0ca 7047 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7048 name and open parenthesis, bug317.
7049 Reported by Pierre-David Pfister.
6288f0ca
WS
7050 (verilog-simplify-range-expression): Fix simplification of
7051 multiplications inside AUTOWIRE connections, bug303.
7052 (verilog-auto-inst-port): Support parameter expansion in
7053 multidimensional arrays.
7054 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7055 after "assert property". Reported by Julian Gorfajn.
7056 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7057 with multiplication, bug303.
7058 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7059 Reported by Jan Frode Lonnum.
7060
1bbe96b2
GM
70612011-11-30 Juanma Barranquero <lekktu@gmail.com>
7062
7063 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7064 (hfy-shell-file-name, hfy-shell):
7065 * international/fontset.el (x-decompose-font-name): Fix typos.
7066
70672011-11-29 Ken Brown <kbrown@cornell.edu>
7068
7069 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7070 (gdb-version): Remove defvar.
7071 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7072 (gdb-gud-context-command, gdb-non-stop-handler)
7073 (gdb-current-context-command, gdb-stopped): Use it.
7074 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7075 (gdb-non-stop-handler): Don't enable pretty-printing here.
7076 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7077 non-stop mode. Use the following.
7078 (gdb-check-target-async): New defun.
7079 (gud-watch, gdb-stopped): Fix whitespace.
7080 (gdb-get-source-file): Don't try to display the source file if
7081 `gdb-main-file' is nil.
7082
70832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * align.el: Try to generate fewer markers (bug#10047).
7086 (align--set-marker): New macro.
7087 (align-region): Use it.
7088
c935221f
SM
70892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7092
e70b5064
CY
70932011-11-29 Chong Yidong <cyd@gnu.org>
7094
7095 * indent.el (indent-for-tab-command, indent-according-to-mode):
7096 Doc fix.
7097 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7098
f3af92b7
MA
70992011-11-29 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7102 aware of remote file names. (Bug#10124)
7103
ed472be9
CY
71042011-11-29 Chong Yidong <cyd@gnu.org>
7105
7106 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7107
24510c22
SM
71082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * files.el (find-file): Don't use force-same-window (bug#10144).
7111 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7112 use pop-to-buffer if the selected window can't be used.
7113 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7114
c60c3703
EZ
71152011-11-28 Eli Zaretskii <eliz@gnu.org>
7116
7117 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7118 special-mode-map.
7119
e95def75
CY
71202011-11-28 Chong Yidong <cyd@gnu.org>
7121
7122 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7123
c3f1c606
NR
71242011-11-27 Nick Roberts <nickrob@snap.net.nz>
7125
7126 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7127 gdb-get-source-file-list on gdb-create-source-file-list.
7128
00db469c
EZ
71292011-11-26 Eli Zaretskii <eliz@gnu.org>
7130
7131 * whitespace.el (whitespace-newline): Use a different foreground
7132 color for 16-color light-background displays.
7133
4ad3bc2a
CY
71342011-11-24 Chong Yidong <cyd@gnu.org>
7135
7136 * window.el (display-buffer--special-action): Doc fix.
7137
e9fce1ac
JB
71382011-11-25 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7141 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7142 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7143 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7144 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7145 (avl-tree-stack-first):
7146 * emacs-lisp/cconv.el (cconv--analyse-use):
7147 * net/gnutls.el (gnutls-negotiate): Fix typos.
7148
cb825e5d
GM
71492011-11-24 Glenn Morris <rgm@gnu.org>
7150
3adbe224
GM
7151 * lpr.el (lpr-windows-system, lpr-lp-system):
7152 * mail/binhex.el (binhex-begin-line):
7153 * progmodes/grep.el (grep-history, grep-find-history):
7154 * textmodes/flyspell.el:
7155 * vc/pcvs-defs.el (cvs-global-menu):
7156 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7157 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7158 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7159
321decc8
GM
7160 * net/tls.el: Fix case of "GnuTLS".
7161
420b63ad
GM
7162 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7163
cb825e5d
GM
7164 * version.el (emacs-build-system): Give it a doc-string.
7165
a0649f08
JL
71662011-11-24 Juri Linkov <juri@jurta.org>
7167
7168 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7169
c0bc0fd4
GM
71702011-11-24 Glenn Morris <rgm@gnu.org>
7171
7172 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7173 if called on a non-mime message just toggle the headers. (Bug#8006)
7174
20db1522
JB
71752011-11-24 Juanma Barranquero <lekktu@gmail.com>
7176
7177 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7178 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7179 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7180 (allout-rebullet-heading, allout-open-sibtopic)
7181 (allout-toggle-current-subtree-encryption)
7182 (allout-toggle-subtree-encryption, allout-encrypt-string)
7183 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7184 (allout-distinctive-bullets-string, allout-auto-activation):
7185 * window.el (window-normalize-buffer-to-display):
7186 * progmodes/verilog-mode.el (verilog-batch-indent):
7187 * textmodes/bibtex.el (bibtex-field-braces-opt)
7188 (bibtex-field-strings-opt):
7189 * vc/cvs-status.el (cvs-tree-merge):
7190 Fix typos.
7191
7262a87c
MA
71922011-11-23 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7195 `non-essential' to t, in order to avoid remote connections.
7196
283430a1
EZ
71972011-11-23 Eli Zaretskii <eliz@gnu.org>
7198
a1beca85
SM
7199 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7200 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7201 case-insensitively.
7202
d2992a38
ML
72032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7204
7205 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7206
50419064
GM
72072011-11-23 Glenn Morris <rgm@gnu.org>
7208
da94eca1
GM
7209 * paths.el (rmail-file-name): Reformat the doc-string so that it
7210 is picked up.
7211
9aac4de2
GM
7212 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7213 (rmail-auto-file): Ignore case in the "special" field names,
7214 as mail-fetch-field does for all others.
7215
8038d2d2
GM
7216 * mail/rmail.el (rmail-forward):
7217 * mail/rmailkwd.el (rmail-set-label):
7218 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7219 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7220
f3fe222a
GM
7221 * mail/rmail.el (rmail-current-message): Doc fix.
7222
50419064
GM
7223 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7224
28109f49
SM
72252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7228
394c65f1
GM
72292011-11-22 Glenn Morris <rgm@gnu.org>
7230
7231 * mail/rmailmm.el (test-rmail-mime-handler)
7232 (test-rmail-mime-bulk-handler)
7233 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7234
f2a0aa3a
JL
72352011-11-21 Juri Linkov <juri@jurta.org>
7236
1154d12e
JB
7237 * calc/calc.el (calc-read-key-sequence):
7238 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7239
9c34a344
LMI
72402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
7242 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7243 Tell the caller that the next line needs recomputation, even
7244 though it doesn't start a sexp (bug#10094).
7245
f04a3be9
SM
72462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7249
7978747f
SM
72502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7251
f04a3be9
SM
7252 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7253 Use force-same-window.
7978747f 7254
fe7a3057
JB
72552011-11-20 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * descr-text.el (describe-char-unicode-data):
7258 * json.el (json-string-escape):
7259 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7260 (Footnote-unicode, Footnote-style-p):
7261 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7262
24901d61
CY
72632011-11-20 Chong Yidong <cyd@gnu.org>
7264
7265 * window.el (replace-buffer-in-windows): Restore interactive spec.
7266
bac7ff22
SM
72672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7268
24f3d7b9
SM
7269 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7270
bac7ff22
SM
7271 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7272 (byte-compile-global-not-obsolete-vars): New var.
7273 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7274 Use it.
7275 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7276
cd1181db
JB
72772011-11-20 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7280 * progmodes/pascal.el (electric-pascal-equal):
7281 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7282 * xml.el (xml-substitute-special): Fix typos.
7283
7fb18e9e
GM
72842011-11-20 Glenn Morris <rgm@gnu.org>
7285
7286 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7287 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7288 Doc fixes.
7289 (rmail-decode-mime-charset): Mark as obsolete.
7290
7291 * mail/rmailsum.el (rmail-message-regexp-p-1):
7292 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7293 Before using mime functions, check they are set. (Bug#10077)
7294
d5a6b3ba
JL
72952011-11-19 Juri Linkov <juri@jurta.org>
7296
7297 * info.el (Info-finder-find-node): Use `package--builtins' instead
7298 of `package-alist'. Use node names formed by the pattern "Keyword "
7299 and the keyword name.
7300
e981b61f
AS
73012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7302
1d00653d 7303 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7304
3ffbc301
JL
73052011-11-19 Juri Linkov <juri@jurta.org>
7306
7307 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7308 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7309 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7310 `old-history', `old-history-forward'. Add let-binding
7311 `window-selected'. Remove calls to `kill-buffer',
7312 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7313 before calling `Info-find-node', so `Info-find-node-2' will reread
7314 the Info file. Restore window positions only when `window-selected'
7315 is non-nil.
7316
30c62133
JL
73172011-11-19 Juri Linkov <juri@jurta.org>
7318
7319 * isearch.el (isearch-lazy-highlight-new-loop):
7320 Remove condition `(not isearch-error)'. (Bug#9918)
7321
7322 * misearch.el (multi-isearch-search-fun): Add condition
7323 `(not bound)' to ignore lazy-highlighting search.
7324 Add the search-failed message "end of multi" when the end of
7325 multi-sequence is reached. Uncapitalize the search-failed
7326 message "Repeat for next buffer".
7327
7328 * info.el (Info-search): Add the search-failed message
7329 "end of the manual" when the end of the manual is reached
7330 in Isearch mode.
7331
645ca9cf
JL
73322011-11-19 Juri Linkov <juri@jurta.org>
7333
7334 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7335 Use non-destructive `remove' instead of `delete' because
7336 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7337 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7338
df754f66
JL
73392011-11-19 Juri Linkov <juri@jurta.org>
7340
7341 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7342 to nil instead of binding `search-ring' and `regexp-search-ring'.
7343 (Bug#9185)
7344
0e23d96a
EZ
73452011-11-19 Eli Zaretskii <eliz@gnu.org>
7346
7347 * simple.el (line-move): Force movement by logical lines for any
7348 hscrolled window, not only when auto-hscroll-mode is on.
7349 (line-move-visual): Update doc string to that effect. (Bug#10076)
7350
8a6ccb66
AS
73512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7352
7353 * language/european.el (macintosh): Define as alias for mac-roman.
7354
49ae5b39
EZ
73552011-11-19 Eli Zaretskii <eliz@gnu.org>
7356
7357 * mail/rmailmm.el (rmail-mime-display-header)
7358 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7359 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7360 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7361 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7362 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7363 of a raw aref.
7364 (rmail-mime-entity-segment): To get past the tagline, move forward
7365 2 more lines, to account for the 2 empty lines that precede and
7366 follow the line with the buttons.
7367 (rmail-mime-update-tagline): Move one more line, to get past the
7368 empty line that follows the buttons in the tagline. (Bug#9520)
7369
c56cad4a
MR
73702011-11-19 Martin Rudalics <rudalics@gmx.at>
7371
7372 * window.el (window-max-delta-1, window-min-delta-1)
7373 (window-min-size-1, window-state-get-1, window-state-put-1)
7374 (window-state-put-2): Use "window--" prefix.
7375
cbe71af3
SM
73762011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7377
2ad52c60
SM
7378 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7379 (smie-warning-count): New var.
7380 (smie-set-prec2tab): Use it.
7381 (smie-bnf->prec2): Improve warnings. Add docstring.
7382 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7383 (smie-bnf--set-class): New function.
7384 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7385 corner case.
7386
6944dbc1
SM
7387 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7388 (compilation-error-properties, compilation-move-to-column):
7389 Handle compilation-first-column while in the target buffer.
7390
c400c4d7
SM
7391 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7392 Don't hardcode point-min==1.
7393
6dbe3e96
SM
7394 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7395 (eshell-rewrite-for-command): Remove workaround.
7396 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7397 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7398 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7399
cbe71af3
SM
7400 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7401
a8e1496d
GM
74022011-11-17 Glenn Morris <rgm@gnu.org>
7403
7404 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7405 Ignore buffer-local generated-autoload-file if it is the same
7406 as the global value. (Bug#10049)
7407
df85d315
JB
74082011-11-17 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7411 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7412 (reftex-toc-previous-heading, reftex-toc-max-level)
7413 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7414 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7415 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7416 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7417 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7418 (reftex-toc-rename-label, reftex-toc-visit-location)
7419 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7420 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7421 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7422 leaving "*toc*" only for references to the buffer.
7423
a0c2d0ae
MR
74242011-11-17 Martin Rudalics <rudalics@gmx.at>
7425
7426 * window.el (window-resize, delete-window, split-window):
7427 Replace window-splits by window-combination-resize.
1d00653d 7428 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7429
35c0bac8
GM
74302011-11-17 Glenn Morris <rgm@gnu.org>
7431
7432 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7433 Make bash entry derive from sh entry, not shell entry.
7434
d0c8fc8a
MA
74352011-11-16 Michael Albinus <michael.albinus@gmx.de>
7436
7262a87c
MA
7437 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7438 local file name.
7439
7877f373
JB
74402011-11-16 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * menu-bar.el (menu-bar-file-menu):
7443 * printing.el (pr-ps-utility):
7444 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7445 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7446 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7447 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7448 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7449 (icalendar--convert-cyclic-to-ical)
7450 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7451 (icalendar--convert-ical-to-diary)
7452 (icalendar--convert-recurring-to-diary)
7453 (icalendar--convert-non-recurring-all-day-to-diary)
7454 (icalendar-import-format-sample):
7455 * progmodes/idlw-shell.el (idlwave-shell-mode):
7456 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7457 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7458 (vhdl-ps-print-init): Fix typos.
7459
10649b82
KM
74602011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7461
9d0cfcd6
GM
7462 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7463 FSF and collapse date sequence, obscure author/maintainer email address
7464 better, remove extra version line, track relocation of author's webpage.
10649b82 7465
9d0cfcd6
GM
7466 * progmodes/python.el (python-pdbtrack-input-prompt)
7467 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7468 regular python pdb prompts. Adjustments shamelessly taken exactly as
7469 suggested in EmacsWiki page (tiny change):
7470 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7471
58179cce
JB
74722011-11-16 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * expand.el (expand-pos, expand-index, expand-point):
7475 Remove redundant info from docstring.
7476 (expand-add-abbrevs): Doc fix.
7477 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7478 (expand-sample-perl-mode-expand-list): Fix typos.
7479
7480 * net/dbus.el (dbus-event-member-name):
7481 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7482 * term/pc-win.el (msdos-create-frame-with-faces):
7483 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7484
b6f67890
MR
74852011-11-16 Martin Rudalics <rudalics@gmx.at>
7486
7487 * window.el (split-window, window-state-get-1)
7488 (window-state-put-1, window-state-put-2): Rename occurrences of
7489 window-nest to window-combination-limit.
1d00653d 7490 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7491
ce7ddba0
CY
74922011-11-16 Chong Yidong <cyd@gnu.org>
7493
7494 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7495 regexp (Bug#10033).
7496
3ae704f4
SM
74972011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7500 `completing-read' will remove *Completions* and will preserve
7501 current-buffer for us.
7502 (tmm-add-prompt): Users of *Completions* will always (re)set its
7503 major mode.
7504 (tmm-old-comp-map): Remove.
7505
6ad1cdde
GM
75062011-11-16 Glenn Morris <rgm@gnu.org>
7507
7508 * mail/rmailedit.el: Require rmailmm when compiling.
7509 (rmail-old-mime-state): New declaration.
7510 (rmail-edit-current-message): If editing a mime message,
7511 edit the "raw" message from the mbox buffer.
7512 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7513
d20faa20
GM
75142011-11-15 Glenn Morris <rgm@gnu.org>
7515
7516 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7517 which wasn't being used. Add optional arg to force given state.
7518 (rmail-mime): Add optional arg to force given state.
7519
c7015153
JB
75202011-11-15 Juanma Barranquero <lekktu@gmail.com>
7521
7522 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7523 * frame.el (display-mm-dimensions-alist):
7524 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7525 (outline-move-subtree-down):
7526 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7527 (newsticker--treeview-do-get-node):
7528 * net/quickurl.el (quickurl-list-buffer-name):
7529 * progmodes/dcl-mode.el (dcl-mode):
7530 * progmodes/gdb-mi.el (gdb-mapcar*):
7531 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7532
45261b50
GM
75332011-11-15 Glenn Morris <rgm@gnu.org>
7534
7535 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7536 in a boolean sense, so just make it a boolean, and fix the doc.
7537 (rmail-show-mime-function, rmail-mime-feature)
7538 (rmail-require-mime-maybe): Doc fixes.
7539 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7540
7541 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7542
0d26e0b6
JB
75432011-11-15 Juanma Barranquero <lekktu@gmail.com>
7544
7545 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7546 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7547 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7548 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7549
447f30f6
GM
75502011-11-15 Glenn Morris <rgm@gnu.org>
7551
672b871d
GM
7552 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7553 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7554 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7555 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7556 (rmail-mime, rmail-show-mime): Doc fixes.
7557
f6aa5bb1
GM
7558 * term/ns-win.el (mode-line-frame-identification):
7559 Leave it alone. (Bug#10051)
7560
947cd66b
GM
7561 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7562
447f30f6
GM
7563 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7564 Handle empty buffers. (Bug#9978)
7565
0b381c7e
JB
75662011-11-14 Juanma Barranquero <lekktu@gmail.com>
7567
7568 * international/mule.el (define-charset):
7569 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7570 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7571 * progmodes/verilog-mode.el (verilog-backward-token):
7572 * textmodes/ispell.el (lookup-words):
7573 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7574
71e027ac
GM
75752011-11-14 Glenn Morris <rgm@gnu.org>
7576
56632ce4
GM
7577 * progmodes/executable.el
7578 (executable-make-buffer-file-executable-if-script-p):
7579 Handle file-modes returning nil.
7580
40500957
GM
7581 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7582 message - not necessary, and causes problems. (Bug#9831)
7583
071c2340
GM
7584 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7585
d3cfca60
GM
7586 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7587
71e027ac
GM
7588 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7589 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7590 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7591
89d61221
MR
75922011-11-12 Martin Rudalics <rudalics@gmx.at>
7593
7594 * window.el (window-resize, delete-window): Use window-splits
7595 variable instead of function.
7596 (window-state-get-1, window-state-put-2, window-state-put):
7597 Don't deal with windows' splits status.
7598
98282f6f
GM
75992011-11-12 Glenn Morris <rgm@gnu.org>
7600
7601 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7602 (apropos-documentation): Doc fixes.
7603
40a8bdf6
JB
76042011-11-11 Juanma Barranquero <lekktu@gmail.com>
7605
7606 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7607 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7608
65bd19ff
SM
76092011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * electric.el (electric-indent-post-self-insert-function): Make it
7612 possible for a char to only indent in some circumstances.
7613 (electric-indent-mode): Simplify.
7614
54f9154c
MR
76152011-11-11 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (windows-with-parameter): Remove unused function.
7618 (windows-at-side): Rename to window-at-side-list.
7619 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7620 (window-side-check, window-size-ignore, window-size-fixed-1)
7621 (window-in-direction-2): Prefix with "window--".
7622 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7623
68cbc58b
GM
76242011-11-11 Glenn Morris <rgm@gnu.org>
7625
7626 * subr.el (eval-after-load): If FILE is already loaded,
7627 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7628
b2621720
GM
76292011-11-10 Glenn Morris <rgm@gnu.org>
7630
9a4de110
GM
7631 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7632 Call svn via vc-svn-command rather than vc-do-command.
7633 (vc-svn-command): Add --non-interactive. (Bug#9993)
7634 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7635
b2621720
GM
7636 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7637 Add toggle-read-only. (Bug#7292)
7638 * files.el (toggle-read-only): Mention that it should only
7639 be used interactively. (Bug#10006)
7640
1dce7193
SM
76412011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7642
d9ac1a1e
SM
7643 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7644 Adjust regexp for OCaml warnings.
7645
0c325082
SM
7646 * electric.el (electric-pair-post-self-insert-function): Let user
7647 turn it off buffer-locally (bug#9932).
7648
90132c14
SM
7649 * progmodes/python.el (python-beginning-of-statement):
7650 Rewrite (bug#2703).
7651
1dce7193
SM
7652 * progmodes/compile.el: Better handle TABs (bug#9749).
7653 (compilation-internal-error-properties)
7654 (compilation-next-error-function): Obey the target buffer's
7655 compilation-error-screen-columns.
7656
c4e7c63a
JB
76572011-11-09 Juanma Barranquero <lekktu@gmail.com>
7658
7659 * progmodes/meta-mode.el: Remove obsolete comments.
7660 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7661 Fix typos in docstrings.
7662
2cffd681
MR
76632011-11-09 Martin Rudalics <rudalics@gmx.at>
7664
7665 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7666 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7667 (window--resizable): New function. Make all callers of
7668 window-resizable call window--resizable instead.
7669 (window-resizable): Rewrite in terms of window--resizable.
7670
0edcba87
GM
76712011-11-08 Glenn Morris <rgm@gnu.org>
7672
7673 * progmodes/delphi.el (delphi-mode-syntax-table):
7674 Let define-derived-mode define a proper syntax table. (Bug#9994)
7675
4b0d61e3
SM
76762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * window.el: Stay away from defsubst.
7679 (window-list-no-nils): Remove.
7680 (window-state-get-1, window-state-get): Use backquote instead.
7681
cd394be1 76822011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7683
4b0d61e3 7684 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7685 Fix incorrect use of default argument in `completing-read'.
7686
e1c2c6f2
MR
76872011-11-08 Martin Rudalics <rudalics@gmx.at>
7688
7689 * window.el (display-buffer-function, special-display-function):
7690 Mention display-buffer-record-window but do not mention
7691 help-setup parameter in doc-strings.
b3f4a882 7692 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7693
105216ed
CY
76942011-11-08 Chong Yidong <cyd@gnu.org>
7695
7696 * window.el (window-total-height, window-total-width): Doc fix.
7697 (window-body-size): Move from C.
7698 (window-body-height, window-body-width): Move to C.
7699
0a9f9ab5
SM
77002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * window.el: Make special-display like display-buffer-alist (bug#9532).
7703 (display-buffer--special-action): New function, morphed
7704 from display-buffer--special.
7705 (display-buffer): Use it to handle special-display-buffers at higher
7706 priority (just after display-buffer-alist).
7707 (display-buffer-fallback-action, display-buffer--other-frame-action)
7708 (pop-to-buffer-same-window): Remove display-buffer--special.
7709
a769dd15
GM
77102011-11-07 Glenn Morris <rgm@gnu.org>
7711
7712 * calendar/cal-menu.el (cal-menu-set-date-title):
7713 Do nothing if not in a calendar. (Bug#9976)
7714
05a61ee3
SM
77152011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * files.el (find-file): Always use selected-window.
7718
be7f5545
MR
77192011-11-07 Martin Rudalics <rudalics@gmx.at>
7720
7721 * window.el (window-combinations): Make WINDOW argument
7722 mandatory. Rewrite doc-string.
7723 (walk-window-subtree, window-atom-check, window-min-delta)
7724 (window-max-delta, window--resize-this-window)
7725 (window--resize-root-window-vertically, window-tree)
7726 (balance-windows, window-state-put): Rewrite doc-strings as to
7727 not mention the term "subwindow".
7728 (window--resize-subwindows-skip-p): Rename to
7729 window--resize-child-windows-skip-p.
7730 (window--resize-subwindows-normal): Rename to
7731 window--resize-child-windows-normal.
7732 (window--resize-subwindows): Rename to
7733 window--resize-child-windows.
7734 (window-or-subwindow-p): Rename to window--in-subtree-p.
7735
3c6702ef
ML
77362011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7737
7738 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7739 Ensure that mbox format messages end in two newlines (Bug#9974).
7740
49745b39
CY
77412011-11-06 Chong Yidong <cyd@gnu.org>
7742
7743 * window.el (window-combination-p): Function deleted; its
7744 side-effect is not used in any existing code.
7745 (window-combinations, window-combined-p): Call window-*-child
7746 directly.
7747
24300f5f
CY
77482011-11-05 Chong Yidong <cyd@gnu.org>
7749
7750 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7751 (window-size-ignore, window-state-get): Callers changed.
7752 (window-normalize-window): Rename from window-normalize-any-window.
7753 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7754 (window-normalize-live-window): Delete.
447f16b8
CY
7755 (window-combination-p, window-combined-p, window-combinations)
7756 (walk-window-subtree, window-atom-root, window-min-size)
7757 (window-sizable, window-sizable-p, window-size-fixed-p)
7758 (window-min-delta, window-max-delta, window-resizable)
7759 (window-resizable-p, window-full-height-p, window-full-width-p)
7760 (window-current-scroll-bars, window-point-1, set-window-point-1)
7761 (window-at-side-p, window-in-direction, window-resize)
7762 (adjust-window-trailing-edge, maximize-window, minimize-window)
7763 (window-deletable-p, delete-window, delete-other-windows)
7764 (record-window-buffer, unrecord-window-buffer)
7765 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7766 (quit-window, split-window, window-state-put)
7767 (set-window-text-height, fit-window-to-buffer)
7768 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7769
89bd5ee1
EZ
77702011-11-04 Eli Zaretskii <eliz@gnu.org>
7771
53479029
EZ
7772 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7773 rfc2047-decode-string.
7774 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7775 warnings.
7776
89bd5ee1
EZ
7777 * window.el (window-body-height, window-body-width): Mention in
7778 the doc string that the return values are in frame's canonical
7779 units. (Bug#9949)
7780
bd17fdee
AM
77812011-11-03 Alan Mackenzie <acm@muc.de>
7782
7783 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7784 change in cc-engine.el.
7785
acc825c5
SM
77862011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7789
1885e5b8
MR
77902011-11-02 Martin Rudalics <rudalics@gmx.at>
7791
7792 * window.el (quit-window): Call unrecord-window-buffer after
7793 showing another buffer in the window. (Bug#9937)
acc825c5 7794 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7795
ebe06da9
JB
77962011-11-02 Juanma Barranquero <lekktu@gmail.com>
7797
7798 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7799 Accept status with more than 9 shelves. (Bug#9935)
7800 Reported by Colin D Bennett <colin@gibibit.com>.
7801
4ee88440
MR
78022011-11-01 Martin Rudalics <rudalics@gmx.at>
7803
7804 * help.el (with-help-window): Don't reference
7805 temp-buffer-show-specifiers in doc-string.
7806
08e1d82c
AS
78072011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7808
7809 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7810 menu-item.
7811
84bd6e9e
VJL
78122011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7813
7814 * whitespace.el: New version 13.2.2.
7815 (whitespace-newline-mode): Disable properly. Reported by Sarah
7816 <EmacsWiki>.
7817
dba0634a
UJ
78182011-10-30 Ulf Jasper <ulf.jasper@web.de>
7819
7820 * net/newst-treeview.el: Remove "Time-stamp".
7821 (newsticker--group-manage-orphan-feeds): Do not call
7822 newsticker--treeview-tree-update.
db22a3c2
JB
7823 (newsticker-treeview-update, newsticker-treeview):
7824 Call newsticker--treeview-tree-update if necessary.
dba0634a 7825
3d8daefe
MR
78262011-10-30 Martin Rudalics <rudalics@gmx.at>
7827
7828 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7829 (window-iso-combinations): Remove "iso-" infix.
7830 Suggested by Chong Yidong.
3d8daefe
MR
7831 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7832 (window-max-delta-1, window-resize, window--resize-siblings)
7833 (window--resize-this-window, adjust-window-trailing-edge)
7834 (split-window, balance-windows-1)
7835 (shrink-window-if-larger-than-buffer):
7836 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7837 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7838
1bc4c3ae
SM
78392011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7842 in place (bug#9907).
7843 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7844 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7845 (eshell-structure-basic-command, eshell-rewrite-while-command)
7846 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7847 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7848 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7849 (eshell-do-pipelines-synchronously, eshell-eval-command):
7850 Use backquotes and prefer setq to set.
7851 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7852 (eshell-macrop): Use functionp.
c1e2f5fa 7853 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7854
30b65d9c
CY
78552011-10-30 Chong Yidong <cyd@gnu.org>
7856
7857 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7858 instead of set-mark (Bug#9810).
7859
2d197ffb
CY
78602011-10-30 Chong Yidong <cyd@gnu.org>
7861
7862 * window.el (split-window-below, split-window-right): Rename from
7863 split-window-above-each-other and split-window-side-by-side
7864 respectively. All callers changed.
7865 (split-window-sensibly, split-window-sensibly): Use them.
7866 (split-window-keep-point): Doc fix.
7867
7868 * isearch.el: Add isearch-scroll property to split-window-below
7869 and split-window-right.
7870
7871 * follow.el (follow-mode):
7872 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7873 * progmodes/ada-xref.el (ada-gdb-application):
7874 * emulation/vip.el (vip-buffer-in-two-windows):
7875 * image-dired.el (image-dired-dired-with-window-configuration):
7876 * dired-x.el (dired-do-find-marked-files):
7877 * dired.el (dired-pop-to-buffer):
7878 * bs.el (bs--show-with-configuration):
7879 * vc/emerge.el (emerge-setup-windows):
7880 * textmodes/two-column.el (2C-two-columns):
7881 * textmodes/reftex-toc.el (reftex-toc):
7882 * progmodes/gdb-mi.el (gdb-setup-windows):
7883 * progmodes/fortran.el (fortran-window-create):
7884 * net/newst-treeview.el (newsticker--treeview-window-init):
7885 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7886 * emulation/tpu-edt.el (tpu-gold-map):
7887 * emulation/crisp.el (crisp-mode-map):
7888 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7889
38bb2ca8
CY
78902011-10-29 Chong Yidong <cyd@gnu.org>
7891
aa4de341
CY
7892 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7893
e1eb5385
CY
7894 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7895
5d2ece3c
CY
7896 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7897 forged Ispell output (Bug#7904).
7898
38bb2ca8
CY
7899 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7900
d0af9f77
SM
79012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * doc-view.el: Avoid ugly errors about not finding nil.
7904 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7905 (doc-view-dvipdf-program, doc-view-unoconv-program)
7906 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7907 Avoid nil or absolute file name as default value.
7908 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7909
52bedd34
AM
79102011-10-28 Alan Mackenzie <acm@muc.de>
7911
db22a3c2 7912 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7913
7e43cfa5
AM
79142011-10-28 Alan Mackenzie <acm@muc.de>
7915
7916 Amend the handling of c-beginning/end-of-defun in nested declaration
7917 scopes.
7918
52bedd34
AM
7919 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7920 cc-langs.el. Change it to a defcustom.
7e43cfa5 7921
52bedd34
AM
7922 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7923 cc-vars.el.
7e43cfa5 7924
d0af9f77
SM
7925 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7926 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7927
52bedd34 7928 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7929 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7930 (c-widen-to-enclosing-decl-scope): New function.
7931 (c-while-widening-to-decl-block): New macro.
7932 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7933 outward for defun boundaries, and correspondingly change symbol
7934 `respect-enclosure' to `go-outward'.
7935 (c-declaration-limits): Change algorithm to report only the "innermost"
7936 defun's boundaries.
7937
1a2ce9ee
DD
79382011-10-28 Deniz Dogan <deniz@dogan.se>
7939
7940 * net/rcirc.el (rcirc-mode): Use hard newlines.
7941
bc97a826
AM
79422011-10-28 Alan Mackenzie <acm@muc.de>
7943
7944 Amend to indent and fontify macros "which include their own semicolon"
7945 correctly, using the "virtual semicolon" mechanism.
7946
52bedd34 7947 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7948
d0af9f77 7949 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7950 Recode to scan one line at a time rather than having \n and \r
58179cce 7951 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7952 (c-forward-label): Amend for virtual semicolons.
58179cce 7953 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7954
52bedd34
AM
7955 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7956 of the new C macros.
bc97a826 7957
52bedd34 7958 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7959 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7960 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7961 (c-opt-cpp-macro-define): Make into a full language variable.
7962 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7963 AWK Mode (including \n, \r) removed, no longer needed.
7964
d0af9f77
SM
7965 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7966 Invoke c-make-macro-with-semi-re.
bc97a826 7967
52bedd34
AM
7968 * progmodes/cc-vars.el (c-macro-with-semi-re):
7969 (c-macro-names-with-semicolon): New variables.
58179cce 7970 (c-make-macro-with-semi-re): New function.
bc97a826 7971
7a6c0941
SM
79722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * vc/log-edit.el: Fill empty field rather than adding new one.
7975 (log-edit-add-field): New function.
7976 (log-edit-insert-changelog): Use it.
7977
b0c4cdcf
ML
79782011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7979
7980 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7981
ee1f1da9
SM
79822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7985 (gdb--check-interpreter): New function.
7986 (gdb): Use it.
7987
51bc5f8b
GM
79882011-10-27 Glenn Morris <rgm@gnu.org>
7989
416a2c45
GM
7990 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7991 (least-positive-float, least-negative-float)
7992 (least-positive-normalized-float, least-negative-normalized-float)
7993 (float-epsilon, float-negative-epsilon):
7994 Remove unnecessary declarations.
7995
7996 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7997 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7998 (least-positive-float, least-negative-float)
7999 (least-positive-normalized-float, least-negative-normalized-float)
8000 (float-epsilon, float-negative-epsilon): Add doc-strings,
8001 based on those in cl.texi.
8002
51bc5f8b
GM
8003 * files.el (set-visited-file-name): If the major-mode changed,
8004 reload the local variables. (Bug#9796)
8005
15de15c6
CY
80062011-10-27 Chong Yidong <cyd@gnu.org>
8007
8008 * subr.el (change-major-mode-after-body-hook): New hook.
8009 (run-mode-hooks): Run it.
8010
ee1f1da9
SM
8011 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8012 Use change-major-mode-before-body-hook.
15de15c6
CY
8013
8014 * simple.el (fundamental-mode):
8015 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8016 change introducing fundamental-mode-hook.
8017
5430d399
JB
80182011-10-26 Juanma Barranquero <lekktu@gmail.com>
8019
acc825c5 8020 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8021
ad74a69e
MA
80222011-10-26 Michael Albinus <michael.albinus@gmx.de>
8023
8024 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8025 tramp.el explicitly. (Bug#7583)
ad74a69e 8026
71d4c2a5
SM
80272011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * progmodes/octave-mod.el:
8030 * progmodes/octave-inf.el: Update maintainer.
8031
b1f6fa26
CY
80322011-10-26 Chong Yidong <cyd@gnu.org>
8033
8034 * subr.el (with-wrapper-hook): Rewrite doc.
8035
3f04efd6
MA
80362011-10-25 Michael Albinus <michael.albinus@gmx.de>
8037
8038 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8039 filenames "/method:foo:". (Bug#9793)
3f04efd6 8040
410488d3
SM
80412011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8044 (bug#9865).
8045
c1ebb47e
GM
80462011-10-24 Glenn Morris <rgm@gnu.org>
8047
8048 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8049
7f5c46c7
MA
80502011-10-24 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * notifications.el: Add the requirement of a running D-Bus session
8053 bus to the Commentary.
8054
db2440b6
JL
80552011-10-24 Juri Linkov <juri@jurta.org>
8056
8057 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8058 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8059 (Bug#9364)
8060
feecf435
JL
80612011-10-24 Juri Linkov <juri@jurta.org>
8062
8063 * info.el (Info-following-node-name-re): Add newline to the list
8064 of allowed characters for leading space. (Bug#9824)
8065
a3839de2
SM
80662011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8067
acc825c5
SM
8068 * progmodes/octave-inf.el (inferior-octave-mode-map):
8069 Fix C-c C-h binding.
a3839de2
SM
8070 * progmodes/octave-mod.el (octave-help): Remove.
8071
09388e76
MA
80722011-10-23 Michael Albinus <michael.albinus@gmx.de>
8073
8074 Sync with Tramp 2.2.3.
8075
8076 * net/tramp-cache.el (top): Pacify byte-compiler using
8077 `init-file-user' and `site-run-file'.
8078
8079 * net/trampver.el: Update release number.
8080
86c60681
CY
80812011-10-23 Chong Yidong <cyd@gnu.org>
8082
8083 * files.el (toggle-read-only): Remove obsolete comment about
8084 version control.
8085
8086 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8087 for toggle-read-only. Note that this hasn't called vc-next-action
8088 since 2008-05-02, though it wasn't documented at the time.
8089
a3839de2
SM
8090 * vc/ediff-init.el (ediff-toggle-read-only-function):
8091 Use toggle-read-only.
86c60681 8092
cd5495ff
AM
80932011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8094
8095 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8096 of c-parse-state.
8097
00b77525 8098 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8099 correct faulty logical expression.
cd5495ff
AM
8100 (c-parse-state-state, c-record-parse-state-state):
8101 (c-replay-parse-state-state): New defvar/defuns.
8102 (c-debug-parse-state): Use new functions.
8103
42ee24ed
MR
81042011-10-22 Martin Rudalics <rudalics@gmx.at>
8105
8106 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8107 last fix. Use window-in-direction correctly.
42ee24ed 8108
a7dee7e7
CY
81092011-10-21 Chong Yidong <cyd@gnu.org>
8110
8111 * progmodes/idlwave.el (idlwave-mode):
8112 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8113 require-final-newline; that's done in prog-mode.
8114 Suggested by Stefan Monnier.
a7dee7e7 8115
e07b9a6d
MR
81162011-10-21 Martin Rudalics <rudalics@gmx.at>
8117
8118 * mouse.el (mouse-drag-window-above)
8119 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8120 (mouse-drag-mode-line-1, mouse-drag-header-line)
8121 (mouse-drag-vertical-line-rightward-window): Remove.
8122 (mouse-drag-line): New function.
8123 (mouse-drag-mode-line, mouse-drag-header-line)
8124 (mouse-drag-vertical-line): Call mouse-drag-line.
8125 * window.el (window-at-side-p, windows-at-side): New functions.
8126
7e1361d9
UM
81272011-10-21 Ulrich Mueller <ulm@gentoo.org>
8128
8129 * tar-mode.el (tar-grind-file-mode):
8130 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8131
30fcaf3a
CY
81322011-10-21 Chong Yidong <cyd@gnu.org>
8133
8134 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8135 * progmodes/vera-mode.el (vera-mode):
8136 Use mode-require-final-newline.
30fcaf3a 8137
516eddb0
GM
81382011-10-20 Glenn Morris <rgm@gnu.org>
8139
db22a3c2 8140 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8141
10d5f513
CS
81422011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8143
8144 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8145
ac6c8639
CY
81462011-10-20 Chong Yidong <cyd@gnu.org>
8147
8148 * emulation/cua-base.el (cua-mode):
8149 * mail/footnote.el (footnote-mode):
8150 * mail/mailabbrev.el (mail-abbrevs-mode):
8151 * net/xesam.el (xesam-minor-mode):
8152 * progmodes/bug-reference.el (bug-reference-mode):
8153 * progmodes/cap-words.el (capitalized-words-mode):
8154 * progmodes/compile.el (compilation-minor-mode)
8155 (compilation-shell-minor-mode):
8156 * progmodes/gud.el (gud-tooltip-mode):
8157 * progmodes/hideif.el (hide-ifdef-mode):
8158 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8159 * progmodes/subword.el (subword-mode):
8160 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8161 * progmodes/which-func.el (which-function-mode):
8162 * term/tvi970.el (tvi970-set-keypad-mode):
8163 * term/vt100.el (vt100-wide-mode):
8164 * textmodes/flyspell.el (flyspell-mode):
8165 * textmodes/ispell.el (ispell-minor-mode):
8166 * textmodes/nroff-mode.el (nroff-electric-mode):
8167 * textmodes/paragraphs.el (use-hard-newlines):
8168 * textmodes/refill.el (refill-mode):
8169 * textmodes/reftex.el (reftex-mode):
8170 * textmodes/rst.el (rst-minor-mode):
8171 * textmodes/sgml-mode.el (html-autoview-mode)
8172 (sgml-electric-tag-pair-mode):
8173 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8174 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8175 * emulation/crisp.el (crisp-mode):
8176 * emacs-lisp/eldoc.el (eldoc-mode):
8177 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8178 minor mode behavior.
8179
aa42ab43
JL
81802011-10-19 Juri Linkov <juri@jurta.org>
8181
8182 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8183 the list of hard-coded chars with escape-glyph face.
8184
89400f1d
SM
81852011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8188
305c07f6
MA
81892011-10-19 Michael Albinus <michael.albinus@gmx.de>
8190
8191 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8192 running process.
8193
13754b54
GM
81942011-10-19 Glenn Morris <rgm@gnu.org>
8195
8196 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8197 Ignore ignored files. (Bug#9726)
8198
06e21633
CY
81992011-10-19 Chong Yidong <cyd@gnu.org>
8200
8201 Doc fix for minor modes, stating that an omitted argument enables
8202 the mode unconditionally when called from Lisp.
8203
8204 * abbrev.el (abbrev-mode):
8205 * allout.el (allout-mode):
8206 * autoinsert.el (auto-insert-mode):
8207 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8208 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8209 (global-auto-revert-mode):
8210 * battery.el (display-battery-mode):
8211 * composite.el (global-auto-composition-mode)
8212 (auto-composition-mode):
8213 * delsel.el (delete-selection-mode):
8214 * desktop.el (desktop-save-mode):
8215 * dired-x.el (dired-omit-mode):
8216 * dirtrack.el (dirtrack-mode):
8217 * doc-view.el (doc-view-minor-mode):
8218 * double.el (double-mode):
8219 * electric.el (electric-indent-mode, electric-pair-mode):
8220 * emacs-lock.el (emacs-lock-mode):
8221 * epa-hook.el (auto-encryption-mode):
8222 * follow.el (follow-mode):
8223 * font-core.el (font-lock-mode):
8224 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8225 * help.el (temp-buffer-resize-mode):
8226 * hilit-chg.el (highlight-changes-mode)
8227 (highlight-changes-visible-mode):
8228 * hi-lock.el (hi-lock-mode):
8229 * hl-line.el (hl-line-mode, global-hl-line-mode):
8230 * icomplete.el (icomplete-mode):
8231 * ido.el (ido-everywhere):
8232 * image-file.el (auto-image-file-mode):
8233 * image-mode.el (image-minor-mode):
8234 * iswitchb.el (iswitchb-mode):
8235 * jka-cmpr-hook.el (auto-compression-mode):
8236 * linum.el (linum-mode):
8237 * longlines.el (longlines-mode):
8238 * master.el (master-mode):
8239 * mb-depth.el (minibuffer-depth-indicate-mode):
8240 * menu-bar.el (menu-bar-mode):
8241 * minibuf-eldef.el (minibuffer-electric-default-mode):
8242 * mouse-sel.el (mouse-sel-mode):
8243 * msb.el (msb-mode):
8244 * mwheel.el (mouse-wheel-mode):
8245 * outline.el (outline-minor-mode):
8246 * paren.el (show-paren-mode):
8247 * recentf.el (recentf-mode):
8248 * reveal.el (reveal-mode, global-reveal-mode):
8249 * rfn-eshadow.el (file-name-shadow-mode):
8250 * ruler-mode.el (ruler-mode):
8251 * savehist.el (savehist-mode):
8252 * scroll-all.el (scroll-all-mode):
8253 * scroll-bar.el (scroll-bar-mode):
8254 * server.el (server-mode):
8255 * shell.el (shell-dirtrack-mode):
8256 * simple.el (auto-fill-mode, transient-mark-mode)
8257 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8258 (line-number-mode, column-number-mode, size-indication-mode)
8259 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8260 * strokes.el (strokes-mode):
8261 * time.el (display-time-mode):
8262 * t-mouse.el (gpm-mouse-mode):
8263 * tool-bar.el (tool-bar-mode):
8264 * tooltip.el (tooltip-mode):
8265 * type-break.el (type-break-mode-line-message-mode)
8266 (type-break-query-mode):
8267 * view.el (view-mode):
8268 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8269 (global-whitespace-mode, global-whitespace-newline-mode):
8270 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8271
a3839de2
SM
8272 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8273 Fix autogenerated docstring.
06e21633 8274
5214e501
JL
82752011-10-19 Juri Linkov <juri@jurta.org>
8276
8277 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8278 by checking environment variables "DESKTOP_SESSION" and
8279 "XDG_CURRENT_DESKTOP". (Bug#9779)
8280
195f8db9
JL
82812011-10-19 Juri Linkov <juri@jurta.org>
8282
8283 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8284 (browse-url-chromium-program, browse-url-chromium-arguments):
8285 New defcustoms.
8286 (browse-url-default-browser): Check for `browse-url-chromium' and
8287 call `browse-url-chromium-program'.
8288 (browse-url-chromium): New command. (Bug#9779)
8289
343a34ff
JB
82902011-10-18 Juanma Barranquero <lekktu@gmail.com>
8291
8292 * facemenu.el (list-colors-duplicates): On Windows, detect more
8293 duplicates by assuming that only colors matching "^System" are
8294 special "system colors". (Bug#9722)
8295
6978a151
SM
82962011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8299 to distinguish the author from the committer.
8300
6a80b297
MA
83012011-10-18 Michael Albinus <michael.albinus@gmx.de>
8302
8303 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8304
b31a5677
JK
83052011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8306
8307 * international/mule.el (sgml-html-meta-auto-coding-function):
8308 Add support for detecting encoding in HTML5 specified only as
8309 <meta charset="UTF-8">. Implementation just makes http-equiv and
8310 content-type parts from HTML4 encoding string optional. (Bug#9716)
8311
80c6d77f
GM
83122011-10-18 Glenn Morris <rgm@gnu.org>
8313
8314 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8315
08b0fee8
CY
83162011-10-18 Chong Yidong <cyd@gnu.org>
8317
8318 * faces.el (cursor): Doc fix.
8319
67e729a5
CY
83202011-10-17 Chong Yidong <cyd@gnu.org>
8321
8322 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8323
343a34ff 83242011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8325
8326 * dirtrack.el (dirtrack): Support shell buffers with path
8327 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8328
0bc06380
TZ
83292011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8330
8331 * json.el: Bump version to 1.3 and note change in History.
8332 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8333
8b79f3e0
SM
83342011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8335
5a7c536b
SM
8336 * comint.el (comint-insert-input, comint-send-input)
8337 (comint-get-old-input-default, comint-backward-matching-input)
8338 (comint-next-prompt): Use nil instead of `input' for field property of
8339 past user input (bug#114).
8340
96a8a0df
SM
8341 * minibuffer.el (completion--replace): Inherit surrounding properties
8342 (bug#114).
8343 (minibuffer-complete-and-exit): Use it.
8344
8b79f3e0
SM
8345 * comint.el (comint--table-subvert): Quote the all-completions output
8346 (bug#9160).
8347
b8f7ff0d
MR
83482011-10-17 Martin Rudalics <rudalics@gmx.at>
8349
8b79f3e0 8350 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8351
b8f7ff0d 8352 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8353 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8354 entries and separate them from frame entries.
8355
c235b555
GM
83562011-10-15 Glenn Morris <rgm@gnu.org>
8357
8358 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8359 Doc fixes.
8360
6bbfa6e1
CY
83612011-10-15 Chong Yidong <cyd@stupidchicken.com>
8362
8b79f3e0
SM
8363 * net/network-stream.el (network-stream-open-starttls):
8364 Improve detection of failure due to lack of TLS support.
ec5c990d 8365
6bbfa6e1
CY
8366 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8367 putting the input text in front and in bold.
8368
98488977
SM
83692011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8370
3d1337be
SM
8371 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8372
ee0b45e4
SM
8373 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8374 empty buffer.
8375
98488977
SM
8376 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8377 unread-command-events rather than pushing yet-another event.
8378
186f4720
EZ
83792011-10-14 Eli Zaretskii <eliz@gnu.org>
8380
8381 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8382 the explanation of the possible choices. Make the options passed
8383 to completing-read shorter.
8384
8b7a997c
AM
83852011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8386
8387 * textmodes/flyspell.el (flyspell-large-region): Make sure
8388 extended character mode is used if defined (Bug#1339).
8389
12587bbb
EZ
83902011-10-13 Eli Zaretskii <eliz@gnu.org>
8391
8392 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8393 character info for LRE, LRO, RLE, and RLO characters by appending
8394 an invisible PDF.
12587bbb 8395
bad41229
SM
83962011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8399 even in case of error; add debug spec; simplify data flow.
8400 (with-timeout-handler): Remove.
8401
28dbc92f
MA
84022011-10-12 Michael Albinus <michael.albinus@gmx.de>
8403
8404 Fix Bug#6019, Bug#9315.
8405
8406 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8407 complete `buffer-file-name', the local file name part could look
8408 remotely (for example on VMS).
8409
8410 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8411 `tramp-run-real-handler'.
8412 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8413 already quoted by '"'.
8414
8415 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8416 Let `file-name-handler-alist' be nil, the local file name part
8417 could look remotely (for example on VMS).
8418
e1b0b23a
SM
84192011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8422 from here...
8423 (flyspell-post-command-hook): ...to here.
8424
a120bde9
SM
84252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8428 if not needed.
8429 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8430 using completion. Protect against "slow" callers.
8431 Remove the "message hack".
8432
7ce7717b
JL
84332011-10-11 Juri Linkov <juri@jurta.org>
8434
8435 * isearch.el (isearch-lazy-highlight-word): New variable.
8436 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8437 Use it. (Bug#9727)
8438
c02ee9d6
GM
84392011-10-11 Glenn Morris <rgm@gnu.org>
8440
8441 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8442 like f90-previous-statement does.
8443
93e616fd 84442011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8445
1f190e73 8446 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8447 only in interactive use, to avoid error.
8448
af7b6078
SM
84492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * minibuffer.el (completion-file-name-table): Fix last change,
8452 i.e. ignore normal errors but not the other ones.
8453
0563dae9
MR
84542011-10-10 Martin Rudalics <rudalics@gmx.at>
8455
8456 * window.el (special-display-buffer-names)
8457 (special-display-regexps): Remove some remnants of earlier
8458 changes from doc-strings.
366ca7f3
MR
8459 (quit-windows-on): New function.
8460
8461 * vc/vc.el (vc-revert, vc-rollback):
8462 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8463 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8464 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8465
49677495
MR
84662011-10-09 Martin Rudalics <rudalics@gmx.at>
8467
8468 * window.el (frame-auto-hide-function): Add version tag.
8469 (Bug#9699)
8470
56f2d1e1
MA
84712011-10-09 Michael Albinus <michael.albinus@gmx.de>
8472
8473 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8474 condition.
8475
112a6592
LL
84762011-10-09 Leo Liu <sdl.web@gmail.com>
8477
8478 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8479 (Bug#9701)
8480
0812589b
GM
84812011-10-08 Glenn Morris <rgm@gnu.org>
8482
8483 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8484 before the first code statement zero indent. (Bug#9690)
8485
b2b0776e
CY
84862011-10-08 Chong Yidong <cyd@stupidchicken.com>
8487
8488 * simple.el (count-words-region): Always count in the region.
8489 Report the number of lines and characters too.
8490 (count-words): New command, which counts in the buffer if the
8491 region is inactive, as count-words-region used to.
8492 (count-words--message): New function. Handle plurals.
8493 (count-lines-region): Make it an alias for count-words-region.
8494
8495 * bindings.el (esc-map): Replace count-lines-region with
8496 count-words-region.
8497
c557cd6b
MR
84982011-10-08 Martin Rudalics <rudalics@gmx.at>
8499
8500 * window.el (window--delete): Delete dedicated frame
8501 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8502 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8503
61a57ef4 85042011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8505
3a7d293b 8506 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8507
c3833279
CY
85082011-10-07 Chong Yidong <cyd@stupidchicken.com>
8509
8510 * bindings.el ([M-left],[M-right]): Bind to left-word and
8511 right-word respectively.
8512
21ce8245
GM
85132011-10-07 Glenn Morris <rgm@gnu.org>
8514
8515 * cus-start.el (debug-on-quit): Fix custom type.
8516
6d823bb2
LMI
85172011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
0181e193
LMI
8519 * subr.el (define-key-after): Clarify that the function is not
8520 useful for non-menu keymaps.
8521
6d823bb2
LMI
8522 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8523
8e3459ce 85242011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8525
21ce8245 8526 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8527 in current minibuffer (Fix bug with recursive minibuffers).
8528
a1c2d21e
CY
85292011-10-06 Chong Yidong <cyd@stupidchicken.com>
8530
8531 * progmodes/gdb-mi.el (gdb): Doc fix.
8532
5a4cf282
MR
85332011-10-05 Martin Rudalics <rudalics@gmx.at>
8534
8535 * window.el (frame-auto-hide-function): New option replacing
8536 frame-auto-delete. Suggested by Stefan Monnier.
8537 (window--delete): Call frame-auto-hide-function instead of
8538 investigating frame-auto-delete.
c96111ea
MR
8539 (window-point-1, set-window-point-1): New functions.
8540 (window-in-direction, record-window-buffer, window-state-get-1)
8541 (display-buffer-record-window): Use window-point-1 instead of
8542 window-point.
8543 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8544
9854542e
SM
85452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8548
8943cfb0
GM
85492011-10-05 Glenn Morris <rgm@gnu.org>
8550
8551 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8552 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8553
647ab967
LL
85542011-10-05 Leo Liu <sdl.web@gmail.com>
8555
8556 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8557 works with buffer object.
8558
3ddfbced
SM
85592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * mpc.el (mpc-tool-bar-map): Add labels.
8562
bdfa5dd2
GM
85632011-10-04 Glenn Morris <rgm@gnu.org>
8564
8565 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8566
0e2070b5
MR
85672011-10-04 Martin Rudalics <rudalics@gmx.at>
8568
8569 * window.el (window--delete): New function.
8570 (frame-auto-delete): Resuscitate option.
8571 (bury-buffer, replace-buffer-in-windows)
8572 (quit-window): Rewrite using window--delete.
8573 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8574 Pass display-buffer-mark-dedicated to window--display-buffer-2
8575 (Bug#9639).
8576
3dc61a09
SM
85772011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8578
915a9b64
SM
8579 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8580 returns a list (bug#9554). Add remote file name completion.
8581 * comint.el (comint--table-subvert): Curry and get quote&unquote
8582 functions as arguments.
8583 (comint--complete-file-name-data): Adjust call accordingly.
8584 * pcomplete.el (pcomplete--table-subvert): Remove.
8585 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8586
3dc61a09
SM
8587 * minibuffer.el (completion-table-case-fold): Use currying.
8588 (completion--styles-type, completion--cycling-threshold-type):
8589 New constants.
8590 (completion-styles, completion-category-overrides)
8591 (completion-cycle-threshold): Use them.
8592 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8593 completion-table-case-fold.
8594
8ea0a993
SB
85952011-10-03 Stephen Berman <stephen.berman@gmx.net>
8596
8597 * minibuffer.el (completion-category-overrides): Fix type of styles
8598 and add more user friendly tags (bug#9660).
8599
8c24b7f6
SM
86002011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8603 (mule-input-method-string): New widget.
8604 (default-input-method, language-info-custom-alist): Use it.
8605
428fe61a
SM
86062011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8607
32c1fffd
SM
8608 * pcomplete.el: Require comint.
8609 (pcomplete--common-suffix): Remove.
8610 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8611 (pcomplete--table-subvert): Sync with comint--table-subvert.
8612 (pcomplete--entries): Use comint-completion-file-name-table.
8613 * comint.el (comint-unquote-filename): Simplify.
8614 (comint-completion-file-name-table): New function (bug#9616).
8615 (comint--complete-file-name-data): Use it.
8616
428fe61a
SM
8617 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8618 (pcmpl-gnu-tar-buffer): Remove.
8619 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8620 around. Make sure pcomplete-suffix-list is only changed temporarily.
8621 Don't look inside the tar's file if it's too large.
428fe61a 8622
04c52e2f
CY
86232011-10-01 Chong Yidong <cyd@stupidchicken.com>
8624
ce3cefcc
CY
8625 * cus-edit.el (custom-mode-map):
8626 * epa.el (epa-key-list-mode-map):
8627 * man.el (Man-mode-map):
8628 * startup.el (splash-screen-keymap):
8629 * simple.el (special-mode-map): Use scroll-up-command and
8630 scroll-down-command.
8631
8632 * progmodes/idlw-help.el (idlwave-help-mode-map):
8633 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8634 * net/newst-plainview.el (newsticker-mode-map):
8635 * emulation/ws-mode.el (wordstar-mode-map):
8636 * emulation/vi.el (vi-com-map):
8637 * calc/calc-graph.el (calc-graph-show-dumb):
8638 * term/sun.el (terminal-init-sun):
8639 * term/ns-win.el (global-map):
8640 * progmodes/grep.el (grep-mode-map):
8641 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8642 * mail/rmail.el (rmail-mode-map):
8643 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8644
04c52e2f
CY
8645 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8646 custom-safe-themes as special.
8647
79adf8c8
JD
86482011-10-01 Julien Danjou <julien@danjou.info>
8649
8650 * notifications.el (notifications-notify): Fix docstring.
8651
63bd50d3
PS
86522011-10-01 Per Starbäck <per@starback.se>
8653
8654 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8655
199e4c7e
MR
86562011-09-30 Martin Rudalics <rudalics@gmx.at>
8657
8658 * startup.el (command-line-1): Fix last fix by inserting
8659 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8660 (Bug#9605) and (Bug#9636)
199e4c7e 8661
fe5f08dd
EZ
86622011-09-29 Eli Zaretskii <eliz@gnu.org>
8663
8664 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8665 window is hscrolled, move by logical lines. (Bug#9607)
8666 (line-move-visual): Update the doc string to the above effect.
8667
b5516bbd
MR
86682011-09-29 Martin Rudalics <rudalics@gmx.at>
8669
ccee00c0
MR
8670 * window.el (display-buffer-record-window): When WINDOW is the
8671 selected window use `point' instead of `window-point'. (Bug#9626)
8672
b5516bbd
MR
8673 * startup.el (command-line-1): Use insert-before-markers when
8674 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8675
b5516bbd
MR
8676 * help.el (help-window): Remove variable.
8677
52aa0014
GM
86782011-09-29 Glenn Morris <rgm@gnu.org>
8679
8680 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8681
df9a7357
JB
86822011-09-29 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * descr-text.el (describe-char-categories): Accept category
8685 descriptions more than one line long.
8686
a8406c20
SM
86872011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8688
88d9610c
SM
8689 * simple.el (delete-trailing-whitespace): Fix last change.
8690
a5daf810
SM
8691 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8692 Don't confuse "y => 3" as the beginning of a `y' operation.
8693
a8406c20
SM
8694 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8695 object has more than 4 slots (bug#9613).
8696
a239d4e9
JB
86972011-09-28 Juanma Barranquero <lekktu@gmail.com>
8698
8699 * subr.el (with-output-to-temp-buffer):
8700 * net/quickurl.el (quickurl, quickurl-browse-url):
8701 Fix typos in docstrings.
8702
693fbdb6
EZ
87032011-09-27 Eli Zaretskii <eliz@gnu.org>
8704
8705 * minibuffer.el (completion-styles)
8706 (completion-category-overrides): Cross reference each other in doc
8707 strings.
8708
8b457e28
GM
87092011-09-27 Glenn Morris <rgm@gnu.org>
8710
8711 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8712 to split-string. (Bug#9606)
8713
85a16208
LMI
87142011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8717 (bug#9615).
8718
502f9ebd
CY
87192011-09-27 Chong Yidong <cyd@stupidchicken.com>
8720
8721 * emacs-lisp/package.el (list-packages): Fix echo area message.
8722
7690bdea
LL
87232011-09-27 Leo Liu <sdl.web@gmail.com>
8724
8725 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8726
e2ee6f30
MA
87272011-09-25 Michael Albinus <michael.albinus@gmx.de>
8728
8729 * net/dbus.el (dbus-unregister-object): Don't release services for
8730 registered signals. (Bug#9581)
8731
f3f98342
TZ
87322011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8733
8734 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8735 function that picks between cfengine 2 and 3 support
8736 automatically. Update docs accordingly.
8737
dd7aa8dd
KH
87382011-09-22 Kenichi Handa <handa@m17n.org>
8739
8740 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8741 ZERO.
8742 (indian-itrans-v5-table-for-tamil): New variable.
8743 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8744
3f2b07f8
KM
87452011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8746
8747 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8748 that's true if the current command involved collapsing of text.
8749 It's reset to false at the beginning of the next command.
8750 (allout-post-command-business): Move the cursor to the beginning
8751 of entry if the cursor is hidden and collapsing activity just
8752 happened.
8753
371d6a61
CY
87542011-09-24 Chong Yidong <cyd@stupidchicken.com>
8755
8756 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8757 tracking (Bug#9541).
8758
2ac2721a
UJ
87592011-09-24 Ulf Jasper <ulf.jasper@web.de>
8760
8761 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8762 (newsticker-show-news): Automatically load html rendering package
8763 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8764 because w3m-fill-column is let-bound" and the error "Symbol's value
8765 as variable is void: w3m-fill-column".
2ac2721a 8766
fac7ae53
MA
87672011-09-24 Michael Albinus <michael.albinus@gmx.de>
8768
8769 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8770 Release services only if they are defined. (Bug#9581)
8771
e08b633b
RS
87722011-09-23 Richard Stallman <rms@gnu.org>
8773
e488d29c
RS
8774 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8775 distinguish start of paragraph from start of its text.
8776
19c38752
RS
8777 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8778
e08b633b
RS
8779 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8780 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8781 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8782
0a39f27e
AS
87832011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8784
8785 * international/mule-diag.el (mule-diag): Insert a newline after
8786 each fontset description.
8787
db4e950d
SM
87882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * simple.el (delete-trailing-whitespace):
8791 Document last change; simplify.
8792
eca3f3ea
PW
87932011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8794
d68e189a
PW
8795 * simple.el (delete-trailing-whitespace): Also delete
8796 extra newlines at the end of the buffer.
8797
eca3f3ea
PW
8798 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8799 (picture-newline): Use forward-line so as to ignore fields.
8800
01c157cc
SM
88012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * subr.el (with-wrapper-hook): Fix edebug spec.
8804
022de23e
LMI
88052011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8806
8807 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8808 (bug#4538).
8809
91683089
MA
88102011-09-23 Michael Albinus <michael.albinus@gmx.de>
8811
eca3f3ea
PW
8812 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8813 Fix nasty bug using wrong cached values.
91683089 8814
5bdd6fa4
AM
88152011-09-23 Alan Mackenzie <acm@muc.de>
8816
8817 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8818
97adfb97
CY
88192011-09-23 Chong Yidong <cyd@stupidchicken.com>
8820
8821 * window.el (pop-to-buffer): Ensure right window is selected if we
8822 chose another frame.
8823
d4ef2b50
EZ
88242011-09-22 Eli Zaretskii <eliz@gnu.org>
8825
8826 * simple.el (what-cursor-position): Use get-char-property-change
8827 and next-single-char-property-change, to be able to show display
8828 properties that come from overlays as well as text properties.
8829
72258fe5
CY
88302011-09-22 Chong Yidong <cyd@stupidchicken.com>
8831
8832 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8833
8834 * cmuscheme.el (run-scheme, switch-to-scheme):
8835 * cus-edit.el (customize-group, custom-buffer-create)
8836 (customize-browse):
8837 * info.el (info):
8838 * shell.el (shell):
8839 * mail/sendmail.el (mail):
8840 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8841
8f098516
RS
88422011-09-22 Richard Stallman <rms@gnu.org>
8843
8844 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8845 move back only to line beg, don't move back over blank lines.
8846
e74f1bb6
MA
88472011-09-22 Michael Albinus <michael.albinus@gmx.de>
8848
8849 * files.el (copy-directory): Set directory attributes only in case
8850 they could be retrieved from the source directory. (Bug#9565)
8851
bfeef8b6
DK
88522011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8853
8854 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8855 (hs-find-block-beginning, hs-hide-level-recursive):
8856 Ignore strings as well as comments. (Bug#9502)
8857
7e423bb8
AS
88582011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8859
8860 * progmodes/sql.el (sql-comint-postgres):
8861 Convert port number to a string. (Bug#9566)
8862
b4d72fcf
MR
88632011-09-22 Martin Rudalics <rudalics@gmx.at>
8864
8865 * window.el (quit-window): Undedicate window when switching to
8866 previous buffer. Reported by Thierry Volpiatto
8867 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8868 (special-display-popup-frame): When popping up a new frame reset
8869 its previous buffers to nil. Simplify code.
b4d72fcf 8870
a7b88dc6
MA
88712011-09-21 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8874 and process filter, as done also in `shell-command'.
8875
cf4eacfd
MR
88762011-09-21 Martin Rudalics <rudalics@gmx.at>
8877
eca3f3ea 8878 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8879 Call set-window-start with NOFORCE argument t.
8880 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8881 (quit-window): Reword doc-string. Handle new format of
8882 quit-restore parameter. Don't delete window if it has a
8883 previous buffer we can show instead of the present one.
8884 (display-buffer-record-window): Rewrite using a new format for
8885 the quit-restore window parameter
8886 (special-display-popup-frame, display-buffer-same-window)
8887 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8888 (display-buffer-pop-up-window, display-buffer-use-some-window):
8889 Adapt symbol passed to display-buffer-record-window.
8890 * help.el (help-window-setup): Handle new format of quit-restore
8891 parameter.
8892
8d28cb95
SM
88932011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8894
94ab793f
SM
8895 * faces.el (face-list): Fix docstring (bug#9564).
8896
8d28cb95
SM
8897 * window.el (display-buffer--action-function-custom-type):
8898 Don't include internal functions in the Custom interface.
8899
3820edeb
JL
89002011-09-20 Juri Linkov <juri@jurta.org>
8901
8902 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8903 (Info-forward-node, Info-backward-node, Info-next-preorder)
8904 (Info-last-preorder): Use it. (Bug#9528)
8905
5147931d
JL
89062011-09-20 Juri Linkov <juri@jurta.org>
8907
8908 * info.el (Info-last-preorder): Visit last menu item only when
8909 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8910
cf499a1a
JD
89112011-09-20 Julien Danjou <julien@danjou.info>
8912
8913 * password-cache.el (password-cache-remove): Remove entries even if the
8914 value is nil, so that password with a nil value (negative caching) is
8915 possible to invalidate.
8916
f84e2fe2
LM
89172011-09-20 Lawrence Mitchell <wence@gmx.li>
8918
8919 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8920 all whitespace around breakpoint. (Bug#9553)
8921 (f90-find-breakpoint): Only break at whitespace inside a comment.
8922
78054a46
SM
89232011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * minibuffer.el (completion-file-name-table): Keep track of errors.
8926 (completion-table-with-predicate): Handle the case where pred1 is nil.
8927 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8928
345083b2
SM
89292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8930
e24e27be
SM
8931 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8932 (debugger-return-value): Signal an error if the debugging context does
8933 not await any return value.
8934
345083b2
SM
8935 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8936 * image-mode.el (image-toggle-display-text)
8937 (image-toggle-display-image): Stay away from evil `intangible'.
8938
08d355e3
LL
89392011-09-19 Leo Liu <sdl.web@gmail.com>
8940
8941 * replace.el (occur-revert-arguments): Make it permanent-local.
8942 (occur-mode): Don't call font-lock-defontify.
8943
f01da43f
CY
89442011-09-19 Chong Yidong <cyd@stupidchicken.com>
8945
8946 * net/ldap.el (ldap-search-internal): Don't push empty search
8947 result (Bug#9508).
8948
b6072fa6
SM
89492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8952
443d6696
MA
89532011-09-19 Michael Albinus <michael.albinus@gmx.de>
8954
8955 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8956 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8957
7cc6e154
JL
89582011-09-18 Juri Linkov <juri@jurta.org>
8959
8960 * buff-menu.el (Buffer-menu-mode-map):
8961 * dired.el (dired-mode-map):
8962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8963 (lisp-interaction-mode-map):
8964 * emacs-lisp/package.el (package-menu-mode-map):
8965 * epa.el (epa-key-list-mode-map):
8966 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8967 (menu-bar-options-menu):
8968 * outline.el (outline-mode-menu-bar-map):
8969 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8970 * vc/vc-dir.el (vc-dir-menu-map):
8971 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8972 Capitalize non-function content words in menu item strings.
8973
8974 * dired.el (dired-mode-map): Add menu item for
8975 `image-dired-dired-toggle-marked-thumbs'.
8976
80302a81
JL
89772011-09-18 Juri Linkov <juri@jurta.org>
8978
8979 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8980 to `isearch-case-fold-search' and restore its original value
8981 after the `isearch-mode' call.
8982
46c5cf66
JL
89832011-09-18 Juri Linkov <juri@jurta.org>
8984
8985 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8986 because `zgrep' returns 1 for successful matches (bug#9226).
8987
d18b513b
JL
89882011-09-18 Juri Linkov <juri@jurta.org>
8989
8990 * info.el (Info-extract-menu-node-name): Check the second match
8991 for empty string (second test-case of bug#9528).
8992 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8993 intermediate nodes to the history (first test-case of bug#9528).
8994
72753f87
JL
89952011-09-18 Juri Linkov <juri@jurta.org>
8996
8997 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8998 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8999
c9384295
JL
90002011-09-18 Juri Linkov <juri@jurta.org>
9001
1154d12e
JB
9002 * info.el (Info-file-supports-index-cookies):
9003 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9004 outputs one more line for long file names (bug#4142).
c9384295 9005
d473dce8
CY
90062011-09-18 Chong Yidong <cyd@stupidchicken.com>
9007
9008 * newcomment.el (comment-normalize-vars): If prompting for
9009 comment-start, set comment-start-skip too (Bug#8424).
9010
2176854d
JB
90112011-09-18 Johan Bockgård <bojohan@gnu.org>
9012
9013 * icomplete.el: Fix previous fix of Bug#5849.
9014 (icomplete-mode): Don't set completion-show-inline-help.
9015 (icomplete-minibuffer-setup): Set completion-show-inline-help
9016 locally during icompletion.
9017
3aace4e4
CY
90182011-09-18 Chong Yidong <cyd@stupidchicken.com>
9019
c940224f
CY
9020 * woman.el (woman2-process-escapes): Don't delete unrecognized
9021 escapes (Bug#7843).
9022
3aace4e4
CY
9023 * files.el (inhibit-first-line-modes-regexps): Add image files.
9024 (hack-local-variables-prop-line): Return nil for malformed
9025 prop-lines (Bug#9044).
9026
710dec63
MA
90272011-09-18 Michael Albinus <michael.albinus@gmx.de>
9028
9029 * net/tramp.el (top): Don't require 'shell.
9030 (tramp-methods): Fix docstring.
9031 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9032 Return complete remote file name. Handle "smb" case.
9033 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9034 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9035
9036 * net/tramp-compat.el (top): Require 'shell.
9037
9038 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9039 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9040 `tramp-current-host'.
9041 (tramp-get-remote-tmpdir): Remove.
9042
9043 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9044 `tramp-tmpdir' entries.
9045 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9046 (tramp-smb-handle-file-attributes): Ignore errors.
9047 (tramp-smb-wait-for-output): Check also for process end.
9048
5d5ac8ec
LMI
90492011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9050
9051 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9052 when sending QUIT (bug#9312).
9053
8c0f49f0
CY
90542011-09-17 Chong Yidong <cyd@stupidchicken.com>
9055
9056 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9057 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9058 occur-mode-display-occurrence.
9059 (occur-edit-mode): Add usage message.
9060 (occur-cease-edit): New command.
9061 (occur-after-change-function): Use text properties to find the
9062 position of the prefix text.
9063 (occur-engine): Set stickiness of prefix text properties.
9064
8f1383f7
GM
90652011-09-17 Glenn Morris <rgm@gnu.org>
9066
9067 * progmodes/etags.el (complete-tag):
9068 Fix call to completion-in-region. (Bug#9526)
9069
744ba0e3
JL
90702011-09-17 Juri Linkov <juri@jurta.org>
9071
9072 * textmodes/ispell.el (ispell-word): Add to the error message
9073 the word, ispell program name and current dictionary (bug#9121).
9074 (ispell-tex-arg-end): Capitalize "error" in the error message.
9075
d9bbf400
AS
90762011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9077
9078 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9079 check. (Bug#4251)
9080
8da11505
JL
90812011-09-17 Juri Linkov <juri@jurta.org>
9082
9083 * window.el (window-safe-min-height, window-safe-min-width):
9084 Fix typos (followup to bug#9522).
9085
a91adc7e
SJ
90862011-09-17 Sven Joachim <svenjoac@gmx.de>
9087
9088 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9089
064f328a
EZ
90902011-09-16 Eli Zaretskii <eliz@gnu.org>
9091
9092 * simple.el (line-move): If goal-column is set, move by logical
9093 lines, not by display lines. (Bug#971)
9094 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9095 to reflect the above change.
9096
e69df516
SM
90972011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * image.el (imagemagick-register-types): Use regexp-opt.
9100
cbb0f9ab
CY
91012011-09-15 Chong Yidong <cyd@stupidchicken.com>
9102
9103 * window.el (display-buffer-base-action): Rename from
9104 display-buffer-default-action. Make default value empty.
9105 (display-buffer-overriding-action): Convert to defvar.
9106 (display-buffer-fallback-action): New var.
9107
25322144
CY
91082011-09-15 Chong Yidong <cyd@stupidchicken.com>
9109
9110 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9111 declaration.
9112 (package--add-to-archive-contents): If there is a duplicate entry
9113 with an older version, remove it.
9114 (package-menu-mark-delete, package-menu-mark-install)
9115 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9116 (package-menu-mark-obsolete-for-deletion):
9117 Use package-menu-get-status instead of a regexp search.
25322144
CY
9118 (package-menu-get-status): Use tabulated-list-entry.
9119 (package-menu-mark-upgrades): New command.
d770725a 9120 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9121 (package-menu-execute): Do installation before deletion.
9122 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9123 instead of checking major-mode.
9124 (package-menu--find-upgrades): New function.
9125
7520339c
LMI
91262011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127
9128 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9129 passwords in the log buffer.
65a046c4
LMI
9130 (smtpmail-process-filter): Update the process marker so that the
9131 "broken by peer" status message is inserted in the right place.
7520339c 9132
d3c30954
SM
91332011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9134
3fe48822
SM
9135 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9136 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9137 bibtex-completion-at-point-function.
9138 (bibtex-completion-at-point-function): Use them.
9139
1b8b3954
SM
9140 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9141
d3c30954
SM
9142 * mpc.el (mpc-constraints-tag-lookup): New function.
9143 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9144 also to browser "album|playlist".
9145
72779976
JL
91462011-09-14 Juri Linkov <juri@jurta.org>
9147
9148 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9149 (isearch-edit-string): Use length of `isearch-string' when
9150 `isearch-fail-pos' returns nil.
9151 (isearch-message): Remove duplicate code and call
9152 `isearch-fail-pos' with arg `t'.
9153
a0bf2bcd
CY
91542011-09-14 Chong Yidong <cyd@stupidchicken.com>
9155
17bb0a2d
CY
9156 * replace.el (occur-mode-goto-occurrence): Don't force using other
9157 window (Bug#9499).
9158
a0bf2bcd
CY
9159 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9160
f678e0b6
MR
91612011-09-14 Martin Rudalics <rudalics@gmx.at>
9162
9163 * window.el (display-buffer-window): Remove.
9164 (display-buffer-record-window): Use help-setup window parameter
9165 instead of variable display-buffer-window.
9166 (display-buffer-function, special-display-buffer-names)
9167 (special-display-function): Mention help-setup parameter instead
9168 of display-buffer-window in doc-string.
d3c30954
SM
9169 * help.el (help-window-setup): New argument help-window.
9170 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9171 Reword some messages.
9172 (with-help-window): Pass window used for displaying the buffer
9173 to help-window-setup. Don't set display-buffer-window.
9174
8e39b2e8
GM
91752011-09-13 Glenn Morris <rgm@gnu.org>
9176
9177 * emacs-lisp/debug.el (debugger-make-xrefs):
9178 Preserve point. (Bug#9462)
9179
85e9c04b
CY
91802011-09-13 Chong Yidong <cyd@stupidchicken.com>
9181
9182 * window.el (window-deletable-p): Use next-frame.
9183
1b36ed6a
MR
91842011-09-13 Martin Rudalics <rudalics@gmx.at>
9185
9186 * window.el (window-auto-delete): Remove.
9187 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9188 dedication and previous buffers.
1b36ed6a
MR
9189 (switch-to-prev-buffer): Don't delete window.
9190 (delete-windows-on): Delete a window's frame if and only if the
9191 window is dedicated.
9192 (replace-buffer-in-windows): Delete buffer's window or frame if
9193 and only if window is dedicated.
9194 (quit-window): Handle quit-restore as before last change.
4d61f28d 9195 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9196
ef8ef9fb
CY
91972011-09-13 Chong Yidong <cyd@stupidchicken.com>
9198
9199 * window.el (window-deletable-p): Never delete the last frame on a
9200 given terminal.
9201
b2cba41e
GM
92022011-09-13 Glenn Morris <rgm@gnu.org>
9203
9204 * help.el (describe-key-briefly): Copy previous standard-output change.
9205
51553db6 92062011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9207
9208 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9209
b7556719
GM
92102011-09-13 Glenn Morris <rgm@gnu.org>
9211
9212 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9213 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9214
64b51947
CY
92152011-09-12 Chong Yidong <cyd@stupidchicken.com>
9216
9217 * dired-aux.el (dired-mark-read-string): Don't return default
9218 value on empty input (Bug#9361).
9219 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9220 Omit initial minibuffer contents.
9221 (dired-do-chmod): Signal an error on empty input.
9222 (dired-mark-read-string): Don't return default on empty input.
9223
9224 * files.el (file-modes-symbolic-to-number): Doc fix.
9225
393a301e
SM
92262011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * international/mule-cmds.el (ucs-completions): Remove.
9229 (read-char-by-name): Use complete-with-action instead; add metadata.
9230
fa5660f9
CY
92312011-09-11 Chong Yidong <cyd@stupidchicken.com>
9232
9233 * window.el (display-buffer--action-function-custom-type)
9234 (display-buffer--action-custom-type): New vars.
9235 (display-buffer-alist, display-buffer-default-action)
9236 (display-buffer-overriding-action): Add defcustom types.
9237
4a592f66
CY
9238 * frame.el (delete-other-frames): Doc fix (Bug#276).
9239
73d56dbd
LMI
92402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241
9242 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9243
37ac18a3
CY
92442011-09-11 Chong Yidong <cyd@stupidchicken.com>
9245
9246 Change modes that used same-window-* vars to use switch-to-buffer.
9247
9248 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9249 Use switch-to-buffer.
9250
9251 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9252 (customize-browse, custom-buffer-create-other-window):
9253 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9254
9255 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9256 (Info-prev, Info-up, Info-speedbar-goto-node)
9257 (info-display-manual): Use switch-to-buffer.
9258 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9259
9260 * mail/sendmail.el (mail): Use switch-to-buffer.
9261 (mail-recover): Use switch-to-buffer-other-window.
9262
9263 * cmuscheme.el (run-scheme, switch-to-scheme):
9264 * ielm.el (ielm):
9265 * shell.el (shell):
9266 * net/rlogin.el (rlogin):
9267 * net/telnet.el (telnet, rsh):
9268 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9269
10195bd6
AS
92702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9273
b322f63a
LMI
92742011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9275
39d7fed6
LMI
9276 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9277 so don't mention it (bug#9301).
ba5a81f1 9278 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9279
ee0e9f11
LMI
9280 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9281 match `x', `w32' and `ns', like the manual says (bug#9029).
9282
0b1c89c1 9283 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9284 (process-kill-buffer-query-function): Mention the buffer name in
9285 the query.
0b1c89c1 9286
77549ea8
LMI
9287 * image-mode.el (image-next-line): The line parameter is mandatory
9288 (bug#9258).
9289
803ef892
LMI
9290 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9291 which can be useful (bug#9301).
9292
12980837
LMI
9293 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9294
91054f8f
LMI
9295 * subr.el (match-string): Mention that the current buffer should
9296 be the same as the search was done in (bug#9282).
9297
b322f63a
LMI
9298 * facemenu.el: Disable the remove-* commands if the mark isn't
9299 active (bug#9162).
9300
3199b96f
CY
93012011-09-10 Chong Yidong <cyd@stupidchicken.com>
9302
9303 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9304 of display-buffer.
9305 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9306
9307 * replace.el (occur-mode-goto-occurrence)
9308 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9309 and display-buffer.
9310
9311 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9312 display-buffer.
9313
9314 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9315 special-display and same-window variables.
9316 (mail-other-window): Use switch-to-buffer-other-window.
9317 (mail-other-frame): USe switch-to-buffer-other-frame.
9318
393a301e
SM
9319 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9320 Use display-buffer-other-frame.
3199b96f
CY
9321 (gdb-display-gdb-buffer): Use pop-to-buffer.
9322
9323 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9324
9325 * progmodes/python.el: Don't set same-window-buffer-names.
9326
9327 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9328
9329 * window.el (display-buffer-alist): Add *Python*.
9330
8319e0bf
CY
93312011-09-10 Chong Yidong <cyd@stupidchicken.com>
9332
9333 * window.el (display-buffer-alist): Add entry for buffers
9334 previously handled same-window-*.
9335 (display-buffer-alist, display-buffer-default-action)
9336 (display-buffer-overriding-action): Mark as risky.
9337 (display-buffer-alist): Document action function changes.
9338 (display-buffer--same-window-action)
9339 (display-buffer--other-frame-action): New variables.
9340 (switch-to-buffer, display-buffer-other-frame): Use them.
9341 (display-buffer): Rename reuse-frame entry to reusable-frames.
9342 (display-buffer-reuse-selected-window): Function deleted.
9343 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9344 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9345 (display-buffer-special): New function.
9346 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9347 display-buffer-reuse-or-pop-window. Split off special-display
9348 part into display-buffer-special.
9349 (display-buffer-use-some-window): Don't perform any special
9350 pop-up-frames handling.
9351 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9352 (display-buffer--maybe-same-window): Rename from
0d3ff375 9353 display-buffer-maybe-same-window.
8319e0bf 9354
919a69aa
CY
9355 * info.el: Don't set same-window-regexps.
9356 (info-setup): New function.
9357 (info-other-window, info): Call it.
9358
9359 * cus-edit.el: Don't set same-window-regexps.
9360 (customize-group): New argument.
9361 (customize-group-other-window): Use it.
9362 (customize-face, customize-face-other-window): Likewise.
9363 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9364
8319e0bf
CY
9365 * net/rlogin.el:
9366 * net/telnet.el:
9367 * progmodes/gud.el: Don't set same-window-regexps.
9368
9369 * cmuscheme.el:
9370 * ielm.el:
9371 * shell.el:
9372 * mail/sendmail.el:
9373 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9374
25173000
JL
93752011-09-10 Juri Linkov <juri@jurta.org>
9376
9377 * isearch.el (isearch-edit-string): Remove obsolete mention of
9378 `C-w' (`isearch-yank-word-or-char') from docstring.
9379 (isearch-query-replace): Fix typo in docstring (bug#9466).
9380
056e44ef
JL
93812011-09-10 Juri Linkov <juri@jurta.org>
9382
9383 * paren.el (show-paren-function): Don't show escaped parens.
9384 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9385
c3760c17
EZ
93862011-09-10 Eli Zaretskii <eliz@gnu.org>
9387
9388 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9389 (mm-default-file-encoding): Remove autoload forms, they are
9390 replaced with autoload cookies in mml.el and mm-encode.el.
9391 (mail-add-attachment): New command.
9392 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9393 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9394 the doc string.
9395 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9396
fece895e
RT
93972011-09-10 Reuben Thomas <rrt@sc3d.org>
9398
e69df516
SM
9399 * simple.el (count-words-region): Use buffer if there's no region
9400 (bug#9429).
fece895e 9401
5e68ce4a
JL
94022011-09-09 Juri Linkov <juri@jurta.org>
9403
9404 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9405 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9406 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9407
0a6b9622
AM
94082011-09-09 Alan Mackenzie <acm@muc.de>
9409
9410 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9411 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9412
14a29deb
EZ
94132011-09-09 Eli Zaretskii <eliz@gnu.org>
9414
9415 Fix for Savannah bug#9392.
9416 * simple.el (mail-encode-mml): New defvar.
9417
9418 * mail/rmail.el (mail-encode-mml): Add a defvar.
9419 (rmail-enable-mime-composing): Default to t.
9420 (rmail-forward): Use MIME method of forwarding only if both
9421 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9422 Set mail-encode-mml non-nil if the MIME method was used.
9423
9424 * mail/sendmail.el (mml-to-mime): Add autoload form.
9425 (mail-encode-mml): Add a defvar.
9426 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9427 to nil.
9428 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9429 message through mml-to-mime, and reset mail-encode-mml to nil.
9430
28c45130
GM
94312011-09-09 Glenn Morris <rgm@gnu.org>
9432
9433 * woman.el (woman-if-body): When processing an .el block,
9434 do not delete the next .el block as well. (Bug#9447)
69f4b618 9435 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9436
9b1c252e
MR
94372011-09-08 Martin Rudalics <rudalics@gmx.at>
9438
9439 * window.el (window-deletable-p): Make sure window is live before
9440 invoking window-prev-buffers.
9441
567457e3
LL
94422011-09-08 Leo Liu <sdl.web@gmail.com>
9443
9444 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9445
97f05794
JL
94462011-09-08 Juri Linkov <juri@jurta.org>
9447
9448 * progmodes/compile.el (compilation-environment): Make it
9449 a defcustom (bug#8340).
9450
8b0874b5
MR
94512011-09-08 Martin Rudalics <rudalics@gmx.at>
9452
9453 * window.el (frame-auto-delete): Rename to window-auto-delete.
9454 Make it control auto-deletion of windows and/or frames.
9455 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9456 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9457 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9458 Rewrite handling of case when window/frame can be deleted.
9459 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9460 argument t. (Bug#9456)
8b0874b5 9461
4feb6e73
CY
94622011-09-07 Chong Yidong <cyd@stupidchicken.com>
9463
9464 * help-mode.el (help-mode): Restore autoload.
9465
91ab9c13
JL
94662011-09-07 Juri Linkov <juri@jurta.org>
9467
9468 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9469 `compilation-environment'. Set buffer-local
9470 `compilation-environment' to `thisenv' later after (funcall mode).
9471 (Bug#8340)
9472
9473 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9474 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9475 instead of replacing its value. (Bug#8340)
9476
0527e251
JL
94772011-09-07 Juri Linkov <juri@jurta.org>
9478
9479 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9480 based on text properties put by `grep-filter' instead of matching
9481 escape sequences.
9482 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9483 to the value of `grep-error-screen-columns' (bug#9438).
9484
249f792c
JL
94852011-09-07 Juri Linkov <juri@jurta.org>
9486
9487 * simple.el (next-error-highlight, next-error-highlight-no-select):
9488 Doc fix (bug#9432).
9489
ff7271b9
OT
94902011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9491
9492 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9493 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9494
183fc730
LL
94952011-09-07 Leo Liu <sdl.web@gmail.com>
9496
9497 * net/rcirc.el (rcirc-mode): Conditionally initialize
9498 rcirc-input-ring.
9499
77694924
SM
95002011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * emacs-lisp/find-func.el (find-function-C-source): Only set
9503 find-function-C-source-directory after checking that we found a source
9504 file there (bug#9440).
9505
d809b8eb
AM
95062011-09-06 Alan Mackenzie <acm@muc.de>
9507
9508 * isearch.el (isearch-other-meta-char): Wherever a key list is
9509 unread, "unread" the prefix arg, too. This fixes bug #8901.
9510
453de99f
OG
95112011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9512
9513 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9514
90439906
JL
95152011-09-05 Juri Linkov <juri@jurta.org>
9516
9517 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9518
f62bd846
JL
95192011-09-05 Juri Linkov <juri@jurta.org>
9520
9521 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9522 keeping point where processing of grep matches begins, and
9523 continue to delete remaining escape sequences from the same point.
9524 (grep-filter): Make leading zero optional in "0?1;31m" because
9525 git-grep emits "\033[1;31m" escape sequences unlike expected
9526 "\033[01;31m" as GNU Grep does (bug#9408).
9527 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9528
045820ec
JL
95292011-09-05 Juri Linkov <juri@jurta.org>
9530
9531 * subr.el (y-or-n-p): Capitalize "yes".
9532
f5e29b9b
MA
95332011-09-04 Michael Albinus <michael.albinus@gmx.de>
9534
9535 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9536 `tramp-cache-unload-hook' where appropriate.
9537 (tramp-methods): Rename `tramp-remote-sh' to
9538 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9539 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9540
9541 * net/tramp-sh.el (top): Don't require 'shell.
9542 (tramp-methods): Add `tramp-remote-shell' and
9543 `tramp-remote-shell-args' entries.
9544 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9545 (tramp-sh-handle-shell-command): Remove.
9546 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9547 Use `tramp-remote-shell'.
9548
2784c434
CY
95492011-09-03 Chong Yidong <cyd@stupidchicken.com>
9550
393a301e 9551 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9552 (sendmail-query-once): Save directly to send-mail-function.
9553 Update message-send-mail-function too.
9554
9555 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9556
464cdf56
CS
95572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9558
9559 * progmodes/python.el (python-mode-map): Use correct function to
9560 start python interpreter from menu-bar (as reported by Geert
9561 Kloosterman).
9562 (inferior-python-mode-map): Fix typo.
393a301e 9563 (python-shell-map): Remove.
464cdf56 9564
d37e5c87
DD
95652011-09-03 Deniz Dogan <deniz@dogan.se>
9566
9567 * net/rcirc.el (rcirc-print): Simplify code for
9568 rcirc-scroll-show-maximum-output. There is no need to walk
9569 through all windows to find the right one.
9570
f3ada0ee
CS
95712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9572
9573 * help.el (help-return-method): Doc fix.
9574
1f3c99ca
MR
95752011-09-03 Martin Rudalics <rudalics@gmx.at>
9576
9577 * window.el (window-deletable-p): Don't return a non-nil value
9578 when there's a buffer that was shown in the window before.
9579 (Bug#9419)
393a301e
SM
9580 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9581 Set window's previous buffers to nil.
1f3c99ca 9582
a3cf097f
EZ
95832011-09-03 Eli Zaretskii <eliz@gnu.org>
9584
9585 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9586 newline before and after the tag line, so it doesn't interfere
9587 with determining the paragraph direction of bidirectional text.
9588
3d03de90
LL
95892011-09-03 Leo Liu <sdl.web@gmail.com>
9590
9591 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9592
c3313451
CY
95932011-09-02 Chong Yidong <cyd@stupidchicken.com>
9594
393a301e 9595 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9596 (pop-to-buffer): Change interactive spec. Pass second argument
9597 directly to display-buffer.
9598 (display-buffer): Fix interactive spec. Use functionp to
9599 distinguish between a function and a list of functions.
9600
9601 * abbrev.el (edit-abbrevs):
9602 * arc-mode.el (archive-extract):
9603 * autoinsert.el (auto-insert):
9604 * bookmark.el (bookmark-bmenu-list):
9605 * files.el (find-file):
9606 * view.el (view-buffer):
9607 * progmodes/compile.el (compilation-goto-locus):
9608 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9609
89894cd8
CY
96102011-09-02 Chong Yidong <cyd@stupidchicken.com>
9611
9612 * window.el (display-buffer-alist): Doc fix.
9613 (display-buffer): Add docstring. Don't treat
9614 display-buffer-default specially.
9615 (display-buffer-reuse-selected-window)
9616 (display-buffer-same-window, display-buffer-maybe-same-window)
9617 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9618 (display-buffer-pop-up-window)
9619 (display-buffer-reuse-or-pop-window)
9620 (display-buffer-use-some-window): New functions.
9621 (display-buffer-default-action): Use them.
393a301e 9622 (display-buffer-default): Delete.
89894cd8
CY
9623 (pop-to-buffer-1): Fix choice of actions.
9624
ae0bc9fb
SM
96252011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * minibuffer.el (completion--insert-strings): Don't get confused by
9628 completion entries that end with an LF char.
9629
e9d90883
EZ
96302011-09-01 Eli Zaretskii <eliz@gnu.org>
9631
9632 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9633
437014c8
CY
96342011-09-01 Chong Yidong <cyd@stupidchicken.com>
9635
9636 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9637 (display-buffer-same-window, display-buffer-other-window):
9638 New functions.
437014c8
CY
9639 (pop-to-buffer-1): New function. Use the above.
9640 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9641 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9642
9643 * view.el (view-buffer-other-window, view-buffer-other-frame):
9644 Just use pop-to-buffer.
9645
a5e063d5
TV
96462011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9647
9648 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9649
793d32bb
WH
96502011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9651
9652 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9653
d65e4c15
RS
96542011-08-31 Richard Stallman <rms@gnu.org>
9655
9656 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9657 of the separation of rmail-view-buffer from rmail-buffer.
9658 If you say no to "replace original", the decrypt is in the
9659 view buffer. If you say yes, the decrypt goes into the
9660 rmail buffer also.
9661
f818cd2a
MR
96622011-08-31 Martin Rudalics <rudalics@gmx.at>
9663
9664 * window.el (display-buffer-window): Rewrite doc-string.
9665 (display-buffer-record-window): New function.
9666 (display-buffer-macro-specifiers)
9667 (display-buffer-even-window-sizes, display-buffer-set-height)
9668 (display-buffer-set-width, display-buffer-in-window)
9669 (display-buffer-reuse-window, display-buffer-split-specifiers)
9670 (display-buffer-side-specifiers, display-buffer-split-window-1)
9671 (display-buffer-split-window, display-buffer-split-atom-window)
9672 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9673 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9674 (display-buffer-other-window-means-other-frame)
9675 (display-buffer-normalize-special)
9676 (display-buffer-normalize-default)
9677 (display-buffer-normalize-argument)
9678 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9679 (display-buffer-normalize-specifiers, display-buffer-frame)
9680 (display-buffer-same-window, display-buffer-same-frame)
9681 (display-buffer-other-window)
9682 (display-buffer-same-frame-other-window)
9683 (display-buffer-other-frame, pop-to-buffer-same-window)
9684 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9685 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9686 (switch-to-buffer-same-frame)
9687 (switch-to-buffer-other-window-same-frame)
9688 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9689 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9690 (display-buffer-alist-set): Remove.
9691 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9692 (special-display-regexps, special-display-function):
9693 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9694 parameter.
9695 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9696 (special-display-frame-alist, special-display-popup-frame)
9697 (same-window-buffer-names, same-window-regexps, same-window-p)
9698 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9699 (split-window-preferred-function, split-height-threshold)
9700 (split-width-threshold, window-splittable-p)
9701 (split-window-sensibly, window--try-to-split-window)
9702 (window--frame-usable-p, even-window-heights)
9703 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9704 (window--display-buffer-2, display-buffer-other-frame):
9705 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9706 (display-buffer-default, display-buffer-assq-regexp): New functions.
9707 (display-buffer-alist): Rewrite doc-string.
9708 (display-buffer-default-action)
9709 (display-buffer-overriding-action): New variables.
9710 (display-buffer, switch-to-buffer): Rewrite.
9711 (pop-to-buffer): Restore Emacs 23 behavior but use
9712 window-normalize-buffer-to-display.
9713 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9714 Restore Emacs 23 behavior but use
9715 window-normalize-buffer-to-switch-to.
9716 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9717 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9718 Rewrite using Emacs 23 options.
f818cd2a 9719
5bc3b51d
MA
97202011-08-31 Michael Albinus <michael.albinus@gmx.de>
9721
9722 * net/tramp.el (tramp-root-regexp): Remove.
9723 (tramp-completion-file-name-regexp-unified)
9724 (tramp-completion-file-name-regexp-separate)
9725 (tramp-completion-file-name-regexp-url): Don't use leading volume
9726 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9727 (tramp-drop-volume-letter): Simplify definition.
9728 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9729
b1a4f8e1
SM
97302011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9731
9732 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9733 (bug#9356).
9734
5664fa7b
RT
97352011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9736
b1a4f8e1 9737 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9738
9a45d6c3
JL
97392011-08-29 Juri Linkov <juri@jurta.org>
9740
9741 * isearch.el (isearch-done): Don't display message "Mark saved"
9742 when arg `edit' is non-nil to prevent its flicker in the echo area.
9743
fb87e0fb
CY
97442011-08-28 Chong Yidong <cyd@stupidchicken.com>
9745
9746 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9747 obsolete packages for deletion.
9748
09ac1c2a
CS
97492011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9750
9751 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9752 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9753 view-mode from help-mode.
9754 (help-xref-override-view-map): Remove.
9755 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9756 view-mode is not used anymore.
9757
7a1ff57f
CY
97582011-08-28 Chong Yidong <cyd@stupidchicken.com>
9759
9760 * server.el (server-port): Doc fix.
9761
b9696605
CY
9762 * cus-theme.el (custom-theme-choose-mode): Inherit from
9763 special-mode (Bug#9124).
9764 (custom-theme-choose-mode-map): Add special-mode to parent.
9765
ef8cdf8c
AM
97662011-08-28 Alan Mackenzie <acm@muc.de>
9767
9768 * progmodes/cc-fonts.el
9769 (c-make-font-lock-BO-decl-search-function): New function.
9770 (c-basic-matchers-after - "Fontify the clauses after various
9771 keywords"): Extract the three keyword lists for the 3 erroneous
9772 constructs from the list of four, and use the new function above
9773 in place of an old one.
9774
27de4e20
DD
97752011-08-28 Deniz Dogan <deniz@dogan.se>
9776
9777 * net/rcirc.el (rcirc-insert-prev-input)
9778 (rcirc-insert-next-input): Remove unused argument.
9779
356a3681
SM
97802011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9783
3fc9b218
AM
97842011-08-27 Alan Mackenzie <acm@muc.de>
9785
9786 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9787 handle function pointer parameters properly.
9788
538a061c
MR
97892011-08-27 Martin Rudalics <rudalics@gmx.at>
9790
9791 * window.el (display-buffer-reuse-window): Fix case where
9792 selected window was reused with non-nil OTHER-WINDOW argument.
9793 (Bug#9381)
9794
35b1c40c
DD
97952011-08-27 Deniz Dogan <deniz@dogan.se>
9796
9797 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9798 oftc's NickServ messages.
9799
2f6a3e79
GM
98002011-08-27 Glenn Morris <rgm@gnu.org>
9801
9802 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9803
7254299e
CY
98042011-08-26 Chong Yidong <cyd@stupidchicken.com>
9805
9806 * emacs-lisp/package.el (package-install): Call package-initialize
9807 if called interactively.
9808
f8ccf167
LL
98092011-08-26 Leo Liu <sdl.web@gmail.com>
9810
9811 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9812
3e8cd5ce
JL
98132011-08-25 Juri Linkov <juri@jurta.org>
9814
9815 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9816 `search-whitespace-regexp' (bug#9364).
9817
93eb7113
JL
98182011-08-25 Juri Linkov <juri@jurta.org>
9819
9820 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9821 `regexp-search-ring' to their global values to protect from
9822 updating by `read-from-minibuffer' (bug#9185).
9823
f65d1611
JL
98242011-08-25 Juri Linkov <juri@jurta.org>
9825
9826 * textmodes/ispell.el (ispell-command-loop): Add newline
9827 at the end of the "Use option `i'..." line.
9828
f1cf7a31
JL
98292011-08-25 Juri Linkov <juri@jurta.org>
9830
9831 * battery.el (display-battery-mode): If `battery-status-function'
9832 or `battery-mode-line-format' is nil, display the message and set
9833 `display-battery-mode' to nil (bug#9363).
9834
0c95fcf7
EZ
98352011-08-25 Eli Zaretskii <eliz@gnu.org>
9836
9837 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9838 bidi-string-mark-left-to-right; they are unnecessary now.
9839
a2ebe600
DD
98402011-08-25 Deniz Dogan <deniz@dogan.se>
9841
9842 * net/quickurl.el: Documentation typo fixes.
9843
e4ed06f1
CY
98442011-08-25 Chong Yidong <cyd@stupidchicken.com>
9845
9846 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9847
e5f1c99e
GM
98482011-08-25 Glenn Morris <rgm@gnu.org>
9849
b2948976
GM
9850 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9851
e5f1c99e
GM
9852 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9853 (smtpmail-via-smtp): Handle nil response from smtp.
9854
f22f4808
JL
98552011-08-24 Juri Linkov <juri@jurta.org>
9856
9857 * proced.el (proced-marked): Inherit from `error' instead of
9858 `font-lock-warning-face'.
9859
9860 * ibuffer.el (ibuffer-marked-face): Change default face from
9861 `font-lock-warning-face' to `warning'.
9862 (ibuffer-deletion-face): Change default face from
9863 `font-lock-type-face' to `error'.
9864
9865 * battery.el (battery-update): Use the face `error' instead of
9866 `font-lock-warning-face' (bug#6117).
9867
6a93965e
JL
98682011-08-24 Juri Linkov <juri@jurta.org>
9869
9870 * faces.el (success): Change face color from "Green3" to
9871 "ForestGreen" on light background (bug#9353).
9872
1ed43b09
CY
98732011-08-24 Chong Yidong <cyd@stupidchicken.com>
9874
5664fa7b
RT
9875 * window.el (quit-window): Rename from quit-restore-window.
9876 Use same arglist as old quit-window.
1ed43b09
CY
9877 (frame-auto-delete): Doc fix.
9878
9879 * view.el (view-mode-exit): Use quit-window.
9880
11dcdbb2
JL
98812011-08-24 Juri Linkov <juri@jurta.org>
9882
9883 * isearch.el (isearch-ring-adjust1): Start visiting previous
9884 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9885 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9886 for empty search string (when the last search string is reused
9887 automatically) to adjust the isearch ring to the last element and
9888 prepare the correct index for further M-p commands (bug#9185).
9889
de62b4df
KH
98902011-08-24 Kenichi Handa <handa@m17n.org>
9891
9892 * international/ucs-normalize.el: If decomposition property of
9893 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9894 nil.
9895 (nfd, nfkd): Likewise.
9896
963b492b
SM
98972011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9900 from process filters aren't reliably transmitted to the surrounding
9901 accept-process-output.
9902 (mpc-proc-check): New function.
9903 (mpc-proc-sync): Use it (bug#8293)
9904
93b6b5e1
SM
99052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9908 Add compatibility functions (bug#9313).
9909
bca633fb
EZ
99102011-08-23 Eli Zaretskii <eliz@gnu.org>
9911
b177498a
EZ
9912 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9913
6df6ae42 9914 * international/uni-bidi.el: Regenerate.
bca633fb 9915
0902a04e
KH
99162011-08-23 Kenichi Handa <handa@m17n.org>
9917
9918 * international/charprop.el:
9919 * international/uni-bidi.el:
9920 * international/uni-category.el:
9921 * international/uni-combining.el:
9922 * international/uni-comment.el:
9923 * international/uni-decimal.el:
9924 * international/uni-decomposition.el:
9925 * international/uni-digit.el:
9926 * international/uni-lowercase.el:
9927 * international/uni-mirrored.el:
9928 * international/uni-name.el:
9929 * international/uni-numeric.el:
9930 * international/uni-old-name.el:
9931 * international/uni-titlecase.el:
9932 * international/uni-uppercase.el: Regenerate.
9933
3bbf23bc
MR
99342011-08-23 Martin Rudalics <rudalics@gmx.at>
9935
9936 * help.el (help-window-setup): Fix message displayed when other
9937 window is reused. (Bug#9341)
9938
b3fd59bd
SM
99392011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9940
1802e444
SM
9941 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9942 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9943
b3fd59bd
SM
9944 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9945 Mark obsolete.
9946 * shell.el (shell-parse-pcomplete-arguments): New function.
9947 (shell-completion-vars): Use it instead (bug#9160).
9948
4eb61348
SM
99492011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9950
867cab74
SM
9951 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9952 strings and comments (bug#9333).
9953
4eb61348
SM
9954 * emacs-lisp/debug.el (debug-arglist): New function.
9955 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9956 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9957
262a1439
JL
99582011-08-22 Juri Linkov <juri@jurta.org>
9959
56ee679c
JL
9960 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9961 Revert regexp that highlights output switches to its old
9962 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9963
262a1439
JL
9964 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9965 to check for empty output (bug#9226).
9966
f13f86fb
CY
99672011-08-22 Chong Yidong <cyd@stupidchicken.com>
9968
9969 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9970 symbol-constituent as the default, as that stops font-lock from
9971 working properly (Bug#8843).
9972
c65c9622
LMI
99732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9974
9975 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9976 `coding-system-for-*' around the process open call to avoid
9977 auth-source side effects.
e7f2c178 9978 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9979 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9980 probe hangs.
c65c9622 9981
23a8a5ab
CY
99822011-08-21 Chong Yidong <cyd@stupidchicken.com>
9983
ff98b2dd
CY
9984 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9985
23a8a5ab
CY
9986 * emacs-lisp/find-func.el (find-function-noselect): New arg
9987 lisp-only.
9988
9989 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9990 signal an error for built-in functions (Bug#6664).
9991
f5e3c598
LMI
99922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9993
9994 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9995 (smtpmail-try-auth-methods): Use it.
9996
a3f2468a
CY
99972011-08-21 Chong Yidong <cyd@stupidchicken.com>
9998
2c34e8da
CY
9999 * font-lock.el (font-lock-fontify-region)
10000 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10001 (font-lock-default-unfontify-buffer)
10002 (font-lock-default-fontify-region)
10003 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10004
b3fd59bd
SM
10005 * progmodes/compile.el (compilation-error-properties):
10006 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10007 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10008 `ant' regexp.
ee31aabc 10009
a3f2468a
CY
10010 * net/browse-url.el (browse-url-firefox): Don't call
10011 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10012
8e999f70
GM
100132011-08-20 Glenn Morris <rgm@gnu.org>
10014
c21a496a
GM
10015 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10016
59ee0542
GM
10017 * tutorial.el (tutorial--default-keys): Update some default bindings.
10018
8e999f70
GM
10019 * files.el (hack-local-variables): Fully ignore case for "mode:".
10020
e3715033
AM
100212011-08-20 Alan Mackenzie <acm@muc.de>
10022
10023 Resolve invalid use of a regexp in regexp-opt.
10024
4d61f28d
JB
10025 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10026 detection for a java annotation.
e3715033 10027
4d61f28d 10028 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10029 detection for a java annotation.
10030
4d61f28d
JB
10031 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10032 handling for java.
e3715033
AM
10033 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10034
04ed2e9c
CY
100352011-08-20 Chong Yidong <cyd@stupidchicken.com>
10036
10037 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10038 (Bug#9274).
10039
826cee64
AM
100402011-08-20 Alan Mackenzie <acm@muc.de>
10041
58179cce 10042 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10043 such a construct. Mainly for when jit-lock etc. starts a chunk
10044 here.
10045
58179cce 10046 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10047 variable.
58179cce 10048 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10049 c-make-font-lock-search-function.
10050 (c-make-font-lock-search-function): Use the above function.
10051 (c-make-font-lock-context-search-function): New function.
10052 (c-cpp-matchers): Enhance the preprocessor expression case with
10053 the above function
10054 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10055 which takes an expression.
10056
10057 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10058
13009bd8
MR
100592011-08-20 Martin Rudalics <rudalics@gmx.at>
10060
10061 * window.el (display-buffer-reuse-window)
10062 (display-buffer-pop-up-window): Don't reuse or split a side
10063 window.
10064
9234ff7f
GM
100652011-08-19 Glenn Morris <rgm@gnu.org>
10066
10067 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10068 Downcase "Mode:". (Bug#9331)
9234ff7f 10069
f635daa1
CY
100702011-08-18 Chong Yidong <cyd@stupidchicken.com>
10071
10072 * international/characters.el: Add L and R categories.
10073
10074 * subr.el (bidi-string-mark-left-to-right): Rename from
10075 string-mark-left-to-right. Use category search.
10076
10077 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10078
bc987f8b
JL
100792011-08-18 Juri Linkov <juri@jurta.org>
10080
10081 * faces.el (error, warning, success): New faces with definitions
10082 copied from old default values of `font-lock-warning-face',
10083 `compilation-warning', `compilation-info' (bug#6117).
10084
10085 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10086
10087 * progmodes/compile.el (compilation-error): Inherit from `error'.
10088 (compilation-warning): Inherit from `warning'.
10089 (compilation-info): Inherit from `success'.
10090
10091 * dired.el (dired-marked): Inherit from `warning'.
10092 (dired-flagged): Inherit from `error'.
10093
57173b96
LMI
100942011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10095
3e79eb87
LMI
10096 * mail/smtpmail.el (auth-source): Require to avoid problems with
10097 binding variables (bug#9298). Also clean up some unused
10098 autoloads.
10099
b3fd59bd
SM
10100 * net/network-stream.el (network-stream-open-starttls):
10101 Support using starttls.el without using gnutls-cli.
57173b96 10102
02b404de
JL
101032011-08-17 Juri Linkov <juri@jurta.org>
10104
10105 * progmodes/grep.el (rgrep): Handle the case when
10106 `grep-find-command' is a cons cell (bug#9278).
10107
8c9177f2
MR
101082011-08-17 Martin Rudalics <rudalics@gmx.at>
10109
10110 * window.el (display-buffer-pop-up-frame): Run frame creation
10111 function with BUFFER current (as special-display-popup-frame
10112 does). Reported by Drew Adams.
10113
3644a0ab
DU
101142011-08-17 Daiki Ueno <ueno@unixuser.org>
10115
10116 * epa-mail.el: Simplify GnuPG group expansion using
10117 epg-expand-group.
10118 (epa-mail-group-alist, epa-mail-group-modtime)
10119 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10120 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10121 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10122 Remove.
10123
5e617bc2 101242011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10125
10126 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10127
9c4aeabf
AM
101282011-08-16 Alan Mackenzie <acm@muc.de>
10129
10130 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10131 Correct, to avoid the inside of macros.
10132
3a99bf64
RS
101332011-08-16 Richard Stallman <rms@gnu.org>
10134
04963aa8
RS
10135 * epa-mail.el: Handle GnuPG group definitions.
10136 (epa-mail-group-alist, epa-mail-group-modtime)
10137 (epa-mail-gnupg-conf-file): New variables.
10138 (epa-mail-parse-groups, epa-mail-sync-groups)
10139 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10140 (epa-mail-expand-recipients): New functions.
10141 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10142
177549d0
RS
10143 * mail/rmail.el (rmail-epa-decrypt): New command.
10144
fe38beef
RS
10145 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10146 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10147 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10148 (epa-decrypt-armor-in-region): Make error message clearer.
10149
934eacb9
SM
101502011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10153 and "a2b" to "ab" for `prefix'.
10154
d024fb4e
CY
101552011-08-14 Chong Yidong <cyd@stupidchicken.com>
10156
10157 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10158 filter groups.
de148fee
CY
10159 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10160 Fourquet (Bug#8804).
d024fb4e 10161
62f1ca49
JB
101622011-08-12 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * startup.el (argi): Declare as global variable (bug#9275).
10165
9ccaaa4b
CY
101662011-08-12 Chong Yidong <cyd@stupidchicken.com>
10167
10168 * subr.el (string-mark-left-to-right): Search the entire string
10169 for RTL script, not just the terminating character. Doc fix.
10170
a3dae87a
SM
101712011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10172
6cd18349
SM
10173 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10174 New function.
10175 (js--regexp-literal, js-syntax-propertize-function): Remove.
10176 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10177 (js-mode-map): Don't rebind electric keys.
10178 (js-insert-and-indent): Remove.
10179 (js-mode): Setup electric-layout and electric-indent instead.
10180
a3dae87a
SM
10181 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10182
9d5cb631
DU
101832011-08-12 Daiki Ueno <ueno@unixuser.org>
10184
10185 * epa.el (epa-progress-callback-function): Fix the logic of
10186 displaying progress.
10187 * epa-file.el (epa-file-insert-file-contents): Make progress
10188 display more user-friendly.
10189 (epa-file-write-region): Ditto.
10190
3e26a4a2
CY
101912011-08-10 Chong Yidong <cyd@stupidchicken.com>
10192
10193 * subr.el (string-mark-left-to-right): New function.
10194
10195 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10196 Use string-mark-left-to-right.
10197 (list-buffers-noselect): Caller changed.
10198
a3dae87a
SM
10199 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10200 Use string-mark-left-to-right.
3e26a4a2
CY
10201 (tabulated-list-print): Recenter after moving point.
10202
ac8cf6e6
JL
102032011-08-10 Juri Linkov <juri@jurta.org>
10204
10205 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10206 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10207 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10208
8d96c9a4
CY
102092011-08-09 Chong Yidong <cyd@stupidchicken.com>
10210
10211 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10212 (Bug#7554).
10213
7be1c708 102142011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10215
10216 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10217 character. (Bug#6594)
10218
37e11a63
CY
102192011-08-08 Chong Yidong <cyd@stupidchicken.com>
10220
839dde57
CY
10221 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10222 (image-dired--with-db-file): New macro.
10223 (image-dired-write-tags, image-dired-remove-tag)
10224 (image-dired-create-gallery-lists, image-dired-write-comments)
10225 (image-dired-get-comment, image-dired-mark-tagged-files)
10226 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10227 (image-dired-gallery-generate): Use insert-file-contents.
10228
37e11a63
CY
10229 * time.el (display-time-world-list, display-time-world-display):
10230 * time-stamp.el (time-stamp-string):
10231 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10232 set-time-zone-rule (Bug#7337).
10233
0b4946c4
DU
102342011-08-08 Daiki Ueno <ueno@unixuser.org>
10235
10236 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10237 (epg-error-to-string, epg-errors-to-string): New function.
10238 (epg-wait-for-completion): Reverse errors list.
10239 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10240 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10241 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10242 (epg-sign-keys, epg-generate-key-from-file)
10243 (epg-generate-key-from-string): Format errors by using
10244 epg-errors-to-string (bug#9255).
10245 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10246
75bfc667
JL
102472011-08-07 Juri Linkov <juri@jurta.org>
10248
10249 * faces.el (list-faces-display): Remove extra angle bracket
10250 from `help-mode-map'.
10251
10252 * info.el (Info-history-toc-nodes): Doc fix.
10253
10254 * longlines.el (longlines-mode): Doc fix.
10255
673e08bb
SM
102562011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10257
4640dd88
SM
10258 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10259 of statements and in a few more cases (bug#9183).
10260
673e08bb
SM
10261 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10262 New functions.
10263 (cl-transform-lambda): Use them (bug#9239).
10264
89b3f019
MR
102652011-08-05 Martin Rudalics <rudalics@gmx.at>
10266
10267 * window.el (display-buffer-same-window)
10268 (display-buffer-same-frame, display-buffer-other-window)
10269 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10270 (pop-to-buffer-other-window)
10271 (pop-to-buffer-same-frame-other-window)
10272 (pop-to-buffer-other-frame): Make them defuns.
10273 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10274
640c8776
SM
102752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * subr.el (make-composed-keymap): Move from C. Change calling
10278 convention, and improve docstring to bring attention to a subtle point.
10279 * minibuffer.el (completing-read-default): Adjust accordingly.
10280
63648a95
MA
102812011-08-03 Michael Albinus <michael.albinus@gmx.de>
10282
10283 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10284 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10285
10286 * net/trampver.el: Update release number.
10287
b796c9b7
SM
102882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10291 "in" (bug#9190).
10292
2239d7d5
LMI
102932011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10294
e07dd7c3
LMI
10295 * mail/sendmail.el (sendmail-query-once): Restore the current
10296 buffer after querying (bug#9074).
10297
0e6a2bd7
LMI
10298 * dired.el (dired-flagged): Use different faces for marked and
10299 flagged files (bug#6117).
10300
ce887515
LMI
10301 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10302 (bug#4433).
10303
92f2affc
LMI
10304 * ido.el (ido-mode): Switch off the message if called
10305 non-interactively.
10306
57d5aff0
LMI
10307 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10308 before 587, since it appears that that's more likely to work for
10309 more people.
10310
98cd6c18 10311 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10312 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10313 exist.
10314
b96dec83
LMI
10315 * info.el: Remove the `Info-beginning-of-buffer' function
10316 (bug#8325).
10317
b796c9b7
SM
10318 * net/network-stream.el (network-stream-open-starttls):
10319 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10320
d90e2ea0
MR
103212011-08-01 Martin Rudalics <rudalics@gmx.at>
10322
10323 * window.el (display-buffer-in-window): Don't set dedicated status
10324 of window here (Bug#9215).
10325 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10326 (display-buffer-pop-up-side-window)
b796c9b7 10327 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10328
cca09170
SM
103292011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10332 before binding generated-autoload-file.
10333
027b979c
DD
103342011-08-01 Deniz Dogan <deniz@dogan.se>
10335
10336 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10337
3c7ee4f3
MA
103382011-07-30 Michael Albinus <michael.albinus@gmx.de>
10339
10340 Sync with Tramp 2.2.2.
10341
10342 * net/trampver.el: Update release number.
10343
2cc8e51a
JL
103442011-07-30 Juri Linkov <juri@jurta.org>
10345
10346 * dired-aux.el (dired-touch-initial): Remove function.
10347 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10348 current time, and `default' to the last modification time of the
10349 current marked file (bug#6887).
10350
a514d856
JM
103512011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10352
10353 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10354 numeric argument to read-number (bug#9163).
a514d856 10355
8a7eddd7
MA
103562011-07-27 Michael Albinus <michael.albinus@gmx.de>
10357
10358 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10359 connection process, it could be nil.
10360
1ddd96f5
LL
103612011-07-27 Leo Liu <sdl.web@gmail.com>
10362
10363 Simplify url handling in rcirc-mode.
10364
10365 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10366 (rcirc-browse-url-at-mouse): Remove.
10367 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10368
b248a85d
AM
103692011-07-26 Alan Mackenzie <acm@muc.de>
10370
10371 Fontify bitfield declarations properly.
10372
10373 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10374 (c-symbol-chars): Now exported as a lang variable.
10375 (c-not-primitive-type-keywords): New lang variable.
10376
10377 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10378 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10379 parsed as a bitfield declaration.
b248a85d 10380
b796c9b7
SM
10381 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10382 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10383 (c-punctuation-in): New function.
10384 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10385 declarations properly.
10386
68575ab0
UJ
103872011-07-26 Ulf Jasper <ulf.jasper@web.de>
10388
10389 * calendar/icalendar.el (icalendar--all-events): Take care of
10390 multiple vcalendars in a single file.
b796c9b7 10391 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10392
0f0a88b9
DD
103932011-07-25 Deniz Dogan <deniz@dogan.se>
10394
10395 * image.el (insert-image): Clarifying docstring.
10396
0b3f36df
MA
103972011-07-24 Michael Albinus <michael.albinus@gmx.de>
10398
10399 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10400 `tramp-send-command-and-check' if there is no error.
10401 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10402
a9901f61
AM
104032011-07-22 Alan Mackenzie <acm@muc.de>
10404
10405 Prevent cc-langs.elc being loaded at run time.
10406
10407 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10408 cc-langs.
10409
4d61f28d 10410 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10411 "(require 'cc-langs)". Quote a form so it will evaluate at
10412 (cc-mode's) compilation time.
10413
11d074b2
MA
104142011-07-22 Michael Albinus <michael.albinus@gmx.de>
10415
10416 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10417 loading. (Bug#9114)
10418
938b94c8
MR
104192011-07-21 Martin Rudalics <rudalics@gmx.at>
10420
10421 * window.el (display-buffer-pop-up-window)
10422 (display-buffer-pop-up-side-window)
10423 (display-buffer-in-side-window): Call display-buffer-set-height
10424 and display-buffer-set-width after setting the new window's
b796c9b7 10425 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10426
bfa4f190
SS
104272011-07-20 Sam Steingold <sds@gnu.org>
10428
10429 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10430 (etags-tags-included-tables): Call `convert-standard-filename' on
10431 the file names contained in TAGS so that windows Emacs can handle
10432 TAGS files created by cygwin ctags.
10433
8ca42262
LMI
104342011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10435
10436 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10437 which apparently didn't work.
10438
5db2afd2 104392011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10440
5db2afd2
RW
10441 * proced.el (proced-send-signal): For *Marked Processes* buffer
10442 put point at beginning of buffer.
10443
92e15d10
SB
104442011-07-19 Stephen Berman <stephen.berman@gmx.net>
10445
10446 * proced.el (proced-format): Make header lines align with the text
10447 (bug#1779).
10448
1bfd59e5
LMI
104492011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10450
10451 * view.el (view-buffer): Allow running in `special' modes if we're
10452 visiting a file (bug#8615).
10453
f5aae37c
MR
104542011-07-19 Martin Rudalics <rudalics@gmx.at>
10455
10456 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10457 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10458 New functions.
f5aae37c
MR
10459 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10460 more accurately.
10461
bf2c1571
AM
104622011-07-18 Alan Mackenzie <acm@muc.de>
10463
10464 Fontify declarators properly when, e.g., a jit-lock chunk begins
10465 inside a declaration.
10466
10467 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10468
b796c9b7
SM
10469 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10470 New function.
bf2c1571
AM
10471 (c-complex-decl-matchers): Insert reference to
10472 c-font-lock-enclosing-decls.
10473
10474 * progmodes/cc-engine.el (c-backward-single-comment):
10475 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10476 to nil around calls to (forward-comment -1).
10477
4e190b80
LMI
104782011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10479
12dc863d
LMI
10480 * image.el (put-image): Doc typo fix.
10481
a762e966
LMI
10482 * progmodes/etags.el (tags-search): Doc typo fix.
10483
4e190b80
LMI
10484 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10485 password if we get errors 550 to 554.
10486
f019fb21
LMI
104872011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488
b796c9b7 10489 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10490
81746738
LMI
10491 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10492 indentation character (bug#6380).
10493
3ee3a1b5
LMI
10494 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10495
c82f64de
LMI
10496 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10497 to clarify what the problem is (bug#4291).
10498
f019fb21
LMI
10499 * simple.el (current-kill): Clarify what
10500 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10501 (auto-fill-mode): Document `auto-fill-function' in relation to
10502 `auto-fill-mode' (bug#2470).
f019fb21 10503
0794775d
LM
105042011-07-16 Lawrence Mitchell <wence@gmx.li>
10505
10506 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10507 method if slot is read-only (bug#9035).
10508
be39b8cc
MR
105092011-07-16 Martin Rudalics <rudalics@gmx.at>
10510
b796c9b7 10511 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10512 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10513 selected before, see discussion of (Bug#8615), (Bug#6954).
10514 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10515
6ccf7859
GM
105162011-07-15 Glenn Morris <rgm@gnu.org>
10517
10518 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10519 Respect help-form.
6ccf7859 10520
87e86684
LM
105212011-07-09 Lawrence Mitchell <wence@gmx.li>
10522
10523 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10524 (gnutls-negotiate): Use it.
10525
d6066239
LMI
105262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
b796c9b7
SM
10528 * net/gnutls.el (gnutls-negotiate):
10529 Upcase `gnutls-algorithm-priority'.
d6066239 10530
bd23ebc0
GM
105312011-07-15 Glenn Morris <rgm@gnu.org>
10532
c65bca65
GM
10533 * jka-compr.el (jka-compr-verbose): Move from here...
10534 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10535 Add missing :version tag.
10536 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10537
478615cc
LMI
105382011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10539
7b41decb
LMI
10540 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10541 (gnutls-negotiate): Use it.
10542
dbc44fcd
LMI
10543 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10544
06789f97
LMI
10545 * info.el (Info-beginning-of-buffer): New command.
10546 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10547 announcing `b' as the key (bug#8325).
ab896c37 10548 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10549
c39da690
LMI
10550 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10551
3aa5f34b
LMI
10552 * international/mule-cmds.el
10553 (describe-specified-language-support): Make the error message
10554 clearer (bug#8905).
10555
4bf0979f
LMI
10556 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10557
478615cc
LMI
10558 * isearch.el (isearch-barrier): Add a doc string, since it's
10559 mentioned in a function doc string (bug#8678).
10560
75c68aa1
MR
105612011-07-15 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10564 buffer argument (Bug#9083) and self-identifying label argument.
10565
a7c33da2
GM
105662011-07-15 Glenn Morris <rgm@gnu.org>
10567
10568 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10569
2f5c6024
LMI
105702011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571
10572 * man.el (Man-fontify-manpage): Fix message when formatting the
10573 man page (bug#7929).
10574
0bb23927 105752011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10576
10577 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10578 argument LRM; if non-nil, append an invisible LRM character to the
10579 buffer name.
10580 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10581 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10582 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10583 paragraph direction.
cce4b0a7 10584
621ef9ab
LMI
105852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10586
d1583c48
LMI
10587 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10588 the man page name (bug#7929).
10589
6a57fb5f
LMI
10590 * image.el (put-image): Mention the `put-image' overlay property
10591 (bug#7834).
10592
d7956b14
LMI
10593 * scroll-bar.el (set-scroll-bar-mode): Mention that
10594 `scroll-bar-mode' lists the values (bug#7772).
10595
5b2d4a66
LMI
10596 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10597 command (bug#7729).
10598
7509a874
LMI
10599 * rect.el (apply-on-rectangle): Return the point after the last
10600 operation.
10601 (string-rectangle): Go to the point after the last operation
10602 (bug#7522).
10603
4fe74b19
LMI
10604 * printing.el (pr-toggle-region): Clarify the documentation
10605 slightly (bug#7493).
10606
b796c9b7
SM
10607 * time.el (display-time-update):
10608 Allow `display-time-mail-function' to return nil (bug#7158).
10609 Fix suggested by Detlev Zundel.
ab283561 10610
fc233c9d
LMI
10611 * vc/diff.el (diff): Clarify the order the file names are read
10612 (bug#7111).
10613
43f5740b
LMI
10614 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10615 the doc string (bug#7015).
10616
f2182a76
LMI
10617 * font-lock.el (font-lock-maximum-decoration): Mention what
10618 numeric levels mean (bug#6935).
10619
621ef9ab
LMI
10620 * startup.el (initial-buffer-choice): Don't mention the `none'
10621 selection, which is against policy.
10622
adc47434
MR
106232011-07-14 Martin Rudalics <rudalics@gmx.at>
10624
b796c9b7
SM
10625 * window.el (display-buffer-normalize-special):
10626 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10627
7e5bfb8f
EZ
106282011-07-14 Eli Zaretskii <eliz@gnu.org>
10629
10630 * subr.el (version<, version<=, version=): Mention "-CVS" and
10631 "-12345" alpha version numbers.
10632
27fa387a
CY
106332011-07-14 Chong Yidong <cyd@stupidchicken.com>
10634
10635 * bindings.el: Add advertised binding for set-mark-command
10636 (Bug#5772).
10637
8bdfa064
CY
106382011-07-14 Chong Yidong <cyd@stupidchicken.com>
10639
10640 * bindings.el (mode-line-other-buffer):
10641 * bookmark.el (bookmark-bmenu-2-window):
10642 * bs.el (bs-cycle-next, bs-cycle-previous):
10643 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10644 switch-to-buffer.
10645
10646 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10647 Delete.
8bdfa064 10648
5eba16a3
JB
106492011-07-14 Juanma Barranquero <lekktu@gmail.com>
10650
10651 * follow.el (follow-debug-message, follow-redisplay):
10652 * jka-cmpr-hook.el (with-auto-compression-mode):
10653 Fix typos in docstrings.
10654
15853710
LMI
106552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10656
a28e4607
LMI
10657 * subr.el (with-silent-modifications): Clarify somewhat what the
10658 macro inhibits (bug#6525).
10659
15853710
LMI
10660 * simple.el (eval-expression): Note what it does if called
10661 interactively (bug#6495).
10662
bee0fcef
CY
106632011-07-13 Chong Yidong <cyd@stupidchicken.com>
10664
b796c9b7
SM
10665 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10666 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10667
10668 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10669 Remove switch-to-buffer.
10670
58274504
LMI
106712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10672
bd2fcc8d
LMI
10673 * files.el (make-directory): Clarify that an error will be raised
10674 if there's an error (bug#6397).
10675
0f04b32c
LMI
10676 * startup.el (initial-buffer-choice): Add `none' as a choice
10677 (bug#6234).
10678
465c5fc8
LMI
10679 * subr.el (add-hook): Clarify section about buffer-local hooks
10680 (bug#6218).
10681
58274504
LMI
10682 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10683
bead9a43
JB
106842011-07-13 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * tabify.el (untabify): Preserve the current column so that point
10687 doesn't move (bug#6032).
10688
3af98a7b
LMI
106892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
b796c9b7
SM
10691 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10692 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10693
6240145a
GM
106942011-07-13 Glenn Morris <rgm@gnu.org>
10695
10696 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10697 (dired-insert-directory): Give a message the first time
10698 if ls is found not to support --dired.
10699
1d8c2ccc
LMI
107002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10701
10702 * simple.el (toggle-truncate-lines): Clarify what is toggled
10703 (bug#5580). Text by Drew Adams.
10704
5fc4038e
CY
107052011-07-13 Chong Yidong <cyd@stupidchicken.com>
10706
10707 * simple.el (blink-matching-open): Make the error message from the
10708 last change less verbose.
10709
bf6012e5
DN
107102011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10711
10712 * font-lock.el (font-lock-comment-face): Use the high contrast
10713 "yellow" color for font-lock-comment-face on low color terminals
10714 using a dark background color (bug#4221).
10715
343c3b5a
LMI
107162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10717
7e9505c5
LMI
10718 * dired.el (dired-insert-set-properties): Make the doc string
10719 reflect what it does now (bug#5325).
10720
c26fdcf5
LMI
10721 * simple.el (blink-matching-open): Say that we were unable to find
10722 the match within the limit, if we're limited (bug#5122).
10723
bb388cc5
LMI
10724 * international/mule-cmds.el (prefer-coding-system): Add an
10725 example (bug#4869).
10726
343c3b5a
LMI
10727 * progmodes/etags.el (tags-search): Document `file-list-form'
10728 (bug#4731).
10729
2a517d45
LM
107302011-07-13 Lawrence Mitchell <wence@gmx.li>
10731
10732 * net/browse-url.el (browse-url-default-browser)
10733 (browse-url-browser-function): Make the default browser choice a
10734 bit more logical (bug#4300). Also clean up the doc string.
10735
b6c78ef2
JB
107362011-07-13 Juanma Barranquero <lekktu@gmail.com>
10737
10738 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10739 binary endings (bug#4440).
10740
1c4dd947
LMI
107412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10742
a2014063
LMI
10743 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10744 which can be pretty annoying (bug#8971).
10745
9c9c2d88
LMI
10746 * jka-compr.el (jka-compr-verbose): New variable, and use
10747 throughout (bug#8971).
10748
1c4dd947
LMI
10749 * info.el (Info-find-file): Fall back on the installation
10750 directory if we can't find the info node anywhere else.
10751
a1c9f41b
SO
107522011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10753
10754 * vc/vc.el (vc-revert-file):
10755 Don't set file time-stamp in the past. (Bug#5181)
10756
536f3d36
LMI
107572011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10758
7152b011
LMI
10759 * files.el (after-find-file): Give a better error message when
10760 trying to find a symlink that points to a file that doesn't exist
10761 (bug#4398).
10762
536f3d36
LMI
10763 * progmodes/cc-vars.el: Remove (probably) misleading comment
10764 (bug#4396).
10765
460c0fba
JB
107662011-07-12 Johan Bockgård <bojohan@gnu.org>
10767
10768 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10769
7a6bda45
CY
107702011-07-12 Chong Yidong <cyd@stupidchicken.com>
10771
10772 * mouse-sel.el: Hack restoring functionality, while keeping
10773 compatibility with 2010-07-03 changes to mouse selection.
10774 (mouse-sel-primary-overlay): New var.
10775 (mouse-sel-selection-alist): Use it.
10776 (mouse-sel-mode): Doc fix; remove points that are default features
10777 of mouse.el.
10778
c79598ef
JB
107792011-07-12 Johan Bockgård <bojohan@gnu.org>
10780
10781 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10782 Fix previous fix (bug#2490).
10783
ff8be6ef
RW
107842011-07-12 Roland Winkler <winkler@gnu.org>
10785
b796c9b7
SM
10786 * textmodes/bibtex.el (bibtex-initialize):
10787 Use pop-to-buffer-same-window.
ff8be6ef
RW
10788 (bibtex-search-entries): Fix interactive call.
10789
296ba3ee
LMI
107902011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791
f5242a02 10792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10793 Fontise bytecomp Error lines more correctly (bug#2490).
10794 Fix suggested by Johan Bockgård.
f5242a02 10795
296ba3ee
LMI
10796 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10797
10798 * dired-x.el (dired-guess-default): Use `delete-dups'.
10799
f69fd0d2
CY
108002011-07-12 Chong Yidong <cyd@stupidchicken.com>
10801
10802 * dired.el (dired-mark-prompt):
10803 * dired-aux.el (dired-read-shell-command): Doc fix.
10804
eab5dc07
LMI
108052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10806
b796c9b7
SM
10807 * mail/sendmail.el (sendmail-query-once):
10808 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10809 emacs -Q.
10810
10811 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10812
eab5dc07
LMI
10813 * cus-edit.el (custom-file): Take an optional no-error variable.
10814 (customize-save-variable): Set the variable, and give a warning if
10815 running under "emacs -q".
10816
a1e65d42
JB
108172011-07-11 Juanma Barranquero <lekktu@gmail.com>
10818
10819 * loadhist.el (unload-feature-special-hooks):
10820 Add `auto-coding-functions', `fill-nobreak-predicate' and
10821 `find-directory-functions' (bug#5327).
10822
1d52da10
LMI
108232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10824
be958f1d
LMI
10825 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10826
5bedb26c
LMI
10827 * cus-edit.el (custom-guess-name-alist): -alist variables should
10828 use the `alist' type (bug#3120). Suggested by Drew Adams.
10829
1d52da10
LMI
10830 * printing.el: Add documentation to all the `pr-toggle-' commands.
10831
cd394be1 108322011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10833
10834 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10835 backends where it makes sense (bug#2623).
10836
dcc88d8a
LMI
108372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10838
c3de9feb
LMI
10839 * dired-x.el (dired-guess-default): Remove duplicate shell command
10840 entries (bug#2028).
8a93078b 10841 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10842 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10843
dcc88d8a
LMI
10844 * subr.el (remove-duplicates): New conveniency function.
10845
505e3645
LMI
108462011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10847
10848 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10849 (bug#1526).
10850
108512011-07-10 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (display-buffer-normalize-default): Don't invert
10854 meaning of even-window-heights. Reported by Eli Zaretskii
10855 <eliz@gnu.org>.
10856
455e4fa1
BR
108572011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10858
10859 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10860
8e0bc3e9
CY
108612011-07-10 Chong Yidong <cyd@stupidchicken.com>
10862
10863 * window.el (display-buffer): Fix arguments to
10864 display-buffer-reuse-window in last change.
10865
fa7c3228
CY
10866 * faces.el (link): Use a less saturated blue on light backgrounds.
10867
10868 * startup.el (fancy-startup-text, fancy-about-text)
10869 (fancy-startup-tail): Use font-lock faces, for background safety.
10870
c0a7f300
BN
108712011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10872
b796c9b7
SM
10873 * emulation/viper-cmd.el (viper-change-state-to-vi):
10874 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10875
4dc2a129
MR
108762011-07-09 Martin Rudalics <rudalics@gmx.at>
10877
10878 * window.el (display-buffer-default-specifiers): Remove.
10879 (display-buffer-macro-specifiers): Remove default specifiers.
10880 (display-buffer-alist): Default to nil.
b796c9b7 10881 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10882 (display-buffer-pop-up-window): Allow splitting internal
10883 windows. Check whether a live window was created.
10884 (display-buffer-other-window-means-other-frame)
10885 (display-buffer-normalize-arguments): Rename to
10886 display-buffer-normalize-argument and rewrite. Set the
10887 other-window specifier.
10888 (display-buffer-normalize-special): New function.
10889 (display-buffer-normalize-options): Rename to
10890 display-buffer-normalize-default and rewrite.
10891 (display-buffer-normalize-options-inhibit): Remove.
10892 (display-buffer-normalize-specifiers): Rewrite.
10893 (display-buffer): Process other-window specifier and call
10894 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10895 more faithfully.
b796c9b7 10896 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10897 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10898 (display-buffer-in-window, display-buffer-alist-set):
10899 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10900 <tassilo@member.fsf.org>.
10901
2d43b8c9
LL
109022011-07-09 Leo Liu <sdl.web@gmail.com>
10903
10904 * register.el (insert-register): Restore accidental change on
10905 2011-06-26. (Bug#9028)
10906
7f9b7c53
GM
109072011-07-09 Glenn Morris <rgm@gnu.org>
10908
10909 * subr.el (remq): Handle the empty list. (Bug#9024)
10910
f042cfd8
AS
109112011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10912
10913 * mail/sendmail.el (send-mail-function): No longer delay custom
10914 initialization.
10915 * custom.el (custom-initialize-delay): Doc fix.
10916
856b2f11
SM
109172011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10920
afae1d68
MA
109212011-07-08 Michael Albinus <michael.albinus@gmx.de>
10922
10923 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10924 human-friendly prompt.
10925
0757af94
SM
109262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10929 provided by a particular plugin.
10930
d760b731
LMI
109312011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10934 save customizations (with "emacs -Q"), just set the variable
10935 instead of erroring out.
10936
10937 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10938
cd79ce90
JL
109392011-07-08 Juri Linkov <juri@jurta.org>
10940
10941 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10942 (archive-zip-update-case): Use 7z if found by `executable-find'.
10943 The order of searching the available programs is the same as in
10944 `archive-zip-extract' (bug#8968).
10945
14cc04aa
CY
109462011-07-07 Chong Yidong <cyd@stupidchicken.com>
10947
10948 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10949 (menu-bar-options-menu): Tweak descriptions.
10950
0a1848ec
LMI
109512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10952
10953 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10954 menu items into verb phrases (bug#1421). Also refill to fit under
10955 80 columns.
10956
f5bd0689
CY
109572011-07-07 Chong Yidong <cyd@stupidchicken.com>
10958
538e85c6
CY
10959 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10960 (Info-read-node-name): Doc fix (Bug#1084).
10961
f5bd0689
CY
10962 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10963 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10964 (end-of-sexp, beginning-of-sexp)
10965 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10966 (forward-symbol, forward-same-syntax, word-at-point)
10967 (sentence-at-point): Doc fix (Bug#1144).
10968
56ec5115
LMI
109692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10970
f3f8e37f
LMI
10971 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10972 should cover it (bug#1281).
10973
0757af94 10974 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10975
e9fce1ac 10976 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10977 negotiation fails, then possibly try again with a non-encrypted
10978 connection (bug#9017).
10979
56ec5115
LMI
10980 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10981 be used.
10982
c2f9aec8
RS
109832011-07-07 Richard Stallman <rms@gnu.org>
10984
10985 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10986 property, and handle its changed format.
10987 Look for the correct line number.
10988 Use file's line contents (but not past first =) to find
10989 correct line in message.
10990
ef7b981d 109912011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10992
10993 * international/characters.el (build-unicode-category-table):
10994 Delete it.
0757af94 10995 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10996
0757af94 10997 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10998 to src/chartab.c.
10999 (get-char-code-property): Call unicode-property-table-internal to
11000 load a file. Call get-unicode-property-internal where necessary.
11001 (put-char-code-property): Call unicode-property-table-internal to
11002 load a file. Call put-unicode-property-internal where necessary.
11003 put-unicode-property-internal where necessary.
0757af94
SM
11004 (char-code-property-description):
11005 Call unicode-property-table-internal to load a file.
c805dec0
KH
11006
11007 * international/charprop.el:
11008 * international/uni-bidi.el:
11009 * international/uni-category.el:
11010 * international/uni-combining.el:
11011 * international/uni-comment.el:
11012 * international/uni-decimal.el:
11013 * international/uni-decomposition.el:
11014 * international/uni-digit.el:
11015 * international/uni-lowercase.el:
11016 * international/uni-mirrored.el:
11017 * international/uni-name.el:
11018 * international/uni-numeric.el:
11019 * international/uni-old-name.el:
11020 * international/uni-titlecase.el:
11021 * international/uni-uppercase.el: Regenerate.
11022
11023 * loadup.el: Load international/charprop.el before
11024 international/characters.
11025
e14b388a
CY
110262011-07-07 Chong Yidong <cyd@stupidchicken.com>
11027
11028 * window.el (next-buffer, previous-buffer): Signal an error if
11029 called from a minibuffer window.
11030
11031 * bindings.el: Revert 2011-07-04 change.
11032
354cf0ba
RS
110332011-07-06 Richard Stallman <rms@gnu.org>
11034
11035 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11036 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11037 Treat markers like ints.
11038 (rmail-mime-entity): Doc fix.
11039
a48868a7
LMI
110402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11041
4906cd3d
LMI
11042 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11043 defcustom again for backwards compatibility.
11044
e0457abe
LMI
11045 * simple.el (shell-command-on-region): Fill.
11046
d67f7e1f
LMI
11047 * dired-aux.el (dired-kill-line): Add a doc string.
11048
fe204702
LMI
11049 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11050 to "\\sw\\|\\s_" (bug#358).
11051
a48868a7
LMI
11052 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11053 (dired-unmark-backward): Ditto.
11054 (dired-flag-backup-files): Ditto.
11055
11056 * dired-x.el (dired-mark-sexp): Ditto.
11057
aa8a705c
RS
110582011-07-06 Richard Stallman <rms@gnu.org>
11059
11060 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11061 (rmail-mime-entity): New arg TRUNCATED.
11062 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11063 New functions.
11064 (rmail-mime-save): Warn if entity is truncated.
11065 (rmail-mime-toggle-hidden): Likewise, for showing.
11066 (rmail-mime-process-multipart): Record when an entity is truncated.
11067
a9a936b9
RS
11068 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11069 if ENTITY is a string.
11070
1f2b92cb
LMI
110712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11072
f4f73198 11073 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11074 of faces when `M-C-x'-ing their definitions (bug#8378).
11075 Also clean up the code slightly.
f4f73198 11076
12b16734 11077 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11078 because that makes the colors go away.
12b16734 11079
f0691d22
LMI
11080 * mail/sendmail.el (send-mail-function): Change the default to
11081 `sendmail-query-once'.
9e87df06 11082 (sendmail-query-once): Add an autoload cookie.
f0691d22 11083
1f2b92cb
LMI
11084 * net/network-stream.el (network-stream-open-starttls): Try using
11085 a plain connection even if the server offered STARTTLS, and we
11086 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11087 capability. This should make smtpmail.el work in slightly more
11088 configurations.
11089
1cdd2a1b
MA
110902011-07-06 Michael Albinus <michael.albinus@gmx.de>
11091
11092 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11093 New defun.
11094 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11095
fbcc67e2
MM
110962011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11097
11098 * progmodes/sql.el: Version 3.0
0757af94 11099 (sql-product-alist): Add product :completion-object,
fbcc67e2 11100 :completion-column, and :statement attributes.
0757af94 11101 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11102 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11103 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11104 ansi keywords.
11105 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11106 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11107 (sql-oracle-show-reserved-words): New function for development.
11108 (sql-product-font-lock): Simplify for source code buffers.
11109 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11110 New functions.
11111 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11112 (sql-mode-map): Add statement movement functions.
11113 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11114 New variable.
fbcc67e2
MM
11115 (sql-statement-regexp, sql-beginning-of-statement)
11116 (sql-end-of-statement, sql-signum): New functions.
0757af94 11117 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11118 (sql-show-sqli-buffer): Bug fix.
11119 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11120 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11121 with sql-interactive-mode.
11122 (sql-save-connection): Save buffer local settings.
0757af94 11123 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11124 (sql-product-interactive): Bug fix.
11125 (sql-preoutput-hold): New variable.
11126 (sql-interactive-remove-continuation-prompt): Bug fixes.
11127 (sql-debug-redirect): New variable.
11128 (sql-str-literal): New function.
11129 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11130 Redesign.
fbcc67e2
MM
11131 (sql-oracle-save-settings, sql-oracle-restore-settings)
11132 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11133 (sql-completion-object, sql-completion-column)
11134 (sql-completion-sqlbuf): New variables.
11135 (sql-build-completions-1, sql-build-completions)
11136 (sql-try-completion): New functions.
11137 (sql-read-table-name): Use them.
11138 (sql-contains-names): New buffer local variable.
11139 (sql-list-all, sql-list-table): Use it.
11140 (sql-oracle-completion-types): New variable.
11141 (sql-oracle-completion-object, sql-sqlite-completion-object)
11142 (sql-postgres-completion-object): New functions.
11143
d4eaeab1
GM
111442011-07-06 Glenn Morris <rgm@gnu.org>
11145
11146 * window.el (pop-to-buffer): Doc fix.
11147
322b7dab 111482011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11149
11150 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11151
322b7dab 111522011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11153
322b7dab 11154 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11155
322b7dab 11156 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11157
605dd5bf
CY
111582011-07-05 Chong Yidong <cyd@stupidchicken.com>
11159
11160 * button.el (button): Inherit from link face. Suggested by Dan
11161 Nicolaescu.
11162
7dbfa719
SM
111632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11164
3db614b0
SM
11165 * progmodes/gdb-mi.el: Fit in 80 columns.
11166 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11167 switch-to-buffer.
11168
7dbfa719
SM
11169 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11170 if imenu is simply not configured (bug#8941).
11171
919d884a
KM
111722011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11173
11174 * allout.el (allout-post-undo-hook): New allout outline-change
11175 event hook to signal undo activity.
11176 (allout-post-command-business): Run allout-post-undo-hook if an
11177 undo just occurred.
7dbfa719
SM
11178 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11179 * allout-widgets.el (allout-widgets-after-undo-function):
11180 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11181 in the vicinity of an undo.
11182 (allout-widgets-mode): Include allout-widgets-after-undo-function
11183 on the new allout-post-undo-hook.
11184
450a0f09
SM
111852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11188 Let define-derived-mode define it.
11189 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11190 cycles of abbrev-table inheritance (bug#8998).
11191
2de69e00
RW
111922011-07-05 Roland Winkler <winkler@gnu.org>
11193
11194 * textmodes/bibtex.el: Add support for biblatex.
11195 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11196 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11197 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11198 (bibtex-entry-alist, bibtex-field-alist): New variables.
11199 (bibtex-entry-field-alist): Obsolete alias for
11200 bibtex-BibTeX-entry-alist.
11201 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11202 (bibtex-set-dialect): New command.
11203 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11204 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11205 Bind via bibtex-set-dialect.
2de69e00
RW
11206 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11207 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11208 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11209 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11210 Define via bibtex-set-dialect.
450a0f09
SM
11211 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11212 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11213 (bibtex-vec-push, bibtex-vec-incr): New functions.
11214 (bibtex-format-entry, bibtex-field-list)
11215 (bibtex-print-help-message, bibtex-validate)
11216 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11217
2dcdbdd9
SM
112182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * progmodes/compile.el (compilation-goto-locus):
11221 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11222 * bs.el (bs-cycle-next, bs-cycle-previous):
11223 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11224 * bindings.el (mode-line-other-buffer):
11225 * autoinsert.el (auto-insert):
11226 * arc-mode.el (archive-extract):
11227 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11228
b27640fe
JB
112292011-07-05 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11232 Fix check of `emacs-lock-unlockable-modes'.
11233 Coerce true values of `emacs-lock--try-unlocking' to t.
11234
53bbe3ad
JB
112352011-07-05 Juanma Barranquero <lekktu@gmail.com>
11236
11237 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11238 * emacs-lock.el: New file.
11239
1d3cdbc7
JD
112402011-07-05 Julien Danjou <julien@danjou.info>
11241
11242 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11243 than `boundp' to check if face is set.
11244
9173deec
JB
112452011-07-05 Juanma Barranquero <lekktu@gmail.com>
11246
11247 * register.el (registerv-make):
11248 * window.el (window-min-height): Fix typos in docstrings.
11249
869795d6
JD
112502011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11251
9173deec 11252 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11253 Update doc string.
11254
b768cdcd
JB
112552011-07-04 Juanma Barranquero <lekktu@gmail.com>
11256
11257 * server.el (server-execute): Catch quit and call
11258 `server-return-error' to pass the error back to emacsclient and
11259 close the connection (bug#8942).
11260
13aa217b
KM
112612011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11262
11263 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11264 insecure exception for current topic. Also note that auto-saves
11265 are handled differently.
11266
5d3385a0 11267 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11268 State variables for tracking auto-save inhibition situation.
11269
11270 (allout-write-contents-hook-handler): Rename from
11271 'allout-write-file-hook-handler', and describe how it depends on
11272 write-contents-functions sensitivity to non-nil value to prevent
11273 file write.
11274
11275 (allout-auto-save-hook-handler): Remove. auto-save does not check
11276 this in individual buffers, only in the starting buffer, so this
11277 is not the right way for us to inhibit auto-save in a buffer
11278 according to its condition.
11279
11280 (allout-mode): Use new allout-write-contents-hook-handler, and
11281 only with write-contents-functions. Remove auto-save provisions -
11282 they're implemented elsewhere.
11283
11284 (allout-before-change-handler): If undo is in progress, note that
11285 for attention of allout-post-command-business.
11286
11287 (allout-post-command-business): If the command we're following was
11288 an undo, check for change in the status of encrypted items and
11289 adjust auto-save inhibitions accordingly.
11290
11291 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11292 according to whether there are or aren't any plain-text topics
11293 pending encryption.
11294
2dcdbdd9 11295 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11296 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11297 if there are plain-text topics pending encryption.
13aa217b
KM
11298
11299 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11300 buffer-saved-size and some allout state to not inhibit auto-saves
11301 if there are no longer any plain-text topics pending encryption.
11302
0757af94
SM
11303 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11304 No longer provide for exemption of the current topic.
13aa217b 11305
ac89b32c
JL
113062011-07-04 Juri Linkov <juri@jurta.org>
11307
11308 Add 7z operations to delete and save changed members (bug#8968).
11309 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11310 New defcustoms.
11311 (archive-7z-write-file-member): New function.
11312 (archive-7z-summarize): Fix the number of dashes in the
11313 listing output.
11314
8fa39615
SM
113152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11318 (bug#8958).
11319
2f11b3f1
CY
113202011-07-04 Chong Yidong <cyd@stupidchicken.com>
11321
d66fef2b
CY
11322 * bindings.el: Ignore next-buffer and previous-buffer in
11323 minibuffer-local-map.
11324
2f11b3f1
CY
11325 * font-lock.el (font-lock-builtin-face): Change light background
11326 color to dark slate blue (Bug#6693).
11327
f932a347
WD
113282011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11329
11330 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11331
c8af70e1
SM
113322011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11335 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11336 Add switch-to-buffer.
11337
f158badc
LMI
113382011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11339
11340 * isearch.el (isearch-search-fun-function): Clarify further the
11341 meaning of the function returned.
11342
6d95bd46
MA
113432011-07-04 Michael Albinus <michael.albinus@gmx.de>
11344
11345 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11346
11347 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11348 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11349 Use it.
11350 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11351 `tramp-default-remote-path' does not exist.
11352 (tramp-send-command-and-read): New optional argument NOERROR.
11353 (tramp-open-connection-setup-interactive-shell)
11354 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11355 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11356 (tramp-process-sentinel): Flush also process' connection property.
11357 (tramp-sh-handle-start-file-process): Do not set process
11358 sentinel. It is done now ...
11359 (tramp-maybe-open-connection): ... here. (Bug#8929)
11360
909e6b67
MK
113612011-07-04 MON KEY <monkey@sandpframing.com>
11362
11363 * play/animate.el (animate-string): Doc fixes and allow changing
11364 the buffer name (bug#5417).
11365
113662011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
c8af70e1 11368 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11369
f34755dc
PE
113702011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11371
396cec72
PE
11372 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11373 This is simpler and helps future-proof the code.
11374 (timer-until): Use time-subtract and float-time.
08235028 11375 (timer--time-less-p): Use time-less-p.
f34755dc 11376
56e6cc31
JB
113772011-07-04 Juanma Barranquero <lekktu@gmail.com>
11378
3abb79e5
JB
11379 * type-break.el (timep): Use the value of `float-time' to avoid a
11380 byte-compiler warning.
11381
56e6cc31
JB
11382 * server.el (server-eval-and-print): Return any result, even nil.
11383
7b9430b4
PE
113842011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11385
11386 * type-break.el: Accept time formats that the builtins accept.
11387 (timep, type-break-time-difference): Accept any format that
11388 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11389 This is simpler and helps future-proof the code.
11390 (type-break-time-difference): Round rather than ignoring
11391 subseconds components.
11392
3034e9e7
LMI
113932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11394
11395 * info.el (Info-apropos-matches): Make non-interactive, since it
11396 doesn't seem to do anything useful as a command (bug#8829).
11397
1485f4c0
CY
113982011-07-03 Chong Yidong <cyd@stupidchicken.com>
11399
11400 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11401 Move from faces.el.
1485f4c0
CY
11402 (frame-default-terminal-background): New function.
11403
11404 * custom.el (custom-push-theme): Don't record faces in `changed'
11405 theme; this doesn't work correctly for per-frame face settings.
11406 (disable-theme): Use face-set-after-frame-default to reset faces.
11407 (custom--frame-color-default): New function.
11408
9fa3dd45
LMI
114092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11410
c8af70e1 11411 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11412 (bug#8769).
11413
6cbbc20c
KR
114142011-03-29 Kevin Ryde <user42@zip.com.au>
11415
11416 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11417 `perl-Test2' extend to match possible "fail #N" rep count
11418 (bug#8377).
11419
c7f98048
LMI
114202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11421
65676592
LMI
11422 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11423 `smtpmail-via-smtp' now returns the error instead of nil.
11424
c7f98048
LMI
11425 * isearch.el (isearch-search-fun-function): Clarify the doc string
11426 (bug#8101).
11427
56e6cc31 114282011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11429
11430 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11431 unnecessary spaces (bug#8987).
11432
2b216704
LMI
114332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11434
11435 * net/network-stream.el (open-network-stream): Use the
11436 :end-of-capability command thoughout.
11437
114382011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11439
11440 * net/network-stream.el (open-network-stream): Add the
11441 :end-of-capability command parameter, used by pop3.el.
11442
36adf6ce
LMI
114432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11444
1ca0da0e
LMI
11445 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11446
fc00f69c
LMI
11447 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11448 for list)" (bug#6475).
11449
28fd8759 11450 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11451 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11452 an error (bug#6297).
11453
0dd8b6da
LMI
11454 * man.el (Man-reference-regexp): Allow matching possible
11455 word-wrapped references (bug#6289).
11456
ce1438d6
LMI
11457 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11458 for consistency with the other vc buffers (bug#6197).
11459 (vc-checkin): Ditto.
11460
11461 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11462
36adf6ce
LMI
11463 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11464
e83cc1f7
LMI
114652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11466
8a20ca4c
LMI
11467 * custom.el (defcustom): Clarify that :set is only used in the
11468 Customize user interface (bug#6089).
11469
83319045
LMI
11470 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11471 associated with a file, refuse to run instead of erroring out
11472 (bug#6084).
11473
a8392169
LMI
11474 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11475 the doc string, since it appears that using `fill-column' always
11476 controls the width (bug#7845).
11477
e83cc1f7
LMI
11478 * simple.el (shell-command-on-region): Say where the error output
11479 went if `shell-command-default-error-buffer' is set (bug#6857).
11480
e47ca23b
KM
114812011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11482
11483 * allout.el (allout-yank-processing): Adjust cursor position for
11484 backwards-deleted space.
11485
11486 (allout-rebullet-heading): Register changes with
11487 allout-exposure-changed-hook, so the modified topic is properly
11488 decorated.
11489
5cf56143
LMI
114902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491
08549772
LMI
11492 * minibuffer.el (completion-in-region): Document PREDICATE
11493 (bug#7136).
11494
48e96771
LMI
11495 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11496 of keyword/argument pairs (bug#6904).
11497
c8af70e1
SM
11498 * replace.el (multi-occur):
11499 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11500
e17d05e2
LMI
115012011-07-02 Drew Adams <drew.adams@oracle.com>
11502
11503 * dired.el (dired-mark-if): Make the message about whether it's
11504 marking or unmarking clearer (bug#8523).
11505
063b0e45
LMI
115062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11507
11508 * disp-table.el (display-table-print-array): New function.
11509 (describe-display-table): Use it to print the vectors more pretty
11510 (Bug#8859).
11511
28545e04
MR
115122011-07-02 Martin Rudalics <rudalics@gmx.at>
11513
11514 * window.el (window-state-get-1): Don't assign clone numbers.
11515 Add clone-of item to list of window parameters.
11516 (window-state-put-2): Don't process clone numbers.
11517 (display-buffer-alist): Fix doc-string.
11518
3349e122
SM
115192011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * subr.el (remq): Don't allocate if it's not needed.
11522 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11523 (keymap--merge-bindings): New functions.
11524 (keymap-canonicalize): Use them to refine the canonicalization.
11525 * minibuffer.el (minibuffer-local-completion-map)
11526 (minibuffer-local-must-match-map): Move initialization from C.
11527 (minibuffer-local-filename-completion-map): Move initialization from C;
11528 don't inherit from anything here.
11529 (minibuffer-local-filename-must-match-map): Make obsolete.
11530 (completing-read-default): Use make-composed-keymap to combine
11531 minibuffer-local-filename-completion-map with either
11532 minibuffer-local-must-match-map or
11533 minibuffer-local-filename-completion-map.
11534
d224ac83
GM
115352011-07-01 Glenn Morris <rgm@gnu.org>
11536
3de63bf8
GM
11537 * type-break.el (type-break-time-sum): Use dolist.
11538
d224ac83
GM
11539 * textmodes/flyspell.el (flyspell-word-search-backward):
11540 Replace CL function.
11541
1a1e3f32
SM
115422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11543
fe3f64d5
SM
11544 * mouse.el (mouse--strip-first-event): New function.
11545 (function-key-map): Use it to map fringe clicks to normal clicks
11546 by default.
11547
eb604e34
SM
11548 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11549 (vc-bzr-revision-completion-table): Add support for annotate and date.
11550
1a1e3f32
SM
11551 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11552 inherit from parent.
11553
5bd35902
LMI
115542011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11555
ace6c69c 11556 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11557 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11558
191e2bed
LMI
11559 * dired.el (dired-mode): Fix up the doc string as suggested by
11560 Drew Adams (bug#8817).
11561
5bd35902
LMI
11562 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11563 cookie, since the manual says that it should be possible to add
11564 this function to `find-file-hook' (bug#8709).
11565
eee8207a
TZ
115662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11567
11568 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11569 here. Noted Ted Zlatanov as the maintainer.
11570 (cfengine-common-settings, cfengine-common-syntax): New functions
11571 to set up common things between `cfengine-mode' and
11572 `cfengine3-mode'.
11573 (cfengine3-mode): New mode.
11574 (cfengine3-defuns cfengine3-defuns-regex
11575 (cfengine3-class-selector-regex cfengine3-category-regex)
11576 (cfengine3-vartypes cfengine3-font-lock-keywords)
11577 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11578 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11579
36b148cf
MA
115802011-07-01 Michael Albinus <michael.albinus@gmx.de>
11581
11582 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11583
11584 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11585
0bf4ba9a
MR
115862011-07-01 Martin Rudalics <rudalics@gmx.at>
11587
11588 * window.el (same-window-buffer-names, same-window-regexps)
11589 (same-window-p, special-display-frame-alist)
11590 (special-display-popup-frame, special-display-function)
11591 (special-display-buffer-names, special-display-regexps)
11592 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11593 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11594 (split-window-preferred-function, split-height-threshold)
11595 (split-width-threshold, even-window-heights)
11596 (display-buffer-mark-dedicated, window-splittable-p)
11597 (split-window-sensibly, window-safely-shrinkable-p):
11598 Un-obsolete.
11599 (display-buffer): Don't spread args with function specifier
11600 because special-display-popup-frame won't like it.
11601
35837f51
PE
116022011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11603
d0672f86
PE
11604 Time-stamp simplifications and fixes.
11605 These improve accuracy slightly, and future-proof the code
11606 against some potential changes to current-time format.
11607
b9444d97
PE
11608 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11609 by using time-since and float-time.
11610
0ef923dc
PE
11611 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11612 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11613 + NNN microseconds".
11614
2f81380d
PE
11615 * type-break.el (type-break-time-sum): Rewrite using time-add.
11616
845b5c3e
PE
11617 * play/hanoi.el (hanoi-current-time-float): Remove.
11618 All uses replaced by float-time.
11619
ee6f1be0
PE
11620 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11621 This yields a more-accurate answer.
11622 (rng-time-to-float): Remove; no longer needed.
11623
fe955043
PE
11624 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11625
5777162a
PE
11626 * calendar/timeclock.el (timeclock-seconds-to-time):
11627 Defalias to seconds-to-time, since they're the same thing.
11628
3103f8b6 11629 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11630 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11631 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11632
0e61a35f
SM
116332011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * window.el (bury-buffer): Don't iconify the only frame.
11636 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11637 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11638
ddd63a1e
CY
116392011-07-01 Chong Yidong <cyd@stupidchicken.com>
11640
0e61a35f
SM
11641 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11642 Add mouse-yank-primary.
ddd63a1e 11643
055f4923
TZ
116442011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11645
11646 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11647
6a2fb145
SM
116482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11649
11650 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11651 (find-library-name): Use it to find relative load names when provided
11652 absolute file name (bug#8803).
11653
fd4983f2
LMI
116542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11655
887d14ad
LMI
11656 * textmodes/flyspell.el (flyspell-word): Consider words that
11657 differ only in case as potential doublons (bug#5687).
11658
c53dc7fc
LMI
11659 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11660 Remove two rather uninteresting debugging-like messages to make
11661 debbugs.el more silent.
11662
fd4983f2
LMI
11663 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11664 a password-like phrase.
11665
7a71b18d 116662011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11667
11668 * progmodes/cc-guess.el: New file.
11669
6a2fb145 11670 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11671
11672 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11673 derived from `c-basic-common-init'.
11674
11675 * progmodes/cc-mode.el (top-level): Require cc-guess.
11676 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11677
1fa280a3
LM
116782011-06-30 Lawrence Mitchell <wence@gmx.li>
11679
11680 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11681
e6597158
AM
116822011-06-30 Alan Mackenzie <acm@muc.de>
11683
1fa280a3
LM
11684 * progmodes/cc-engine.el (c-guess-continued-construct):
11685 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11686 lock is disabled. Name this case as "CASE G".
11687
68ba37fb
KM
116882011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11689
11690 * allout.el (allout-yank-processing): Fix injection of extra space
11691 between bullet and non-whitespace character in first topic when
11692 pasting, ensuring that the actual spacing in the pasted topic
11693 following the bullet char is preserved. This extra space was
11694 causing pasted encrypted topics to get a decrypted status even
11695 when the content was actually still encrypted. Now the decryption
11696 status from before the paste is preserved.
11697
11698 (allout-flag-region): Set all allout overlays so they evaporate
11699 when reduced to zero length (evanescent), to prevent overlay
11700 leakage.
11701
887a0b34
GM
117022011-06-30 Glenn Morris <rgm@gnu.org>
11703
94b9acce
GM
11704 * w32-fns.el (w32-charset-info-alist): Declare.
11705
1d9b46d4
GM
11706 * find-dired.el (find-grep-options): Simplify.
11707
cc232200
GM
11708 * term/ns-win.el (ns-set-resource): Declare.
11709
28e77c46
GM
11710 * ses.el (row, col): Declare dynamic variables honestly.
11711
887a0b34
GM
11712 * textmodes/reftex-parse.el (index-tags): Declare.
11713
658d8eb8
CY
117142011-06-30 Chong Yidong <cyd@stupidchicken.com>
11715
11716 * cus-edit.el (customize-push-and-save): New function.
11717
11718 * files.el (hack-local-variables-confirm): Use it.
11719
1fa280a3
LM
11720 * custom.el (load-theme): New arg NO-CONFIRM.
11721 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11722 (custom-enabled-themes): Doc fix.
11723
11724 * cus-theme.el (customize-create-theme)
11725 (custom-theme-merge-theme): Callers to load-theme changed.
11726
bb617717
LMI
117272011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11728
d61bdd5d
LMI
11729 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11730 short URLs have at least one dot in them (bug #7614).
11731
bb617717
LMI
11732 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11733 nil, because using a pty is apparently too slow (bug #895).
11734
2f31f37a
LMI
117352011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736
11737 * mail/sendmail.el (sendmail-query-once): New function.
11738 (sendmail-query-once-function): New variable.
11739
3076b24e
GM
117402011-06-29 Glenn Morris <rgm@gnu.org>
11741
faf2a174
GM
11742 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11743
3076b24e
GM
11744 * ses.el (top-level): Require cl when compiling.
11745 (ses-set-localvars): Fix error statement.
11746 Call it at compile time to silence a storm of warnings.
11747
5386012d
MR
117482011-06-29 Martin Rudalics <rudalics@gmx.at>
11749
11750 * window.el (normalize-live-buffer): Rename to
11751 window-normalize-buffer.
11752 (normalize-live-frame): Rename to window-normalize-frame.
11753 (normalize-any-window): Rename to window-normalize-any-window.
11754 (normalize-live-window): Rename to window-normalize-live-window.
11755 (make-window-atom): Rename to window-make-atom.
11756 (window-resize-reset): Rename to window--resize-reset.
11757 (window-resize-reset-1): Rename to window--resize-reset-1.
11758 (resize-mini-window): Rename to window--resize-mini-window.
11759 (resize-subwindows-skip-p): Rename to
11760 window--resize-subwindows-skip-p.
11761 (resize-subwindows-normal): Rename to
11762 window--resize-subwindows-normal.
11763 (resize-subwindows): Rename to window--resize-subwindows.
11764 (resize-other-windows): Rename to window--resize-siblings.
11765 (resize-this-window): Rename to window--resize-this-window.
11766 (resize-root-window): Rename to window--resize-root-window.
11767 (resize-root-window-vertically): Rename to
11768 window--resize-root-window-vertically.
11769 (normalize-buffer-to-display): Rename to
11770 window-normalize-buffer-to-display.
11771 (normalize-buffer-to-switch-to): Rename to
11772 window-normalize-buffer-to-switch-to.
11773 Correspondingly update all callers of the functions listed
11774 above.
11775 (display-buffer-alist, display-buffer-normalize-arguments)
11776 (display-buffer-normalize-options, display-buffer)
11777 (display-buffer-alist-set): Use "function" instead of
11778 "fun-with-args".
11779
1176868d
CY
117802011-06-28 Chong Yidong <cyd@stupidchicken.com>
11781
11782 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11783 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11784 debbugs.gnu.org. Mention acknowledgment email.
11785
20a7a65f
LMI
117862011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11787
11788 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11789 buffer multibyteness, since it shouldn't matter.
11790
5f45cca5
MR
117912011-06-28 Martin Rudalics <rudalics@gmx.at>
11792
11793 * window.el (display-buffer-in-side-window): Handle dedicated
11794 windows as in display-buffer-reuse-window.
11795 (display-buffer-normalize-alist): Use value of override
11796 specifier.
11797 (display-buffer-normalize-specifiers): Use value of
11798 other-window-means-other-frame specifier.
11799 (display-buffer-alist): Rewrite some texts in widgets.
11800 (display-buffer): Spread arguments when calling function
11801 specified by fun-with-args.
11802
ad85fe1f
DD
118032011-06-28 Deniz Dogan <deniz@dogan.se>
11804
1fa280a3
LM
11805 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11806 Unnest `let'.
da68c4c8 11807
ad85fe1f
DD
11808 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11809 selectors (Bug#5732).
ec49bd31 11810 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11811
a08cc025
JA
118122011-06-27 Jari Aalto <jari.aalto@cante.net>
11813
11814 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11815 (eshell-ls-date-format): New defcustom.
11816 (eshell-ls-file): Use it.
11817
e2b551c5
SM
118182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11821
8982b231
KY
118222011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11823
11824 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11825 (ange-ftp-make-tmp-name): New arg.
11826 (ange-ftp-file-local-copy): Use it.
11827
36c9fa27
J
118282011-06-27 Jambunathan K <kjambunathan@gmail.com>
11829
11830 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11831 no-conversion (Bug#8870).
11832
d68443dc
MR
118332011-06-27 Martin Rudalics <rudalics@gmx.at>
11834
11835 * window.el (window-right, window-left, window-child)
11836 (window-child-count, window-last-child)
11837 (window-iso-combination-p, walk-window-tree-1)
11838 (window-atom-check-1, window-tree-1, delete-window)
11839 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11840 new naming conventions - window-vchild, window-hchild,
11841 window-next and window-prev are now called window-top-child,
11842 window-left-child, window-next-sibling and window-prev-sibling
11843 respectively.
d615d6d2
MR
11844 (resize-window-reset): Rename to window-resize-reset.
11845 (resize-window-reset-1): Rename to window-resize-reset-1.
11846 (resize-window): Rename to window-resize.
11847 (window-min-height, window-min-width)
11848 (resize-mini-window, resize-this-window, resize-root-window)
11849 (resize-root-window-vertically, adjust-window-trailing-edge)
11850 (enlarge-window, shrink-window, maximize-window)
11851 (minimize-window, delete-window, quit-restore-window)
11852 (split-window, balance-windows, balance-windows-area-adjust)
11853 (balance-windows-area, window-state-put-2)
11854 (display-buffer-even-window-sizes, display-buffer-set-height)
11855 (display-buffer-set-width, set-window-text-height)
11856 (fit-window-to-buffer): Rename all "resize-window" prefixed
11857 calls to use the "window-resize" prefix convention.
11858 (display-buffer-alist): Fix symbol for label specifier.
11859 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11860 corresponding specifier.
11861 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11862
b6458526
VB
118632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11864
11865 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11866 convention.
11867 (ses-call-printer): Does not pass an empty string to formatter when the
11868 cell is empty to keep from barking printer Calc math-format-value.
11869
d31fd9ac
RS
118702011-06-27 Richard Stallman <rms@gnu.org>
11871
43d5bf84
RS
11872 * battery.el (battery-mode-line-limit): New variable.
11873 (battery-update): Handle it.
11874
d31fd9ac
RS
11875 * mail/rmailmm.el (rmail-mime-process-multipart):
11876 Handle truncated messages.
11877
819a6054
GM
118782011-06-27 Glenn Morris <rgm@gnu.org>
11879
11880 * progmodes/flymake.el (flymake-err-line-patterns):
11881 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11882
cedc73f2
VB
118832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11884
819a6054 11885 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11886 (ses--clean-!, ses--clean-_): New functions.
11887 (ses-range): Add configurability of readout order, and conversion
11888 to Calc vector.
11889
5e5d49b6
VB
11890 * ses.el (ses-repair-cell-reference-all): New function.
11891 (ses-cell-symbol): Set macro as safe, so that it can be used in
11892 formulas.
11893
56e6cc31 11894 * ses.el: Update cycle detection algorithm.
90ca8b49 11895 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11896 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11897 (ses-set-localvars): New function.
11898 (ses-make-cell): Add property-list as a cell element.
11899 (ses-cell-property-get-fun, ses-cell-property-get)
11900 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11901 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11902 New functions.
90ca8b49
VB
11903 (ses-cell-property-set, ses-cell-property-pop)
11904 (ses-cell-property-get-handle): New macro.
11905 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11906 New aliases, used for code readability.
11907 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11908 cycle detection.
11909 (ses-self-reference-early-detection): New defcustom.
fac916bf 11910 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11911 (ses-mode): Use ses-set-localvars.
11912 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11913 before lauching the update processing.
11914 (ses-initialize-Dijkstra-attempt): New function.
11915 (ses-recalculate-cell): Update for cycle detection based on
11916 Dijkstra algorithm.
11917
2bb63e81
VB
11918 * ses.el: Fix commenting and indenting convention.
11919
c9d29fb8
SM
119202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11921
11922 * bs.el (bs-cycle-next): Complete last change.
11923
d8e4b68b
JB
119242011-06-27 Drew Adams <drew.adams@oracle.com>
11925
11926 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11927
40098786
LMI
119282011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11929
c9d29fb8
SM
11930 * net/network-stream.el (network-stream-open-starttls):
11931 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11932 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11933
40098786
LMI
11934 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11935 to binary to possibly avoid line encoding issues on Windows (among
11936 other things).
11937
468d09d4
LMI
119382011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
11940 * net/network-stream.el (open-network-stream): Return an :error
11941 saying what the problem was, if possible.
11942
11943 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11944 server.
11945
11946 * net/network-stream.el (network-stream-open-starttls): If we
11947 wanted to use STARTTLS, and the server offered it, but we weren't
11948 able to because we had no STARTTLS support, then close the connection.
11949 (open-network-stream): Return an :error element, if present.
11950
16f07dd7
CY
119512011-06-26 Chong Yidong <cyd@stupidchicken.com>
11952
88821ca0
CY
11953 * hl-line.el (hl-line-sticky-flag): Doc fix.
11954 (global-hl-line-sticky-flag): New option (Bug#8323).
11955 (global-hl-line-highlight): Obey it.
11956
16f07dd7
CY
11957 * vc/vc.el (vc-revert-show-diff): Default to t.
11958
6b5ccddf
KM
119592011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11960
c9d29fb8
SM
11961 * allout-widgets.el (allout-widgets-post-command-business):
11962 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11963 undecorated when an isearch is continued past, and isearch
11964 automatically collapses them. This leads to "widget leaks", where
11965 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11966 hidden widgets can slow down cursor travel, substantially.
11967 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11968 so we're doing without this nicety.
11969
11970 (allout-widgets-tally-string): Don't try to do a hash-table-count
11971 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11972 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11973 *Messages* when allout-widgets-maintain-tally is t.
11974
355f2e07
MR
119752011-06-26 Martin Rudalics <rudalics@gmx.at>
11976
11977 * window.el (display-buffer-normalize-argument): Rename to
11978 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11979 LABEL argument. Respect special-display-function when popping up
11980 a new frame. Fix code searching for a window showing the buffer
11981 on another frame.
c9d29fb8
SM
11982 (display-buffer-normalize-specifiers):
11983 Call display-buffer-normalize-arguments.
355f2e07
MR
11984 (display-buffer-in-window): Don't undedicate the window if its
11985 buffer remains the same.
11986 Reported by Drew Adams <drew.adams@oracle.com>.
11987 (display-buffer-alist): Add choice for same-window macro
11988 specfier.
11989 (display-buffer): Mention special meaning of LABEL argument in
11990 doc-string. Fix quoting. Don't pop up a new frame even as
11991 fallback.
11992
7ca8fc42
JB
119932011-06-26 Juanma Barranquero <lekktu@gmail.com>
11994
11995 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11996 avoid deleting the current window in some cases (bug#8911).
11997
bc312254
AS
119982011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11999
12000 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12001 (Bug#8934)
12002
2db18f3f
LMI
120032011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12004
c9d29fb8
SM
12005 * net/network-stream.el (network-stream-open-starttls):
12006 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12007 (network-stream-open-tls): Ditto.
12008
6302e0d3
LL
120092011-06-26 Leo Liu <sdl.web@gmail.com>
12010
12011 * register.el (registerv): New struct.
12012 (registerv-make): New function.
c9d29fb8
SM
12013 (jump-to-register, describe-register-1, insert-register):
12014 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12015 struct. (Bug#8415)
12016
5fdd4046
CY
120172011-06-26 Chong Yidong <cyd@stupidchicken.com>
12018
2afef60a
CY
12019 * vc/vc.el (vc-revert-show-diff): New defcustom.
12020 (vc-diff-internal): New arg specifying diff buffer.
12021 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12022 reuse an existing *vc-diff* buffer (Bug#8927).
12023
5fdd4046
CY
12024 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12025
e93db24a
GM
120262011-06-26 Glenn Morris <rgm@gnu.org>
12027
12028 * progmodes/f90.el (f90-critical-indent): New option.
12029 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12030 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12031 (f90-mode): Doc fix.
12032 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12033 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12034 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12035 (f90-match-end): Handle block, critical.
12036
eefff499
GM
120372011-06-25 Glenn Morris <rgm@gnu.org>
12038
f6ba4cc9
GM
12039 * calendar/diary-lib.el (diary-included-files): Doc fix.
12040 (diary-include-files): New function, extracted from
12041 diary-include-other-diary-files and diary-mark-included-diary-files.
12042 (diary-include-other-diary-files, diary-mark-included-diary-files):
12043 Just call diary-include-files.
12044 (diary-mark-entries): Reset diary-included-files on first call.
12045
16712304
GM
12046 * calendar/diary-lib.el (diary-mark-entries)
12047 (diary-mark-included-diary-files):
12048 Visit included diary-files in temp buffers.
12049
5d8e0d43
GM
12050 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12051 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12052 (f90-start-block-re, f90-imenu-generic-expression)
12053 (f90-looking-at-program-block-start, f90-no-block-limit):
12054 Add support for submodules.
12055
ccf7a5d5
GM
12056 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12057 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12058
11fdef7d 120592011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12060
12061 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12062 buffer-file-type before setting its value, to avoid disastrous
eefff499 12063 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12064
74f53697
JB
120652011-06-25 Juanma Barranquero <lekktu@gmail.com>
12066
12067 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12068
12069 * ses.el (ses-unload-function):
12070 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12071
12072 * proced.el (proced-unload-function):
12073 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12074
18a4ce5e
AR
120752011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12076
12077 * server.el (server-create-window-system-frame): Add parameters arg.
12078 (server-process-filter): Doc fix. Handle frame-parameters.
12079
519d22cc
JB
120802011-06-25 Juanma Barranquero <lekktu@gmail.com>
12081
12082 Fix bug#8730, bug#8781.
12083
12084 * loadhist.el (unload--set-major-mode): New function.
12085 (unload-feature): Use it.
12086
12087 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12088 (python-unload-function): New function.
12089
c206f5b0
SM
120902011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12093
f9ad64f3
GS
120942011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12095
12096 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12097 the candidates list.
12098
7d0da90e
JB
120992011-06-24 Juanma Barranquero <lekktu@gmail.com>
12100
12101 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12102
14b4e83d
RS
121032011-06-23 Richard Stallman <rms@gnu.org>
12104
12105 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12106 (rmail-variables): Set next-error-move-function.
12107 (rmail-what-message): Take argument POS.
12108 (rmail-next-error-move): New function.
12109
273d2baf
SM
121102011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12113 messages for adjacent non-terminals.
12114
56c2cc9a
RS
121152011-06-23 Richard Stallman <rms@gnu.org>
12116
12117 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12118 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12119 (rmail-start-mail): Don't specify use of rmail-mail-return;
12120 that's done by mail-bury now.
12121 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12122
d59eb518
MA
121232011-06-23 Michael Albinus <michael.albinus@gmx.de>
12124
12125 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12126 SIZE is a number.
12127
02cfc6d6
MR
121282011-06-23 Martin Rudalics <rudalics@gmx.at>
12129
12130 * window.el (get-lru-window, get-mru-window)
12131 (get-largest-window): Never return a minibuffer window.
12132 (display-buffer-pop-up-window): Fix a bug that could lead to
12133 reusing the minibuffer window.
12134 (display-buffer): Pass original specifier argument to
12135 display-buffer-function instead of the normalized one.
12136 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12137
4e323265
LL
121382011-06-22 Leo Liu <sdl.web@gmail.com>
12139
12140 * minibuffer.el (completing-read-function)
12141 (completing-read-default): Move from minibuf.c
12142
7a70468f
RS
121432011-06-22 Richard Stallman <rms@gnu.org>
12144
50718fc2
RS
12145 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12146 to Rmail even if not started by a special Rmail command.
12147
7a70468f
RS
12148 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12149 Copy the buffer currently showing just one message.
12150
297dde5a
RW
121512011-06-22 Roland Winkler <winkler@gnu.org>
12152
12153 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12154 (bibtex-clean-entry): First delete the old key so that a
12155 customized algorithm for generating the new key does not get
12156 confused by the old key.
12157 (bibtex-url): Obey regexp of first step.
12158 (bibtex-search-entries): Do not use add-to-list with local
12159 list-var.
12160
97bb1093
LMI
121612011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12162
12163 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12164 stored a user name, then query for the password first, instead of
12165 waiting for SMTP to give an error message and the trying again.
12166
1c0f1a19
JD
121672011-06-22 Lawrence Mitchell <wence@gmx.li>
12168
12169 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12170 BUFFER in call-process.
12171
396f7c9d
LMI
121722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12173
12174 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12175 QUIT twice.
ddb7ffee
LMI
12176 (smtpmail-try-auth-methods): Require user name and password from
12177 auth-source.
396f7c9d 12178
8998d1b3
MR
121792011-06-22 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (display-buffer-default-specifiers)
12182 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12183 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12184 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12185
12186 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12187 (special-display-frame-alist, special-display-popup-frame):
12188 Remove duplicate declarations. These are now in window.el.
12189
4ea31e07
LMI
121902011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12191
c9d29fb8
SM
12192 * mail/smtpmail.el (smtpmail-via-smtp):
12193 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12194 server supports it. SMTP servers that support STARTTLS commonly
12195 require it.
12196
12197 * net/network-stream.el (network-stream-open-starttls): Support
12198 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12199 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12200
95f41d9a
LMI
12201 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12202 upgrades with `open-network-stream', and rely solely on
12203 auth-source for all credentials. Big changes throughout the file,
12204 but in particular:
c9d29fb8
SM
12205 (smtpmail-auth-credentials): Remove.
12206 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12207 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12208 MAIL FROM, too.
95f41d9a 12209
c9d29fb8
SM
12210 * net/network-stream.el (network-stream-open-starttls):
12211 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12212 STARTTLS.
12213 (auth-source): Require.
12214 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12215 (network-stream-certificate): Change cert-cert to cert and
12216 cert-key to key.
4ea31e07 12217
065ec2c7
MA
122182011-06-21 Michael Albinus <michael.albinus@gmx.de>
12219
12220 * net/tramp-cache.el (top): Don't load the persistency file when
12221 "emacs -Q" has been called.
12222
cd93b359
DR
122232011-06-21 Tim Harper <timcharper@gmail.com>
12224
d8e4b68b
JB
12225 * term/ns-win.el (ns-initialize-window-system):
12226 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12227 resource to NO as it is not yet supported by the NS port.
12228
ae9c0411
JB
122292011-06-21 Juanma Barranquero <lekktu@gmail.com>
12230
12231 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12232 (list-dynamic-libraries): ...not here.
12233
7f3f739f
LL
122342011-06-21 Leo Liu <sdl.web@gmail.com>
12235
12236 * subr.el (sha1): Implement sha1 using secure-hash.
12237
327c8fb1
MR
122382011-06-21 Martin Rudalics <rudalics@gmx.at>
12239
12240 * window.el (display-buffer-alist): In default value do not
12241 enforce searching a window on any but the selected frame.
12242 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12243 (display-buffer-select-window): Remove function.
12244 (display-buffer-in-window): When a window on another frame gets
12245 reused, do not select it any more but just raise its frame if
12246 necessary (Bug#8851) and (Bug#8856).
12247 (display-buffer-normalize-options): Handle pop-up-frames related
12248 options more faithfully.
12249 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12250 window if it is on another frame.
c9d29fb8
SM
12251 (display-buffer-alist, display-buffer-default-specifiers):
12252 Don't make new frame unsplittable by default.
9e9de014
MR
12253 (display-buffer-normalize-argument): Fix doc-string typo and use
12254 'same-frame-other-window instead of 'other-window when associating
12255 with display-buffer-macro-specifiers.
327c8fb1 12256
7cf3f556
VB
122572011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12258
12259 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12260 New functions.
12261 (5x5-mode-map, 5x5-mode-menu): Bind them.
12262 (5x5-draw-grid): Tweak the solver's rendering.
12263
60a406cf
SM
122642011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12267 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12268
d8e4b68b 122692011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12270
12271 * menu-bar.el: Use function variable instead of switch-to-buffer.
12272 (menu-bar-select-buffer-function): New variable.
60a406cf 12273 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12274
478d6f95
SM
122752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12278 variable's status.
12279
ca530739
JD
122802011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12281
12282 * x-dnd.el (x-dnd-version-from-flags)
12283 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12284 and long as number (Bug#8899).
12285 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12286
bcd70d97
SM
122872011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12288
60a406cf 12289 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12290 (completion-try-completion, completion-all-completions): Compute the
12291 metadata argument if it's missing; make it optional (bug#8795).
12292
60a406cf 12293 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12294 (widget-complete): Use new :completion-function property.
12295 (widget-completions-at-point): New function.
12296 (default): Use :completion-function instead of :complete.
60a406cf
SM
12297 (widget-default-completions): Rename from widget-default-complete;
12298 Rewrite.
bcd70d97
SM
12299 (widget-string-complete, widget-file-complete, widget-color-complete):
12300 Remove functions.
12301 (file, symbol, function, variable, coding-system, color):
12302 * international/mule-cmds.el (default-input-method, charset)
12303 (language-info-custom-alist):
12304 * cus-edit.el (face): Use new property :completions.
12305
12306 * progmodes/pascal.el (pascal-completions-at-point): New function.
12307 (pascal-mode): Use it.
12308 (pascal-mode-map): Use completion-at-point.
12309 (pascal-toggle-completions): Make obsolete.
12310 (pascal-complete-word, pascal-show-completions):
12311 * progmodes/octave-mod.el (octave-complete-symbol):
12312 Redefine as obsolete alias.
12313 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12314 Signal absence of completion info for old Octave,
12315 (inferior-octave-complete): Redefine as obsolete alias.
12316 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12317 (meta-completions-at-point): Rename from meta-complete-symbol and
12318 adapt it for use on completion-at-point-functions.
12319 (meta-common-mode): Use it.
12320 (meta-looking-at-backward, meta-match-buffer): Remove.
12321 (meta-complete-symbol): Redefine as obsolete alias.
12322 (meta-common-mode-map): Use completion-at-point.
12323 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12324 (makefile-mode-map): Use completion-at-point.
12325 (makefile-completions-at-point): Rename from makefile-complete and
12326 adapt it for use on completion-at-point-functions.
12327 (makefile-mode): Use it.
12328 (makefile-complete): Redefine as obsolete alias.
12329
aebf69c8
DD
123302011-06-20 Deniz Dogan <deniz@dogan.se>
12331
12332 * net/rcirc.el: Delete trailing whitespaces once and for all.
12333
bfbbb27d
DC
123342011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12335
12336 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12337
d264a46b
CY
123382011-06-19 Chong Yidong <cyd@stupidchicken.com>
12339
4ca009e5
CY
12340 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12341
d264a46b
CY
12342 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12343
fbf5b3ce
MR
123442011-06-19 Martin Rudalics <rudalics@gmx.at>
12345
12346 * window.el (display-buffer-other-window-means-other-frame):
12347 Call display-buffer-normalize-alist.
12348 (display-buffer-normalize-specifiers-1): Rename to
12349 display-buffer-normalize-argument. New argument other-frame.
12350 Rewrite.
12351 (display-buffer-normalize-specifiers-2): Rename to
12352 display-buffer-normalize-options.
12353 (display-buffer-normalize-alist-1): New function.
12354 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12355 display-buffer-normalize-alist.
12356 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12357 (display-buffer-normalize-options-inhibit): New variable.
12358 (display-buffer-normalize-specifiers): Rewrite calling
12359 display-buffer-normalize-alist,
12360 display-buffer-normalize-argument, and
12361 display-buffer-normalize-options. Don't call the latter if
12362 display-buffer-normalize-options-inhibit is non-nil.
12363 (frame-auto-delete): New option.
12364 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12365 (window-list-no-nils, window-state-ignored-parameters)
12366 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12367 (window-state-put-1, window-state-put-2, window-state-put):
12368 New functions.
9a028c23
MR
12369 (display-buffer-normalize-options): Move special-display-p group
12370 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12371
6d10d800
CY
123722011-06-18 Chong Yidong <cyd@stupidchicken.com>
12373
6420d28b
CY
12374 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12375 groups (Bug#8776).
12376 (rx-submatch-n): New function.
12377 (rx): Document it.
12378
ddb8b596
CY
12379 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12380 (Bug#8768).
12381
12382 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12383
77080289
CY
12384 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12385
61dfb316
CY
12386 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12387 anytime existing face settings are present (Bug#8889).
12388
6d10d800
CY
12389 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12390 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12391 Remove unused argument.
12392
be3fb2b8
MR
123932011-06-18 Martin Rudalics <rudalics@gmx.at>
12394
bcd70d97
SM
12395 * window.el (display-buffer-default-specifiers):
12396 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12397 pop-up-window-min-width, and another reuse-window specifier
12398 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12399 (display-buffer-normalize-specifiers-2):
12400 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12401 pop-up-windows is unset. Add a reuse-window specifier for the
12402 case popping up a new window fails.
12403 (special-display-popup-frame): Remove double quoting.
28dec25a 12404 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12405
1c6d8c76
SM
124062011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12409 according to comint-completion-addsuffix.
12410
12411 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12412 (pcomplete-suffix-list): Mark as obsolete.
12413 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12414 pcomplete-seen in the closure.
12415 (pcomplete-comint-setup): Setup completion-at-point as well.
12416 (pcomplete--entries): New function.
12417 (pcomplete--env-regexp): New var.
12418 (pcomplete-entries): Rewrite to work with partial-completion and
12419 without relying on pcomplete-suffix-list.
12420 (pcomplete-pare-list): Remove, unused.
12421
25aef8b8
MR
124222011-06-17 Martin Rudalics <rudalics@gmx.at>
12423
12424 * window.el (display-buffer-alist): Set pop-up-window-min-height
12425 and pop-up-window-min-width in default value. Reported by
12426 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12427 other-window-means-other-frame.
12428 (display-buffer-macro-specifiers): Comment out entry for
12429 other-window specifier.
12430 (display-buffer-other-window-means-other-frame): New function.
12431 (display-buffer-normalize-specifiers-1): New arguments
12432 buffer-name and label. Treat other-window case specially.
12433 (display-buffer-normalize-specifiers-2): Treat other-window case
12434 specially.
12435 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12436 (display-buffer-normalize-specifiers):
12437 Call display-buffer-normalize-specifiers-3.
25aef8b8 12438
dbad4f69
MR
124392011-06-17 Martin Rudalics <rudalics@gmx.at>
12440
12441 * window.el (same-window-p): Fix two typos introduced when
12442 adding with-no-warnings.
d1067961
MR
12443 (display-buffer-normalize-specifiers-1): Don't check
12444 pop-up-frames for 'unset initialization.
12445 (display-buffer-normalize-specifiers-2): Major rewrite using
12446 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12447 (pop-up-frames, display-buffer-reuse-frames)
12448 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12449 Suggested by David Engster <deng@randomsample.de>.
12450 (even-window-heights): Initialize to 'unset.
12451 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12452 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12453 other window case.
dbad4f69 12454
9b9c9e3a
MR
124552011-06-16 Martin Rudalics <rudalics@gmx.at>
12456
bcd70d97
SM
12457 * window.el (display-buffer-normalize-specifiers-1):
12458 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12459 second argument of display-buffer (Bug#8865).
981d5c09
MR
12460 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12461 (switch-to-buffer-other-window-same-frame)
12462 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12463 Adams (Bug#8875).
9c2755e9
MR
12464 (display-buffer): Don't check noninteractive when calling
12465 display-buffer-pop-up-frame.
12466 (display-buffer-pop-up-frame): Never pop up a frame in
12467 noninteractive mode (Bug#8857).
67222e1d
MR
12468 (enlarge-window, shrink-window): Don't report an error when the
12469 window can't be resized as requested (Bug#8862).
9b9c9e3a 12470
2b75be67
SM
124712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12472
9ffdd3ba
SM
12473 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12474
cb581a67
SM
12475 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12476
2b75be67
SM
12477 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12478
8c0e3589
AM
124792011-06-15 Alan Mackenzie <acm@muc.de>
12480
cb581a67
SM
12481 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12482 for declarators, disable knr checking to speed up for normal files.
12483 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12484
b96e6cde
LMI
124852011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12486
4bba86e6
LMI
12487 * net/network-stream.el (open-network-stream): Add the keyword
12488 :always-query-capabilities for the case where you want to force a
12489 `plain' network connection, but the protocol still requires the
12490 capabilitiy command (i.e., SMTP and EHLO).
12491
2b75be67 12492 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12493 consistency with other `-live-p' functions.
12494
efdcdbf8
SM
124952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * window.el (same-window-buffer-names, same-window-regexps)
12498 (special-display-frame-alist, special-display-popup-frame)
12499 (special-display-function, special-display-buffer-names)
12500 (special-display-regexps, pop-up-frame-alist)
12501 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12502 (pop-up-windows, split-window-preferred-function)
12503 (split-height-threshold, split-width-threshold, even-window-heights)
12504 (display-buffer-mark-dedicated): Don't encourage the use of
12505 display-buffer-alist from Elisp code.
12506
c5cde042
DN
125072011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12508
12509 * progmodes/python.el (python-mode): Derive from prog-mode.
12510 * progmodes/ps-mode.el (ps-mode):
12511 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12512 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12513 * progmodes/ld-script.el (ld-script-mode): Likewise.
12514
baa1c9ab
MR
125152011-06-15 Martin Rudalics <rudalics@gmx.at>
12516
12517 * window.el (display-buffer-alist): Trim default value to avoid
12518 popping up a new frame (Bug#8857) or reusing an arbitrary window
12519 on another frame.
12520 (display-buffer): Do not fall back on popping up a new frame in
12521 batch mode (Bug#8857).
12522
c5dd5a51
CY
125232011-06-14 Chong Yidong <cyd@stupidchicken.com>
12524
12525 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12526 (custom-theme-summary): New function.
12527 (customize-themes): Use it.
12528
d647b7c4
GM
125292011-06-13 Glenn Morris <rgm@gnu.org>
12530
12531 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12532
9481c002
MR
125332011-06-13 Martin Rudalics <rudalics@gmx.at>
12534
357f93d2
MR
12535 * help.el (help-window): Remove variable.
12536 (help-window-point-marker, temp-buffer-max-height)
12537 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12538 (help-print-return-message): Don't set help-window.
12539 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12540 (help-window-setup-finish): Remove.
12541 (help-window-display-message, help-window-setup)
12542 (with-help-window): Major rewrite based on new
12543 display-buffer-window variable.
12544
12545 * help-mode.el (help-mode-finish): Remove help-window related
12546 code.
12547
12548 * view.el (view-exits-all-viewing-windows): Remove reference to
12549 view-return-to-alist in doc-string.
12550 (view-return-to-alist): Make obsolete.
12551 (view-buffer): Call pop-to-buffer-same-window and remove
12552 undo-window code.
12553 (view-buffer-other-window): Call pop-to-buffer-other-window and
12554 simplify code. Ignore second argument.
12555 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12556 simplify code. Ignore second argument.
12557 (view-return-to-alist-update): Make obsolete.
12558 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12559 Rewrite using quit-restore window parameters.
2b75be67
SM
12560 (view-mode-exit): Rename second argument to EXIT-ONLY.
12561 Rewrite using quit-restore-window.
357f93d2
MR
12562 (View-exit, View-exit-and-edit, View-leave, View-quit)
12563 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12564 appropriate arguments.
12565 (view-end-message): Use quit-restore window parameter.
12566
9481c002
MR
12567 * window.el (display-buffer-function): Rewrite doc-string.
12568 (display-buffer-window, display-buffer-alist): New variables.
12569 (display-buffer-split-specifiers)
12570 (display-buffer-side-specifiers)
12571 (display-buffer-macro-specifiers): New constants.
12572 (display-buffer-even-window-sizes, display-buffer-set-height)
12573 (display-buffer-set-width, display-buffer-select-window)
12574 (display-buffer-in-window, display-buffer-reuse-window)
12575 (display-buffer-split-window-1, display-buffer-split-window)
12576 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12577 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12578 (display-buffer-in-side-window, normalize-buffer-to-display)
12579 (display-buffer-normalize-specifiers-1)
12580 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12581 (display-buffer-normalize-specifiers, display-buffer-frame):
12582 New functions.
9481c002
MR
12583 (display-buffer): Major rewrite.
12584 (display-buffer-other-window, display-buffer-other-frame)
12585 (pop-to-buffer, switch-to-buffer-other-window)
12586 (switch-to-buffer-other-frame): Rewrite.
12587 (display-buffer-same-window, display-buffer-same-frame)
12588 (display-buffer-same-frame-other-window)
12589 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12590 (pop-to-buffer-other-window)
12591 (pop-to-buffer-same-frame-other-window)
12592 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12593 (switch-to-buffer-other-window-same-frame): New functions.
12594 (same-window-p, special-display-p): Rewrite disabling warnings.
12595 Make obsolete.
12596 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12597 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12598 Make obsolete
12599 (same-window-buffer-names, same-window-regexps)
12600 (special-display-frame-alist, special-display-popup-frame)
12601 (special-display-function, special-display-buffer-names)
12602 (special-display-regexps, pop-up-frame-alist)
12603 (pop-up-frame-function, split-window-preferred-function)
12604 (split-height-threshold, split-width-threshold)
12605 (even-window-heights): Make obsolete.
12606
9db51aca
GM
126072011-06-12 Glenn Morris <rgm@gnu.org>
12608
12609 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12610 Misc simplifications.
9db51aca 12611
39cffb44
MR
126122011-06-12 Martin Rudalics <rudalics@gmx.at>
12613
12614 * window.el (window-safely-shrinkable-p): Restore function which
12615 was inadvertently removed in change from 2011-06-11. Declare as
12616 obsolete.
12617
2b75be67
SM
12618 * calendar/calendar.el (calendar-generate-window):
12619 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12620 window-safely-shrinkable-p.
12621
a8955be7
GM
126222011-06-12 Glenn Morris <rgm@gnu.org>
12623
12624 * progmodes/fortran.el (fortran-mode-syntax-table):
12625 * progmodes/f90.el (f90-mode-syntax-table):
12626 Set % to punctuation. (Bug#8820)
12627 (f90-find-tag-default): Remove, no longer needed.
12628
f0d4059d
DC
126292011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12630
12631 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12632
1100a63c
CY
126332011-06-11 Chong Yidong <cyd@stupidchicken.com>
12634
12635 * image.el (image-animated-p): Return animation delay in seconds.
12636 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12637 (image-animate-timeout): Remove DELAY argument. Don't assume
12638 every subimage has the same delay; get it from image-animated-p.
12639 (image-animate): Caller changed.
12640
def722bf
MA
126412011-06-11 Michael Albinus <michael.albinus@gmx.de>
12642
12643 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12644 to ignored backtrace functions.
12645
0a2bb1a9
GM
126462011-06-11 Glenn Morris <rgm@gnu.org>
12647
12648 * calendar/appt.el (appt-disp-window-function): Doc fix.
12649 (appt-check): Handle overlapping appointments. (Bug#8337)
12650
6198ccd0
MR
126512011-06-11 Martin Rudalics <rudalics@gmx.at>
12652
12653 * window.el (window-tree-1, window-tree): New functions, moving
12654 the latter to window.el.
12655 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12656 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12657 (bw-refresh-edges): Remove.
12658 (balance-windows-1, balance-windows-2): New functions.
12659 (balance-windows): Rewrite in terms of window tree functions,
12660 balance-windows-1 and balance-windows-2.
12661 (bw-adjust-window): Remove.
12662 (balance-windows-area-adjust): New function with functionality of
12663 bw-adjust-window but using resize-window.
2b75be67
SM
12664 (set-window-text-height): Rewrite doc-string.
12665 Use normalize-live-window and resize-window.
12666 (enlarge-window-horizontally, shrink-window-horizontally):
12667 Rename argument to DELTA.
6198ccd0
MR
12668 (window-buffer-height): New function.
12669 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12670 Rewrite using new window resize routines.
2b75be67
SM
12671 (kill-buffer-and-window, mouse-autoselect-window-select):
12672 Use ignore-errors instead of condition-case.
6198ccd0
MR
12673 (quit-window): Call delete-frame instead of delete-windows-on
12674 for the only buffer on frame.
12675
9397e56f
MR
126762011-06-10 Martin Rudalics <rudalics@gmx.at>
12677
12678 * loadup.el (top-level): Load window before files for the sake
12679 of replace-buffer-in-windows.
12680
12681 * files.el (read-buffer-to-switch)
12682 (switch-to-buffer-other-window)
2b75be67
SM
12683 (switch-to-buffer-other-frame, display-buffer-other-frame):
12684 Move to window.el.
9397e56f
MR
12685
12686 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12687 (previous-buffer): Move to window.el.
12688
12689 * bindings.el (unbury-buffer): Move to window.el.
12690
12691 * window.el (delete-other-windows-vertically): Move after
12692 definition of delete-other-windows.
12693 (other-window, delete-windows-on, replace-buffer-in-windows):
12694 Move here from window.c.
12695 (record-window-buffer, unrecord-window-buffer)
12696 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12697 (switch-to-next-buffer): New functions.
12698 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12699 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12700 (previous-buffer): Move here from simple.el.
12701 Call switch-to-prev-buffer.
9397e56f
MR
12702 (bury-buffer): Move here from buffer.c. Switch to previous
12703 buffer when window cannot be deleted.
12704 (unbury-buffer): Move here from bindings.el.
12705 (ctl-x-map): Move binding for other-window from window.c to
12706 here.
12707 (read-buffer-to-switch, switch-to-buffer-other-window)
12708 (switch-to-buffer-other-frame): Move here from files.el.
12709 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12710 (switch-to-buffer): Move here from buffer.c.
12711 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12712
562dd5e9
MR
127132011-06-10 Martin Rudalics <rudalics@gmx.at>
12714
12715 * window.el (window-min-height, window-min-width): Move here
12716 from window.c. Add defcustoms and rewrite doc-strings.
12717 (resize-mini-window, resize-window): New functions.
12718 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12719 Move here from window.c.
12720 (maximize-window, minimize-window): New functions.
12721 (delete-window, delete-other-windows, split-window): Move here
12722 from window.c.
12723 (window-split-min-size): New function.
12724 (split-window-keep-point): Mention split-window-above-each-other
12725 instead of split-window-vertically.
2b75be67 12726 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12727 Rename split-window-vertically to split-window-above-each-other
12728 and provide defalias for old definition.
12729 (split-window-side-by-side, split-window-horizontally):
12730 Rename split-window-horizontally to split-window-side-by-side
12731 and provide defalias for the old definition.
562dd5e9
MR
12732 (ctl-x-map): Move bindings for delete-window,
12733 delete-other-windows and enlarge-window here from window.c.
12734 Replace bindings for split-window-vertically and
12735 split-window-horizontally by bindings for
12736 split-window-above-each-other and split-window-side-by-side.
12737
12738 * cus-start.el (all): Remove entries for window-min-height and
12739 window-min-width. Add entries for window-splits and
12740 window-nest.
12741
f0da764a
GM
127422011-06-09 Glenn Morris <rgm@gnu.org>
12743
80675c21
GM
12744 * calendar/appt.el (appt-mode-line): New function.
12745 (appt-check, appt-disp-window): Use it.
12746
f0da764a
GM
12747 * files.el (hack-one-local-variable-eval-safep):
12748 Allow minor-modes with explicit +/-1 arguments.
12749
59f623b7
TZ
127502011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12751
12752 * term/xterm.el (xterm): Add defgroup.
12753 (xterm-extra-capabilities): Add defcustom to supply known xterm
12754 capabilities, skip querying them, or query them (default).
12755 (terminal-init-xterm): Use it.
12756 (terminal-init-xterm-modify-other-keys): New function to set up
12757 modifyOtherKeys support to simplify `terminal-init-xterm'.
12758
9aab8e0d
MR
127592011-06-09 Martin Rudalics <rudalics@gmx.at>
12760
12761 * window.el (resize-window-reset, resize-window-reset-1)
12762 (resize-subwindows-skip-p, resize-subwindows-normal)
12763 (resize-subwindows, resize-other-windows, resize-this-window)
12764 (resize-root-window, resize-root-window-vertically)
12765 (window-deletable-p, window-or-subwindow-p)
12766 (frame-root-window-p): New functions.
12767
e8b08aee
GM
127682011-06-09 Glenn Morris <rgm@gnu.org>
12769
12770 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12771 (ange-ftp-get-files): Use it.
12772
254c37a5
AK
127732011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12774
12775 * mail/sendmail.el (mail-recover-1, mail-recover):
12776 * files.el (recover-file, recover-session):
12777 Handle dired-listing-switches not being just a single short option.
12778
35d7dbd3
GM
127792011-06-09 Glenn Morris <rgm@gnu.org>
12780
12781 * calendar/appt.el (appt-display-message, appt-disp-window):
12782 Handle lists of appointments.
12783
387522b2
MR
127842011-06-08 Martin Rudalics <rudalics@gmx.at>
12785
2b75be67
SM
12786 * window.el (one-window-p): Move down in code.
12787 Rewrite doc-string.
12788 (window-current-scroll-bars): Rewrite doc-string.
12789 Normalize live window argument.
387522b2
MR
12790 (walk-windows, get-window-with-predicate, count-windows):
12791 Rewrite doc-string. Use window-list-1.
12792 (window-in-direction-2, window-in-direction, get-mru-window):
12793 New functions.
12794
d8e4b68b 127952011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12796
12797 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12798 Doc fix (Bug#8713).
12799
128002011-06-08 Chong Yidong <cyd@stupidchicken.com>
12801
12802 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12803
128042011-06-08 Juanma Barranquero <lekktu@gmail.com>
12805
12806 * loadhist.el (unload-feature-special-hooks):
12807 Add `comint-output-filter-functions'.
12808
0de12c52
IK
128092011-06-08 Ivan Kanis <gnu@kanis.fr>
12810
12811 * calendar/appt.el (appt-check): Move some initializations into the let.
12812
f3d1777e
MR
128132011-06-08 Martin Rudalics <rudalics@gmx.at>
12814
12815 * window.el (window-height): Defalias to window-total-height.
12816 (window-width): Defalias to window-body-width.
12817
18af70d0
CY
128182011-06-07 Chong Yidong <cyd@stupidchicken.com>
12819
12820 * image-mode.el (image-toggle-animation): New command.
12821 (image-mode-map): Bind it to RET.
12822 (image-mode): Update message.
12823 (image-toggle-display-image): Avoid a spurious cache flush.
12824 (image-transform-rotation): Doc fix.
12825 (image-transform-properties): Return quickly in the normal case.
12826 (image-animate-loop): Rename from image-animate-max-time.
12827
2b75be67 12828 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12829 (create-animated-image): Remove unnecessary function.
12830 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12831 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12832 (image-animate-timer): Use car-safe.
12833 (image-animate-timeout): Rename argument.
12834
190b47e6
MR
128352011-06-07 Martin Rudalics <rudalics@gmx.at>
12836
12837 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12838 window.c. Rename first argument to ALL-FRAMES.
12839 Rephrase doc-strings.
12840 (get-buffer-window-list): Rewrite using window-list-1.
12841 Rephrase doc-string.
a1511caf
MR
12842 (window-safe-min-height, window-safe-min-width): New constants.
12843 (window-size-ignore, window-min-size, window-min-size-1)
12844 (window-sizable, window-sizable-p, window-size-fixed-1)
12845 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12846 (window-max-delta-1, window-max-delta, window-resizable)
12847 (window-resizable-p, window-total-height, window-total-width)
12848 (window-body-width): New functions.
12849 (window-full-height-p, window-full-width-p): Rewrite using
12850 window-total-size.
12851 (window-body-height): Rewrite using window-body-size.
190b47e6 12852
85cc1f11
MR
128532011-06-06 Martin Rudalics <rudalics@gmx.at>
12854
12855 * window.el (window-right, window-left, window-child)
12856 (window-child-count, window-last-child, window-any-p)
12857 (normalize-live-buffer, normalize-live-frame)
12858 (normalize-any-window, normalize-live-window)
12859 (window-iso-combination-p, window-iso-combined-p)
12860 (window-iso-combinations)
12861 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12862 (windows-with-parameter, window-with-parameter)
12863 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12864 (window-atom-check, window-side-check, window-check):
12865 New functions.
85cc1f11
MR
12866 (ignore-window-parameters, window-sides, window-sides-vertical)
12867 (window-sides-slots): New variables.
12868 (window-size-fixed): Move down in code. Minor doc-string fix.
12869
e7156492
AS
128702011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * comint.el (comint-dynamic-complete-as-filename)
12873 (comint-dynamic-complete-filename): Correctly call
12874 completion-in-region.
12875
7e821d0d
DD
128762011-06-05 Deniz Dogan <deniz@dogan.se>
12877
12878 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12879 in last change.
12880
ac09b8a1
DD
128812011-06-05 Deniz Dogan <deniz@dogan.se>
12882
12883 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12884 (rcirc): Use it to prompt for encryption.
12885
34699b85
RW
128862011-06-05 Roland Winkler <winkler@gnu.org>
12887
12888 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12889 (bibtex-search-entries): New command bound to C-c C-a.
12890 (bibtex-display-entries): New function.
12891
004dedd3
RW
128922011-06-05 Roland Winkler <winkler@gnu.org>
12893
12894 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12895 (bibtex-insert-kill): After yanking insert newline if necessary.
12896 (bibtex-initialize): Call bibtex-string-files-init only once.
12897 (bibtex-mode): Do not call easy-menu-add.
12898 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12899 (bibtex-yank): Set arg properly if nil.
12900
022fe7ce
RW
129012011-06-05 Roland Winkler <winkler@gnu.org>
12902
2b75be67
SM
12903 * textmodes/bibtex.el (bibtex-search-entry-globally):
12904 New variable.
022fe7ce
RW
12905 (bibtex-search-entry): Use it.
12906
b7c3692a
RW
129072011-06-05 Roland Winkler <winkler@gnu.org>
12908
12909 * textmodes/bibtex.el (bibtex-entry-format): New option
12910 sort-fields.
12911 (bibtex-format-entry, bibtex-reformat): Honor this option.
12912 (bibtex-parse-entry): Return fields in proper order.
12913
8eda563d
JB
129142011-06-05 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * doc-view.el (doc-view-remove-if): Move computation of result out
12917 of `dolist' to silence misleading lexical-binding warning.
12918
7dbe3dbc
CY
129192011-06-04 Chong Yidong <cyd@stupidchicken.com>
12920
12921 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12922 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12923
0c33dd17
MA
129242011-06-04 Michael Albinus <michael.albinus@gmx.de>
12925
12926 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12927 "SunOS 5.10".
12928
f8f91c2b
MA
129292011-06-04 Michael Albinus <michael.albinus@gmx.de>
12930
12931 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12932 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12933 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12934 (tramp-parse-putty):
12935 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12936 (tramp-completion-function-alist-ssh)
12937 (tramp-completion-function-alist-telnet)
12938 (tramp-completion-function-alist-su)
12939 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12940 cookie.
12941
12942 * net/tramp-ftp.el:
12943 * net/tramp-sh.el:
12944 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12945 load "tramp.el" `tramp-set-completion-function'.
12946
e17d9003
SM
129472011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * shell.el: Require and use pcomplete.
12950 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12951 (shell-completion-vars): Set pcomplete-default-completion-function.
12952
6c4cab03
DD
129532011-06-04 Deniz Dogan <deniz@dogan.se>
12954
12955 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12956 `memq' (Bug#8799).
12957
ea9fafe0
SM
129582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12961
b3e945d3
JB
129622011-06-02 Juanma Barranquero <lekktu@gmail.com>
12963
12964 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12965 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12966 * vc/log-view.el (log-view-beginning-of-defun):
12967 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12968 (smerge-refine-forward, smerge-refine-chopup-region):
12969 Silence warning for unused `dotimes' counter variables.
12970
7d520089
SM
129712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * net/tramp.el (tramp-with-progress-reporter): Rename from
12974 with-progress-reporter. Use `declare'.
12975 * net/tramp-smb.el:
12976 * net/tramp-sh.el:
12977 * net/tramp-gvfs.el: Update all uses.
12978
a1c2400f
JB
129792011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12980
12981 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12982 buffer isn't killed before making it current.
12983
2403c841
SM
129842011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12985
12986 Silence various byte-compiler warnings.
12987 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12988 `access-type' and new obsolescence format.
12989 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12990 new format.
12991 (byte-compile-check-variable): New `access-type' argument.
12992 Only warn if the access-type is obsolete.
12993 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12994 (byte-compile-variable-set): Adjust callers.
12995 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12996 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12997 setting it as obsolete.
12998 * simple.el (minibuffer-completing-symbol):
12999 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13000 access as obsolete.
13001 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13002 obsolete yet.
13003 * international/quail.el (quail-mouse-choose-completion): Remove unused
13004 code referring to obsolete var.
13005 (quail-choose-completion-string): Remove.
13006 * server.el (server-clients-with, server-kill-buffer-query-function)
13007 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13008 * proced.el (proced-send-signal):
13009 * emacs-lisp/lisp.el (lisp-complete-symbol):
13010 Replace completion-annotate-function with completion-extra-properties.
13011
2462470b
SM
130122011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13013
fb5b2591
SM
13014 * simple.el (goto-line): Use read-number.
13015 (overriding-map-is-bound): Remove.
13016 (saved-overriding-map): Change default.
13017 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13018 Take the map as argument.
13019 (universal-argument, negative-argument, digit-argument): Use it.
13020 (restore-overriding-map): Adjust.
13021 (do-auto-fill): Use fill-forward-paragraph.
13022 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13023
fd6fa53f
SM
13024 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13025 (minibuffer-inactive-mode): New major mode.
13026 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13027 the *Messages* buffer" hack.
13028 (mouse-popup-menubar): Don't burp if the event is a normal key.
13029
2462470b
SM
13030 Miscellaneous tweaks.
13031 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13032 lexical scoping as in subr.el's dolist and dotimes.
13033 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13034 Silence compiler warning.
13035 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13036 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13037 * international/ccl.el (ccl-compile): Trivial simplification.
13038 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13039 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13040 `printflag' argument.
13041 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13042 Purecopy the whole obsolescence data.
13043
108bf785
LL
130442011-06-01 Leo Liu <sdl.web@gmail.com>
13045
13046 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13047 improve doc-string as suggested by Marco Pessotto
13048 <melmothx@gmail.com>.
13049 (rcirc-print): Fix last change.
13050
30a23501
SM
130512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * minibuffer.el (complete-with-action): Return nil for the metadata and
13054 boundaries of non-functional tables.
13055 (completion-table-dynamic): Return nil for the metadata.
13056 (completion-table-with-terminator): Add default case, using
13057 complete-with-action.
13058 (completion--metadata): New function.
13059 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13060 to try and avoid pathological performance problems.
13061 (completion--embedded-envvar-table): Return `category' metadata.
13062
bcd54f83
LMI
130632011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13064
13065 * subr.el (process-alive-p): New tiny convenience function.
13066
e227544d
SM
130672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13068
13069 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13070 content but also its previous major mode.
13071
e8296fdc
HE
130722011-05-31 Helmut Eller <eller.helmut@gmail.com>
13073
4d61f28d 13074 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13075 *Backtrace* buffer when we exit with C-M-c.
13076
620c53a6
SM
130772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * minibuffer.el: Add metadata method to completion tables.
13080 (completion-category-overrides): New defcustom.
13081 (completion-metadata, completion--field-metadata)
13082 (completion-metadata-get, completion--styles)
13083 (completion--cycle-threshold): New functions.
13084 (completion-try-completion, completion-all-completions):
13085 Add `metadata' argument to choose completion-styles.
13086 (completion--do-completion): Use metadata to choose cycling.
13087 (completion-all-sorted-completions): Use metadata for sorting.
13088 Remove :completion-cycle-penalty which is not needed any more.
13089 (completion--try-word-completion): Add `metadata' argument.
13090 (minibuffer-completion-help): Check metadata for annotation function
13091 and sorting.
13092 (completion-file-name-table): Return `category' metadata.
13093 (minibuffer-completing-file-name): Make obsolete.
13094 * simple.el (minibuffer-completing-symbol): Make obsolete.
13095 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13096 completion-try-completion.
13097
1257e755
SM
130982011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13099
13100 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13101
3767e706
LL
131022011-05-30 Leo Liu <sdl.web@gmail.com>
13103
13104 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13105 (rcirc-print): Decode all incoming messages (bug#8744).
13106 (rcirc-decode-coding-system): Allow value nil for automatic coding
13107 system detection.
3767e706 13108
d1a5d56a
GM
131092011-06-01 Glenn Morris <rgm@gnu.org>
13110
13111 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13112
e8cbec34
CY
131132011-05-29 Chong Yidong <cyd@stupidchicken.com>
13114
13115 * image.el (image-animate-max-time): Allow nil and t values.
13116 Default to nil.
13117 (create-animated-image): Doc fix.
13118 (image-animate-start): Remove second arg; just use
13119 image-animate-max-time.
13120 (image-animate-timeout): Doc fix. Args changed.
13121
13122 * image-mode.el (image-toggle-display-image): Ensure that the
13123 image spec passed to the animate timer is the same object as in
58179cce 13124 the buffer's display property (Bug#6981).
e8cbec34
CY
13125 (image-transform-properties): Doc fix.
13126
13127 * image.el (image-animate-max-time): Default to nil.
13128
159daf87
MR
131292011-05-29 Martin Rudalics <rudalics@gmx.at>
13130
13131 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13132 entire buffer list (Bug#8184).
13133
d66c4c7c
CY
131342011-05-29 Chong Yidong <cyd@stupidchicken.com>
13135
13136 * image.el (imagemagick-types-inhibit)
13137 (imagemagick-register-types): Doc fix.
13138
80aec780
DD
131392011-05-29 Deniz Dogan <deniz@dogan.se>
13140
13141 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13142 default.
13143
1dd3c2d9
CY
131442011-05-29 Chong Yidong <cyd@stupidchicken.com>
13145
13146 * select.el: Don't perform clipboard-manager saving in hooks;
13147 leave the hooks empty.
13148
60e56523
LL
131492011-05-28 Leo Liu <sdl.web@gmail.com>
13150
13151 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13152 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13153 (occur-edit-mode): New major mode (Bug#8463).
13154 (occur-after-change-function): New function.
13155 (occur-engine): Give Occur tags a read-only property.
13156
2b1e1a22
KR
131572011-05-28 Kevin Ryde <user42@zip.com.au>
13158
13159 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13160
5d344e88
CY
131612011-05-28 Chong Yidong <cyd@stupidchicken.com>
13162
8e6ca83d
CY
13163 * bindings.el (help-echo): Make the initial non-indicator dash
13164 empty on graphical terminals (Bug#7295).
13165
5d344e88
CY
13166 * files.el (auto-mode-alist): Move config rule after the
13167 in-stripping one (Bug#8547).
13168
bfbbace7
CY
13169 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13170
fbeba6e2
CY
13171 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13172 setting (Bug#8740).
13173
60ed8c72
AA
131742011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13175
4ac619f0
AA
13176 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13177 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13178 (Bug#8539).
60ed8c72 13179
23db196e
CY
131802011-05-28 Chong Yidong <cyd@stupidchicken.com>
13181
13182 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13183
5012f24c
DK
131842011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13185
13186 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13187 (hs-hide-block-at-point, hs-find-block-beginning)
13188 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13189 (Bug#8279).
13190
6a639b16
GM
131912011-05-28 Glenn Morris <rgm@gnu.org>
13192
13193 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13194
d43eaf2c
CY
131952011-05-28 Chong Yidong <cyd@stupidchicken.com>
13196
5199bde1
CY
13197 * help-fns.el (describe-function-1): If the function is a derived
13198 major mode, print the parent mode.
13199
d43eaf2c
CY
13200 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13201 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13202
423428a8
SM
132032011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13204
0ff8e1ba 13205 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13206 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13207 * progmodes/etags.el (tags-completion-at-point-function):
13208 * info-look.el (info-lookup-completions-at-point): Mark as
13209 non-exclusive.
13210 (info-complete): Adjust accordingly.
13211
423428a8
SM
13212 * info-look.el: Convert to lexical-binding and completion-at-point.
13213 (info-lookup-completions-at-point): New function.
13214 (info-complete): Use it and completion-in-region.
13215
b74aa22b
DA
132162011-05-28 Drew Adams <drew.adams@oracle.com>
13217
13218 * isearch.el: Let M-e start with point at the first mismatched char.
13219 (isearch-fail-pos): New function.
13220 (isearch-edit-string): Use it.
13221
66e2e71d
DK
132222011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13223
13224 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13225
b1890b0f 132262011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13227
13228 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13229 traversal functions for avl-trees.
13230 (avl-tree--stack): New struct.
13231 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13232 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13233 (avl-tree--do-enter): Add optional `updatefun' arg.
13234 Change return value.
eb95d01d 13235 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13236 (avl-tree--do-delete): Add `test' and `nilflag' args.
13237 Change return value.
eb95d01d
TC
13238 (avl-tree-member): Add optional `nilflag'
13239 (avl-tree-member-p): New function.
13240 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13241 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13242 (avl-tree-stack-empty-p): New functions.
13243
3769ddcf
TC
13244 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13245 avl-tree--del-balance1 and make it work both ways.
13246 (avl-tree--del-balance2): Remove.
13247 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13248 make it work both ways.
13249 (avl-tree--enter-balance2): Remove.
13250 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13251 New macros.
13252 (avl-tree--mapc, avl-tree-map): Add direction argument.
13253
eb95d01d 132542011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13255
13256 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13257
a9f737ee
CY
132582011-05-27 Chong Yidong <cyd@stupidchicken.com>
13259
13260 * select.el: Support clipboard managers with built-in function
13261 x-clipboard-manager-save, via delete-frame-functions and
13262 kill-emacs-hook.
13263 (xselect-convert-to-targets): Add MULTIPLE target to list.
13264 (xselect-convert-to-save-targets): New function.
13265
c92a1e54
KH
132662011-05-27 Kenichi Handa <handa@m17n.org>
13267
13268 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13269 let-binding rfc2047-encode-encoded-words to nil.
13270
e145f188
GM
132712011-05-27 Glenn Morris <rgm@gnu.org>
13272
5ec8a862
GM
13273 * mail/emacsbug.el: Don't require url-util.
13274
4b29d9fb
GM
13275 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13276
e145f188
GM
13277 * files.el (set-auto-mode):
13278 Also respect mode: entries at the end of the file. (Bug#8586)
13279
7d15102b
GM
132802011-05-26 Glenn Morris <rgm@gnu.org>
13281
98f593b8
GM
13282 * files.el (hack-local-variables-prop-line, hack-local-variables):
13283 Downcase mode names, as seems to be traditional.
27b48e63 13284 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13285
7d15102b
GM
13286 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13287 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13288
51d5b4ec
JD
132892011-05-25 Julien Danjou <julien@danjou.info>
13290
13291 * textmodes/rst.el (rst-define-level-faces): Do not define face
13292 symbol if it is already defined.
13293
91513f63
VB
132942011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13295
13296 * play/5x5.el (5x5-new-game, 5x5-randomize):
13297 Reset 5x5-solver-output to nil when a new grid is cast.
13298 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13299 these debugging traces, as defmacro breaks the compiled code.
13300
4d90d6d0
DK
133012011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13302
13303 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13304
e1b90ef6
LL
133052011-05-24 Leo Liu <sdl.web@gmail.com>
13306
13307 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13308 (vc-bzr-sha1): Adapt.
13309
d8e4b68b 13310 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13311
13312 * bindings.el: Provide sha1 feature.
13313
db0406bb 133142011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13315
13316 * mail/sendmail.el: Require `rfc2047'.
13317 (mail-insert-from-field): Do not perform RFC2047 encoding.
13318 (mail-encode-header): New function.
13319 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13320 buffer to the return value of select-message-coding-system.
13321 Call mail-encode-header.
b8d747b9
KH
13322
13323 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13324
db0406bb 133252011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13326
4d90d6d0
DK
13327 * mail/supercite.el (sc-default-cite-frame):
13328 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13329
eb8a5e9b
GM
133302011-05-24 Glenn Morris <rgm@gnu.org>
13331
f8630703
GM
13332 * progmodes/python.el (brm-menu): Declare.
13333
8831bbed
GM
13334 * emulation/viper.el (viper-set-hooks): Declare.
13335
eb8a5e9b
GM
13336 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13337 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13338 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13339 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13340 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13341 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13342
a2a25d24
SM
133432011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 Add an :exit-function for completion-at-point.
13346
13347 * minibuffer.el (completion--done): New fun.
13348 (completion--do-completion): Use it. New arg `expect-exact'.
13349 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13350 since completion--do-completion does it for us now.
13351 (minibuffer-force-complete): Use completion--done and
13352 completion--replace. Handle sole-completion case with more care.
13353 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13354 (completion-extra-properties): New var.
13355 (completion-annotate-function): Make obsolete.
13356 (minibuffer-completion-help): Adjust accordingly.
13357 Use completion-list-insert-choice-function.
13358 (completion-at-point, completion-help-at-point):
13359 Bind completion-extra-properties.
13360 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13361 * simple.el (completion-list-insert-choice-function): New var.
13362 (completion-setup-function): Preserve it.
13363 (choose-completion): Pay attention to it, shuffle the code a bit.
13364 (choose-completion-string): New arg `insert-function'.
13365
13366 * textmodes/bibtex.el: Convert to lexical binding.
13367 (bibtex-mode-map): Use completion-at-point.
13368 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13369 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13370 (bibtex-complete): Define as obsolete alias.
13371 (bibtex-complete-internal): Remove.
13372 (bibtex-format-entry): Remove unused sub-group in regexp.
13373 * shell.el (shell--command-completion-data)
13374 (shell-environment-variable-completion):
13375 * pcomplete.el (pcomplete-completions-at-point):
13376 * comint.el (comint--complete-file-name-data): Use :exit-function
13377 instead of completion-table-with-terminator so it also works for
13378 choose-completion.
13379
e44e373d
SM
133802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13381
4f91a816
SM
13382 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13383
782fc819
SM
13384 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13385 (bug#8710).
13386
e44e373d
SM
13387 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13388
381987c3
KM
133892011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13390
13391 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13392 customization variable and implement: If non-nil, auto-fill will
13393 be inhibited while on topic's header line.
13394
b776bc70
VB
133952011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13396
13397 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13398 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13399 always have a solution in grid size = 5 cases.
13400 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13401 (5x5-solver-output, 5x5-log-buffer): New vars.
13402 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13403 Make these variables buffer local to achieve 5x5 multi-session-ness.
13404 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13405 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13406 (5x5-solve-suggest): New funs.
13407 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13408 randomize a grid so that we ensure that there is always a solution.
13409 (5x5-make-random-grid): Allow other movement than flipping.
13410
7de88b6e
KR
134112011-05-23 Kevin Ryde <user42@zip.com.au>
13412
13413 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13414 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13415 advice and passes PREDICATE.
13416
b1ef1257
SM
134172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13418
bbca48fe
SM
13419 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13420 byte-compile-lambda if it's actually a lambda.
13421
b1ef1257
SM
13422 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13423 Fix function quoting. Use backquote better.
13424
92a9cc65
YS
134252011-05-22 Yuanle Song <sylecn@gmail.com>
13426
13427 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13428 matching (Bug#8516).
13429
f0fb8059
JA
134302011-01-22 Jari Aalto <jari.aalto@cante.net>
13431
13432 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13433 different face (Bug#8178).
13434
d5b44c93
CY
134352011-05-22 Chong Yidong <cyd@stupidchicken.com>
13436
13437 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13438 defface (Bug#8144).
13439
79106a44
SM
134402011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13441
9c848d8a
SM
13442 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13443 funcall as well (bug#8712). Warn when performing those conversions.
13444 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13445
79106a44
SM
13446 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13447
88dfa756
GM
134482011-05-22 Glenn Morris <rgm@gnu.org>
13449
13450 * files.el (hack-local-variables-prop-line): Small simplifications.
13451 (hack-local-variables, hack-local-variables-prop-line):
13452 If MODE-ONLY, return the mode, rather than just `t'.
13453
b7cf2c79
SM
134542011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13455
13456 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13457
3f1a8558
GM
134582011-05-21 Glenn Morris <rgm@gnu.org>
13459
7e4ccca3
GM
13460 * files.el (hack-local-variables-prop-line, hack-local-variables):
13461 If only interested in the mode, don't bother doing the other stuff.
13462
637d46ca
GM
13463 * image-mode.el (image-after-revert-hook):
13464 Redraw all frames on which the image is visible. (Bug#8567)
13465
973d955b
GM
13466 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13467
3f1a8558
GM
13468 * wid-edit.el (widget-checklist-match-inline):
13469 Fix 2011-04-19 change. (Bug#8649)
13470
96479927
SM
134712011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13472
1dcf791f
SM
13473 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13474 Also allow singlespace after single-letter capitals followed by a dot.
13475
96479927
SM
13476 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13477 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13478
35fd0881
N
134792011-05-20 Nix <nix@esperi.org.uk>
13480
13481 * files.el (basic-save-buffer-2):
13482 Fix handling of break-hardlink-on-save with non-existent files.
13483
82745640
DD
134842011-05-19 Deniz Dogan <deniz@dogan.se>
13485
13486 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13487 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13488
4a720484
GM
134892011-05-19 Glenn Morris <rgm@gnu.org>
13490
d1f21341
GM
13491 * progmodes/f90.el (f90-type-def-re):
13492 Handle "type, bind(c)". (Bug#8691)
13493
4a720484
GM
13494 * emacs-lisp/autoload.el (batch-update-autoloads):
13495 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13496
2fb0a219
MA
134972011-05-18 Michael Albinus <michael.albinus@gmx.de>
13498
13499 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13500 property for the correct connection in case of multihops.
13501
e565dd37
GM
135022011-05-18 Glenn Morris <rgm@gnu.org>
13503
c2571358 13504 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13505 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13506
e565dd37
GM
13507 Rationalize calendar handling of day and month abbrev-arrays.
13508 * calendar/calendar.el (calendar-customized-p): New function.
13509 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13510 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13511 Add :set function.
13512 (calendar-abbrev-length, calendar-day-abbrev-array)
13513 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13514 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13515 Elements may no longer be nil.
13516 (calendar-day-name, calendar-month-name):
13517 Update for changed nature of abbrev arrays.
13518 * calendar/diary-lib.el (diary-name-pattern):
13519 Update for changed nature of abbrev arrays.
13520 (diary-mark-entries-1): Update calendar-make-alist calls.
13521 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13522 * calendar/cal-html.el (cal-html-day-abbrev-array):
13523 Simply inherit from calendar-day-abbrev-array.
13524
1d99a745
SM
135252011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * progmodes/grep.el (grep-mode): Disable default
13528 compilation-directory-matcher setting (bug#8684).
13529
7c1d9aa0
MA
135302011-05-17 Michael Albinus <michael.albinus@gmx.de>
13531
13532 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13533 instead of "head" and "tail". There were problems with SunOS 5.9,
13534 and it performs better.
13535
3952e9d8
GM
135362011-05-17 Glenn Morris <rgm@gnu.org>
13537
2dd12e7f
GM
13538 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13539
e4157b9c
GM
13540 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13541 Replace obsolete function.
13542
8e249bbd
GM
13543 * shell.el (pcomplete-parse-arguments-function): Declare.
13544
3952e9d8
GM
13545 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13546 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13547 (appt-check): Doc fixes.
13548 (appt-disp-window-function, appt-delete-window-function):
13549 Remove needless special case in custom :type.
13550 (appt-display-count): Default to 0, not nil.
13551 (appt-check): Reset appt-display-count to 0, not nil.
13552
c71a0d48 135532011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13554
c71a0d48
GM
13555 * progmodes/python.el (python-font-lock-keywords):
13556 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13557
31d55be9
SM
135582011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13559
13560 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13561
3bfacb2f
KR
135622011-05-16 Kevin Ryde <user42@zip.com.au>
13563
13564 * info-look.el (makefile-automake-mode): New setups, looking in
13565 automake manual, then makefile-mode.
13566 (makefile-mode): Remove automake manual, have it just in
13567 makefile-automake-mode since there's various things different or
13568 not relevant to plain make.
13569 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13570 believe a hypothetical automake-mode would go to makefile-mode,
13571 not the other way around.
13572
c8e83751
CY
135732011-05-15 Chong Yidong <cyd@stupidchicken.com>
13574
5e9e35cd
CY
13575 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13576 hunk-end tags (Bug#8672).
13577
c8e83751
CY
13578 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13579 vc-annotate-show-diff-revision-at-line (Bug#8671).
13580
50b23e5a
GM
135812011-05-14 Glenn Morris <rgm@gnu.org>
13582
7210a739
GM
13583 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13584 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13585 (change-log-font-lock-keywords): Also handle multiple author lines
13586 with leading tabs. (Bug#8644)
7210a739 13587
4691905a
GM
13588 * calendar/appt.el (appt-check): Rename some local variables.
13589 Some simplification/reordering.
13590
50b23e5a
GM
13591 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13592 (feedmail-sendmail-f-doesnt-sell-me-out)
13593 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13594 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13595 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13596 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13597 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13598 (feedmail-binmail-gnulinuxish-template):
13599 Rename from feedmail-binmail-linuxish-template.
13600 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13601 Use insert-buffer-substring.
13602
215cda7c
BC
136032011-05-14 Bill Carpenter <bill@carpenter.org>
13604
13605 * mail/feedmail.el (feedmail-patch-level): Increase.
13606 (feedmail-debug): New custom group.
13607 (feedmail-confirm-outgoing-timeout)
13608 (feedmail-sendmail-f-doesnt-sell-me-out)
13609 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13610 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13611 (feedmail-sender-line, feedmail-from-line)
13612 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13613 (feedmail-spray-this-address)
215cda7c
BC
13614 (feedmail-spray-address-fiddle-plex-list)
13615 (feedmail-queue-use-send-time-for-date)
13616 (feedmail-queue-use-send-time-for-message-id)
13617 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13618 (feedmail-buffer-eating-function):
13619 Doc fixes.
13620 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13621 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13622 (feedmail-message-action-scroll-down): New functions.
13623 (feedmail-queue-directory, feedmail-queue-draft-directory):
13624 Use expand-file-name.
13625 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13626 Remove C-v help entry.
13627 (feedmail-queue-buffer-file-name): New variable.
13628 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13629 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13630 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13631 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13632 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13633 (feedmail-message-action-toggle-spray)
13634 (feedmail-run-the-queue-no-prompts)
13635 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13636 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13637 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13638 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13639 (feedmail-envelope-deducer, feedmail-fiddle-from)
13640 (feedmail-fiddle-sender, feedmail-default-date-generator)
13641 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13642 (feedmail-fiddle-spray-address)
13643 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13644 (feedmail-fiddle-list-of-fiddle-plexes)
13645 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13646 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13647 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13648 Change default. Doc fix.
13649 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13650 (feedmail-binmail-linuxish-template): New constant.
13651 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13652 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13653 (feedmail-send-it): Add debug call.
13654 Use feedmail-queue-buffer-file-name, and
13655 feedmail-send-it-immediately-wrapper.
13656 (feedmail-message-action-send): Add debug call.
13657 Use feedmail-send-it-immediately-wrapper.
13658 (feedmail-queue-express-to-queue): Add debug call.
13659 Run feedmail-queue-express-hook.
13660 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13661 (feedmail-message-action-help-blat):
13662 Rename from feedmail-queue-send-edit-prompt-help-first.
13663 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13664 Check line-endings. Handle errors better.
13665 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13666 Doc fix. Add debug call.
13667 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13668 Use feedmail-queue-send-edit-prompt-inner.
13669 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13670 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13671 from feedmail-queue-send-edit-prompt.
13672 (feedmail-queue-send-edit-prompt-help)
13673 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13674 (feedmail-tidy-up-slug): Add debug call.
13675 Respect feedmail-queue-slug-suspect-regexp.
13676 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13677 (feedmail-dump-message-to-queue): Add debug call.
13678 Expand queue-directory.
13679 (feedmail-dump-message-to-queue): Change message slightly.
13680 Use feedmail-say-chatter.
13681 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13682 (feedmail-send-it-immediately-wrapper): New function.
13683 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13684 Insert empty string rather than newline. Handle full-frame case.
13685 Use catch/throw. Use feedmail-say-chatter.
13686 (feedmail-fiddle-from): Try mail-host-address.
13687 (feedmail-default-message-id-generator): Doc fix.
13688 Bind system-time-locale. Handle missing end.
13689 (feedmail-fiddle-x-mailer): Add debug call.
13690 Handle feedmail-x-mailer-line being nil.
13691 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13692 Add debug call. Use buffer-substring-no-properties.
13693 (feedmail-say-debug, feedmail-say-chatter): New functions.
13694 (feedmail-find-eoh): Give an explicit error.
13695
42c7e61e
UJ
136962011-05-13 Ulf Jasper <ulf.jasper@web.de>
13697
c2571358 13698 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13699 family from helvetica to sans.
c2571358 13700 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13701 etc/images/newsticker.
13702
c2571358 13703 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13704 family from helvetica to sans.
13705
13706 * net/newst-plainview.el (newsticker-new-item-face)
13707 (newsticker-old-item-face, newsticker-immortal-item-face)
13708 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13709 (newsticker-statistics-face): Change default family from
42c7e61e 13710 helvetica to sans.
c2571358 13711 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13712 etc/images/newsticker.
13713
5d3385a0
JB
13714 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13715 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13716 auto-marking.
13717
8497a297
DV
137182011-05-13 Didier Verna <didier@xemacs.org>
13719
13720 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13721 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13722 TODO entries.
8497a297
DV
13723 (lisp-lambda-list-keyword-parameter-indentation)
13724 (lisp-lambda-list-keyword-parameter-alignment)
13725 (lisp-lambda-list-keyword-alignment): New customizable user options.
13726 (lisp-indent-defun-method): Improve docstring.
13727 (extended-loop-p): Fix comment.
13728 (lisp-indent-lambda-list-keywords-regexp): New variable.
13729 (lisp-indent-lambda-list): New function.
13730 (lisp-indent-259): Use it.
13731 (lisp-indent-defmethod): Support for more than one
13732 method qualifier and properly indent methods lambda-lists.
13733 (defgeneric): Provide a missing common-lisp-indent-function property.
13734
f278f87f
SM
137352011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13738 bounds for the empty string (bug#8667).
13739
5233edd7
GM
137402011-05-13 Glenn Morris <rgm@gnu.org>
13741
5237a44f
GM
13742 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13743
8340026c 13744 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13745 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13746
5233edd7 13747 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13748 (appt-time-msg-list): Doc fix.
a5464014 13749 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13750
92d10796
AS
137512011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13752
13753 * progmodes/ld-script.el (ld-script-keywords)
13754 (ld-script-builtins): Update keywords list.
13755
914a0ae1
SM
137562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13757
c89be45f
SM
13758 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13759
914a0ae1
SM
13760 * shell.el (shell-completion-vars): New function.
13761 (shell-mode):
13762 * simple.el (read-shell-command): Use it.
13763 (blink-matching-open): No need for " [...]" in minibuffer-message.
13764
98dc3df3
GM
137652011-05-12 Glenn Morris <rgm@gnu.org>
13766
13767 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13768 (appt-check): Simplify.
13769
d2fc7e3d 137702011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13771
4d61f28d 13772 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13773 literal "/dev/null".
13774
d2fc7e3d 137752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13776
13777 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13778 Fix typo.
13779
d2fc7e3d 137802011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13781
3f254caa
SM
13782 * progmodes/which-func.el (which-function):
13783 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13784 which might not be defined (Bug#8260).
13785
d45885f7
GM
137862011-05-12 Glenn Morris <rgm@gnu.org>
13787
13788 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13789 Let byte-compile-initial-macro-environment always take precedence.
13790
488086f4
SM
137912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * net/rcirc.el: Add support for SSL/TLS connections.
13794 (rcirc-server-alist): New field `encryption'.
13795 (rcirc): Check `encryption' settings.
13796 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13797 Merge make-local-variable into `set'.
13798 (rcirc--connection-open-p): New function.
13799 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13800 the process is not a network process (e.g. running gnutls-cli).
13801 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13802 Make rcirc-(en|de)code-coding-system local here.
13803 (rcirc-mode): Merge make-local-variable into `set'.
13804 (rcirc-parent-buffer): Make permanent buffer-local.
13805 (rcirc-multiline-minor-mode): Don't do it here.
13806 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13807 there's no server buffer.
13808
7d3b9d44
GM
138092011-05-11 Glenn Morris <rgm@gnu.org>
13810
f64049c6
GM
13811 * newcomment.el (comment-kill): Prefix "unused" local.
13812
93c9df73
GM
13813 * term/w32console.el (get-screen-color): Declare.
13814
7d3b9d44
GM
13815 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13816 Handle symbol elements of byte-compile-initial-macro-environment.
13817
9e2dd53f
LL
138182011-05-10 Leo Liu <sdl.web@gmail.com>
13819
488086f4
SM
13820 * bookmark.el (bookmark-bmenu-mode-map):
13821 Bind bookmark-bmenu-search to `/'.
8b340240 13822
9e2dd53f 13823 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13824 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13825 (Footnote-unicode): New function.
13826 (footnote-style-alist): Add unicode style to the list.
13827 (footnote-style): Doc fix.
9e2dd53f 13828
79b70037
GM
138292011-05-10 Jim Meyering <meyering@redhat.com>
13830
13831 Fix doubled-word typos.
13832 * international/quail.el (quail-insert-kbd-layout): and and -> and
13833 * kermit.el: and and -> and
13834 * net/ldap.el (ldap-search-internal): to to -> to
13835 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13836 * progmodes/js.el (js-mode): and and -> and
13837 * textmodes/artist.el (artist-move-to-xy): at at -> at
13838 (artist-draw-region-trim-line-endings): if if -> if
13839 And Safetyc -> Safety.
13840 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13841
b8f82dc1 138422011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13843 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13844
13845 * files.el (hack-one-local-variable-eval-safep):
13846 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13847
4f99f44b
GM
138482011-05-10 Glenn Morris <rgm@gnu.org>
13849
13850 * calendar/diary-lib.el (diary-list-entries-hook)
13851 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13852 (diary-nongregorian-marking-hook, diary-list-entries)
13853 (diary-include-other-diary-files, diary-mark-entries)
13854 (diary-mark-included-diary-files): Doc fixes.
13855
84f29e6b
JB
138562011-05-09 Juanma Barranquero <lekktu@gmail.com>
13857
13858 * misc.el: Require tabulated-list.el during compilation.
13859
9bedd73a
CY
138602011-05-09 Chong Yidong <cyd@stupidchicken.com>
13861
488086f4
SM
13862 * progmodes/compile.el (compilation-start):
13863 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13864 (compilation-filter-hook): Doc fix.
13865
797c735c
DD
138662011-05-09 Deniz Dogan <deniz@dogan.se>
13867
13868 * wdired.el: Remove outdated installation comment. Fix usage
13869 comment.
13870
5f4b1dfe
JB
138712011-05-09 Juanma Barranquero <lekktu@gmail.com>
13872
13873 * misc.el: Implement new command `list-dynamic-libraries'.
13874 (list-dynamic-libraries--loaded-only-p): New variable.
13875 (list-dynamic-libraries--refresh): New function.
13876 (list-dynamic-libraries): New command.
13877
4c44026c
CY
138782011-05-09 Chong Yidong <cyd@stupidchicken.com>
13879
488086f4
SM
13880 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13881 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13882 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13883 higher priority to avoid clobbering by gnu.
13884
027f966d
CY
138852011-05-08 Chong Yidong <cyd@stupidchicken.com>
13886
13887 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13888 if the face has existing theme settings (Bug#8454).
13889
085f5d7d
CY
138902011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13891
488086f4
SM
13892 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13893 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13894
2a86a00c
RS
13895 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13896 special file names `.' and `..' (Bug#8259).
13897
d9c54a06
CY
138982011-05-08 Chong Yidong <cyd@stupidchicken.com>
13899
488086f4
SM
13900 * progmodes/grep.el (grep-mode-font-lock-keywords):
13901 Remove buffer-changing entries.
d9c54a06
CY
13902 (grep-filter): New function.
13903 (grep-mode): Add it to compilation-filter-hook.
13904
13905 * progmodes/compile.el (compilation-filter-hook)
13906 (compilation-filter-start): New defvars.
13907 (compilation-filter): Call compilation-filter-hook prior to
13908 updating the process mark.
13909
c4662635
SM
139102011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13913
b0512a1d
EZ
139142011-05-07 Eli Zaretskii <eliz@gnu.org>
13915
605c9376
EZ
13916 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13917 mailclient-send-it even if window-system is nil. (Bug#8595)
13918
c4662635
SM
13919 * term/w32console.el (terminal-init-w32console):
13920 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13921 background-mode. (Bug#8597)
13922
d1dc2cc2
SM
139232011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13926 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13927 New functions.
13928 (defgeneric, eieio--defmethod): Use them.
13929 (eieio-defgeneric): Remove.
13930 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13931
915d1300
GM
139322011-05-07 Glenn Morris <rgm@gnu.org>
13933
a3961c3e
GM
13934 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13935 Use let rather than let*.
13936 (timeclock-find-discrep): Remove unused local.
13937
314347b9
GM
13938 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13939
915d1300
GM
13940 * calendar/appt.el (appt-time-msg-list): Doc fix.
13941
275b59b0
NF
139422011-05-06 Noah Friedman <friedman@splode.com>
13943
13944 * apropos.el (apropos-print-doc): Only use
13945 emacs-lisp-docstring-fill-column when it is bound to an integer,
13946 per that variable's documentation.
13947
6c19f744
SM
139482011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13951 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13952
60f884b2
GM
139532011-05-06 Glenn Morris <rgm@gnu.org>
13954
5006e634
GM
13955 * calendar/appt.el (appt-message-warning-time): Doc fix.
13956 (appt-warning-time-regexp): New option.
13957 (appt-make-list): Respect appt-message-warning-time.
13958
548d0a63
GM
13959 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13960 New options.
13961 (diary-add-to-list): Strip comments from the displayed string.
13962 (diary-mode): Set comment-start and comment-end.
13963
60f884b2
GM
13964 * vc/diff-mode.el (smerge-refine-subst): Declare.
13965 (diff-refine-hunk): Don't require smerge-mode when compiling.
13966
989681bb
JB
139672011-05-06 Juanma Barranquero <lekktu@gmail.com>
13968
13969 * simple.el (list-processes): Return nil as the docstring says.
13970
a6bc05e1
MA
139712011-05-05 Michael Albinus <michael.albinus@gmx.de>
13972
13973 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13974 to "".
13975 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13976 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13977 determining of binary transfer. (Bug#7383)
13978
23c22e9a
MA
139792011-05-05 Michael Albinus <michael.albinus@gmx.de>
13980
c4662635
SM
13981 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13982 Fix port computation bug. (Bug#8618)
23c22e9a 13983
0bff894f
GM
139842011-05-05 Glenn Morris <rgm@gnu.org>
13985
b8296902
GM
13986 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13987
1f522ce8
GM
13988 * simple.el (shell-dynamic-complete-functions)
13989 (comint-dynamic-complete-functions): Declare.
13990
cf5bee67
GM
13991 * net/network-stream.el (gnutls-negotiate):
13992 * simple.el (tabulated-list-print): Fix declarations.
13993
13994 * progmodes/gud.el (syntax-symbol, syntax-point):
13995 Remove unnecessary and incorrect declarations.
13996
0bff894f
GM
13997 * emacs-lisp/check-declare.el (check-declare-scan):
13998 Handle byte-compile-initial-macro-environment in bytecomp.el
13999
9869b3ae
SM
140002011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14001
14002 Fix earlier half-done eieio-defmethod change (bug#8338).
14003 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14004 Streamline and change calling convention.
14005 (defmethod): Adjust accordingly and simplify.
14006 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14007 new eieio--defmethod.
14008 (slot-boundp): Minor CSE simplification.
14009
9c1d5ac5
MZ
140102011-05-05 Milan Zamazal <pdm@zamazal.org>
14011
14012 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14013 (glasses-make-readable): Use glasses-separate-capital-groups.
14014
455c834e
JB
140152011-05-05 Juanma Barranquero <lekktu@gmail.com>
14016
14017 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14018 (warning-series): Doc fix.
14019 (display-warning): Don't try to create the buffer if we just found it.
14020
9ed7c8cb
CY
140212011-05-04 Chong Yidong <cyd@stupidchicken.com>
14022
14023 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14024 (autoload-find-generated-file): New function.
14025 (generate-file-autoloads): Bind generated-autoload-file to
14026 buffer-file-name.
9869b3ae
SM
14027 (update-file-autoloads, update-directory-autoloads):
14028 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14029 output file (Bug#7989).
14030 (batch-update-autoloads): Doc fix.
14031
0898ca10
JB
140322011-05-04 Juanma Barranquero <lekktu@gmail.com>
14033
14034 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14035
31dfb76c
GM
140362011-05-04 Glenn Morris <rgm@gnu.org>
14037
f330b642
GM
14038 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14039 function, so it follows changes in calendar-date-style.
14040 (diary-fancy-date-matcher): New function.
14041 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14042 (diary-fancy-font-lock-fontify-region-function):
14043 Use diary-fancy-date-pattern as a function.
14044
31dfb76c
GM
14045 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14046 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14047
48e79d6a
TZ
140482011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14049
14050 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14051 instead of positional arguments. Allow :keylist and :crlfiles
14052 arguments.
14053 (open-gnutls-stream): Call it.
14054
14055 * net/network-stream.el (network-stream-open-starttls): Adjust to
14056 call `gnutls-negotiate' with :process and :hostname arguments.
14057
dd5a5ee0
SM
140582011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14059
ef80fc09
SM
14060 * minibuffer.el (completion--message): New function.
14061 (completion--do-completion, minibuffer-complete)
14062 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14063 (completion--do-completion): Don't ignore completion-auto-help when in
14064 icomplete-mode.
14065
dd5a5ee0
SM
14066 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14067 internal encoding (e.g. tibetan zero is not whitespace).
14068 (global-whitespace-mode): Prefer save-current-buffer.
14069 (whitespace-trailing-regexp): Remove useless save-match-data.
14070 (whitespace-empty-at-bob-regexp): Minor simplification.
14071
b7d22a83
CY
140722011-05-03 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14075
5192af46
AM
140762011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14077
14078 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14079 Use `concat' to create string for insertion.
5192af46 14080
5767d190
SM
140812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14084 Avoid open-line which runs post-self-insert-hook.
14085 (bibtex-fill-entry): Remove unused `end' var.
14086
bf242939
AM
140872011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14088
5767d190
SM
14089 * textmodes/ispell.el (ispell-add-per-file-word-list):
14090 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14091
25666126
LL
140922011-05-03 Leo Liu <sdl.web@gmail.com>
14093
14094 * isearch.el (isearch-yank-pop): New command.
5767d190 14095 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14096 (isearch-forward): Mention it.
14097
52d3c2d0
SM
140982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14099
1bcace58
SM
14100 * simple.el (minibuffer-complete-shell-command): Remove.
14101 (minibuffer-local-shell-command-map): Use completion-at-point.
14102 (read-shell-command): Setup completion vars here instead.
14103 (read-expression-map): Bind TAB to symbol completion.
14104
52d3c2d0
SM
14105 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14106 error directly rather via storing it into `results'.
14107
35813471
LL
141082011-05-02 Leo Liu <sdl.web@gmail.com>
14109
14110 * vc/diff.el: Fix description.
14111
e793a940
LMI
141122011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
14114 * server.el (server-eval-at): New function.
14115
8de66e05
LMI
141162011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14117
14118 * net/network-stream.el (open-network-stream): Take a :nowait
14119 parameter and pass it on to `make-network-process'.
14120 (network-stream-open-plain): Ditto.
14121
dcb79f20
AS
141222011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14123
14124 * faces.el (face-spec-set-match-display): Don't match toolkit
14125 options on terminal frames.
14126
14a7fbd8
SM
141272011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14128
7eabc1be
SM
14129 * progmodes/pascal.el: Use lexical binding.
14130 (pascal-mode-map): Remove author preferences.
14131
14a7fbd8
SM
14132 * pcomplete.el (pcomplete-std-complete): Don't abuse
14133 completion-at-point.
14134
50f84510
JB
141352011-04-28 Juanma Barranquero <lekktu@gmail.com>
14136
6e087a44
JB
14137 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14138 removing code that has been dead since 1991 or so.
14139
50f84510
JB
14140 * startup.el (command-line): When warning about "_emacs", use a
14141 delayed warning to allow the user to filter it out.
14142
0ba690bd
DD
141432011-04-28 Deniz Dogan <deniz@dogan.se>
14144
14145 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14146 user has not joined.
14147
08abfaad
SM
141482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14149
14150 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14151 aren't any completions at point.
14152
638f053a
JB
141532011-04-28 Juanma Barranquero <lekktu@gmail.com>
14154
14155 * subr.el (display-delayed-warnings): New function.
14156 (delayed-warnings-hook): New variable.
14157
8fff8daa
SM
141582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14159
08abfaad
SM
14160 * minibuffer.el (completion-at-point, completion-help-at-point):
14161 Don't presume that a given completion-at-point-function will always
14162 use the same calling convention.
14163
8fff8daa
SM
14164 * pcomplete.el (pcomplete-completions-at-point):
14165 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14166 pcomplete-seen is non-nil.
14167 (pcomplete-comint-setup): Also recognize the new comint/shell
14168 completion functions.
14169 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14170 pcomplete-seen is non-nil.
14171
841a1577 141722011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14173
841a1577 14174 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14175 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14176 the first character in the entry. This allows for code to add its
211ec907
UJ
14177 own uid to the entry.
14178 (icalendar--convert-float-to-ical): Add export of
14179 `diary-float'-entries save for those with the optional DAY
14180 argument.
14181
2a782793
DC
141822011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14183
14184 * subr.el (shell-quote-argument): Use alternate escaping strategy
14185 when we spot a variable reference in a string.
14186
0438ce91
DC
141872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14188
14189 * cus-start.el (all): Define customization for debug-on-event.
14190
841a1577 141912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14192
14193 * subr.el (shell-quote-argument): Escape correctly under Windows.
14194
d090ed6c
SM
141952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14196
14197 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14198
bfd31217
MA
141992011-04-25 Michael Albinus <michael.albinus@gmx.de>
14200
d090ed6c
SM
14201 * net/tramp.el (tramp-process-actions): Add POS argument.
14202 Delete region between POS and (pos).
bfd31217 14203
d090ed6c
SM
14204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14205 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14206 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14207
14208 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14209 position in `tramp-process-actions' call.
14210
14211 * net/trampver.el: Update release number.
14212
e92f3bd3
SM
142132011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14214
850256b5
SM
14215 * custom.el (defcustom): Obey lexical-binding.
14216
e92f3bd3
SM
14217 Fix octave-inf completion problems reported by Alexander Klimov.
14218 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14219 Inherit from octave-mode-syntax-table.
14220 (inferior-octave-mode): Set info-lookup-mode.
14221 (inferior-octave-completion-at-point): New function.
14222 (inferior-octave-complete): Use it and completion-in-region.
14223 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14224 comint-filename-completion.
14225 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14226 symbol elements which shouldn't be word elements.
14227 (octave-font-lock-keywords, octave-beginning-of-defun)
14228 (octave-function-header-regexp): Adjust regexps accordingly.
14229 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14230
cd22b309
JB
142312011-04-25 Juanma Barranquero <lekktu@gmail.com>
14232
14233 * net/gnutls.el (gnutls-errorp): Declare before first use.
14234
8b492194
TZ
142352011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14236
14237 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14238 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14239 default trustfile exists before going to use it. Add missing
5a5fa834 14240 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14241 Reported by Claudio Bley <claudio.bley@gmail.com>.
14242 (open-gnutls-stream): Add usage example.
14243
14244 * net/network-stream.el (network-stream-open-starttls): Give host
14245 parameter to `gnutls-negotiate'.
14246 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14247 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14248
841a1577 142492011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14250
cd22b309
JB
14251 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14252 Use correct match group (bug#8438).
05842630 14253
3ba7869c
CY
142542011-04-24 Chong Yidong <cyd@stupidchicken.com>
14255
512e3ae1
CY
14256 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14257 (package-menu--generate): New arg specifying packages to show.
14258 (package-menu-refresh, package-menu-execute, list-packages):
14259 Callers changed.
14260 (package-show-package-list): New function, replacing deleted
14261 package--list-packages (renamed because it is non-internal).
14262
14263 * finder.el (finder-list-matches): Use package-show-package-list
14264 instead of deleted package--list-packages.
14265
e92f3bd3
SM
14266 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14267 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14268 (vc-annotate-mode-map): Bind it to RET.
14269
7031be6d
UR
142702011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14271
14272 * progmodes/etags.el (next-file): Don't use set-buffer to change
14273 buffers (Bug#8478).
14274
4ef177aa
CY
142752011-04-24 Chong Yidong <cyd@stupidchicken.com>
14276
c8d173eb
CY
14277 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14278
4ef177aa
CY
14279 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14280 (apropos-accumulator): Doc fix.
14281 (apropos-function, apropos-macro, apropos-command)
14282 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14283 (apropos-plist): Add face property.
14284 (apropos-symbols-internal): Fix indentation.
14285 (apropos-print): Simplify help, and recognize apropos-multi-type.
14286 (apropos-print-doc): Use button-type-get to extract the button's
14287 face property. Fill docstring (Bug#8352).
14288
4ffd0d6b 142892011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14290
14291 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14292
c6c32125 14293 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14294 (mpuz-mode-map): Use mapc.
c6c32125
JB
14295 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14296 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14297 Fix typos in docstrings.
14298
58d468b4
JB
14299 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14300 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14301
6470c3c6
JB
14302 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14303
4ffd0d6b 143042011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14305
14306 * minibuffer.el (completion--do-completion): Avoid the "Next char
14307 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14308
3ad8bad0
CY
14309 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14310 mouse-2 into unread-command-events, it is interpreted correctly.
14311
71d73c9c 14312 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14313 (image-toggle-display): Doc fix.
71d73c9c 14314
841a1577 143152011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14316
4ffd0d6b
GM
14317 * textmodes/page.el (what-page): Use line-number-at-pos to
14318 calculate line number (Bug#6825).
6e1dbaa9 14319
c2fb1b60
JB
143202011-04-22 Juanma Barranquero <lekktu@gmail.com>
14321
14322 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14323 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14324 Pass argument NO-DEFAULT to `find-tag-interactive'.
14325
e02f48d7
JB
143262011-04-22 Juanma Barranquero <lekktu@gmail.com>
14327
14328 Lexical-binding cleanup.
14329
14330 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14331 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14332 * progmodes/ada-prj.el (ada-prj-initialize-values)
14333 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14334 (ada-prj-show-value):
14335 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14336 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14337 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14338 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14339 * progmodes/bug-reference.el (bug-reference-push-button):
14340 * progmodes/fortran.el (fortran-line-length):
14341 * progmodes/glasses.el (glasses-change):
14342 * progmodes/octave-mod.el (octave-fill-paragraph):
14343 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14344 (python-pdbtrack-grub-for-buffer, python-sentinel):
14345 * progmodes/sql.el (sql-save-connection):
14346 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14347 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14348 Mark unused parameters.
14349
14350 * progmodes/compile.el (compilation--flush-directory-cache)
14351 (compilation--flush-parse, compile-internal): Mark unused parameters.
14352 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14353 (compilation-next-error-function): Remove unused variable `timestamp'.
14354
14355 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14356 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14357
14358 * progmodes/dcl-mode.el (dcl-end-of-command):
14359 Remove unused variable `start'.
14360 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14361 (dcl-option-value-basic, dcl-option-value-offset)
14362 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14363 Mark unused parameters.
14364 (dcl-save-local-variable): Remove unused variable `val'.
14365 (mode): Declare.
14366
14367 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14368 Mark unused parameters.
14369 (delphi-ignore-changes): Move before first use.
14370 (delphi-charset-token-at): Remove unused variable `start'.
14371 (delphi-else-start): Remove unused variable `if-count'.
14372 (delphi-comment-block-start, delphi-comment-block-end):
14373 Remove unused variable `kind'.
14374 (delphi-indent-line): Remove unused variable `new-point'.
14375
14376 * progmodes/ebrowse.el (ebrowse-files-list)
14377 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14378 Mark unused parameters. Don't quote `lambda'.
14379 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14380 Don't quote `lambda'.
14381 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14382 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14383 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14384 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14385 Use `ignore-errors'.
14386 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14387 (ebrowse-view/find-file-and-search-pattern)
14388 (ebrowse-view/find-member-declaration/definition):
14389 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14390 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14391 Rename parameter PREFIX-ARG to PREFIX.
14392 (ebrowse-tags-read-name): Remove unused variables `start' and
14393 `member-info'.
14394 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14395 to `tags-file'.
14396
14397 * progmodes/etags.el (local-find-tag-hook): Declare.
14398 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14399 Mark unused parameters.
14400
14401 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14402 (executable-interpret): Mark unused parameter.
14403
14404 * progmodes/flymake.el (flymake-process-sentinel)
14405 (flymake-after-change-function)
14406 (flymake-create-temp-with-folder-structure)
14407 (flymake-get-include-dirs-dot): Mark unused parameters.
14408 (flymake-safe-delete-directory): Remove unused variable `err'.
14409
14410 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14411 (speedbar-timer-fn, speedbar-line-text)
14412 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14413 (speedbar-center-buffer-smartly): Declare functions.
14414 (gdb-find-watch-expression): Remove unused variable `array'.
14415 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14416 (gdb-starting): Mark unused parameters.
14417 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14418 (gdb-table-string): Remove unused variable `res'.
14419 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14420 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14421 (gdb-display-buffer): Remove unused variable `cur-size'.
14422
14423 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14424 allow lexical-binding compilation.
14425 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14426 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14427 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14428 Mark unused parameters.
14429 (gud-gdb-marker-filter): Remove unused variable `match'.
14430 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14431 lambda expressions and funcall them, instead of using `fset'.
14432
14433 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14434 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14435
14436 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14437 variable `header-beg'; use `let'.
14438
14439 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14440 `restart', `last-sexp' and `at-do'.
14441
14442 * progmodes/js.el (js--debug): Mark unused parameter.
14443 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14444 (js--splice-into-items): Remove unused variable `item'.
14445 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14446
14447 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14448 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14449 (makefile-complete): Remove unused variable `try'.
14450 (makefile-fill-paragraph, makefile-match-function-end):
14451 Mark unused parameters.
14452
14453 * progmodes/octave-inf.el (inferior-octave-complete):
14454 Remove unused variable `proc'.
14455 (inferior-octave-output-digest): Mark unused parameter.
14456
14457 * progmodes/perl-mode.el (perl-calculate-indent):
14458 Remove unused variable `err'.
14459
14460 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14461 (prolog-indent-line): Mark unused parameters.
14462 (prolog-indent-line): Remove unused variable `beg'.
14463
14464 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14465 (reporter-dont-compact-list): Declare.
14466
14467 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14468 Remove unused variable `char'.
14469 (sh-debug): Mark unused parameter.
14470 (sh-get-indent-info): Remove unused variable `start'.
14471 (sh-calculate-indent): Remove unused variable `var'.
14472
14473 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14474 (simula-electric-keyword): Remove unused variable `null'.
14475 (simula-search-backward, simula-search-forward): Remove unused
14476 variables `begin' and `end'.
14477
14478 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14479 Remove unused variable `pos'.
14480 (vera-electric-tab, vera-comment-uncomment-region):
14481 Mark unused parameters.
14482 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14483
7ede3b65
CY
144842011-04-22 Chong Yidong <cyd@stupidchicken.com>
14485
14486 * emacs-lisp/package.el (package--builtins, package-alist)
14487 (package-load-descriptor, package-built-in-p, package-activate)
14488 (define-package, package-installed-p)
14489 (package-compute-transaction, package-buffer-info)
14490 (package--push): Doc fix. Distinguish more clearly between
14491 version strings and version lists.
14492
121656e9
JB
144932011-04-21 Juanma Barranquero <lekktu@gmail.com>
14494
14495 Lexical-binding cleanup.
14496
14497 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14498 (5x5-make-mutate-best):
14499 * play/fortune.el (fortune-in-buffer):
14500 * play/gomoku.el (gomoku-init-display):
14501 * play/solitaire.el (solitaire, solitaire-do-check):
14502 * play/tetris.el (tetris-default-update-speed-function):
14503 Mark unused parameters.
14504
14505 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14506 (bubbles--shift): Remove unused variable `char-org'.
14507 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14508 (bubbles--show-images): Remove unused variable `char'.
14509
14510 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14511 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14512 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14513 (decipher-analyze-buffer): Use ?\s.
14514 (decipher-make-checkpoint): Remove unused variable `mapping'.
14515
14516 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14517
14518 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14519 Remove unused variable `result'; use `let'.
14520
14521 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14522 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14523 (gametree-children-shown-p, gametree-compute-reduced-score):
14524 Use `ignore-errors'.
14525
14526 * play/handwrite.el (ps-lpr-switches): Declare.
14527 (handwrite): Remove unused variables `pmin' and `lastp'.
14528
14529 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14530
14531 * play/landmark.el (landmark-init-display)
14532 (landmark-update-naught-weights): Mark unused parameters.
14533 (landmark-y): Remove unused variable `noise'. Simplify.
14534 (landmark-human-plays): Remove unused variable `score'.
14535
14536 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14537 (mpuz-try-proposal): Remove unused variable `game'.
14538
14539 * play/zone.el (life-patterns): Declare.
14540
80f499c7
JB
145412011-04-20 Juanma Barranquero <lekktu@gmail.com>
14542
14543 * vc/vc.el (ediff-vc-internal): Declare function.
14544
024ff170
SM
145452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14546
c0a193ea
SM
14547 * shell.el: Use lexical-binding and std completion UI.
14548 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14549 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14550 comint-preoutput-filter-functions rather than on
14551 comint-output-filter-functions.
14552 (shell-command-completion, shell--command-completion-data)
14553 (shell-filename-completion, shell-environment-variable-completion)
14554 (shell-c-a-p-replace-by-expanded-directory): New functions.
14555 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14556 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14557 (shell-dynamic-complete-environment-variable): Use them.
14558 (shell-dynamic-complete-as-environment-variable)
14559 (shell-dynamic-complete-as-command): Remove.
14560 (shell-match-partial-variable): Match past point.
14561 * comint.el: Clean up use of completion-at-point-functions.
14562 (comint-completion-at-point): New function.
14563 (comint-mode): Use it completion-at-point-functions.
14564 (comint-dynamic-complete): Make it obsolete.
14565 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14566 (comint-c-a-p-replace-by-expanded-history): New function.
14567 (comint-dynamic-complete-functions)
14568 (comint-replace-by-expanded-history): Use it.
14569 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14570 termination strings. Try harder to avoid second try-completion.
14571 (completion-in-region-mode-map): Disable bindings that don't work yet.
14572
2dbaa080
SM
14573 * comint.el: Use lexical-binding. Require CL.
14574 (comint-dynamic-complete-functions): Use comint-filename-completion.
14575 (comint-completion-addsuffix): Tweak custom type.
14576 (comint-filename-completion, comint--common-suffix)
14577 (comint--common-quoted-suffix, comint--table-subvert)
14578 (comint--complete-file-name-data): New functions.
14579 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14580 (comint-dynamic-list-filename-completions): Use them.
14581 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14582
2dbaa080
SM
14583 * minibuffer.el (completion-in-region-mode):
14584 Keep completion-in-region-mode--predicate global.
14585 (completion-in-region--postch):
14586 Assume completion-in-region-mode--predicate is not null.
14587
c79a6f38
SM
14588 * progmodes/flymake.el (flymake-start-syntax-check-process):
14589 Obey `dir'. Simplify.
14590
024ff170
SM
14591 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14592 we're in VC after all.
14593
1c6c854e
CS
145942011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14595
14596 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14597 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14598 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14599
bed7f140
SM
146002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14601
332e62ab
SM
14602 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14603 add sanity check.
14604
bed7f140
SM
14605 * obsolete/erc-hecomplete.el: Make obsolete.
14606 * obsolete/: Standardize obsolescence info in the header.
14607
f195c582
GM
146082011-04-20 Glenn Morris <rgm@gnu.org>
14609
14610 * calendar/solar.el (solar-horizontal-coordinates):
14611 Use the longitude argument rather than `calendar-longitude'.
14612 (solar-date-next-longitude): Remove unused locals.
14613
cb79b8c0
VJL
146142011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14615
14616 * whitespace.el: New version 13.2.1.
14617
146182011-04-20 felix <EmacsWiki> (tiny change)
14619
d8e4b68b 14620 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14621 switching between major modes on a file.
14622
602ea69d
SM
146232011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14626 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14627 multi-line comments as well.
14628
06b60517
JB
146292011-04-19 Juanma Barranquero <lekktu@gmail.com>
14630
14631 Lexical-binding cleanup.
14632
14633 * arc-mode.el (archive-mode-revert):
14634 * cmuscheme.el (scheme-interactively-start-process):
14635 * custom.el (custom-initialize-delay):
14636 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14637 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14638 * emacs-lock.el (emacs-lock-clear-sentinel):
14639 * ezimage.el (defezimage):
14640 * follow.el (follow-avoid-tail-recenter):
14641 * fringe.el (set-fringe-mode-1):
14642 * generic-x.el (bat-generic-mode-compile):
14643 * help-mode.el (help-info-variable, help-do-xref)
14644 (help-mode-revert-buffer):
14645 * help.el (view-emacs-todo):
14646 * iswitchb.el (iswitchb-completion-help):
14647 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14648 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14649 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14650 * locate.el (locate-update):
14651 * longlines.el (longlines-encode-region)
14652 (longlines-after-change-function):
14653 * outline.el (outline-isearch-open-invisible):
14654 * ps-def.el (declare-function, charset-dimension, char-width)
14655 (encode-char):
14656 * ps-mule.el (ps-mule-plot-string):
14657 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14658 (recentf-edit-list-select, recentf-edit-list-validate)
14659 (recentf-open-files-action):
14660 * rect.el (delete-whitespace-rectangle-line)
14661 (rectangle-number-line-callback):
14662 * register.el (window-configuration-to-register)
14663 (frame-configuration-to-register):
14664 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14665 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14666 (xselect-convert-to-targets, xselect-convert-to-delete)
14667 (xselect-convert-to-filename, xselect-convert-to-charpos)
14668 (xselect-convert-to-lineno, xselect-convert-to-colno)
14669 (xselect-convert-to-os, xselect-convert-to-host)
14670 (xselect-convert-to-user, xselect-convert-to-class)
14671 (xselect-convert-to-name, xselect-convert-to-integer)
14672 (xselect-convert-to-atom, xselect-convert-to-identity):
14673 * subr.el (declare, ignore, process-kill-without-query)
14674 (text-clone-maintain):
14675 * terminal.el (te-get-char, te-tic-sentinel):
14676 * tool-bar.el (tool-bar-make-keymap):
14677 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14678 * type-break.el (type-break-mode, type-break-noninteractive-query):
14679 * view.el (View-back-to-mark):
14680 * wid-browse.el (widget-browse-action, widget-browse-widget)
14681 (widget-browse-widgets, widget-browse-sexp):
14682 * widget.el (define-widget-keywords):
14683 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14684 Mark unused parameters.
14685
14686 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14687 (align-areas): Remove unused variable `look'.
14688 (align-region): Remove unused variables `real-end' and `pos-list'.
14689
14690 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14691
14692 * bindings.el (mode-line-modified, mode-line-remote):
14693 Mark unused parameters.
14694 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14695
14696 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14697 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14698
14699 * comint.el (comint-history-isearch-pop-state)
14700 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14701 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14702 (comint-substitute-in-file-name): Doc fix.
14703
14704 * completion.el (cmpl-statistics-block): Mark unused parameter.
14705 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14706 (save-completions-to-file, load-completions-from-file):
14707 Remove unused local variable `e'.
14708
14709 * composite.el (compose-chars): Remove unused variable `len'.
14710 (lgstring-insert-glyph): Remove unused variable `g'.
14711 (compose-glyph-string): Remove unused variables `ascent',
14712 `descent', `lbearing' and `rbearing'.
14713 (compose-glyph-string-relative): Remove unused variables
14714 `lbearing', `rbearing' and `wadjust'.
14715 (compose-gstring-for-graphic): Remove unused variables `header',
14716 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14717 (compose-gstring-for-terminal): Remove unused variables `header'
14718 and `nchars'. Use `let', not `let*'.
14719
14720 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14721 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14722 (Custom-buffer-done, custom-buffer-create-internal)
14723 (custom-browse-visibility-action, custom-browse-group-tag-action)
14724 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14725 (widget-magic-mouse-down-action, custom-toggle-parent)
14726 (custom-add-parent-links, custom-toggle-hide-variable)
14727 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14728 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14729 (custom-face-menu-create, custom-variable-menu-create, get)
14730 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14731 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14732 (customize-apropos): Remove unused variable `tests'.
14733 (custom-group-value-create): Remove unused variable `hidden-p'.
14734 (sort-fold-case): Declare.
14735
14736 * cus-theme.el (custom-reset-standard-faces-list)
14737 (custom-reset-standard-variables-list): Declare.
14738 (customize-create-theme, custom-theme-revert, custom-theme-write)
14739 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14740 Mark unused parameters.
14741
14742 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14743
14744 * delim-col.el (delimit-columns-max): Move defvar before first use.
14745
14746 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14747 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14748
14749 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14750 (auto-insert): Declare.
14751 (desktop-restore-file-buffer): Rename desktop-* parameters;
14752 mark unused ones.
14753 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14754 (desktop-buffer): Rename desktop-* parameters.
14755
14756 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14757 (dframe-reposition-frame-xemacs, dframe-help-echo)
14758 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14759 Mark unused parameters.
14760
14761 * dired-aux.el (backup-extract-version-start, overwrite-query)
14762 (overwrite-backup-query, rename-regexp-query)
14763 (rename-non-directory-query): Declare.
14764 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14765 (dired-add-entry): Remove unused variable `orig-file-name'.
14766 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14767 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14768 `dired-copy-preserve-time' directly.
14769 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14770 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14771
14772 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14773 (dired-virtual-revert, dired-make-relative-symlink):
14774 Mark unused parameters.
14775 (manual-program): Declare.
14776 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14777 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14778 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14779
14780 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14781
14782 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14783
14784 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14785 Declare.
14786
14787 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14788
14789 * electric.el (Electric-command-loop): Rename parameter
14790 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14791
14792 * expand.el (expand-in-literal): Remove unused variable `here'.
14793
14794 * facemenu.el (facemenu-add-new-color):
14795 Remove unused variable `docstring'.
14796
14797 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14798 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14799 (face-attr-construct): Mark unused parameter. Doc fix.
14800 (read-color): Remove unused variable `hex-string'.
14801
14802 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14803 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14804 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14805 (display-buffer-other-frame): Remove unused variable `old-window'.
14806 (kill-buffer-hook): Declare.
14807 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14808 Mark unused parameters.
14809 (after-find-file): Pass 1 to `auto-save-mode', not t.
14810
14811 * files-x.el (auto-insert): Declare.
14812 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14813
14814 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14815 variable `buf'. Mark unused parameter.
06b60517
JB
14816 (find-lisp-insert-directory): Mark unused parameter.
14817
14818 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14819 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14820 (format-common-tail): Remove, unused.
14821 (format-deannotate-region): Remove unused variable `loc'.
14822 (format-annotate-region): Remove unused variable `p'.
14823 (format-annotate-single-property-change): Remove unused variables
14824 `default' and `tail'.
14825
14826 * forms.el (read-file-filter): Declare.
14827 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14828
14829 * frame.el (frame-creation-function-alist): Mark unused parameter.
14830 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14831
14832 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14833 Remove unused parameters.
14834 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14835 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14836
14837 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14838 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14839 (hfy-prepare-tag-map): Mark unused parameters.
14840 (htmlfontify-buffer): Use `called-interactively-p'.
14841
14842 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14843 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14844 (ibuffer-do-occur): Mark unused parameters.
14845 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14846 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14847
14848 * ibuffer.el: Don't quote `lambda'.
14849 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14850 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14851 Mark unused parameters.
14852
14853 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14854 (ido-completing-read): Mark unused parameters.
14855 (ido-copy-current-word): Mark unused parameters;
14856 remove unused variable `name'.
14857 (ido-sort-merged-list): Remove unused parameter `dirs'.
14858
14859 * ielm.el (ielm-input-sender): Mark unused parameter.
14860 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14861 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14862 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14863 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14864 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14865
14866 * image-dired.el (image-dired-display-thumbs): Remove unused
14867 variables `curr-file' and `count'.
14868 (image-dired-remove-tag): Remove unused variable `start'.
14869 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14870 variable `curr-file'
14871 (image-dired-rotate-original): Remove unused variable `temp-file'.
14872 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14873 Remove unused variable `file'.
14874 (image-dired-gallery-generate): Remove unused variable `curr'.
14875 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14876
14877 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14878
14879 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14880
14881 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14882
14883 * isearch.el (minibuffer-history-symbol): Declare.
14884 (isearch-edit-string): Remove unused variable `err'.
14885 (isearch-message-prefix, isearch-message-suffix):
14886 Mark unused parameters.
14887
14888 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14889
14890 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14891
14892 * makesum.el (double-column): Remove unused variable `cnt'.
14893
14894 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14895 (ido-ignore-item-temp-list): Declare.
14896
14897 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14898 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14899 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14900 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14901 `mouse-col-delta'.
14902
14903 * mouse-sel.el (mouse-extend-internal):
14904 Remove unused variable `orig-window-frame'.
14905
14906 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14907 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14908 Move declarations before first use.
14909 (pcomplete-opt): Mark unused parameters; doc fix.
14910
14911 * proced.el (proced-revert): Mark unused parameter.
14912 (proced-send-signal): Remove unused variable `err'.
14913
14914 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14915 Rename parameter PREFIX-ARG to ARG.
14916 (ps-basic-plot-string, ps-basic-plot-whitespace):
14917 Mark unused parameters.
14918
14919 * replace.el (replace-count): Define.
14920 (occur-revert-function): Mark unused parameters.
14921 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14922 (isearch-case-fold-search, isearch-string): Declare.
14923 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14924 bind `case-fold-search'. Remove unused variables `beg' and `end',
14925 and simplify.
14926 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14927 COUNT and bind `replace-count'.
14928 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14929 to COUNT.
14930
14931 * savehist.el (print-readably, print-string-length): Declare.
14932
14933 * shadowfile.el (shadow-expand-cluster-in-file-name):
14934 Remove unused variable `cluster'.
14935 (shadow-copy-file): Remove unused variable `i'.
14936 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14937 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14938 (shadow-define-literal-group, shadow-define-regexp-group)
14939 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14940
14941 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14942 (shell): Use `called-interactively-p'.
14943 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14944
14945 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14946 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14947 (delete-backward-char): Remove unused variable `ocol'.
14948 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14949 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14950 (event-apply-hyper-modifier, event-apply-shift-modifier)
14951 (event-apply-control-modifier, event-apply-meta-modifier):
14952 Mark unused parameters.
14953 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14954 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14955
14956 * speedbar.el (speedbar-ignored-directory-expressions)
14957 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14958 (speedbar-find-file, speedbar-dir-follow)
14959 (speedbar-directory-buttons-follow, speedbar-tag-find)
14960 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14961 (speedbar-buffers-line-directory, speedbar-buffer-click):
14962 Mark unused parameters.
14963 (speedbar-tag-file): Remove unused variable `mode'.
14964 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14965
14966 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14967
14968 * talk.el (talk): Remove unused variable `display'.
14969
14970 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14971 (tar-write-region-annotate): Mark unused parameter.
14972
14973 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14974 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14975 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14976 warning by another.
14977
14978 * time-stamp.el (time-stamp-string-preprocess):
14979 Remove unused variable `require-padding'.
14980
14981 * tree-widget.el (widget-glyph-enable): Declare.
14982 (tree-widget-action): Mark unused parameter.
14983
14984 * w32-fns.el (x-get-selection): Mark unused parameter.
14985 (autoload-make-program, generated-autoload-file): Declare.
14986
14987 * wdired.el (wdired-revert): Mark unused parameters.
14988 (wdired-xcase-word): Remove unused variable `err'.
14989
14990 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14991 (whitespace-help-scroll): Remove unused variable `data-help'.
14992
14993 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14994 (widget-image-insert, widget-after-change, default)
14995 (widget-default-format-handler, widget-default-notify)
14996 (widget-default-prompt-value, widget-info-link-action)
14997 (widget-url-link-action, widget-function-link-action)
14998 (widget-variable-link-action, widget-file-link-action)
14999 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15000 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15001 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15002 (widget-insert-button-action, widget-delete-button-action, visibility)
15003 (widget-documentation-link-action, widget-documentation-string-action)
15004 (widget-const-prompt-value, widget-regexp-match, symbol)
15005 (widget-coding-system-prompt-value)
15006 (widget-key-sequence-value-to-external, sexp)
15007 (widget-sexp-value-to-internal, character, vector, cons)
15008 (widget-choice-prompt-value, widget-boolean-prompt-value)
15009 (widget-color--choose-action): Mark unused parameters.
15010 (widget-item-match-inline, widget-choice-match-inline)
15011 (widget-checklist-match, widget-checklist-match-inline)
15012 (widget-group-match): Rename parameter VALUES to VALS.
15013 (widget-field-value-set): Remove unused variable `size'.
15014 (widget-color-action): Remove unused variables `value' and `start'.
15015
15016 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15017 variable `dir'. Doc fix.
06b60517
JB
15018 (windmove-find-other-window): Don't pass it.
15019
15020 * window.el (count-windows): Mark unused parameter.
15021 (bw-adjust-window): Remove unused variable `err'.
15022
15023 * woman.el (woman-file-name): Remove unused variable `default'.
15024 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15025 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15026 (global-font-lock-mode): Declare.
15027 (woman-decode-region): Mark unused parameter.
15028 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15029
15030 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15031 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15032 (x-dnd-handle-moz-url): Remove unused variable `title'.
15033 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15034
15035 * xml.el (xml-parse-tag, xml-parse-attlist):
15036 Remove unused variable `pos'.
15037
bc4f7f3d
GM
150382011-04-19 Glenn Morris <rgm@gnu.org>
15039
15040 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15041 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15042 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15043 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15044 * calendar/cal-html.el (cal-html-insert-minical):
15045 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15046 (calendar-mark-date-pattern):
15047 Prefix "unused" locals.
15048
15049 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15050 optional argument `style'.
15051
15052 * calendar/appt.el (appt-make-list):
15053 * calendar/cal-china.el (calendar-chinese-date-string):
15054 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15055 (diary-hebrew-yahrzeit):
15056 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15057 * calendar/calendar.el (calendar-generate-window):
15058 * calendar/time-date.el (time-to-days):
15059 Remove unused local variables.
15060
16a43933
CY
150612011-04-18 Chong Yidong <cyd@stupidchicken.com>
15062
15063 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15064 glyphless-char-display table.
15065 (tabulated-list-glyphless-char-display): New var.
15066
7eed1860
SS
150672011-04-18 Sam Steingold <sds@gnu.org>
15068
15069 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15070 to acknowledgments.
15071
4d2d1ccd
GM
150722011-04-17 Glenn Morris <rgm@gnu.org>
15073
15074 * calendar/diary-lib.el (diary-sexp-entry):
15075 * calendar/holidays.el (holiday-sexp):
15076 Set debug-on-error rather than the removed stack-trace-on-error.
15077
239da61d
GM
150782011-04-16 Glenn Morris <rgm@gnu.org>
15079
15080 * progmodes/f90.el: Use lexical-binding.
15081 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15082
8b05752a
SM
150832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15084
daca8ba5
SM
15085 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15086 (mail-mode): Setup mailalias completion here instead.
15087 * mail/mailalias.el: Use lexical-binding.
15088 (pattern, mailalias-done): Declare dynamic.
15089 (mail-completion-at-point-function): New function, from mail-complete.
15090 (mail-complete): Use it.
15091 (mail-completion-expand): New function.
15092 (mail-get-names): Use it.
15093 (mail-directory, mail-directory-process, mail-directory-stream):
15094 Don't use `pattern' for lexically bound arg.
15095
6f542485
SM
15096 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15097
037e7c3f
SM
15098 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15099 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15100 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15101
8b05752a
SM
15102 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15103 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15104 (byte-interactive-p): Define them again, for use when inlining
15105 old code.
15106
49093f60
JB
151072011-04-15 Juanma Barranquero <lekktu@gmail.com>
15108
15109 * loadup.el: Use `string-to-number', not `string-to-int'.
15110
b5b8e7de
SM
151112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15114 gud-gdb-complete-command.
15115 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15116 (gud-gdb-completion-at-point): New function.
15117 (gud-gdb-completions): Remove.
15118
f42efeb5
MA
151192011-04-14 Michael Albinus <michael.albinus@gmx.de>
15120
49093f60
JB
15121 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15122 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15123 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15124 whether `executable-find' is bound.
f42efeb5
MA
15125
15126 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15127
e240cc21
SM
151282011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15129
15130 * minibuffer.el (completion-in-region-mode-predicate)
15131 (completion-in-region-mode--predicate): New vars.
15132 (completion-in-region, completion-in-region--postch)
15133 (completion-in-region-mode): Use them.
15134 (completion--capf-wrapper): Also return the hook function.
15135 (completion-at-point, completion-help-at-point):
15136 Adjust and provide a predicate.
c2bd2ab0
SM
15137
15138 Preserve arg names for advice of subr and lexical functions (bug#8457).
15139 * help-fns.el (help-function-arglist): Consolidate the subr and
15140 new-byte-code cases. Add argument `preserve-names' to extract names
15141 from the docstring when needed.
15142 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15143 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15144 (ad-arglist): Use help-function-arglist's new arg.
15145 (ad-definition-type): Use cond.
15146
c183f693
JB
151472011-04-13 Juanma Barranquero <lekktu@gmail.com>
15148
06641a47
JB
15149 * autorevert.el (auto-revert-handler):
15150 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15151 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15152 Don't quote lambda.
15153
c183f693
JB
15154 * image-mode.el (image-transform-set-scale):
15155 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15156
1e3b6001
G
151572011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15158
15159 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15160 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15161 Upgrades via gnutls-cli are too slow to be done opportunistically.
15162
2d6af8dd
JB
151632011-04-12 Juanma Barranquero <lekktu@gmail.com>
15164
15165 * dframe.el (dframe-current-frame): Remove spurious quote.
15166
c0749a51
GM
151672011-04-12 Glenn Morris <rgm@gnu.org>
15168
088d0d61
GM
15169 * calendar/cal-tex.el (cal-tex-end-document):
15170 Try to automatically use latin1 input if needed.
15171
c0749a51
GM
15172 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15173 Don't try to cons a mark onto an empty element.
15174
5c90fde0
LL
151752011-04-11 Leo Liu <sdl.web@gmail.com>
15176
15177 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15178 buffers.
15179 (ido-kill-buffer-at-head): Support killing virtual buffers.
15180
369e974d
CY
151812011-04-10 Chong Yidong <cyd@stupidchicken.com>
15182
15183 * minibuffer.el (completion-show-inline-help): New var.
15184 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15185 (minibuffer-force-complete, minibuffer-complete-word):
15186 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15187
15188 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15189 to avoid interference from inline help (Bug#5849).
15190
37f1c930
LL
151912011-04-10 Leo Liu <sdl.web@gmail.com>
15192
099c39a4
JB
15193 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15194 Fix typo.
37f1c930 15195
a32d4040
CY
151962011-04-09 Chong Yidong <cyd@stupidchicken.com>
15197
15198 * image-mode.el (image-toggle-display-image): Signal an error if
15199 not in Image mode.
15200 (image-transform-mode, image-transform-resize)
15201 (image-transform-set-rotation): Doc fix.
daca8ba5 15202 (image-transform-set-resize): Delete.
a32d4040
CY
15203 (image-transform-set-scale, image-transform-fit-to-height)
15204 (image-transform-fit-to-width): Handle image-toggle-display-image
15205 and image-transform-resize directly.
15206
099c39a4 152072011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15208
15209 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15210 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15211 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15212 (doc-view-mode-map): Add bindings for the new functions.
15213
099c39a4 152142011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15215
4d61f28d 15216 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15217 Fix typo in docstring.
15218
3726838a
EZ
152192011-04-08 Eli Zaretskii <eliz@gnu.org>
15220
04f33f1e
EZ
15221 * files.el (file-size-human-readable): Produce one digit after
15222 decimal, like "ls -lh" does.
15223
15224 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15225 the file size representation.
15226
3726838a
EZ
15227 * simple.el (list-processes): If async subprocesses are not
15228 available, error out with a clear error message.
15229
cbb59342
CY
152302011-04-08 Chong Yidong <cyd@stupidchicken.com>
15231
15232 * help.el (help-form-show): New function, to be called from C.
15233 Put help-form output in a buffer named differently than *Help*.
15234
e3971c44
EZ
152352011-04-08 Eli Zaretskii <eliz@gnu.org>
15236
15237 * files.el (file-size-human-readable): New function.
15238
15239 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15240 computing the representation inline. Don't require `cl'.
15241
12544bbe
GM
152422011-04-08 Glenn Morris <rgm@gnu.org>
15243
a1de6c6a
GM
15244 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15245
3c4671f4
GM
15246 * net/browse-url.el (browse-url-firefox):
15247 Test system-type, not system-configuration.
15248
b605679c
GM
15249 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15250 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15251 Use log-edit-empty-buffer-p. (Bug#7598)
15252
56442f0c
GM
15253 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15254 (rlogin-mode-map): Initialize in the defvar.
15255 (rlogin): Use ignore-errors.
15256
12544bbe
GM
15257 * replace.el (occur-mode-map): Some fixes for menu items.
15258
eb237b0f
AH
152592011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15260
15261 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15262
7d668f2c
CY
152632011-04-06 Chong Yidong <cyd@stupidchicken.com>
15264
e67a13ab
CY
15265 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15266 issuing unused warnings.
15267
15268 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15269 macro directly.
15270
7d668f2c
CY
15271 * simple.el: Lisp reimplement of list-processes. Based on an
15272 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15273 (process-menu-mode): New major mode.
15274 (list-processes--refresh, list-processes):
15275 (process-menu-visit-buffer): New functions.
15276
15277 * files.el (save-buffers-kill-emacs): Don't assume any return
15278 value of list-processes, which is undocumented anyway.
15279
a83ec3c9
CY
152802011-04-06 Chong Yidong <cyd@stupidchicken.com>
15281
15282 * emacs-lisp/tabulated-list.el: New file.
15283
e91a96fe
CY
15284 * emacs-lisp/package.el: Use Tabulated List mode.
15285 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15286 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15287 table format using Tabulated List mode variables.
15288 (package--push): New macro, replacing package-list-maybe-add.
15289 (package-menu--generate): Use package--push. Renamed from
15290 package--generate-package-list.
15291 (package-menu-refresh, list-packages): Use it.
daca8ba5 15292 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15293 Return insertion data instead of inserting it directly.
099c39a4
JB
15294 (package-menu-describe-package, package-menu-execute):
15295 Use tabulated-list-get-id.
e91a96fe
CY
15296 (package-menu-mark-delete, package-menu-mark-install)
15297 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15298 (package-menu-mark-obsolete-for-deletion):
15299 Use tabulated-list-put-tag.
e91a96fe
CY
15300 (package--list-packages, package-menu-revert)
15301 (package-menu-get-package, package-menu-get-version)
15302 (package-menu-sort-by-column): Functions deleted.
15303 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15304 (package-menu--status-predicate, package-menu--version-predicate)
15305 (package-menu--name-predicate)
15306 (package-menu--description-predicate): Handle arguments in the
15307 Tabulated List format.
15308 (package-list-packages-no-fetch): Call list-packages.
15309
3e214b50
JB
153102011-04-06 Juanma Barranquero <lekktu@gmail.com>
15311
15312 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15313 (after-find-file): Don't bind it.
3e214b50
JB
15314 (revert-buffer-in-progress-p): New variable.
15315 (revert-buffer): Bind it.
15316 Pass nil for `after-find-file-from-revert-buffer'.
15317
15318 * saveplace.el (save-place-find-file-hook): Use new variable
15319 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15320
3f0f1700
GM
153212011-04-06 Glenn Morris <rgm@gnu.org>
15322
c0274801
GM
15323 * Makefile.in (AUTOGEN_VCS): New variable.
15324 (autoloads): Use $AUTOGEN_VCS.
15325
3f0f1700
GM
15326 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15327 * calendar/calendar.el (calendar-mode-map):
15328 Check for toolkit scroll bars. (Bug#8305)
15329
41ea9e48
CY
153302011-04-05 Chong Yidong <cyd@stupidchicken.com>
15331
15332 * minibuffer.el (completion-in-region--postch)
15333 (completion-in-region-mode): Remove unnecessary messages.
15334
6194c800
JB
153352011-04-05 Juanma Barranquero <lekktu@gmail.com>
15336
33256f14
JB
15337 * font-lock.el (font-lock-refresh-defaults):
15338 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15339 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15340
6194c800
JB
15341 * info.el (Info-directory-list, Info-read-node-name-2)
15342 (Info-split-parameter-string): Doc fixes.
15343 (Info-virtual-nodes): Reflow docstring.
15344 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15345 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15346 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15347 Fix typos in docstrings.
15348 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15349 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15350 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15351 (Info-restore-desktop-buffer): Mark unused parameters.
15352 (Info-directory-find-file, Info-directory-find-node)
15353 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15354 (Info-virtual-index-find-node, Info-apropos-find-file)
15355 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15356 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15357 (Info-virtual-index): Remove unused local variable `nodename'.
15358
b87a8200 153592011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15360
b87a8200
DD
15361 * net/rcirc.el: Update my e-mail address.
15362 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15363
3b2ff876
CY
153642011-04-05 Chong Yidong <cyd@stupidchicken.com>
15365
15366 * startup.el (command-line): Save the cursor's theme-face
15367 directly, instead of using face-override-spec.
15368
15369 * custom.el (load-theme): Minor optimization in assigning faces.
15370
8d17e7ca
JB
153712011-04-04 Juanma Barranquero <lekktu@gmail.com>
15372
15373 * help-fns.el (describe-variable): Complete all variables having
15374 documentation, including keywords.
15375 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15376
2fbc1934
JB
153772011-04-04 Juanma Barranquero <lekktu@gmail.com>
15378
15379 Convert to lexical-binding.
15380
15381 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15382 (bs--get-marked-string, bs--get-modified-string)
15383 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15384 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15385 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15386
15387 * ehelp.el (electric-help-execute-extended)
15388 (electric-help-ctrl-x-prefix):
15389 * hexl.el (hexl-revert-buffer-function):
15390 * linum.el (linum-after-change, linum-after-scroll):
15391 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15392
15393 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15394
74f50695
DU
153952011-04-04 Daiki Ueno <ueno@unixuser.org>
15396
15397 * epa-dired.el:
15398 * epa-mail.el:
15399 * epa-hook.el:
15400 * epa-file.el:
15401 * epa.el:
15402 * epg.el: Use lexical binding.
15403
c11325f7
CY
154042011-04-03 Chong Yidong <cyd@stupidchicken.com>
15405
0d9e9a12
CY
15406 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15407
c11325f7 15408 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15409 dictionary case for flyspell-mark-duplications-exceptions.
15410 Use regexp matching for languages.
c11325f7
CY
15411 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15412 default dictionary (Bug#7926).
15413
da91b5f2
CY
154142011-04-02 Chong Yidong <cyd@stupidchicken.com>
15415
099c39a4
JB
15416 * emacs-lisp/package.el (package--with-work-buffer):
15417 Recognize https URLs.
da91b5f2 15418
099c39a4
JB
15419 * net/network-stream.el: Move from gnus/proto-stream.el.
15420 Change prefix to network-stream throughout.
da91b5f2
CY
15421 (open-protocol-stream): Merge into open-network-stream, leaving
15422 open-protocol-stream as an alias. Handle nil BUFFER args.
15423
15424 * subr.el (open-network-stream): Move to net/network-stream.el.
15425
afa8e9f6
GM
154262011-04-02 Glenn Morris <rgm@gnu.org>
15427
1d2e369d
GM
15428 * find-dired.el (find-exec-terminator): New option.
15429 (find-ls-option): Test for -ls support.
15430 (find-ls-subdir-switches): Test for -b in find-ls-option.
15431 (find-dired, find-grep-dired): Doc fixes.
15432 (find-dired): Use find-exec-terminator.
15433
8abb7da8 15434 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15435 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15436 (find-name-arg): Remove purecopy.
8abb7da8 15437
f3ca7378
GM
15438 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15439 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15440 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15441 accordingly. Don't add the null-device if not needed.
15442
afa8e9f6
GM
15443 * files.el (save-some-buffers): Doc fix.
15444
35eae264
EZ
154452011-04-02 Eli Zaretskii <eliz@gnu.org>
15446
15447 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15448
26b51db5
JB
154492011-04-01 Juanma Barranquero <lekktu@gmail.com>
15450
15451 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15452 Use `dolist' rather than `mapcar'.
15453
7200d79c
SM
154542011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15455
03408648 15456 Add lexical binding.
7200d79c 15457
03408648
SM
15458 * subr.el (apply-partially): Use new closures rather than CL.
15459 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15460 (dolist, dotimes): Use slightly different expansion for lexical code.
15461 (functionp): Move to C.
15462 (letrec): New macro.
15463 (with-wrapper-hook): Use it and apply-partially instead of CL.
15464 (eval-after-load): Preserve lexical-binding.
15465 (save-window-excursion, with-output-to-temp-buffer): Turn them
15466 into macros.
7200d79c 15467
03408648
SM
15468 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15469
15470 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15471 than the arglist.
15472 (help-add-fundoc-usage): Don't add `Not documented'.
15473 (help-function-arglist): Handle closures, subroutines, and new
15474 byte-code-functions.
15475 (help-make-usage): Remove leading underscores.
15476 (describe-function-1): Handle closures.
15477 (describe-variable): Use special-variable-p for completion.
15478
15479 * files.el (lexical-binding): Declare safe.
f488fb65 15480
03408648
SM
15481 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15482 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15483 (pcase): Add `let' pattern.
15484 Change memoization so it actually works.
15485 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15486 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15487 <let>: New case.
f488fb65 15488
03408648
SM
15489 * emacs-lisp/macroexp.el: Use lexical binding.
15490 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15491 Don't convert ' to #' without checking that it's indeed quoting
15492 a lambda.
15493
15494 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15495 Use eval-sexp-add-defvars.
03408648
SM
15496 (eval-sexp-add-defvars): New fun.
15497
15498 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15499
15500 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15501 Don't autoload.
15502 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15503 than the internal `byte-compile-lambda'.
15504 (defmethod): Don't hide code under quotes.
15505 (eieio-defmethod): New `code' argument.
15506
15507 * emacs-lisp/eieio-comp.el: Remove.
15508
15509 * emacs-lisp/edebug.el (edebug-eval-defun)
15510 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15511 (edebug-toggle): Avoid `eval'.
15512
15513 * emacs-lisp/disass.el (disassemble-internal): Handle new
15514 `closure' objects.
15515 (disassemble-1): Handle new byte codes.
15516
15517 * emacs-lisp/cl.el (pushnew): Silence warning.
15518
15519 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15520 (cl-byte-compile-throw): Remove.
15521 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15522
15523 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15524 closures.
15525
15526 * emacs-lisp/cconv.el: New file.
15527
15528 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15529 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15530 (byte-compile-initial-macro-environment):
15531 Handle declare-function here.
15532 (byte-compile--lexical-environment): New var.
15533 (byte-stack-ref, byte-stack-set, byte-discardN)
15534 (byte-discardN-preserve-tos): New lap codes.
15535 (byte-interactive-p): Don't use any more.
15536 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15537 New macros.
15538 (byte-compile-lapcode): Use them and handle new lap codes.
15539 (byte-compile-obsolete): Remove.
15540 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15541 (byte-compile-arglist-warn): Check late def of inlinable funs.
15542 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15543 since they should have been expanded by now.
15544 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15545 (byte-compile-from-buffer): Remove unused second arg.
15546 (byte-compile-preprocess): New function.
15547 (byte-compile-toplevel-file-form): New function to distinguish
15548 file-form calls from outside from file-form calls from hunk-handlers.
15549 (byte-compile-file-form): Simplify.
15550 (byte-compile-file-form-defsubst): Remove.
15551 (byte-compile-file-form-defmumble): Simplify now that
15552 byte-compile-lambda always returns a byte-code-function.
15553 (byte-compile): Preprocess.
15554 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15555 Remove, not used any more.
15556 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15557 (byte-compile-make-args-desc): New funs.
15558 (byte-compile-lambda): Handle lexical functions. Always return
15559 a byte-code-function.
15560 (byte-compile-reserved-constants): New var, to make up room for
15561 closed-over variables.
15562 (byte-compile-constants-vector): Obey it.
15563 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15564 (byte-compile-macroexpand-declare-function): New function.
15565 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15566 byte-code-functions.
15567 (byte-compile-form): Check obsolescence here.
15568 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15569 (byte-compile-variable-ref): Remove.
15570 (byte-compile-dynamic-variable-op): New fun.
15571 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15572 (byte-compile-variable-set): New funs.
15573 (byte-compile-discard): Add 2 args.
15574 (byte-compile-stack-ref, byte-compile-stack-set)
15575 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15576 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15577 macroexpand-all instead.
15578 (byte-compile-quote-form): Remove.
15579 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15580 (byte-compile-bind, byte-compile-unbind): New funs.
15581 (byte-compile-let): Handle let* and lexical binding.
15582 (byte-compile-let*): Remove.
15583 (byte-compile-catch, byte-compile-unwind-protect)
15584 (byte-compile-track-mouse, byte-compile-condition-case):
15585 Handle a new :fun-body form, used for lexical scoping.
15586 (byte-compile-save-window-excursion)
15587 (byte-compile-with-output-to-temp-buffer): Remove.
15588 (byte-compile-defun): Simplify.
15589 (byte-compile-stack-adjustment): New fun.
15590 (byte-compile-out): Use it.
15591 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15592
15593 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15594 handler any more.
15595
15596 * emacs-lisp/byte-opt.el: Use lexical binding.
15597 (byte-inline-lapcode): Remove (to bytecomp).
15598 (byte-compile-inline-expand): Pay attention to inlining to/from
15599 lexically bound code.
15600 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15601 any more.
15602 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15603 any more and don't call compiler-macros.
15604 (byte-compile-splice-in-already-compiled-code): Remove.
15605 (byte-code): Don't inline any more.
15606 (disassemble-offset): Receive `bytes' as argument rather than via
15607 dynamic scoping.
15608 (byte-compile-tag-number): Declare before first use.
15609 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15610 `return' even if make-spliceable.
15611 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15612 obsolete interactive-p.
15613 (byte-optimize-lapcode): Optimize new lap-codes.
15614 Don't trip up on new form of `byte-constant' lap code.
15615
15616 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15617
15618 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15619
15620 * custom.el (custom-initialize-default, custom-declare-variable):
15621 Use `defvar'.
15622
15623 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15624 New variables.
15625 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15626 (COMPILE_FIRST): Add macroexp and cconv.
15627 * makefile.w32-in: Mirror changes in Makefile.in.
15628
15629 * vc/cvs-status.el:
15630 * vc/diff-mode.el:
15631 * vc/log-edit.el:
15632 * vc/log-view.el:
15633 * vc/smerge-mode.el:
15634 * textmodes/bibtex-style.el:
090bd7cb 15635 * textmodes/css-mode.el:
03408648
SM
15636 * startup.el:
15637 * uniquify.el:
da91b5f2
CY
15638 * minibuffer.el:
15639 * newcomment.el:
15640 * reveal.el:
15641 * server.el:
15642 * mpc.el:
15643 * emacs-lisp/smie.el:
15644 * doc-view.el:
15645 * dired.el:
03408648
SM
15646 * abbrev.el: Use lexical binding.
15647
0f0c1f27
EZ
156482011-04-01 Eli Zaretskii <eliz@gnu.org>
15649
15650 * info.el (info-display-manual): New function.
15651
c82b2579
SM
156522011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15655
221ddf68
TH
156562011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15657
15658 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15659 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15660
cba6e77e
GM
156612011-03-31 Glenn Morris <rgm@gnu.org>
15662
e040639f
GM
15663 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15664
cba6e77e
GM
15665 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15666
6d0f1c9e
CS
156672011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15668
15669 * progmodes/python.el (python-default-interpreter)
15670 (python-python-command-args, python-jython-command-args)
15671 (python-which-shell, python-which-args, python-which-bufname)
15672 (python-file-queue, python-comint-output-filter-function)
15673 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15674 variables and functions.
15675
3e2d70fd
SM
156762011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15677
15678 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15679 (completion-in-region-mode): New minor mode.
15680 (completion-in-region): Use it.
15681 (completion-in-region--data, completion-in-region-mode-map): New vars.
15682 (completion-in-region--postch): New function.
15683 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15684 New vars.
15685 (completion--capf-wrapper): New function.
15686 (completion-at-point): Use it to track well-behavedness of
15687 hook functions.
15688 (completion-help-at-point): New command.
15689
f3e4086c
JM
156902011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15691
15692 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15693 syntax class to search for whitespace on a single line
15694 (Message-ID: <4D938140.4030905@redhat.com>).
15695
eb7ffc14
LL
156962011-03-30 Leo Liu <sdl.web@gmail.com>
15697
15698 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15699 New commands.
15700 (edit-abbrevs-map): Bind them here.
15701 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15702
d806ab68
KM
157032011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15704
15705 * allout.el (allout-hide-by-annotation, allout-flag-region):
15706 Reduce possibility of overlay leakage by making them volatile.
15707
15708 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15709 hash is not shared between buffers. Mode initialization is
15710 responsible for giving it a useful starting value.
15711 (allout-item-span): Reduce possibility of overlay leakage by
15712 making them volatile.
15713 (allout-widgets-count-buttons-in-region): Add diagnostic function
15714 for tracking down button overlay leaks.
15715
ea622834
LL
157162011-03-29 Leo Liu <sdl.web@gmail.com>
15717
15718 * ido.el (ido-read-internal): Use the default history var
15719 minibuffer-history if no HISTORY is specified.
15720
b62f8267
G
157212011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15722
03408648
SM
15723 * net/imap.el (imap-shell-open, imap-process-connection-type):
15724 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15725 Kerberos, SSL, other subprocesses.
15726
947b6566
LL
157272011-03-28 Leo Liu <sdl.web@gmail.com>
15728
15729 * abbrev.el (abbrev-table-empty-p): New function.
15730 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15731 nonempty ones. (Bug#5937)
15732
5ffb62aa
JD
157332011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15734
15735 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15736
7a097943
LL
157372011-03-27 Leo Liu <sdl.web@gmail.com>
15738
15739 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15740 for foreground and background colors.
15741 (ansi-color-make-color-map): Adapt.
15742
c5b40130
LL
157432011-03-25 Leo Liu <sdl.web@gmail.com>
15744
1f48f7d2
LL
15745 * midnight.el (midnight-time-float): Remove. Note it calculates
15746 the microsecond component incorrectly and seconds-to-time does the
15747 same job.
625897ec 15748 Remove redundant (require 'timer).
1f48f7d2 15749
c5b40130
LL
15750 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15751 (ido-completions): Remove unused arguments. (Bug#8329)
15752
d86d2721
SM
157532011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15754
15755 * minibuffer.el (completion--flush-all-sorted-completions):
15756 Remove itself from hook.
15757 (completion-at-point): Let the functions perform the completion
15758 immediately and return nil or t.
15759 * comint.el (comint-dynamic-complete-functions): Now identical to
15760 completion-at-point-functions.
15761 (comint-dynamic-list-input-ring): Remove unused var `index'.
15762 (comint--match-partial-filename, comint--unquote&expand-filename):
15763 New funs, split from comint-match-partial-filename.
15764 (comint-dynamic-complete): Use completion-at-point.
15765 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15766
e8974c48
DA
157672011-03-24 Drew Adams <drew.adams@oracle.com>
15768
15769 * thingatpt.el: Support `defun'.
15770
def71b5e
LL
157712011-03-23 Leo Liu <sdl.web@gmail.com>
15772
cb5af48e
LL
15773 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15774
def71b5e
LL
15775 * help-mode.el (help-mode-finish): Tweak regexp.
15776
927c53e7
GM
157772011-03-23 Glenn Morris <rgm@gnu.org>
15778
18d05bed
GM
15779 * eshell/esh-opt.el (eshell-eval-using-options):
15780 Do not bind unused local variable `eshell-option-stub'.
15781
927c53e7
GM
15782 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15783
9d0da923
JB
157842011-03-22 Juanma Barranquero <lekktu@gmail.com>
15785
15786 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15787 keymap variable in `with-no-warnings' to avoid a warning when the
15788 keymap has been already `defconst'ed.
15789
4b978a67
LL
157902011-03-22 Leo Liu <sdl.web@gmail.com>
15791
15792 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15793 encode all chars in abbrevs; otherwise use emacs-mule or
15794 utf-8-emacs. (Bug#8308)
15795
5fd62452
JB
157962011-03-22 Juanma Barranquero <lekktu@gmail.com>
15797
0b1596c6
JB
15798 * simple.el (backward-delete-char-untabify):
15799 Avoid warning about using `delete-backward-char'.
15800
5fd62452
JB
15801 * image.el (image-type-file-name-regexps): Make it variable.
15802 `imagemagick-register-types' modifies it, and the user may want
15803 to add new extensions for known image types.
15804 (imagemagick-register-types): Throw error if not using ImageMagick.
15805
0b4e93f1
LL
158062011-03-22 Leo Liu <sdl.web@gmail.com>
15807
15808 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15809 located before rcirc-prompt-end-marker.
15810 (rcirc-complete): Error if point is not after rcirc prompt.
15811 Handle the case when table is nil.
9882e214 15812 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15813
fccee4ab
CY
158142011-03-22 Chong Yidong <cyd@stupidchicken.com>
15815
15816 * custom.el (custom--inhibit-theme-enable): Make it affect only
15817 custom-theme-set-variables and custom-theme-set-faces.
15818 (provide-theme): Ignore custom--inhibit-theme-enable.
15819 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15820 (custom-enabling-themes): Delete variable.
d86d2721
SM
15821 (enable-theme): Accept only loaded themes as arguments.
15822 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15823 (custom-enabled-themes): Forbid themes from setting this.
15824 Eliminate use of custom-enabling-themes.
15825 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15826
af896da6
LL
158272011-03-21 Leo Liu <sdl.web@gmail.com>
15828
15829 * ido.el (ido-read-internal): Add ido-selected to history instead
15830 of user input.
15831
78f64af0
SM
158322011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * subr.el (deferred-action-list, deferred-action-function):
15835 Mark obsolete.
15836
b16ac1ec
LL
158372011-03-21 Leo Liu <sdl.web@gmail.com>
15838
810f7698
LL
15839 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15840 change on 2011-02-13 (bug#8309).
15841
b16ac1ec
LL
15842 * minibuffer.el (read-file-name-function): Change default value.
15843 (read-file-name--defaults): Rename from read-file-name-defaults.
15844 (read-file-name-default): Rename from read-file-name.
15845 (read-file-name): Call read-file-name-function.
15846
4e05e67e
GM
158472011-03-21 Glenn Morris <rgm@gnu.org>
15848
15849 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15850 Doc fixes.
15851
4359915b
CY
158522011-03-21 Chong Yidong <cyd@stupidchicken.com>
15853
15854 * cus-theme.el: Add missing provide statement.
15855 (customize-create-theme): Extract theme value correctly.
15856 (custom-theme-visit-theme): Autoload.
15857 (customize-create-theme): Prompt before inserting default faces.
15858
1fe275ee
JB
158592011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15860
15861 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15862 units and musical notes.
15863
cd394be1 158642011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15865
15866 * ido.el (ido-read-internal): Use completing-read-default.
15867 (ido-completing-read): Fix compatibility with completing-read.
15868
7d476bde
CO
158692011-03-20 Christian Ohler <ohler@gnu.org>
15870
15871 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15872 (ert-delete-all-tests): Use `called-interactively-p' rather than
15873 `interactive-p'.
15874 (ert--make-xrefs-region): Respect END.
15875
fe0fb33e
CY
158762011-03-19 Chong Yidong <cyd@stupidchicken.com>
15877
ff854b0b
CY
15878 * dired-aux.el (dired-create-directory): Signal an error if the
15879 directory already exists (Bug#8246).
15880
fe0fb33e
CY
15881 * facemenu.el (list-colors-display): Call list-faces-display
15882 inside with-help-window.
15883 (list-colors-print): Use display property to align the final
15884 column, instead of checking window-width.
15885
576bce32
EZ
158862011-03-19 Eli Zaretskii <eliz@gnu.org>
15887
4d61f28d 15888 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15889 windows-nt systems.
15890 (emerge-protect-metachars): Quote correctly for ms-dos and
15891 windows-nt systems.
15892
89c41d68 158932011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15894
15895 * info.el (info-initialize): Replace all uses of `:' with
15896 path-separator for compatibility with non-Unix systems.
15897 Cache quoting of path-separator. (Bug#8258)
15898
b14e3e21 158992011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15900
15901 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15902 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15903 (mouse-avoidance-mode): Fix typos in docstrings.
15904
4525ce3e
CY
159052011-03-19 Chong Yidong <cyd@stupidchicken.com>
15906
15907 * startup.el (package-subdirectory-regexp): Move from package.el.
15908 Omit \\` and \\', and let callers add them.
15909
15910 * emacs-lisp/package.el (package-strip-version)
15911 (package-load-all-descriptors): Add \\` and \\' to
15912 package-subdirectory-regexp before using it.
15913 (package-untar-buffer): New arg DIR; ensure that file untars only
15914 into this expected directory. Remove superfluous delete-region.
15915 (package-unpack): Caller changed.
15916 (package-tar-file-info): Use package-subdirectory-regexp.
15917
a904a09a 159182011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15919
a904a09a
SM
15920 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15921 diff-mode-shared-map (bug#8284).
15922 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15923
159242011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15925
15926 * calendar/time-date.el (format-seconds): Use assoc instead of
15927 assoc-string, since assoc-string doesn't exist in XEmacs.
15928
171fc304
JB
159292011-03-17 Juanma Barranquero <lekktu@gmail.com>
15930
15931 * custom.el (custom-known-themes): Reflow docstring.
15932 (custom-theme-load-path): Fix typo in docstring.
15933 (load-theme): Fix typo in error message.
15934 (custom-available-themes, custom-variable-theme-value):
15935 Use `let', not `let*'.
15936
d71990a1
JB
159372011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15938
15939 * calc/README: Mention inclusion of musical notes.
15940
15941 * calc/calc-units.el (calc-lu-quant): Rename from
15942 `calc-logunits-quantity'.
15943 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15944 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15945 (calc-db): Rename from `calc-dblevel'.
15946 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15947 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15948 (calc-np): Rename from `calc-nplevel'.
15949 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15950 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15951 (calc-lu-plus): Rename from `calc-logunits-add'.
15952 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15953 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15954 (calc-lu-minus): Rename from `calc-logunits-sub'.
15955 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15956 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15957 (calc-lu-times): Rename from `calc-logunits-mul'.
15958 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15959 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15960 (calc-lu-divide): Rename from `calc-logunits-div'.
15961 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15962 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15963
15964 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15965 functions being autoloaded.
15966
15967 * calc/calc.el (calc-lu-power-reference): Rename from
15968 `calc-logunits-power-reference'.
15969 (calc-lu-field-reference): Rename from
15970 `calc-logunits-field-reference'.
15971
7a71b18d
GM
15972 * calc/calc-help.el (calc-l-prefix-help):
15973 Mention musical note functions.
d71990a1 15974
40c2934b
SM
159752011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15976
15977 * minibuffer.el (completion-all-sorted-completions):
15978 Use :completion-cycle-penalty text property if present.
15979
b0911414
KM
159802011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15981
15982 * allout.el (allout-yank-processing): Adjust for new rebulleting
15983 regime so bullet being yanked is used without prompting the user
15984 for a choice.
15985
8a05b668
JB
159862011-03-16 Juanma Barranquero <lekktu@gmail.com>
15987
15988 * startup.el (command-line): Warn the user that _emacs is deprecated.
15989
5ba5fb81
JB
159902011-03-16 Juanma Barranquero <lekktu@gmail.com>
15991
15992 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15993 (delphi-verbose, delphi-comment-face, delphi-string-face)
15994 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15995 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15996 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15997 (delphi-new-comment-line, delphi-font-lock-defaults)
15998 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15999 Fix typos in docstrings.
16000
2dab465b
KM
160012011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16002
5ba5fb81 16003 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16004 Invert the roles of character and string values for INSTEAD, so a
16005 string is used for the more common case of a defaulting prompt.
16006
0adf5618
SM
160072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * progmodes/ruby-mode.el (ruby-backward-sexp):
16010 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16011 * play/gamegrid.el (gamegrid-make-face):
16012 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16013 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16014 * notifications.el (notifications-notify):
16015 * net/xesam.el (xesam-search-engines):
16016 * net/quickurl.el (quickurl-list-insert):
16017 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16018
d72700e5
CY
160192011-03-15 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * startup.el (command-line): Update package subdirectory regexp.
16022
49c5410a
SM
160232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16024
c6eee9aa
SM
16025 * allout.el (allout-abbreviate-flattened-numbering)
16026 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16027
49c5410a
SM
16028 * subr.el (read-char-choice): Only show the cursor after the prompt,
16029 not after the answer.
16030
047b2bb9
KR
160312011-03-15 Kevin Ryde <user42@zip.com.au>
16032
16033 * help-fns.el (variable-at-point): Skip leading quotes, if any
16034 (bug#8253).
16035
0a57d256
SM
160362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16039 warning message.
16040
77c992bc
MA
160412011-03-14 Michael Albinus <michael.albinus@gmx.de>
16042
16043 * shell.el (shell): When called interactively, offer to change the
16044 shell file name on remote hosts.
16045
eebc475d
TZ
160462011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16047
16048 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16049 integration for LDAP parameters. The host, base, user or binddn,
16050 and secret tokens can be specified in a netrc file, for instance.
16051 This is optional because an `auth-source' parameter must be
16052 specified in the search attributes.
16053
9d05d1ba
JB
160542011-03-13 Juanma Barranquero <lekktu@gmail.com>
16055
16056 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16057
09d9db2c
GM
160582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16061 into declaration. Remove redundant and harmful binding.
16062
160632011-03-12 Eli Zaretskii <eliz@gnu.org>
16064
16065 * files.el (file-ownership-preserved-p): Pass `integer' as an
16066 explicit 2nd argument to `file-attributes'. If the file's owner
16067 is the Administrators group on Windows, and the current user is
16068 Administrator, consider that a match.
16069
16070 * server.el (server-ensure-safe-dir): Consider server directory
16071 safe on MS-Windows if its owner is the Administrators group while
16072 the current Emacs user is Administrator. Use `=' to compare
16073 numerical UIDs, since they could be integers or floats.
16074
219bd536
JB
160752011-03-12 Juanma Barranquero <lekktu@gmail.com>
16076
16077 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16078
f3afd36b
MA
160792011-03-12 Michael Albinus <michael.albinus@gmx.de>
16080
16081 Sync with Tramp 2.2.1.
16082
16083 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16084
16085 * net/trampver.el: Update release number.
16086
3aaaa6f1
SM
160872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16088
94642599
SM
16089 * progmodes/compile.el (compilation--previous-directory): Fix up
16090 various nil/dead-marker mismatches (bug#8014).
16091 (compilation-directory-properties, compilation-error-properties):
16092 Don't call it at a position past the one we're about to change.
16093
3aaaa6f1
SM
16094 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16095 Disable obsolescence warnings in the file that declares it.
16096
14239447
KM
160972011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16098
099c39a4
JB
16099 * allout-widgets.el (allout-widgets-tally):
16100 Initialize allout-widgets-tally as a hash table rather than nil to
16101 prevent mode-line redisplay warnings. Also, clarify the module
16102 description and fix a comment typo.
14239447 16103
135e287c
JB
161042011-03-11 Juanma Barranquero <lekktu@gmail.com>
16105
16106 * help-fns.el (describe-variable): Don't complete keywords.
16107 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16108
ffbf300e
CY
161092011-03-10 Chong Yidong <cyd@stupidchicken.com>
16110
ba08b241
CY
16111 * emacs-lisp/package.el (package-version-join): Impose a standard
16112 string representation for pre/alpha/beta version lists.
16113 (package-unpack-single): Standardize the directory name by passing
16114 it through package-version-join.
16115 (package-strip-rcs-id): Accept any version string that does not
16116 signal an error in version-to-list.
ffbf300e 16117
f346fd6b
MA
161182011-03-10 Michael Albinus <michael.albinus@gmx.de>
16119
16120 * simple.el (delete-trailing-whitespace): Return nil for the
16121 benefit of `write-file-functions'.
16122
ccb55d27
GM
161232011-03-10 Glenn Morris <rgm@gnu.org>
16124
5ceaac0c
GM
16125 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16126
02da65ff
GM
16127 * vc/vc-git.el (vc-git-program): New option.
16128 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16129 (vc-git--call): Use it.
16130
b2f603cc
GM
16131 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16132
5772caab
GM
16133 * cus-edit.el (Custom-newline): If no button at point, look
16134 for a subgroup button at start-of-line. (Bug#2298)
16135
ccb55d27
GM
16136 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16137
ec6ecaed
JD
161382011-03-10 Julien Danjou <julien@danjou.info>
16139
16140 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16141 `cursor-type' is nil.
16142
9d5aa01d
JB
161432011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16144
16145 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16146
b6a5875b
KM
161472011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16148
7a71b18d 16149 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16150 preserves the existing header prefix, rebulleting it if necessary,
16151 rather than replacing it. This is necessary for proper operation
16152 of cooperative addons like allout-widgets.
1154d12e
JB
16153 (allout-make-topic-prefix, allout-rebullet-heading):
16154 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16155 value as alternate bullet to be used, instead of prompting the user
16156 for a bullet character.
b6a5875b 16157
ee545c35
MA
161582011-03-09 Michael Albinus <michael.albinus@gmx.de>
16159
d86d2721
SM
16160 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16161 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16162 `tramp-default-port'.
16163
c47971d7
DD
161642011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16165
16166 * net/rcirc.el (rcirc-handler-001): Remove useless
16167 with-rcirc-process-buffer.
16168 (rcirc-check-auth-status): Swap arguments to string-match.
16169
13522cb4
GM
161702011-03-09 Glenn Morris <rgm@gnu.org>
16171
0be6f4f1
GM
16172 * shell.el (shell-mode):
16173 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16174
13522cb4
GM
16175 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16176 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16177
515de2e3
CY
161782011-03-08 Chong Yidong <cyd@stupidchicken.com>
16179
16180 * emacs-lisp/package.el (package-refresh-contents)
16181 (package-menu-execute): Use condition-case-no-debug.
16182
b511b994
MA
161832011-03-08 Michael Albinus <michael.albinus@gmx.de>
16184
16185 * simple.el (shell-command-to-string): Use `process-file'.
16186
16187 * emacs-lisp/package.el (package-tar-file-info): Handle also
16188 remote files.
16189
d86d2721
SM
16190 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16191 Use `equal' for upload base check.
b511b994 16192
25bbfb31
AM
161932011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16194
16195 * textmodes/texinfo.el (texinfo-environments):
16196 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16197
be996521
GM
161982011-03-08 Glenn Morris <rgm@gnu.org>
16199
e9c8529f
GM
16200 * cus-start.el (cursor-in-non-selected-windows):
16201 Fix :set quoting oddness. (Bug#8192)
16202
be996521
GM
16203 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16204 in some setf expressions. (Bug#2159)
16205
2bb5649e
CY
162062011-03-08 Chong Yidong <cyd@stupidchicken.com>
16207
16208 * custom.el (custom-available-themes): Return themes in
16209 alphabetical order.
16210
33383987 16211See ChangeLog.15 for earlier changes.
e3d51b27
MR
16212
16213;; Local Variables:
16214;; coding: utf-8
e3d51b27
MR
16215;; End:
16216
acaf905b 16217 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16218
16219 This file is part of GNU Emacs.
16220
16221 GNU Emacs is free software: you can redistribute it and/or modify
16222 it under the terms of the GNU General Public License as published by
16223 the Free Software Foundation, either version 3 of the License, or
16224 (at your option) any later version.
16225
16226 GNU Emacs is distributed in the hope that it will be useful,
16227 but WITHOUT ANY WARRANTY; without even the implied warranty of
16228 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16229 GNU General Public License for more details.
16230
16231 You should have received a copy of the GNU General Public License
16232 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.