timespec-sub: avoid duplicate include
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
07b151f1
MA
12012-07-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4
5 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6
211b896b
GM
72012-07-06 Glenn Morris <rgm@gnu.org>
8
50394322
GM
9 * Makefile.in (compile-one-process): Rename from "recompile".
10
211b896b
GM
11 * Makefile.in (bzr-update): "compile" is the same as "recompile
12 autoloads", but parallelizable, so use that instead.
13
4737eec9
DG
142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
15
16 * window.el (quit-window): Always restore window height when
17 it's saved in quit-restore parameter.
18
226c3633 192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
20
21 * simple.el (kill-whole-line): Doc tweak.
22
226c3633 232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
24
25 * files.el (file-relative-name): Compare file names
26 case-insensitively if on MS-Windows or MS-DOS, or if
27 read-file-name-completion-ignore-case is non-nil. Don't use
28 case-fold-search for this purpose. (Bug#11827)
29
226c3633 302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024
AS
31
32 * calendar/cal-dst.el (calendar-current-time-zone): Return
33 calendar-current-time-zone-cache if non-nil.
34
60198fc9
GM
352012-07-06 Glenn Morris <rgm@gnu.org>
36
37 * Makefile.in (cvs-update): Remove old alias.
38
957b3189
MA
392012-07-05 Michael Albinus <michael.albinus@gmx.de>
40
41 Sync with Tramp 2.2.6-pre.
42
43 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
44 compatible declaration.
45
46 * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect
47 `list-load-path-shadows' call.
48
49 * net/tramp-compat.el (top): Require packages, which aren't
50 autoloaded anymore for XEmacs. Protect call of
51 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
52 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
53 it hurts at least for SXEmacs.
54 (tramp-compat-temporary-file-directory): In XEmacs, there is no
55 standard-value for `temporary-file-directory'.
56
57 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
58 Redirect stderr to /dev/null.
59 (tramp-sh-handle-write-region): uid and gid can be floats.
60 Reported by Russell Sim <russell.sim@gmail.com>.
61 (tramp-sh-handle-vc-registered): Hide errors.
62 (tramp-vc-file-name-handler): Use dummy results for `process-file'
63 and `start-file-process'.
64 (tramp-maybe-open-connection): Check also whether `non-essential'
65 is bound.
66
566df3fc
CY
672012-07-04 Chong Yidong <cyd@gnu.org>
68
69 * xml.el (xml--parse-buffer): Use xml-syntax-table.
70 (xml-parse-tag): Likewise, and avoid changing entity tables.
71 (xml-syntax-table): Define from scratch, making sure not to give
72 x2000 and other Unicode spaces whitespace syntax, since those are
73 not spaces in XML.
74 (xml-parse-fragment): Delete unused function.
75 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
76 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
77 (xml-entity-ref, xml-pe-reference-re)
78 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
79 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
80 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
81 (xml-entity-value-re): Use syntax references in regexps where
82 possible; no need to define inside a let-binding.
83 (xml-parse-dtd): Use xml-pe-reference-re.
84 (xml-entity-or-char-ref-re): New defconst.
85 (xml-parse-string, xml-substitute-special): Use it.
86
30eabd7a
SM
872012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
88
0781098a
SM
89 * files.el (locate-dominating-file): Allow `name' to be a predicate.
90 (find-file--read-only): New function.
91 (find-file-read-only, find-file-read-only-other-window)
92 (find-file-read-only-other-frame): Use it.
93 (insert-file-contents-literally): Don't `fset'.
94 (get-free-disk-space): Use locate-dominating-file.
95
b5771c0d
SM
96 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
97 function is already compiled.
98
30eabd7a
SM
99 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
100
b4886f6e
MA
1012012-07-03 Michael Albinus <michael.albinus@gmx.de>
102
103 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
104 files on the same host.
105
b9d82339
AS
1062012-07-03 Andreas Schwab <schwab@linux-m68k.org>
107
108 * help-fns.el (describe-function-1): Only call
109 help-fns--autoloaded-p when we have a file name. (Bug#11848)
110
a76e6535
CY
1112012-07-03 Chong Yidong <cyd@gnu.org>
112
113 * xml.el: Protect parser against XML bombs.
114 (xml-entity-expansion-limit): New variable.
115 (xml-parse-string, xml-substitute-special): Use it.
116 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
117
b544fef2
GM
1182012-07-03 Glenn Morris <rgm@gnu.org>
119
120 * progmodes/bug-reference.el (bug-reference-bug-regexp):
121 Allow linking to specific messages in debbugs reports (eg 123#5).
122
a7aef6f5
CY
1232012-07-02 Chong Yidong <cyd@gnu.org>
124
125 * xml.el: Fix entity and character reference expansion, allowing
126 them to expand into markup as per XML spec.
127 (xml-default-ns): New variable.
128 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
129 (xml-parse-region): Make first two arguments optional.
130 Discard text properties.
131 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
132 All callers changed.
a7aef6f5
CY
133 (xml-parse-tag): Call xml-parse-tag-1. For backward
134 compatibility, this function should not modify buffer contents.
135 (xml-parse-tag-1): Fix opening-tag regexp.
136 (xml-parse-string): Rewrite, handling entity and character
137 references properly.
138 (xml--entity-replacement-text): Signal an error if a parameter
139 entity is undefined.
140
3df31c9f
SM
1412012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
142
2b5208f1
SM
143 * comint.el (comint-output-filter): Filter out repeated prompts.
144
3df31c9f
SM
145 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
146 and file-name-absolute-p.
147 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
148 internal calls.
149
e3ac1281
PE
1502012-07-02 Paul Eggert <eggert@cs.ucla.edu>
151
152 Spelling fixes.
153 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
154 Rename from byte-compile--refiy-function. All uses changed.
155
fbf2e7ad
CY
1562012-07-01 Chong Yidong <cyd@gnu.org>
157
158 * xml.el (xml--parse-buffer): New function. Move most of
159 xml-parse-region here.
160 (xml-parse-region): Copy region into a temporary buffer, since
161 parameter entity substitution requires changing buffer contents.
162 Use xml--parse-buffer.
163 (xml-parse-file): Use xml--parse-buffer.
164 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 165 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 166
9bf0aa15
GM
1672012-06-30 Glenn Morris <rgm@gnu.org>
168
bbce2853
GM
169 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
170
9bf0aa15
GM
171 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
172 Remove outdated and unnecessary dbus declarations.
173
0d23c240
EZ
1742012-06-30 Eli Zaretskii <eliz@gnu.org>
175
176 * emacs-lisp/timer.el (timer-until): Subtract results of
177 float-time, instead of taking float-time of the result of
178 time-subtract, since float-time signals an error for negative time
179 arguments.
180
b3218de1
CY
1812012-06-30 Chong Yidong <cyd@gnu.org>
182
183 * xml.el (xml-*-re): Convert defvars into defconsts, and
184 eval-and-compile them so eval-and-compile works on derivatives.
185 (xml--entity-replacement-text): Use eval-and-comple.
186
a40c87a0
MA
1872012-06-30 Michael Albinus <michael.albinus@gmx.de>
188
189 * vc/vc-git.el (vc-git-registered): Use cache property
190 `git-registered'.
191 (vc-git-mode-line-string): Call `vc-working-revision' instead of
192 `vc-git-working-revision' in order to benefit from the cache.
193 (vc-git-root): Use cache property `git-root'.
194
ac87de97
DG
1952012-06-30 Dmitry Gutov <dgutov@yandex.ru>
196
197 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
198 removed (likely outside Emacs).
199
ac10fe06
SM
2002012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
201
3df31c9f 202 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 203
7f3fbd5d
CY
2042012-06-30 Chong Yidong <cyd@gnu.org>
205
206 * xml.el: Implement XML parameter entities.
207 (xml-parameter-entity-alist): New variable.
208 (xml-parse-region, xml-parse-fragment): Preserve previous values
209 of xml-entity-alist and xml-parameter-entity-alist, so that
210 repeated calls on different documents do not change them.
211 (xml-parse-tag): Fix doctype regexp.
212 (xml--entity-replacement-text): New function.
213 (xml-parse-dtd): Use it. Don't handle system entities; doing that
214 properly requires url retrieval which is unimplemented.
215 (xml-escape-string): Doc fix.
216
3cfbebba
SM
2172012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
220
2af3565e
DA
2212012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
222
223 * fringe.el (fringe-mode): Doc fix.
224
929df0e7
MA
2252012-06-29 Michael Albinus <michael.albinus@gmx.de>
226
227 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
228 is non-nil.
229 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
230 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
231
c8d3a25c 2322012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 233
c8d3a25c
GM
234 * calendar/cal-dst.el (calendar-current-time-zone):
235 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 236
c8d3a25c 2372012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
238
239 * progmodes/which-func.el (which-func-format):
240 Add mouse-face. (Bug#11698)
241
c8d3a25c
GM
2422012-06-29 Leo Liu <sdl.web@gmail.com>
243
244 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
245
2462012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * minibuffer.el (minibuffer-confirm-exit-commands):
249 Add completion-at-point (bug#11725).
250
2512012-06-29 Glenn Morris <rgm@gnu.org>
252
253 * progmodes/f90.el (f90-font-lock-keywords-2):
254 Add some preprocessor elements. (Bug#10499)
255
2562012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * progmodes/cperl-mode.el (cperl-update-syntaxification):
259 Use syntax-propertize (bug#11739).
260
2badeec4
JB
2612012-06-28 Juanma Barranquero <lekktu@gmail.com>
262
263 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
264
ae4969c2
JD
2652012-06-28 Julien Danjou <julien@danjou.info>
266
267 * term.el (term-handle-colors-array): Use a set of new faces to
268 color the terminal. Also uses :inverse-video property.
269 (term-default-fg-color): Set to nil by default, deprecate in favor
270 of `term-face'.
271 (term-default-bg-color): Set to nil by default, deprecate in favor
272 of `term-face'.
273 (term-current-face): Use `term-face' by default.
274 (term-bold-attribute): Variable deleted.
275
1c9bd870
GM
2762012-06-28 Glenn Morris <rgm@gnu.org>
277
278 * simple.el (completion-list-mode-finish):
279 Don't use toggle-read-only. (Since completion-list-mode has
280 a special mode-class, it wasn't doing anything extra anyway.)
281
c207708c
SM
2822012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 Make inlining of other-mode interpreted functions work (bug#11799).
285 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
286 (byte-compile): Use it to fix compilation of lexical-binding closures.
287 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
288 function, if needed.
289
3fd56834
SM
2902012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
291
04901786
SM
292 * help-mode.el (help-make-xrefs): Don't just withstand
293 cyclic-variable-indirection but any error in documentation-property.
294
1ec4b7b2
SM
295 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
296 memory use.
297 * bindings.el (bindings--define-key): New function.
298 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
299 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
300 * bindings.el: Use it to purecopy define-key bindings.
301
e309e2a5
SM
302 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
303
d5c6faf9
SM
304 * emacs-lisp/cl.el (flet): Mark obsolete.
305 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
306 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
307 * progmodes/js.el (js-c-fill-paragraph):
308 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
309 (ebrowse-switch-member-buffer-to-derived-class):
310 * play/5x5.el (5x5-solver): Use cl-flet.
311
6e9590e2
SM
312 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
313 (cl--symbol-function): New macro.
314 (cl--letf, cl--letf*): Use it.
315
3fd56834
SM
316 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
317 Strip "toggle-" if any.
318
35ff222c
GM
3192012-06-27 Glenn Morris <rgm@gnu.org>
320
1ba6038a
GM
321 * info.el (Info-default-directory-list): Move here from paths.el.
322 * paths.el: Remove file, which is now empty.
323 * loadup.el: No longer load "paths".
324
0ea0e51b
GM
325 * custom.el (custom-initialize-delay): Doc fix.
326
35ff222c
GM
327 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
328 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
329 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
330 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
331 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
332 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
333 * eshell/eshell.el (eshell-defgroup): Remove alias.
334
c89926a5
CY
3352012-06-27 Chong Yidong <cyd@gnu.org>
336
337 * help.el (help-enable-auto-load): New variable.
338
339 * help-fns.el (help-fns--autoloaded-p): New function.
340 (describe-function-1): Refer to a function as "autoloaded" if it
341 was autoloaded at any time in the past. Perform autoloading if
342 help-enable-auto-load is non-nil.
343
cc06e7e7
EZ
3442012-06-26 Eli Zaretskii <eliz@gnu.org>
345
346 * makefile.w32-in (compile, compile-always): Depend on
347 update-subdirs, not on subdirs.el. Otherwise, several different
348 sub-targets of 'bootstrap' running in parallel could
349 simultaneously write to subdirs.el, producing a garbled file.
350
d2c32364
SS
3512012-06-26 Sam Steingold <sds@gnu.org>
352
353 * files.el (file-name-base): New convenience function.
0d14cc21
GM
354 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
355 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
356 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
357 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
358 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
359 * textmodes/tex-mode.el: Use it.
360 Did not touch cedet and org because they are maintained elsewhere.
361
5cf983b2
MR
3622012-06-26 Martin Rudalics <rudalics@gmx.at>
363
364 * calendar/calendar.el (calendar-exit): Don't try to delete or
365 iconify last frame. See:
366 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
367
8c4f2952
JD
3682012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
369
370 * server.el (server-process-filter): Remember dir in the
371 process's `server-client-directory' properties.
372
772b2e2c
CY
3732012-06-24 Chong Yidong <cyd@gnu.org>
374
375 * xml.el (xml-parse-tag): Correctly handle comment embedded in
376 non-tag text.
377
711b11e1
JB
3782012-06-23 Juanma Barranquero <lekktu@gmail.com>
379
380 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
381
dc5d230c
SM
3822012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * help-fns.el (describe-variable): Don't croak when doc is not found.
385 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
386 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
387 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
388 * emacs-lisp/smie.el (smie-next-sexp): CSE.
389 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
390 ((lambda ..) ..).
391 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
392
136e1c1d
CY
3932012-06-23 Chong Yidong <cyd@gnu.org>
394
e8c1cabf
CY
395 * info.el (Info-mouse-follow-link): Accept symbol values of
396 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
397 (Info-fontify-node): Use Info-link-keymap for all navigation
398 buttons, with link-args property to perform the desired action.
399 (Info-link-keymap): Doc fix.
400 (Info-next-link-keymap, Info-prev-link-keymap)
401 (Info-up-link-keymap): Delete now-unused keymaps.
402
0e9e6c6a
CY
4032012-06-23 Chong Yidong <cyd@gnu.org>
404
05e89fea
CY
405 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
406
0e9e6c6a
CY
407 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
408 system abbrevs.
409
410 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
411
e33c6771
SM
4122012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
413
b68581e2
SM
414 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
415 (bug#11719).
416
e33c6771
SM
417 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
418 the requote function doesn't work properly (bug#11714).
419
7117e105
GM
4202012-06-23 Glenn Morris <rgm@gnu.org>
421
422 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
423
36cec983
SM
4242012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 Further GV/CL cleanups.
427 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
428 gv-expander.
429 (gv--defun-declaration): New function.
430 (defun-declarations-alist): Use it.
431 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
432 (gv-place): Autoload.
433 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
434 original definition of dotimes and dolist.
435 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
436 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
437 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
438 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
439 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
440 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
441 to the function's definition.
442 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
443 * window.el:
444 * files.el:
445 * faces.el:
446 * env.el: Don't use CL.
447
d35af63c
PE
4482012-06-22 Paul Eggert <eggert@cs.ucla.edu>
449
450 Support higher-resolution time stamps (Bug#9000).
451
452 * calendar/time-date.el (with-decoded-time-value): New arg
453 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
454 (encode-time-value): New optional arg PICO. New type 3.
455 (time-to-seconds) [!float-time]: Support the new picoseconds
456 component if it's used.
457 (seconds-to-time, time-subtract, time-add):
458 Support ps-resolution time stamps as well.
459
460 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
461 (timerp): Timer vectors now have length 9, not 8.
462 (timer--time): Support new-style (4-part) time stamps.
463 (timer-next-integral-multiple-of-time): Time stamps now have
464 picosecond resolution, so take a bit more care about rounding.
465 (timer-relative-time, timer-inc-time): New optional arg psecs.
466 (timer-set-time-with-usecs): Set psecs to 0.
467 (timer--activate): Check psecs component, too.
468
469 * proced.el (proced-time-lessp): Support ps-resolution stamps.
470
ac77b21a
SM
4712012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
472
f143bfe3
SM
473 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
474 Move the non-essential binding to the post/pre-command-hook where it is
475 more obviously correct.
476
ac77b21a
SM
477 * subr.el (read-passwd): Don't use a history at all.
478 * savehist.el (savehist-save): Remove password saved accidentally
479 because of the above bug.
480
76386c5a
BG
4812012-06-22 Bastien Guerry <bzg@gnu.org>
482
483 * files.el (toggle-read-only): Display a message telling whether
484 the buffer is read-only or not (bug#11726).
485
2ee3d7f0
SM
4862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * emacs-lisp/gv.el: New file.
489 * subr.el (push, pop): Extend to generalized variables.
490 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
491 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
492 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
493 gv-define-simple-setter, and gv-define-expander.
494 Remove setf-methods defined in gv. Rename cl-setf -> setf.
495 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
496 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
497 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
498 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
499 gv-letplace.
500 (cl-defstruct): Don't define setf-method any more.
501 * emacs-lisp/cl.el (flet): Don't autoload.
502 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
503 (define-setf-expander, defsetf, define-modify-macro)
504 (cl-struct-setf-expander): Move from cl-lib.el.
505 * emacs-lisp/syntax.el:
506 * emacs-lisp/ewoc.el:
507 * emacs-lisp/smie.el:
508 * emacs-lisp/cconv.el:
509 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
510 (timer--time): Use gv-define-simple-setter.
511 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
512 to avoid coding-system problems in subr.el. Adjust all users.
513 (macroexp--maxsize, macroexp-small-p): New functions.
514 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
515 * scroll-bar.el (scroll-bar-mode):
516 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
517 (normal-erase-is-backspace-mode): Don't use the `eq' place.
518 * winner.el (winner-configuration, winner-make-point-alist)
519 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
520 * files.el (locate-file-completion-table): Avoid list*.
521
c5695d1d
CY
5222012-06-22 Chong Yidong <cyd@gnu.org>
523
524 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
525 (dired-create-files): Doc fix (Bug#11329).
526 (dired-do-copy): Doc fix (Bug#11334).
527 (dired-mark-read-string): Doc fix (Bug#11553).
528
2ee3d7f0
SM
529 * dired.el (dired-recursive-copies, dired-recursive-deletes):
530 Doc fix (Bug#11326).
c5695d1d
CY
531 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
532 (dired-dwim-target): Doc fix.
533
534 * wdired.el (wdired-mode): Doc fix.
535
89b5595a
GM
5362012-06-22 Glenn Morris <rgm@gnu.org>
537
575db3f1
GM
538 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
539 (pcmpl-rpm-cache-stamp-file): New constant.
540 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
541 (pcmpl-rpm-packages): Optionally cache list of packages.
542
a4c8dd51
GM
543 * pcmpl-rpm.el (pcmpl-rpm): New group.
544 (pcmpl-rpm-query-options): New option.
545 (pcmpl-rpm-packages): No need to inline it.
546 Use pcmpl-rpm-query-options.
547
89b5595a
GM
548 * calendar/calendar.el (calendar-in-read-only-buffer):
549 Avoid some needless mode changes.
550
e76f0800
CY
5512012-06-21 Chong Yidong <cyd@gnu.org>
552
553 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
554 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 555 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 556
297a8f1d
CY
5572012-06-20 Chong Yidong <cyd@gnu.org>
558
559 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
560
d34c18b1
DR
5612012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
562
563 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
564 (bug#11201).
565
32f7f28e
CY
5662012-06-20 Chong Yidong <cyd@gnu.org>
567
568 * term.el (term-window-width): Handle the case of a missing right
569 fringe (Bug#8837).
570 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
571 (term-mode): Use define-derived-mode. Minor cleanups.
572 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
573 (term-move-columns, term-insert-char, term-emulate-terminal)
574 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 575
493c6688
MA
5762012-06-20 Michael Albinus <michael.albinus@gmx.de>
577
d34c18b1
DR
578 * net/ange-ftp.el (ange-ftp-get-passwd):
579 Bind `enable-recursive-minibuffers'.
493c6688
MA
580 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
581
3f06ecf4
DR
5822012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
583
584 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
585
68f12411
GM
5862012-06-19 Glenn Morris <rgm@gnu.org>
587
588 * progmodes/python.el (python-mode): Derive from prog-mode.
589
b3820318
KG
5902012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
591
592 * emulation/edt.el (edt-default-menu-bar-update-buffers)
593 (edt-user-menu-bar-update-buffers): New functions.
594 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
595
c6bf3022
CY
5962012-06-19 Chong Yidong <cyd@gnu.org>
597
598 * subr.el (with-selected-window): Preserve the selected window's
599 terminal's top-frame (Bug#4702).
600
601 * window.el (save-selected-window): Likewise.
602
25f09295
SM
6032012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * progmodes/python.el (python-rx-constituents): Move backquote.
606 (python-skeleton-define, python-define-auxiliary-skeleton):
607 Use `declare'.
608
6b11952a
MA
6092012-06-18 Michael Albinus <michael.albinus@gmx.de>
610
611 * minibuffer.el (read-file-name-default): Revert the patch from
612 2012-06-17.
613
ee4b1330
SM
6142012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
617 (pcase--u1, pcase--q1): Don't use apply-partially.
618
35647f79
GM
6192012-06-18 Glenn Morris <rgm@gnu.org>
620
621 * progmodes/python.el (python-proc, python-buffer)
622 (python-send-receive, python-send-string): Fix obsolete versions.
623
24b0cff0
MR
6242012-06-18 Martin Rudalics <rudalics@gmx.at>
625
626 * window.el (special-display-p): Completely remove stringp
627 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
628
29855149
MA
6292012-06-17 Michael Albinus <michael.albinus@gmx.de>
630
631 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
632
633 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
634
635 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
636 * net/tramp-sh.el (tramp-maybe-open-connection):
637 Throw if `non-essential' is non-nil.
638
07463363
MR
6392012-06-17 Martin Rudalics <rudalics@gmx.at>
640
641 * window.el (special-display-p): Signal an error if BUFFER-NAME
642 is not a string (Bug#11713).
643
48d1354e
PE
6442012-06-17 Paul Eggert <eggert@cs.ucla.edu>
645
646 * progmodes/python.el (python-info-beginning-of-backslash):
647 Rename from python-info-beginning-of-backlash, as a spelling fix.
648
eb4a8a9a
CY
6492012-06-17 Chong Yidong <cyd@gnu.org>
650
651 * term.el (term-emulate-terminal): If term-check-size is called,
652 move point to the process mark without resetting point (Bug#4635).
653
ddfbf826 6542012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
655
656 * international/mule-cmds.el (mule-menu-keymap)
657 (set-language-environment, set-locale-environment): Doc tweaks.
658
9b0e3eba
AA
6592012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
660
661 * cus-face.el (custom-face-attributes): Add wave-style underline
662 attribute.
663 * faces.el (set-face-attribute): Update docstring to describe
664 wave-style underline attribute.
665
771e3eae
CY
6662012-06-16 Chong Yidong <cyd@gnu.org>
667
668 * term/xterm.el (terminal-init-xterm): Discard input before
669 querying background mode (Bug#10959).
670
7ae2ea10
SM
6712012-06-16 Stefan Merten <smerten@oekonux.de>
672
673 * textmodes/rst.el: Added and corrected some comments.
674 (rst-re-alist-def): Improve symbol syntax.
675 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
676 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
677 (rst-official-version, rst-official-cvs-rev): Update version
678 information.
7ae2ea10 679
b6974efa
JB
6802012-06-15 Juanma Barranquero <lekktu@gmail.com>
681
682 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
683 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
684
8826d473
GM
6852012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
686
687 * progmodes/python.el: New python.el merge.
688 (python-guess-indent): Obsolete var.
689 (python-indent-guess-indent-offset): New defcustom.
690 (python-indent): Obsolete var.
691 (python-indent-offset): New defcustom.
692 (python-python-command, python-jython-command): Delete var.
693 (python-shell-interpreter): New defcustom.
694 (python-pdbtrack-do-tracking-p): Delete var.
695 (python-pdbtrack-activate): New defcustom.
696 (python-use-skeletons): Obsolete var.
697 (python-skeleton-autoinsert): New defcustom.
698 (inferior-python-filter-regexp, python-continuation-offset)
699 (python-honour-comment-indentation, python-indent-string-contents)
700 (python-jython-packages, python-mode-hook)
701 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
702 (python-shell-prompt-alist)
703 (python-source-modes): Delete defcustoms.
704 (python-check-buffer-name, python-eldoc-setup-code)
705 (python-eldoc-string-code, python-ffap-setup-code)
706 (python-ffap-string-code, python-fill-comment-function)
707 (python-fill-decorator-function, python-fill-paren-function)
708 (python-fill-string-function, python-imenu-include-defun-type)
709 (python-imenu-make-tree, python-imenu-subtree-root-label)
710 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
711 (python-shell-compilation-regexp-alist)
712 (python-shell-completion-module-string-code)
713 (python-shell-completion-pdb-string-code)
714 (python-shell-completion-setup-code)
715 (python-shell-completion-string-code)
716 (python-shell-enable-font-lock, python-shell-exec-path)
717 (python-shell-extra-pythonpaths)
718 (python-shell-internal-buffer-name, python-shell-interpreter-args)
719 (python-shell-process-environment)
720 (python-shell-prompt-block-regexp)
721 (python-shell-prompt-output-regexp)
722 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
723 (python-shell-send-setup-max-wait, python-shell-setup-codes)
724 (python-shell-virtualenv-path): New defcustoms.
725 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
726 (inferior-python-mode-syntax-table, python--prompt-regexp)
727 (python-buffer, python-command python-python-command)
728 (python-default-template, python-imports, python-indent-index)
729 (python-indent-list, python-indent-list-length)
730 (python-mode-running, python-pdbtrack-is-tracking-p)
731 (python-preoutput-continuation, python-preoutput-leftover)
732 (python-preoutput-result, python-preoutput-skip-next-prompt)
733 (python-prev-dir/file, python-recursing)
734 (python-saved-check-command, python-version-checked)
735 (python-which-func-length-limit)
736 (view-return-to-alist): Delete vars.
737 (python-check-custom-command, python-dotty-syntax-table)
738 (python-imenu-index-alist, python-indent-current-level)
739 (python-indent-dedenters, python-indent-levels)
740 (python-nav-beginning-of-defun-regexp)
741 (python-nav-list-defun-positions-cache)
742 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
743 (python-shell-internal-buffer)
744 (python-skeleton-available): New vars.
745 (def-python-skeleton): Delete macro.
746 (python-skeleton-define): New macro.
747 (python-define-auxiliary-skeleton, python-rx): New macros.
748 (python-insert-class): Delete command.
749 (python-skeleton-class): New command.
750 (python-insert-def): Delete command.
751 (python-skeleton-def): New command.
752 (python-insert-for): Delete command.
753 (python-skeleton-for): New command.
754 (python-insert-if): Delete command.
755 (python-skeleton-if): New command.
756 (python-insert-try/except, python-insert-try/finally): Delete commands.
757 (python-skeleton-try): New command.
758 (python-insert-while): Delete command.
759 (python-skeleton-while): New command.
760 (python-backspace): Delete command.
761 (python-indent-dedent-line-backspace): New command.
762 (python-electric-colon): Delete command.
763 (python-indent-electric-colon): New command.
764 (python-guess-indent): Delete command.
765 (python-indent-guess-indent-offset): New command.
766 (python-shift-left): Delete command.
767 (python-indent-shift-left): New command.
768 (python-shift-right): Delete command.
769 (python-indent-shift-right): New command.
770 (python-find-function): Delete command.
771 (python-nav-jump-to-defun): New command.
772 (python-next-statement): Delete command.
773 (python-nav-forward-sentence): New command.
774 (python-previous-statement): Delete command.
775 (python-nav-backward-sentence): New command.
776 (python-fill-paragraph): Delete command.
777 (python-fill-paragraph-function): New command.
778 (python-send-buffer): Delete command.
779 (python-shell-send-buffer): New command.
780 (python-send-defun): Delete command.
781 (python-shell-send-defun): New command.
782 (python-send-region, python-send-region-and-go): Delete commands.
783 (python-shell-send-region)
784 (python-shell-switch-to-shell): New commands.
785 (python-send-string): Delete command.
786 (python-shell-send-string): New command.
787 (python-switch-to-python): Delete command.
788 (python-shell-switch-to-shell): New command.
789 (python-describe-symbol): Delete command.
790 (python-eldoc-at-point): New command.
791 (python--set-prompt-regexp, python-args-to-list)
792 (python-after-info-look, python-check-version)
793 (python-check-comint-prompt, python-find-imports)
794 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
795 (python-unload-function, python-expand-template)
796 (python-maybe-jython, python-preoutput-filter)
797 (python-pdbtrack-get-source-buffer)
798 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
799 (python-pdbtrack-toggle-stack-tracking)
800 (python-pdbtrack-track-stack-file, python-initial-text)
801 (python-first-word, python-comment-line-p, python-send-command)
802 (python-setup-brm, python-sentinel, python-set-proc)
803 (python-skip-out, python-input-filter, python-outdent-p)
804 (python-outline-level, python-backslash-continuation-line-p)
805 (python-end-of-block, python-end-of-statement, python-mark-block)
806 (python-beginning-of-block, python-beginning-of-statement)
807 (python-blank-line-p, python-beginning-of-string)
808 (python-open-block-statement-p): Delete functions.
809 (python-indent-line, python-indent-line-1): Delete functions.
810 (python-indent-line): New function.
811 (python-indentation-levels): Delete function.
812 (python-indent-calculate-levels): New function.
813 (python-proc): Delete function.
814 (python-shell-get-process): New function.
815 (python-send-receive): Delete function.
816 (python-shell-send-string-no-output): New function.
817 (python-module-path): Delete function.
818 (python-ffap-module-path): New function.
819 (python-completion-at-point)
820 (python-symbol-completions): Delete functions.
821 (python-completion-complete-at-point): New function.
822 (python-load-file): Delete function.
823 (python-shell-send-file): New function.
824 (python-calculate-indentation): Delete function.
825 (python-indent-calculate-indentation): New function.
826 (python-skip-comments/blanks): Delete function.
827 (python-util-forward-comment): New function.
828 (python-continuation-line-p): Delete function.
829 (python-info-continuation-line-p): New function.
830 (python-which-func, python-current-defun): Delete function.
831 (python-info-current-defun): New function.
832 (python-beginning-of-defun): Delete function.
833 (python-nav-beginning-of-defun): New function.
834 (python-close-block-statement-p)
835 (python-block-end-p): Delete function.
836 (python-info-closing-block): New function.
837 (python-comint-output-filter-function)
838 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
839 (python-fill-comment, python-fill-decorator, python-fill-paren)
840 (python-fill-string, python-imenu-make-element-tree)
841 (python-imenu-make-tree, python-imenu-tree-assoc)
842 (python-indent-context, python-indent-dedent-line)
843 (python-indent-line-function)
844 (python-indent-post-self-insert-function)
845 (python-indent-toggle-levels)
846 (python-info-assignment-continuation-line-p)
847 (python-info-beginning-of-backlash)
848 (python-info-block-continuation-line-p)
849 (python-info-closing-block-message)
850 (python-info-line-ends-backslash-p)
851 (python-info-looking-at-beginning-of-defun)
852 (python-info-ppss-context, python-info-ppss-context-type)
853 (python-nav-list-defun-positions, python-nav-read-defun)
854 (python-nav-sentence-end, python-nav-sentence-start)
855 (python-pdbtrack-comint-output-filter-function)
856 (python-pdbtrack-set-tracked-buffer)
857 (python-shell-calculate-exec-path)
858 (python-shell-calculate-process-environment)
859 (python-shell-completion--do-completion-at-point)
860 (python-shell-completion--get-completions)
861 (python-shell-completion-complete-at-point)
862 (python-shell-completion-complete-or-indent)
863 (python-shell-get-or-create-process)
864 (python-shell-get-process-name)
865 (python-shell-internal-get-or-create-process)
866 (python-shell-internal-get-process-name)
867 (python-shell-internal-send-string, python-shell-make-comint)
868 (python-shell-parse-command, python-shell-send-setup-code)
869 (python-skeleton-add-menu-items)
870 (python-util-clone-local-variables, python-util-position)
871 (run-python-internal, python-indentation-levels)
872 (python-nav-beginning-of-defun)
873 (python-completion-complete-at-point): New functions.
874 (run-python): Change arguments. New API requirements.
875
4302f5ba
SM
8762012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
877
f38ea36d
SM
878 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
879 (bug#11649).
880
881 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
882 (macroexp--expand-all): Use it.
883
4302f5ba
SM
884 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
885 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
886 Use `cl-function' instead.
887
33377562
JB
8882012-06-14 Juanma Barranquero <lekktu@gmail.com>
889
890 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
891 Suggested by Stefan Monnier while discussing bug#11657.
892
54c5ba1a
SS
8932012-06-14 Sam Steingold <sds@gnu.org>
894
895 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
896
f9f1b1fe
AS
8972012-06-14 Andreas Schwab <schwab@linux-m68k.org>
898
899 * play/doctor.el (doctor-doc): Remove parameter and use
900 doctor-sent instead of sent.
901 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
902
a81068ba
SM
9032012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
904
5a315f9c
SM
905 * files.el: Require cl-lib.
906 (file-name-non-special): Replace case -> cl-case.
907
908 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
909
a81068ba
SM
910 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
911 mapping from #' to function*.
912
8cca9703
CY
9132012-06-13 Chong Yidong <cyd@gnu.org>
914
915 * mouse.el (mouse-drag-track): Do not set the mark if the user
916 releases the mouse without selecting anything (Bug#11588).
917
a12ac9d7
SM
9182012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
919
ccf1dc18
SM
920 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
921 as well (bug#11646).
922
ef62b23d
SM
923 * loadup.el: Count byte-code functions as well.
924
c4c8444a
SM
925 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
926 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
927
a12ac9d7
SM
928 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
929 (bug#11649). Add cl-defun and cl-defmacro.
930
87e6e64f
DA
9312012-06-13 Drew Adams <drew.adams@oracle.com>
932
933 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
934 Fix last change.
935
682cefaf
MA
9362012-06-13 Michael Albinus <michael.albinus@gmx.de>
937
938 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
939 Otherwise, it blocks in batch mode.
940
773e1f08
JB
9412012-06-13 Juanma Barranquero <lekktu@gmail.com>
942
943 * help-mode.el (bookmark-make-record-default): Declare.
944
60057926
CY
9452012-06-13 Chong Yidong <cyd@gnu.org>
946
947 * emacs-lisp/package.el (list-packages): Compute a list of
948 packages that are newly-available since the last list-packages
949 invocation.
950 (package-menu--new-package-list): New var.
951 (package-menu--generate, package-menu--print-info)
952 (package-menu--status-predicate, package-menu-mark-install):
953 Handle new status label "new".
954
ad4d226c
SM
9552012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
958 conversion to backquotes.
959
f1a4e679
CY
9602012-06-12 Chong Yidong <cyd@gnu.org>
961
962 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
963 Rename from gud-inhibit-global-bindings.
964
965 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
966
967 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
968 hook from nxml-glyph-set-hook.
969
970 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
971 declaration.
972
973 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
974
975 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
976 Convert to defcustom.
977
0c9e42b5
DA
9782012-06-12 Drew Adams <drew.adams@oracle.com>
979
980 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
981 New functions.
982 (help-mode): Use them.
983
09e06855
GM
9842012-06-11 Glenn Morris <rgm@gnu.org>
985
986 * progmodes/fortran.el (fortran-font-lock-keywords-3):
987 Use preprocessor face for directives.
988 (fortran-directive-re): Doc fix.
989
71adb94b
SM
9902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
991
2eb87922
SM
992 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
993 conversion to backquotes (bug#11652).
994
71adb94b
SM
995 Fix compiler-expansion of CL's cXXr functions (bug#11673).
996 * emacs-lisp/cl-lib.el (cl--defalias): New function.
997 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
998 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
999 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1000 (cl-ninth, cl-tenth): Mark them as inlinable.
1001 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1002 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1003 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1004 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1005 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1006 (cl-list*, cl-adjoin): Don't put an autoload manually.
1007 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1008 (cl--compiler-macro-list*): Add autoload cookie.
1009 (cl--compiler-macro-cXXr): New function.
2eb87922 1010
71adb94b
SM
1011 * help-fns.el (help-fns--compiler-macro): New function extracted from
1012 describe-function-1; follow aliases and use `compiler-macro' property.
1013 (describe-function-1): Use it.
1014
a6674402
CY
10152012-06-11 Chong Yidong <cyd@gnu.org>
1016
1017 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1018 is uninstalled, if imagemagick is installed.
1019
bb3faf5b
SM
10202012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * emacs-lisp/cl-lib.el: Use lexical-binding.
1023 (cl-map-extents, cl-maclisp-member): Remove.
1024 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1025 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1026 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1027 * emacs-lisp/cl-extra.el: Use lexical-binding.
1028 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1029 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1030 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1031 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1032 * emacs-lisp/cl-seq.el: Use lexical-binding.
1033 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1034 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1035 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1036 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1037 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1038 CL's internals.
1039
2fe4b125
MA
10402012-06-11 Michael Albinus <michael.albinus@gmx.de>
1041
1042 Sync with Tramp 2.2.6-pre.
1043
1044 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1045 `print-length' and `print-level' to nil, in order to avoid
1046 truncation. Reported by Christopher Schmidt
1047 <christopher@ristopher.com>.
1048
1049 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1050
1051 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1052 New defmacro.
1053 (tramp-compat-copy-directory): Add optional argument
1054 COPY-CONTENTS. It is not handled yet.
1055
1056 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1057 (tramp-ftp-file-name-p): Simplify.
1058
1059 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1060 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1061 connection vector.
1062
1063 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1064 (tramp-methods): Do not use `tramp-password-end-of-line'.
1065 (tramp-completion-function-alist-putty): Handle UNIX case.
1066 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1067 (tramp-do-file-attributes-with-stat)
1068 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1069 gid as real numbers. They could run out of integer range on cygwin.
1070 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1071 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1072 (tramp-open-connection-setup-interactive-shell):
1073 Use `tramp-cleanup'. Move check for busyboxes ...
1074 (tramp-find-shell): ... here. Simplify implementation.
1075 Set "remote-shell" property also for alternative shells.
1076 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1077 If failing, a regular file would be written otherwise.
1078 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1079 (tramp-find-inline-encoding): Cache the coding commands in the
1080 process cache. Apply test command on the remote side, if defined.
1081 (tramp-find-inline-compress): Cache the compress commands in the
1082 process cache.
1083 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1084 when requested. Handle hops.
1085 (tramp-current-connection): New defvar.
87e6e64f
DA
1086 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1087 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1088 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1089 (tramp-get-inline-compress, tramp-get-inline-coding):
1090 Read connection properties from the process cache.
2fe4b125
MA
1091
1092 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1093 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1094 New defconsts.
2fe4b125
MA
1095 (tramp-smb-prompt): Extend for powershell prompt.
1096 (tramp-smb-file-name-handler-alist): Add handlers for
1097 `process-file', `shell-command' and `start-file-process'.
1098 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1099 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1100 (tramp-smb-file-name-p): Simplify.
1101 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1102 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1103 (tramp-smb-shell-quote-argument): New defuns.
1104 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1105 Implement using "tar". By this, time-stamps are preserved.
1106 (tramp-smb-handle-copy-file): Handle also the case of directories.
1107 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1108 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1109 Use `tramp-get-connection-buffer').
2fe4b125
MA
1110 (tramp-smb-handle-rename-file): Use "rename", when source and
1111 target are on the same share.
87e6e64f
DA
1112 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1113 Use `tramp-smb-server-version'.
2fe4b125
MA
1114 (tramp-smb-wait-for-output): Remove prompt.
1115
1116 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1117 (tramp-methods, tramp-rsh-end-of-line):
1118 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1119 (tramp-save-ad-hoc-proxies): New defcustom.
1120 (tramp-completion-function-alist): Adapt docstring.
1121 (tramp-default-password-end-of-line): Remove defcustom.
1122 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1123 (tramp-user-regexp, tramp-file-name-regexp-unified)
1124 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1125 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1126 (tramp-remote-file-name-spec-regexp): New defconst.
1127 (tramp-file-name-structure): Extend structure for hops.
1128 (tramp-get-method-parameter): Move up.
1129 (tramp-file-name-p, tramp-dissect-file-name)
1130 (with-parsed-tramp-file-name): Handle hops.
1131 (tramp-file-name-hop): New defun.
1132 (tramp-make-tramp-file-name): New optional arg HOP.
1133 (tramp-message-show-progress-reporter-message): New defvar.
1134 (tramp-with-progress-reporter): Use it. We cannot use
1135 `tramp-message-show-message' here, because this suppresses also
1136 error buffers.
1137 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1138 `tramp-message-show-message' is nil.
1139 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1140 (tramp-cleanup): New defun.
1141 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1142 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1143 an error unchanged.
1144 (tramp-completion-handle-file-name-all-completions): Handle hops.
1145 Fix an error when called from ido.
1146 (tramp-completion-dissect-file-name): Use better local variable
1147 name. Add hop to the vector.
1148 (tramp-handle-insert-file-contents): Use progress-reporter for the
1149 whole scenario.
1150 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1151 to `t'.
1152 (tramp-check-for-regexp): Simplify search.
1153 (tramp-enter-password): Remove it. Move implementation ...
1154 (tramp-action-password): ... here.
1155 (tramp-mode-string-to-int, tramp-local-host-p)
1156 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1157 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1158 Set tramp-autoload cookie.
2fe4b125
MA
1159
1160 * net/trampver.el: Update release number.
1161
11622012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1163 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1166 (tramp-parse-group, tramp-parse-file)
1167 (tramp-parse-shostkeys-sknownhosts): New defuns.
1168 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1169 (tramp-parse-shosts-group, tramp-parse-sconfig)
1170 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1171 (tramp-parse-sknownhosts, tramp-parse-hosts)
1172 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1173 Use them.
1174 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1175 (tramp-parse-putty-group): Don't narrow.
1176 (tramp-parse-putty): Make a loop.
1177 (tramp-file-name-handler): Catch the `suppress' signal.
1178
72834e10
CY
11792012-06-11 Chong Yidong <cyd@gnu.org>
1180
1181 * image.el (imagemagick-register-types): Put the ImageMagick entry
1182 at the end of image-type-file-name-regexps.
1183
a4712e11
JB
11842012-06-11 Johan Bockgård <bojohan@gnu.org>
1185
1186 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1187 (pcase, pcase-let*, pcase-dolist): Use them.
1188
82ad98e3
SM
11892012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * emacs-lisp/pcase.el (pcase--let*): New function.
1192 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1193 (pcase--expand): Use macroexp-let².
1194
f80efb86
SM
11952012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1198 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1199 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1200 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1201 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1202 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1203
31ca4639 12042012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1205
31ca4639
CY
1206 * mail/rmail.el (rmail-yank-current-message): Leave point at
1207 correct position. (Bug#11660)
94f0aa34 1208
31ca4639 12092012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1210
31ca4639 1211 * allout-widgets.el: Fix code header.
9e1b8ec4 1212
31ca4639 12132012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1214
f80efb86
SM
1215 * cus-edit.el (customize-changed-options-previous-release):
1216 Bump to 24.1.
31ca4639 1217
642b6d30
AS
12182012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1219
1220 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1221
4f5d2ba1
CY
12222012-06-09 Chong Yidong <cyd@gnu.org>
1223
1224 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1225
e75852fd
MR
12262012-06-09 Martin Rudalics <rudalics@gmx.at>
1227
1228 * window.el (special-display-popup-frame): Don't use
1229 window--display-buffer (Bug#11651).
1230
1e48e282
EZ
12312012-06-09 Eli Zaretskii <eliz@gnu.org>
1232
8a26b487
EZ
1233 Fix parallel builds: make sure loaddefs.el is not being written
1234 while Lisp files are compiled.
1235 (compile): Don't depend on 'mh-autoloads'.
1236 (compile-CMD, compile-SH): Depend on 'autoloads'.
1237 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1238
1e48e282
EZ
1239 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1240
6175e34b
CY
12412012-06-09 Chong Yidong <cyd@gnu.org>
1242
1243 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1244 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1245 Doc fixes (Bug#11225).
1246
d9857e53
SM
12472012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1250 a function if there's a clear indication that it has a compiler-macro.
1251 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1252 (macro-declarations-alist): Add arglist to declaration functions.
1253 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1254 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1255 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1256 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1257 Also add autoload to find the compiler macro.
1258 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1259 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1260 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1261 (cl--compiler-macro-get): New functions, replacing calls to
1262 cl-define-compiler-macro.
1263 (cl-typep) [compiler-macro]: Use macroexp-let².
1264
f81298f8 12652012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1266
1267 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1268 string properly, fixes Bug#11473.
1269
4b56d0fe
CY
12702012-06-08 Chong Yidong <cyd@gnu.org>
1271
1272 * faces.el (set-face-attribute): Doc fix.
1273 (modify-face): Don't use :bold and :italic.
1274 (error, warning, success): Tweak definitions.
1275
1276 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1277 (custom-modified, custom-set, custom-changed, custom-themed)
1278 (custom-saved, custom-button, custom-button-mouse)
1279 (custom-button-pressed, custom-state, custom-comment-tag)
1280 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1281 (custom-group-subtitle): Use new-style face specs.
1282 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1283 (custom-set-face, custom-changed-face, custom-saved-face)
1284 (custom-button-face, custom-button-pressed-face)
1285 (custom-documentation-face, custom-state-face)
1286 (custom-comment-face, custom-comment-tag-face)
1287 (custom-variable-tag-face, custom-variable-button-face)
1288 (custom-face-tag-face, custom-group-tag-face-1)
1289 (custom-group-tag-face): Remove obsolete face alias.
1290
1291 * epa.el (epa-validity-high, epa-validity-medium)
1292 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1293 (epa-field-name, epa-field-body):
1294 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1295 (font-lock-keyword-face, font-lock-builtin-face)
1296 (font-lock-function-name-face, font-lock-variable-name-face)
1297 (font-lock-type-face, font-lock-constant-face):
1298 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1299 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1300 * speedbar.el (speedbar-button-face, speedbar-file-face)
1301 (speedbar-directory-face, speedbar-tag-face)
1302 (speedbar-selected-face, speedbar-highlight-face)
1303 (speedbar-separator-face):
1304 * whitespace.el (whitespace-newline, whitespace-space)
1305 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1306 (whitespace-line, whitespace-space-before-tab)
1307 (whitespace-space-after-tab, whitespace-indentation)
1308 (whitespace-empty):
1309 * emulation/cua-base.el (cua-global-mark):
1310 * eshell/em-prompt.el (eshell-prompt):
1311 * net/newst-plainview.el (newsticker-new-item-face)
1312 (newsticker-old-item-face, newsticker-immortal-item-face)
1313 (newsticker-obsolete-item-face, newsticker-date-face)
1314 (newsticker-statistics-face, newsticker-default-face):
1315 * net/newst-reader.el (newsticker-feed-face)
1316 (newsticker-extra-face, newsticker-enclosure-face):
1317 * net/newst-treeview.el (newsticker-treeview-face)
1318 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1319 (newsticker-treeview-immortal-face)
1320 (newsticker-treeview-obsolete-face)
1321 (newsticker-treeview-selection-face):
1322 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1323 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1324 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1325 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1326 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1327 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1328 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1329 (mpuz-text):
1330 * progmodes/vera-mode.el (vera-font-lock-number)
1331 (vera-font-lock-function, vera-font-lock-interface):
1332 * textmodes/table.el (table-cell): Use new-style face specs, and
1333 don't use the old :bold and :italic attributes.
1334
1335 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1336 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1337 (ebrowse-member-class, ebrowse-progress): Likewise.
1338 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1339 (ebrowse-file-name-face, ebrowse-default-face)
1340 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1341 (ebrowse-progress-face): Remove obsolete faces.
1342
1343 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1344 Inherit from error and warning faces respectively.
1345
1346 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1347 Likewise.
f80efb86
SM
1348 (flyspell-incorrect-face, flyspell-duplicate-face):
1349 Remove obsolete aliases.
4b56d0fe 1350
03310646
MA
13512012-06-08 Michael Albinus <michael.albinus@gmx.de>
1352
1353 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1354 Avoid infloop.
1355
513749ee
SM
13562012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * startup.el (argv, argi): Make lexically scoped.
1359 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1360 * emacs-lisp/cl-macs.el: Use lexical-binding.
1361 Rename cl-bind-* to cl--bind-*.
1362 * files.el: Don't require `cl' since it doesn't use it.
1363 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1364
595ef4ad
JB
13652012-06-08 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1368 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1369 instead of calling external sort utility.
1370 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1371
e9f66fcb
EZ
13722012-06-08 Eli Zaretskii <eliz@gnu.org>
1373
1374 * descr-text.el (describe-char): Mention how to insert the
1375 character, if the current input method doesn't support it.
1376 See the discussion in this thread for the details:
1377 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1378
3d10db47
SS
13792012-06-08 Sam Steingold <sds@gnu.org>
1380
1381 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1382 XF86Back to previous-buffer.
1383 (minibuffer-local-map): Bind them to next-history-element and
1384 previous-history-element respectively.
1385 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1386 help-go-back respectively.
1387 * info.el (Info-mode-map): Bind them to Info-history-forward and
1388 Info-history-back respectively.
1389 These are the keys next to Up on the ThinkPad keyboard.
1390
de7e2b36
SM
13912012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1394 * emacs-lisp/cl-macs.el: Provide itself.
1395 (cl--labels-convert-cache): New var.
1396 (cl--labels-convert): New function.
1397 (cl-flet, cl-labels): New implementation with new semantics, relying on
1398 lexical-binding.
1399 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1400 (cl-closure-vars, cl--function-convert-cache)
1401 (cl--function-convert): Move from cl-macs.el.
1402 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1403 rename by removing the "cl-" prefix.
1404 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1405
6fa6c4ae
SM
14062012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1409 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1410 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1411 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1412 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1413 (cl-hash-table-count): Add old compatibility aliases.
1414
1415 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1416 Use macroexpand-all-environment instead.
1417 (cl--old-macroexpand): New var.
1418 (cl--sm-macroexpand): New function.
1419 (cl-symbol-macrolet): Use it during macro expansion.
1420 (cl--function-convert-cache): New var.
1421 (cl--function-convert): New function, extracted from
1422 cl-macroexpand-all.
1423 (cl-lexical-let): Use it.
1424
1425 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1426 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1427 (cl-member): Remove old alias.
1428
1429 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1430 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1431 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1432 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1433 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1434 (cl-macroexpand-cmacs): Remove var.
1435 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1436 Use macroexpand-all instead.
1437
4dd1c416
SM
14382012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1441 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1442 (macroexp-copyable-p): New functions and macros.
1443 * emacs-lisp/edebug.el (edebug-unwrap):
1444 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1445 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1446 (pcase--let*): Remove.
1447 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1448 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1449 macroexp-const-p instead.
1450 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1451
1452 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1453 instead of "cl-" for internal definitions. Use macroexp-const-p.
1454 (cl-old-bc-file-form): Remove var.
1455 (cl-const-exprs-p): Remove fun.
1456 (cl-labels, cl-macrolet): Use backquote.
1457 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1458 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1459 (cl-define-setf-expander): Rename from cl-define-setf-method.
1460 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1461
1462 * international/mule-cmds.el: Don't require CL.
1463 (view-hello-file): Don't use `letf'.
1464
ed8bd4d7
SM
14652012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1466
7287f2f3
SM
1467 * tmm.el (tmm-prompt): Use string-prefix-p.
1468 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1469 (tmm-add-prompt): Use minibuffer-completion-help.
1470 (tmm-delete-map): Remove.
1471
ed8bd4d7
SM
1472 * subr.el (kbd): Make it its own function.
1473
7b4cdbf4
SM
14742012-06-07 Stefan Merten <smerten@oekonux.de>
1475
1476 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1477 Silence compiler warnings. Fix versions.
ed8bd4d7 1478 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1479 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1480 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1481 (rst-package-emacs-version-alist): Correct Emacs version to
1482 represent major merge with upstream.
ed8bd4d7 1483 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1484
2b48d721
GM
14852012-06-06 Glenn Morris <rgm@gnu.org>
1486
1487 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1488 Only print environment variables if set.
1489
fa779ab0
SM
14902012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1493 (macroexp--cons): Rename from maybe-cons.
1494 (macroexp--accumulate): Rename from macroexp-accumulate.
1495 (macroexp--all-forms): Rename from macroexpand-all-forms.
1496 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1497 (macroexp--expand-all): Rename from macroexpand-all-1.
1498
628299e0
SS
14992012-06-06 Sam Steingold <sds@gnu.org>
1500
1501 * calendar/calendar.el (calendar-in-read-only-buffer):
1502 Call `special-mode' to enable the standard read-only keybindings.
1503
b7bb5838
SM
15042012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1507 with "loading" messages (bug#11635).
1508
dfb308ba
MA
15092012-06-06 Michael Albinus <michael.albinus@gmx.de>
1510
1511 * files.el (enable-remote-dir-locals): New option.
1512 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1513
0372ee92
MA
1514 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1515 Ensure, that the temp directory is local.
1516
1517 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1518 `temporary-file-directory'.
1519
eed0bb91
MA
1520 * progmodes/python.el (python-send-region): Ensure, that the
1521 temporary file is created also in the remote case.
1522
7a58f64d
GM
15232012-06-06 Glenn Morris <rgm@gnu.org>
1524
f7dd4e98
GM
1525 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1526 (vc-rcs-update-changelog): Use it.
1527
276d5f5d
GM
1528 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1529
7a58f64d
GM
1530 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1531 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1532 (vc-sccs-diff): Replace use of the external vcdiff script.
1533
daed4003
GM
15342012-06-05 Glenn Morris <rgm@gnu.org>
1535
1536 * ledit.el: Move to obsolete/.
1537
48c455c7
SS
15382012-06-05 Sam Steingold <sds@gnu.org>
1539
1540 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1541 patch (Bug#11140).
1542
57a7d507
SM
15432012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1544
d32926ff
SM
1545 * emacs-list/cust-print.el: Move to obsolete.
1546
53aacf21
SM
1547 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1548 compiler-macro expansion.
1549
57a7d507
SM
1550 Add native compiler-macro support.
1551 * emacs-lisp/macroexp.el (macroexpand-all-1):
1552 Support compiler-macros directly. Properly follow aliases and apply
1553 the compiler macros more thoroughly.
1554 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1555 macroexpand now properly follows aliases.
1556 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1557 (cl-compiler-macroexpand): Use new prop.
1558 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1559
1560 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1561
51a5f9d8
MR
15622012-06-05 Martin Rudalics <rudalics@gmx.at>
1563
1564 * window.el (get-lru-window, get-mru-window, get-largest-window):
1565 New argument NOT-SELECTED to avoid picking the selected window.
1566 (window--display-buffer-1, window--display-buffer-2): Replace by
1567 new function window--display-buffer
1568 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1569 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1570 Use window--display-buffer.
51a5f9d8
MR
1571 (display-buffer-use-some-window): Remove temporary dedication
1572 hack by calling get-lru-window and get-largest-window with
1573 NOT-SELECTED argument non-nil. Call window--display-buffer.
1574
08f9f738
GM
15752012-06-05 Glenn Morris <rgm@gnu.org>
1576
1577 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1578 Replace external vcdiff script.
1579
e364a2b7
SM
15802012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1583
041df390
CY
15842012-06-04 Chong Yidong <cyd@gnu.org>
1585
e364a2b7
SM
1586 * image.el (imagemagick-types-inhibit): Revert last change.
1587 Add INFO and M.
47b36b94 1588 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1589
7c1898a7
SM
15902012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * emacs-lisp/cl-lib.el: Rename from cl.el.
1593 * emacs-lisp/cl.el: New compatibility file.
1594 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1595 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1596 to obey the "cl-" prefix.
1597 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1598
0c3461de
GM
15992012-06-03 Glenn Morris <rgm@gnu.org>
1600
1e266c88
GM
1601 * emacs-lisp/authors.el (authors-aliases): Addition.
1602
0c3461de
GM
1603 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1604 Fix :version.
1605
d8a52e15
SM
16062012-06-03 Stefan Merten <smerten@oekonux.de>
1607
1608 * textmodes/rst.el: Add comments.
1609 (rst-transition, rst-adornment): New faces.
1610 (rst-adornment-faces-alist): Make default safe to reevaluate.
1611 Fixes
1612 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1613 Improve customization tags.
1614 (rst-define-level-faces): Clarify meaning.
1615
5205d6f6
CY
16162012-06-03 Chong Yidong <cyd@gnu.org>
1617
1618 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1619 (compilation-mode-line-run, compilation-mode-line-exit):
1620 New faces.
5205d6f6
CY
1621 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1622
757ee657
JD
16232012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1624
7c1898a7
SM
1625 * progmodes/which-func.el (which-func-update-ediff-windows):
1626 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1627
5f2c76c6
CY
16282012-06-03 Chong Yidong <cyd@gnu.org>
1629
1630 * bindings.el: Remove explicit help text from format-mode-line.
1631 It is now supplied by mode-line-default-help-echo.
1632 (mode-line-front-space, mode-line-end-spaces)
1633 (mode-line-misc-info): New variables.
1634 (mode-line-modes, mode-line-position): Move the default value to
1635 the variable definition.
1636 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1637 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1638 (mode-line-modified-help-echo): New functions.
1639 (mode-line-mule-info, mode-line-modified): Use them.
1640 (mode-line-eol-desc, propertized-buffer-identification):
1641 Consistency fixes for help text.
cbe46e5f
CY
1642 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1643 set-buffer-file-coding-system (Bug#289).
1644 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1645
f2d6a3df
SM
16462012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * simple.el (execute-extended-command): Set real-this-command
1649 (bug#11506).
1650
37269466
CY
16512012-06-02 Chong Yidong <cyd@gnu.org>
1652
1653 Remove incorrect uses of "modeline" in comments, docstrings, and
1654 function/variable names (Bug#10329).
1655
1656 * cus-edit.el (mode-line):
1657 * dframe.el (dframe-mouse-hscroll):
1658 * emacs-lisp/re-builder.el:
1659 * emacs-lisp/easy-mmode.el (define-minor-mode):
1660 * frame.el (set-frame-name):
1661 * help.el (lookup-minor-mode-from-indicator):
1662 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1663 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1664 (c-toggle-hungry-state):
1665 * progmodes/antlr-mode.el (antlr-language-alist):
1666 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1667 * progmodes/vhdl-mode.el (vhdl-mode):
1668 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1669 * term/ns-win.el (ns-face-at-pos):
1670 * term/sup-mouse.el (sup-mouse-report):
1671 * textmodes/flyspell.el (flyspell-mode-line-string):
1672 * textmodes/ispell.el (ispell-highlight-face):
1673 * textmodes/reftex-global.el:
1674 * vc/vc-arch.el (vc-arch-mode-line-string):
1675 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1676 * vc/vc-git.el (vc-git-mode-line-string):
1677 * vc/vc-hooks.el (vc-display-status)
1678 (vc-default-mode-line-string):
1679 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1680
1681 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1682
1683 * dired.el (dired-sort-set-mode-line): Rename from
1684 dired-sort-set-modeline. All callers changed.
1685
1686 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1687 eshell-status-in-modeline.
1688
1689 * foldout.el (foldout-mode-line-string): Rename from
1690 foldout-modeline-string. All callers changed.
1691 (foldout-update-mode-line): Rename from foldout-update-modeline.
1692
1693 * subr.el (redraw-modeline): Make into obsolete alias.
1694
1695 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1696 timeclock-modeline-display. Make old name an alias.
1697 (timeclock-update-mode-line): Likewise. All callers changed.
1698 (timeclock-mode-line-display): No need to check before using
1699 add-hook.
1700 (timeclock-relative, timeclock-day-over-hook)
1701 (timeclock-use-elapsed, timeclock-mode-string)
1702 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1703
1704 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1705 crisp-mode-modeline-string.
1706
1707 * play/solitaire.el (solitaire-build-mode-line): Rename from
1708 solitaire-build-modeline. All callers changed.
1709
1710 * play/zone.el (zone-hiding-mode-line): Rename from
1711 zone-hiding-modeline. All callers changed.
1712 (zone): Remove unusued `modeline-hidden-level' property.
1713
1714 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1715 xscheme-modeline-initialize. All callers changed.
1716
1717 * strokes.el (strokes-lighter): Rename from
1718 strokes-modeline-string.
1719
1720 * textmodes/sgml-mode.el (html-face-tag-alist)
1721 (html-tag-face-alist): Use mode-line face instead of obsolete
1722 alias modeline.
1723
42152ee4
SM
17242012-06-02 Stefan Merten <smerten@oekonux.de>
1725
1726 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1727 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1728
95f520b5
CY
17292012-06-02 Chong Yidong <cyd@gnu.org>
1730
1731 * image.el (imagemagick-enabled-types): Rename from
1732 imagemagick-types-enable. Add many more types.
1733 (imagemagick-types-inhibit): Change default to nil.
1734 (imagemagick-filter-types): Caller changed.
1735
4a5f187a
SM
17362012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1737
03fef3e6
SM
1738 * emacs-lisp/cl-macs.el: Use backquotes.
1739 (cl-transform-function-property): Use eval-and-compile rather than
1740 abusing `require'.
1741 (defstruct): Use declare-function instead of with-no-warnings.
1742
4a5f187a
SM
1743 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1744 (byte-compile-output-docform): Re-add the print-circle bindings.
1745 (byte-compile-fix-header): Use #$ just because it's shorter.
1746 (byte-compile-output-file-form): Remove defun/defmacro.
1747
bd56924f
MR
17482012-06-01 Martin Rudalics <rudalics@gmx.at>
1749
1750 * simple.el (choose-completion): Remove now obsolete binding for
1751 owindow.
1752
046e38ce
MA
17532012-06-01 Michael Albinus <michael.albinus@gmx.de>
1754
1755 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1756 in order to avoid "Stack overflow in regexp matcher".
1757
32d72c2f
GM
17582012-05-31 Glenn Morris <rgm@gnu.org>
1759
1760 * image.el: For clarity, call imagemagick-register-types at
1761 top-level, rather than relying on a custom :initialize.
1762 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1763 (imagemagick-filter-types): New function. (Bug#7406)
1764 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1765 If disabling support, remove elements altogether rather
1766 than using an impossible regexp.
1767 (imagemagick-types-inhibit): Give it the default init function.
1768
dd41169b
SM
17692012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1770
4a5f187a
SM
1771 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1772 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1773
efc00ab1 17742012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1775
1776 * desktop.el (desktop-read): Clear previous and next buffers for
1777 all windows and bury *Messages* buffer (bug#11556).
1778
500fcedc
SM
17792012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 Add `declare' for `defun'. Align `defmacro's with it.
1782 * emacs-lisp/easy-mmode.el (define-minor-mode)
1783 (define-globalized-minor-mode): Don't autoload the var definitions.
1784 * emacs-lisp/byte-run.el: Use lexical-binding.
1785 (defun-declarations-alist, macro-declarations-alist): New vars.
1786 (defmacro, defun): Use them.
1787 (make-obsolete, define-obsolete-function-alias)
1788 (make-obsolete-variable, define-obsolete-variable-alias):
1789 Use `declare'.
1790 (macro-declaration-function): Mark obsolete.
1791 * emacs-lisp/autoload.el: Use lexical-binding.
1792 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1793
6e8a1786
AM
17942012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1795
1796 * textmodes/ispell.el (ispell-with-no-warnings):
1797 Define as a macro.
500fcedc
SM
1798 (ispell-kill-ispell, ispell-change-dictionary):
1799 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1800 `interactive-p'.
1801
61b108cc
SM
18022012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1805 (macro-declaration-function): Move var from C code.
1806 (macro-declaration-function): Define function with defalias.
1807 * emacs-lisp/macroexp.el (macroexpand-all-1):
1808 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1809 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1810 defun/defmacro any more.
1811 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1812 Provide fallback for unknown arglist.
1813 (byte-compile-arglist-warn): Change calling convention.
1814 (byte-compile-output-file-form): Move print-vars binding.
1815 (byte-compile-output-docform): Simplify accordingly.
1816 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1817 (byte-compile-defmacro-declaration): Remove.
1818 (byte-compile-file-form-defmumble): Generalize to defalias.
1819 (byte-compile-output-as-comment): Return byte-positions.
1820 Simplify callers accordingly.
1821 (byte-compile-lambda): Use `assert'.
1822 (byte-compile-defun, byte-compile-defmacro): Remove.
1823 (byte-compile-file-form-defalias):
1824 Use byte-compile-file-form-defmumble.
1825 (byte-compile-defalias-warn): Remove.
1826
6d3f7c2f
SM
18272012-05-29 Stefan Merten <smerten@oekonux.de>
1828
1829 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1830 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1831
1832 (rst-mode-abbrev-table): Merge definition.
1833 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1834 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1835
6dbaa1c7
UJ
18362012-05-29 Ulf Jasper <ulf.jasper@web.de>
1837
1838 * calendar/icalendar.el
1839 (icalendar-export-region): Export UID properly.
1840
d209e2fb 18412012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
1842 * calendar/icalendar.el (icalendar-import-format):
1843 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1844 (icalendar-import-format-uid): New.
1845 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1846 Export UID.
1847
6876a58d
SM
18482012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1851 different alternative patterns.
1852 (pcase-codegen): Be more careful to preserve identity.
1853 (pcase--u1): Don't forget to mark vars as used.
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1856 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1857 (byte-compile-from-buffer): ...rather than here.
1858
1859 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1860 functions from byte-compile-function-environment.
1861
46b7967e
TN
18622012-05-29 Troels Nielsen <bn.troels@gmail.com>
1863
1864 * window.el (window-deletable-p): Avoid deleting the root window
1865 of a frame with an active minibuffer.
1866
69d565e2
MR
18672012-05-29 Martin Rudalics <rudalics@gmx.at>
1868
1869 * simple.el (choose-completion): Use quit-window (Bug#11567).
1870
a149fa51
CY
18712012-05-29 Chong Yidong <cyd@gnu.org>
1872
1873 * whitespace.el (whitespace-cleanup): Fix usage of
1874 whitespace-empty-at-bob-regexp (Bug#11492).
1875
2b311310
AH
18762012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1877
1878 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1879 revert (Bug#11488).
1880
b9cb2387
JL
18812012-05-29 Juri Linkov <juri@jurta.org>
1882
1883 * isearch.el (isearch-mode-map): Bind `M-s _' to
1884 `isearch-toggle-symbol'. Bind `M-s c' to
1885 `isearch-toggle-case-fold'.
1886 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1887 (isearch-forward): Add `M-s _' to the docstring.
1888 (isearch-forward-symbol, isearch-toggle-case-fold)
1889 (isearch-symbol-regexp): New functions. (Bug#11381)
1890
d5e61c1c
JL
18912012-05-29 Juri Linkov <juri@jurta.org>
1892
1893 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1894 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1895 a function, call it to get the regexp.
1896 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1897 property `isearch-message-prefix' instead of the string "word ".
1898 (isearch-search-fun-default): For the case of `isearch-word',
1899 return a lambda that calls re-search-forward/re-search-backward
1900 with a regexp returned by `word-search-regexp' or by the function
1901 in `isearch-word'.
1902
8cbd80f7
JL
19032012-05-29 Juri Linkov <juri@jurta.org>
1904
1905 * isearch.el (isearch-search-fun-default): New function.
1906 (isearch-search-fun): Move default part to the new function
1907 `isearch-search-fun-default'.
1908 (isearch-search-fun-function): Set the default value to
1909 `isearch-search-fun-default'. (Bug#11381)
1910
1911 * comint.el (comint-history-isearch-end):
1912 Use `isearch-search-fun-default'.
1913 (comint-history-isearch-search): Use `isearch-search-fun-default'
1914 and remove spacial case for `isearch-word'.
1915 (comint-history-isearch-wrap): Remove spacial case for
1916 `isearch-word'.
1917
1918 * hexl.el (hexl-isearch-search-function):
1919 Use `isearch-search-fun-default'.
1920
1921 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1922 Use `word-search-regexp' for `isearch-word'.
1923
1924 * misearch.el (multi-isearch-search-fun):
1925 Use `isearch-search-fun-default'.
1926
1927 * simple.el (minibuffer-history-isearch-search):
1928 Use `isearch-search-fun-default' and remove spacial case for
1929 `isearch-word'.
1930 (minibuffer-history-isearch-wrap): Remove spacial case for
1931 `isearch-word'.
1932
1933 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1934 Remove spacial case for `isearch-word'.
1935 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1936
85c8c5b6
AM
19372012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1938
1939 Decrease XEmacs incompatibilities.
1940 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1941 Use `string-match'.
1942 (flyspell-delete-region-overlays): Use alternative definition for
1943 XEmacs.
1944 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1945 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1946 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1947 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1948 `define-obsolete-face-alias' under XEmacs, but old method.
1949
1950 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1951 `with-no-warnings' definition or Emacs alias.
1952 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1953 (ispell-word): Do not use `region-p' if XEmacs.
1954
8cab9efc
AM
19552012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1956
1957 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1958 Check for `ispell-dictionary-base-alist' instead of full
1959 `ispell-dictionary-alist'.
1960 (ispell-init-process): Show spellchecker when starting new Ispell
1961 process.
1962
fda91268
RZ
19632012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1966 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1967
694ea8e3
JB
19682012-05-27 Juanma Barranquero <lekktu@gmail.com>
1969
1970 * version.el (motif-version-string, gtk-version-string)
1971 (ns-version-string): Declare.
1972
e4d4f539
JL
19732012-05-27 Juri Linkov <juri@jurta.org>
1974
1975 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1976 after the `eval-defun-1' specialcaseing
1977 like in `edebug-eval-defun' (bug#10181).
1978
1979 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1980 like in `eval-defun-1'.
1981
33017faf 19822012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1983
fda91268
RZ
1984 * mail/sendmail.el (mail-yank-region):
1985 Recognize rmail-yank-current-message in addition to insert-buffer.
1986 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1987 a *mail* buffer created through rmail-start-mail with sendmail as
1988 mail-user-agent.
1989
33017faf
GM
19902012-05-27 Chong Yidong <cyd@gnu.org>
1991
1992 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1993 Default to 256 (Bug#11267).
1994
1995 * help.el (describe-mode): Doc fix.
1996
04188bb9
GM
19972012-05-26 Glenn Morris <rgm@gnu.org>
1998
38264cc9
GM
1999 * w32-fns.el (w32-init-info): Remove.
2000 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2001
eb7afdad
GM
2002 * info.el (info-initialize): For self-contained NS builds, put the
2003 included info/ directory at the front. (Bug#2791)
2004
04188bb9
GM
2005 * paths.el (Info-default-directory-list): Make it a defcustom,
2006 mainly so that we can use custom-initialize-delay.
2007
a179e3f7
SM
20082012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2009
43416392
SM
2010 * subr.el (buffer-has-markers-at): Mark obsolete.
2011
a179e3f7 2012 * subr.el (lambda): Use declare.
43416392 2013
a179e3f7
SM
2014 * emacs-lisp/lisp-mode.el (lambda):
2015 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2016
34a008d9
AH
20172012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2018
2019 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2020
0a3b289f
GM
20212012-05-26 Glenn Morris <rgm@gnu.org>
2022
2023 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2024
758c81e8
GM
20252012-05-25 Glenn Morris <rgm@gnu.org>
2026
f9f334f0
GM
2027 * paths.el: Remove no-byte-compile.
2028 * loadup.el: No need to load paths.el uncompiled.
2029
87eb79c2
GM
2030 * image.el (imagemagick-types-inhibit): Doc fix.
2031
758c81e8
GM
2032 * version.el: Remove no-byte-compile and associated formatting.
2033 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2034 is ancient code from when there was an "inc-vers.el".
2035
e7e85dc0
SM
20362012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * progmodes/gdb-mi.el: Minor style changes.
2039 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2040 Turn into minor modes.
2041 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2042 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2043 (gdb-shell): Remove unneeded let-binding.
2044 (gdb-get-many-fields): Eliminate O(n²) behavior.
2045
f31237a4
EZ
20462012-05-25 Eli Zaretskii <eliz@gnu.org>
2047
2048 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2049 platforms that don't link in fontset.c.
2050
bc1b21bb
JL
20512012-05-25 Juri Linkov <juri@jurta.org>
2052
2053 Use the same diff color scheme as in modern VCSes (bug#10181).
2054
2055 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2056 to avoid confusion with `diff-added' that now uses green colors.
2057 (diff-removed): Use shades of red.
2058 (diff-added): Use shades of green.
2059 (diff-changed): Leave just the yellow color.
2060 (diff-use-changed-face): New variable.
2061 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2062 how to highlight context diff changes.
2063 (diff-refine-change): Use shades of yellow.
2064 (diff-refine-removed): New face that uses shades of red.
2065 (diff-refine-added): New face that uses shades of green.
2066 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2067 `diff-refine-removed' in the call to `smerge-refine-subst'
2068 depending on the value of `diff-use-changed-face'.
2069
2070 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2071 (smerge-other): Use shades of green.
2072 (smerge-base): Use shades of yellow.
2073 (smerge-refined-change): Empty face.
2074 (smerge-refined-removed): New face that uses shades of red.
2075 (smerge-refined-added): New face that uses shades of green.
2076 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2077 args `props-r' and `props-a', and use them. Doc fix.
2078 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2079 on its value use different faces `smerge-refined-change',
2080 `smerge-refined-removed', `smerge-refined-added' in the call to
2081 `smerge-refine-subst'.
2082
2083 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2084 Add face condition `min-colors 88' with shades of red.
2085 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2086 `min-colors 88' with shades of green.
2087 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2088 `min-colors 88' with shades of yellow.
2089
6df9112c
GM
20902012-05-24 Glenn Morris <rgm@gnu.org>
2091
ead5edc0
GM
2092 * paths.el (prune-directory-list, remote-shell-program): Move to...
2093 * files.el (prune-directory-list, remote-shell-program): ...here.
2094 For the latter, delay initialization, prefer ssh, just search PATH.
2095
f18b81e6
GM
2096 * paths.el (term-file-prefix): Move to faces.el (the only user).
2097 * faces.el (term-file-prefix): Move here, make it a defcustom.
2098
ee2f89a6
GM
2099 * paths.el (news-directory, news-path, news-inews-program):
2100 Move to gnus/nnspool.el.
61a583ca 2101
f8815e4c
GM
2102 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2103
c8f3b42c
GM
2104 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2105 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2106 Make the latter a defcustom, with a delayed initialization.
2107
6df9112c
GM
2108 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2109 These were deleted from Gnus itself late 2010.
2110
5dadff36
JB
21112012-05-22 Juanma Barranquero <lekktu@gmail.com>
2112
9e1701c6
JB
2113 * progmodes/which-func.el (which-func-ff-hook):
2114 Check against user-error, not error.
2115
bd7239f5 2116 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2117 cl-specs.el, which no longer exists.
2118
3290526d
GM
21192012-05-22 Glenn Morris <rgm@gnu.org>
2120
2121 * info.el (info-emacs-bug): New command.
2122 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2123 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2124
ff0c3cfb
GM
21252012-05-21 Glenn Morris <rgm@gnu.org>
2126
2127 * makefile.w32-in (update-subdirs-SH):
2128 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2129
5814f126
SM
21302012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2131
a52c0aa0
SM
2132 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2133
5814f126
SM
2134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2135 Simplify Maven regexp, and make sure the file can't start with a space
2136 (bug#11517).
2137
b847032c
GM
21382012-05-21 Glenn Morris <rgm@gnu.org>
2139
2140 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2141 Scrap superfluous subshells.
2142
3858bfe7
SM
21432012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2146 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2147
d14b0029
JB
21482012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2149
2150 * calc/calc.el (calc-ensure-consistent-units): New variable.
2151
a52c0aa0
SM
2152 * calc/calc-units.el (math-consistent-units-p)
2153 (math-check-unit-consistency): New functions.
2154 (calc-quick-units, calc-convert-units):
2155 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2156 is non-nil.
d14b0029
JB
2157 (calc-extract-units): Fix typo.
2158
60c4db3a
SM
21592012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2160
77f3b62e
SM
2161 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2162
60c4db3a
SM
2163 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2164 (flyspell-default-deplacement-commands): Don't spell check after
2165 repeated window/frame switches (e.g. triggered by mouse-movement).
2166 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2167 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2168 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2169 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2170 Remove unused vars.
2171 (flyspell-get-casechars, flyspell-get-not-casechars):
2172 Simplify; Don't bother removing a ] just to add it back.
2173 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2174
d209e2fb 21752012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2176
2177 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2178 New functions.
bd7239f5 2179 (math-function-table): Add support for more C functions.
b1a10716 2180
3f1b25b5
AM
21812012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2182
2183 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2184 (flyspell-debug-signal-word-checked): Protect delay handling for
2185 otherchars against empty otherchars.
2186
b581bb5c
SM
21872012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2190 their respective macro declarations.
2191 * skeleton.el (define-skeleton):
2192 * progmodes/compile.el (define-compilation-mode):
2193 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2194 (define-ibuffer-filter):
2195 * emacs-lisp/generic.el (define-generic-mode):
2196 * emacs-lisp/easy-mmode.el (define-minor-mode)
2197 (define-globalized-minor-mode):
2198 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2199 * emacs-lisp/byte-run.el (defsubst):
2200 * custom.el (deftheme): Add doc-string metadata.
2201
70b8ef8f
SM
22022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2205
b1198e17
SM
22062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2207
9abdc45d
SM
2208 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2209
b1198e17
SM
2210 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2211 * emacs-lisp/cl-macs.el: Idem.
2212 * emacs-lisp/cl-specs.el: Remove.
2213
4735906a
SM
22142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 Minor renaming of internal CL functions and variables.
2217 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2218 (cl--position): Rename from cl-position.
2219 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2220 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2221 (cl--random-state): Rename from *random-state*.
2222
ac348012
SM
22232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2226 parens around the arg list (bug#11499).
2227
a0a79cde
JL
22282012-05-17 Juri Linkov <juri@jurta.org>
2229
2230 * isearch.el (word-search-regexp, word-search-backward)
2231 (word-search-forward, word-search-backward-lax)
2232 (word-search-forward-lax): Move functions from search.c
2233 (bug#10145, bug#11381).
2234
65034a51
AM
22352012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2236
2237 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2238 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2239 normal word components.
2240
1a72a195
SM
22412012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * minibuffer.el (completion--sifn-requote): Fix last change.
2244 (minibuffer-local-must-match-filename-map):
2245 Move define-obsolete-variable-alias before its var.
2246
fdb058c2
SM
22472012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2248
c41045e6
SM
2249 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2250
036dfb8b
SM
2251 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2252 behavior.
2253 (completion--string-equal-p): New function.
2254 (completion--twq-all): Use it to get better assertion failure data.
2255
2473256d
SM
2256 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2257 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2258 (shell--requote-argument): New functions.
2259 (shell-completion-vars): Use them.
2260 (shell--parse-pcomplete-arguments): Rename from
2261 shell-parse-pcomplete-arguments.
2262 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2263 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2264 Obey comint-file-name-quote-list.
2265
fdb058c2
SM
2266 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2267 (smie-indent-keyword): Use it.
2268
51fa99f1
SM
22692012-05-14 Stefan Merten <smerten@oekonux.de>
2270
2271 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2272
e18afed7 22732012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2274
2275 * net/rlogin.el (rlogin-mode-map): Fix last change.
2276
e18afed7 22772012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2278
2279 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2280 the following \r\n using a single `process-send-string', since the
2281 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2282 with two `process-send-string's (Bug#11444).
8633b1f4 2283
e18afed7 22842012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2285
fdb058c2
SM
2286 * shell.el (shell-parse-pcomplete-arguments):
2287 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2288
2d21d7f6
WJ
22892012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2290
e18afed7 2291 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2292 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2293 (image-transform-width, image-transform-fit-width): New functions.
2294 (image-transform-properties): Use them.
2295 (image-transform-check-size): New function.
2296 (image-toggle-display-image): Use it (for testing).
2297 (image-transform-set-rotation): Reduce angle mod 360.
2298 Delete obsolete comment.
2299
7102e6d0
WJ
23002012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2301
2302 * image-mode.el: Fix scaling (bug#11399).
2303 (image-transform-resize): Doc fix.
2304 (image-transform-properties): Default scale is 1 and height should
2305 be an integer.
2306
06bc5e6e
SM
23072012-05-13 Johan Bockgård <bojohan@gnu.org>
2308
2309 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2310 than hard-coding `car', to fix misbehavior when moving forward.
2311
0ae03b6a
CY
23122012-05-13 Chong Yidong <cyd@gnu.org>
2313
2314 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2315 (tabulated-list-entries, tabulated-list-padding)
2316 (tabulated-list-sort-key): Make permanent-local.
2317
2318 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2319 (electric-buffer-list): Put electric buffer menu
2320 command descriptions in this docstring, instead of the docstring
2321 of electric-buffer-menu-mode. Code cleanups.
2322 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2323 Electric-buffer-menu-mode.
2324 (electric-buffer-update-highlight): Minor code cleanup.
2325
205a7391
MA
23262012-05-13 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2329 (Bug#11447)
2330
e5bd0a28
SM
23312012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 Move define-obsolete-variable-alias before the var's definition.
2334 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2335 * tooltip.el (tooltip-hook):
2336 * textmodes/reftex-toc.el (reftex-toc-map):
2337 * textmodes/reftex-sel.el (reftex-select-label-map)
2338 (reftex-select-bib-map):
2339 * textmodes/reftex-index.el (reftex-index-map)
2340 (reftex-index-phrases-map):
2341 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2342 * progmodes/meta-mode.el (meta-mode-map):
2343 * novice.el (disabled-command-hook):
2344 * loadhist.el (unload-hook-features-list):
2345 * frame.el (blink-cursor):
2346 * files.el (find-file-not-found-hooks, write-file-hooks)
2347 (write-contents-hooks):
2348 * emulation/tpu-edt.el (GOLD-map):
2349 * emacs-lock.el (emacs-lock-from-exiting):
2350 * emacs-lisp/generic.el (generic-font-lock-defaults):
2351 * emacs-lisp/chart.el (chart-map):
2352 * dos-fns.el (register-name-alist):
2353 * dired-x.el (dired-omit-files-p):
2354 * desktop.el (desktop-enable):
2355 * cus-edit.el (custom-mode-hook):
2356 * buff-menu.el (buffer-menu-mode-hook):
2357 * bookmark.el (bookmark-read-annotation-text-func)
2358 (bookmark-exit-hooks):
2359 * allout.el (allout-mode-deactivate-hook)
2360 (allout-exposure-change-hook, allout-structure-added-hook)
2361 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2362 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2363 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2364 comes before the corresponding variable's definition.
2365
ac59c2f6
CY
23662012-05-12 Chong Yidong <cyd@gnu.org>
2367
2368 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2369 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2370 (Buffer-menu-mode-map): Bind it.
2371 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2372
dee6c9a3
SM
23732012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2171cea5
SM
2375 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2376 (prolog-upper-case-string, prolog-lower-case-string)
2377 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2378 (prolog-use-smie, prolog-smie-grammar): New vars.
2379 (prolog-smie-forward-token, prolog-smie-backward-token)
2380 (prolog-smie-rules): New funs.
2381 (prolog-comment-indent): Remove.
2382 (prolog-mode-variables): Use default comment indentation instead.
2383 Setup SMIE.
2384 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2385 (prolog-mode): Don't call them any more.
2386 (prolog-electric-colon, prolog-electric-dash)
2387 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2388
aa0382bd
SM
2389 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2390
dbacb4bd
SM
2391 * minibuffer.el (completion--twq-all): Again, allow case differences.
2392
13bdd94c
SM
2393 * term.el: Move keymap initialization code to be more idiomatic.
2394 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2395 (term-terminal-menu): Move initialization into declaration.
2396 (term-escape-char): Let the user set it in her .emacs.
2397
ff46c759
SM
2398 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2399 Provide SMIE-based indentation (not enabled by default yet).
2400 (sh-mode-map): Don't bind electric keys.
2401 Use electric-pair-mode instead of skeleton-pair.
2402 (sh-assignment-regexp): Fit within 80 columns.
2403 (sh-indent-supported): Specify actual shell name instead of boolean.
2404 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2405 (sh-maybe-here-document): Use it. Make obsolete.
2406 (sh-electric-here-document-mode) New minor mode.
2407 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2408 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2409 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2410 (sh-smie-rc-grammar, sh-use-smie): New vars.
2411 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2412 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2413 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2414 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2415 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2416 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2417 (sh-set-shell): Use smie-setup if requested.
2418
dee6c9a3
SM
2419 * term.el (term-set-escape-char): Properly set term-escape-char.
2420 See http://stackoverflow.com/questions/10524656.
2421
9f9aa044
CY
24222012-05-10 Chong Yidong <cyd@gnu.org>
2423
2424 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2425 Use url-generic-parse-url, and handle host names and Windows
2426 filenames properly.
2427 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2428 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2429 URL schemes to work on.
2430 (ffap--toggle-read-only): New function.
2431 (ffap-read-only, ffap-read-only-other-window)
2432 (ffap-read-only-other-frame): Use it.
2433 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2434 necessary for ffap-url-unwrap-remote.
2435
836d29b3
DA
24362012-05-10 Dave Abrahams <dave@boostpro.com>
2437
2438 * cus-start.el (create-lockfiles): Add it.
2439
00fd78ed
CY
24402012-05-09 Chong Yidong <cyd@gnu.org>
2441
2442 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2443 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2444
666b903b 24452012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2446
2447 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2448
666b903b 24492012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2450
2451 * ansi-color.el (ansi-color-process-output): Check for validity of
2452 comint-last-output-start before using it. This avoids a bad
2453 interaction with gdb-mi's input/output buffer.
2454
666b903b 24552012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2456
2457 * files.el (dir-locals-read-from-file):
2458 Mention dir-locals in any error message.
2459
666b903b 24602012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2461
2462 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2463 package (Bug#11410).
2464
f677562b
CY
2465 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2466 variables into description.
2467
666b903b 24682012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2469
2470 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2471 shell-delimiter-argument-list (bug#11348).
2472 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2473
b499d8d0
JB
24742012-05-09 Juanma Barranquero <lekktu@gmail.com>
2475
8f6b6da8
JB
2476 * textmodes/rst.el: Silence byte-compiler warnings.
2477 (rst-re-alist, rst-reset-section-caches): Move around.
2478 (rst-re): Use `characterp', not `char-valid-p'.
2479 (font-lock-beg, font-lock-end): Declare.
2480
4824146a
JB
2481 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2482 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2483
b499d8d0
JB
2484 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2485
ad89bb83
GM
24862012-05-08 Glenn Morris <rgm@gnu.org>
2487
2488 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2489
8bba5a75
SM
24902012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2491
49ed9c8e
SM
2492 * vc/log-edit.el: Add GNU coding standards highlighting.
2493 (log-edit-font-lock-gnu-style)
2494 (log-edit-font-lock-gnu-keywords): New vars.
2495 (log-edit-font-lock-keywords): New fun.
2496 (log-edit-mode): Don't fold case in font-lock.
2497 (log-edit-font-lock-keywords): Do not assume case-folding.
2498
07d00b56
SM
2499 * imenu.el: Misc cleanup. Make docstrings out of comments.
2500 Use lexical-binding.
2501 (imenu--index-alist, imenu--last-menubar-index-alist)
2502 (imenu-menubar-modified-tick): Use defvar-local.
2503 (imenu--split-menu): Remove unused var.
2504 (imenu--cleanup-seen): Declare as global.
2505 (imenu--cleanup): Use dolist.
2506
8bba5a75
SM
2507 * subr.el (defvar-local): Add debug spec and doc-string position.
2508
5075bdb5
GM
25092012-05-08 Glenn Morris <rgm@gnu.org>
2510
c052c904
GM
2511 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2512 * language/english.el, language/georgian.el, language/greek.el:
2513 * language/japanese.el, language/khmer.el, language/korean.el:
2514 * language/lao.el, language/misc-lang.el, language/romanian.el:
2515 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2516 * language/thai.el, language/utf-8-lang.el:
2517 Remove no-byte-compile setting.
2518
5075bdb5
GM
2519 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2520
06f679a7
AH
25212012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2522
2523 * progmodes/make-mode.el (makefile-browse):
2524 Remove unnecessary interactive. (Bug#11324)
2525
03794570
GM
25262012-05-07 Glenn Morris <rgm@gnu.org>
2527
af8630f4
GM
2528 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2529
03794570
GM
2530 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2531
f0809a9d
SM
25322012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2533
28be5ce7
SM
2534 * loadup.el: Preload newcomment.el.
2535 * newcomment.el: Move autoload-only code to toplevel.
2536
f0809a9d
SM
2537 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2538 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2539 Handle new :right-align column property.
2540 (tabulated-list-print-col): Idem, plus use `display' text-property to
2541 try and preserve alignment for variable pitch fonts.
2542
1241b724
CY
25432012-05-07 Chong Yidong <cyd@gnu.org>
2544
2545 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2546 (tabulated-list-use-header-line): New var.
2547 (tabulated-list-init-header): Use it.
2548 (tabulated-list-print-fake-header): New function.
2549 (tabulated-list-print): Use it.
2550 (tabulated-list-sort-button-map): Add non-header-line commands.
2551 (tabulated-list-init-header): Add column name property to basic
2552 labels as well.
2553 (tabulated-list-col-sort): Handle non-header-line button case.
2554 (tabulated-list--sort-by-column-name): Fix a corner case.
2555
f0809a9d
SM
2556 * buff-menu.el (list-buffers--refresh):
2557 Handle Buffer-menu-use-header-line.
1241b724 2558
e5f9458f
CY
25592012-05-06 Chong Yidong <cyd@gnu.org>
2560
2561 * buff-menu.el: Convert to Tabulated List mode.
2562 (Buffer-menu-buffer+size-width): Make obsolete.
2563 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2564 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2565 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2566 documentation into docstring of buffer-menu.
2567 (Buffer-menu-toggle-files-only): Add an informative message.
2568 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2569 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2570 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2571 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2572 (Buffer-menu-execute, Buffer-menu-select)
2573 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2574 (Buffer-menu-bury): Use Tabulated List machinery.
2575 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2576 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2577 Delete.
e5f9458f
CY
2578 (list-buffers--refresh): New function.
2579 (list-buffers-noselect): Use it.
2580 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2581 (Buffer-menu--pretty-file-name): New helper functions.
2582
2583 * loadup.el: Preload tabulated-list.
2584
2585 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2586 tabulated-list-sort-column.
2587 (tabulated-list-init-header): Add the initial aligning space even
2588 if tabulated-list-padding is zero.
2589
e129292c
CS
25902012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2591
2592 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2593 whose cdr is not a cons cell correctly (bug#11038).
2594
6632d361
CY
25952012-05-06 Chong Yidong <cyd@gnu.org>
2596
e129292c
CS
2597 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2598 Accept additional plist in column descriptors.
6632d361
CY
2599 (tabulated-list-init-header): Obey it.
2600 (tabulated-list-get-entry): New function.
2601 (tabulated-list-put-tag): Use it. Use string-width instead of
2602 length.
2603 (tabulated-list--column-number): New function.
2604 (tabulated-list-print): Use it.
e129292c
CS
2605 (tabulated-list-print-col): New function.
2606 Set `tabulated-list-column-name' property on each column's text.
6632d361 2607 (tabulated-list-print-entry): Use it.
e129292c
CS
2608 (tabulated-list-delete-entry, tabulated-list-set-col):
2609 New functions.
6632d361
CY
2610 (tabulated-list-sort-column): New command (Bug#11337).
2611
3cc99f68
CY
2612 * buff-menu.el (list-buffers): Move C-x C-b binding from
2613 buff-menu.el to bindings.el.
2614
2615 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2616 :advertised-binding feature.
2617
52b61776
TN
26182012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2619
2620 * progmodes/compile.el (compilation-internal-error-properties):
2621 Calculate start position correctly when end-col is set but
2622 end-line is not (Bug#11382).
2623
ebfe2597
WJ
26242012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2625
2626 * man.el (Man-unindent): Use text-property-default-nonsticky to
2627 prevent untabify from inheriting face properties (Bug#11408).
2628
6d3f7c2f
SM
26292012-05-05 Stefan Merten <smerten@oekonux.de>
2630
2631 * textmodes/rst.el: Major merge with upstream development up to
2632 Docutils SVN r7399 / rst.el V1.2.1.
2633
2634 Clarify maintainership and authors.
2635
2636 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2637 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2638 (rst-official-version, rst-official-cvs-rev, rst-version)
2639 (rst-package-emacs-version-alist): New functions and variables
2640 for version information.
2641
2642 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2643 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2644 (rst-mode-syntax-table, rst-mode): New and corrected functions
2645 and variables representing reStructuredText features.
2646
2647 (rst-re): New function for reStructuredText regexes. Use in
2648 many places.
2649
2650 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2651 (rst-mode-map): Rebind keys.
2652
2653 (rst-mode-lazy, rst-font-lock-keywords)
2654 (rst-font-lock-extend-region)
2655 (rst-font-lock-extend-region-internal)
2656 (rst-font-lock-extend-region-extend)
2657 (rst-font-lock-find-unindented-line-limit)
2658 (rst-font-lock-find-unindented-line-match)
2659 (rst-adornment-level, rst-font-lock-adornment-level)
2660 (rst-font-lock-adornment-match)
2661 (rst-font-lock-handle-adornment-pre-match-form)
2662 (rst-font-lock-handle-adornment-matcher): Major revision of
2663 font-locking. Integrate with other code. Use `jit-lock-mode'.
2664
2665 (rst-preferred-adornments, rst-adjust-hook)
2666 (rst-new-adornment-down, rst-preferred-bullets)
2667 (rst-preferred-bullets, rst-indent, rst-indent-width)
2668 (rst-indent-field, rst-indent-literal-normal)
2669 (rst-indent-literal-minimized, rst-indent-comment): Change,
2670 extend and improve customization.
2671
2672 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2673 (rst-normalize-cursor-position, rst-get-decoration)
2674 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2675 (rst-rstrip, rst-toc-insert-find-delete-contents)
2676 (rst-shift-fill-region, rst-compute-bullet-tabs)
2677 (rst-debug-print-tabs, rst-debug-mark-found)
2678 (rst-shift-region-guts, rst-shift-region-right)
2679 (rst-shift-region-left, rst-use-char-classes)
2680 (rst-font-lock-keywords-function)
2681 (rst-font-lock-indentation-point)
2682 (rst-font-lock-find-unindented-line-begin)
2683 (rst-font-lock-find-unindented-line-end)
2684 (rst-font-lock-find-unindented-line)
2685 (rst-font-lock-adornment-point, rst-font-lock-level)
2686 (rst-adornment-level-alist): Remove functions and variables.
2687
2688 (rst-compare-adornments, rst-get-adornment-match)
2689 (rst-suggest-new-adornment, rst-get-adornments-around)
2690 (rst-adornment-complete-p, rst-get-next-adornment)
2691 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2692 (rst-straighten-adornments): Standardize function names to
2693 use "adornment" instead of "decoration". Correct callers.
2694 Similar standardizing in many places.
2695
2696 (rst-update-section, rst-adjust, rst-promote-region)
2697 (rst-enumerate-region, rst-bullet-list-region)
2698 (rst-repeat-last-character): Correct use of `interactive'.
2699
2700 (rst-classify-adornment, rst-find-all-adornments)
2701 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2702 (rst-find-leftmost-column, rst-repeat-last-character):
2703 Refactor functions.
2704
2705 (rst-find-title-line, rst-reset-section-caches)
2706 (rst-get-adornments-around, rst-adjust-adornment-work)
2707 (rst-arabic-to-roman, rst-roman-to-arabic)
2708 (rst-insert-list-pos, rst-insert-list-new-item)
2709 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2710 New functions.
2711
2712 (rst-all-sections, rst-section-hierarchy)
2713 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2714 New variables.
2715
2716 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2717 configuration instead of only buffer. Change where necessary.
2718
2719 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2720 (rst-shift-region, rst-adaptive-fill): New functions for
2721 indentation and filling.
2722
2723 (rst-comment-line-break, rst-comment-indent)
2724 (rst-comment-insert-comment, rst-comment-region)
2725 (rst-uncomment-region): New functions for handling comments.
2726
2727 (rst-compile): Quote shell arguments.
2728
2729 (rst-compile-pdf-preview, rst-compile-slides-preview):
2730 Delete temporary files after use.
2731
a43f98b3
GM
27322012-05-05 Glenn Morris <rgm@gnu.org>
2733
48176e8b
GM
2734 * calendar/cal-html.el: Optionally include holidays in the output.
2735 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2736 (cal-html-holidays): New option.
2737 (cal-html-css-default): Add holiday entry.
2738 (holiday-in-range): Autoload it.
2739 (cal-html-htmlify-entry): Add optional class argument.
2740 (cal-html-htmlify-list): Add optional holidays argument.
2741 (cal-html-insert-agenda-days): Include holidays in the output.
2742 (cal-html-one-month): Maybe include holidays.
2743
a43f98b3
GM
2744 * calendar/holidays.el (holiday-in-range):
2745 Move here from cal-tex-list-holidays.
2746 * calendar/cal-tex.el (cal-tex-list-holidays):
2747 Make it an obsolete alias for holiday-in-range. Update all callers.
2748
fef9d149 27492012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2750
2751 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2752 Nextstep.
2753
248da2f4
RW
27542012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2755
2756 * files.el (file-auto-mode-skip): New var.
2757 (set-auto-mode-1): Use it.
2758
f95e9344
SM
27592012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2760
df96ab1e
SM
2761 * repeat.el: Use lexical-binding.
2762 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2763 (repeat-undo-count): Remove.
2764 (repeat):
2765 * progmodes/octave-mod.el (octave-abbrev-start):
2766 * progmodes/f90.el (f90-abbrev-start):
2767 * face-remap.el (text-scale-adjust):
2768 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2769
5342bb06
SM
2770 * emacs-lisp/pcase.el (pcase--let*): New function.
2771 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2772 a bit more.
2773 (pcase--split-pred): Be more clever about ruling out overlap between
2774 a predicate and some constant pattern.
2775 (pcase--q1): Use `null' instead of (eq foo nil).
2776
f95e9344
SM
2777 * subr.el (setq-local, defvar-local): New macros.
2778 (kbd): Redefine as an alias.
2779 (with-selected-window): Leave unrelated frames alone.
2780 (set-temporary-overlay-map): New function.
2781
71873e2b
SM
27822012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * subr.el (user-error): New function.
2785 * window.el (switch-to-buffer):
2786 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2787 (smerge-match-conflict):
2788 * simple.el (previous-matching-history-element)
2789 (next-matching-history-element, goto-history-element, undo-more)
2790 (undo-start):
2791 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2792 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2793 (next-file, tags-loop-scan, list-tags, complete-tag):
2794 * progmodes/compile.el (compilation-loop):
2795 * mouse.el (mouse-minibuffer-check):
2796 * man.el (Man-bgproc-sentinel, Man-goto-page):
2797 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2798 (Info-history-forward, Info-follow-reference, Info-menu)
2799 (Info-extract-menu-item, Info-extract-menu-counting)
2800 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2801 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2802 (Info-next-reference, Info-prev-reference, Info-index)
2803 (Info-index-next, Info-follow-nearest-node)
2804 (Info-copy-current-node-name):
2805 * imenu.el (imenu--make-index-alist)
2806 (imenu-default-create-index-function, imenu-add-to-menubar):
2807 * files.el (basic-save-buffer, recover-file):
2808 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2809 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2810 (checkdoc-message-text, checkdoc-defun):
2811 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2812 * cus-edit.el (customize-changed-options, customize-rogue)
2813 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2814 (custom-variable-mark-to-reset-standard)
2815 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2816 (custom-file):
2817 * completion.el (check-completion-length):
2818 * comint.el (comint-search-arg)
2819 (comint-previous-matching-input-string-position)
2820 (comint-previous-matching-input)
2821 (comint-replace-by-expanded-history-before-point, comint-send-input)
2822 (comint-copy-old-input, comint-backward-matching-input)
2823 (comint-goto-process-mark, comint-set-process-mark):
2824 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2825 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2826
8a61ee22
SM
28272012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2828
66408d1e
SM
2829 * dabbrev.el (dabbrev--ignore-case-p): New function.
2830 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2831 Use it.
2832
8a61ee22
SM
2833 * files.el (automount-dir-prefix): Mark as obsolete.
2834
3c74813a
GM
28352012-05-04 Glenn Morris <rgm@gnu.org>
2836
2837 * patcomp.el, play/bruce.el: Move to obsolete/.
2838
0bfcf5c5
PE
28392012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2840
2841 Fix minor Y10k bugs.
2842 * arc-mode.el (archive-unixdate):
2843 * autoinsert.el (auto-insert-alist):
2844 * calc/calc-forms.el (math-this-year):
2845 * emacs-lisp/copyright.el (copyright-current-year)
2846 (copyright-update-year, copyright):
2847 * tar-mode.el (tar-clip-time-string):
2848 * time.el (display-time-update):
2849 Don't assume years have 4 digits.
2850
78f3273a
CY
28512012-05-04 Chong Yidong <cyd@gnu.org>
2852
2853 * dos-w32.el (file-name-buffer-file-type-alist)
2854 (direct-print-region-use-command-dot-com):
2855 * ffap.el (ffap-menu-regexp):
2856 * find-file.el (ff-special-constructs):
2857 * follow.el (follow-debug):
2858 * forms.el (forms--debug):
2859 * iswitchb.el (iswitchb-all-frames):
2860 * ido.el (ido-all-frames):
2861 * emacs-lisp/timer.el (timer-max-repeats):
2862 * mail/feedmail.el (feedmail-mail-send-hook)
2863 (feedmail-mail-send-hook-queued):
2864 * mail/footnote.el (footnote-signature-separator):
2865 * mail/mailabbrev.el (mail-alias-separator-string)
2866 (mail-abbrev-mode-regexp):
2867 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2868 * progmodes/idlwave.el (idlwave-libinfo-file)
2869 (idlwave-default-completion-case-is-down)
2870 (idlwave-library-routines): Convert defvars to defcustoms.
2871
2872 * mail/rmail.el (rmail-decode-mime-charset):
2873 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2874 (idlwave-shell-fix-inserted-breaks)
2875 (idlwave-shell-activate-alt-keybindings)
2876 (idlwave-shell-use-breakpoint-glyph):
2877 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2878
f7ae6719
SM
28792012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2882
47086495
WS
28832012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2884
2885 * progmodes/verilog-mode.el (font-lock-keywords):
2886 Fix mis-highligting auto. Reported by Craig Barner.
2887 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2888 defines from global name space. Reported by Dan Dever.
2889 (verilog-auto-reset, verilog-auto-reset-widths)
2890 (verilog-auto-tieoff): Support using unbased numbers for
2891 AUTORESET and AUTOTIEOFF.
2892 (verilog-submit-bug-report): Update variable list.
2893 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2894 parenthesis from not matching. Reported by Michael Rytting.
2895 (verilog-auto-template-lint): Fix hash error when linting modules
2896 with no used templates.
2897 (verilog-warn, verilog-warn-error)
2898 (verilog-warn-fatal): When non-interactive report multiple
2899 warnings before exiting. Suggested by Brad Dobbie.
2900 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2901 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2902 to report unused template errors. Reported by Brad Dobbie.
2903 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2904 nets, bug438. Reported by Vns Blore.
2905 (verilog-auto-inout-module, verilog-auto-reg)
2906 (verilog-read-decls, verilog-read-sub-decls-sig)
2907 (verilog-signals-edit-wire-reg, verilog-signals-with):
2908 Fix passing of Verilog data types in ANSI input/output ports
2909 such as "output logic" into the AUTOs. Special case "wire" and
2910 "reg" for backwards compatibility presuming Verilog 2001.
2911 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2912 (verilog-preprocess): Fix replication of preprocess output.
2913 Reported by Brad Dobbie.
2914 (verilog-auto-inst-interfaced-ports):
2915 Create verilog-auto-inst-interfaced-ports, bug429.
2916 Reported by Julian Gorfajn.
2917 (verilog-after-save-font-hook)
2918 (verilog-before-save-font-hook): New variable.
2919 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2920 (verilog-save-font-mods): Wrap disabling fontification, reported
2921 by David Rogoff.
2922 (verilog-do-indent, verilog-pretty-declarations-auto)
2923 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2924 Reported by Pierre-David Pfister.
2925 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2926 of class declarations, bug292. Reported by Kevin Heilman.
2927 (verilog-read-decls): Fix 'parameter type' not appearing in
2928 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2929 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2930 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2931 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2932 Reported by David Kravitz.
2933
29342012-05-03 Michael McNamara <mac@mail.brushroad.com>
2935
2936 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2937 assignment with tests in ifs and for loops.
2938 (verilog-extended-complete-re, verilog-complete-reg): Change so
2939 that DPI inport functions don't look like fuction declarations.
2940 (verilog-pretty-expr): Don't line up assignment
2941 operations to the test and increment in if and for loops
2942 (verilog-extended-complete-re, verilog-complete-reg): Change so
2943 that DPI inport functions don't look like fuction declarations
2944
2e51d4b5
KH
29452012-05-03 Kenichi Handa <handa@m17n.org>
2946
2947 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2948 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2949 (Bug#11282).
2950
2bd785a2
SM
29512012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * emacs-lisp/bytecomp.el
2954 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2955 since cconv.el might have introduced :fun-body, internal-make-closure,
2956 and friends for bytecomp to handle (bug#11391).
2957 * custom.el (defcustom): Avoid ((λ ..) ..).
2958
99d27583
SM
29592012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2962
55a71479
JB
29632012-05-02 Juanma Barranquero <lekktu@gmail.com>
2964
2965 * notifications.el (dbus-debug):
2966 * term/linux.el (gpm-mouse-enable):
2967 * term/screen.el (xterm-register-default-colors): Declare.
2968
7b97c764
CY
29692012-05-02 Chong Yidong <cyd@gnu.org>
2970
2bc356d7
CY
2971 * cus-start.el (gc-cons-percentage, exec-suffixes)
2972 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2973 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2974 (make-cursor-line-fully-visible, void-text-area-pointer)
2975 (font-list-limit): Add customization data.
2976
7b97c764
CY
2977 * allout.el (allout-exposure-change-functions)
2978 (allout-structure-added-functions)
2979 (allout-structure-deleted-functions)
2980 (allout-structure-shifted-functions): Rename abnormal hooks from
2981 *-hook, and convert to defcustoms.
5d3385a0
JB
2982 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2983 Convert to defcustoms.
7b97c764
CY
2984 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2985
2986 * allout-widgets.el: Hook callers changed.
2987
90207a15 29882012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2989
2990 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2991 the yanked message in preference to the default value of
2992 buffer-file-coding-system.
2993
90207a15 29942012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2995
5d3385a0
JB
2996 * window.el (display-buffer--action-function-custom-type):
2997 Fix entry.
d9558cad 2998
90207a15 29992012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3000
3001 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3002
d80ac57b
GM
30032012-05-01 Glenn Morris <rgm@gnu.org>
3004
976f7668
GM
3005 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3006
beb83b5a
GM
3007 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3008
d80ac57b
GM
3009 * cus-edit.el (custom-variable-documentation): Simplify with format.
3010
b593d6a9
AH
30112012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3012 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * simple.el (suggest-key-bindings, execute-extended-command):
3015 Move from keyboard.c.
3016
782fbf2a
CY
30172012-05-01 Chong Yidong <cyd@gnu.org>
3018
3019 * follow.el: Eliminate advice.
3020 (set-process-filter, process-filter, sit-for): Advice deleted.
3021 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3022 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3023 Vars deleted.
782fbf2a
CY
3024 (follow-auto): Use a :set function.
3025 (follow-mode): Rewritten. Don't advise process filters.
3026 (follow-switch-to-current-buffer-all, follow-scroll-up)
3027 (follow-scroll-down): Assume follow-mode is bound.
3028 (follow-comint-scroll-to-bottom)
3029 (follow-align-compilation-windows): New functions.
3030 (follow--window-sorter): New function.
3031 (follow-all-followers): Use it to explicitly sort windows by their
3032 positions; don't make assumptions about next-window order.
3033 (follow-windows-start-end, follow-delete-other-windows-and-split)
3034 (follow-calc-win-start): Doc fix.
3035 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3036 vertical-motion unnecessarily.
3037 (follow-adjust-window): New function.
3038 (follow-post-command-hook): Use it.
3039 (follow-call-set-process-filter, follow-call-process-filter)
3040 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3041 (follow-stop-intercept-process-output, follow-generic-filter):
3042 Functions deleted.
3043 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3044 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3045 New functions, replacing advice on scroll-bar-* commands.
87233a14 3046 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3047
3048 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3049 (comint-postoutput-scroll-to-bottom): Use it.
3050 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3051
290af740
GM
30522012-05-01 Glenn Morris <rgm@gnu.org>
3053
3054 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3055 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3056 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3057 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3058 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3059 Remove no-byte-compile setting.
3060
6eac8dc9
SM
30612012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3064 all-completions code to not return a number in the last cdr.
3065
9cc7819c
LL
30662012-04-30 Leo Liu <sdl.web@gmail.com>
3067
3068 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3069 read-only error.
3070
c93b886f
CY
30712012-04-29 Chong Yidong <cyd@gnu.org>
3072
3073 * follow.el (follow-calc-win-end): Rewrite to handle partial
3074 screen lines correctly (Bug#8390).
3075 (follow-avoid-tail-recenter): Minor cleanup.
3076
8b6c19f4
SM
30772012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 Avoid the obsolete `assoc' package.
3080 * speedbar.el (speedbar-refresh): Avoid adelete.
3081 (speedbar-file-lists): Simplify and avoid aput.
3082 * man.el (Man--sections, Man--refpages): New vars, replacing
3083 Man-sections-alist and Man-refpages-alist.
3084 (Man-build-section-alist, Man-build-references-alist):
3085 Use them; avoid aput.
3086 (Man--last-section, Man--last-refpage): New vars.
3087 (Man-follow-manual-reference): Use them.
3088 Use the `default' arg of completing-read.
3089 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3090
c5bb7569
CY
30912012-04-27 Chong Yidong <cyd@gnu.org>
3092
d1d2e2e8
CY
3093 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3094
15cd8efd
CY
3095 * startup.el (x-apply-session-resources): New function.
3096
3097 * term/ns-win.el (ns-initialize-window-system):
3098 * term/w32-win.el (w32-initialize-window-system):
3099 * term/x-win.el (x-initialize-window-system): Use it to properly
3100 set menu-bar-mode and other vars from X resources, even if the
3101 initial frame is not a window-system frame (Bug#2299).
3102
c5bb7569
CY
3103 * subr.el (read-key): Avoid running filter function when setting
3104 up temporary tool bar entries (Bug#9922).
3105
a8e7d6d7 31062012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3107
3108 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3109 (Bug#11344)
3110
a8e7d6d7 31112012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3112
3113 * select.el (xselect--encode-string): New function, split from
3114 xselect-convert-to-string.
3115 (xselect-convert-to-string): Use it.
3116 (xselect-convert-to-filename, xselect-convert-to-os)
3117 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3118 returned strings are properly encoded (Bug#11315).
3119
a8e7d6d7 31202012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3121
3122 * simple.el (delete-active-region): Move to killing custom group.
3123
a8e7d6d7 31242012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3125
3126 * progmodes/which-func.el (which-func-current): Quote %
3127 characters for mode-line processing.
3128
578c1d4b 31292012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3130
3131 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3132 reaching eob (Bug#11286).
3133
a8e7d6d7 31342012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3135
3136 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3137 (gdb): Make it buffer-local and init to zero.
3138 (gdb-control-commands-regexp): New variable.
3139 (gdb-send): Don't wrap in "-interpreter-exec console" if
3140 gdb-control-level is positive. Increment gdb-control-level
3141 whenever the command matches gdb-control-commands-regexp, and
3142 decrement it each time the command is "end". (Bug#11279)
3143
a8e7d6d7 31442012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3145
3146 * window.el (adjust-window-trailing-edge, enlarge-window)
3147 (shrink-window, window-resize):
3148 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3149 windows (Bug#11276).
3150
b3608390
CY
31512012-04-27 Chong Yidong <cyd@gnu.org>
3152
3153 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3154 fix "missing prefix" warning. All callers changed.
b3608390 3155
797e6e88
SM
31562012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * emacs-lisp/assoc.el: Move to obsolete/.
3159
e95a67dc
SM
31602012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3161
657c21e4 3162 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3163
3164 * term/ns-win.el (ns-define-service):
3165 * progmodes/pascal.el (pascal-goto-defun):
3166 * progmodes/js.el (js--read-tab):
3167 * progmodes/etags.el (tags-lazy-completion-table):
3168 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3169 * emacs-lisp/ewoc.el (ewoc--wrap):
3170 * emacs-lisp/assoc.el (aput, adelete, amake):
3171 * doc-view.el (doc-view-convert-current-doc):
3172 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3173
cb3e7ae0
CY
31742012-04-26 Chong Yidong <cyd@gnu.org>
3175
dce04f7f
CY
3176 * image.el (image-type-from-buffer): Only return supported image
3177 type (Bug#9045).
3178
cb3e7ae0
CY
3179 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3180 value, for symmetry with diff-end-of-hunk.
3181 (diff-split-hunk, diff-find-source-location)
3182 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3183 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3184 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3185 compute the relevant hunk or file properly (Bug#6005).
3186 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3187
0d42eb3e
SM
31882012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * vc/vc-mtn.el:
3191 * vc/vc-hg.el:
3192 * vc/vc-git.el:
3193 * vc/vc-dir.el:
3194 * vc/vc-cvs.el:
3195 * vc/vc-bzr.el:
3196 * vc/vc-arch.el:
3197 * vc/vc.el: Replace lexical-let by lexical-binding.
3198 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3199 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3200 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3201
f08ae1c9
CY
32022012-04-26 Chong Yidong <cyd@gnu.org>
3203
8b71081d
CY
3204 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3205 (diff-mode-shared-map): Bind it to / and [remap undo].
3206
f08ae1c9
CY
3207 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3208 (ediff-window-setup-function): Use it as the default, to set up
3209 windows based on whether the current frame is graphical (Bug#2138).
3210 (ediff-choose-window-setup-function-automatically): Make obsolete.
3211
3212 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3213
ef24141c
SM
32142012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3215
cc356a5d
SM
3216 * ffap.el: Remove old code for obsolete package.
3217 (ffap-complete-as-file-p): Remove.
3218
b4ff4f1f
SM
3219 Use completion-table-with-quoting for comint and pcomplete.
3220 * comint.el (comint--unquote&requote-argument)
3221 (comint--unquote-argument, comint--requote-argument): New functions.
3222 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3223 (comint-quote-filename): Use regexp-opt-charset.
3224 (comint--common-suffix, comint--common-quoted-suffix)
3225 (comint--table-subvert): Remove.
3226 (comint-unquote-function, comint-requote-function): New vars.
3227 (comint--complete-file-name-data): Use them with
3228 completion-table-with-quoting.
3229 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3230 * pcomplete.el (pcomplete-arg-quote-list)
3231 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3232 (pcomplete-unquote-argument-function): Default to non-nil.
3233 (pcomplete-unquote-argument): Simplify.
3234 (pcomplete--common-quoted-suffix): Remove.
3235 (pcomplete-requote-argument-function): New var.
3236 (pcomplete--common-suffix): New function.
3237 (pcomplete-completions-at-point): Use completion-table-with-quoting
3238 and completion-table-subvert.
3239
79c4eeb4
SM
3240 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3241 (minibuffer--double-dollars): Preserve properties.
3242 (completion--sifn-requote): New function.
3243 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3244
ef24141c
SM
3245 * minibuffer.el: Add support for completion of quoted/escaped data.
3246 (completion-table-with-quoting, completion-table-subvert): New funs.
3247 (completion--twq-try, completion--twq-all): New functions.
3248 (completion--nth-completion): New function.
3249 (completion-try-completion, completion-all-completions): Use it.
3250
784e7d6e
LL
32512012-04-25 Leo Liu <sdl.web@gmail.com>
3252
dd2ac746
SM
3253 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3254 Use compilation-message if available to find real filename.
784e7d6e 3255
07875ee7
CY
32562012-04-25 Chong Yidong <cyd@gnu.org>
3257
3258 * vc/diff-mode.el (diff-setup-whitespace): New function.
3259 (diff-mode): Use it.
3260
3261 * vc/diff.el (diff-sentinel):
3262 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3263 Whitespace mode variables based on diff style (Bug#8612).
3264
5055880d
LL
32652012-04-25 Leo Liu <sdl.web@gmail.com>
3266
daf75653
LL
3267 * progmodes/python.el (python-send-region): Add suffix .py to the
3268 temp file.
3269
5055880d
LL
3270 * files.el (auto-mode-alist): Use javascript-mode instead.
3271
db9b177b
AH
32722012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3273
ef24141c 3274 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
3275
3276 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3277 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3278 references, see Bug#9.
ef24141c 3279 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3280 when receiving a fault reply.
ef24141c 3281 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
3282
3283 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3284 (soap-inspect-simple-type): New function.
db9b177b 3285
ef24141c 3286 * soap-client.el (soap-simple-type): New struct.
db9b177b 3287 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3288 (soap-decode-basic-type, soap-encode-basic-type):
3289 support unsignedInt and double basic types.
db9b177b 3290 (soap-resolve-references-for-simple-type)
ef24141c
SM
3291 (soap-parse-simple-type, soap-encode-simple-type): New function.
3292 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
3293
3294 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
3295 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3296 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3297 the local name of "soapenc:Array".
3298 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3299 decoding integer, byte and anyURI xsd types.
3300
1fc6097b
CY
33012012-04-25 Chong Yidong <cyd@gnu.org>
3302
3303 * cus-edit.el (custom-buffer-create-internal): Update header text.
3304
afc6df87
EZ
33052012-04-25 Eli Zaretskii <eliz@gnu.org>
3306
3307 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3308 settings on 'system-type', not on 'window-system'. On MS-Windows,
3309 set interactive-mode on in GDB.
3310
dfbd787f
SM
33112012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3314 (ruby-syntax-propertize-regexp): Remove.
3315 (ruby-syntax-propertize-function): Split regexp into chunks.
3316 Match following code directly.
3317
85222d44
DG
33182012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3319
51a8ea2a
DG
3320 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3321 (ruby-syntax-propertize-regexp): New function.
3322 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3323 by a special keyword.
3324
85222d44
DG
3325 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3326 (ruby-syntax-general-delimiters-goto-beg)
3327 (ruby-syntax-propertize-general-delimiters): New functions.
3328 (ruby-syntax-propertize-function): Use them to handle GDL.
3329 (ruby-font-lock-keywords): Move old handling of GDL...
3330 (ruby-font-lock-syntactic-keywords): .. to here.
3331 (ruby-calculate-indent): Adjust indentation for GDL.
3332
b613912b
MA
33332012-04-24 Michael Albinus <michael.albinus@gmx.de>
3334
b5380639
MA
3335 * notifications.el (top): Remove unneeded declarations.
3336 (notifications-specification-version): Change to "1.2".
e43042fe 3337 (notifications-interface, notifications-notify-method)
b613912b
MA
3338 (notifications-close-notification-method): Fix docstring.
3339 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3340 (notifications-notify): Add :action-items, :resident and
3341 :transient hints. Change "image_data" to "image-data" and
3342 "image_path" to "image-path".
b613912b
MA
3343 (notifications-get-capabilities): New defun.
3344
257440aa
LL
33452012-04-24 Leo Liu <sdl.web@gmail.com>
3346
3347 * progmodes/python.el: Move hideshow setup to the end.
3348
b1bac16e
MR
33492012-04-24 Martin Rudalics <rudalics@gmx.at>
3350
3351 * window.el (handle-select-window): Clear echo area since this is
3352 no more done by read_char (Bug#11304).
3353
d81bd059
SM
33542012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3357 and `/ M' to filter-derived-mode.
3358 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3359 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3360 (ibuffer-mark-by-mode): Use default rather than initial-input.
3361 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3362
c4cf6d91
IA
33632012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3364
3365 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3366 (ibuffer-filter-by-derived-mode): New filter.
3367 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3368
7511ded8
CY
33692012-04-23 Andreas Politz <politza@fh-trier.de>
3370
3371 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3372
775c916b
CY
33732012-04-23 Chong Yidong <cyd@gnu.org>
3374
3375 * cus-edit.el (customize-apropos, customize-apropos-options):
3376 Disable matching of non-option variables (Bug#11176).
3377 (customize-option, customize-option-other-window)
3378 (customize-changed-options): Doc fix.
3379 (customize-apropos-options, customize-apropos-faces)
3380 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3381
3382 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3383 Fix word list splitting (Bug#11132).
46c71e23
CY
3384 (apropos-symbol, apropos-keybinding, apropos-label)
3385 (apropos-property, apropos-function-button)
3386 (apropos-variable-button, apropos-misc-button): New faces.
3387 (apropos-symbol-face, apropos-keybinding-face)
3388 (apropos-label-face, apropos-property-face, apropos-match-face):
3389 Variables removed (Bug#8396).
3390 (apropos-library-button, apropos-format-plist, apropos-print)
3391 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3392
2df41f9c
MA
33932012-04-23 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * net/xesam.el (xesam-mode-map): Use let-bound map in
3396 initialization. (Bug#11292)
3397
da00640a
AM
33982012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3399
3400 Preserve ispell session localwords when switching back to
3401 original buffer.
3402
3403 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3404 variable to hold buffer session localwords.
3405 (ispell-kill-ispell): add option 'clear to delete session
3406 localwords.
3407 (ispell-command-loop, ispell-change-dictionary)
3408 (ispell-buffer-local-words): Preserve session localwords when
3409 needed.
3410
3411 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3412 Preserve session localwords when needed.
3413
f621ccf5
AM
34142012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3415
3416 * ispell.el (ispell-insert-word) Remove unneeded function using
3417 obsolete `translation-table-for-input'.
ef24141c
SM
3418 (ispell-word, ispell-process-line, ispell-complete-word):
3419 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3420
c2d1019e
CY
34212012-04-22 Chong Yidong <cyd@gnu.org>
3422
3423 * cus-edit.el (custom-variable-menu)
3424 (custom-variable-reset-saved, custom-face-menu)
3425 (custom-face-reset-saved): If there is no saved value, make the
3426 "reset-saved" operation bring back the default (Bug#9509).
3427 (custom-face-state): Properly detect themed faces.
3428
eeddc531
CY
3429 * faces.el (face-spec-set): Stop supporting deprecated form of
3430 third arg.
3431
dcbf5805
MA
34322012-04-22 Michael Albinus <michael.albinus@gmx.de>
3433
3434 Move functions from C to Lisp. Make non-blocking method calls
3435 the default. Implement further D-Bus standard interfaces.
3436
ef24141c
SM
3437 * net/dbus.el (dbus-message-internal): Declare function.
3438 Remove unneeded function declarations.
dcbf5805
MA
3439 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3440 (dbus-message-type-method-return, dbus-message-type-error)
3441 (dbus-message-type-signal): Declare variables. Remove local
3442 definitions.
3443 (dbus-interface-dbus, dbus-interface-peer)
3444 (dbus-interface-introspectable, dbus-interface-properties)
3445 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3446 Adapt docstring.
3447 (dbus-interface-objectmanager): New defconst.
3448 (dbus-call-method, dbus-call-method-asynchronously)
3449 (dbus-send-signal, dbus-method-return-internal)
3450 (dbus-method-error-internal, dbus-register-service)
3451 (dbus-register-signal, dbus-register-method): New defuns, moved
3452 from dbusbind.c
3453 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3454 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3455 New defuns.
dcbf5805
MA
3456 (dbus-call-method-non-blocking): Make it an obsolete function.
3457 (dbus-unregister-object, dbus-unregister-service)
3458 (dbus-handle-event, dbus-register-property)
3459 (dbus-property-handler): Obey the new structure of
3460 `bus-registered-objects'.
3461 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3462 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3463 Use `dbus-call-method'.
3464
cf20dee0
CY
34652012-04-22 Chong Yidong <cyd@gnu.org>
3466
3467 * cus-edit.el (custom-commands, custom-reset-menu)
3468 (Custom-reset-standard): Tweak labels.
3469 (custom-reset-button-menu): Change default to t.
3470 (custom-buffer-create-internal): For the custom-reset-button-menu
3471 case, put the revert button first.
3472 (custom-group-subtitle): New face.
3473 (custom-group-value-create): Align docstring to a specific column.
3474
3475 * wid-edit.el (widget-documentation-link-add): Don't handle
3476 indentation in this function.
3477 (widget-documentation-string-indent-to): New function.
3478 (widget-documentation-string-value-create): Use it.
3479
3480 * autorevert.el (auto-revert):
3481 * epg-config.el (epg):
3482 * ibuffer.el (ibuffer):
3483 * mpc.el (mpc):
3484 * ses.el (ses):
3485 * eshell/eshell.el (eshell):
3486 * net/ange-ftp.el (ange-ftp):
3487 * progmodes/ebnf2ps.el (postscript):
3488 * progmodes/flymake.el (flymake):
3489 * progmodes/prolog.el (prolog):
3490 * progmodes/verilog-mode.el (verilog-mode):
3491 * progmodes/which-func.el (which-func):
3492 * term/xterm.el (xterm):
3493 * textmodes/picture.el (picture):
3494 * textmodes/tildify.el (tildify):
3495 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3496 customization buffers.
3497
583e23bd
AM
34982012-04-22 Alan Mackenzie <acm@muc.de>
3499
3500 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3501 Adding a ) can hide the resulting (..) from searches. Fix it.
3502 Bound the backward search to the position of the existing (.
3503
7dd51bf1
JB
35042012-04-21 Juanma Barranquero <lekktu@gmail.com>
3505
3506 * progmodes/verilog-mode.el (verilog-mode): Check whether
3507 which-func-modes is t before adding verilog-mode.
3508 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3509
d64a438f
LL
35102012-04-21 Leo Liu <sdl.web@gmail.com>
3511
7dd51bf1 3512 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3513
081e8d65
MV
35142012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3515
3516 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3517 filling of the last column of a table (Bug#5635).
3518 (woman-find-next-control-line): New arg, specifying an additional
3519 regexp component for the control line.
3520 (woman2-roff-buffer): Use it.
3521 (woman-break-table): New function.
3522 (woman2-TS): Use it.
3523
35242012-04-21 Chong Yidong <cyd@gnu.org>
3525
3526 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3527 (woman-horizontal-escapes, woman-negative-vertical-space)
3528 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3529 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3530
ed571ccb
SM
35312012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * minibuffer.el (completion-file-name-table): Complete user names.
3534
39773899
LL
35352012-04-20 Leo Liu <sdl.web@gmail.com>
3536
3537 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3538 and pcase-let*.
3539
de6ff46d
CY
35402012-04-20 Chong Yidong <cyd@gnu.org>
3541
3542 * server.el (server-execute): Respect initial-buffer-choice if it
3543 is a string and there are no files to open (Bug#2825).
3544 (server-create-window-system-frame, server-create-tty-frame):
3545 Don't switch buffers here.
2d0e8e61
CY
3546 (server-process-filter): Only try to open a window system frame if
3547 compiled with graphical support (Bug#8314).
de6ff46d 3548
54071013
DN
35492012-04-20 Dan Nicolaescu <dann@gnu.org>
3550
3551 * battery.el (battery-echo-area-format): Display remaining time
3552 for sysfs backend too (Bug#11269).
3553 (battery-linux-sysfs): Fix conditional for the charge.
3554
f30d612a
CY
35552012-04-20 Chong Yidong <cyd@gnu.org>
3556
c07a4c0b 3557 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3558 (gdb-inferior-io--init-proc): New function.
3559 (gdb-init-1): Use it.
3560 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3561 responsible for allocating a new pty and hooking it to gdb when
3562 the old pty gets an EIO due to process exit.
3563 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3564 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3565 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3566
2116e93c
EZ
35672012-04-20 Eli Zaretskii <eliz@gnu.org>
3568
3569 * window.el (window-min-size, window-sizable, window-min-delta)
3570 (window-max-delta, window--resizable, window-resizable)
3571 (window-total-size, window-full-height-p, window-full-width-p)
3572 (window-in-direction, window--resize-mini-window, window-resize)
3573 (window--resize-child-windows-normal)
3574 (window--resize-child-windows, window--resize-siblings)
3575 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3576 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3577
c07a4c0b 35782012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3579
ef24141c
SM
3580 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3581 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3582 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3583 pty process (Bug#11273).
3584 (gdb-update): New arg to suppress talking to the gdb process.
3585 (gdb-done-or-error): Use it.
3586 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3587 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3588 sentinel not being called.
3589
3590 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3591
d02766ab
CY
3592 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3593
c07a4c0b 35942012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3595
3596 * net/network-stream.el (open-network-stream): Doc fix.
3597
c07a4c0b 35982012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3599
3600 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3601
c07a4c0b 36022012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3603
3604 Ensure searching for keywords is case sensitive.
3605
3606 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3607 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3608 (c-defun-name, c-mark-function, c-cpp-define-name)
3609 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3610 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3611
ef24141c
SM
3612 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3613 Bind case-fold-search to nil.
f0f6bc35 3614
c07a4c0b 36152012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3616
3617 * mail/sendmail.el (mail-bury): Call return action with the right
3618 Rmail buffer (Bug#11242).
3619
9a864fa2
CY
3620 * server.el (server-process-filter): Handle corner case where both
3621 tty and nowait options are present (Bug#11102).
3622
539aa513
EZ
36232012-04-20 Eli Zaretskii <eliz@gnu.org>
3624
3625 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3626 (top level): Put into the executable the ident-style '$Id:' tag on
3627 windows-nt as well.
539aa513 3628
cfc7d5da
SM
36292012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * electric.el (electric-indent-post-self-insert-function): Check that
3632 electric-indent-mode is enabled in current buffer.
3633
5b01685c
JB
36342012-04-19 Juanma Barranquero <lekktu@gmail.com>
3635
3636 * imenu.el (imenu-progress-message): Restore; it is "used" in
3637 erc/erc-imenu.el and net/snmp-mode.el.
3638
4d6769e1
JB
36392012-04-19 Juanma Barranquero <lekktu@gmail.com>
3640
3641 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3642 (mouse-avoidance-nudge-mouse): Remove unused binding.
3643
3644 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3645
3646 * descr-text.el (describe-char):
3647 * progmodes/python.el (python-describe-symbol):
3648 Don't call `toggle-read-only', set `buffer-read-only'.
3649
3650 * imenu.el (imenu-default-goto-function): Mark unused args.
3651 (imenu-progress-message): Remove obsolete macro; all callers changed.
3652
3653 * subr.el (keymap-canonicalize): Remove unused binding.
3654 (read-passwd): Mark unused arg.
3655
3656 * tutorial.el (tutorial--display-changes): Remove unused binding.
3657 (tutorial--save-tutorial-to): Remove unused variable.
3658
3659 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3660 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3661 (package-generate-autoloads, package-menu--generate)
3662 (package-menu--find-upgrades): Remove unused bindings.
3663
3664 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3665 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3666 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3667 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3668 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3669 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3670 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3671 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3672 (cua-delete-char-rectangle): Mark unused args.
3673 (cua-align-rectangle): Remove unused binding.
3674
3675 * mail/rmail.el (compilation--message->loc)
3676 (epa--find-coding-system-for-mime-charset): Declare.
3677
3678 * net/dbus.el (dbus-register-service): Declare.
3679 (dbus-name-owner-changed-handler): Remove unused binding.
3680
3681 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3682 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3683 (nxml-scan-backward-within): Mark unused arg.
3684 (nxml-dynamic-markup-word): Remove unused binding.
3685
3686 * mouse.el (mouse-menu-major-mode-map):
3687 * emacs-lisp/authors.el (authors-scan-change-log)
3688 (authors-add-to-author-list):
3689 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3690 * emacs-lisp/smie.el (smie-auto-fill):
3691 * mail/sendmail.el (mail-bury):
3692 * mail/unrmail.el (unrmail):
3693 * net/tls.el (open-tls-stream):
3694 * textmodes/picture.el (picture-mouse-set-point):
3695 Remove unused bindings.
3696
8c8fc5df
MA
36972012-04-19 Michael Albinus <michael.albinus@gmx.de>
3698
3699 * net/tramp.el (tramp-action-password): Let-bind
3700 `enable-recursive-minibuffers' to t.
3701
a77b0ac9
SS
37022012-04-18 Sam Steingold <sds@gnu.org>
3703
3704 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3705 instead of 'string to accommodate values like [f11].
3706 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3707 * progmodes/gdb-mi.el: Likewise.
3708
12a106a9
LL
37092012-04-18 Leo Liu <sdl.web@gmail.com>
3710
3711 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3712 current buffer.
3713 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3714 LOCAL is nil.
3715
bc6494ef
CY
37162012-04-18 Chong Yidong <cyd@gnu.org>
3717
3718 * simple.el (line-move): Use forward-line if in batch mode
3719 (Bug#11053).
3720
c09c46b2
CS
37212012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3722
3723 * files.el (after-find-file): Do not try to add a final newline if
3724 the buffer is read-only (Bug#11156).
3725
5f6530ea
RS
37262012-04-17 Richard Stallman <rms@gnu.org>
3727
3728 * mail/rmail.el (rmail-start-mail):
3729 Pass (rmail-mail-return...) for the return-action.
3730 Pass (rmail-yank-current-message...) for the yank-action.
3731 (rmail-yank-current-message): New function.
3732 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3733 (rmail-reply): Likewise.
3734 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3735
3736 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3737 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3738 buffer, not newbuf.
3739
197b6f3c
JB
37402012-04-17 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * server.el (server-ensure-safe-dir): Simplify.
3743
2311d8e5 37442012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3745
2311d8e5
GM
3746 * emacs-lisp/smie.el: Provide smarter auto-filling.
3747 (smie-auto-fill): New function.
3748 (smie-setup): Use it.
98fb480e 3749
2311d8e5
GM
3750 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3751
37522012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3753
3754 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3755 (comment-indent): Use it.
3756
2311d8e5 37572012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3758
3759 * ses.el: The overall change is to add cell renaming, that is
3760 setting fancy names for cell symbols other than name matching
3761 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3762 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3763 (ses-create-cell-variable): New defun.
2311d8e5 3764 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3765 (ses-relocate-formula): Relocate formulas only for cells the
3766 symbols of which are not renamed, i.e. symbols whose names do not
3767 match regexp "\\`[A-Z]+[0-9]+\\'".
3768 (ses-relocate-all): Relocate values only for cells the symbols of
3769 which are not renamed.
3770 (ses-load): Create cells variables as the (ses-cell ...) are read,
3771 in order to check row col consistency with cell symbol name only
3772 for cells that are not renamed.
3773 (ses-replace-name-in-formula): New defun.
3774 (ses-rename-cell): New defun.
4bdf2ad2 3775
fc72b15c
PO
37762012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3777
3778 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3779 New option (bug#11118).
3780 (perl-calculate-indent): Respect it.
3781
12e10e61
GM
37822012-04-17 Glenn Morris <rgm@gnu.org>
3783
3784 * dired-aux.el (dired-mark-read-string): Doc fix.
3785
30009afd
DA
37862012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3787
3788 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3789 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3790
41f03f4d
GM
37912012-04-17 Glenn Morris <rgm@gnu.org>
3792
3793 * mouse.el (mouse-drag-track):
3794 * speedbar.el (speedbar-frame-mode):
3795 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3796
f45f90f3
LL
37972012-04-16 Leo Liu <sdl.web@gmail.com>
3798
3799 * progmodes/python.el: Trivial cleanup.
3800
94ee8db5
GM
38012012-04-16 Glenn Morris <rgm@gnu.org>
3802
121b8917
GM
3803 * vc/vc.el (vc-string-prefix-p):
3804 * vc/pcvs-util.el (cvs-string-prefix-p):
3805 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3806 * mpc.el (mpc-string-prefix-p):
3807 Make all of these into obsolete aliases for string-prefix-p.
3808 Update callers.
3809 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3810
1197ecfa
GM
3811 * textmodes/two-column.el: Move custom options to the start.
3812 (frame-width): Remove compat definition.
3813 (2C-associate-buffer, 2C-dissociate):
3814 Use with-current-buffer rather than save-excursion.
3815 (2C-dissociate): Force a mode-line update.
3816 (2C-autoscroll): Use ignore-errors.
3817
099e7202
GM
3818 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3819 Autoload trivia.
3820
bf350d6a
GM
3821 * emacs-lisp/cl-extra.el (*random-state*):
3822 Remove unnecessary declaration.
3823
0e829eab
GM
3824 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3825
e3ad7552
GM
3826 * play/cookie1.el (cookie-snarf):
3827 Give an explicit error if input file cannot be read.
3828
68892d27
GM
3829 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3830
20f0c46d
GM
3831 * progmodes/perl-mode.el (c-macro-expand):
3832 Remove unnecessary autoload (it is in loaddefs.el).
3833
5a0978ce
GM
3834 * textmodes/picture.el (picture-desired-column)
3835 (picture-update-desired-column): Convert comments to doc-strings.
3836 (picture-substitute): Remove function.
3837 (picture-mode-map): Initialize in the defvar.
3838
6b955486
GM
3839 * woman.el: Remove eval-after-load for tar-mode.
3840 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3841 (woman-tar-extract-file): Autoload it.
3842
94ee8db5
GM
3843 * frame.el (automatic-hscrolling): Make this alias obsolete.
3844
177eca34
AM
38452012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3846
3847 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3848 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3849 (ispell-dictionary-base-alist): Revert to original XEmacs
3850 friendly version for default. [:alpha:] will be added in
3851 `ispell-set-spellchecker-params' if needed
177eca34 3852
c505aaeb
CY
38532012-04-16 Chong Yidong <cyd@gnu.org>
3854
3855 * image.el (imagemagick--extension-regexp): New variable.
3856 (imagemagick-register-types): Use it.
3857 (imagemagick-types-inhibit): Add :set function. Allow new value
3858 of t to inhibit all types.
3859
3860 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3861 so we can preload it.
3862
3863 * loadup.el (fboundp): Preload regexp-opt, needed by
3864 imagemagick-register-types.
3865
60efac0f
CY
38662012-04-15 Chong Yidong <cyd@gnu.org>
3867
3868 * frame.el (scrolling): Remove nearly unused customization group.
3869
3870 * scroll-all.el (scroll-all-mode): Move to windows group.
3871
5dd1713e
CY
38722012-04-15 Chong Yidong <cyd@gnu.org>
3873
3874 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3875
e6fd457e
CY
38762012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3879 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3880
e153c136
GM
38812012-04-15 Glenn Morris <rgm@gnu.org>
3882
3883 * simple.el (process-file-side-effects): Doc fix.
3884
e6fd457e 38852012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3886
3887 * international/mule-cmds.el (set-language-environment): Doc fix.
3888
3603c3b1
JB
38892012-04-14 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * server.el (server-auth-key, server-generate-key): Doc fixes.
3892 (server-get-auth-key): Doc fix. Use `string-match-p'.
3893 (server-start): Reflow docstring.
3894
e6de100c
LI
38952012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3896
3897 * server.el (server-generate-key): `called-interactively-p'
3898 requires a parameter.
3899
29734c21
MN
39002012-04-14 Michal Nazarewicz <mina86@mina86.com>
3901
3902 * server.el (server-auth-key): New variable.
75f1671a 3903 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3904 (server-start): Use the new variable and functions to allow
3905 setting a permanent server key (bug#9423).
3906
d65c9521
LL
39072012-04-14 Leo Liu <sdl.web@gmail.com>
3908
3909 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3910
5ae255c7
PE
39112012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3912
3913 Spelling fixes.
3914 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3915 Emacs uses American spelling.
3916
d5e6342e
JB
39172012-04-14 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3920 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3921 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3922 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3923
ab036cd7
SM
39242012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * progmodes/which-func.el (which-func-modes): Change default.
3927
35dc09a1 39282012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3929
3930 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3931 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3932
35dc09a1 39332012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3934
3935 * custom.el (custom-theme-set-variables): Doc fix.
3936
35dc09a1 39372012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3938
3939 * international/mule.el (set-auto-coding-for-load): Doc fix.
3940
35dc09a1 39412012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3942
35dc09a1
GM
3943 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3944 imenu work again for Objective C Mode. Correct the *-index values,
3945 these having been disturbed by a previous change in 2011-08.
57f845ee 3946
0de3da9f
AM
3947 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3948 Correct two search limits.
3949
35dc09a1 39502012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3951
3952 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3953
35dc09a1 39542012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3955
3956 * international/characters.el: Fix sorting.
3957
35dc09a1 39582012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3959
3960 * international/characters.el: Add more missing Latin case pairs.
3961
35dc09a1 39622012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3963
3964 * files.el (dir-locals-set-class-variables): Doc fix.
3965
35dc09a1 39662012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3967
3f1b5bf8
EZ
3968 * international/characters.el: Add set-case-syntax-pair call for
3969 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3970 counterpart. (Bug#11209)
3971
9f847f41
EZ
3972 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3973
35dc09a1 39742012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3975
3976 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3977
35dc09a1 39782012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3979
35dc09a1
GM
3980 * textmodes/ispell.el (ispell-dictionary-base-alist):
3981 Add data for Hebrew.
e2627d21 3982
35dc09a1 39832012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3984
35dc09a1
GM
3985 * net/rcirc.el (rcirc-cmd-quit):
3986 Revert 2012-03-18 change (Bug#11192).
5c14e333 3987
35dc09a1 39882012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3989
3990 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3991
35dc09a1 39922012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3993
4517fe3a
SM
3994 * minibuffer.el (completion-in-region-mode-map):
3995 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3996
b472a594
VD
39972012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3998
3999 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4000
09b95ce3
MY
40012012-04-13 Masatake YAMATO <yamato@redhat.com>
4002
4003 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4004 to allow `C-M-f' and `C-M-b' to move to the nearest path
4005 separator (bug#9511).
4006
4b63a9ca
LI
40072012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4008
4009 * avoid.el: Require cl when compiling. And also move the
4010 `provide' to the end.
4011
7b55b8bf
TV
40122012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4013
4014 * avoid.el (mouse-avoidance-banish-position): New variable.
4015 (mouse-avoidance-banish-destination): Use it (bug#10165).
4016
adedaa1f
LL
40172012-04-13 Leo Liu <sdl.web@gmail.com>
4018
4019 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4020
70e74021
KB
40212012-04-13 Ken Brown <kbrown@cornell.edu>
4022
4023 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4024 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4025 (browse-url-filename-alist): For the same reason, don't modify
4026 file:// URLs on Cygwin.
4027
e75e89ba
SM
40282012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4031 the region on shift if the binding is already shifted (bug#11221).
4032
82f289a4
GM
40332012-04-12 Glenn Morris <rgm@gnu.org>
4034
4035 * mail/mailpost.el: Move to obsolete/.
4036
d333dc4c
DA
40372012-04-12 Drew Adams <drew.adams@oracle.com>
4038
4039 * imenu.el (imenu--generic-function): Ignore invisible definitions
4040 (bug#10123).
4041
0d15b5ba
VD
40422012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4043
4044 * hexl.el (hexl-bits): New variable.
4045 (hexl-options): Mention the variable in the doc string.
75f1671a 4046 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4047 (hexl-mode): Mention the new variable.
75f1671a
JB
4048 (hexl-mode, hexl-current-address, hexl-current-address):
4049 Use the displen.
0d15b5ba
VD
4050 (hexl-ascii-start-column): New function.
4051 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4052 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4053
64a440db
AM
40542012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4055
4056 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4057 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4058 the encoding, as expected by hunspell.
4059
6decb6c2
SM
40602012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * battery.el (battery--linux-sysfs-regexp): New const.
4063 (battery-status-function): Use it. Remove yeeloong special case.
4064 (battery-yeeloong-sysfs): Remove.
4065 (battery-echo-area-format): Remove yeeloong special case.
4066
088be6fb
SM
40672012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4068
6622e416
SM
4069 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4070 Reported by Noah Friedman.
4071
088be6fb
SM
4072 * subr.el (read-passwd): Use read-string.
4073
b49f886e
LMI
40742012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4075
4076 * vcursor.el (vcursor-move): Increase the priority of the overlay
4077 (bug#9663).
4078
a63067fc
DD
40792012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4080
4081 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4082 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4083
ac3cf14a
WS
40842012-04-11 William Stevenson <yhvh2000@gmail.com>
4085
4086 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4087 define-minor-mode (bug#10760).
4088
c4fc691b 40892012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4090
4d6769e1 4091 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4092 that directories matching `grep-find-ignored-files' won't be
4093 pruned (bug#10351).
4094
af23e2e5
CY
40952012-04-11 Chong Yidong <cyd@gnu.org>
4096
4097 * startup.el (command-line): Remove support for long-obsolete
4098 variable font-lock-face-attributes.
4099
ab7ce8c1
GM
41002012-04-11 Glenn Morris <rgm@gnu.org>
4101
4102 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4103
de8c03dc
SM
41042012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * window.el (window--state-get-1): Obey window-point-insertion-type.
4107
050cc68b
LB
41082012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4109
4110 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4111 to previous function when point is on the first character of a
75f1671a 4112 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4113
a38c310c
GM
41142012-04-11 Glenn Morris <rgm@gnu.org>
4115
effed0c2
GM
4116 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4117 not just file-errors.
4118
a38c310c
GM
4119 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4120 (vc-bzr-sha1): Use internal sha1.
4121
0221e323
SM
41222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4125
43956923
SG
41262012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4127
4128 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4129 that start in the middle of the line (bug#10496).
4130
6a8c9eaf
DN
41312012-04-10 Dan Nicolaescu <dann@gnu.org>
4132
4133 * battery.el (battery-linux-proc-acpi): Only one battery is
4134 discharged at a time, but that seems to confuse battery.el when
4135 computing `rate-type' for the battery not being discharged
4136 (bug#10332).
4137
1930bf5d
SM
41382012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4139
2a718f6f
SM
4140 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4141
599430d0
SM
4142 * international/quail.el: Use dolist and simplify.
4143 (quail-define-package, quail-update-keyboard-layout)
4144 (quail-define-rules): Use dolist.
4145 (quail-insert-kbd-layout, quail-get-translation): CSE.
4146
a2754b6c
SM
4147 * tmm.el: Use dolist, remove left over hook.
4148 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4149 Use dolist.
4150 (calendar-load-hook): Don't mess with it.
4151
1930bf5d
SM
4152 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4153 Use derived-mode-p. Run the diff asynchronously.
4154
9f67961c
LMI
41552012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156
4157 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4158
2a8ce227
JB
41592012-04-10 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4162 (list-dynamic-libraries--loaded): New function.
4163 (list-dynamic-libraries--refresh): Use it.
4164
8f33b5f8
NW
41652012-04-10 Nathan Weizenbaum <nweiz@google.com>
4166
1930bf5d
SM
4167 * progmodes/python.el (python-fill-paragraph):
4168 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4169 disabled (bug#7018).
4170
b12f0439
L
41712012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
4172
1930bf5d 4173 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4174 DOS/MS Windows for the Baltic languages. There are still plenty
4175 of texts written in this encoding/codepage (bug#6519).
b12f0439 4176
57c3bd01
GM
41772012-04-10 Glenn Morris <rgm@gnu.org>
4178
4179 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4180 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4181
6c3eab30
FA
41822012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4183
1930bf5d 4184 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4185 next-line "n" and previous-line "p" in order to make recentf more
4186 consistent with ibuffer, dired or org-mode (bug#9387).
4187
24d78a88
LMI
41882012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4189
bc72b5d9
LMI
4190 * image.el (put-image): Return the overlay created instead of the
4191 optional input string (bug#7834). Note that this may break code
4192 that is (for some reason or other) depending on `put-image'
4193 returning the string.
4194
bd2dba5a
LMI
4195 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4196
74beb59f
LMI
4197 * simple.el (zap-to-char): Allow zapping using input methods
4198 (bug#1580).
4199
24d78a88
LMI
4200 * textmodes/fill.el (fill-region): Leave point and mark where they
4201 were before filling (bug#5399).
4202
263f20cd
GM
42032012-04-09 Glenn Morris <rgm@gnu.org>
4204
4205 * version.el (emacs-bzr-get-version):
4206 Handle lightweight checkouts of local branches.
4207
58d1f797
AS
42082012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4209
263f20cd 4210 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4211
b4d3bc10
CY
42122012-04-09 Chong Yidong <cyd@gnu.org>
4213
4214 * custom.el (custom-variable-p): Return nil for non-symbol
4215 arguments instead of signaling an error.
4216 (user-variable-p): Obsolete alias for custom-variable-p.
4217
4218 * apropos.el (apropos-variable):
4219 * files-x.el (read-file-local-variable):
4220 * simple.el (set-variable):
4221 * woman.el (woman-mini-help):
4222 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4223
fd06db5d
GM
42242012-04-09 Glenn Morris <rgm@gnu.org>
4225
e5fcdb5e
GM
4226 * startup.el (normal-top-level): Don't look for leim-list.el
4227 in places where it will not be found. (Bug#910)
4228
fd06db5d
GM
4229 * international/mule-cmds.el (set-default-coding-systems):
4230 * files.el (normal-mode):
4231 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4232 This function was removed with ucs-tables.el in 2008.
4233
b39bb7e1
EZ
42342012-04-08 Eli Zaretskii <eliz@gnu.org>
4235
4236 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4237 ispell-encoding8-command to "-i", without a trailing space.
4238 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4239 separate command-line arguments, to specify the encoding, since
4240 that's how hunspell expects it.
4241
5c5b8e23
GM
42422012-04-08 Glenn Morris <rgm@gnu.org>
4243
4244 * loadup.el: Load bindings before cus-start.
4245 This reduces somewhat the number of "rogue" settings in emacs -Q.
4246
a1ed8b05
GM
42472012-04-07 Glenn Morris <rgm@gnu.org>
4248
4249 * version.el (emacs-bzr-get-version): New function.
dfae128a 4250 (emacs-bzr-version): New variable.
a1ed8b05
GM
4251 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4252 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4253
b142f158
EZ
42542012-04-07 Eli Zaretskii <eliz@gnu.org>
4255
dfae128a
GM
4256 * international/uni-bidi.el, international/uni-category.el:
4257 * international/uni-combining.el, international/uni-decimal.el:
4258 * international/uni-decomposition.el, international/uni-digit.el:
4259 * international/uni-lowercase.el, international/uni-mirrored.el:
4260 * international/uni-name.el, international/uni-numeric.el:
4261 * international/uni-titlecase.el, international/uni-uppercase.el:
4262 Update for Unicode 6.1.
b142f158 4263
9078ead6
EZ
42642012-04-07 Eli Zaretskii <eliz@gnu.org>
4265
4266 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4267
f23d2c7d
LMI
42682012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4269
4270 * window.el (shrink-window): Mention the `window-min-height'
4271 variable in the doc string.
4272
0a0a3573
BG
42732012-04-05 Bastien Guerry <bzg@altern.org>
4274
4275 * color.el (color-lighten-name): Fix typo.
4276
e5248ac9
SM
42772012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * server.el (server--on-display-p): New function.
4280 (server--on-display-p): Use it.
4281
b4243e22
GV
42822012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4283
4284 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4285 (bug#11145).
4286
305d9f44
SM
42872012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4288
4289 * comint.el (comint--common-quoted-suffix): Check string boundary
4290 before comparing (bug#11158).
4291 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4292
3d439cd1
CY
42932012-04-04 Chong Yidong <cyd@gnu.org>
4294
321cc491
CY
4295 * minibuffer.el (completion-extra-properties): Doc fix.
4296
3d439cd1
CY
4297 * subr.el (delayed-warnings-hook): Doc fix.
4298
2d562c0f
DU
42992012-04-04 Daiki Ueno <ueno@unixuser.org>
4300
4301 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4302 selection (Bug#11159).
4303 (epa-insert-keys): Inform that the default public key will be
4304 exported if no key is selected.
4305
4443f204
RS
43062012-04-04 Richard Stallman <rms@gnu.org>
4307
4308 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4309
529c06b6
CY
43102012-04-03 Chong Yidong <cyd@gnu.org>
4311
4312 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4313 mail-insert-file, not its obsolete alias mail-attach-file.
4314
66b907dc
MA
43152012-04-03 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * notifications.el (notifications-notify): Fix docstring.
4318
c0ea195d
GM
43192012-04-02 Glenn Morris <rgm@gnu.org>
4320
4321 * emacs-lisp/authors.el (authors-aliases): Another addition.
4322
5ca64e00
MA
43232012-04-02 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4326 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4327 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4328
42ee526b
CY
43292012-04-01 Chong Yidong <cyd@gnu.org>
4330
4331 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4332 Handle root directory properly.
4333 (copy-directory): Caller changed.
4334
4335 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4336 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4337
0b021094
GM
43382012-03-31 Glenn Morris <rgm@gnu.org>
4339
40f86458
GM
4340 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4341
7019c177
GM
4342 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4343
a1daddd6
GM
4344 * calendar/calendar.el (calendar-window-list)
4345 (calendar-hide-window): Restore. (Bug#11140)
4346 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4347
0b021094
GM
4348 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4349
40311efc
TV
43502012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4351
4352 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4353 Check if file is a symlink (Bug#10489).
4354
4355 * files.el (copy-directory): Likewise.
4356
5319014e
CY
43572012-03-30 Chong Yidong <cyd@gnu.org>
4358
4359 * image.el (imagemagick-types-inhibit)
4360 (imagemagick-register-types): Doc fix.
4361
935d1290
AM
43622012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4363
ef24141c
SM
4364 * ispell.el (ispell-get-extended-character-mode):
4365 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4366 and treats ~word as ordinary words in pipe mode.
935d1290 4367
61c6e8fd
GM
43682012-03-30 Glenn Morris <rgm@gnu.org>
4369
4370 * tutorial.el (help-with-tutorial): Ensure local variables don't
4371 happen to make the buffer read-only. (Bug#11127)
4372
81fdff00
SM
43732012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4376 (perl-calculate-indent): Return `noindent' in strings.
4377
6e7a6ec0
SS
43782012-03-28 Sam Steingold <sds@gnu.org>
4379
4380 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4381 instead of the broken adhockery which does not prevent calendar
4382 buffers from being displayed at random after exit.
4383 (calendar-window-list, calendar-hide-window): Remove the broken
4384 adhockery.
4385
fee88ca0
GM
43862012-03-28 Glenn Morris <rgm@gnu.org>
4387
4388 * replace.el (query-replace-map): Doc fix.
4389
38de3354
AS
43902012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4391
4392 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4393 contents. (Bug#11109)
4394
b973155e
SM
43952012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4398 (bug#11077).
4399 (avl-tree--check, avl-tree--check-node): New funs.
4400
dcb6e7b3
MR
44012012-03-27 Martin Rudalics <rudalics@gmx.at>
4402
4403 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4404 (switch-to-prev-buffer, switch-to-next-buffer):
4405 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4406 showing a buffer already is done on the same frame.
4407
b4fa35fa
GM
44082012-03-27 Glenn Morris <rgm@gnu.org>
4409
4410 * startup.el (mail-host-address): Doc fix.
4411
f9210e18
SM
44122012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4415 than 197 variables.
4416
c0bf7753
AF
44172012-03-26 Ami Fischman <ami@fischman.org>
4418
4419 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4420
33da7b16
GM
44212012-03-26 Glenn Morris <rgm@gnu.org>
4422
02243d9d
GM
4423 * files.el (save-buffers-kill-emacs): Doc fix.
4424
33da7b16
GM
4425 * startup.el (normal-top-level, command-line, command-line-1):
4426 Give them doc strings.
4427
e5a69fd0
EZ
44282012-03-25 Eli Zaretskii <eliz@gnu.org>
4429
4430 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4431 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4432
9a69676a
CY
44332012-03-25 Chong Yidong <cyd@gnu.org>
4434
4125cb8b
CY
4435 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4436 theme if it was previously enabled before (Bug#11031).
4437
dd470960
CY
4438 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4439 spec with custom-face-get-current-spec if its :shown-value is not
4440 determined yet (Bug#9337).
4125cb8b 4441 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4442
9a69676a
CY
4443 * button.el (button-at): Minor addition to docstring.
4444
6e7e90fa
SL
44452012-03-24 Simon Leinen <simon.leinen@gmail.com>
4446
4447 * vc/vc.el (vc-merge): Fix a prompt.
4448
f06e2758
CY
44492012-03-24 Chong Yidong <cyd@gnu.org>
4450
4451 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4452 point (Bug#9623).
4453
6e7e90fa
SL
4454 * button.el (button-at): Minor addition to docstring.
4455
b9d0879b
SM
44562012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * newcomment.el (comment-choose-indent): No space after BOL.
4459
e71cebb3
SS
44602012-03-22 Sam Steingold <sds@gnu.org>
4461
4462 * window.el (switch-to-prev-buffer): Revert last patch because the
4463 bug turned out to be an advertised feature (Elisp manual 28.14).
4464
335aff35
GM
44652012-03-22 Glenn Morris <rgm@gnu.org>
4466
4467 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4468 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4469
c676576a
LMI
44702012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4471
4472 * net/network-stream.el (network-stream-open-starttls): Make error
4473 message under Windows be less misleading.
4474
126f3d39
LW
44752012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4476
4477 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4478 understands (bug#9942).
4479
64fee311
CY
44802012-03-22 Chong Yidong <cyd@gnu.org>
4481
4482 * simple.el (end-of-visible-line): Handle return value of
4483 next-single-property-change properly (Bug#9371).
4484
a640d29a
KH
44852012-03-22 Kenichi Handa <handa@m17n.org>
4486
4487 * international/quail.el (quail-insert-kbd-layout): Fix previous
4488 change. To avoid unwanted bidi reordering, use
4489 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4490
39675016
DG
44912012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4492
4493 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4494 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4495 (ruby-beginning-of-indent): Be more careful with the difference
4496 between word-boundary and symbol boundary.
4497 (ruby-mode-syntax-table): Make : a symbol constituent.
4498
0a6934fc 44992012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4500
3d008e4f
SM
4501 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4502
0a6934fc
SM
45032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4504
af67c9d7
SM
4505 * progmodes/etags.el (tags-completion-at-point-function):
4506 Improve last fix.
4507
1acad97c
SM
4508 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4509
e298b5da
SS
45102012-03-21 Sam Steingold <sds@gnu.org>
4511
4512 * progmodes/etags.el (tags-completion-at-point-function):
4513 Avoid the error when point is inside the pattern.
4514
91d82a70
JY
45152012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4516
4517 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4518 line (Bug#10855).
4519
69188b79
CY
45202012-03-21 Drew Adams <drew.adams@oracle.com>
4521
4522 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4523
99fc91fe
AK
45242012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4525
4526 * ido.el (ido-set-current-directory, ido-read-internal)
4527 (ido-choose-completion-string, ido-completion-help): Handle nil
4528 value of ido-completion-buffer (Bug#11008).
4529
087bbb4c
SS
45302012-03-21 Sam Steingold <sds@gnu.org>
4531
4532 * window.el (switch-to-prev-buffer): Do not switch to a visible
4533 window previous buffer, just like with the frame previous buffers.
4534
fb5b8aca
CY
45352012-03-21 Chong Yidong <cyd@gnu.org>
4536
4537 * faces.el (make-face, make-empty-face, copy-face):
4538 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4539 Doc fixes.
4540
dc9924b8
SM
45412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4544 (widget-complete): Remove broken use of it.
4545
f0bcceb9
CY
45462012-03-20 Chong Yidong <cyd@gnu.org>
4547
dc9924b8
SM
4548 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4549 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4550 characters.
4551
ee52ebf3
TH
45522012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4553
4554 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4555 to draw rectangles, not squares. (Regression introduced by revno
4556 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4557
4c5779ab
CY
45582012-03-18 Chong Yidong <cyd@gnu.org>
4559
4560 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4561 it is not yet defined (for temacs).
4562
15360934
LL
45632012-03-18 Leo Liu <sdl.web@gmail.com>
4564
dc9924b8 4565 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4566
d9a8eb66
EZ
45672012-03-17 Eli Zaretskii <eliz@gnu.org>
4568
4569 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4570 (ispell-choices-win-default-height, ispell-silently-savep)
4571 (ispell-dictionary-alist, ispell-encoding8-command)
4572 (ispell-check-version, ispell-aspell-find-dictionary)
4573 (ispell-valid-dictionary-list, ispell-words-keyword)
4574 (ispell-get-word, ispell-internal-change-dictionary)
4575 (ispell-region, ispell-skip-region-list)
4576 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4577 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4578 (ispell-message-text-end, ispell-message)
4579 (ispell-buffer-local-parsing): Doc fix.
4580
f02ff80d
J
45812012-03-13 Jambunathan K <kjambunathan@gmail.com>
4582
4583 * htmlfontify.el: Add support for code block fontification for ODT
4584 export (Bug #9914).
4585 (hfy-optimisations): Define new option
4586 `body-text-only'
4587 (hfy-fontify-buffer): Honor above setting.
4588 (hfy-begin-span, hfy-end-span): New routines factored out form
4589 `hfy-fontify-buffer'.
4590 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4591 that permit insertion of custom tags.
4592 (hfy-fontify-buffer): Use above handlers.
4593 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4594 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4595 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4596 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4597 bind a special variable `hfy-user-sheet-assoc'.
4598 (htmlfontify-string): New defun.
4599 (hfy-compile-face-map): Make sure that the last char in the
4600 buffer is correctly fontified.
4601 (hfy-face-resolve-face): Whitespace only change.
4602
9ac7a13f
EZ
46032012-03-17 Eli Zaretskii <eliz@gnu.org>
4604
4605 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4606 message more clear.
4607
e2b5bdd7
LL
46082012-03-16 Leo Liu <sdl.web@gmail.com>
4609
4610 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4611
2e492df3
AM
46122012-03-16 Alan Mackenzie <acm@muc.de>
4613
4614 Further optimise the handling of large macros.
4615
4616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4617 limit to a call of `c-literal-limits'.
4618 (c-determine-+ve-limit): New function.
dc9924b8
SM
4619 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4620 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4621 In CASE 5B, restrict a search limit to 500.
4622 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4623
4624 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4625 Restrict macro bounds to +-500 from after-change's BEG END.
4626
50e94f0c
LL
46272012-03-16 Leo Liu <sdl.web@gmail.com>
4628
4629 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4630
6f09f6ed
AH
46312012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4632
4633 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4634 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4635
c7e73d51
GM
46362012-03-16 Glenn Morris <rgm@gnu.org>
4637
da986230
GM
4638 * view.el (view-buffer, view-buffer-other-window)
4639 (view-buffer-other-frame): Doc fixes re special mode-class.
4640
0835f01e
GM
4641 * subr.el (eval-after-load): If named feature is provided not from
4642 a file, run after-load forms. (Bug#10946)
4643
c7e73d51
GM
4644 * calendar/calendar.el (calendar-insert-at-column):
4645 Handle non-unit-width characters a bit better. (Bug#10978)
4646
3f2eafd1
CY
46472012-03-15 Chong Yidong <cyd@gnu.org>
4648
4649 * emacs-lisp/ring.el (ring-extend): New function.
4650 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4651
4652 * comint.el (comint-read-input-ring)
4653 (comint-add-to-input-history): Grow comint-input-ring lazily.
4654
103af3fe
SM
46552012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4656
663b1677
SM
4657 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4658 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4659
103af3fe
SM
4660 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4661 (imenu-add-to-menubar): Don't add a redundant index.
4662 (imenu-update-menubar): Handle a dynamically composed keymap.
4663
899cb7cb
KY
46642012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4665
4666 * mail/sendmail.el (mail-encode-header):
4667 Bind rfc2047-encode-encoded-words to nil.
4668
3809f91d
GM
46692012-03-13 Glenn Morris <rgm@gnu.org>
4670
4671 * calendar/calendar.el (calendar-string-spread):
4672 Handle non-unit-width characters a bit better. (Bug#10978)
4673
9e345a01
LL
46742012-03-13 Leo Liu <sdl.web@gmail.com>
4675
4676 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4677 directory and file as argument (Bug#10822).
4678
4a07df36
KS
46792012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4680
4681 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4682 For dynamically generated code, follow $PC.
4683 (gdb-disassembly-handler-custom): Handle no function name case.
4684
4aaa9356
TL
46852012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4686
4687 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4688 * emulation/ws-mode.el (ws-query-replace):
4689 * sort.el (sort-regexp-fields):
4690 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4691
225979da
SM
46922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * dabbrev.el: Fix cycle completion order (bug#10963).
4695 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4696 (dabbrev-completion): Don't use an obarray; provide
4697 a cycle-sort-function.
4698
e2f1fdab
LL
46992012-03-12 Leo Liu <sdl.web@gmail.com>
4700
dc9924b8 4701 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4702 (kill-do-not-save-duplicates): Doc fix.
4703
b19490ed
SM
47042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * dabbrev.el: Fix cycle completion (bug#10963).
4707 Use lexical binding and wrap to 80 columns.
4708 (dabbrev-completion): Delay computing the list of completions.
4709
4b05d722
KH
47102012-03-12 Kenichi Handa <handa@m17n.org>
4711
4712 * international/quail.el (quail-insert-kbd-layout): Surround each
4713 row by LRO and PDF instead of inserting many LRMs. Pad the left
4714 and right of each non-spacing marks. Insert invisible space
4715 between lower and upper characters to prevent composition.
4716
dbbc2e69
SM
47172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * minibuffer.el (minibuffer-complete): Don't get confused when the
4720 function is run twice via different commands (bug#10958).
4721 (complete-with-action): Fix docstring.
4722
292112ed
CY
47232012-03-12 Chong Yidong <cyd@gnu.org>
4724
5d1ac394
CY
4725 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4726 (nxml-completion-at-point-function): New function.
4727 (nxml-mode): Use it.
4728 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4729
292112ed
CY
4730 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4731 Load generated autoloads file before byte compiling (Bug#10970).
4732 (package--make-autoloads-and-compile): New helper fun.
4733
4098f8f7
CS
47342012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4735
4736 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4737
8f754691
MA
47382012-03-11 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * autorevert.el (auto-revert-handler): Ensure, that
4741 file-readable-p is applied only for local files or in
4742 auto-revert-tail-mode.
4743
e29ab36b
AS
47442012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4745
dbbc2e69
SM
4746 * server.el (server-eval-at): Handle non-tcp connections.
4747 Decode result string.
ad0bf5b6 4748
e29ab36b
AS
4749 * server.el (server-msg-size): New constant.
4750 (server-reply-print): New function.
4751 (server-eval-and-print): Use it.
4752 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4753 Handle -print-nonl.
4754
de5939ba
CS
47552012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4756
4757 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4758 (Bug#10987).
4759
0c93eabf
CY
47602012-03-11 Chong Yidong <cyd@gnu.org>
4761
397a688f
CY
4762 * simple.el (goto-line): Doc fix (Bug#9938).
4763
2cc775f9
CY
4764 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4765
0c93eabf
CY
4766 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4767 when finished (Bug#10963).
4768
c491fa41
MR
47692012-03-11 Martin Rudalics <rudalics@gmx.at>
4770
4771 * window.el (split-window-below): Fix bug in case where
4772 split-window-keep-point is nil (Bug#10971).
4773
300e8fa5
JL
47742012-03-11 Juri Linkov <juri@jurta.org>
4775
4776 * replace.el (replace-highlight): Set isearch-word to nil
4777 unconditionally. (Bug#10887)
4778
dbf6c5a1
EZ
47792012-03-10 Eli Zaretskii <eliz@gnu.org>
4780
4781 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4782 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4783 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4784 (mairix-widget-create-query): Add usage information about mairix
4785 search forms: negating words, searching for substrings, etc.
4786
b9e501de
JP
47872012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4788
4789 * international/fontset.el (font-encoding-alist): Add an entry for
4790 ksx1001 (Bug#5667).
4791
92795c91
RS
47922012-03-10 Richard Stallman <rms@gnu.org>
4793
1694e6c1
RS
4794 * mail/sendmail.el (mail-encode-header):
4795 Set rfc2047-encode-encoded-words.
4796
607e8555
RS
4797 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4798
de3bc99a
RS
4799 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4800 view buffer means not swapped.
4801 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4802 (rmail-write-region-annotate): Error if real text has disappeared.
4803
92795c91
RS
4804 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4805
699bd04e
CY
48062012-03-10 Chong Yidong <cyd@gnu.org>
4807
4808 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4809 * emulation/cua-base.el (cua--init-keymaps):
4810 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4811
570a1714
MR
48122012-03-10 Martin Rudalics <rudalics@gmx.at>
4813
dbbc2e69
SM
4814 * speedbar.el (speedbar-unhighlight-one-tag-line):
4815 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4816
82dcf4e4
CY
48172012-03-10 Chong Yidong <cyd@gnu.org>
4818
7a2c7ca7
CY
4819 * minibuffer.el (completion-in-region, completion-help-at-point):
4820 Give the completion field overlay a high priority (Bug#6830).
4821
82dcf4e4
CY
4822 * dired.el (dired-goto-file): Recognize absolute file name
4823 listings (Bug#7126).
4824 (dired-goto-file-1): New helper function.
4825 (dired-toggle-read-only): Inhibit warnings.
4826
052e28ac
MA
48272012-03-09 Michael Albinus <michael.albinus@gmx.de>
4828
75f1671a 4829 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4830 there are no properties.
4831
95d5e396
LL
48322012-03-09 Leo Liu <sdl.web@gmail.com>
4833
4834 * savehist.el (savehist-printable): Stricter check for string
4835 value (Bug#10937).
4836
3f018d6d
EZ
48372012-03-09 Eli Zaretskii <eliz@gnu.org>
4838
dbbc2e69
SM
4839 * mail/smtpmail.el (smtpmail-send-it):
4840 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4841 valid mbox format.
4842
f7fd3d79
GM
48432012-03-09 Glenn Morris <rgm@gnu.org>
4844
4845 * files.el (dir-locals-find-file):
4846 Don't check result is regular, readable.
4847 (dir-locals-read-from-file): Demote errors.
4848
6ff6e72f
EZ
48492012-03-08 Eli Zaretskii <eliz@gnu.org>
4850
dbbc2e69
SM
4851 * international/quail.el (quail-insert-kbd-layout):
4852 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4853 layout cell, to prevent their reordering by bidi display engine.
4854 For details, see the discussion in
4855 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4856
9cec7834
AM
48572012-03-08 Alan Mackenzie <acm@muc.de>
4858
4859 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4860 the starting position; make it extend the marked region when
4861 invoked repeatedly - all under appropriate circumstances.
4862 Fixes bugs #5525, #10906.
4863
9a40b8d4
GM
48642012-03-08 Glenn Morris <rgm@gnu.org>
4865
4866 * files.el (locate-dominating-file, dir-locals-find-file):
4867 Undo 2012-03-06 change.
4868
7a08ed35
EZ
48692012-03-07 Eli Zaretskii <eliz@gnu.org>
4870
dbbc2e69
SM
4871 * international/quail.el (quail-help):
4872 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4873 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4874 for the reason.
4875
5aca4f71 48762012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4877
4878 Avoid superfluous registering of signals. (Bug#10807)
4879
4880 * notifications.el (notifications-on-action-object)
4881 (notifications-on-close-object): New defvars.
4882 (notifications-on-action-signal, notifications-on-closed-signal):
4883 Unregister the signal if not needed any longer.
4884 (notifications-notify): Register `notifications-action-signal' or
4885 `notifications-closed-signal', if :on-action or :on-close has been
4886 passed as argument.
4887
78e8b10a
CY
48882012-03-07 Chong Yidong <cyd@gnu.org>
4889
4890 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4891 non-X platforms.
4892
69481eb8
GM
48932012-03-06 Glenn Morris <rgm@gnu.org>
4894
4895 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4896 (x-disown-selection-internal, x-get-selection-internal):
4897 Doc fix (add arglist signatures). (Bug#10783)
4898
133b8e11
KS
48992012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4900
4901 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4902 Handle breakpoints with no "type".
4903
99a83064
GM
49042012-03-06 Glenn Morris <rgm@gnu.org>
4905
4906 * files.el (locate-dominating-file): Add optional predicate argument.
4907 (dir-locals-find-file): Make use of above change.
4908
17798e78
TTN
49092012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4910
4911 * info.el (Info-insert-dir): Also try "dir.gz".
4912
eb182446
GM
49132012-03-06 Glenn Morris <rgm@gnu.org>
4914
8f2114ee
GM
4915 * files.el (dir-locals-find-file):
4916 Ignore non-readable or non-regular files. (Bug#10928)
4917
eb182446
GM
4918 * files.el (locate-dominating-file): Doc fix.
4919
24679323
AS
49202012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4921
4922 * calendar/calendar.el (calendar-set-mode-line):
4923 `getenv' returns a string. (Bug#10951)
4924
01d972a9
LL
49252012-03-05 Leo Liu <sdl.web@gmail.com>
4926
109aa8a9
LL
4927 * simple.el (backward-delete-char-untabify): Constrain point to
4928 field (Bug#10939).
4929
01d972a9
LL
4930 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4931
10607bea
CY
49322012-03-05 Chong Yidong <cyd@gnu.org>
4933
4934 * simple.el (count-words): If called from Lisp, return the word
4935 count, for symmetry with `count-lines'. Arglist changed.
4936 (count-words--message): Args changed. Consolidate counting code
4937 from count-words and count-words-region.
4938 (count-words-region): Caller changed.
4939 (count-lines-region): Make it an obsolete alias.
4940
5dd11cfe
TH
49412012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4942
4943 * saveplace.el (save-place-to-alist)
4944 (save-place-ignore-files-regexp): Allow value nil to disable this
4945 feature.
4946
c349f4e6
CY
49472012-03-04 Chong Yidong <cyd@gnu.org>
4948
4949 * faces.el (face-spec-reset-face): For the default face, reset the
4950 attributes to default values (Bug#10748).
4951
e627be4c
LMI
49522012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
4954 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4955 previous patch: Check `message-send-mail-function', and not the
4956 default function (bug#10897).
4957
ebeabff4
MA
49582012-03-04 Michael Albinus <michael.albinus@gmx.de>
4959
a41a6cf4
MA
4960 * notifications.el (notifications-on-action-signal)
4961 (notifications-on-closed-signal): Check for unique service name of
4962 incoming event. Fix error in removing entry.
ebeabff4 4963 (top): Register for signals with wildcard service name.
a41a6cf4 4964 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4965
c1ca42b4
CY
49662012-03-04 Chong Yidong <cyd@gnu.org>
4967
dc9924b8 4968 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4969
ea16568d
GM
49702012-03-04 Glenn Morris <rgm@gnu.org>
4971
4972 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4973 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4974 (expand-abbrev, define-abbrev-table): Doc fixes.
4975
fbae4637
LMI
49762012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4979 `message-default-send-mail-function' and not `send-mail-function'
4980 when doing the prompting for `sendmail-query-once' before sending
4981 in Message buffers (bug#10897).
4982
a1e7225c
LMI
4983 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4984 This is inconsistent with all the other stream functions, which leave
4985 the setting up to the higher levels (if so wanted) (bug#10931).
4986
56d093a9
AM
49872012-03-02 Alan Mackenzie <acm@muc.de>
4988
4989 Depessimize the handling of very large macros.
4990
4991 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4992 (c-macro-cache-syntactic): New variables to implement a one
4993 element macro cache.
4994 (c-invalidate-macro-cache): New function.
4995 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4996 Adapt to use the new cache.
4997 (c-state-safe-place): Use better the cache of safe positions.
4998 (c-state-semi-nonlit-pos-cache)
4999 (c-state-semi-nonlit-pos-cache-limit):
5000 New variables for...
5001 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5002 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5003 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5004 Use c-state-semi-safe-place.
56d093a9 5005
dbbc2e69
SM
5006 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5007 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5008
817e5c3d
MA
50092012-03-02 Michael Albinus <michael.albinus@gmx.de>
5010
dbbc2e69
SM
5011 * jka-compr.el (jka-compr-call-process):
5012 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5013 not remote.
5014
a032a702
MA
50152012-03-01 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5018 access of FILE2, if FILE1 does not exist.
5019
99a54f21
MA
5020 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5021 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5022
5023 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5024 Add "PAGER=" to `process-environment'.
5025
f6561e1f
MM
50262012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5027
5028 * progmodes/sql.el: Bug fix
5029 (sql-get-login-ext): Save login values in globals.
5030 (sql-get-login): Use new version of `sql-get-login-ext'.
5031 (sql-interactive-mode): Set global `sql-connection' to nil.
5032 (sql-connect): Set global values for connection.
5033 (sql-product-interactive): Save global values as buffer local.
5034
2d44d9cc
LL
50352012-02-29 Leo Liu <sdl.web@gmail.com>
5036
5037 * abbrev.el (define-abbrevs): Reset sys to nil.
5038
96b49301 50392012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5040
bf7f9bc5
JB
5041 * files.el (file-equal-p): Rename from `files-equal-p'.
5042 Return nil when one or both files don't exist.
96b49301 5043 (file-subdir-of-p): Now only top directory must exists,
5044 return nil if it doesn't.
bf7f9bc5
JB
5045 (copy-directory): No need to test with `file-subdir-of-p' after
5046 creating dir.
5047 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5048 to `file-equal-p'.
96b49301 5049
44e97401
GM
50502012-02-28 Glenn Morris <rgm@gnu.org>
5051
5052 * shell.el (shell-mode):
5053 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5054 * play/landmark.el (landmark-font-lock-face-O):
5055 * play/handwrite.el (handwrite):
5056 * play/gomoku.el (gomoku-O):
5057 * net/browse-url.el (browse-url-browser-display):
5058 * international/mule.el (define-charset):
5059 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5060 * filesets.el (filesets-find-file-delay):
5061 * eshell/em-xtra.el (eshell-xtra):
5062 * eshell/em-unix.el (eshell-grep):
5063 * emulation/viper.el (viper-mode):
5064 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5065 * emacs-lisp/easymenu.el (easy-menu-define):
5066 * calendar/timeclock.el (timeclock-use-display-time):
5067 * bs.el (bs-mode):
5068 * bookmark.el (bookmark-save-flag):
5069 Doc fix (standardize possessive apostrophe usage).
5070
c98c6276
CY
50712012-02-27 Chong Yidong <cyd@gnu.org>
5072
bf7f9bc5
JB
5073 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5074 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5075
c98c6276
CY
5076 * font-lock.el (font-lock-specified-p): Rename from
5077 font-lock-spec-present. Callers changed.
5078
9c62cd04 50792012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5080
bf7f9bc5
JB
5081 * emacs-lisp/package.el (package-compute-transaction):
5082 Handle holding a package version to t in package-load-list.
8ac9e529 5083
530739c9
MA
50842012-02-26 Michael Albinus <michael.albinus@gmx.de>
5085
5086 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5087 (tramp-get-inode, tramp-get-device): Use cached values.
5088
487915d7
AM
50892012-02-26 Alan Mackenzie <acm@muc.de>
5090
5091 Check there is a font-lock specification before doing initial
5092 fontification.
5093
5094 * font-core.el (font-lock-mode): Move the conditional from
5095 :after-hook to font-lock-initial-fontify.
5096 (font-lock-default-function): Move the check for a specification
5097 to font-lock-spec-present.
5098
dc9924b8 5099 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5100 (font-lock-spec-present): New function.
5101
4fd96557
JB
51022012-02-26 Jim Blandy <jimb@red-bean.com>
5103
5104 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5105 (gdb-send): Apply it to the operand of the '-interpreter-exec
5106 console' command, so that we can pass arguments with (say) quotes
5107 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5108
9a4888c0
CY
51092012-02-26 Chong Yidong <cyd@gnu.org>
5110
07498861
CY
5111 * help-fns.el (describe-function-1): Clarify description of
5112 remapping (Bug#10844).
5113
9a4888c0
CY
5114 * files.el (files-equal-p): Doc fix.
5115 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5116 and quit the loop once a mismatch is found.
5117
ea8fb88d
JB
51182012-02-25 Juanma Barranquero <lekktu@gmail.com>
5119
5120 * bs.el (bs--show-with-configuration): Don't throw an error
5121 if the window cannot be split; otherwise, subsequent calls to
5122 bs-show fail, restoring a stale window config. (Bug#10882)
5123
525795c1
JD
51242012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5125
5126 * term/ns-win.el (global-map): Bind ns-drag-file to
5127 ns-find-file (Bug#5855, Bug#10050).
5128
f008086f
AS
51292012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5130
5131 * calendar/parse-time.el (parse-time-string): Allow extractor to
5132 return nil.
5133
a3fcfa99
MA
51342012-02-25 Michael Albinus <michael.albinus@gmx.de>
5135
91027d08
JB
5136 * net/tramp.el (tramp-file-name-for-operation):
5137 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5138
5139 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5140 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5141 Add COPY-CONTENTS argument.
a3fcfa99 5142
67b0de11
CY
51432012-02-25 Chong Yidong <cyd@gnu.org>
5144
5145 Add custom groups for VC backends, for consistency with vc-bzr.
5146
5147 * vc/vc-arch.el (vc-arch):
5148 * vc/vc-cvs.el (vc-cvs):
5149 * vc/vc-git.el (vc-git):
5150 * vc/vc-hg.el (vc-hg):
5151 * vc/vc-mtn.el (vc-mtn):
5152 * vc/vc-rcs.el (vc-rcs):
5153 * vc/vc-sccs.el (vc-sccs):
5154 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5155 All relevant defcustoms reassigned.
5156
3c9dfce6
CY
51572012-02-25 Chong Yidong <cyd@gnu.org>
5158
1339bf43
CY
5159 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5160
3c9dfce6
CY
5161 * term/x-win.el (x-initialize-window-system): Reduce default for
5162 x-selection-timeout to 5 seconds (Bug#8869).
5163
25b2e303 51642012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5165
ec70a47d
GM
5166 * files.el (files-equal-p, file-subdir-of-p): New functions.
5167 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5168 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5169 * dired-aux.el (dired-copy-file-recursive): Same.
5170 (dired-create-files): Modify destination when source is equal to
5171 dest when copying files.
53a46cd0 5172 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5173
914260cd
MA
51742012-02-24 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5177 (Bug#10874)
5178
2cb228f7
AM
51792012-02-23 Alan Mackenzie <acm@muc.de>
5180
5181 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5182 parameter "after-hook:" to allow the expansion to run code after
5183 the execution of the mode hooks.
5184
5185 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5186 from font-lock-mode-internal.
2cb228f7 5187
91027d08 5188 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5189 :after-hook.
5190
8f0fde21
SM
51912012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5192
3e88618b
SM
5193 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5194 (completion--cache-all-sorted-completions): New function.
5195 (completion-all-sorted-completions): Use it.
5196 (completion--do-completion, minibuffer-force-complete):
5197 Use it to re-instate the flush hook.
5198
8f0fde21
SM
5199 * icomplete.el (icomplete-completions): Replace last fix with a better
5200 one (bug#10850).
5201
8e911f6f
DG
52022012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5203
5204 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5205 when it might call us back infinitely (bug#10797).
5206
49fe4321
GM
52072012-02-23 Glenn Morris <rgm@gnu.org>
5208
5209 * minibuffer.el (completion-category-overrides): Doc fix.
5210
b291b572
SM
52112012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5214 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5215
31a9ef2e
GM
52162012-02-23 Glenn Morris <rgm@gnu.org>
5217
5e6e6794 5218 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5219 (authors-obsolete-files-regexps, authors-ignored-files)
5220 (authors-ambiguous-files, authors-renamed-files-alist):
5221 Add more entries.
5222
0bd1e074
JL
52232012-02-23 Juri Linkov <juri@jurta.org>
5224
5225 * isearch.el (isearch-occur): Sync interactive spec with occur's
5226 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5227
b617673c
JL
5228 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5229
19e9789e
JL
52302012-02-22 Juri Linkov <juri@jurta.org>
5231
5232 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5233 (ucs-insert): Doc fix. Check for hex digits in the string.
5234 Don't display `nil' in the error message. (Bug#10857)
5235
f41ce09d
AM
52362012-02-22 Alan Mackenzie <acm@muc.de>
5237
7a71b18d 5238 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5239
ac2eceee
GM
52402012-02-22 Glenn Morris <rgm@gnu.org>
5241
5242 * ffap.el (ffap-c-path):
5243 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5244
abd1f678
CY
52452012-02-22 Chong Yidong <cyd@gnu.org>
5246
5247 * custom.el (load-theme): Doc fix.
5248
f25aef2e
GM
52492012-02-22 Glenn Morris <rgm@gnu.org>
5250
5251 * dired-x.el (dired-guess-shell-alist-default):
5252 Remove escape sequences from nroff output. (Bug#172)
5253
5f8dc2ca
GM
52542012-02-21 Glenn Morris <rgm@gnu.org>
5255
6ff86ec4
GM
5256 * vc/emerge.el (emerge-defvar-local):
5257 Set `permanent-local' property rather than unused `preserved'.
5258
be3223a3 5259 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5260 (picture-mode-map): Use it. (Bug#10860)
5261 (picture-mode): Doc fix.
5262
3fe58f4f
JB
52632012-02-21 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * newcomment.el (uncomment-region-default): Remove unused binding.
5266
f9a998c3
GM
52672012-02-21 Glenn Morris <rgm@gnu.org>
5268
5269 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5270 (picture-self-insert, picture-tab-chars): Doc fix.
5271 (picture-mode-map): Fix C-a, C-e.
5272
c6029348
GM
52732012-02-20 Glenn Morris <rgm@gnu.org>
5274
5275 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5276
ab1ce9d7
LL
52772012-02-20 Leo Liu <sdl.web@gmail.com>
5278
5279 * icomplete.el (icomplete-completions): Check FROM arg before
5280 passing to substring (Bug#10850).
5281
0fd40f89
CY
52822012-02-19 Chong Yidong <cyd@gnu.org>
5283
5284 * comint.el: Require ansi-color.
5285 (comint-output-filter-functions): Add ansi-color-process-output.
5286
5287 * ansi-color.el: Don't set comint-output-filter-functions; it is
5288 now in the initial value defined in comint.el.
5289 (ansi-color-apply-face-function): New variable.
5290 (ansi-color-apply-on-region): Use it.
5291 (ansi-color-apply-overlay-face): New function.
5292
5293 * shell.el (shell): No need to require ansi-color.
5294 (shell-mode): Use ansi-color-apply-face-function to highlight
5295 color escapes using font-lock-face property (Bug#10835).
5296
20af2394
CY
52972012-02-19 Chong Yidong <cyd@gnu.org>
5298
5299 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5300 mode-line formats (Bug#10839).
5301
e23a3fbe
GM
53022012-02-18 Glenn Morris <rgm@gnu.org>
5303
b474519e
GM
5304 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5305
5306 * mail/undigest.el (unforward-rmail-message): Doc fix.
5307
e23a3fbe
GM
5308 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5309
57939ff4
EZ
53102012-02-18 Eli Zaretskii <eliz@gnu.org>
5311
5312 * international/characters.el (script-list): Sync with the latest
5313 Unicode Character Database.
5314
0c23686e
AS
53152012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5316
5317 * international/titdic-cnv.el: Remove duplicate coding tag.
5318 * language/cham.el: Likewise.
5319 * language/tai-viet.el: Likewise.
5320
6818b449
GM
53212012-02-18 Glenn Morris <rgm@gnu.org>
5322
5323 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5324 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5325 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5326 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5327 * calendar/holidays.el (holiday-bahai-holidays)
5328 (calendar-holidays, list-holidays):
5329 Use utf-8 Bahá'í in doc-strings, menus, etc.
5330
0311a3fc
TH
53312012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5332
5333 * saveplace.el (save-place-ignore-files-regexp): New variable
5334 allowing for excluding files from saving their location of point.
5335 The default value matches the temporary commit message editing
5336 files from Git, SVN, Bazaar, and Mercurial.
5337 (save-place-to-alist): Use it.
5338
d209e2fb 53392012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5340 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * newcomment.el (uncomment-region-default): Don't leave extra space
5343 when an arg is provided (bug#8150).
5344
ee0ce425
TZ
53452012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5346
eb864a71 5347 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5348
95ddf442
GM
53492012-02-17 Glenn Morris <rgm@gnu.org>
5350
5351 * net/socks.el: Require network-stream. (Bug#10599)
5352
48dd1e39 53532012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5354
5355 * international/charprop.el:
5356 * international/uni-name.el:
5357 * international/uni-old-name.el:
5358 * international/uni-comment.el: Regenerate.
5359
d68cd087
GM
53602012-02-16 Glenn Morris <rgm@gnu.org>
5361
5362 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5363 Interactively in calendar buffer, give an error if not on a date.
5364
13932042
GM
53652012-02-15 Glenn Morris <rgm@gnu.org>
5366
5367 * shell.el (shell-delimiter-argument-list):
5368 Revert 2011-02-17 change. (Bug#8027)
5369
c3a70e2b
CY
53702012-02-15 Chong Yidong <cyd@gnu.org>
5371
60236b0d
CY
5372 * minibuffer.el (completion-at-point-functions): Doc fix.
5373
c3a70e2b
CY
5374 * custom.el (defcustom): Doc fix; note use of defvar.
5375
9f26dc24
GM
53762012-02-15 Glenn Morris <rgm@gnu.org>
5377
5378 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5379 Doc fixes.
5380
6546b134
GM
53812012-02-14 Glenn Morris <rgm@gnu.org>
5382
5383 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5384
d29b2b4c
LI
53852012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5386
5387 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5388 way the ports list is computed.
835bdcba
LI
5389 (smtpmail-query-smtp-server): Prompt the user for a port number if
5390 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5391
08dcdbc9
TZ
53922012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5393
5394 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5395
2605051a
GM
53962012-02-13 Glenn Morris <rgm@gnu.org>
5397
5398 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5399
7ee99f32
TZ
54002012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5401
5402 * net/gnutls.el (gnutls-trustfiles): New variable.
5403 (gnutls-negotiate): Use it.
5404
5f0af64f
LI
54052012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5406
5407 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5408 does its stuff if Gnus is running.
5409
c14fcc95
AM
54102012-02-13 Alan Mackenzie <acm@muc.de>
5411
5412 Fix a loop in c-set-fl-decl-start.
5413
7a71b18d 5414 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5415 c-backward-syntactic-ws actually moves backwards.
5416
142b4d90
LL
54172012-02-13 Leo Liu <sdl.web@gmail.com>
5418
5419 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5420 beginning so that all \C-o chars are removed.
5421
fa9958a6
TZ
54222012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5423
dc9924b8 5424 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5425
0bc5886a
AM
54262012-02-12 Alan Mackenzie <acm@muc.de>
5427
5428 Fix infinite loop with long macros.
4d6769e1 5429 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5430
d4bd55e7
CY
54312012-02-12 Chong Yidong <cyd@gnu.org>
5432
5433 * window.el (display-buffer): Doc fix (Bug#10785).
5434
66f3fe22
GM
54352012-02-12 Glenn Morris <rgm@gnu.org>
5436
bd7da63e
GM
5437 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5438 (x-disown-selection-internal, x-get-selection-internal):
5439 Sync docs with the xselect.c versions.
5440
66f3fe22
GM
5441 * allout-widgets.el: Add missing license notice.
5442
3e0d2fa7
GM
54432012-02-11 Glenn Morris <rgm@gnu.org>
5444
cfecdf09
GM
5445 * select.el (x-get-selection-internal, x-own-selection-internal)
5446 (x-disown-selection-internal):
5447 * x-dnd.el (x-get-selection-internal): Update declarations.
5448
6d216d7f
GM
5449 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5450
2bed3f04
GM
5451 * window.el (window-sides-slots):
5452 * tool-bar.el (tool-bar-position):
5453 * term/xterm.el (xterm-extra-capabilities):
5454 * ses.el (ses-self-reference-early-detection):
5455 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5456 (verilog-auto-wire-type)
5457 (verilog-auto-delete-trailing-whitespace)
5458 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5459 (verilog-auto-tieoff-declaration):
5460 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5461 (sql-oracle-statement-starters, sql-oracle-scan-on):
5462 * progmodes/prolog.el (prolog-align-comments-flag)
5463 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5464 (prolog-left-indent-regexp, prolog-paren-indent-p)
5465 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5466 (prolog-types, prolog-mode-specificators)
5467 (prolog-determinism-specificators, prolog-directives)
5468 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5469 (prolog-electric-dot-flag)
5470 (prolog-electric-dot-full-predicate-template)
5471 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5472 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5473 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5474 (prolog-program-switches, prolog-prompt-regexp)
5475 (prolog-debug-on-string, prolog-debug-off-string)
5476 (prolog-trace-on-string, prolog-trace-off-string)
5477 (prolog-zip-on-string, prolog-zip-off-string)
5478 (prolog-use-standard-consult-compile-method-flag)
5479 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5480 (prolog-imenu-max-lines, prolog-info-predicate-index)
5481 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5482 (prolog-char-quote-workaround):
5483 * progmodes/cc-vars.el (c-defun-tactic):
5484 * net/tramp.el (tramp-encoding-command-interactive)
5485 (tramp-local-end-of-line):
5486 * net/soap-client.el (soap-client):
5487 * net/netrc.el (netrc-file):
5488 * net/gnutls.el (gnutls):
5489 * minibuffer.el (completion-category-overrides)
5490 (completion-cycle-threshold)
5491 (completion-pcm-complete-word-inserts-delimiters):
5492 * man.el (Man-name-local-regexp):
5493 * mail/feedmail.el (feedmail-display-full-frame):
5494 * international/characters.el (glyphless-char-display-control):
5495 * eshell/em-ls.el (eshell-ls-date-format):
5496 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5497 (lisp-lambda-list-keyword-parameter-indentation)
5498 (lisp-lambda-list-keyword-parameter-alignment):
5499 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5500 * dired-x.el (dired-omit-verbose):
5501 * cus-theme.el (custom-theme-allow-multiple-selections):
5502 * calc/calc.el (calc-highlight-selections-with-faces)
5503 (calc-lu-field-reference, calc-lu-power-reference)
5504 (calc-note-threshold):
5505 * battery.el (battery-mode-line-limit):
5506 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5507 (archive-7z-update):
5508 * allout.el (allout-prefixed-keybindings)
5509 (allout-unprefixed-keybindings)
5510 (allout-inhibit-auto-fill-on-headline)
5511 (allout-flattened-numbering-abbreviation):
5512 * allout-widgets.el (allout-widgets-auto-activation)
5513 (allout-widgets-icons-dark-subdir)
5514 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5515 (allout-widgets-theme-dark-background)
5516 (allout-widgets-theme-light-background)
5517 (allout-widgets-item-image-properties-emacs)
5518 (allout-widgets-item-image-properties-xemacs)
5519 (allout-widgets-run-unit-tests-on-load)
5520 (allout-widgets-time-decoration-activity)
5521 (allout-widgets-hook-error-post-time)
5522 (allout-widgets-track-decoration):
5523 Add missing :version tags to new defcustoms and defgroups.
5524
5fec1b8e
GM
5525 * progmodes/sql.el (sql-ansi-statement-starters)
5526 (sql-oracle-statement-starters): Add custom type.
5527
3e0d2fa7
GM
5528 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5529 (prolog-system-version): Give it a type.
5530
90b671e2
EZ
55312012-02-11 Eli Zaretskii <eliz@gnu.org>
5532
5533 * term/pc-win.el (x-select-text, x-selection-owner-p)
5534 (x-own-selection-internal, x-disown-selection-internal)
5535 (x-get-selection-internal): Sync doc strings and argument lists
5536 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5537
5eac0c02
LL
55382012-02-11 Leo Liu <sdl.web@gmail.com>
5539
5540 * progmodes/python.el (python-end-of-statement): Fix infinite
5541 loop. (Bug#10788)
5542
f82cb659
GM
55432012-02-10 Glenn Morris <rgm@gnu.org>
5544
5545 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5546 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5547
cc26d239
LI
55482012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5549
5550 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5551 about SMTP before checking the From header.
5552
91027d08 5553 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5554 into own function for reuse by emacsbug.el.
5555
1be3ca5a
LL
55562012-02-10 Leo Liu <sdl.web@gmail.com>
5557
5558 * subr.el (condition-case-unless-debug): Rename from
5559 condition-case-no-debug. All callers changed.
5560 (with-demoted-errors): Fix caller.
5561
5562 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5563 * nxml/rng-valid.el (rng-do-some-validation):
5564 * emacs-lisp/package.el (package-refresh-contents)
5565 (package-menu-execute):
5566 * desktop.el (desktop-create-buffer):
91027d08 5567 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5568
b011fbfe
GM
55692012-02-10 Glenn Morris <rgm@gnu.org>
5570
b2096d72
GM
5571 * textmodes/bibtex.el:
5572 Add missing :version tags for new/changed defcustoms.
5573
b011fbfe
GM
5574 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5575
4c7e65bf
LI
55762012-02-09 Lars Ingebrigtsen <larsi@rusty>
5577
5578 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5579 (smtpmail-via-smtp): Use it, or fall back on the From address.
5580 (smtpmail-send-it): Ditto.
5581
f3934f6f
SM
55822012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5585 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5586 (byte-compile-tmp-var): New const.
5587 (byte-compile-defvar): Use it to minimize .elc size.
5588 Just use `defvar' rather than simulate it (bug#10761).
5589
a075a2c5
GM
55902012-02-09 Glenn Morris <rgm@gnu.org>
5591
cf3aa21b
GM
5592 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5593
354998cd
GM
5594 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5595 Add :version tags.
5596
dc9924b8
SM
5597 * progmodes/compile.el (compilation-error-screen-columns)
5598 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5599
dab3703d
GM
5600 * vc/log-view.el (log-view-toggle-entry-display):
5601 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5602
3f88cd72
GM
5603 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5604 (report-emacs-bug-can-use-xdg-email):
5605 (report-emacs-bug-insert-to-mailer): Doc fixes.
5606 (report-emacs-bug): Message fix.
5607
d95b247d
GM
5608 * net/browse-url.el (browse-url-can-use-xdg-open)
5609 (browse-url-xdg-open): Doc fixes.
5610
a075a2c5
GM
5611 * electric.el (electric-indent-mode, electric-pair-mode)
5612 (electric-layout-rules, electric-layout-mode): Doc fixes.
5613 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5614
ffb6157e
MR
56152012-02-08 Martin Rudalics <rudalics@gmx.at>
5616
5617 * server.el (server-unselect-display): Don't inadvertently kill
5618 the current buffer. (Bug#10729)
5619
e1ac4066
GM
56202012-02-08 Glenn Morris <rgm@gnu.org>
5621
34e8a2da
GM
5622 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5623 (sql-list-table): Doc fixes.
5624
b4ac6e8c
GM
5625 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5626 Comment out (does nothing).
5627
e1ac4066
GM
5628 * completion.el (dynamic-completion-mode):
5629 * dirtrack.el (dirtrack-debug-mode):
5630 * electric.el (electric-layout-mode):
5631 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5632 * face-remap.el (text-scale-mode, buffer-face-mode):
5633 * iimage.el (iimage-mode):
5634 * image-mode.el (image-transform-mode):
5635 * minibuffer.el (completion-in-region-mode):
5636 * scroll-lock.el (scroll-lock-mode):
5637 * simple.el (next-error-follow-minor-mode):
5638 * tar-mode.el (tar-subfile-mode):
5639 * tooltip.el (tooltip-mode):
5640 * vcursor.el (vcursor-use-vcursor-map):
5641 * wid-browse.el (widget-minor-mode):
5642 * emulation/tpu-edt.el (tpu-edt-mode):
5643 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5644 * international/iso-ascii.el (iso-ascii-mode):
5645 * language/thai-util.el (thai-word-mode):
5646 * mail/supercite.el (sc-minor-mode):
5647 * net/goto-addr.el (goto-address-mode):
5648 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5649 * progmodes/cwarn.el (cwarn-mode):
5650 * progmodes/flymake.el (flymake-mode):
5651 * progmodes/glasses.el (glasses-mode):
5652 * progmodes/hideshow.el (hs-minor-mode):
5653 * progmodes/pascal.el (pascal-outline-mode):
5654 * textmodes/enriched.el (enriched-mode):
5655 * vc/smerge-mode.el (smerge-mode):
5656 Doc fixes (minor mode argument).
5657
5e0d957f
EZ
56582012-02-07 Eli Zaretskii <eliz@gnu.org>
5659
5660 * ls-lisp.el (ls-lisp-sanitize): New function.
5661 (ls-lisp-insert-directory): Use it to fix or remove any elements
5662 in file-alist with missing attributes. (Bug#4673)
5663
98d7371e
AM
56642012-02-07 Alan Mackenzie <acm@muc.de>
5665
5666 Fix spurious recognition of c-in-knr-argdecl.
5667
5668 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5669 putative K&R region.
5670
667ced3a
AM
56712012-02-07 Alan Mackenzie <acm@muc.de>
5672
eb864a71
LM
5673 * progmodes/cc-engine.el (c-forward-objc-directive):
5674 Prevent looping in "#pragma mark @implementation".
667ced3a 5675
5b77774d
MA
56762012-02-07 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * notifications.el (notifications-on-closed-signal): Make `reason'
5679 optional. (Bug#10744)
5680
af008560
GM
56812012-02-07 Glenn Morris <rgm@gnu.org>
5682
60d47423
GM
5683 * emacs-lisp/easy-mmode.el (define-minor-mode):
5684 Doc fixes for the macro and the mode it defines.
5685
dd605cc4
GM
5686 * image.el (imagemagick-types-inhibit): Doc fix.
5687
af008560
GM
5688 * cus-start.el (imagemagick-render-type): Add it.
5689
5cc59a37
LI
56902012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5691
4d6769e1
JB
5692 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5693 Set the default at load time, too, so that `font-lock-fontify-buffer'
5694 can be called without setting up the entire mode first. This fixes
5695 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5696
9a6dd747
CY
56972012-02-06 Chong Yidong <cyd@gnu.org>
5698
2d16b285
CY
5699 * simple.el (list-processes--refresh): Delete exited processes
5700 (Bug#8094).
5701
171e9b6e
CY
5702 * comint.el (comint-next-prompt): next-single-char-property-change
5703 and prev-single-char-property-change never return nil (Bug#8657).
5704
9a6dd747
CY
5705 * custom.el (defcustom): Doc fix (Bug#9711).
5706
aa4589a7
CY
57072012-02-05 Chong Yidong <cyd@gnu.org>
5708
5c2a252f
CY
5709 * cus-edit.el (custom-variable-reset-backup): Quote the value
5710 before storing it in the customized-value property (Bug#6712).
4aab9006 5711 (custom-display): Add a customization type tag.
983b9602 5712 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5713
aa4589a7
CY
5714 * wid-edit.el (widget-field-value-get): New optional arg to
5715 suppress trailing whitespace truncation.
5716 (character): Use it (Bug#2689).
5717
1ff980ae
AS
57182012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5719
5720 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5721 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5722
03988c98
CY
57232012-02-05 Chong Yidong <cyd@gnu.org>
5724
eeb6cc88
CY
5725 * cus-edit.el (custom-variable-value-create): For mismatched
5726 types, show the current value (Bug#7600).
5727
03988c98
CY
5728 * custom.el (defcustom): Doc fix.
5729
f8cdeef0
GM
57302012-02-05 Glenn Morris <rgm@gnu.org>
5731
5732 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5733
0696d255
JB
57342012-02-05 Juanma Barranquero <lekktu@gmail.com>
5735
5736 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5737 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5738 (pp-last-sexp): Use `looking-at-p'.
5739
34c99998
GM
57402012-02-04 Glenn Morris <rgm@gnu.org>
5741
8f05da42
GM
5742 * files.el (revert-buffer):
5743 Doc fix (mention revert-buffer-in-progress-p).
5744
f160676e
GM
5745 * emacs-lisp/ert-x.el (ert-simulate-command):
5746 Check deferred-action-list (which is obsolete) is bound.
5747
c7291ad9
GM
5748 * subr.el (with-wrapper-hook): Doc fixes.
5749
34c99998
GM
5750 * simple.el (filter-buffer-substring-functions)
5751 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5752
6283a7d3
LL
57532012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5754
5755 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5756 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5757
e96e3013
LL
57582012-02-04 Leo Liu <sdl.web@gmail.com>
5759
5760 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5761
8ded50f2
GM
57622012-02-04 Glenn Morris <rgm@gnu.org>
5763
82ff1d13
GM
5764 * image.el (image-extension-data): Add obsolete alias.
5765
987a0a16
GM
5766 * isearch.el (isearch-update): Doc fix.
5767
ea32ef46
GM
5768 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5769
8ded50f2
GM
5770 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5771
eea14f31
GM
57722012-02-03 Glenn Morris <rgm@gnu.org>
5773
5774 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5775 (image-animate-timeout): Doc fix.
5776
5777 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5778
12f381b7
GM
57792012-02-02 Glenn Morris <rgm@gnu.org>
5780
953cebf5
GM
5781 * server.el (server-auth-dir): Doc fix.
5782 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5783
12f381b7
GM
5784 * subr.el (run-mode-hooks): Doc fix.
5785
953a8c3b
JL
57862012-02-02 Juri Linkov <juri@jurta.org>
5787
5788 * image-mode.el (image-toggle-display-image): Remove tautological
5789 `major-mode' from the `derived-mode-p' test.
5790
c5d3843c
KH
57912012-02-02 Kenichi Handa <handa@m17n.org>
5792
9f6e692e 5793 * composite.el (compose-region): Cancel previous change.
c5d3843c 5794
159462d4 57952012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5796
5797 * composite.el (compose-region, compose-string): Signal error for
5798 a null string component (Bug#6988).
5799
9f562668
CY
58002012-02-01 Chong Yidong <cyd@gnu.org>
5801
e2cef717
CY
5802 * view.el (view-buffer-other-window, view-buffer-other-frame):
5803 Handle special modes like view-buffer (Bug#10650).
5804 (view-buffer): Simplify.
5805
9f562668
CY
5806 * frame.el (set-frame-font): Tweak meaning of third argument.
5807
9f6e692e
JB
5808 * dynamic-setting.el (font-setting-change-default-font):
5809 Use set-frame-font (Bug#9982).
9f562668 5810
781acb9f
GM
58112012-02-01 Glenn Morris <rgm@gnu.org>
5812
6035be52
GM
5813 * progmodes/compile.el (compilation-internal-error-properties):
5814 Respect compilation-first-column in the "*compilation*" buffer.
5815
781acb9f
GM
5816 * emacs-lisp/easy-mmode.el (define-minor-mode):
5817 Relax :variable's test for a named function.
5818
abbceb00
AM
58192012-01-31 Alan Mackenzie <acm@muc.de>
5820
5821 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5822 off by one error.
5823
fce3fdeb
CY
58242012-01-31 Chong Yidong <cyd@gnu.org>
5825
5826 * frame.el (set-frame-font): New arg ALL-FRAMES.
5827
5828 * menu-bar.el (menu-set-font): Use set-frame-font.
5829
5830 * faces.el (face-spec-reset-face): Don't apply unspecified
5831 attribute values to the default face.
5832
47893581
JB
58332012-01-31 Juanma Barranquero <lekktu@gmail.com>
5834
5835 * progmodes/cwarn.el (cwarn): Remove dead link.
5836 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5837 Remove * from defcustom docstrings.
5838 (turn-on-cwarn-mode): Make obsolete.
5839 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5840 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5841
e58e988a
GM
58422012-01-31 Glenn Morris <rgm@gnu.org>
5843
60dc2671 5844 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5845 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5846 Allow named functions to be used as the cdr of :variable.
e58e988a 5847
7a3f511d
GM
58482012-01-30 Glenn Morris <rgm@gnu.org>
5849
5850 * emacs-lisp/authors.el (authors-fixed-entries):
5851 Remove reference to deleted file rnewspost.el.
5852
cb882333
JB
58532012-01-29 Juanma Barranquero <lekktu@gmail.com>
5854
5855 * window.el (window-with-parameter): Remove unused variable `windows'.
5856 (window--side-check): Remove unused variable `code'.
5857 (window--resize-siblings): Remove unused variable `first'.
5858 (adjust-window-trailing-edge): Remove unused variable `failed'.
5859 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5860 Use `let', not `let*'.
5861 (balance-windows-2): Remove unused variable `found'.
5862 (window--state-put-2): Remove unused variable `splits'.
5863 (window-state-put): Remove unused variable `selected'.
5864 (same-window-p): Use `string-match-p'.
5865 (display-buffer-assq-regexp): Remove unused variable `value'.
5866 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5867 Mark argument ALIST as ignored.
5868 (pop-to-buffer): Remove unused variable `old-window'.
5869
907201af
EZ
58702012-01-29 Eli Zaretskii <eliz@gnu.org>
5871
5872 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5873 and .lzma compressed files.
5874
ea162670
CY
58752012-01-29 Chong Yidong <cyd@gnu.org>
5876
5b95ee8a
CY
5877 * frame.el (window-system-default-frame-alist): Doc fix.
5878
ea162670
CY
5879 * dynamic-setting.el (font-setting-change-default-font): Don't
5880 change the default face if SET-FONT argument is non-nil (Bug#9982).
5881
d6e6f4b1
SB
58822012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5883
5884 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5885
0f29fa41 58862012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5887
5888 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5889 breakpoints in files outside current directory (Bug#6098).
5890
db174434
CY
58912012-01-29 Chong Yidong <cyd@gnu.org>
5892
6b25e4e2
SE
5893 * progmodes/python.el: Require ansi-color at top-level.
5894
6df6ae42
JB
5895 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5896 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5897 (lisp-mode-abbrev-table): Add doc.
5898 (lisp-mode-variables): Don't set local-abbrev-table.
5899 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5900
e70ee681
RW
59012012-01-28 Roland Winkler <winkler@gnu.org>
5902
5903 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5904
ace88aa2
RW
59052012-01-28 Roland Winkler <winkler@gnu.org>
5906
5907 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5908 (bibtex-set-dialect): Use it. Either set global values of
5909 dialect-dependent variables or bind these variables buffer-locally
5910 (Bug#10254).
5911 (bibtex-mode): Call bibtex-set-dialect via
5912 hack-local-variables-hook.
eb864a71
LM
5913 (bibtex-dialect): Update docstring.
5914 Add safe-local-variable predicate.
ace88aa2
RW
5915 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5916 bibtex-set-dialect.
5917 (bibtex-mode-map): Define menu for each dialect.
5918 (bibtex-entry): Fix docstring.
5919
93376c5b
CY
59202012-01-28 Chong Yidong <cyd@gnu.org>
5921
5922 * eshell/esh-arg.el (eshell-quote-argument): New function.
5923
5924 * eshell/esh-ext.el (eshell-invoke-batch-file):
5925 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5926 first arg to eshell-parse-command (Bug#10523).
5927
4372494f
DA
59282012-01-28 Drew Adams <drew.adams@oracle.com>
5929
5930 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5931 `default-directory' is non-nil.
5932
4d4ec1f8
EZ
59332012-01-28 Eli Zaretskii <eliz@gnu.org>
5934
5935 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5936 line that displays system-configuration-options. (Bug#9924)
5937
7c188927
DA
59382012-01-28 Drew Adams <drew.adams@oracle.com>
5939
5940 * descr-text.el (describe-char): Show information about POS, in
5941 addition to information about the character at POS. Improve and
5942 update the doc string. Change "code point" to "code point in
5943 charset", to avoid confusion with the character's Unicode code
5944 point shown above that. (Bug#10129)
5945
e0da685a
EZ
59462012-01-28 Eli Zaretskii <eliz@gnu.org>
5947
5948 * descr-text.el (describe-char): Show the raw character, not only
5949 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5950 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5951 for the reasons.
5952
70550acf
PH
59532012-01-28 Phil Hagelberg <phil@hagelb.org>
5954
eb864a71
LM
5955 * emacs-lisp/package.el (package-install):
5956 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5957
0ce8e868
CY
59582012-01-28 Chong Yidong <cyd@gnu.org>
5959
cb882333
JB
5960 * emacs-lisp/package.el (package-maybe-load-descriptor):
5961 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5962 (package-maybe-load-descriptor): Use it.
5963 (package-download-transaction): Fully load required packages
5964 inside the loop, so that `require' calls work (Bug#10593).
5965 (package-install): No need to call package-initialize now.
5966
2e7f3bea
CY
59672012-01-28 Chong Yidong <cyd@gnu.org>
5968
6e9bad14
CY
5969 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5970
f823b8ca
CY
5971 * tooltip.el (tooltip-mode): Doc fix.
5972 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5973
2680c309
CY
5974 * frame.el (set-cursor-color): Doc fix (Bug#352).
5975
d7a9e63b
CY
5976 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5977 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5978
2e7f3bea
CY
5979 * cus-edit.el (custom-buffer-create-internal): Fix search button
5980 action (Bug#10542).
2ae01800 5981 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5982
fc4f7a23
EW
59832012-01-27 Eduard Wiebe <usenet@pusto.de>
5984
5985 * dired.el (dired-mark-files-regexp):
5986 Include any subdirectory components. (Bug#10445)
5987
7dd37071
ML
59882012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5989
5990 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5991 Handle [host]:port syntax. (Bug#10533)
5992
a268160b
AH
59932012-01-27 Alex Harsanyi <harsanyi@mac.com>
5994
5995 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5996
e43273ef
GM
59972012-01-26 Glenn Morris <rgm@gnu.org>
5998
5999 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6000 * term.el (term-raw-escape-map): Use Control-X-prefix.
6001 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6002
1edf595d
MR
60032012-01-25 Martin Rudalics <rudalics@gmx.at>
6004
6005 * window.el (window-state-get, window--state-get-1): Don't deal
6006 with fixed-sizeness of windows. Simplify code.
6007
fa8eafef
JC
60082012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6009
6df6ae42
JB
6010 * window.el (window--state-get-1, window--state-put-2):
6011 Don't save and restore the mark.
fa8eafef 6012
0b21c100
CY
60132012-01-25 Chong Yidong <cyd@gnu.org>
6014
6015 * custom.el (custom-variable-p): Doc fix.
6016
5ae1a6c8
GM
60172012-01-25 Glenn Morris <rgm@gnu.org>
6018
40047858
GM
6019 * dired.el (dired-goto-file): Handle some of the more common
6020 characters that `ls -b' escapes. (Bug#10596)
6021
5ddce96c
GM
6022 * progmodes/compile.el (compilation-next-error-function):
6023 Respect compilation-first-column in the "*compilation*" buffer.
6024 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6025
5ae1a6c8
GM
6026 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6027
b559f1a9
GM
60282012-01-24 Glenn Morris <rgm@gnu.org>
6029
6030 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6031
6725d21a
JD
60322012-01-24 Julien Danjou <julien@danjou.info>
6033
6034 * color.el (color-rgb-to-hsl): Fix value computing.
6035 (color-hue-to-rgb): New function.
6036 (color-hsl-to-rgb): New function.
6037 (color-clamp, color-saturate-hsl, color-saturate-name)
6038 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6039 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6040
70df4bbe
GM
60412012-01-24 Glenn Morris <rgm@gnu.org>
6042
6043 * vc/vc-rcs.el (vc-rcs-create-tag):
6044 * vc/vc-sccs.el (vc-sccs-create-tag):
6045 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6046
802a2ae2
ML
60472012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6048
6049 * eshell/esh-util.el (eshell-read-hosts-file):
6050 Skip comment lines. (Bug#10549)
6051
d7128bb1
ML
6052 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6053
d1a5c3b4
JB
60542012-01-23 Juanma Barranquero <lekktu@gmail.com>
6055
2724d9c7
JB
6056 * subr.el (display-delayed-warnings): Doc fix.
6057 (collapse-delayed-warnings): New function to collapse identical
6058 adjacent warnings.
6059 (delayed-warnings-hook): Add it.
d1a5c3b4 6060
a5509865
MA
60612012-01-22 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6064
a5509865
MA
6065 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6066 (tramp-default-user-alist): Don't add "pscp".
6067 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6068 property "login-as", if set. (Bug#10530)
6069
cc6d5805
MA
60702012-01-21 Michael Albinus <michael.albinus@gmx.de>
6071
6072 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6073 "plink1" and "psftp". (Bug#10530)
6074
60752012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6076
6077 * international/mule-cmds.el (prefer-coding-system): Show a
6078 warning message if the default value of file-name-coding-system
6079 was not changed.
6080
f0960428
JC
60812012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6082
cb882333
JB
6083 * windmove.el (windmove-reference-loc):
6084 Fix windmove-reference-loc miscalculation.
f0960428 6085
dd6f2a63
JB
60862012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6087
6088 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6089 default unit.
6090
7b447e9b
GM
60912012-01-21 Glenn Morris <rgm@gnu.org>
6092
117a9ea1
GM
6093 * international/mule.el (auto-coding-alist): Add .tbz.
6094
7b447e9b
GM
6095 * files.el (local-enable-local-variables): Doc fix.
6096 (inhibit-local-variables-regexps): Rename from
6097 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6098 Doc fix. Add some extensions from auto-coding-alist.
6099 (inhibit-local-variables-suffixes):
6100 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6101 (inhibit-local-variables-p):
6102 New function, extracted from set-auto-mode-1.
6103 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6104 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6105 (hack-local-variables): Doc fix. Make the mode-only case
6106 respect enable-local-variables and friends.
6107 Respect inhibit-local-variables-regexps for file-locals, but
6108 not for directory-locals.
6109 (set-visited-file-name):
6110 Take account of inhibit-local-variables-regexps.
6111 Whether it applies may change as the file name is changed.
6112 * jka-cmpr-hook.el (jka-compr-install):
6113 * jka-compr.el (jka-compr-uninstall):
6114 Update for inhibit-first-line-modes-suffixes name change.
6115
dd6e3cdd
MR
61162012-01-20 Martin Rudalics <rudalics@gmx.at>
6117
6118 * help-macro.el (make-help-screen): Temporarily restore original
6119 binding for minor-mode-map-alist (Bug#10454).
6120
0d0deb38
JD
61212012-01-19 Julien Danjou <julien@danjou.info>
6122
6123 * color.el (color-name-to-rgb): Use the white color to find the max
6124 color component value and return correctly computed values.
6125 (color-name-to-rgb): Add missing float conversion for max value.
6126
34a02f46
MR
61272012-01-19 Martin Rudalics <rudalics@gmx.at>
6128
6129 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6130 special state value for window-persistent-parameters.
6131 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6132 (window--state-put-2): Reset all window parameters to nil before
6133 assigning values of persistent parameters.
6134
606c44c4
AM
61352012-01-18 Alan Mackenzie <acm@muc.de>
6136
6137 Eliminate sluggishness and hangs in fontification of "semicolon
6138 deserts".
6139
cb882333
JB
6140 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6141 Change value 10000 -> 3000.
606c44c4
AM
6142 (c-state-safe-place): Reformulate so it doesn't stack up an
6143 infinite number of wrong entries in c-state-nonlit-pos-cache.
6144 (c-determine-limit-get-base, c-determine-limit): New functions to
6145 determine backward search limits disregarding literals.
6146 (c-find-decl-spots): Amend commenting.
6147 (c-cheap-inside-bracelist-p): New function which detects "={".
6148
6149 * progmodes/cc-fonts.el
6150 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6151 backward search.
6152 (c-font-lock-declarations): Fix an occurrence of point being
6153 undefined. Check additionally for point being in a bracelist or
6154 near a macro invocation without a semicolon so as to avoid a
6155 fruitless time consuming search for a declarator. Give a more
6156 precise search limit for declarators using the new
6157 c-determine-limit.
6158
f3860cea
GM
61592012-01-18 Glenn Morris <rgm@gnu.org>
6160
6161 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6162 (set-auto-mode): Doc fixes.
6163
1db03b16
GM
61642012-01-17 Glenn Morris <rgm@gnu.org>
6165
0e6038be
GM
6166 * isearch.el (search-nonincremental-instead): Fix doc typo.
6167
1db03b16
GM
6168 * dired.el (dired-insert-directory): Handle newlines in directory name.
6169 (dired-build-subdir-alist): Unescape newlines in directory name.
6170
4cb0aa75
MA
61712012-01-17 Michael Albinus <michael.albinus@gmx.de>
6172
6173 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6174 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6175 (tramp-action-terminal): Use it. (Bug#10530)
6176
1d00653d
SM
61772012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6180
6a6ee00d
MR
61812012-01-16 Martin Rudalics <rudalics@gmx.at>
6182
6183 * window.el (window-state-ignored-parameters): Remove variable.
6184 (window--state-get-1): Rename argument MARKERS to IGNORE.
6185 Handle persistent window parameters. Make copy of clone-of
6186 parameter only if requested. (Bug#10348)
6187 (window--state-put-2): Install a window parameter only if it has
6188 a non-nil value or an existing parameter shall be overwritten.
6189
97912def
MA
61902012-01-15 Michael Albinus <michael.albinus@gmx.de>
6191
6192 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6193
688070a5
EZ
61942012-01-14 Eli Zaretskii <eliz@gnu.org>
6195
6196 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6197 don't pass the (nil) value of `upnode' to string-match.
6198
301afadc
CY
61992012-01-14 Chong Yidong <cyd@gnu.org>
6200
6201 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6202 Fix values recognized by the cursorBlink resource.
301afadc 6203
9e5788aa
PE
62042012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6205
6206 * epg.el (epg--make-temp-file): Avoid permission race condition
6207 when running on old Emacs versions (bug#10403).
6208
3cdb7f5a
GM
62092012-01-14 Glenn Morris <rgm@gnu.org>
6210
6211 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6212
8c82b1b4
AM
62132012-01-13 Alan Mackenzie <acm@muc.de>
6214
6215 Fix filling for when filladapt mode is enabled.
6216
6217 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6218 c-mask-paragraph, pass in `fill-paragraph' rather than
6219 `fill-region-as-paragraph'. (This is a reversion of a previous
6220 change.)
eb864a71
LM
6221 * progmodes/cc-mode.el (c-basic-common-init):
6222 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6223
e517eda4
GM
62242012-01-13 Glenn Morris <rgm@gnu.org>
6225
1498536e
GM
6226 * dired.el (dired-switches-escape-p): New function.
6227 (dired-insert-directory): Use dired-switches-escape-p.
6228 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6229
e517eda4
GM
6230 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6231
328f984d
GM
62322012-01-12 Glenn Morris <rgm@gnu.org>
6233
6234 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6235 changes in adaptive-fill-regexp. (Bug#10276)
6236
2cc769a8
AM
62372012-01-11 Alan Mackenzie <acm@muc.de>
6238
6239 Fix Emacs bug #10463 - put `widen's around the critical spots.
6240
1d00653d 6241 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6242 widen around each invocation of c-state-pp-to-literal. Remove an
6243 unused let variable.
6244
e52c37fa
GM
62452012-01-11 Glenn Morris <rgm@gnu.org>
6246
6247 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6248 Doc fix.
e52c37fa 6249
96f8741e
CY
62502012-01-10 Chong Yidong <cyd@gnu.org>
6251
1d00653d
SM
6252 * net/network-stream.el (network-stream-open-starttls):
6253 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6254 response to the capability command.
6255
b09a806e
GM
62562012-01-10 Glenn Morris <rgm@gnu.org>
6257
6258 * mail/unrmail.el (unrmail): Tweak previous change.
6259
7655cb66
CY
62602012-01-09 Chong Yidong <cyd@gnu.org>
6261
6262 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6263
9d5a8f0b
AM
62642012-01-08 Alan Mackenzie <acm@muc.de>
6265
6266 Optimise font locking in long enum definitions.
6267
6268 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6269 arm to a cond form to handle enums.
6270 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6271 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6272
9a0115ab 62732012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6274
6275 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6276 (Bug#10401)
6bb72cbd 6277
f186bb95
LMI
62782012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6279
29232a68
LMI
6280 * faces.el (set-face-attribute): Clarify the meaning of the nil
6281 frame (bug#10294).
6282
4e5d086d
LMI
6283 * subr.el (with-selected-frame): Mention that the selected frame
6284 is restored (bug#9980).
6285
8e66aebe
LMI
6286 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6287 (bug#9759).
6288
cd394be1 6289 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6290 (password-read): Don't autoload unused function.
6291
adf4e762
JB
62922012-01-07 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * progmodes/which-func.el (which-func-mode): Turn into a
6295 non-interactive function and mark as obsolete (bug#10428).
6296
89bd9ccd
CY
62972012-01-06 Chong Yidong <cyd@gnu.org>
6298
6299 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6300 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6301 functions, along with 1 and -1.
6302
4afee9d5
EZ
63032012-01-06 Eli Zaretskii <eliz@gnu.org>
6304
6305 * time.el (display-time-load-average)
6306 (display-time-default-load-average): Doc fixes. See the thread
6307 starting at
6308 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6309 for the details.
6310
536aea70
GM
63112012-01-06 Glenn Morris <rgm@gnu.org>
6312
665ae865
GM
6313 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6314 has no messages. (Bug#10377)
6315
c869783d
GM
6316 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6317 than Info-edit. (Bug#10385)
6318
2bb4227e
GM
6319 * time.el (display-time-load-average, display-time-next-load-average):
6320 Doc fixes.
6321
7d5944b9
GM
6322 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6323 local setting of buffer-read-only to the input buffer. (Bug#10419)
6324
536aea70
GM
6325 * calendar/calendar.el (calendar-mode):
6326 Locally set scroll-margin to 0. (Bug#10379)
6327
7dccca16
UM
63282012-01-06 Ulrich Mueller <ulm@gentoo.org>
6329
6330 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6331
afbb7930
GM
63322012-01-05 Glenn Morris <rgm@gnu.org>
6333
6334 * eshell/em-unix.el (diff-no-select): Autoload it.
6335 (eshell/diff): Use diff-no-select. (Bug#10420)
6336
04482335
CY
63372012-01-05 Chong Yidong <cyd@gnu.org>
6338
7baca3bc
CY
6339 * shell.el (shell-dynamic-complete-functions): Revert last change.
6340 (shell-command-completion-function): New function.
6341 (shell-completion-vars): Use it to implement
6342 shell-completion-execonly (Bug#10417).
6343
04482335
CY
6344 * custom.el (enable-theme): Don't set custom-safe-themes.
6345
1d00653d
SM
6346 * cus-theme.el (custom-theme-merge-theme):
6347 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6348
bb5aa5d6
MM
63492012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6350
6351 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6352 first prompt in `sql-interacive-mode'.
6353 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6354 keywords.
6df6ae42 6355 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6356 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6357 context of original buffer. Invoke `sql-login-hook'.
6358
a7183d7c
EZ
63592012-01-04 Eli Zaretskii <eliz@gnu.org>
6360
6361 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6362 letters in cite-prefix.
6363
a1eacd1e
LMI
63642012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
6366 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6367
787cdb34
CY
63682012-01-03 Chong Yidong <cyd@gnu.org>
6369
1d00653d
SM
6370 * shell.el (shell-dynamic-complete-functions):
6371 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6372 comint-filename-completion first (Bug#10417).
6373
30710442
RS
63742012-01-02 Richard Stallman <rms@gnu.org>
6375
6376 * battery.el (battery-status-function):
6377 Detect when to use battery-yeeloong-sysfs.
6378 (battery-echo-area-format): Add string for Yeeloong.
6379 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6380 (battery-yeeloong-sysfs): New function.
6381
f75bfc33
CY
63822012-01-02 Chong Yidong <cyd@gnu.org>
6383
6384 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6385 (dirtrack): Merge code for handling relative filenames in prompt
6386 from shell-dir-cookie-watcher.
6387 (dirtrack-debug-message): New arg to avoid excess format calls.
6388
6389 * shell.el (shell-dir-cookie-re): Variable deleted.
6390 (shell-dir-cookie-watcher): Function deleted.
6391 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6392 with dirtrack-mode.
6393
651e947e
EZ
63942012-01-01 Eli Zaretskii <eliz@gnu.org>
6395
1d00653d
SM
6396 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6397 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6398 libgnutls-26.dll.
6399
94d4c7dc
AS
64002011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6401
6402 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6403
8d43f3cd
EZ
64042011-12-31 Eli Zaretskii <eliz@gnu.org>
6405
6406 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6407 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6408
98c8795a
MA
64092011-12-29 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6412 also for alternative shells.
6413 (tramp-open-connection-setup-interactive-shell): Check, whether
6414 the shell is a busybox.
6415 (tramp-send-command): Don't suppress multiple prompts for
6416 busyboxes, it hurts.
6417
51281b32
CY
64182011-12-28 Chong Yidong <cyd@gnu.org>
6419
6420 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6421 (gdb-get-source-file): Move mode line update to
6422 gdb-get-source-file (Bug#10087).
6423
2170cb53
CY
64242011-12-25 Chong Yidong <cyd@gnu.org>
6425
6426 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6427 gud-gdb-marker-filter without taking it as an argument.
6428 (gud-gdb-run-command-fetch-lines): Caller changed.
6429 (gud-gdb-completion-function): New variable.
6430 (gud-gdb-completion-at-point): Use it.
6431 (gud-gdb-completions-1): Split from gud-gdb-completions.
6432
6433 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6434 function as separate arguments.
6435 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6436 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6437 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6438 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6439 (gdb-stopped, def-gdb-auto-update-trigger)
6440 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6441 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6442 Callers changed.
2170cb53
CY
6443 (gud-gdbmi-completions): New function.
6444 (gdb): Use it for generating the completion table.
6445
be8b11bb
AM
64462011-12-24 Alan Mackenzie <acm@muc.de>
6447
6448 Introduce a mechanism to widen the region used in context font
1d00653d 6449 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6450
1d00653d
SM
6451 * progmodes/cc-langs.el (c-before-font-lock-functions):
6452 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6453 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6454 functions to be run just before context (etc.) font locking.
6455
6456 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6457 New, functionality extracted from
be8b11bb 6458 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6459 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6460 (c-after-change): Set c-in-after-change-fontification.
6461 (c-set-fl-decl-start): Rejig its interface, so it can be called
6462 from both after-change and context fontifying.
b81d40f0
JB
6463 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6464 New functions.
6465 (c-standard-font-lock-fontify-region-function): New variable.
6466 (c-font-lock-fontify-region): New function.
be8b11bb 6467
341cf6ac
JL
64682011-12-24 Juri Linkov <juri@jurta.org>
6469
6470 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6471 (Bug#10348)
6472
bffcee0a
MA
64732011-12-23 Michael Albinus <michael.albinus@gmx.de>
6474
6475 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6476 existence of source file. (Bug#10325)
6477
cb5e207c
AM
64782011-12-23 Alan Mackenzie <acm@muc.de>
6479
6480 Fix unstable fontification inside templates.
6481
b81d40f0
JB
6482 * progmodes/cc-langs.el (c-before-font-lock-functions):
6483 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6484 additionally has c-set-fl-decl-start. The other languages (apart
6485 from AWK) have that as a single entry.
6486
b81d40f0
JB
6487 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6488 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6489 c-set-fl-decl-start.
6490
b81d40f0
JB
6491 * progmodes/cc-mode.el (c-common-init, c-after-change):
6492 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6493 (c-set-fl-decl-start): New function, extracted from
6494 c-font-lock-enclosing-decls and enhanced.
6495
60ff536c
JB
64962011-12-23 Juanma Barranquero <lekktu@gmail.com>
6497
6498 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6499
1c4757d6
JL
65002011-12-22 Juri Linkov <juri@jurta.org>
6501
6502 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6503
d031f2c7
CY
65042011-12-22 Chong Yidong <cyd@gnu.org>
6505
6506 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6507
bace743a
DA
65082011-12-21 Drew Adams <drew.adams@oracle.com>
6509
6510 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6511
728a1f2b
JC
65122011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6513
6514 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6515
0d373f73
TZ
65162011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6517
fec0aaa4
TZ
6518 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6519 highlighting and support. Fix up comments for capitalization.
6520 (cfengine-mode-debug): New var.
6521 (cfengine3-mode): Change the modeline indicator to "CFE3".
6522 (cfengine3-font-lock-keywords): Improve defun highlighting.
6523 (cfengine2-actions): Rename from `cfengine-actions'.
6524 (cfengine2-font-lock-keywords): Rename from
6525 `cfengine-font-lock-keywords'.
6526 (cfengine2-imenu-expression): Rename from
6527 `cfengine-imenu-expression'.
6528 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6529 (cfengine2-beginning-of-defun): Rename from
6530 `cfengine-beginning-of-defun'.
6531 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6532 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6533 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6534 modeline indicator to "CFE2".
6535 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6536 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6537
bc86f573
CY
65382011-12-21 Chong Yidong <cyd@gnu.org>
6539
6540 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6541 filename argument.
6542
d45ba96b
MR
65432011-12-20 Martin Rudalics <rudalics@gmx.at>
6544
6545 * window.el (window-normalize-buffer-to-display): Remove.
6546 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6547
a6198c90
CY
65482011-12-19 Chong Yidong <cyd@gnu.org>
6549
6550 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6551 Don't signal an error in a predicate function; return non-nil.
6552 (vc-dir-mark-file): Move the error here.
6553 (vc-dir-mark-unmark): If acting on the region, keep going if one
6554 of the entries cannot be marked/unmarked.
6555 (vc-dir-mark-all-files): If current entry is a directory, mark
6556 only child files, as documented.
6557
34c5fb55
VB
65582011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6559
6560 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6561 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6562 addition.
6563
c803b2b7
JD
65642011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6565
6566 * term/ns-win.el (ns-get-selection-internal)
6567 (ns-store-selection-internal): Declare.
1154d12e
JB
6568 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6569 Declare as obsolete.
6570 (ns-get-pasteboard, ns-paste-secondary):
6571 Use ns-get-selection-internal.
6572 (ns-set-pasteboard, ns-copy-including-secondary):
6573 Use ns-store-selection-internal.
c803b2b7 6574
9cff91f8 65752011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6576
6577 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6578 (vc-deduce-fileset): Doc fix.
99a289d9 6579
f16c898a
AS
65802011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6581
6582 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6583
763237c4
SS
65842011-12-13 Sam Steingold <sds@gnu.org>
6585
6586 * man.el (Man-getpage-in-background): When running under a
6587 window-system, ignore $MANWIDTH and $COLUMNS.
6588
5fc1c122
KH
65892011-12-15 Kenichi Handa <handa@m17n.org>
6590
6591 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6592 (setup-ethiopic-environment-internal): Comment out key-binding for
6593 ethio-toggle-punctuation.
6594
13d49cbb
AM
65952011-12-13 Alan Mackenzie <acm@muc.de>
6596
898169a2
AM
6597 Add the switch statement to AWK Mode.
6598
7a71b18d 6599 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6600 "default" to the keywords regexp.
6601
7a71b18d 6602 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6603 expression as the rest.
1d00653d
SM
6604 (c-nonlabel-token-key): Allow string literals for AWK.
6605 Refactor for the other modes.
898169a2 6606
13d49cbb 6607 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6608 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6609 routines. Limit backward searching in c-font-lock-enclosing.decl.
6610
6611 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6612 pp-state and literal type in addition to the limits.
1d00653d 6613 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6614 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6615 (c-slow-in-literal, c-fast-in-literal): Remove.
6616 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6617
6618 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6619 being in a literal. Add a limit for backward searching.
6620
6621 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6622 c-slow-in-literal.
6623
15e0efc7
SM
66242011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6627
454592a6
MR
66282011-12-13 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (delete-other-windows): Use correct frame in call to
6631 window-with-parameter.
6632
87393f26
DP
66332011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6634
6635 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6636 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6637 (makefile-gmake-statements, makefile-makepp-statements):
6638 Use it and add new makepp keywords.
6639 (makefile-makepp-font-lock-keywords): Add new patterns.
6640 (makefile-match-function-end): Match new [...] and [[...]].
6641
11636b22
JB
66422011-12-11 Juanma Barranquero <lekktu@gmail.com>
6643
6644 * ses.el (ses-call-printer-return, ses-cell-property-get)
6645 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6646 (ses-create-cell-variable, ses-reset-header-string)
6647 (ses-cell-set-formula, ses-repair-cell-reference-all)
6648 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6649 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6650 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6651 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6652 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6653 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6654 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6655 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6656 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6657 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6658 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6659 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6660
cf018193
VB
66612011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6662
6663 * ses.el: The overall change is to add cell renaming, that is
6664 setting fancy names for cell symbols other than name matching
6665 "\\`[A-Z]+[0-9]+\\'" regexp .
6666 (ses-create-cell-variable): New defun.
6667 (ses-relocate-formula): Relocate formulas only for cells the
6668 symbols of which are not renamed, i.e. symbols whose names do not
6669 match regexp "\\`[A-Z]+[0-9]+\\'".
6670 (ses-relocate-all): Relocate values only for cells the symbols of
6671 which are not renamed.
6672 (ses-load): Create cells variables as the (ses-cell ...) are read,
6673 in order to check row col consistency with cell symbol name only
6674 for cells that are not renamed.
6675 (ses-replace-name-in-formula): New defun.
6676 (ses-rename-cell): New defun.
6677
ee957461
CY
66782011-12-11 Chong Yidong <cyd@gnu.org>
6679
6680 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6681 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6682
9a9e9ef0
MR
66832011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6684
6685 * window.el (other-window): Fix docstring.
6686
92a8eba5
EZ
66872011-12-10 Eli Zaretskii <eliz@gnu.org>
6688
6689 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6690 `from' or `to' address before taking its substring.
6691 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6692 encoded name is chopped in the middle of the encoded string, and
6693 thus displayed encoded.
6694
e152e577
JB
66952011-12-10 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6698
e5d84bfe
EZ
66992011-12-10 Eli Zaretskii <eliz@gnu.org>
6700
6701 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6702 to use texinfo-update-node and commands that call it if the
6703 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6704 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6705 (texinfo-all-menus-update, texinfo-master-menu)
6706 (texinfo-update-node, texinfo-every-node-update)
6707 (texinfo-multiple-files-update): Doc fix. Warn against updating
6708 all the @node lines.
6709 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6710 argument is numeric. Explain better in the doc string what the
6711 function really does.
6712 (texinfo-insert-master-menu-list): Improve the error message
6713 displayed if there's no menu in the Top node.
6714 (Bug#2975) See also this thread:
e5d84bfe
EZ
6715 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6716
1d84e9bb
MG
67172011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6718
6719 * speedbar.el (speedbar-supported-extension-expressions):
6720 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6721
382c953b
JB
67222011-12-09 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * printing.el (pr-mode-alist):
6725 * simple.el (filter-buffer-substring-functions)
6726 (completion-list-insert-choice-function):
6727 * window.el (window-with-parameter, window-atom-root)
6728 (window-sides-slots, window-size-fixed, window-min-delta)
6729 (window-max-delta, window--resize-mini-window)
6730 (window--resize-child-windows-normal, window-tree)
6731 (delete-other-windows, quit-window, split-window)
6732 (display-buffer-record-window, special-display-buffer-names)
6733 (special-display-regexps, special-display-popup-frame)
6734 (same-window-p, split-window-sensibly)
6735 (display-buffer-overriding-action, display-buffer-alist)
6736 (display-buffer-base-action, display-buffer, switch-to-buffer)
6737 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6738 (fit-window-to-buffer, recenter-positions)
6739 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6740 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6741 and remove unneeded backslashes in docstrings.
6742
39c9faef
SM
67432011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6744
98449af8
SM
6745 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6746
39c9faef
SM
6747 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6748 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6749 end in ".mk".
6750 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6751 when reading the makefile (bug#10116).
6752
86ed9fdc
SM
67532011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6756 (bug#10116).
6757
5580f89d
GM
67582011-12-06 Glenn Morris <rgm@gnu.org>
6759
6760 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6761
28d3917c
CY
67622011-12-06 Chong Yidong <cyd@gnu.org>
6763
6764 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6765
a98edce9
JB
67662011-12-06 Juanma Barranquero <lekktu@gmail.com>
6767
6768 * textmodes/table.el (table-shorten-cell): Fix typo.
6769
e65adfac
CG
67702011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6771
6772 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6773
71cc0b74
EZ
67742011-12-05 Eli Zaretskii <eliz@gnu.org>
6775
6776 * descr-text.el (describe-char): Fix display of strong
6777 right-to-left characters and directional embeddings and overrides.
6778
6779 * simple.el (what-cursor-position): Fix display of codepoints of
6780 strong right-to-left characters.
6781
315bc30d
CY
67822011-12-05 Chong Yidong <cyd@gnu.org>
6783
6784 * faces.el (read-color): Doc fix.
6785
58a70b94
GM
67862011-12-05 Glenn Morris <rgm@gnu.org>
6787
6788 * align.el (align--set-marker): Add doc-string.
6789 Don't try to move something that is not a marker. (Bug#10216)
6790
5158face
GM
67912011-12-04 Glenn Morris <rgm@gnu.org>
6792
6793 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6794 overly zealous deletion of trailing whitespace.
6795
520fca41
JB
67962011-12-04 Juanma Barranquero <lekktu@gmail.com>
6797
6798 * server.el (server-delete-client): On Windows, do not try to delete
6799 the only terminal.
6800 (server-process-filter): On Windows, treat requests for a tty frame as
6801 if they were for a GUI frame if the running server is in GUI mode.
6802
5e605a2e
GM
68032011-12-03 Glenn Morris <rgm@gnu.org>
6804
6805 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6806
5c3fe83f
SM
68072011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6f5e57e7
SM
6809 * electric.el: Streamline electric-indent's hook.
6810 (electric-indent-chars): Revert to simple list.
6811 (electric-indent-functions): New var.
6812 (electric-indent-post-self-insert-function): Use it.
6813
5c3fe83f
SM
6814 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6815 there's no inferior buffer (bug#10196).
6816 (prolog-consult-compile): Don't use toggle-read-only.
6817
6bdac736
MA
68182011-12-02 Michael Albinus <michael.albinus@gmx.de>
6819
6820 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6821 interrupt. (Bug#10187)
6822
6131ba7f
SM
68232011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6824
99c79fee
SM
6825 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6826 (bug#9160).
6827
6131ba7f
SM
6828 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6829 (bug#10191).
6830
cb0a02ea
JL
68312011-12-02 Juri Linkov <juri@jurta.org>
6832
6833 * info.el (Info-search): Display "end of manual" when Isearch
6834 reaches the end of single-file Info manual. (Bug#9918)
6835
66e0570c
EZ
68362011-12-02 Eli Zaretskii <eliz@gnu.org>
6837
6838 * isearch.el (isearch-message-prefix): Run the input method part
6839 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6840
02b16839
JL
68412011-12-02 Juri Linkov <juri@jurta.org>
6842
6843 * isearch.el (isearch-occur): Use `word-search-regexp' for
6844 `isearch-word'.
6845 (isearch-search-and-update): Add condition for `isearch-word' and
6846 call `word-search-regexp'. (Bug#10145)
6847
0b950688
GM
68482011-12-01 Glenn Morris <rgm@gnu.org>
6849
6850 * eshell/em-hist.el (eshell-hist-initialize):
6851 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6852 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6853
9505c3c7
SM
68542011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6857
1bbe96b2 68582011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6859
a1beca85
SM
6860 * progmodes/verilog-mode.el (verilog-pretty-expr):
6861 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6862 verilog, such as += *= and the like.
6863 (verilog-assignment-operator-re): Regular expression to find the
6864 assigment operator in a verilog assignment.
6865 (verilog-assignment-operation-re): Regular expression to find an
6866 assignment statement for pretty-expr.
6867 (verilog-in-attribute-p): Query returns true if point is in an
6868 attribute context; used to skip these for expression line up from
6869 pretty-expr.
6870 (verilog-in-parameter-p): Query returns true if point is in an
6871 parameter definition context; used to skip these for expression
6872 line up from pretty-expr.
6873 (verilog-in-parenthesis-p): Query returns true if point is in a
6874 parenthetical expression, specifically ( ) but not [ ] or { };
6875 used by pretty-expr.
6876 (verilog-just-one-space): If there is no space, don't add one.
6877 (verilog-get-lineup-indent-2): Specifically skip just attribute
6878 contexts for expression lineup, rather than skipping all
6879 parenthetical expressions.
6880 (verilog-calculate-indent): Fix comment, and fix indent.
6881 (verilog-do-indent): Indent declarations in lists (suggested by
6882 Joachim Lechner).
6883 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6884 skeleton items.
6885 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6886 by Alain Mellan).
6887
1bbe96b2 68882011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6889
6890 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6891 parameters with embedded comments. Reported by Ray Stevens.
6892 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6893 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6894 Reported by Tim Holt.
6895 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6896 instantiated by upper module causing wrong expansion until AUTOed a
6897 second time. Reported by K C Buckenmaier.
6898 (verilog-diff-auto): Fix showing .* as a difference when
6899 `verilog-auto-star-save' off. Reported by Dan Dever.
6900 (verilog-auto-reset, verilog-read-always-signals)
6901 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6902 temporary signals in reset list if
6903 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6904 style to each signal's assignment type, bug381.
6905 Reported by Thomas Esposito.
6288f0ca
WS
6906 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6907 (verilog-uvm-statement-re): Support UVM indentation and
6908 highlighting, with old OVM keywords only.
a1beca85 6909 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6910 Support AUTOTIEOFF creating non-wire data types.
6911 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6912 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6913 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6914 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6915 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6916 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6917 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6918 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6919 non-numeric vector width. Reported by Alex Reed.
6920 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6921 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6922 (verilog-auto-delete-trailing-whitespace):
6923 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6924 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6925 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6926 Fix verilog-scan-cache corruption when running user AUTO expansion
6927 hooks that call indentation routines.
6928 (verilog-simplify-range-expression): Fix typo ignoring lower case
6929 identifiers.
6930 (verilog-delete-auto): Fix delete-autos to also remove user created
6931 automatics, as long as they start with AUTO.
6932 (verilog-batch-diff-auto, verilog-diff-auto)
6933 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6934 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6935 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6936 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6937 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6938 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6939 is disabled and its cache will get corrupt, causing AUTOS not to
6940 expand. Instead use only -quick functions.
6941 (verilog-scan-region): Fix scanning over escaped quotes.
6942 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6943 (verilog-re-search-backward-quick)
6944 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6945 related functions now ignore strings, to fix misparsing of strings
6946 with magic comments embedded in them.
a1beca85
SM
6947 (verilog-read-auto-template):
6948 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6949 Reported by Brad Dobbie.
6950 (verilog-read-auto-template):
6951 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6952 Reported by Brad Dobbie.
6288f0ca
WS
6953 (verilog-auto-inst, verilog-auto-inst-param)
6954 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6955 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6956 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6957 debugging templates without merge conflicts, bug357.
6958 Reported by Brad Dobbie.
6959 (verilog-read-auto-template):
6960 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6961 Reported by Brad Dobbie.
6962 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6963 abbrevs so user won't be asked to save.
6964 (verilog-read-auto-lisp-present): Fix to start at beginning of
6965 buffer in case called outside of verilog-auto.
6966 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6967 to "X-2". Reported by Matthew Myers.
6968 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6969 all inputs from module templates. Reported by Leith Johnson.
6970 (verilog-module-inside-filename-p): Fix locating programs as with
6971 modules.
6972 (verilog-auto-inst-port): Fix vl-width expressions when using
6973 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6974 (verilog-decls-get-regs, verilog-decls-get-signals,
6975 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6976 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6977 verilog-read-decls): Combine reg and wire structures into one var
6978 structure to represent SystemVerilog concepts.
6979 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6980 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6981 (verilog-auto-wire-type, verilog-insert-definition):
6982 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6983 SystemVerilog "logic" keyword instead of "wire"/"reg".
6984 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6985 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6986 ifdef or generate if so there's not a driver conflict).
6987 Reported by Matthew Myers.
6988 (verilog-auto-declare-nettype, verilog-insert-definition):
6989 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6990 `default_nettype none. Reported by Julian Gorfajn.
6991 (verilog-read-always-signals-recurse, verilog-read-decls)
6992 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6993 malformed end statement, bug325. Reported by Joshua Wise and
6994 Andrew Drake.
6995 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6996 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6997 when expanding .* in interfaces, bug320.
6998 Reported by Pierre-David Pfister.
6288f0ca 6999 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7000 name and open parenthesis, bug317.
7001 Reported by Pierre-David Pfister.
6288f0ca
WS
7002 (verilog-simplify-range-expression): Fix simplification of
7003 multiplications inside AUTOWIRE connections, bug303.
7004 (verilog-auto-inst-port): Support parameter expansion in
7005 multidimensional arrays.
7006 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7007 after "assert property". Reported by Julian Gorfajn.
7008 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7009 with multiplication, bug303.
7010 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7011 Reported by Jan Frode Lonnum.
7012
1bbe96b2
GM
70132011-11-30 Juanma Barranquero <lekktu@gmail.com>
7014
7015 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7016 (hfy-shell-file-name, hfy-shell):
7017 * international/fontset.el (x-decompose-font-name): Fix typos.
7018
70192011-11-29 Ken Brown <kbrown@cornell.edu>
7020
7021 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7022 (gdb-version): Remove defvar.
7023 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7024 (gdb-gud-context-command, gdb-non-stop-handler)
7025 (gdb-current-context-command, gdb-stopped): Use it.
7026 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7027 (gdb-non-stop-handler): Don't enable pretty-printing here.
7028 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7029 non-stop mode. Use the following.
7030 (gdb-check-target-async): New defun.
7031 (gud-watch, gdb-stopped): Fix whitespace.
7032 (gdb-get-source-file): Don't try to display the source file if
7033 `gdb-main-file' is nil.
7034
70352011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * align.el: Try to generate fewer markers (bug#10047).
7038 (align--set-marker): New macro.
7039 (align-region): Use it.
7040
c935221f
SM
70412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7044
e70b5064
CY
70452011-11-29 Chong Yidong <cyd@gnu.org>
7046
7047 * indent.el (indent-for-tab-command, indent-according-to-mode):
7048 Doc fix.
7049 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7050
f3af92b7
MA
70512011-11-29 Michael Albinus <michael.albinus@gmx.de>
7052
7053 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7054 aware of remote file names. (Bug#10124)
7055
ed472be9
CY
70562011-11-29 Chong Yidong <cyd@gnu.org>
7057
7058 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7059
24510c22
SM
70602011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * files.el (find-file): Don't use force-same-window (bug#10144).
7063 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7064 use pop-to-buffer if the selected window can't be used.
7065 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7066
c60c3703
EZ
70672011-11-28 Eli Zaretskii <eliz@gnu.org>
7068
7069 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7070 special-mode-map.
7071
e95def75
CY
70722011-11-28 Chong Yidong <cyd@gnu.org>
7073
7074 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7075
c3f1c606
NR
70762011-11-27 Nick Roberts <nickrob@snap.net.nz>
7077
7078 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7079 gdb-get-source-file-list on gdb-create-source-file-list.
7080
00db469c
EZ
70812011-11-26 Eli Zaretskii <eliz@gnu.org>
7082
7083 * whitespace.el (whitespace-newline): Use a different foreground
7084 color for 16-color light-background displays.
7085
4ad3bc2a
CY
70862011-11-24 Chong Yidong <cyd@gnu.org>
7087
7088 * window.el (display-buffer--special-action): Doc fix.
7089
e9fce1ac
JB
70902011-11-25 Juanma Barranquero <lekktu@gmail.com>
7091
7092 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7093 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7094 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7095 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7096 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7097 (avl-tree-stack-first):
7098 * emacs-lisp/cconv.el (cconv--analyse-use):
7099 * net/gnutls.el (gnutls-negotiate): Fix typos.
7100
cb825e5d
GM
71012011-11-24 Glenn Morris <rgm@gnu.org>
7102
3adbe224
GM
7103 * lpr.el (lpr-windows-system, lpr-lp-system):
7104 * mail/binhex.el (binhex-begin-line):
7105 * progmodes/grep.el (grep-history, grep-find-history):
7106 * textmodes/flyspell.el:
7107 * vc/pcvs-defs.el (cvs-global-menu):
7108 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7109 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7110 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7111
321decc8
GM
7112 * net/tls.el: Fix case of "GnuTLS".
7113
420b63ad
GM
7114 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7115
cb825e5d
GM
7116 * version.el (emacs-build-system): Give it a doc-string.
7117
a0649f08
JL
71182011-11-24 Juri Linkov <juri@jurta.org>
7119
7120 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7121
c0bc0fd4
GM
71222011-11-24 Glenn Morris <rgm@gnu.org>
7123
7124 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7125 if called on a non-mime message just toggle the headers. (Bug#8006)
7126
20db1522
JB
71272011-11-24 Juanma Barranquero <lekktu@gmail.com>
7128
7129 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7130 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7131 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7132 (allout-rebullet-heading, allout-open-sibtopic)
7133 (allout-toggle-current-subtree-encryption)
7134 (allout-toggle-subtree-encryption, allout-encrypt-string)
7135 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7136 (allout-distinctive-bullets-string, allout-auto-activation):
7137 * window.el (window-normalize-buffer-to-display):
7138 * progmodes/verilog-mode.el (verilog-batch-indent):
7139 * textmodes/bibtex.el (bibtex-field-braces-opt)
7140 (bibtex-field-strings-opt):
7141 * vc/cvs-status.el (cvs-tree-merge):
7142 Fix typos.
7143
7262a87c
MA
71442011-11-23 Michael Albinus <michael.albinus@gmx.de>
7145
7146 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7147 `non-essential' to t, in order to avoid remote connections.
7148
283430a1
EZ
71492011-11-23 Eli Zaretskii <eliz@gnu.org>
7150
a1beca85
SM
7151 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7152 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7153 case-insensitively.
7154
d2992a38
ML
71552011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7156
7157 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7158
50419064
GM
71592011-11-23 Glenn Morris <rgm@gnu.org>
7160
da94eca1
GM
7161 * paths.el (rmail-file-name): Reformat the doc-string so that it
7162 is picked up.
7163
9aac4de2
GM
7164 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7165 (rmail-auto-file): Ignore case in the "special" field names,
7166 as mail-fetch-field does for all others.
7167
8038d2d2
GM
7168 * mail/rmail.el (rmail-forward):
7169 * mail/rmailkwd.el (rmail-set-label):
7170 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7171 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7172
f3fe222a
GM
7173 * mail/rmail.el (rmail-current-message): Doc fix.
7174
50419064
GM
7175 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7176
28109f49
SM
71772011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7180
394c65f1
GM
71812011-11-22 Glenn Morris <rgm@gnu.org>
7182
7183 * mail/rmailmm.el (test-rmail-mime-handler)
7184 (test-rmail-mime-bulk-handler)
7185 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7186
f2a0aa3a
JL
71872011-11-21 Juri Linkov <juri@jurta.org>
7188
1154d12e
JB
7189 * calc/calc.el (calc-read-key-sequence):
7190 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7191
9c34a344
LMI
71922011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7193
7194 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7195 Tell the caller that the next line needs recomputation, even
7196 though it doesn't start a sexp (bug#10094).
7197
f04a3be9
SM
71982011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7201
7978747f
SM
72022011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7203
f04a3be9
SM
7204 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7205 Use force-same-window.
7978747f 7206
fe7a3057
JB
72072011-11-20 Juanma Barranquero <lekktu@gmail.com>
7208
7209 * descr-text.el (describe-char-unicode-data):
7210 * json.el (json-string-escape):
7211 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7212 (Footnote-unicode, Footnote-style-p):
7213 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7214
24901d61
CY
72152011-11-20 Chong Yidong <cyd@gnu.org>
7216
7217 * window.el (replace-buffer-in-windows): Restore interactive spec.
7218
bac7ff22
SM
72192011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7220
24f3d7b9
SM
7221 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7222
bac7ff22
SM
7223 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7224 (byte-compile-global-not-obsolete-vars): New var.
7225 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7226 Use it.
7227 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7228
cd1181db
JB
72292011-11-20 Juanma Barranquero <lekktu@gmail.com>
7230
7231 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7232 * progmodes/pascal.el (electric-pascal-equal):
7233 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7234 * xml.el (xml-substitute-special): Fix typos.
7235
7fb18e9e
GM
72362011-11-20 Glenn Morris <rgm@gnu.org>
7237
7238 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7239 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7240 Doc fixes.
7241 (rmail-decode-mime-charset): Mark as obsolete.
7242
7243 * mail/rmailsum.el (rmail-message-regexp-p-1):
7244 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7245 Before using mime functions, check they are set. (Bug#10077)
7246
d5a6b3ba
JL
72472011-11-19 Juri Linkov <juri@jurta.org>
7248
7249 * info.el (Info-finder-find-node): Use `package--builtins' instead
7250 of `package-alist'. Use node names formed by the pattern "Keyword "
7251 and the keyword name.
7252
e981b61f
AS
72532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7254
1d00653d 7255 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7256
3ffbc301
JL
72572011-11-19 Juri Linkov <juri@jurta.org>
7258
7259 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7260 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7261 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7262 `old-history', `old-history-forward'. Add let-binding
7263 `window-selected'. Remove calls to `kill-buffer',
7264 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7265 before calling `Info-find-node', so `Info-find-node-2' will reread
7266 the Info file. Restore window positions only when `window-selected'
7267 is non-nil.
7268
30c62133
JL
72692011-11-19 Juri Linkov <juri@jurta.org>
7270
7271 * isearch.el (isearch-lazy-highlight-new-loop):
7272 Remove condition `(not isearch-error)'. (Bug#9918)
7273
7274 * misearch.el (multi-isearch-search-fun): Add condition
7275 `(not bound)' to ignore lazy-highlighting search.
7276 Add the search-failed message "end of multi" when the end of
7277 multi-sequence is reached. Uncapitalize the search-failed
7278 message "Repeat for next buffer".
7279
7280 * info.el (Info-search): Add the search-failed message
7281 "end of the manual" when the end of the manual is reached
7282 in Isearch mode.
7283
645ca9cf
JL
72842011-11-19 Juri Linkov <juri@jurta.org>
7285
7286 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7287 Use non-destructive `remove' instead of `delete' because
7288 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7289 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7290
df754f66
JL
72912011-11-19 Juri Linkov <juri@jurta.org>
7292
7293 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7294 to nil instead of binding `search-ring' and `regexp-search-ring'.
7295 (Bug#9185)
7296
0e23d96a
EZ
72972011-11-19 Eli Zaretskii <eliz@gnu.org>
7298
7299 * simple.el (line-move): Force movement by logical lines for any
7300 hscrolled window, not only when auto-hscroll-mode is on.
7301 (line-move-visual): Update doc string to that effect. (Bug#10076)
7302
8a6ccb66
AS
73032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7304
7305 * language/european.el (macintosh): Define as alias for mac-roman.
7306
49ae5b39
EZ
73072011-11-19 Eli Zaretskii <eliz@gnu.org>
7308
7309 * mail/rmailmm.el (rmail-mime-display-header)
7310 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7311 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7312 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7313 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7314 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7315 of a raw aref.
7316 (rmail-mime-entity-segment): To get past the tagline, move forward
7317 2 more lines, to account for the 2 empty lines that precede and
7318 follow the line with the buttons.
7319 (rmail-mime-update-tagline): Move one more line, to get past the
7320 empty line that follows the buttons in the tagline. (Bug#9520)
7321
c56cad4a
MR
73222011-11-19 Martin Rudalics <rudalics@gmx.at>
7323
7324 * window.el (window-max-delta-1, window-min-delta-1)
7325 (window-min-size-1, window-state-get-1, window-state-put-1)
7326 (window-state-put-2): Use "window--" prefix.
7327
cbe71af3
SM
73282011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7329
2ad52c60
SM
7330 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7331 (smie-warning-count): New var.
7332 (smie-set-prec2tab): Use it.
7333 (smie-bnf->prec2): Improve warnings. Add docstring.
7334 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7335 (smie-bnf--set-class): New function.
7336 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7337 corner case.
7338
6944dbc1
SM
7339 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7340 (compilation-error-properties, compilation-move-to-column):
7341 Handle compilation-first-column while in the target buffer.
7342
c400c4d7
SM
7343 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7344 Don't hardcode point-min==1.
7345
6dbe3e96
SM
7346 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7347 (eshell-rewrite-for-command): Remove workaround.
7348 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7349 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7350 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7351
cbe71af3
SM
7352 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7353
a8e1496d
GM
73542011-11-17 Glenn Morris <rgm@gnu.org>
7355
7356 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7357 Ignore buffer-local generated-autoload-file if it is the same
7358 as the global value. (Bug#10049)
7359
df85d315
JB
73602011-11-17 Juanma Barranquero <lekktu@gmail.com>
7361
7362 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7363 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7364 (reftex-toc-previous-heading, reftex-toc-max-level)
7365 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7366 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7367 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7368 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7369 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7370 (reftex-toc-rename-label, reftex-toc-visit-location)
7371 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7372 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7373 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7374 leaving "*toc*" only for references to the buffer.
7375
a0c2d0ae
MR
73762011-11-17 Martin Rudalics <rudalics@gmx.at>
7377
7378 * window.el (window-resize, delete-window, split-window):
7379 Replace window-splits by window-combination-resize.
1d00653d 7380 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7381
35c0bac8
GM
73822011-11-17 Glenn Morris <rgm@gnu.org>
7383
7384 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7385 Make bash entry derive from sh entry, not shell entry.
7386
d0c8fc8a
MA
73872011-11-16 Michael Albinus <michael.albinus@gmx.de>
7388
7262a87c
MA
7389 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7390 local file name.
7391
7877f373
JB
73922011-11-16 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * menu-bar.el (menu-bar-file-menu):
7395 * printing.el (pr-ps-utility):
7396 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7397 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7398 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7399 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7400 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7401 (icalendar--convert-cyclic-to-ical)
7402 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7403 (icalendar--convert-ical-to-diary)
7404 (icalendar--convert-recurring-to-diary)
7405 (icalendar--convert-non-recurring-all-day-to-diary)
7406 (icalendar-import-format-sample):
7407 * progmodes/idlw-shell.el (idlwave-shell-mode):
7408 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7409 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7410 (vhdl-ps-print-init): Fix typos.
7411
10649b82
KM
74122011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7413
9d0cfcd6
GM
7414 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7415 FSF and collapse date sequence, obscure author/maintainer email address
7416 better, remove extra version line, track relocation of author's webpage.
10649b82 7417
9d0cfcd6
GM
7418 * progmodes/python.el (python-pdbtrack-input-prompt)
7419 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7420 regular python pdb prompts. Adjustments shamelessly taken exactly as
7421 suggested in EmacsWiki page (tiny change):
7422 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7423
58179cce
JB
74242011-11-16 Juanma Barranquero <lekktu@gmail.com>
7425
7426 * expand.el (expand-pos, expand-index, expand-point):
7427 Remove redundant info from docstring.
7428 (expand-add-abbrevs): Doc fix.
7429 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7430 (expand-sample-perl-mode-expand-list): Fix typos.
7431
7432 * net/dbus.el (dbus-event-member-name):
7433 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7434 * term/pc-win.el (msdos-create-frame-with-faces):
7435 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7436
b6f67890
MR
74372011-11-16 Martin Rudalics <rudalics@gmx.at>
7438
7439 * window.el (split-window, window-state-get-1)
7440 (window-state-put-1, window-state-put-2): Rename occurrences of
7441 window-nest to window-combination-limit.
1d00653d 7442 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7443
ce7ddba0
CY
74442011-11-16 Chong Yidong <cyd@gnu.org>
7445
7446 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7447 regexp (Bug#10033).
7448
3ae704f4
SM
74492011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7452 `completing-read' will remove *Completions* and will preserve
7453 current-buffer for us.
7454 (tmm-add-prompt): Users of *Completions* will always (re)set its
7455 major mode.
7456 (tmm-old-comp-map): Remove.
7457
6ad1cdde
GM
74582011-11-16 Glenn Morris <rgm@gnu.org>
7459
7460 * mail/rmailedit.el: Require rmailmm when compiling.
7461 (rmail-old-mime-state): New declaration.
7462 (rmail-edit-current-message): If editing a mime message,
7463 edit the "raw" message from the mbox buffer.
7464 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7465
d20faa20
GM
74662011-11-15 Glenn Morris <rgm@gnu.org>
7467
7468 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7469 which wasn't being used. Add optional arg to force given state.
7470 (rmail-mime): Add optional arg to force given state.
7471
c7015153
JB
74722011-11-15 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7475 * frame.el (display-mm-dimensions-alist):
7476 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7477 (outline-move-subtree-down):
7478 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7479 (newsticker--treeview-do-get-node):
7480 * net/quickurl.el (quickurl-list-buffer-name):
7481 * progmodes/dcl-mode.el (dcl-mode):
7482 * progmodes/gdb-mi.el (gdb-mapcar*):
7483 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7484
45261b50
GM
74852011-11-15 Glenn Morris <rgm@gnu.org>
7486
7487 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7488 in a boolean sense, so just make it a boolean, and fix the doc.
7489 (rmail-show-mime-function, rmail-mime-feature)
7490 (rmail-require-mime-maybe): Doc fixes.
7491 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7492
7493 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7494
0d26e0b6
JB
74952011-11-15 Juanma Barranquero <lekktu@gmail.com>
7496
7497 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7498 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7499 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7500 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7501
447f30f6
GM
75022011-11-15 Glenn Morris <rgm@gnu.org>
7503
672b871d
GM
7504 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7505 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7506 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7507 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7508 (rmail-mime, rmail-show-mime): Doc fixes.
7509
f6aa5bb1
GM
7510 * term/ns-win.el (mode-line-frame-identification):
7511 Leave it alone. (Bug#10051)
7512
947cd66b
GM
7513 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7514
447f30f6
GM
7515 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7516 Handle empty buffers. (Bug#9978)
7517
0b381c7e
JB
75182011-11-14 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * international/mule.el (define-charset):
7521 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7522 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7523 * progmodes/verilog-mode.el (verilog-backward-token):
7524 * textmodes/ispell.el (lookup-words):
7525 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7526
71e027ac
GM
75272011-11-14 Glenn Morris <rgm@gnu.org>
7528
56632ce4
GM
7529 * progmodes/executable.el
7530 (executable-make-buffer-file-executable-if-script-p):
7531 Handle file-modes returning nil.
7532
40500957
GM
7533 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7534 message - not necessary, and causes problems. (Bug#9831)
7535
071c2340
GM
7536 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7537
d3cfca60
GM
7538 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7539
71e027ac
GM
7540 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7541 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7542 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7543
89d61221
MR
75442011-11-12 Martin Rudalics <rudalics@gmx.at>
7545
7546 * window.el (window-resize, delete-window): Use window-splits
7547 variable instead of function.
7548 (window-state-get-1, window-state-put-2, window-state-put):
7549 Don't deal with windows' splits status.
7550
98282f6f
GM
75512011-11-12 Glenn Morris <rgm@gnu.org>
7552
7553 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7554 (apropos-documentation): Doc fixes.
7555
40a8bdf6
JB
75562011-11-11 Juanma Barranquero <lekktu@gmail.com>
7557
7558 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7559 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7560
65bd19ff
SM
75612011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * electric.el (electric-indent-post-self-insert-function): Make it
7564 possible for a char to only indent in some circumstances.
7565 (electric-indent-mode): Simplify.
7566
54f9154c
MR
75672011-11-11 Martin Rudalics <rudalics@gmx.at>
7568
7569 * window.el (windows-with-parameter): Remove unused function.
7570 (windows-at-side): Rename to window-at-side-list.
7571 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7572 (window-side-check, window-size-ignore, window-size-fixed-1)
7573 (window-in-direction-2): Prefix with "window--".
7574 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7575
68cbc58b
GM
75762011-11-11 Glenn Morris <rgm@gnu.org>
7577
7578 * subr.el (eval-after-load): If FILE is already loaded,
7579 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7580
b2621720
GM
75812011-11-10 Glenn Morris <rgm@gnu.org>
7582
9a4de110
GM
7583 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7584 Call svn via vc-svn-command rather than vc-do-command.
7585 (vc-svn-command): Add --non-interactive. (Bug#9993)
7586 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7587
b2621720
GM
7588 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7589 Add toggle-read-only. (Bug#7292)
7590 * files.el (toggle-read-only): Mention that it should only
7591 be used interactively. (Bug#10006)
7592
1dce7193
SM
75932011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7594
d9ac1a1e
SM
7595 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7596 Adjust regexp for OCaml warnings.
7597
0c325082
SM
7598 * electric.el (electric-pair-post-self-insert-function): Let user
7599 turn it off buffer-locally (bug#9932).
7600
90132c14
SM
7601 * progmodes/python.el (python-beginning-of-statement):
7602 Rewrite (bug#2703).
7603
1dce7193
SM
7604 * progmodes/compile.el: Better handle TABs (bug#9749).
7605 (compilation-internal-error-properties)
7606 (compilation-next-error-function): Obey the target buffer's
7607 compilation-error-screen-columns.
7608
c4e7c63a
JB
76092011-11-09 Juanma Barranquero <lekktu@gmail.com>
7610
7611 * progmodes/meta-mode.el: Remove obsolete comments.
7612 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7613 Fix typos in docstrings.
7614
2cffd681
MR
76152011-11-09 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7618 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7619 (window--resizable): New function. Make all callers of
7620 window-resizable call window--resizable instead.
7621 (window-resizable): Rewrite in terms of window--resizable.
7622
0edcba87
GM
76232011-11-08 Glenn Morris <rgm@gnu.org>
7624
7625 * progmodes/delphi.el (delphi-mode-syntax-table):
7626 Let define-derived-mode define a proper syntax table. (Bug#9994)
7627
4b0d61e3
SM
76282011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * window.el: Stay away from defsubst.
7631 (window-list-no-nils): Remove.
7632 (window-state-get-1, window-state-get): Use backquote instead.
7633
cd394be1 76342011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7635
4b0d61e3 7636 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7637 Fix incorrect use of default argument in `completing-read'.
7638
e1c2c6f2
MR
76392011-11-08 Martin Rudalics <rudalics@gmx.at>
7640
7641 * window.el (display-buffer-function, special-display-function):
7642 Mention display-buffer-record-window but do not mention
7643 help-setup parameter in doc-strings.
b3f4a882 7644 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7645
105216ed
CY
76462011-11-08 Chong Yidong <cyd@gnu.org>
7647
7648 * window.el (window-total-height, window-total-width): Doc fix.
7649 (window-body-size): Move from C.
7650 (window-body-height, window-body-width): Move to C.
7651
0a9f9ab5
SM
76522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * window.el: Make special-display like display-buffer-alist (bug#9532).
7655 (display-buffer--special-action): New function, morphed
7656 from display-buffer--special.
7657 (display-buffer): Use it to handle special-display-buffers at higher
7658 priority (just after display-buffer-alist).
7659 (display-buffer-fallback-action, display-buffer--other-frame-action)
7660 (pop-to-buffer-same-window): Remove display-buffer--special.
7661
a769dd15
GM
76622011-11-07 Glenn Morris <rgm@gnu.org>
7663
7664 * calendar/cal-menu.el (cal-menu-set-date-title):
7665 Do nothing if not in a calendar. (Bug#9976)
7666
05a61ee3
SM
76672011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * files.el (find-file): Always use selected-window.
7670
be7f5545
MR
76712011-11-07 Martin Rudalics <rudalics@gmx.at>
7672
7673 * window.el (window-combinations): Make WINDOW argument
7674 mandatory. Rewrite doc-string.
7675 (walk-window-subtree, window-atom-check, window-min-delta)
7676 (window-max-delta, window--resize-this-window)
7677 (window--resize-root-window-vertically, window-tree)
7678 (balance-windows, window-state-put): Rewrite doc-strings as to
7679 not mention the term "subwindow".
7680 (window--resize-subwindows-skip-p): Rename to
7681 window--resize-child-windows-skip-p.
7682 (window--resize-subwindows-normal): Rename to
7683 window--resize-child-windows-normal.
7684 (window--resize-subwindows): Rename to
7685 window--resize-child-windows.
7686 (window-or-subwindow-p): Rename to window--in-subtree-p.
7687
3c6702ef
ML
76882011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7689
7690 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7691 Ensure that mbox format messages end in two newlines (Bug#9974).
7692
49745b39
CY
76932011-11-06 Chong Yidong <cyd@gnu.org>
7694
7695 * window.el (window-combination-p): Function deleted; its
7696 side-effect is not used in any existing code.
7697 (window-combinations, window-combined-p): Call window-*-child
7698 directly.
7699
24300f5f
CY
77002011-11-05 Chong Yidong <cyd@gnu.org>
7701
7702 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7703 (window-size-ignore, window-state-get): Callers changed.
7704 (window-normalize-window): Rename from window-normalize-any-window.
7705 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7706 (window-normalize-live-window): Delete.
447f16b8
CY
7707 (window-combination-p, window-combined-p, window-combinations)
7708 (walk-window-subtree, window-atom-root, window-min-size)
7709 (window-sizable, window-sizable-p, window-size-fixed-p)
7710 (window-min-delta, window-max-delta, window-resizable)
7711 (window-resizable-p, window-full-height-p, window-full-width-p)
7712 (window-current-scroll-bars, window-point-1, set-window-point-1)
7713 (window-at-side-p, window-in-direction, window-resize)
7714 (adjust-window-trailing-edge, maximize-window, minimize-window)
7715 (window-deletable-p, delete-window, delete-other-windows)
7716 (record-window-buffer, unrecord-window-buffer)
7717 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7718 (quit-window, split-window, window-state-put)
7719 (set-window-text-height, fit-window-to-buffer)
7720 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7721
89bd5ee1
EZ
77222011-11-04 Eli Zaretskii <eliz@gnu.org>
7723
53479029
EZ
7724 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7725 rfc2047-decode-string.
7726 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7727 warnings.
7728
89bd5ee1
EZ
7729 * window.el (window-body-height, window-body-width): Mention in
7730 the doc string that the return values are in frame's canonical
7731 units. (Bug#9949)
7732
bd17fdee
AM
77332011-11-03 Alan Mackenzie <acm@muc.de>
7734
7735 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7736 change in cc-engine.el.
7737
acc825c5
SM
77382011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7741
1885e5b8
MR
77422011-11-02 Martin Rudalics <rudalics@gmx.at>
7743
7744 * window.el (quit-window): Call unrecord-window-buffer after
7745 showing another buffer in the window. (Bug#9937)
acc825c5 7746 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7747
ebe06da9
JB
77482011-11-02 Juanma Barranquero <lekktu@gmail.com>
7749
7750 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7751 Accept status with more than 9 shelves. (Bug#9935)
7752 Reported by Colin D Bennett <colin@gibibit.com>.
7753
4ee88440
MR
77542011-11-01 Martin Rudalics <rudalics@gmx.at>
7755
7756 * help.el (with-help-window): Don't reference
7757 temp-buffer-show-specifiers in doc-string.
7758
08e1d82c
AS
77592011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7762 menu-item.
7763
84bd6e9e
VJL
77642011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7765
7766 * whitespace.el: New version 13.2.2.
7767 (whitespace-newline-mode): Disable properly. Reported by Sarah
7768 <EmacsWiki>.
7769
dba0634a
UJ
77702011-10-30 Ulf Jasper <ulf.jasper@web.de>
7771
7772 * net/newst-treeview.el: Remove "Time-stamp".
7773 (newsticker--group-manage-orphan-feeds): Do not call
7774 newsticker--treeview-tree-update.
db22a3c2
JB
7775 (newsticker-treeview-update, newsticker-treeview):
7776 Call newsticker--treeview-tree-update if necessary.
dba0634a 7777
3d8daefe
MR
77782011-10-30 Martin Rudalics <rudalics@gmx.at>
7779
7780 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7781 (window-iso-combinations): Remove "iso-" infix.
7782 Suggested by Chong Yidong.
3d8daefe
MR
7783 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7784 (window-max-delta-1, window-resize, window--resize-siblings)
7785 (window--resize-this-window, adjust-window-trailing-edge)
7786 (split-window, balance-windows-1)
7787 (shrink-window-if-larger-than-buffer):
7788 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7789 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7790
1bc4c3ae
SM
77912011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7794 in place (bug#9907).
7795 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7796 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7797 (eshell-structure-basic-command, eshell-rewrite-while-command)
7798 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7799 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7800 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7801 (eshell-do-pipelines-synchronously, eshell-eval-command):
7802 Use backquotes and prefer setq to set.
7803 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7804 (eshell-macrop): Use functionp.
c1e2f5fa 7805 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7806
30b65d9c
CY
78072011-10-30 Chong Yidong <cyd@gnu.org>
7808
7809 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7810 instead of set-mark (Bug#9810).
7811
2d197ffb
CY
78122011-10-30 Chong Yidong <cyd@gnu.org>
7813
7814 * window.el (split-window-below, split-window-right): Rename from
7815 split-window-above-each-other and split-window-side-by-side
7816 respectively. All callers changed.
7817 (split-window-sensibly, split-window-sensibly): Use them.
7818 (split-window-keep-point): Doc fix.
7819
7820 * isearch.el: Add isearch-scroll property to split-window-below
7821 and split-window-right.
7822
7823 * follow.el (follow-mode):
7824 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7825 * progmodes/ada-xref.el (ada-gdb-application):
7826 * emulation/vip.el (vip-buffer-in-two-windows):
7827 * image-dired.el (image-dired-dired-with-window-configuration):
7828 * dired-x.el (dired-do-find-marked-files):
7829 * dired.el (dired-pop-to-buffer):
7830 * bs.el (bs--show-with-configuration):
7831 * vc/emerge.el (emerge-setup-windows):
7832 * textmodes/two-column.el (2C-two-columns):
7833 * textmodes/reftex-toc.el (reftex-toc):
7834 * progmodes/gdb-mi.el (gdb-setup-windows):
7835 * progmodes/fortran.el (fortran-window-create):
7836 * net/newst-treeview.el (newsticker--treeview-window-init):
7837 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7838 * emulation/tpu-edt.el (tpu-gold-map):
7839 * emulation/crisp.el (crisp-mode-map):
7840 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7841
38bb2ca8
CY
78422011-10-29 Chong Yidong <cyd@gnu.org>
7843
aa4de341
CY
7844 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7845
e1eb5385
CY
7846 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7847
5d2ece3c
CY
7848 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7849 forged Ispell output (Bug#7904).
7850
38bb2ca8
CY
7851 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7852
d0af9f77
SM
78532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * doc-view.el: Avoid ugly errors about not finding nil.
7856 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7857 (doc-view-dvipdf-program, doc-view-unoconv-program)
7858 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7859 Avoid nil or absolute file name as default value.
7860 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7861
52bedd34
AM
78622011-10-28 Alan Mackenzie <acm@muc.de>
7863
db22a3c2 7864 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7865
7e43cfa5
AM
78662011-10-28 Alan Mackenzie <acm@muc.de>
7867
7868 Amend the handling of c-beginning/end-of-defun in nested declaration
7869 scopes.
7870
52bedd34
AM
7871 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7872 cc-langs.el. Change it to a defcustom.
7e43cfa5 7873
52bedd34
AM
7874 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7875 cc-vars.el.
7e43cfa5 7876
d0af9f77
SM
7877 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7878 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7879
52bedd34 7880 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7881 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7882 (c-widen-to-enclosing-decl-scope): New function.
7883 (c-while-widening-to-decl-block): New macro.
7884 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7885 outward for defun boundaries, and correspondingly change symbol
7886 `respect-enclosure' to `go-outward'.
7887 (c-declaration-limits): Change algorithm to report only the "innermost"
7888 defun's boundaries.
7889
1a2ce9ee
DD
78902011-10-28 Deniz Dogan <deniz@dogan.se>
7891
7892 * net/rcirc.el (rcirc-mode): Use hard newlines.
7893
bc97a826
AM
78942011-10-28 Alan Mackenzie <acm@muc.de>
7895
7896 Amend to indent and fontify macros "which include their own semicolon"
7897 correctly, using the "virtual semicolon" mechanism.
7898
52bedd34 7899 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7900
d0af9f77 7901 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7902 Recode to scan one line at a time rather than having \n and \r
58179cce 7903 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7904 (c-forward-label): Amend for virtual semicolons.
58179cce 7905 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7906
52bedd34
AM
7907 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7908 of the new C macros.
bc97a826 7909
52bedd34 7910 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7911 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7912 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7913 (c-opt-cpp-macro-define): Make into a full language variable.
7914 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7915 AWK Mode (including \n, \r) removed, no longer needed.
7916
d0af9f77
SM
7917 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7918 Invoke c-make-macro-with-semi-re.
bc97a826 7919
52bedd34
AM
7920 * progmodes/cc-vars.el (c-macro-with-semi-re):
7921 (c-macro-names-with-semicolon): New variables.
58179cce 7922 (c-make-macro-with-semi-re): New function.
bc97a826 7923
7a6c0941
SM
79242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * vc/log-edit.el: Fill empty field rather than adding new one.
7927 (log-edit-add-field): New function.
7928 (log-edit-insert-changelog): Use it.
7929
b0c4cdcf
ML
79302011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7931
7932 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7933
ee1f1da9
SM
79342011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7937 (gdb--check-interpreter): New function.
7938 (gdb): Use it.
7939
51bc5f8b
GM
79402011-10-27 Glenn Morris <rgm@gnu.org>
7941
416a2c45
GM
7942 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7943 (least-positive-float, least-negative-float)
7944 (least-positive-normalized-float, least-negative-normalized-float)
7945 (float-epsilon, float-negative-epsilon):
7946 Remove unnecessary declarations.
7947
7948 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7949 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7950 (least-positive-float, least-negative-float)
7951 (least-positive-normalized-float, least-negative-normalized-float)
7952 (float-epsilon, float-negative-epsilon): Add doc-strings,
7953 based on those in cl.texi.
7954
51bc5f8b
GM
7955 * files.el (set-visited-file-name): If the major-mode changed,
7956 reload the local variables. (Bug#9796)
7957
15de15c6
CY
79582011-10-27 Chong Yidong <cyd@gnu.org>
7959
7960 * subr.el (change-major-mode-after-body-hook): New hook.
7961 (run-mode-hooks): Run it.
7962
ee1f1da9
SM
7963 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7964 Use change-major-mode-before-body-hook.
15de15c6
CY
7965
7966 * simple.el (fundamental-mode):
7967 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7968 change introducing fundamental-mode-hook.
7969
5430d399
JB
79702011-10-26 Juanma Barranquero <lekktu@gmail.com>
7971
acc825c5 7972 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7973
ad74a69e
MA
79742011-10-26 Michael Albinus <michael.albinus@gmx.de>
7975
7976 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7977 tramp.el explicitly. (Bug#7583)
ad74a69e 7978
71d4c2a5
SM
79792011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * progmodes/octave-mod.el:
7982 * progmodes/octave-inf.el: Update maintainer.
7983
b1f6fa26
CY
79842011-10-26 Chong Yidong <cyd@gnu.org>
7985
7986 * subr.el (with-wrapper-hook): Rewrite doc.
7987
3f04efd6
MA
79882011-10-25 Michael Albinus <michael.albinus@gmx.de>
7989
7990 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7991 filenames "/method:foo:". (Bug#9793)
3f04efd6 7992
410488d3
SM
79932011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7996 (bug#9865).
7997
c1ebb47e
GM
79982011-10-24 Glenn Morris <rgm@gnu.org>
7999
8000 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8001
7f5c46c7
MA
80022011-10-24 Michael Albinus <michael.albinus@gmx.de>
8003
8004 * notifications.el: Add the requirement of a running D-Bus session
8005 bus to the Commentary.
8006
db2440b6
JL
80072011-10-24 Juri Linkov <juri@jurta.org>
8008
8009 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8010 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8011 (Bug#9364)
8012
feecf435
JL
80132011-10-24 Juri Linkov <juri@jurta.org>
8014
8015 * info.el (Info-following-node-name-re): Add newline to the list
8016 of allowed characters for leading space. (Bug#9824)
8017
a3839de2
SM
80182011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8019
acc825c5
SM
8020 * progmodes/octave-inf.el (inferior-octave-mode-map):
8021 Fix C-c C-h binding.
a3839de2
SM
8022 * progmodes/octave-mod.el (octave-help): Remove.
8023
09388e76
MA
80242011-10-23 Michael Albinus <michael.albinus@gmx.de>
8025
8026 Sync with Tramp 2.2.3.
8027
8028 * net/tramp-cache.el (top): Pacify byte-compiler using
8029 `init-file-user' and `site-run-file'.
8030
8031 * net/trampver.el: Update release number.
8032
86c60681
CY
80332011-10-23 Chong Yidong <cyd@gnu.org>
8034
8035 * files.el (toggle-read-only): Remove obsolete comment about
8036 version control.
8037
8038 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8039 for toggle-read-only. Note that this hasn't called vc-next-action
8040 since 2008-05-02, though it wasn't documented at the time.
8041
a3839de2
SM
8042 * vc/ediff-init.el (ediff-toggle-read-only-function):
8043 Use toggle-read-only.
86c60681 8044
cd5495ff
AM
80452011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8046
8047 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8048 of c-parse-state.
8049
00b77525 8050 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8051 correct faulty logical expression.
cd5495ff
AM
8052 (c-parse-state-state, c-record-parse-state-state):
8053 (c-replay-parse-state-state): New defvar/defuns.
8054 (c-debug-parse-state): Use new functions.
8055
42ee24ed
MR
80562011-10-22 Martin Rudalics <rudalics@gmx.at>
8057
8058 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8059 last fix. Use window-in-direction correctly.
42ee24ed 8060
a7dee7e7
CY
80612011-10-21 Chong Yidong <cyd@gnu.org>
8062
8063 * progmodes/idlwave.el (idlwave-mode):
8064 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8065 require-final-newline; that's done in prog-mode.
8066 Suggested by Stefan Monnier.
a7dee7e7 8067
e07b9a6d
MR
80682011-10-21 Martin Rudalics <rudalics@gmx.at>
8069
8070 * mouse.el (mouse-drag-window-above)
8071 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8072 (mouse-drag-mode-line-1, mouse-drag-header-line)
8073 (mouse-drag-vertical-line-rightward-window): Remove.
8074 (mouse-drag-line): New function.
8075 (mouse-drag-mode-line, mouse-drag-header-line)
8076 (mouse-drag-vertical-line): Call mouse-drag-line.
8077 * window.el (window-at-side-p, windows-at-side): New functions.
8078
7e1361d9
UM
80792011-10-21 Ulrich Mueller <ulm@gentoo.org>
8080
8081 * tar-mode.el (tar-grind-file-mode):
8082 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8083
30fcaf3a
CY
80842011-10-21 Chong Yidong <cyd@gnu.org>
8085
8086 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8087 * progmodes/vera-mode.el (vera-mode):
8088 Use mode-require-final-newline.
30fcaf3a 8089
516eddb0
GM
80902011-10-20 Glenn Morris <rgm@gnu.org>
8091
db22a3c2 8092 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8093
10d5f513
CS
80942011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8095
8096 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8097
ac6c8639
CY
80982011-10-20 Chong Yidong <cyd@gnu.org>
8099
8100 * emulation/cua-base.el (cua-mode):
8101 * mail/footnote.el (footnote-mode):
8102 * mail/mailabbrev.el (mail-abbrevs-mode):
8103 * net/xesam.el (xesam-minor-mode):
8104 * progmodes/bug-reference.el (bug-reference-mode):
8105 * progmodes/cap-words.el (capitalized-words-mode):
8106 * progmodes/compile.el (compilation-minor-mode)
8107 (compilation-shell-minor-mode):
8108 * progmodes/gud.el (gud-tooltip-mode):
8109 * progmodes/hideif.el (hide-ifdef-mode):
8110 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8111 * progmodes/subword.el (subword-mode):
8112 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8113 * progmodes/which-func.el (which-function-mode):
8114 * term/tvi970.el (tvi970-set-keypad-mode):
8115 * term/vt100.el (vt100-wide-mode):
8116 * textmodes/flyspell.el (flyspell-mode):
8117 * textmodes/ispell.el (ispell-minor-mode):
8118 * textmodes/nroff-mode.el (nroff-electric-mode):
8119 * textmodes/paragraphs.el (use-hard-newlines):
8120 * textmodes/refill.el (refill-mode):
8121 * textmodes/reftex.el (reftex-mode):
8122 * textmodes/rst.el (rst-minor-mode):
8123 * textmodes/sgml-mode.el (html-autoview-mode)
8124 (sgml-electric-tag-pair-mode):
8125 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8126 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8127 * emulation/crisp.el (crisp-mode):
8128 * emacs-lisp/eldoc.el (eldoc-mode):
8129 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8130 minor mode behavior.
8131
aa42ab43
JL
81322011-10-19 Juri Linkov <juri@jurta.org>
8133
8134 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8135 the list of hard-coded chars with escape-glyph face.
8136
89400f1d
SM
81372011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8140
305c07f6
MA
81412011-10-19 Michael Albinus <michael.albinus@gmx.de>
8142
8143 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8144 running process.
8145
13754b54
GM
81462011-10-19 Glenn Morris <rgm@gnu.org>
8147
8148 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8149 Ignore ignored files. (Bug#9726)
8150
06e21633
CY
81512011-10-19 Chong Yidong <cyd@gnu.org>
8152
8153 Doc fix for minor modes, stating that an omitted argument enables
8154 the mode unconditionally when called from Lisp.
8155
8156 * abbrev.el (abbrev-mode):
8157 * allout.el (allout-mode):
8158 * autoinsert.el (auto-insert-mode):
8159 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8160 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8161 (global-auto-revert-mode):
8162 * battery.el (display-battery-mode):
8163 * composite.el (global-auto-composition-mode)
8164 (auto-composition-mode):
8165 * delsel.el (delete-selection-mode):
8166 * desktop.el (desktop-save-mode):
8167 * dired-x.el (dired-omit-mode):
8168 * dirtrack.el (dirtrack-mode):
8169 * doc-view.el (doc-view-minor-mode):
8170 * double.el (double-mode):
8171 * electric.el (electric-indent-mode, electric-pair-mode):
8172 * emacs-lock.el (emacs-lock-mode):
8173 * epa-hook.el (auto-encryption-mode):
8174 * follow.el (follow-mode):
8175 * font-core.el (font-lock-mode):
8176 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8177 * help.el (temp-buffer-resize-mode):
8178 * hilit-chg.el (highlight-changes-mode)
8179 (highlight-changes-visible-mode):
8180 * hi-lock.el (hi-lock-mode):
8181 * hl-line.el (hl-line-mode, global-hl-line-mode):
8182 * icomplete.el (icomplete-mode):
8183 * ido.el (ido-everywhere):
8184 * image-file.el (auto-image-file-mode):
8185 * image-mode.el (image-minor-mode):
8186 * iswitchb.el (iswitchb-mode):
8187 * jka-cmpr-hook.el (auto-compression-mode):
8188 * linum.el (linum-mode):
8189 * longlines.el (longlines-mode):
8190 * master.el (master-mode):
8191 * mb-depth.el (minibuffer-depth-indicate-mode):
8192 * menu-bar.el (menu-bar-mode):
8193 * minibuf-eldef.el (minibuffer-electric-default-mode):
8194 * mouse-sel.el (mouse-sel-mode):
8195 * msb.el (msb-mode):
8196 * mwheel.el (mouse-wheel-mode):
8197 * outline.el (outline-minor-mode):
8198 * paren.el (show-paren-mode):
8199 * recentf.el (recentf-mode):
8200 * reveal.el (reveal-mode, global-reveal-mode):
8201 * rfn-eshadow.el (file-name-shadow-mode):
8202 * ruler-mode.el (ruler-mode):
8203 * savehist.el (savehist-mode):
8204 * scroll-all.el (scroll-all-mode):
8205 * scroll-bar.el (scroll-bar-mode):
8206 * server.el (server-mode):
8207 * shell.el (shell-dirtrack-mode):
8208 * simple.el (auto-fill-mode, transient-mark-mode)
8209 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8210 (line-number-mode, column-number-mode, size-indication-mode)
8211 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8212 * strokes.el (strokes-mode):
8213 * time.el (display-time-mode):
8214 * t-mouse.el (gpm-mouse-mode):
8215 * tool-bar.el (tool-bar-mode):
8216 * tooltip.el (tooltip-mode):
8217 * type-break.el (type-break-mode-line-message-mode)
8218 (type-break-query-mode):
8219 * view.el (view-mode):
8220 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8221 (global-whitespace-mode, global-whitespace-newline-mode):
8222 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8223
a3839de2
SM
8224 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8225 Fix autogenerated docstring.
06e21633 8226
5214e501
JL
82272011-10-19 Juri Linkov <juri@jurta.org>
8228
8229 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8230 by checking environment variables "DESKTOP_SESSION" and
8231 "XDG_CURRENT_DESKTOP". (Bug#9779)
8232
195f8db9
JL
82332011-10-19 Juri Linkov <juri@jurta.org>
8234
8235 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8236 (browse-url-chromium-program, browse-url-chromium-arguments):
8237 New defcustoms.
8238 (browse-url-default-browser): Check for `browse-url-chromium' and
8239 call `browse-url-chromium-program'.
8240 (browse-url-chromium): New command. (Bug#9779)
8241
343a34ff
JB
82422011-10-18 Juanma Barranquero <lekktu@gmail.com>
8243
8244 * facemenu.el (list-colors-duplicates): On Windows, detect more
8245 duplicates by assuming that only colors matching "^System" are
8246 special "system colors". (Bug#9722)
8247
6978a151
SM
82482011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8251 to distinguish the author from the committer.
8252
6a80b297
MA
82532011-10-18 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8256
b31a5677
JK
82572011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8258
8259 * international/mule.el (sgml-html-meta-auto-coding-function):
8260 Add support for detecting encoding in HTML5 specified only as
8261 <meta charset="UTF-8">. Implementation just makes http-equiv and
8262 content-type parts from HTML4 encoding string optional. (Bug#9716)
8263
80c6d77f
GM
82642011-10-18 Glenn Morris <rgm@gnu.org>
8265
8266 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8267
08b0fee8
CY
82682011-10-18 Chong Yidong <cyd@gnu.org>
8269
8270 * faces.el (cursor): Doc fix.
8271
67e729a5
CY
82722011-10-17 Chong Yidong <cyd@gnu.org>
8273
8274 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8275
343a34ff 82762011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8277
8278 * dirtrack.el (dirtrack): Support shell buffers with path
8279 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8280
0bc06380
TZ
82812011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8282
8283 * json.el: Bump version to 1.3 and note change in History.
8284 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8285
8b79f3e0
SM
82862011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8287
5a7c536b
SM
8288 * comint.el (comint-insert-input, comint-send-input)
8289 (comint-get-old-input-default, comint-backward-matching-input)
8290 (comint-next-prompt): Use nil instead of `input' for field property of
8291 past user input (bug#114).
8292
96a8a0df
SM
8293 * minibuffer.el (completion--replace): Inherit surrounding properties
8294 (bug#114).
8295 (minibuffer-complete-and-exit): Use it.
8296
8b79f3e0
SM
8297 * comint.el (comint--table-subvert): Quote the all-completions output
8298 (bug#9160).
8299
b8f7ff0d
MR
83002011-10-17 Martin Rudalics <rudalics@gmx.at>
8301
8b79f3e0 8302 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8303
b8f7ff0d 8304 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8305 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8306 entries and separate them from frame entries.
8307
c235b555
GM
83082011-10-15 Glenn Morris <rgm@gnu.org>
8309
8310 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8311 Doc fixes.
8312
6bbfa6e1
CY
83132011-10-15 Chong Yidong <cyd@stupidchicken.com>
8314
8b79f3e0
SM
8315 * net/network-stream.el (network-stream-open-starttls):
8316 Improve detection of failure due to lack of TLS support.
ec5c990d 8317
6bbfa6e1
CY
8318 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8319 putting the input text in front and in bold.
8320
98488977
SM
83212011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8322
3d1337be
SM
8323 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8324
ee0b45e4
SM
8325 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8326 empty buffer.
8327
98488977
SM
8328 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8329 unread-command-events rather than pushing yet-another event.
8330
186f4720
EZ
83312011-10-14 Eli Zaretskii <eliz@gnu.org>
8332
8333 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8334 the explanation of the possible choices. Make the options passed
8335 to completing-read shorter.
8336
8b7a997c
AM
83372011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8338
8339 * textmodes/flyspell.el (flyspell-large-region): Make sure
8340 extended character mode is used if defined (Bug#1339).
8341
12587bbb
EZ
83422011-10-13 Eli Zaretskii <eliz@gnu.org>
8343
8344 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8345 character info for LRE, LRO, RLE, and RLO characters by appending
8346 an invisible PDF.
12587bbb 8347
bad41229
SM
83482011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8351 even in case of error; add debug spec; simplify data flow.
8352 (with-timeout-handler): Remove.
8353
28dbc92f
MA
83542011-10-12 Michael Albinus <michael.albinus@gmx.de>
8355
8356 Fix Bug#6019, Bug#9315.
8357
8358 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8359 complete `buffer-file-name', the local file name part could look
8360 remotely (for example on VMS).
8361
8362 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8363 `tramp-run-real-handler'.
8364 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8365 already quoted by '"'.
8366
8367 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8368 Let `file-name-handler-alist' be nil, the local file name part
8369 could look remotely (for example on VMS).
8370
e1b0b23a
SM
83712011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8374 from here...
8375 (flyspell-post-command-hook): ...to here.
8376
a120bde9
SM
83772011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8380 if not needed.
8381 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8382 using completion. Protect against "slow" callers.
8383 Remove the "message hack".
8384
7ce7717b
JL
83852011-10-11 Juri Linkov <juri@jurta.org>
8386
8387 * isearch.el (isearch-lazy-highlight-word): New variable.
8388 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8389 Use it. (Bug#9727)
8390
c02ee9d6
GM
83912011-10-11 Glenn Morris <rgm@gnu.org>
8392
8393 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8394 like f90-previous-statement does.
8395
93e616fd 83962011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8397
1f190e73 8398 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8399 only in interactive use, to avoid error.
8400
af7b6078
SM
84012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * minibuffer.el (completion-file-name-table): Fix last change,
8404 i.e. ignore normal errors but not the other ones.
8405
0563dae9
MR
84062011-10-10 Martin Rudalics <rudalics@gmx.at>
8407
8408 * window.el (special-display-buffer-names)
8409 (special-display-regexps): Remove some remnants of earlier
8410 changes from doc-strings.
366ca7f3
MR
8411 (quit-windows-on): New function.
8412
8413 * vc/vc.el (vc-revert, vc-rollback):
8414 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8415 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8416 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8417
49677495
MR
84182011-10-09 Martin Rudalics <rudalics@gmx.at>
8419
8420 * window.el (frame-auto-hide-function): Add version tag.
8421 (Bug#9699)
8422
56f2d1e1
MA
84232011-10-09 Michael Albinus <michael.albinus@gmx.de>
8424
8425 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8426 condition.
8427
112a6592
LL
84282011-10-09 Leo Liu <sdl.web@gmail.com>
8429
8430 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8431 (Bug#9701)
8432
0812589b
GM
84332011-10-08 Glenn Morris <rgm@gnu.org>
8434
8435 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8436 before the first code statement zero indent. (Bug#9690)
8437
b2b0776e
CY
84382011-10-08 Chong Yidong <cyd@stupidchicken.com>
8439
8440 * simple.el (count-words-region): Always count in the region.
8441 Report the number of lines and characters too.
8442 (count-words): New command, which counts in the buffer if the
8443 region is inactive, as count-words-region used to.
8444 (count-words--message): New function. Handle plurals.
8445 (count-lines-region): Make it an alias for count-words-region.
8446
8447 * bindings.el (esc-map): Replace count-lines-region with
8448 count-words-region.
8449
c557cd6b
MR
84502011-10-08 Martin Rudalics <rudalics@gmx.at>
8451
8452 * window.el (window--delete): Delete dedicated frame
8453 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8454 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8455
61a57ef4 84562011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8457
3a7d293b 8458 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8459
c3833279
CY
84602011-10-07 Chong Yidong <cyd@stupidchicken.com>
8461
8462 * bindings.el ([M-left],[M-right]): Bind to left-word and
8463 right-word respectively.
8464
21ce8245
GM
84652011-10-07 Glenn Morris <rgm@gnu.org>
8466
8467 * cus-start.el (debug-on-quit): Fix custom type.
8468
6d823bb2
LMI
84692011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8470
0181e193
LMI
8471 * subr.el (define-key-after): Clarify that the function is not
8472 useful for non-menu keymaps.
8473
6d823bb2
LMI
8474 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8475
8e3459ce 84762011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8477
21ce8245 8478 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8479 in current minibuffer (Fix bug with recursive minibuffers).
8480
a1c2d21e
CY
84812011-10-06 Chong Yidong <cyd@stupidchicken.com>
8482
8483 * progmodes/gdb-mi.el (gdb): Doc fix.
8484
5a4cf282
MR
84852011-10-05 Martin Rudalics <rudalics@gmx.at>
8486
8487 * window.el (frame-auto-hide-function): New option replacing
8488 frame-auto-delete. Suggested by Stefan Monnier.
8489 (window--delete): Call frame-auto-hide-function instead of
8490 investigating frame-auto-delete.
c96111ea
MR
8491 (window-point-1, set-window-point-1): New functions.
8492 (window-in-direction, record-window-buffer, window-state-get-1)
8493 (display-buffer-record-window): Use window-point-1 instead of
8494 window-point.
8495 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8496
9854542e
SM
84972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8500
8943cfb0
GM
85012011-10-05 Glenn Morris <rgm@gnu.org>
8502
8503 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8504 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8505
647ab967
LL
85062011-10-05 Leo Liu <sdl.web@gmail.com>
8507
8508 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8509 works with buffer object.
8510
3ddfbced
SM
85112011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * mpc.el (mpc-tool-bar-map): Add labels.
8514
bdfa5dd2
GM
85152011-10-04 Glenn Morris <rgm@gnu.org>
8516
8517 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8518
0e2070b5
MR
85192011-10-04 Martin Rudalics <rudalics@gmx.at>
8520
8521 * window.el (window--delete): New function.
8522 (frame-auto-delete): Resuscitate option.
8523 (bury-buffer, replace-buffer-in-windows)
8524 (quit-window): Rewrite using window--delete.
8525 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8526 Pass display-buffer-mark-dedicated to window--display-buffer-2
8527 (Bug#9639).
8528
3dc61a09
SM
85292011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8530
915a9b64
SM
8531 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8532 returns a list (bug#9554). Add remote file name completion.
8533 * comint.el (comint--table-subvert): Curry and get quote&unquote
8534 functions as arguments.
8535 (comint--complete-file-name-data): Adjust call accordingly.
8536 * pcomplete.el (pcomplete--table-subvert): Remove.
8537 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8538
3dc61a09
SM
8539 * minibuffer.el (completion-table-case-fold): Use currying.
8540 (completion--styles-type, completion--cycling-threshold-type):
8541 New constants.
8542 (completion-styles, completion-category-overrides)
8543 (completion-cycle-threshold): Use them.
8544 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8545 completion-table-case-fold.
8546
8ea0a993
SB
85472011-10-03 Stephen Berman <stephen.berman@gmx.net>
8548
8549 * minibuffer.el (completion-category-overrides): Fix type of styles
8550 and add more user friendly tags (bug#9660).
8551
8c24b7f6
SM
85522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8555 (mule-input-method-string): New widget.
8556 (default-input-method, language-info-custom-alist): Use it.
8557
428fe61a
SM
85582011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8559
32c1fffd
SM
8560 * pcomplete.el: Require comint.
8561 (pcomplete--common-suffix): Remove.
8562 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8563 (pcomplete--table-subvert): Sync with comint--table-subvert.
8564 (pcomplete--entries): Use comint-completion-file-name-table.
8565 * comint.el (comint-unquote-filename): Simplify.
8566 (comint-completion-file-name-table): New function (bug#9616).
8567 (comint--complete-file-name-data): Use it.
8568
428fe61a
SM
8569 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8570 (pcmpl-gnu-tar-buffer): Remove.
8571 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8572 around. Make sure pcomplete-suffix-list is only changed temporarily.
8573 Don't look inside the tar's file if it's too large.
428fe61a 8574
04c52e2f
CY
85752011-10-01 Chong Yidong <cyd@stupidchicken.com>
8576
ce3cefcc
CY
8577 * cus-edit.el (custom-mode-map):
8578 * epa.el (epa-key-list-mode-map):
8579 * man.el (Man-mode-map):
8580 * startup.el (splash-screen-keymap):
8581 * simple.el (special-mode-map): Use scroll-up-command and
8582 scroll-down-command.
8583
8584 * progmodes/idlw-help.el (idlwave-help-mode-map):
8585 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8586 * net/newst-plainview.el (newsticker-mode-map):
8587 * emulation/ws-mode.el (wordstar-mode-map):
8588 * emulation/vi.el (vi-com-map):
8589 * calc/calc-graph.el (calc-graph-show-dumb):
8590 * term/sun.el (terminal-init-sun):
8591 * term/ns-win.el (global-map):
8592 * progmodes/grep.el (grep-mode-map):
8593 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8594 * mail/rmail.el (rmail-mode-map):
8595 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8596
04c52e2f
CY
8597 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8598 custom-safe-themes as special.
8599
79adf8c8
JD
86002011-10-01 Julien Danjou <julien@danjou.info>
8601
8602 * notifications.el (notifications-notify): Fix docstring.
8603
63bd50d3
PS
86042011-10-01 Per Starbäck <per@starback.se>
8605
8606 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8607
199e4c7e
MR
86082011-09-30 Martin Rudalics <rudalics@gmx.at>
8609
8610 * startup.el (command-line-1): Fix last fix by inserting
8611 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8612 (Bug#9605) and (Bug#9636)
199e4c7e 8613
fe5f08dd
EZ
86142011-09-29 Eli Zaretskii <eliz@gnu.org>
8615
8616 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8617 window is hscrolled, move by logical lines. (Bug#9607)
8618 (line-move-visual): Update the doc string to the above effect.
8619
b5516bbd
MR
86202011-09-29 Martin Rudalics <rudalics@gmx.at>
8621
ccee00c0
MR
8622 * window.el (display-buffer-record-window): When WINDOW is the
8623 selected window use `point' instead of `window-point'. (Bug#9626)
8624
b5516bbd
MR
8625 * startup.el (command-line-1): Use insert-before-markers when
8626 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8627
b5516bbd
MR
8628 * help.el (help-window): Remove variable.
8629
52aa0014
GM
86302011-09-29 Glenn Morris <rgm@gnu.org>
8631
8632 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8633
df9a7357
JB
86342011-09-29 Juanma Barranquero <lekktu@gmail.com>
8635
8636 * descr-text.el (describe-char-categories): Accept category
8637 descriptions more than one line long.
8638
a8406c20
SM
86392011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8640
88d9610c
SM
8641 * simple.el (delete-trailing-whitespace): Fix last change.
8642
a5daf810
SM
8643 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8644 Don't confuse "y => 3" as the beginning of a `y' operation.
8645
a8406c20
SM
8646 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8647 object has more than 4 slots (bug#9613).
8648
a239d4e9
JB
86492011-09-28 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * subr.el (with-output-to-temp-buffer):
8652 * net/quickurl.el (quickurl, quickurl-browse-url):
8653 Fix typos in docstrings.
8654
693fbdb6
EZ
86552011-09-27 Eli Zaretskii <eliz@gnu.org>
8656
8657 * minibuffer.el (completion-styles)
8658 (completion-category-overrides): Cross reference each other in doc
8659 strings.
8660
8b457e28
GM
86612011-09-27 Glenn Morris <rgm@gnu.org>
8662
8663 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8664 to split-string. (Bug#9606)
8665
85a16208
LMI
86662011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8667
8668 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8669 (bug#9615).
8670
502f9ebd
CY
86712011-09-27 Chong Yidong <cyd@stupidchicken.com>
8672
8673 * emacs-lisp/package.el (list-packages): Fix echo area message.
8674
7690bdea
LL
86752011-09-27 Leo Liu <sdl.web@gmail.com>
8676
8677 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8678
e2ee6f30
MA
86792011-09-25 Michael Albinus <michael.albinus@gmx.de>
8680
8681 * net/dbus.el (dbus-unregister-object): Don't release services for
8682 registered signals. (Bug#9581)
8683
f3f98342
TZ
86842011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8685
8686 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8687 function that picks between cfengine 2 and 3 support
8688 automatically. Update docs accordingly.
8689
dd7aa8dd
KH
86902011-09-22 Kenichi Handa <handa@m17n.org>
8691
8692 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8693 ZERO.
8694 (indian-itrans-v5-table-for-tamil): New variable.
8695 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8696
3f2b07f8
KM
86972011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8698
8699 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8700 that's true if the current command involved collapsing of text.
8701 It's reset to false at the beginning of the next command.
8702 (allout-post-command-business): Move the cursor to the beginning
8703 of entry if the cursor is hidden and collapsing activity just
8704 happened.
8705
371d6a61
CY
87062011-09-24 Chong Yidong <cyd@stupidchicken.com>
8707
8708 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8709 tracking (Bug#9541).
8710
2ac2721a
UJ
87112011-09-24 Ulf Jasper <ulf.jasper@web.de>
8712
8713 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8714 (newsticker-show-news): Automatically load html rendering package
8715 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8716 because w3m-fill-column is let-bound" and the error "Symbol's value
8717 as variable is void: w3m-fill-column".
2ac2721a 8718
fac7ae53
MA
87192011-09-24 Michael Albinus <michael.albinus@gmx.de>
8720
8721 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8722 Release services only if they are defined. (Bug#9581)
8723
e08b633b
RS
87242011-09-23 Richard Stallman <rms@gnu.org>
8725
e488d29c
RS
8726 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8727 distinguish start of paragraph from start of its text.
8728
19c38752
RS
8729 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8730
e08b633b
RS
8731 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8732 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8733 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8734
0a39f27e
AS
87352011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8736
8737 * international/mule-diag.el (mule-diag): Insert a newline after
8738 each fontset description.
8739
db4e950d
SM
87402011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * simple.el (delete-trailing-whitespace):
8743 Document last change; simplify.
8744
eca3f3ea
PW
87452011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8746
d68e189a
PW
8747 * simple.el (delete-trailing-whitespace): Also delete
8748 extra newlines at the end of the buffer.
8749
eca3f3ea
PW
8750 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8751 (picture-newline): Use forward-line so as to ignore fields.
8752
01c157cc
SM
87532011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * subr.el (with-wrapper-hook): Fix edebug spec.
8756
022de23e
LMI
87572011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
8759 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8760 (bug#4538).
8761
91683089
MA
87622011-09-23 Michael Albinus <michael.albinus@gmx.de>
8763
eca3f3ea
PW
8764 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8765 Fix nasty bug using wrong cached values.
91683089 8766
5bdd6fa4
AM
87672011-09-23 Alan Mackenzie <acm@muc.de>
8768
8769 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8770
97adfb97
CY
87712011-09-23 Chong Yidong <cyd@stupidchicken.com>
8772
8773 * window.el (pop-to-buffer): Ensure right window is selected if we
8774 chose another frame.
8775
d4ef2b50
EZ
87762011-09-22 Eli Zaretskii <eliz@gnu.org>
8777
8778 * simple.el (what-cursor-position): Use get-char-property-change
8779 and next-single-char-property-change, to be able to show display
8780 properties that come from overlays as well as text properties.
8781
72258fe5
CY
87822011-09-22 Chong Yidong <cyd@stupidchicken.com>
8783
8784 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8785
8786 * cmuscheme.el (run-scheme, switch-to-scheme):
8787 * cus-edit.el (customize-group, custom-buffer-create)
8788 (customize-browse):
8789 * info.el (info):
8790 * shell.el (shell):
8791 * mail/sendmail.el (mail):
8792 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8793
8f098516
RS
87942011-09-22 Richard Stallman <rms@gnu.org>
8795
8796 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8797 move back only to line beg, don't move back over blank lines.
8798
e74f1bb6
MA
87992011-09-22 Michael Albinus <michael.albinus@gmx.de>
8800
8801 * files.el (copy-directory): Set directory attributes only in case
8802 they could be retrieved from the source directory. (Bug#9565)
8803
bfeef8b6
DK
88042011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8805
8806 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8807 (hs-find-block-beginning, hs-hide-level-recursive):
8808 Ignore strings as well as comments. (Bug#9502)
8809
7e423bb8
AS
88102011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8811
8812 * progmodes/sql.el (sql-comint-postgres):
8813 Convert port number to a string. (Bug#9566)
8814
b4d72fcf
MR
88152011-09-22 Martin Rudalics <rudalics@gmx.at>
8816
8817 * window.el (quit-window): Undedicate window when switching to
8818 previous buffer. Reported by Thierry Volpiatto
8819 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8820 (special-display-popup-frame): When popping up a new frame reset
8821 its previous buffers to nil. Simplify code.
b4d72fcf 8822
a7b88dc6
MA
88232011-09-21 Michael Albinus <michael.albinus@gmx.de>
8824
8825 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8826 and process filter, as done also in `shell-command'.
8827
cf4eacfd
MR
88282011-09-21 Martin Rudalics <rudalics@gmx.at>
8829
eca3f3ea 8830 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8831 Call set-window-start with NOFORCE argument t.
8832 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8833 (quit-window): Reword doc-string. Handle new format of
8834 quit-restore parameter. Don't delete window if it has a
8835 previous buffer we can show instead of the present one.
8836 (display-buffer-record-window): Rewrite using a new format for
8837 the quit-restore window parameter
8838 (special-display-popup-frame, display-buffer-same-window)
8839 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8840 (display-buffer-pop-up-window, display-buffer-use-some-window):
8841 Adapt symbol passed to display-buffer-record-window.
8842 * help.el (help-window-setup): Handle new format of quit-restore
8843 parameter.
8844
8d28cb95
SM
88452011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8846
94ab793f
SM
8847 * faces.el (face-list): Fix docstring (bug#9564).
8848
8d28cb95
SM
8849 * window.el (display-buffer--action-function-custom-type):
8850 Don't include internal functions in the Custom interface.
8851
3820edeb
JL
88522011-09-20 Juri Linkov <juri@jurta.org>
8853
8854 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8855 (Info-forward-node, Info-backward-node, Info-next-preorder)
8856 (Info-last-preorder): Use it. (Bug#9528)
8857
5147931d
JL
88582011-09-20 Juri Linkov <juri@jurta.org>
8859
8860 * info.el (Info-last-preorder): Visit last menu item only when
8861 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8862
cf499a1a
JD
88632011-09-20 Julien Danjou <julien@danjou.info>
8864
8865 * password-cache.el (password-cache-remove): Remove entries even if the
8866 value is nil, so that password with a nil value (negative caching) is
8867 possible to invalidate.
8868
f84e2fe2
LM
88692011-09-20 Lawrence Mitchell <wence@gmx.li>
8870
8871 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8872 all whitespace around breakpoint. (Bug#9553)
8873 (f90-find-breakpoint): Only break at whitespace inside a comment.
8874
78054a46
SM
88752011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * minibuffer.el (completion-file-name-table): Keep track of errors.
8878 (completion-table-with-predicate): Handle the case where pred1 is nil.
8879 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8880
345083b2
SM
88812011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8882
e24e27be
SM
8883 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8884 (debugger-return-value): Signal an error if the debugging context does
8885 not await any return value.
8886
345083b2
SM
8887 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8888 * image-mode.el (image-toggle-display-text)
8889 (image-toggle-display-image): Stay away from evil `intangible'.
8890
08d355e3
LL
88912011-09-19 Leo Liu <sdl.web@gmail.com>
8892
8893 * replace.el (occur-revert-arguments): Make it permanent-local.
8894 (occur-mode): Don't call font-lock-defontify.
8895
f01da43f
CY
88962011-09-19 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * net/ldap.el (ldap-search-internal): Don't push empty search
8899 result (Bug#9508).
8900
b6072fa6
SM
89012011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8904
443d6696
MA
89052011-09-19 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8908 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8909
7cc6e154
JL
89102011-09-18 Juri Linkov <juri@jurta.org>
8911
8912 * buff-menu.el (Buffer-menu-mode-map):
8913 * dired.el (dired-mode-map):
8914 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8915 (lisp-interaction-mode-map):
8916 * emacs-lisp/package.el (package-menu-mode-map):
8917 * epa.el (epa-key-list-mode-map):
8918 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8919 (menu-bar-options-menu):
8920 * outline.el (outline-mode-menu-bar-map):
8921 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8922 * vc/vc-dir.el (vc-dir-menu-map):
8923 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8924 Capitalize non-function content words in menu item strings.
8925
8926 * dired.el (dired-mode-map): Add menu item for
8927 `image-dired-dired-toggle-marked-thumbs'.
8928
80302a81
JL
89292011-09-18 Juri Linkov <juri@jurta.org>
8930
8931 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8932 to `isearch-case-fold-search' and restore its original value
8933 after the `isearch-mode' call.
8934
46c5cf66
JL
89352011-09-18 Juri Linkov <juri@jurta.org>
8936
8937 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8938 because `zgrep' returns 1 for successful matches (bug#9226).
8939
d18b513b
JL
89402011-09-18 Juri Linkov <juri@jurta.org>
8941
8942 * info.el (Info-extract-menu-node-name): Check the second match
8943 for empty string (second test-case of bug#9528).
8944 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8945 intermediate nodes to the history (first test-case of bug#9528).
8946
72753f87
JL
89472011-09-18 Juri Linkov <juri@jurta.org>
8948
8949 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8950 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8951
c9384295
JL
89522011-09-18 Juri Linkov <juri@jurta.org>
8953
1154d12e
JB
8954 * info.el (Info-file-supports-index-cookies):
8955 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8956 outputs one more line for long file names (bug#4142).
c9384295 8957
d473dce8
CY
89582011-09-18 Chong Yidong <cyd@stupidchicken.com>
8959
8960 * newcomment.el (comment-normalize-vars): If prompting for
8961 comment-start, set comment-start-skip too (Bug#8424).
8962
2176854d
JB
89632011-09-18 Johan Bockgård <bojohan@gnu.org>
8964
8965 * icomplete.el: Fix previous fix of Bug#5849.
8966 (icomplete-mode): Don't set completion-show-inline-help.
8967 (icomplete-minibuffer-setup): Set completion-show-inline-help
8968 locally during icompletion.
8969
3aace4e4
CY
89702011-09-18 Chong Yidong <cyd@stupidchicken.com>
8971
c940224f
CY
8972 * woman.el (woman2-process-escapes): Don't delete unrecognized
8973 escapes (Bug#7843).
8974
3aace4e4
CY
8975 * files.el (inhibit-first-line-modes-regexps): Add image files.
8976 (hack-local-variables-prop-line): Return nil for malformed
8977 prop-lines (Bug#9044).
8978
710dec63
MA
89792011-09-18 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * net/tramp.el (top): Don't require 'shell.
8982 (tramp-methods): Fix docstring.
8983 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8984 Return complete remote file name. Handle "smb" case.
8985 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8986 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8987
8988 * net/tramp-compat.el (top): Require 'shell.
8989
8990 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8991 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8992 `tramp-current-host'.
8993 (tramp-get-remote-tmpdir): Remove.
8994
8995 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8996 `tramp-tmpdir' entries.
8997 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8998 (tramp-smb-handle-file-attributes): Ignore errors.
8999 (tramp-smb-wait-for-output): Check also for process end.
9000
5d5ac8ec
LMI
90012011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9002
9003 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9004 when sending QUIT (bug#9312).
9005
8c0f49f0
CY
90062011-09-17 Chong Yidong <cyd@stupidchicken.com>
9007
9008 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9009 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9010 occur-mode-display-occurrence.
9011 (occur-edit-mode): Add usage message.
9012 (occur-cease-edit): New command.
9013 (occur-after-change-function): Use text properties to find the
9014 position of the prefix text.
9015 (occur-engine): Set stickiness of prefix text properties.
9016
8f1383f7
GM
90172011-09-17 Glenn Morris <rgm@gnu.org>
9018
9019 * progmodes/etags.el (complete-tag):
9020 Fix call to completion-in-region. (Bug#9526)
9021
744ba0e3
JL
90222011-09-17 Juri Linkov <juri@jurta.org>
9023
9024 * textmodes/ispell.el (ispell-word): Add to the error message
9025 the word, ispell program name and current dictionary (bug#9121).
9026 (ispell-tex-arg-end): Capitalize "error" in the error message.
9027
d9bbf400
AS
90282011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9029
9030 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9031 check. (Bug#4251)
9032
8da11505
JL
90332011-09-17 Juri Linkov <juri@jurta.org>
9034
9035 * window.el (window-safe-min-height, window-safe-min-width):
9036 Fix typos (followup to bug#9522).
9037
a91adc7e
SJ
90382011-09-17 Sven Joachim <svenjoac@gmx.de>
9039
9040 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9041
064f328a
EZ
90422011-09-16 Eli Zaretskii <eliz@gnu.org>
9043
9044 * simple.el (line-move): If goal-column is set, move by logical
9045 lines, not by display lines. (Bug#971)
9046 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9047 to reflect the above change.
9048
e69df516
SM
90492011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * image.el (imagemagick-register-types): Use regexp-opt.
9052
cbb0f9ab
CY
90532011-09-15 Chong Yidong <cyd@stupidchicken.com>
9054
9055 * window.el (display-buffer-base-action): Rename from
9056 display-buffer-default-action. Make default value empty.
9057 (display-buffer-overriding-action): Convert to defvar.
9058 (display-buffer-fallback-action): New var.
9059
25322144
CY
90602011-09-15 Chong Yidong <cyd@stupidchicken.com>
9061
9062 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9063 declaration.
9064 (package--add-to-archive-contents): If there is a duplicate entry
9065 with an older version, remove it.
9066 (package-menu-mark-delete, package-menu-mark-install)
9067 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9068 (package-menu-mark-obsolete-for-deletion):
9069 Use package-menu-get-status instead of a regexp search.
25322144
CY
9070 (package-menu-get-status): Use tabulated-list-entry.
9071 (package-menu-mark-upgrades): New command.
d770725a 9072 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9073 (package-menu-execute): Do installation before deletion.
9074 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9075 instead of checking major-mode.
9076 (package-menu--find-upgrades): New function.
9077
7520339c
LMI
90782011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9079
9080 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9081 passwords in the log buffer.
65a046c4
LMI
9082 (smtpmail-process-filter): Update the process marker so that the
9083 "broken by peer" status message is inserted in the right place.
7520339c 9084
d3c30954
SM
90852011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9086
3fe48822
SM
9087 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9088 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9089 bibtex-completion-at-point-function.
9090 (bibtex-completion-at-point-function): Use them.
9091
1b8b3954
SM
9092 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9093
d3c30954
SM
9094 * mpc.el (mpc-constraints-tag-lookup): New function.
9095 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9096 also to browser "album|playlist".
9097
72779976
JL
90982011-09-14 Juri Linkov <juri@jurta.org>
9099
9100 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9101 (isearch-edit-string): Use length of `isearch-string' when
9102 `isearch-fail-pos' returns nil.
9103 (isearch-message): Remove duplicate code and call
9104 `isearch-fail-pos' with arg `t'.
9105
a0bf2bcd
CY
91062011-09-14 Chong Yidong <cyd@stupidchicken.com>
9107
17bb0a2d
CY
9108 * replace.el (occur-mode-goto-occurrence): Don't force using other
9109 window (Bug#9499).
9110
a0bf2bcd
CY
9111 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9112
f678e0b6
MR
91132011-09-14 Martin Rudalics <rudalics@gmx.at>
9114
9115 * window.el (display-buffer-window): Remove.
9116 (display-buffer-record-window): Use help-setup window parameter
9117 instead of variable display-buffer-window.
9118 (display-buffer-function, special-display-buffer-names)
9119 (special-display-function): Mention help-setup parameter instead
9120 of display-buffer-window in doc-string.
d3c30954
SM
9121 * help.el (help-window-setup): New argument help-window.
9122 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9123 Reword some messages.
9124 (with-help-window): Pass window used for displaying the buffer
9125 to help-window-setup. Don't set display-buffer-window.
9126
8e39b2e8
GM
91272011-09-13 Glenn Morris <rgm@gnu.org>
9128
9129 * emacs-lisp/debug.el (debugger-make-xrefs):
9130 Preserve point. (Bug#9462)
9131
85e9c04b
CY
91322011-09-13 Chong Yidong <cyd@stupidchicken.com>
9133
9134 * window.el (window-deletable-p): Use next-frame.
9135
1b36ed6a
MR
91362011-09-13 Martin Rudalics <rudalics@gmx.at>
9137
9138 * window.el (window-auto-delete): Remove.
9139 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9140 dedication and previous buffers.
1b36ed6a
MR
9141 (switch-to-prev-buffer): Don't delete window.
9142 (delete-windows-on): Delete a window's frame if and only if the
9143 window is dedicated.
9144 (replace-buffer-in-windows): Delete buffer's window or frame if
9145 and only if window is dedicated.
9146 (quit-window): Handle quit-restore as before last change.
4d61f28d 9147 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9148
ef8ef9fb
CY
91492011-09-13 Chong Yidong <cyd@stupidchicken.com>
9150
9151 * window.el (window-deletable-p): Never delete the last frame on a
9152 given terminal.
9153
b2cba41e
GM
91542011-09-13 Glenn Morris <rgm@gnu.org>
9155
9156 * help.el (describe-key-briefly): Copy previous standard-output change.
9157
51553db6 91582011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9159
9160 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9161
b7556719
GM
91622011-09-13 Glenn Morris <rgm@gnu.org>
9163
9164 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9165 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9166
64b51947
CY
91672011-09-12 Chong Yidong <cyd@stupidchicken.com>
9168
9169 * dired-aux.el (dired-mark-read-string): Don't return default
9170 value on empty input (Bug#9361).
9171 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9172 Omit initial minibuffer contents.
9173 (dired-do-chmod): Signal an error on empty input.
9174 (dired-mark-read-string): Don't return default on empty input.
9175
9176 * files.el (file-modes-symbolic-to-number): Doc fix.
9177
393a301e
SM
91782011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * international/mule-cmds.el (ucs-completions): Remove.
9181 (read-char-by-name): Use complete-with-action instead; add metadata.
9182
fa5660f9
CY
91832011-09-11 Chong Yidong <cyd@stupidchicken.com>
9184
9185 * window.el (display-buffer--action-function-custom-type)
9186 (display-buffer--action-custom-type): New vars.
9187 (display-buffer-alist, display-buffer-default-action)
9188 (display-buffer-overriding-action): Add defcustom types.
9189
4a592f66
CY
9190 * frame.el (delete-other-frames): Doc fix (Bug#276).
9191
73d56dbd
LMI
91922011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9193
9194 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9195
37ac18a3
CY
91962011-09-11 Chong Yidong <cyd@stupidchicken.com>
9197
9198 Change modes that used same-window-* vars to use switch-to-buffer.
9199
9200 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9201 Use switch-to-buffer.
9202
9203 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9204 (customize-browse, custom-buffer-create-other-window):
9205 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9206
9207 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9208 (Info-prev, Info-up, Info-speedbar-goto-node)
9209 (info-display-manual): Use switch-to-buffer.
9210 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9211
9212 * mail/sendmail.el (mail): Use switch-to-buffer.
9213 (mail-recover): Use switch-to-buffer-other-window.
9214
9215 * cmuscheme.el (run-scheme, switch-to-scheme):
9216 * ielm.el (ielm):
9217 * shell.el (shell):
9218 * net/rlogin.el (rlogin):
9219 * net/telnet.el (telnet, rsh):
9220 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9221
10195bd6
AS
92222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9223
9224 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9225
b322f63a
LMI
92262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9227
39d7fed6
LMI
9228 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9229 so don't mention it (bug#9301).
ba5a81f1 9230 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9231
ee0e9f11
LMI
9232 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9233 match `x', `w32' and `ns', like the manual says (bug#9029).
9234
0b1c89c1 9235 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9236 (process-kill-buffer-query-function): Mention the buffer name in
9237 the query.
0b1c89c1 9238
77549ea8
LMI
9239 * image-mode.el (image-next-line): The line parameter is mandatory
9240 (bug#9258).
9241
803ef892
LMI
9242 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9243 which can be useful (bug#9301).
9244
12980837
LMI
9245 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9246
91054f8f
LMI
9247 * subr.el (match-string): Mention that the current buffer should
9248 be the same as the search was done in (bug#9282).
9249
b322f63a
LMI
9250 * facemenu.el: Disable the remove-* commands if the mark isn't
9251 active (bug#9162).
9252
3199b96f
CY
92532011-09-10 Chong Yidong <cyd@stupidchicken.com>
9254
9255 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9256 of display-buffer.
9257 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9258
9259 * replace.el (occur-mode-goto-occurrence)
9260 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9261 and display-buffer.
9262
9263 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9264 display-buffer.
9265
9266 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9267 special-display and same-window variables.
9268 (mail-other-window): Use switch-to-buffer-other-window.
9269 (mail-other-frame): USe switch-to-buffer-other-frame.
9270
393a301e
SM
9271 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9272 Use display-buffer-other-frame.
3199b96f
CY
9273 (gdb-display-gdb-buffer): Use pop-to-buffer.
9274
9275 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9276
9277 * progmodes/python.el: Don't set same-window-buffer-names.
9278
9279 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9280
9281 * window.el (display-buffer-alist): Add *Python*.
9282
8319e0bf
CY
92832011-09-10 Chong Yidong <cyd@stupidchicken.com>
9284
9285 * window.el (display-buffer-alist): Add entry for buffers
9286 previously handled same-window-*.
9287 (display-buffer-alist, display-buffer-default-action)
9288 (display-buffer-overriding-action): Mark as risky.
9289 (display-buffer-alist): Document action function changes.
9290 (display-buffer--same-window-action)
9291 (display-buffer--other-frame-action): New variables.
9292 (switch-to-buffer, display-buffer-other-frame): Use them.
9293 (display-buffer): Rename reuse-frame entry to reusable-frames.
9294 (display-buffer-reuse-selected-window): Function deleted.
9295 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9296 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9297 (display-buffer-special): New function.
9298 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9299 display-buffer-reuse-or-pop-window. Split off special-display
9300 part into display-buffer-special.
9301 (display-buffer-use-some-window): Don't perform any special
9302 pop-up-frames handling.
9303 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9304 (display-buffer--maybe-same-window): Rename from
0d3ff375 9305 display-buffer-maybe-same-window.
8319e0bf 9306
919a69aa
CY
9307 * info.el: Don't set same-window-regexps.
9308 (info-setup): New function.
9309 (info-other-window, info): Call it.
9310
9311 * cus-edit.el: Don't set same-window-regexps.
9312 (customize-group): New argument.
9313 (customize-group-other-window): Use it.
9314 (customize-face, customize-face-other-window): Likewise.
9315 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9316
8319e0bf
CY
9317 * net/rlogin.el:
9318 * net/telnet.el:
9319 * progmodes/gud.el: Don't set same-window-regexps.
9320
9321 * cmuscheme.el:
9322 * ielm.el:
9323 * shell.el:
9324 * mail/sendmail.el:
9325 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9326
25173000
JL
93272011-09-10 Juri Linkov <juri@jurta.org>
9328
9329 * isearch.el (isearch-edit-string): Remove obsolete mention of
9330 `C-w' (`isearch-yank-word-or-char') from docstring.
9331 (isearch-query-replace): Fix typo in docstring (bug#9466).
9332
056e44ef
JL
93332011-09-10 Juri Linkov <juri@jurta.org>
9334
9335 * paren.el (show-paren-function): Don't show escaped parens.
9336 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9337
c3760c17
EZ
93382011-09-10 Eli Zaretskii <eliz@gnu.org>
9339
9340 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9341 (mm-default-file-encoding): Remove autoload forms, they are
9342 replaced with autoload cookies in mml.el and mm-encode.el.
9343 (mail-add-attachment): New command.
9344 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9345 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9346 the doc string.
9347 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9348
fece895e
RT
93492011-09-10 Reuben Thomas <rrt@sc3d.org>
9350
e69df516
SM
9351 * simple.el (count-words-region): Use buffer if there's no region
9352 (bug#9429).
fece895e 9353
5e68ce4a
JL
93542011-09-09 Juri Linkov <juri@jurta.org>
9355
9356 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9357 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9358 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9359
0a6b9622
AM
93602011-09-09 Alan Mackenzie <acm@muc.de>
9361
9362 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9363 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9364
14a29deb
EZ
93652011-09-09 Eli Zaretskii <eliz@gnu.org>
9366
9367 Fix for Savannah bug#9392.
9368 * simple.el (mail-encode-mml): New defvar.
9369
9370 * mail/rmail.el (mail-encode-mml): Add a defvar.
9371 (rmail-enable-mime-composing): Default to t.
9372 (rmail-forward): Use MIME method of forwarding only if both
9373 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9374 Set mail-encode-mml non-nil if the MIME method was used.
9375
9376 * mail/sendmail.el (mml-to-mime): Add autoload form.
9377 (mail-encode-mml): Add a defvar.
9378 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9379 to nil.
9380 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9381 message through mml-to-mime, and reset mail-encode-mml to nil.
9382
28c45130
GM
93832011-09-09 Glenn Morris <rgm@gnu.org>
9384
9385 * woman.el (woman-if-body): When processing an .el block,
9386 do not delete the next .el block as well. (Bug#9447)
69f4b618 9387 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9388
9b1c252e
MR
93892011-09-08 Martin Rudalics <rudalics@gmx.at>
9390
9391 * window.el (window-deletable-p): Make sure window is live before
9392 invoking window-prev-buffers.
9393
567457e3
LL
93942011-09-08 Leo Liu <sdl.web@gmail.com>
9395
9396 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9397
97f05794
JL
93982011-09-08 Juri Linkov <juri@jurta.org>
9399
9400 * progmodes/compile.el (compilation-environment): Make it
9401 a defcustom (bug#8340).
9402
8b0874b5
MR
94032011-09-08 Martin Rudalics <rudalics@gmx.at>
9404
9405 * window.el (frame-auto-delete): Rename to window-auto-delete.
9406 Make it control auto-deletion of windows and/or frames.
9407 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9408 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9409 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9410 Rewrite handling of case when window/frame can be deleted.
9411 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9412 argument t. (Bug#9456)
8b0874b5 9413
4feb6e73
CY
94142011-09-07 Chong Yidong <cyd@stupidchicken.com>
9415
9416 * help-mode.el (help-mode): Restore autoload.
9417
91ab9c13
JL
94182011-09-07 Juri Linkov <juri@jurta.org>
9419
9420 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9421 `compilation-environment'. Set buffer-local
9422 `compilation-environment' to `thisenv' later after (funcall mode).
9423 (Bug#8340)
9424
9425 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9426 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9427 instead of replacing its value. (Bug#8340)
9428
0527e251
JL
94292011-09-07 Juri Linkov <juri@jurta.org>
9430
9431 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9432 based on text properties put by `grep-filter' instead of matching
9433 escape sequences.
9434 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9435 to the value of `grep-error-screen-columns' (bug#9438).
9436
249f792c
JL
94372011-09-07 Juri Linkov <juri@jurta.org>
9438
9439 * simple.el (next-error-highlight, next-error-highlight-no-select):
9440 Doc fix (bug#9432).
9441
ff7271b9
OT
94422011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9443
9444 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9445 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9446
183fc730
LL
94472011-09-07 Leo Liu <sdl.web@gmail.com>
9448
9449 * net/rcirc.el (rcirc-mode): Conditionally initialize
9450 rcirc-input-ring.
9451
77694924
SM
94522011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * emacs-lisp/find-func.el (find-function-C-source): Only set
9455 find-function-C-source-directory after checking that we found a source
9456 file there (bug#9440).
9457
d809b8eb
AM
94582011-09-06 Alan Mackenzie <acm@muc.de>
9459
9460 * isearch.el (isearch-other-meta-char): Wherever a key list is
9461 unread, "unread" the prefix arg, too. This fixes bug #8901.
9462
453de99f
OG
94632011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9464
9465 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9466
90439906
JL
94672011-09-05 Juri Linkov <juri@jurta.org>
9468
9469 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9470
f62bd846
JL
94712011-09-05 Juri Linkov <juri@jurta.org>
9472
9473 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9474 keeping point where processing of grep matches begins, and
9475 continue to delete remaining escape sequences from the same point.
9476 (grep-filter): Make leading zero optional in "0?1;31m" because
9477 git-grep emits "\033[1;31m" escape sequences unlike expected
9478 "\033[01;31m" as GNU Grep does (bug#9408).
9479 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9480
045820ec
JL
94812011-09-05 Juri Linkov <juri@jurta.org>
9482
9483 * subr.el (y-or-n-p): Capitalize "yes".
9484
f5e29b9b
MA
94852011-09-04 Michael Albinus <michael.albinus@gmx.de>
9486
9487 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9488 `tramp-cache-unload-hook' where appropriate.
9489 (tramp-methods): Rename `tramp-remote-sh' to
9490 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9491 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9492
9493 * net/tramp-sh.el (top): Don't require 'shell.
9494 (tramp-methods): Add `tramp-remote-shell' and
9495 `tramp-remote-shell-args' entries.
9496 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9497 (tramp-sh-handle-shell-command): Remove.
9498 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9499 Use `tramp-remote-shell'.
9500
2784c434
CY
95012011-09-03 Chong Yidong <cyd@stupidchicken.com>
9502
393a301e 9503 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9504 (sendmail-query-once): Save directly to send-mail-function.
9505 Update message-send-mail-function too.
9506
9507 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9508
464cdf56
CS
95092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9510
9511 * progmodes/python.el (python-mode-map): Use correct function to
9512 start python interpreter from menu-bar (as reported by Geert
9513 Kloosterman).
9514 (inferior-python-mode-map): Fix typo.
393a301e 9515 (python-shell-map): Remove.
464cdf56 9516
d37e5c87
DD
95172011-09-03 Deniz Dogan <deniz@dogan.se>
9518
9519 * net/rcirc.el (rcirc-print): Simplify code for
9520 rcirc-scroll-show-maximum-output. There is no need to walk
9521 through all windows to find the right one.
9522
f3ada0ee
CS
95232011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9524
9525 * help.el (help-return-method): Doc fix.
9526
1f3c99ca
MR
95272011-09-03 Martin Rudalics <rudalics@gmx.at>
9528
9529 * window.el (window-deletable-p): Don't return a non-nil value
9530 when there's a buffer that was shown in the window before.
9531 (Bug#9419)
393a301e
SM
9532 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9533 Set window's previous buffers to nil.
1f3c99ca 9534
a3cf097f
EZ
95352011-09-03 Eli Zaretskii <eliz@gnu.org>
9536
9537 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9538 newline before and after the tag line, so it doesn't interfere
9539 with determining the paragraph direction of bidirectional text.
9540
3d03de90
LL
95412011-09-03 Leo Liu <sdl.web@gmail.com>
9542
9543 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9544
c3313451
CY
95452011-09-02 Chong Yidong <cyd@stupidchicken.com>
9546
393a301e 9547 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9548 (pop-to-buffer): Change interactive spec. Pass second argument
9549 directly to display-buffer.
9550 (display-buffer): Fix interactive spec. Use functionp to
9551 distinguish between a function and a list of functions.
9552
9553 * abbrev.el (edit-abbrevs):
9554 * arc-mode.el (archive-extract):
9555 * autoinsert.el (auto-insert):
9556 * bookmark.el (bookmark-bmenu-list):
9557 * files.el (find-file):
9558 * view.el (view-buffer):
9559 * progmodes/compile.el (compilation-goto-locus):
9560 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9561
89894cd8
CY
95622011-09-02 Chong Yidong <cyd@stupidchicken.com>
9563
9564 * window.el (display-buffer-alist): Doc fix.
9565 (display-buffer): Add docstring. Don't treat
9566 display-buffer-default specially.
9567 (display-buffer-reuse-selected-window)
9568 (display-buffer-same-window, display-buffer-maybe-same-window)
9569 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9570 (display-buffer-pop-up-window)
9571 (display-buffer-reuse-or-pop-window)
9572 (display-buffer-use-some-window): New functions.
9573 (display-buffer-default-action): Use them.
393a301e 9574 (display-buffer-default): Delete.
89894cd8
CY
9575 (pop-to-buffer-1): Fix choice of actions.
9576
ae0bc9fb
SM
95772011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * minibuffer.el (completion--insert-strings): Don't get confused by
9580 completion entries that end with an LF char.
9581
e9d90883
EZ
95822011-09-01 Eli Zaretskii <eliz@gnu.org>
9583
9584 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9585
437014c8
CY
95862011-09-01 Chong Yidong <cyd@stupidchicken.com>
9587
9588 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9589 (display-buffer-same-window, display-buffer-other-window):
9590 New functions.
437014c8
CY
9591 (pop-to-buffer-1): New function. Use the above.
9592 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9593 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9594
9595 * view.el (view-buffer-other-window, view-buffer-other-frame):
9596 Just use pop-to-buffer.
9597
a5e063d5
TV
95982011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9599
9600 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9601
793d32bb
WH
96022011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9603
9604 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9605
d65e4c15
RS
96062011-08-31 Richard Stallman <rms@gnu.org>
9607
9608 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9609 of the separation of rmail-view-buffer from rmail-buffer.
9610 If you say no to "replace original", the decrypt is in the
9611 view buffer. If you say yes, the decrypt goes into the
9612 rmail buffer also.
9613
f818cd2a
MR
96142011-08-31 Martin Rudalics <rudalics@gmx.at>
9615
9616 * window.el (display-buffer-window): Rewrite doc-string.
9617 (display-buffer-record-window): New function.
9618 (display-buffer-macro-specifiers)
9619 (display-buffer-even-window-sizes, display-buffer-set-height)
9620 (display-buffer-set-width, display-buffer-in-window)
9621 (display-buffer-reuse-window, display-buffer-split-specifiers)
9622 (display-buffer-side-specifiers, display-buffer-split-window-1)
9623 (display-buffer-split-window, display-buffer-split-atom-window)
9624 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9625 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9626 (display-buffer-other-window-means-other-frame)
9627 (display-buffer-normalize-special)
9628 (display-buffer-normalize-default)
9629 (display-buffer-normalize-argument)
9630 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9631 (display-buffer-normalize-specifiers, display-buffer-frame)
9632 (display-buffer-same-window, display-buffer-same-frame)
9633 (display-buffer-other-window)
9634 (display-buffer-same-frame-other-window)
9635 (display-buffer-other-frame, pop-to-buffer-same-window)
9636 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9637 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9638 (switch-to-buffer-same-frame)
9639 (switch-to-buffer-other-window-same-frame)
9640 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9641 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9642 (display-buffer-alist-set): Remove.
9643 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9644 (special-display-regexps, special-display-function):
9645 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9646 parameter.
9647 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9648 (special-display-frame-alist, special-display-popup-frame)
9649 (same-window-buffer-names, same-window-regexps, same-window-p)
9650 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9651 (split-window-preferred-function, split-height-threshold)
9652 (split-width-threshold, window-splittable-p)
9653 (split-window-sensibly, window--try-to-split-window)
9654 (window--frame-usable-p, even-window-heights)
9655 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9656 (window--display-buffer-2, display-buffer-other-frame):
9657 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9658 (display-buffer-default, display-buffer-assq-regexp): New functions.
9659 (display-buffer-alist): Rewrite doc-string.
9660 (display-buffer-default-action)
9661 (display-buffer-overriding-action): New variables.
9662 (display-buffer, switch-to-buffer): Rewrite.
9663 (pop-to-buffer): Restore Emacs 23 behavior but use
9664 window-normalize-buffer-to-display.
9665 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9666 Restore Emacs 23 behavior but use
9667 window-normalize-buffer-to-switch-to.
9668 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9669 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9670 Rewrite using Emacs 23 options.
f818cd2a 9671
5bc3b51d
MA
96722011-08-31 Michael Albinus <michael.albinus@gmx.de>
9673
9674 * net/tramp.el (tramp-root-regexp): Remove.
9675 (tramp-completion-file-name-regexp-unified)
9676 (tramp-completion-file-name-regexp-separate)
9677 (tramp-completion-file-name-regexp-url): Don't use leading volume
9678 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9679 (tramp-drop-volume-letter): Simplify definition.
9680 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9681
b1a4f8e1
SM
96822011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9685 (bug#9356).
9686
5664fa7b
RT
96872011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9688
b1a4f8e1 9689 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9690
9a45d6c3
JL
96912011-08-29 Juri Linkov <juri@jurta.org>
9692
9693 * isearch.el (isearch-done): Don't display message "Mark saved"
9694 when arg `edit' is non-nil to prevent its flicker in the echo area.
9695
fb87e0fb
CY
96962011-08-28 Chong Yidong <cyd@stupidchicken.com>
9697
9698 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9699 obsolete packages for deletion.
9700
09ac1c2a
CS
97012011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9702
9703 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9704 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9705 view-mode from help-mode.
9706 (help-xref-override-view-map): Remove.
9707 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9708 view-mode is not used anymore.
9709
7a1ff57f
CY
97102011-08-28 Chong Yidong <cyd@stupidchicken.com>
9711
9712 * server.el (server-port): Doc fix.
9713
b9696605
CY
9714 * cus-theme.el (custom-theme-choose-mode): Inherit from
9715 special-mode (Bug#9124).
9716 (custom-theme-choose-mode-map): Add special-mode to parent.
9717
ef8cdf8c
AM
97182011-08-28 Alan Mackenzie <acm@muc.de>
9719
9720 * progmodes/cc-fonts.el
9721 (c-make-font-lock-BO-decl-search-function): New function.
9722 (c-basic-matchers-after - "Fontify the clauses after various
9723 keywords"): Extract the three keyword lists for the 3 erroneous
9724 constructs from the list of four, and use the new function above
9725 in place of an old one.
9726
27de4e20
DD
97272011-08-28 Deniz Dogan <deniz@dogan.se>
9728
9729 * net/rcirc.el (rcirc-insert-prev-input)
9730 (rcirc-insert-next-input): Remove unused argument.
9731
356a3681
SM
97322011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9735
3fc9b218
AM
97362011-08-27 Alan Mackenzie <acm@muc.de>
9737
9738 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9739 handle function pointer parameters properly.
9740
538a061c
MR
97412011-08-27 Martin Rudalics <rudalics@gmx.at>
9742
9743 * window.el (display-buffer-reuse-window): Fix case where
9744 selected window was reused with non-nil OTHER-WINDOW argument.
9745 (Bug#9381)
9746
35b1c40c
DD
97472011-08-27 Deniz Dogan <deniz@dogan.se>
9748
9749 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9750 oftc's NickServ messages.
9751
2f6a3e79
GM
97522011-08-27 Glenn Morris <rgm@gnu.org>
9753
9754 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9755
7254299e
CY
97562011-08-26 Chong Yidong <cyd@stupidchicken.com>
9757
9758 * emacs-lisp/package.el (package-install): Call package-initialize
9759 if called interactively.
9760
f8ccf167
LL
97612011-08-26 Leo Liu <sdl.web@gmail.com>
9762
9763 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9764
3e8cd5ce
JL
97652011-08-25 Juri Linkov <juri@jurta.org>
9766
9767 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9768 `search-whitespace-regexp' (bug#9364).
9769
93eb7113
JL
97702011-08-25 Juri Linkov <juri@jurta.org>
9771
9772 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9773 `regexp-search-ring' to their global values to protect from
9774 updating by `read-from-minibuffer' (bug#9185).
9775
f65d1611
JL
97762011-08-25 Juri Linkov <juri@jurta.org>
9777
9778 * textmodes/ispell.el (ispell-command-loop): Add newline
9779 at the end of the "Use option `i'..." line.
9780
f1cf7a31
JL
97812011-08-25 Juri Linkov <juri@jurta.org>
9782
9783 * battery.el (display-battery-mode): If `battery-status-function'
9784 or `battery-mode-line-format' is nil, display the message and set
9785 `display-battery-mode' to nil (bug#9363).
9786
0c95fcf7
EZ
97872011-08-25 Eli Zaretskii <eliz@gnu.org>
9788
9789 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9790 bidi-string-mark-left-to-right; they are unnecessary now.
9791
a2ebe600
DD
97922011-08-25 Deniz Dogan <deniz@dogan.se>
9793
9794 * net/quickurl.el: Documentation typo fixes.
9795
e4ed06f1
CY
97962011-08-25 Chong Yidong <cyd@stupidchicken.com>
9797
9798 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9799
e5f1c99e
GM
98002011-08-25 Glenn Morris <rgm@gnu.org>
9801
b2948976
GM
9802 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9803
e5f1c99e
GM
9804 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9805 (smtpmail-via-smtp): Handle nil response from smtp.
9806
f22f4808
JL
98072011-08-24 Juri Linkov <juri@jurta.org>
9808
9809 * proced.el (proced-marked): Inherit from `error' instead of
9810 `font-lock-warning-face'.
9811
9812 * ibuffer.el (ibuffer-marked-face): Change default face from
9813 `font-lock-warning-face' to `warning'.
9814 (ibuffer-deletion-face): Change default face from
9815 `font-lock-type-face' to `error'.
9816
9817 * battery.el (battery-update): Use the face `error' instead of
9818 `font-lock-warning-face' (bug#6117).
9819
6a93965e
JL
98202011-08-24 Juri Linkov <juri@jurta.org>
9821
9822 * faces.el (success): Change face color from "Green3" to
9823 "ForestGreen" on light background (bug#9353).
9824
1ed43b09
CY
98252011-08-24 Chong Yidong <cyd@stupidchicken.com>
9826
5664fa7b
RT
9827 * window.el (quit-window): Rename from quit-restore-window.
9828 Use same arglist as old quit-window.
1ed43b09
CY
9829 (frame-auto-delete): Doc fix.
9830
9831 * view.el (view-mode-exit): Use quit-window.
9832
11dcdbb2
JL
98332011-08-24 Juri Linkov <juri@jurta.org>
9834
9835 * isearch.el (isearch-ring-adjust1): Start visiting previous
9836 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9837 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9838 for empty search string (when the last search string is reused
9839 automatically) to adjust the isearch ring to the last element and
9840 prepare the correct index for further M-p commands (bug#9185).
9841
de62b4df
KH
98422011-08-24 Kenichi Handa <handa@m17n.org>
9843
9844 * international/ucs-normalize.el: If decomposition property of
9845 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9846 nil.
9847 (nfd, nfkd): Likewise.
9848
963b492b
SM
98492011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9852 from process filters aren't reliably transmitted to the surrounding
9853 accept-process-output.
9854 (mpc-proc-check): New function.
9855 (mpc-proc-sync): Use it (bug#8293)
9856
93b6b5e1
SM
98572011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9860 Add compatibility functions (bug#9313).
9861
bca633fb
EZ
98622011-08-23 Eli Zaretskii <eliz@gnu.org>
9863
b177498a
EZ
9864 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9865
6df6ae42 9866 * international/uni-bidi.el: Regenerate.
bca633fb 9867
0902a04e
KH
98682011-08-23 Kenichi Handa <handa@m17n.org>
9869
9870 * international/charprop.el:
9871 * international/uni-bidi.el:
9872 * international/uni-category.el:
9873 * international/uni-combining.el:
9874 * international/uni-comment.el:
9875 * international/uni-decimal.el:
9876 * international/uni-decomposition.el:
9877 * international/uni-digit.el:
9878 * international/uni-lowercase.el:
9879 * international/uni-mirrored.el:
9880 * international/uni-name.el:
9881 * international/uni-numeric.el:
9882 * international/uni-old-name.el:
9883 * international/uni-titlecase.el:
9884 * international/uni-uppercase.el: Regenerate.
9885
3bbf23bc
MR
98862011-08-23 Martin Rudalics <rudalics@gmx.at>
9887
9888 * help.el (help-window-setup): Fix message displayed when other
9889 window is reused. (Bug#9341)
9890
b3fd59bd
SM
98912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9892
1802e444
SM
9893 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9894 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9895
b3fd59bd
SM
9896 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9897 Mark obsolete.
9898 * shell.el (shell-parse-pcomplete-arguments): New function.
9899 (shell-completion-vars): Use it instead (bug#9160).
9900
4eb61348
SM
99012011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9902
867cab74
SM
9903 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9904 strings and comments (bug#9333).
9905
4eb61348
SM
9906 * emacs-lisp/debug.el (debug-arglist): New function.
9907 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9908 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9909
262a1439
JL
99102011-08-22 Juri Linkov <juri@jurta.org>
9911
56ee679c
JL
9912 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9913 Revert regexp that highlights output switches to its old
9914 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9915
262a1439
JL
9916 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9917 to check for empty output (bug#9226).
9918
f13f86fb
CY
99192011-08-22 Chong Yidong <cyd@stupidchicken.com>
9920
9921 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9922 symbol-constituent as the default, as that stops font-lock from
9923 working properly (Bug#8843).
9924
c65c9622
LMI
99252011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926
9927 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9928 `coding-system-for-*' around the process open call to avoid
9929 auth-source side effects.
e7f2c178 9930 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9931 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9932 probe hangs.
c65c9622 9933
23a8a5ab
CY
99342011-08-21 Chong Yidong <cyd@stupidchicken.com>
9935
ff98b2dd
CY
9936 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9937
23a8a5ab
CY
9938 * emacs-lisp/find-func.el (find-function-noselect): New arg
9939 lisp-only.
9940
9941 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9942 signal an error for built-in functions (Bug#6664).
9943
f5e3c598
LMI
99442011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9945
9946 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9947 (smtpmail-try-auth-methods): Use it.
9948
a3f2468a
CY
99492011-08-21 Chong Yidong <cyd@stupidchicken.com>
9950
2c34e8da
CY
9951 * font-lock.el (font-lock-fontify-region)
9952 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9953 (font-lock-default-unfontify-buffer)
9954 (font-lock-default-fontify-region)
9955 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9956
b3fd59bd
SM
9957 * progmodes/compile.el (compilation-error-properties):
9958 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9959 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9960 `ant' regexp.
ee31aabc 9961
a3f2468a
CY
9962 * net/browse-url.el (browse-url-firefox): Don't call
9963 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9964
8e999f70
GM
99652011-08-20 Glenn Morris <rgm@gnu.org>
9966
c21a496a
GM
9967 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9968
59ee0542
GM
9969 * tutorial.el (tutorial--default-keys): Update some default bindings.
9970
8e999f70
GM
9971 * files.el (hack-local-variables): Fully ignore case for "mode:".
9972
e3715033
AM
99732011-08-20 Alan Mackenzie <acm@muc.de>
9974
9975 Resolve invalid use of a regexp in regexp-opt.
9976
4d61f28d
JB
9977 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9978 detection for a java annotation.
e3715033 9979
4d61f28d 9980 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9981 detection for a java annotation.
9982
4d61f28d
JB
9983 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9984 handling for java.
e3715033
AM
9985 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9986
04ed2e9c
CY
99872011-08-20 Chong Yidong <cyd@stupidchicken.com>
9988
9989 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9990 (Bug#9274).
9991
826cee64
AM
99922011-08-20 Alan Mackenzie <acm@muc.de>
9993
58179cce 9994 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9995 such a construct. Mainly for when jit-lock etc. starts a chunk
9996 here.
9997
58179cce 9998 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9999 variable.
58179cce 10000 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10001 c-make-font-lock-search-function.
10002 (c-make-font-lock-search-function): Use the above function.
10003 (c-make-font-lock-context-search-function): New function.
10004 (c-cpp-matchers): Enhance the preprocessor expression case with
10005 the above function
10006 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10007 which takes an expression.
10008
10009 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10010
13009bd8
MR
100112011-08-20 Martin Rudalics <rudalics@gmx.at>
10012
10013 * window.el (display-buffer-reuse-window)
10014 (display-buffer-pop-up-window): Don't reuse or split a side
10015 window.
10016
9234ff7f
GM
100172011-08-19 Glenn Morris <rgm@gnu.org>
10018
10019 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10020 Downcase "Mode:". (Bug#9331)
9234ff7f 10021
f635daa1
CY
100222011-08-18 Chong Yidong <cyd@stupidchicken.com>
10023
10024 * international/characters.el: Add L and R categories.
10025
10026 * subr.el (bidi-string-mark-left-to-right): Rename from
10027 string-mark-left-to-right. Use category search.
10028
10029 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10030
bc987f8b
JL
100312011-08-18 Juri Linkov <juri@jurta.org>
10032
10033 * faces.el (error, warning, success): New faces with definitions
10034 copied from old default values of `font-lock-warning-face',
10035 `compilation-warning', `compilation-info' (bug#6117).
10036
10037 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10038
10039 * progmodes/compile.el (compilation-error): Inherit from `error'.
10040 (compilation-warning): Inherit from `warning'.
10041 (compilation-info): Inherit from `success'.
10042
10043 * dired.el (dired-marked): Inherit from `warning'.
10044 (dired-flagged): Inherit from `error'.
10045
57173b96
LMI
100462011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10047
3e79eb87
LMI
10048 * mail/smtpmail.el (auth-source): Require to avoid problems with
10049 binding variables (bug#9298). Also clean up some unused
10050 autoloads.
10051
b3fd59bd
SM
10052 * net/network-stream.el (network-stream-open-starttls):
10053 Support using starttls.el without using gnutls-cli.
57173b96 10054
02b404de
JL
100552011-08-17 Juri Linkov <juri@jurta.org>
10056
10057 * progmodes/grep.el (rgrep): Handle the case when
10058 `grep-find-command' is a cons cell (bug#9278).
10059
8c9177f2
MR
100602011-08-17 Martin Rudalics <rudalics@gmx.at>
10061
10062 * window.el (display-buffer-pop-up-frame): Run frame creation
10063 function with BUFFER current (as special-display-popup-frame
10064 does). Reported by Drew Adams.
10065
3644a0ab
DU
100662011-08-17 Daiki Ueno <ueno@unixuser.org>
10067
10068 * epa-mail.el: Simplify GnuPG group expansion using
10069 epg-expand-group.
10070 (epa-mail-group-alist, epa-mail-group-modtime)
10071 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10072 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10073 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10074 Remove.
10075
5e617bc2 100762011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10077
10078 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10079
9c4aeabf
AM
100802011-08-16 Alan Mackenzie <acm@muc.de>
10081
10082 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10083 Correct, to avoid the inside of macros.
10084
3a99bf64
RS
100852011-08-16 Richard Stallman <rms@gnu.org>
10086
04963aa8
RS
10087 * epa-mail.el: Handle GnuPG group definitions.
10088 (epa-mail-group-alist, epa-mail-group-modtime)
10089 (epa-mail-gnupg-conf-file): New variables.
10090 (epa-mail-parse-groups, epa-mail-sync-groups)
10091 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10092 (epa-mail-expand-recipients): New functions.
10093 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10094
177549d0
RS
10095 * mail/rmail.el (rmail-epa-decrypt): New command.
10096
fe38beef
RS
10097 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10098 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10099 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10100 (epa-decrypt-armor-in-region): Make error message clearer.
10101
934eacb9
SM
101022011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10105 and "a2b" to "ab" for `prefix'.
10106
d024fb4e
CY
101072011-08-14 Chong Yidong <cyd@stupidchicken.com>
10108
10109 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10110 filter groups.
de148fee
CY
10111 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10112 Fourquet (Bug#8804).
d024fb4e 10113
62f1ca49
JB
101142011-08-12 Juanma Barranquero <lekktu@gmail.com>
10115
10116 * startup.el (argi): Declare as global variable (bug#9275).
10117
9ccaaa4b
CY
101182011-08-12 Chong Yidong <cyd@stupidchicken.com>
10119
10120 * subr.el (string-mark-left-to-right): Search the entire string
10121 for RTL script, not just the terminating character. Doc fix.
10122
a3dae87a
SM
101232011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10124
6cd18349
SM
10125 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10126 New function.
10127 (js--regexp-literal, js-syntax-propertize-function): Remove.
10128 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10129 (js-mode-map): Don't rebind electric keys.
10130 (js-insert-and-indent): Remove.
10131 (js-mode): Setup electric-layout and electric-indent instead.
10132
a3dae87a
SM
10133 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10134
9d5cb631
DU
101352011-08-12 Daiki Ueno <ueno@unixuser.org>
10136
10137 * epa.el (epa-progress-callback-function): Fix the logic of
10138 displaying progress.
10139 * epa-file.el (epa-file-insert-file-contents): Make progress
10140 display more user-friendly.
10141 (epa-file-write-region): Ditto.
10142
3e26a4a2
CY
101432011-08-10 Chong Yidong <cyd@stupidchicken.com>
10144
10145 * subr.el (string-mark-left-to-right): New function.
10146
10147 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10148 Use string-mark-left-to-right.
10149 (list-buffers-noselect): Caller changed.
10150
a3dae87a
SM
10151 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10152 Use string-mark-left-to-right.
3e26a4a2
CY
10153 (tabulated-list-print): Recenter after moving point.
10154
ac8cf6e6
JL
101552011-08-10 Juri Linkov <juri@jurta.org>
10156
10157 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10158 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10159 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10160
8d96c9a4
CY
101612011-08-09 Chong Yidong <cyd@stupidchicken.com>
10162
10163 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10164 (Bug#7554).
10165
7be1c708 101662011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10167
10168 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10169 character. (Bug#6594)
10170
37e11a63
CY
101712011-08-08 Chong Yidong <cyd@stupidchicken.com>
10172
839dde57
CY
10173 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10174 (image-dired--with-db-file): New macro.
10175 (image-dired-write-tags, image-dired-remove-tag)
10176 (image-dired-create-gallery-lists, image-dired-write-comments)
10177 (image-dired-get-comment, image-dired-mark-tagged-files)
10178 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10179 (image-dired-gallery-generate): Use insert-file-contents.
10180
37e11a63
CY
10181 * time.el (display-time-world-list, display-time-world-display):
10182 * time-stamp.el (time-stamp-string):
10183 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10184 set-time-zone-rule (Bug#7337).
10185
0b4946c4
DU
101862011-08-08 Daiki Ueno <ueno@unixuser.org>
10187
10188 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10189 (epg-error-to-string, epg-errors-to-string): New function.
10190 (epg-wait-for-completion): Reverse errors list.
10191 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10192 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10193 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10194 (epg-sign-keys, epg-generate-key-from-file)
10195 (epg-generate-key-from-string): Format errors by using
10196 epg-errors-to-string (bug#9255).
10197 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10198
75bfc667
JL
101992011-08-07 Juri Linkov <juri@jurta.org>
10200
10201 * faces.el (list-faces-display): Remove extra angle bracket
10202 from `help-mode-map'.
10203
10204 * info.el (Info-history-toc-nodes): Doc fix.
10205
10206 * longlines.el (longlines-mode): Doc fix.
10207
673e08bb
SM
102082011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10209
4640dd88
SM
10210 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10211 of statements and in a few more cases (bug#9183).
10212
673e08bb
SM
10213 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10214 New functions.
10215 (cl-transform-lambda): Use them (bug#9239).
10216
89b3f019
MR
102172011-08-05 Martin Rudalics <rudalics@gmx.at>
10218
10219 * window.el (display-buffer-same-window)
10220 (display-buffer-same-frame, display-buffer-other-window)
10221 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10222 (pop-to-buffer-other-window)
10223 (pop-to-buffer-same-frame-other-window)
10224 (pop-to-buffer-other-frame): Make them defuns.
10225 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10226
640c8776
SM
102272011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * subr.el (make-composed-keymap): Move from C. Change calling
10230 convention, and improve docstring to bring attention to a subtle point.
10231 * minibuffer.el (completing-read-default): Adjust accordingly.
10232
63648a95
MA
102332011-08-03 Michael Albinus <michael.albinus@gmx.de>
10234
10235 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10236 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10237
10238 * net/trampver.el: Update release number.
10239
b796c9b7
SM
102402011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10243 "in" (bug#9190).
10244
2239d7d5
LMI
102452011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
e07dd7c3
LMI
10247 * mail/sendmail.el (sendmail-query-once): Restore the current
10248 buffer after querying (bug#9074).
10249
0e6a2bd7
LMI
10250 * dired.el (dired-flagged): Use different faces for marked and
10251 flagged files (bug#6117).
10252
ce887515
LMI
10253 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10254 (bug#4433).
10255
92f2affc
LMI
10256 * ido.el (ido-mode): Switch off the message if called
10257 non-interactively.
10258
57d5aff0
LMI
10259 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10260 before 587, since it appears that that's more likely to work for
10261 more people.
10262
98cd6c18 10263 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10264 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10265 exist.
10266
b96dec83
LMI
10267 * info.el: Remove the `Info-beginning-of-buffer' function
10268 (bug#8325).
10269
b796c9b7
SM
10270 * net/network-stream.el (network-stream-open-starttls):
10271 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10272
d90e2ea0
MR
102732011-08-01 Martin Rudalics <rudalics@gmx.at>
10274
10275 * window.el (display-buffer-in-window): Don't set dedicated status
10276 of window here (Bug#9215).
10277 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10278 (display-buffer-pop-up-side-window)
b796c9b7 10279 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10280
cca09170
SM
102812011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10284 before binding generated-autoload-file.
10285
027b979c
DD
102862011-08-01 Deniz Dogan <deniz@dogan.se>
10287
10288 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10289
3c7ee4f3
MA
102902011-07-30 Michael Albinus <michael.albinus@gmx.de>
10291
10292 Sync with Tramp 2.2.2.
10293
10294 * net/trampver.el: Update release number.
10295
2cc8e51a
JL
102962011-07-30 Juri Linkov <juri@jurta.org>
10297
10298 * dired-aux.el (dired-touch-initial): Remove function.
10299 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10300 current time, and `default' to the last modification time of the
10301 current marked file (bug#6887).
10302
a514d856
JM
103032011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10304
10305 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10306 numeric argument to read-number (bug#9163).
a514d856 10307
8a7eddd7
MA
103082011-07-27 Michael Albinus <michael.albinus@gmx.de>
10309
10310 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10311 connection process, it could be nil.
10312
1ddd96f5
LL
103132011-07-27 Leo Liu <sdl.web@gmail.com>
10314
10315 Simplify url handling in rcirc-mode.
10316
10317 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10318 (rcirc-browse-url-at-mouse): Remove.
10319 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10320
b248a85d
AM
103212011-07-26 Alan Mackenzie <acm@muc.de>
10322
10323 Fontify bitfield declarations properly.
10324
10325 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10326 (c-symbol-chars): Now exported as a lang variable.
10327 (c-not-primitive-type-keywords): New lang variable.
10328
10329 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10330 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10331 parsed as a bitfield declaration.
b248a85d 10332
b796c9b7
SM
10333 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10334 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10335 (c-punctuation-in): New function.
10336 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10337 declarations properly.
10338
68575ab0
UJ
103392011-07-26 Ulf Jasper <ulf.jasper@web.de>
10340
10341 * calendar/icalendar.el (icalendar--all-events): Take care of
10342 multiple vcalendars in a single file.
b796c9b7 10343 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10344
0f0a88b9
DD
103452011-07-25 Deniz Dogan <deniz@dogan.se>
10346
10347 * image.el (insert-image): Clarifying docstring.
10348
0b3f36df
MA
103492011-07-24 Michael Albinus <michael.albinus@gmx.de>
10350
10351 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10352 `tramp-send-command-and-check' if there is no error.
10353 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10354
a9901f61
AM
103552011-07-22 Alan Mackenzie <acm@muc.de>
10356
10357 Prevent cc-langs.elc being loaded at run time.
10358
10359 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10360 cc-langs.
10361
4d61f28d 10362 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10363 "(require 'cc-langs)". Quote a form so it will evaluate at
10364 (cc-mode's) compilation time.
10365
11d074b2
MA
103662011-07-22 Michael Albinus <michael.albinus@gmx.de>
10367
10368 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10369 loading. (Bug#9114)
10370
938b94c8
MR
103712011-07-21 Martin Rudalics <rudalics@gmx.at>
10372
10373 * window.el (display-buffer-pop-up-window)
10374 (display-buffer-pop-up-side-window)
10375 (display-buffer-in-side-window): Call display-buffer-set-height
10376 and display-buffer-set-width after setting the new window's
b796c9b7 10377 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10378
bfa4f190
SS
103792011-07-20 Sam Steingold <sds@gnu.org>
10380
10381 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10382 (etags-tags-included-tables): Call `convert-standard-filename' on
10383 the file names contained in TAGS so that windows Emacs can handle
10384 TAGS files created by cygwin ctags.
10385
8ca42262
LMI
103862011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10387
10388 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10389 which apparently didn't work.
10390
5db2afd2 103912011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10392
5db2afd2
RW
10393 * proced.el (proced-send-signal): For *Marked Processes* buffer
10394 put point at beginning of buffer.
10395
92e15d10
SB
103962011-07-19 Stephen Berman <stephen.berman@gmx.net>
10397
10398 * proced.el (proced-format): Make header lines align with the text
10399 (bug#1779).
10400
1bfd59e5
LMI
104012011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10402
10403 * view.el (view-buffer): Allow running in `special' modes if we're
10404 visiting a file (bug#8615).
10405
f5aae37c
MR
104062011-07-19 Martin Rudalics <rudalics@gmx.at>
10407
10408 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10409 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10410 New functions.
f5aae37c
MR
10411 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10412 more accurately.
10413
bf2c1571
AM
104142011-07-18 Alan Mackenzie <acm@muc.de>
10415
10416 Fontify declarators properly when, e.g., a jit-lock chunk begins
10417 inside a declaration.
10418
10419 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10420
b796c9b7
SM
10421 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10422 New function.
bf2c1571
AM
10423 (c-complex-decl-matchers): Insert reference to
10424 c-font-lock-enclosing-decls.
10425
10426 * progmodes/cc-engine.el (c-backward-single-comment):
10427 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10428 to nil around calls to (forward-comment -1).
10429
4e190b80
LMI
104302011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10431
12dc863d
LMI
10432 * image.el (put-image): Doc typo fix.
10433
a762e966
LMI
10434 * progmodes/etags.el (tags-search): Doc typo fix.
10435
4e190b80
LMI
10436 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10437 password if we get errors 550 to 554.
10438
f019fb21
LMI
104392011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440
b796c9b7 10441 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10442
81746738
LMI
10443 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10444 indentation character (bug#6380).
10445
3ee3a1b5
LMI
10446 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10447
c82f64de
LMI
10448 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10449 to clarify what the problem is (bug#4291).
10450
f019fb21
LMI
10451 * simple.el (current-kill): Clarify what
10452 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10453 (auto-fill-mode): Document `auto-fill-function' in relation to
10454 `auto-fill-mode' (bug#2470).
f019fb21 10455
0794775d
LM
104562011-07-16 Lawrence Mitchell <wence@gmx.li>
10457
10458 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10459 method if slot is read-only (bug#9035).
10460
be39b8cc
MR
104612011-07-16 Martin Rudalics <rudalics@gmx.at>
10462
b796c9b7 10463 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10464 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10465 selected before, see discussion of (Bug#8615), (Bug#6954).
10466 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10467
6ccf7859
GM
104682011-07-15 Glenn Morris <rgm@gnu.org>
10469
10470 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10471 Respect help-form.
6ccf7859 10472
87e86684
LM
104732011-07-09 Lawrence Mitchell <wence@gmx.li>
10474
10475 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10476 (gnutls-negotiate): Use it.
10477
d6066239
LMI
104782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10479
b796c9b7
SM
10480 * net/gnutls.el (gnutls-negotiate):
10481 Upcase `gnutls-algorithm-priority'.
d6066239 10482
bd23ebc0
GM
104832011-07-15 Glenn Morris <rgm@gnu.org>
10484
c65bca65
GM
10485 * jka-compr.el (jka-compr-verbose): Move from here...
10486 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10487 Add missing :version tag.
10488 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10489
478615cc
LMI
104902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491
7b41decb
LMI
10492 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10493 (gnutls-negotiate): Use it.
10494
dbc44fcd
LMI
10495 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10496
06789f97
LMI
10497 * info.el (Info-beginning-of-buffer): New command.
10498 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10499 announcing `b' as the key (bug#8325).
ab896c37 10500 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10501
c39da690
LMI
10502 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10503
3aa5f34b
LMI
10504 * international/mule-cmds.el
10505 (describe-specified-language-support): Make the error message
10506 clearer (bug#8905).
10507
4bf0979f
LMI
10508 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10509
478615cc
LMI
10510 * isearch.el (isearch-barrier): Add a doc string, since it's
10511 mentioned in a function doc string (bug#8678).
10512
75c68aa1
MR
105132011-07-15 Martin Rudalics <rudalics@gmx.at>
10514
10515 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10516 buffer argument (Bug#9083) and self-identifying label argument.
10517
a7c33da2
GM
105182011-07-15 Glenn Morris <rgm@gnu.org>
10519
10520 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10521
2f5c6024
LMI
105222011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
10524 * man.el (Man-fontify-manpage): Fix message when formatting the
10525 man page (bug#7929).
10526
0bb23927 105272011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10528
10529 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10530 argument LRM; if non-nil, append an invisible LRM character to the
10531 buffer name.
10532 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10533 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10534 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10535 paragraph direction.
cce4b0a7 10536
621ef9ab
LMI
105372011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10538
d1583c48
LMI
10539 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10540 the man page name (bug#7929).
10541
6a57fb5f
LMI
10542 * image.el (put-image): Mention the `put-image' overlay property
10543 (bug#7834).
10544
d7956b14
LMI
10545 * scroll-bar.el (set-scroll-bar-mode): Mention that
10546 `scroll-bar-mode' lists the values (bug#7772).
10547
5b2d4a66
LMI
10548 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10549 command (bug#7729).
10550
7509a874
LMI
10551 * rect.el (apply-on-rectangle): Return the point after the last
10552 operation.
10553 (string-rectangle): Go to the point after the last operation
10554 (bug#7522).
10555
4fe74b19
LMI
10556 * printing.el (pr-toggle-region): Clarify the documentation
10557 slightly (bug#7493).
10558
b796c9b7
SM
10559 * time.el (display-time-update):
10560 Allow `display-time-mail-function' to return nil (bug#7158).
10561 Fix suggested by Detlev Zundel.
ab283561 10562
fc233c9d
LMI
10563 * vc/diff.el (diff): Clarify the order the file names are read
10564 (bug#7111).
10565
43f5740b
LMI
10566 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10567 the doc string (bug#7015).
10568
f2182a76
LMI
10569 * font-lock.el (font-lock-maximum-decoration): Mention what
10570 numeric levels mean (bug#6935).
10571
621ef9ab
LMI
10572 * startup.el (initial-buffer-choice): Don't mention the `none'
10573 selection, which is against policy.
10574
adc47434
MR
105752011-07-14 Martin Rudalics <rudalics@gmx.at>
10576
b796c9b7
SM
10577 * window.el (display-buffer-normalize-special):
10578 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10579
7e5bfb8f
EZ
105802011-07-14 Eli Zaretskii <eliz@gnu.org>
10581
10582 * subr.el (version<, version<=, version=): Mention "-CVS" and
10583 "-12345" alpha version numbers.
10584
27fa387a
CY
105852011-07-14 Chong Yidong <cyd@stupidchicken.com>
10586
10587 * bindings.el: Add advertised binding for set-mark-command
10588 (Bug#5772).
10589
8bdfa064
CY
105902011-07-14 Chong Yidong <cyd@stupidchicken.com>
10591
10592 * bindings.el (mode-line-other-buffer):
10593 * bookmark.el (bookmark-bmenu-2-window):
10594 * bs.el (bs-cycle-next, bs-cycle-previous):
10595 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10596 switch-to-buffer.
10597
10598 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10599 Delete.
8bdfa064 10600
5eba16a3
JB
106012011-07-14 Juanma Barranquero <lekktu@gmail.com>
10602
10603 * follow.el (follow-debug-message, follow-redisplay):
10604 * jka-cmpr-hook.el (with-auto-compression-mode):
10605 Fix typos in docstrings.
10606
15853710
LMI
106072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10608
a28e4607
LMI
10609 * subr.el (with-silent-modifications): Clarify somewhat what the
10610 macro inhibits (bug#6525).
10611
15853710
LMI
10612 * simple.el (eval-expression): Note what it does if called
10613 interactively (bug#6495).
10614
bee0fcef
CY
106152011-07-13 Chong Yidong <cyd@stupidchicken.com>
10616
b796c9b7
SM
10617 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10618 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10619
10620 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10621 Remove switch-to-buffer.
10622
58274504
LMI
106232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
bd2fcc8d
LMI
10625 * files.el (make-directory): Clarify that an error will be raised
10626 if there's an error (bug#6397).
10627
0f04b32c
LMI
10628 * startup.el (initial-buffer-choice): Add `none' as a choice
10629 (bug#6234).
10630
465c5fc8
LMI
10631 * subr.el (add-hook): Clarify section about buffer-local hooks
10632 (bug#6218).
10633
58274504
LMI
10634 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10635
bead9a43
JB
106362011-07-13 Juanma Barranquero <lekktu@gmail.com>
10637
10638 * tabify.el (untabify): Preserve the current column so that point
10639 doesn't move (bug#6032).
10640
3af98a7b
LMI
106412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10642
b796c9b7
SM
10643 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10644 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10645
6240145a
GM
106462011-07-13 Glenn Morris <rgm@gnu.org>
10647
10648 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10649 (dired-insert-directory): Give a message the first time
10650 if ls is found not to support --dired.
10651
1d8c2ccc
LMI
106522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10653
10654 * simple.el (toggle-truncate-lines): Clarify what is toggled
10655 (bug#5580). Text by Drew Adams.
10656
5fc4038e
CY
106572011-07-13 Chong Yidong <cyd@stupidchicken.com>
10658
10659 * simple.el (blink-matching-open): Make the error message from the
10660 last change less verbose.
10661
bf6012e5
DN
106622011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10663
10664 * font-lock.el (font-lock-comment-face): Use the high contrast
10665 "yellow" color for font-lock-comment-face on low color terminals
10666 using a dark background color (bug#4221).
10667
343c3b5a
LMI
106682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10669
7e9505c5
LMI
10670 * dired.el (dired-insert-set-properties): Make the doc string
10671 reflect what it does now (bug#5325).
10672
c26fdcf5
LMI
10673 * simple.el (blink-matching-open): Say that we were unable to find
10674 the match within the limit, if we're limited (bug#5122).
10675
bb388cc5
LMI
10676 * international/mule-cmds.el (prefer-coding-system): Add an
10677 example (bug#4869).
10678
343c3b5a
LMI
10679 * progmodes/etags.el (tags-search): Document `file-list-form'
10680 (bug#4731).
10681
2a517d45
LM
106822011-07-13 Lawrence Mitchell <wence@gmx.li>
10683
10684 * net/browse-url.el (browse-url-default-browser)
10685 (browse-url-browser-function): Make the default browser choice a
10686 bit more logical (bug#4300). Also clean up the doc string.
10687
b6c78ef2
JB
106882011-07-13 Juanma Barranquero <lekktu@gmail.com>
10689
10690 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10691 binary endings (bug#4440).
10692
1c4dd947
LMI
106932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10694
a2014063
LMI
10695 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10696 which can be pretty annoying (bug#8971).
10697
9c9c2d88
LMI
10698 * jka-compr.el (jka-compr-verbose): New variable, and use
10699 throughout (bug#8971).
10700
1c4dd947
LMI
10701 * info.el (Info-find-file): Fall back on the installation
10702 directory if we can't find the info node anywhere else.
10703
a1c9f41b
SO
107042011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10705
10706 * vc/vc.el (vc-revert-file):
10707 Don't set file time-stamp in the past. (Bug#5181)
10708
536f3d36
LMI
107092011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10710
7152b011
LMI
10711 * files.el (after-find-file): Give a better error message when
10712 trying to find a symlink that points to a file that doesn't exist
10713 (bug#4398).
10714
536f3d36
LMI
10715 * progmodes/cc-vars.el: Remove (probably) misleading comment
10716 (bug#4396).
10717
460c0fba
JB
107182011-07-12 Johan Bockgård <bojohan@gnu.org>
10719
10720 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10721
7a6bda45
CY
107222011-07-12 Chong Yidong <cyd@stupidchicken.com>
10723
10724 * mouse-sel.el: Hack restoring functionality, while keeping
10725 compatibility with 2010-07-03 changes to mouse selection.
10726 (mouse-sel-primary-overlay): New var.
10727 (mouse-sel-selection-alist): Use it.
10728 (mouse-sel-mode): Doc fix; remove points that are default features
10729 of mouse.el.
10730
c79598ef
JB
107312011-07-12 Johan Bockgård <bojohan@gnu.org>
10732
10733 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10734 Fix previous fix (bug#2490).
10735
ff8be6ef
RW
107362011-07-12 Roland Winkler <winkler@gnu.org>
10737
b796c9b7
SM
10738 * textmodes/bibtex.el (bibtex-initialize):
10739 Use pop-to-buffer-same-window.
ff8be6ef
RW
10740 (bibtex-search-entries): Fix interactive call.
10741
296ba3ee
LMI
107422011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10743
f5242a02 10744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10745 Fontise bytecomp Error lines more correctly (bug#2490).
10746 Fix suggested by Johan Bockgård.
f5242a02 10747
296ba3ee
LMI
10748 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10749
10750 * dired-x.el (dired-guess-default): Use `delete-dups'.
10751
f69fd0d2
CY
107522011-07-12 Chong Yidong <cyd@stupidchicken.com>
10753
10754 * dired.el (dired-mark-prompt):
10755 * dired-aux.el (dired-read-shell-command): Doc fix.
10756
eab5dc07
LMI
107572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10758
b796c9b7
SM
10759 * mail/sendmail.el (sendmail-query-once):
10760 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10761 emacs -Q.
10762
10763 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10764
eab5dc07
LMI
10765 * cus-edit.el (custom-file): Take an optional no-error variable.
10766 (customize-save-variable): Set the variable, and give a warning if
10767 running under "emacs -q".
10768
a1e65d42
JB
107692011-07-11 Juanma Barranquero <lekktu@gmail.com>
10770
10771 * loadhist.el (unload-feature-special-hooks):
10772 Add `auto-coding-functions', `fill-nobreak-predicate' and
10773 `find-directory-functions' (bug#5327).
10774
1d52da10
LMI
107752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10776
be958f1d
LMI
10777 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10778
5bedb26c
LMI
10779 * cus-edit.el (custom-guess-name-alist): -alist variables should
10780 use the `alist' type (bug#3120). Suggested by Drew Adams.
10781
1d52da10
LMI
10782 * printing.el: Add documentation to all the `pr-toggle-' commands.
10783
cd394be1 107842011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10785
10786 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10787 backends where it makes sense (bug#2623).
10788
dcc88d8a
LMI
107892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10790
c3de9feb
LMI
10791 * dired-x.el (dired-guess-default): Remove duplicate shell command
10792 entries (bug#2028).
8a93078b 10793 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10794 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10795
dcc88d8a
LMI
10796 * subr.el (remove-duplicates): New conveniency function.
10797
505e3645
LMI
107982011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10799
10800 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10801 (bug#1526).
10802
108032011-07-10 Martin Rudalics <rudalics@gmx.at>
10804
10805 * window.el (display-buffer-normalize-default): Don't invert
10806 meaning of even-window-heights. Reported by Eli Zaretskii
10807 <eliz@gnu.org>.
10808
455e4fa1
BR
108092011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10810
10811 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10812
8e0bc3e9
CY
108132011-07-10 Chong Yidong <cyd@stupidchicken.com>
10814
10815 * window.el (display-buffer): Fix arguments to
10816 display-buffer-reuse-window in last change.
10817
fa7c3228
CY
10818 * faces.el (link): Use a less saturated blue on light backgrounds.
10819
10820 * startup.el (fancy-startup-text, fancy-about-text)
10821 (fancy-startup-tail): Use font-lock faces, for background safety.
10822
c0a7f300
BN
108232011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10824
b796c9b7
SM
10825 * emulation/viper-cmd.el (viper-change-state-to-vi):
10826 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10827
4dc2a129
MR
108282011-07-09 Martin Rudalics <rudalics@gmx.at>
10829
10830 * window.el (display-buffer-default-specifiers): Remove.
10831 (display-buffer-macro-specifiers): Remove default specifiers.
10832 (display-buffer-alist): Default to nil.
b796c9b7 10833 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10834 (display-buffer-pop-up-window): Allow splitting internal
10835 windows. Check whether a live window was created.
10836 (display-buffer-other-window-means-other-frame)
10837 (display-buffer-normalize-arguments): Rename to
10838 display-buffer-normalize-argument and rewrite. Set the
10839 other-window specifier.
10840 (display-buffer-normalize-special): New function.
10841 (display-buffer-normalize-options): Rename to
10842 display-buffer-normalize-default and rewrite.
10843 (display-buffer-normalize-options-inhibit): Remove.
10844 (display-buffer-normalize-specifiers): Rewrite.
10845 (display-buffer): Process other-window specifier and call
10846 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10847 more faithfully.
b796c9b7 10848 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10849 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10850 (display-buffer-in-window, display-buffer-alist-set):
10851 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10852 <tassilo@member.fsf.org>.
10853
2d43b8c9
LL
108542011-07-09 Leo Liu <sdl.web@gmail.com>
10855
10856 * register.el (insert-register): Restore accidental change on
10857 2011-06-26. (Bug#9028)
10858
7f9b7c53
GM
108592011-07-09 Glenn Morris <rgm@gnu.org>
10860
10861 * subr.el (remq): Handle the empty list. (Bug#9024)
10862
f042cfd8
AS
108632011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10864
10865 * mail/sendmail.el (send-mail-function): No longer delay custom
10866 initialization.
10867 * custom.el (custom-initialize-delay): Doc fix.
10868
856b2f11
SM
108692011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10872
afae1d68
MA
108732011-07-08 Michael Albinus <michael.albinus@gmx.de>
10874
10875 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10876 human-friendly prompt.
10877
0757af94
SM
108782011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10881 provided by a particular plugin.
10882
d760b731
LMI
108832011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884
10885 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10886 save customizations (with "emacs -Q"), just set the variable
10887 instead of erroring out.
10888
10889 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10890
cd79ce90
JL
108912011-07-08 Juri Linkov <juri@jurta.org>
10892
10893 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10894 (archive-zip-update-case): Use 7z if found by `executable-find'.
10895 The order of searching the available programs is the same as in
10896 `archive-zip-extract' (bug#8968).
10897
14cc04aa
CY
108982011-07-07 Chong Yidong <cyd@stupidchicken.com>
10899
10900 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10901 (menu-bar-options-menu): Tweak descriptions.
10902
0a1848ec
LMI
109032011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10904
10905 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10906 menu items into verb phrases (bug#1421). Also refill to fit under
10907 80 columns.
10908
f5bd0689
CY
109092011-07-07 Chong Yidong <cyd@stupidchicken.com>
10910
538e85c6
CY
10911 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10912 (Info-read-node-name): Doc fix (Bug#1084).
10913
f5bd0689
CY
10914 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10915 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10916 (end-of-sexp, beginning-of-sexp)
10917 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10918 (forward-symbol, forward-same-syntax, word-at-point)
10919 (sentence-at-point): Doc fix (Bug#1144).
10920
56ec5115
LMI
109212011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10922
f3f8e37f
LMI
10923 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10924 should cover it (bug#1281).
10925
0757af94 10926 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10927
e9fce1ac 10928 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10929 negotiation fails, then possibly try again with a non-encrypted
10930 connection (bug#9017).
10931
56ec5115
LMI
10932 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10933 be used.
10934
c2f9aec8
RS
109352011-07-07 Richard Stallman <rms@gnu.org>
10936
10937 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10938 property, and handle its changed format.
10939 Look for the correct line number.
10940 Use file's line contents (but not past first =) to find
10941 correct line in message.
10942
ef7b981d 109432011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10944
10945 * international/characters.el (build-unicode-category-table):
10946 Delete it.
0757af94 10947 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10948
0757af94 10949 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10950 to src/chartab.c.
10951 (get-char-code-property): Call unicode-property-table-internal to
10952 load a file. Call get-unicode-property-internal where necessary.
10953 (put-char-code-property): Call unicode-property-table-internal to
10954 load a file. Call put-unicode-property-internal where necessary.
10955 put-unicode-property-internal where necessary.
0757af94
SM
10956 (char-code-property-description):
10957 Call unicode-property-table-internal to load a file.
c805dec0
KH
10958
10959 * international/charprop.el:
10960 * international/uni-bidi.el:
10961 * international/uni-category.el:
10962 * international/uni-combining.el:
10963 * international/uni-comment.el:
10964 * international/uni-decimal.el:
10965 * international/uni-decomposition.el:
10966 * international/uni-digit.el:
10967 * international/uni-lowercase.el:
10968 * international/uni-mirrored.el:
10969 * international/uni-name.el:
10970 * international/uni-numeric.el:
10971 * international/uni-old-name.el:
10972 * international/uni-titlecase.el:
10973 * international/uni-uppercase.el: Regenerate.
10974
10975 * loadup.el: Load international/charprop.el before
10976 international/characters.
10977
e14b388a
CY
109782011-07-07 Chong Yidong <cyd@stupidchicken.com>
10979
10980 * window.el (next-buffer, previous-buffer): Signal an error if
10981 called from a minibuffer window.
10982
10983 * bindings.el: Revert 2011-07-04 change.
10984
354cf0ba
RS
109852011-07-06 Richard Stallman <rms@gnu.org>
10986
10987 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10988 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10989 Treat markers like ints.
10990 (rmail-mime-entity): Doc fix.
10991
a48868a7
LMI
109922011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10993
4906cd3d
LMI
10994 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10995 defcustom again for backwards compatibility.
10996
e0457abe
LMI
10997 * simple.el (shell-command-on-region): Fill.
10998
d67f7e1f
LMI
10999 * dired-aux.el (dired-kill-line): Add a doc string.
11000
fe204702
LMI
11001 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11002 to "\\sw\\|\\s_" (bug#358).
11003
a48868a7
LMI
11004 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11005 (dired-unmark-backward): Ditto.
11006 (dired-flag-backup-files): Ditto.
11007
11008 * dired-x.el (dired-mark-sexp): Ditto.
11009
aa8a705c
RS
110102011-07-06 Richard Stallman <rms@gnu.org>
11011
11012 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11013 (rmail-mime-entity): New arg TRUNCATED.
11014 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11015 New functions.
11016 (rmail-mime-save): Warn if entity is truncated.
11017 (rmail-mime-toggle-hidden): Likewise, for showing.
11018 (rmail-mime-process-multipart): Record when an entity is truncated.
11019
a9a936b9
RS
11020 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11021 if ENTITY is a string.
11022
1f2b92cb
LMI
110232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11024
f4f73198 11025 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11026 of faces when `M-C-x'-ing their definitions (bug#8378).
11027 Also clean up the code slightly.
f4f73198 11028
12b16734 11029 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11030 because that makes the colors go away.
12b16734 11031
f0691d22
LMI
11032 * mail/sendmail.el (send-mail-function): Change the default to
11033 `sendmail-query-once'.
9e87df06 11034 (sendmail-query-once): Add an autoload cookie.
f0691d22 11035
1f2b92cb
LMI
11036 * net/network-stream.el (network-stream-open-starttls): Try using
11037 a plain connection even if the server offered STARTTLS, and we
11038 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11039 capability. This should make smtpmail.el work in slightly more
11040 configurations.
11041
1cdd2a1b
MA
110422011-07-06 Michael Albinus <michael.albinus@gmx.de>
11043
11044 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11045 New defun.
11046 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11047
fbcc67e2
MM
110482011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11049
11050 * progmodes/sql.el: Version 3.0
0757af94 11051 (sql-product-alist): Add product :completion-object,
fbcc67e2 11052 :completion-column, and :statement attributes.
0757af94 11053 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11054 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11055 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11056 ansi keywords.
11057 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11058 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11059 (sql-oracle-show-reserved-words): New function for development.
11060 (sql-product-font-lock): Simplify for source code buffers.
11061 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11062 New functions.
11063 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11064 (sql-mode-map): Add statement movement functions.
11065 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11066 New variable.
fbcc67e2
MM
11067 (sql-statement-regexp, sql-beginning-of-statement)
11068 (sql-end-of-statement, sql-signum): New functions.
0757af94 11069 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11070 (sql-show-sqli-buffer): Bug fix.
11071 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11072 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11073 with sql-interactive-mode.
11074 (sql-save-connection): Save buffer local settings.
0757af94 11075 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11076 (sql-product-interactive): Bug fix.
11077 (sql-preoutput-hold): New variable.
11078 (sql-interactive-remove-continuation-prompt): Bug fixes.
11079 (sql-debug-redirect): New variable.
11080 (sql-str-literal): New function.
11081 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11082 Redesign.
fbcc67e2
MM
11083 (sql-oracle-save-settings, sql-oracle-restore-settings)
11084 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11085 (sql-completion-object, sql-completion-column)
11086 (sql-completion-sqlbuf): New variables.
11087 (sql-build-completions-1, sql-build-completions)
11088 (sql-try-completion): New functions.
11089 (sql-read-table-name): Use them.
11090 (sql-contains-names): New buffer local variable.
11091 (sql-list-all, sql-list-table): Use it.
11092 (sql-oracle-completion-types): New variable.
11093 (sql-oracle-completion-object, sql-sqlite-completion-object)
11094 (sql-postgres-completion-object): New functions.
11095
d4eaeab1
GM
110962011-07-06 Glenn Morris <rgm@gnu.org>
11097
11098 * window.el (pop-to-buffer): Doc fix.
11099
322b7dab 111002011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11101
11102 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11103
322b7dab 111042011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11105
322b7dab 11106 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11107
322b7dab 11108 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11109
605dd5bf
CY
111102011-07-05 Chong Yidong <cyd@stupidchicken.com>
11111
11112 * button.el (button): Inherit from link face. Suggested by Dan
11113 Nicolaescu.
11114
7dbfa719
SM
111152011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11116
3db614b0
SM
11117 * progmodes/gdb-mi.el: Fit in 80 columns.
11118 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11119 switch-to-buffer.
11120
7dbfa719
SM
11121 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11122 if imenu is simply not configured (bug#8941).
11123
919d884a
KM
111242011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11125
11126 * allout.el (allout-post-undo-hook): New allout outline-change
11127 event hook to signal undo activity.
11128 (allout-post-command-business): Run allout-post-undo-hook if an
11129 undo just occurred.
7dbfa719
SM
11130 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11131 * allout-widgets.el (allout-widgets-after-undo-function):
11132 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11133 in the vicinity of an undo.
11134 (allout-widgets-mode): Include allout-widgets-after-undo-function
11135 on the new allout-post-undo-hook.
11136
450a0f09
SM
111372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11140 Let define-derived-mode define it.
11141 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11142 cycles of abbrev-table inheritance (bug#8998).
11143
2de69e00
RW
111442011-07-05 Roland Winkler <winkler@gnu.org>
11145
11146 * textmodes/bibtex.el: Add support for biblatex.
11147 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11148 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11149 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11150 (bibtex-entry-alist, bibtex-field-alist): New variables.
11151 (bibtex-entry-field-alist): Obsolete alias for
11152 bibtex-BibTeX-entry-alist.
11153 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11154 (bibtex-set-dialect): New command.
11155 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11156 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11157 Bind via bibtex-set-dialect.
2de69e00
RW
11158 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11159 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11160 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11161 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11162 Define via bibtex-set-dialect.
450a0f09
SM
11163 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11164 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11165 (bibtex-vec-push, bibtex-vec-incr): New functions.
11166 (bibtex-format-entry, bibtex-field-list)
11167 (bibtex-print-help-message, bibtex-validate)
11168 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11169
2dcdbdd9
SM
111702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * progmodes/compile.el (compilation-goto-locus):
11173 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11174 * bs.el (bs-cycle-next, bs-cycle-previous):
11175 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11176 * bindings.el (mode-line-other-buffer):
11177 * autoinsert.el (auto-insert):
11178 * arc-mode.el (archive-extract):
11179 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11180
b27640fe
JB
111812011-07-05 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11184 Fix check of `emacs-lock-unlockable-modes'.
11185 Coerce true values of `emacs-lock--try-unlocking' to t.
11186
53bbe3ad
JB
111872011-07-05 Juanma Barranquero <lekktu@gmail.com>
11188
11189 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11190 * emacs-lock.el: New file.
11191
1d3cdbc7
JD
111922011-07-05 Julien Danjou <julien@danjou.info>
11193
11194 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11195 than `boundp' to check if face is set.
11196
9173deec
JB
111972011-07-05 Juanma Barranquero <lekktu@gmail.com>
11198
11199 * register.el (registerv-make):
11200 * window.el (window-min-height): Fix typos in docstrings.
11201
869795d6
JD
112022011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11203
9173deec 11204 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11205 Update doc string.
11206
b768cdcd
JB
112072011-07-04 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * server.el (server-execute): Catch quit and call
11210 `server-return-error' to pass the error back to emacsclient and
11211 close the connection (bug#8942).
11212
13aa217b
KM
112132011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11214
11215 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11216 insecure exception for current topic. Also note that auto-saves
11217 are handled differently.
11218
5d3385a0 11219 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11220 State variables for tracking auto-save inhibition situation.
11221
11222 (allout-write-contents-hook-handler): Rename from
11223 'allout-write-file-hook-handler', and describe how it depends on
11224 write-contents-functions sensitivity to non-nil value to prevent
11225 file write.
11226
11227 (allout-auto-save-hook-handler): Remove. auto-save does not check
11228 this in individual buffers, only in the starting buffer, so this
11229 is not the right way for us to inhibit auto-save in a buffer
11230 according to its condition.
11231
11232 (allout-mode): Use new allout-write-contents-hook-handler, and
11233 only with write-contents-functions. Remove auto-save provisions -
11234 they're implemented elsewhere.
11235
11236 (allout-before-change-handler): If undo is in progress, note that
11237 for attention of allout-post-command-business.
11238
11239 (allout-post-command-business): If the command we're following was
11240 an undo, check for change in the status of encrypted items and
11241 adjust auto-save inhibitions accordingly.
11242
11243 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11244 according to whether there are or aren't any plain-text topics
11245 pending encryption.
11246
2dcdbdd9 11247 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11248 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11249 if there are plain-text topics pending encryption.
13aa217b
KM
11250
11251 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11252 buffer-saved-size and some allout state to not inhibit auto-saves
11253 if there are no longer any plain-text topics pending encryption.
11254
0757af94
SM
11255 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11256 No longer provide for exemption of the current topic.
13aa217b 11257
ac89b32c
JL
112582011-07-04 Juri Linkov <juri@jurta.org>
11259
11260 Add 7z operations to delete and save changed members (bug#8968).
11261 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11262 New defcustoms.
11263 (archive-7z-write-file-member): New function.
11264 (archive-7z-summarize): Fix the number of dashes in the
11265 listing output.
11266
8fa39615
SM
112672011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11270 (bug#8958).
11271
2f11b3f1
CY
112722011-07-04 Chong Yidong <cyd@stupidchicken.com>
11273
d66fef2b
CY
11274 * bindings.el: Ignore next-buffer and previous-buffer in
11275 minibuffer-local-map.
11276
2f11b3f1
CY
11277 * font-lock.el (font-lock-builtin-face): Change light background
11278 color to dark slate blue (Bug#6693).
11279
f932a347
WD
112802011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11281
11282 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11283
c8af70e1
SM
112842011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11287 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11288 Add switch-to-buffer.
11289
f158badc
LMI
112902011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11291
11292 * isearch.el (isearch-search-fun-function): Clarify further the
11293 meaning of the function returned.
11294
6d95bd46
MA
112952011-07-04 Michael Albinus <michael.albinus@gmx.de>
11296
11297 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11298
11299 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11300 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11301 Use it.
11302 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11303 `tramp-default-remote-path' does not exist.
11304 (tramp-send-command-and-read): New optional argument NOERROR.
11305 (tramp-open-connection-setup-interactive-shell)
11306 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11307 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11308 (tramp-process-sentinel): Flush also process' connection property.
11309 (tramp-sh-handle-start-file-process): Do not set process
11310 sentinel. It is done now ...
11311 (tramp-maybe-open-connection): ... here. (Bug#8929)
11312
909e6b67
MK
113132011-07-04 MON KEY <monkey@sandpframing.com>
11314
11315 * play/animate.el (animate-string): Doc fixes and allow changing
11316 the buffer name (bug#5417).
11317
113182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11319
c8af70e1 11320 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11321
f34755dc
PE
113222011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11323
396cec72
PE
11324 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11325 This is simpler and helps future-proof the code.
11326 (timer-until): Use time-subtract and float-time.
08235028 11327 (timer--time-less-p): Use time-less-p.
f34755dc 11328
56e6cc31
JB
113292011-07-04 Juanma Barranquero <lekktu@gmail.com>
11330
3abb79e5
JB
11331 * type-break.el (timep): Use the value of `float-time' to avoid a
11332 byte-compiler warning.
11333
56e6cc31
JB
11334 * server.el (server-eval-and-print): Return any result, even nil.
11335
7b9430b4
PE
113362011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11337
11338 * type-break.el: Accept time formats that the builtins accept.
11339 (timep, type-break-time-difference): Accept any format that
11340 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11341 This is simpler and helps future-proof the code.
11342 (type-break-time-difference): Round rather than ignoring
11343 subseconds components.
11344
3034e9e7
LMI
113452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346
11347 * info.el (Info-apropos-matches): Make non-interactive, since it
11348 doesn't seem to do anything useful as a command (bug#8829).
11349
1485f4c0
CY
113502011-07-03 Chong Yidong <cyd@stupidchicken.com>
11351
11352 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11353 Move from faces.el.
1485f4c0
CY
11354 (frame-default-terminal-background): New function.
11355
11356 * custom.el (custom-push-theme): Don't record faces in `changed'
11357 theme; this doesn't work correctly for per-frame face settings.
11358 (disable-theme): Use face-set-after-frame-default to reset faces.
11359 (custom--frame-color-default): New function.
11360
9fa3dd45
LMI
113612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11362
c8af70e1 11363 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11364 (bug#8769).
11365
6cbbc20c
KR
113662011-03-29 Kevin Ryde <user42@zip.com.au>
11367
11368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11369 `perl-Test2' extend to match possible "fail #N" rep count
11370 (bug#8377).
11371
c7f98048
LMI
113722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11373
65676592
LMI
11374 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11375 `smtpmail-via-smtp' now returns the error instead of nil.
11376
c7f98048
LMI
11377 * isearch.el (isearch-search-fun-function): Clarify the doc string
11378 (bug#8101).
11379
56e6cc31 113802011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11381
11382 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11383 unnecessary spaces (bug#8987).
11384
2b216704
LMI
113852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11386
11387 * net/network-stream.el (open-network-stream): Use the
11388 :end-of-capability command thoughout.
11389
113902011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11391
11392 * net/network-stream.el (open-network-stream): Add the
11393 :end-of-capability command parameter, used by pop3.el.
11394
36adf6ce
LMI
113952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11396
1ca0da0e
LMI
11397 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11398
fc00f69c
LMI
11399 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11400 for list)" (bug#6475).
11401
28fd8759 11402 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11403 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11404 an error (bug#6297).
11405
0dd8b6da
LMI
11406 * man.el (Man-reference-regexp): Allow matching possible
11407 word-wrapped references (bug#6289).
11408
ce1438d6
LMI
11409 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11410 for consistency with the other vc buffers (bug#6197).
11411 (vc-checkin): Ditto.
11412
11413 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11414
36adf6ce
LMI
11415 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11416
e83cc1f7
LMI
114172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11418
8a20ca4c
LMI
11419 * custom.el (defcustom): Clarify that :set is only used in the
11420 Customize user interface (bug#6089).
11421
83319045
LMI
11422 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11423 associated with a file, refuse to run instead of erroring out
11424 (bug#6084).
11425
a8392169
LMI
11426 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11427 the doc string, since it appears that using `fill-column' always
11428 controls the width (bug#7845).
11429
e83cc1f7
LMI
11430 * simple.el (shell-command-on-region): Say where the error output
11431 went if `shell-command-default-error-buffer' is set (bug#6857).
11432
e47ca23b
KM
114332011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11434
11435 * allout.el (allout-yank-processing): Adjust cursor position for
11436 backwards-deleted space.
11437
11438 (allout-rebullet-heading): Register changes with
11439 allout-exposure-changed-hook, so the modified topic is properly
11440 decorated.
11441
5cf56143
LMI
114422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11443
08549772
LMI
11444 * minibuffer.el (completion-in-region): Document PREDICATE
11445 (bug#7136).
11446
48e96771
LMI
11447 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11448 of keyword/argument pairs (bug#6904).
11449
c8af70e1
SM
11450 * replace.el (multi-occur):
11451 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11452
e17d05e2
LMI
114532011-07-02 Drew Adams <drew.adams@oracle.com>
11454
11455 * dired.el (dired-mark-if): Make the message about whether it's
11456 marking or unmarking clearer (bug#8523).
11457
063b0e45
LMI
114582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11459
11460 * disp-table.el (display-table-print-array): New function.
11461 (describe-display-table): Use it to print the vectors more pretty
11462 (Bug#8859).
11463
28545e04
MR
114642011-07-02 Martin Rudalics <rudalics@gmx.at>
11465
11466 * window.el (window-state-get-1): Don't assign clone numbers.
11467 Add clone-of item to list of window parameters.
11468 (window-state-put-2): Don't process clone numbers.
11469 (display-buffer-alist): Fix doc-string.
11470
3349e122
SM
114712011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * subr.el (remq): Don't allocate if it's not needed.
11474 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11475 (keymap--merge-bindings): New functions.
11476 (keymap-canonicalize): Use them to refine the canonicalization.
11477 * minibuffer.el (minibuffer-local-completion-map)
11478 (minibuffer-local-must-match-map): Move initialization from C.
11479 (minibuffer-local-filename-completion-map): Move initialization from C;
11480 don't inherit from anything here.
11481 (minibuffer-local-filename-must-match-map): Make obsolete.
11482 (completing-read-default): Use make-composed-keymap to combine
11483 minibuffer-local-filename-completion-map with either
11484 minibuffer-local-must-match-map or
11485 minibuffer-local-filename-completion-map.
11486
d224ac83
GM
114872011-07-01 Glenn Morris <rgm@gnu.org>
11488
3de63bf8
GM
11489 * type-break.el (type-break-time-sum): Use dolist.
11490
d224ac83
GM
11491 * textmodes/flyspell.el (flyspell-word-search-backward):
11492 Replace CL function.
11493
1a1e3f32
SM
114942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11495
fe3f64d5
SM
11496 * mouse.el (mouse--strip-first-event): New function.
11497 (function-key-map): Use it to map fringe clicks to normal clicks
11498 by default.
11499
eb604e34
SM
11500 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11501 (vc-bzr-revision-completion-table): Add support for annotate and date.
11502
1a1e3f32
SM
11503 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11504 inherit from parent.
11505
5bd35902
LMI
115062011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11507
ace6c69c 11508 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11509 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11510
191e2bed
LMI
11511 * dired.el (dired-mode): Fix up the doc string as suggested by
11512 Drew Adams (bug#8817).
11513
5bd35902
LMI
11514 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11515 cookie, since the manual says that it should be possible to add
11516 this function to `find-file-hook' (bug#8709).
11517
eee8207a
TZ
115182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11519
11520 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11521 here. Noted Ted Zlatanov as the maintainer.
11522 (cfengine-common-settings, cfengine-common-syntax): New functions
11523 to set up common things between `cfengine-mode' and
11524 `cfengine3-mode'.
11525 (cfengine3-mode): New mode.
11526 (cfengine3-defuns cfengine3-defuns-regex
11527 (cfengine3-class-selector-regex cfengine3-category-regex)
11528 (cfengine3-vartypes cfengine3-font-lock-keywords)
11529 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11530 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11531
36b148cf
MA
115322011-07-01 Michael Albinus <michael.albinus@gmx.de>
11533
11534 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11535
11536 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11537
0bf4ba9a
MR
115382011-07-01 Martin Rudalics <rudalics@gmx.at>
11539
11540 * window.el (same-window-buffer-names, same-window-regexps)
11541 (same-window-p, special-display-frame-alist)
11542 (special-display-popup-frame, special-display-function)
11543 (special-display-buffer-names, special-display-regexps)
11544 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11545 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11546 (split-window-preferred-function, split-height-threshold)
11547 (split-width-threshold, even-window-heights)
11548 (display-buffer-mark-dedicated, window-splittable-p)
11549 (split-window-sensibly, window-safely-shrinkable-p):
11550 Un-obsolete.
11551 (display-buffer): Don't spread args with function specifier
11552 because special-display-popup-frame won't like it.
11553
35837f51
PE
115542011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11555
d0672f86
PE
11556 Time-stamp simplifications and fixes.
11557 These improve accuracy slightly, and future-proof the code
11558 against some potential changes to current-time format.
11559
b9444d97
PE
11560 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11561 by using time-since and float-time.
11562
0ef923dc
PE
11563 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11564 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11565 + NNN microseconds".
11566
2f81380d
PE
11567 * type-break.el (type-break-time-sum): Rewrite using time-add.
11568
845b5c3e
PE
11569 * play/hanoi.el (hanoi-current-time-float): Remove.
11570 All uses replaced by float-time.
11571
ee6f1be0
PE
11572 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11573 This yields a more-accurate answer.
11574 (rng-time-to-float): Remove; no longer needed.
11575
fe955043
PE
11576 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11577
5777162a
PE
11578 * calendar/timeclock.el (timeclock-seconds-to-time):
11579 Defalias to seconds-to-time, since they're the same thing.
11580
3103f8b6 11581 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11582 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11583 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11584
0e61a35f
SM
115852011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * window.el (bury-buffer): Don't iconify the only frame.
11588 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11589 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11590
ddd63a1e
CY
115912011-07-01 Chong Yidong <cyd@stupidchicken.com>
11592
0e61a35f
SM
11593 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11594 Add mouse-yank-primary.
ddd63a1e 11595
055f4923
TZ
115962011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11597
11598 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11599
6a2fb145
SM
116002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11603 (find-library-name): Use it to find relative load names when provided
11604 absolute file name (bug#8803).
11605
fd4983f2
LMI
116062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11607
887d14ad
LMI
11608 * textmodes/flyspell.el (flyspell-word): Consider words that
11609 differ only in case as potential doublons (bug#5687).
11610
c53dc7fc
LMI
11611 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11612 Remove two rather uninteresting debugging-like messages to make
11613 debbugs.el more silent.
11614
fd4983f2
LMI
11615 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11616 a password-like phrase.
11617
7a71b18d 116182011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11619
11620 * progmodes/cc-guess.el: New file.
11621
6a2fb145 11622 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11623
11624 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11625 derived from `c-basic-common-init'.
11626
11627 * progmodes/cc-mode.el (top-level): Require cc-guess.
11628 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11629
1fa280a3
LM
116302011-06-30 Lawrence Mitchell <wence@gmx.li>
11631
11632 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11633
e6597158
AM
116342011-06-30 Alan Mackenzie <acm@muc.de>
11635
1fa280a3
LM
11636 * progmodes/cc-engine.el (c-guess-continued-construct):
11637 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11638 lock is disabled. Name this case as "CASE G".
11639
68ba37fb
KM
116402011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11641
11642 * allout.el (allout-yank-processing): Fix injection of extra space
11643 between bullet and non-whitespace character in first topic when
11644 pasting, ensuring that the actual spacing in the pasted topic
11645 following the bullet char is preserved. This extra space was
11646 causing pasted encrypted topics to get a decrypted status even
11647 when the content was actually still encrypted. Now the decryption
11648 status from before the paste is preserved.
11649
11650 (allout-flag-region): Set all allout overlays so they evaporate
11651 when reduced to zero length (evanescent), to prevent overlay
11652 leakage.
11653
887a0b34
GM
116542011-06-30 Glenn Morris <rgm@gnu.org>
11655
94b9acce
GM
11656 * w32-fns.el (w32-charset-info-alist): Declare.
11657
1d9b46d4
GM
11658 * find-dired.el (find-grep-options): Simplify.
11659
cc232200
GM
11660 * term/ns-win.el (ns-set-resource): Declare.
11661
28e77c46
GM
11662 * ses.el (row, col): Declare dynamic variables honestly.
11663
887a0b34
GM
11664 * textmodes/reftex-parse.el (index-tags): Declare.
11665
658d8eb8
CY
116662011-06-30 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * cus-edit.el (customize-push-and-save): New function.
11669
11670 * files.el (hack-local-variables-confirm): Use it.
11671
1fa280a3
LM
11672 * custom.el (load-theme): New arg NO-CONFIRM.
11673 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11674 (custom-enabled-themes): Doc fix.
11675
11676 * cus-theme.el (customize-create-theme)
11677 (custom-theme-merge-theme): Callers to load-theme changed.
11678
bb617717
LMI
116792011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680
d61bdd5d
LMI
11681 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11682 short URLs have at least one dot in them (bug #7614).
11683
bb617717
LMI
11684 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11685 nil, because using a pty is apparently too slow (bug #895).
11686
2f31f37a
LMI
116872011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11688
11689 * mail/sendmail.el (sendmail-query-once): New function.
11690 (sendmail-query-once-function): New variable.
11691
3076b24e
GM
116922011-06-29 Glenn Morris <rgm@gnu.org>
11693
faf2a174
GM
11694 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11695
3076b24e
GM
11696 * ses.el (top-level): Require cl when compiling.
11697 (ses-set-localvars): Fix error statement.
11698 Call it at compile time to silence a storm of warnings.
11699
5386012d
MR
117002011-06-29 Martin Rudalics <rudalics@gmx.at>
11701
11702 * window.el (normalize-live-buffer): Rename to
11703 window-normalize-buffer.
11704 (normalize-live-frame): Rename to window-normalize-frame.
11705 (normalize-any-window): Rename to window-normalize-any-window.
11706 (normalize-live-window): Rename to window-normalize-live-window.
11707 (make-window-atom): Rename to window-make-atom.
11708 (window-resize-reset): Rename to window--resize-reset.
11709 (window-resize-reset-1): Rename to window--resize-reset-1.
11710 (resize-mini-window): Rename to window--resize-mini-window.
11711 (resize-subwindows-skip-p): Rename to
11712 window--resize-subwindows-skip-p.
11713 (resize-subwindows-normal): Rename to
11714 window--resize-subwindows-normal.
11715 (resize-subwindows): Rename to window--resize-subwindows.
11716 (resize-other-windows): Rename to window--resize-siblings.
11717 (resize-this-window): Rename to window--resize-this-window.
11718 (resize-root-window): Rename to window--resize-root-window.
11719 (resize-root-window-vertically): Rename to
11720 window--resize-root-window-vertically.
11721 (normalize-buffer-to-display): Rename to
11722 window-normalize-buffer-to-display.
11723 (normalize-buffer-to-switch-to): Rename to
11724 window-normalize-buffer-to-switch-to.
11725 Correspondingly update all callers of the functions listed
11726 above.
11727 (display-buffer-alist, display-buffer-normalize-arguments)
11728 (display-buffer-normalize-options, display-buffer)
11729 (display-buffer-alist-set): Use "function" instead of
11730 "fun-with-args".
11731
1176868d
CY
117322011-06-28 Chong Yidong <cyd@stupidchicken.com>
11733
11734 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11735 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11736 debbugs.gnu.org. Mention acknowledgment email.
11737
20a7a65f
LMI
117382011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11739
11740 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11741 buffer multibyteness, since it shouldn't matter.
11742
5f45cca5
MR
117432011-06-28 Martin Rudalics <rudalics@gmx.at>
11744
11745 * window.el (display-buffer-in-side-window): Handle dedicated
11746 windows as in display-buffer-reuse-window.
11747 (display-buffer-normalize-alist): Use value of override
11748 specifier.
11749 (display-buffer-normalize-specifiers): Use value of
11750 other-window-means-other-frame specifier.
11751 (display-buffer-alist): Rewrite some texts in widgets.
11752 (display-buffer): Spread arguments when calling function
11753 specified by fun-with-args.
11754
ad85fe1f
DD
117552011-06-28 Deniz Dogan <deniz@dogan.se>
11756
1fa280a3
LM
11757 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11758 Unnest `let'.
da68c4c8 11759
ad85fe1f
DD
11760 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11761 selectors (Bug#5732).
ec49bd31 11762 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11763
a08cc025
JA
117642011-06-27 Jari Aalto <jari.aalto@cante.net>
11765
11766 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11767 (eshell-ls-date-format): New defcustom.
11768 (eshell-ls-file): Use it.
11769
e2b551c5
SM
117702011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11773
8982b231
KY
117742011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11775
11776 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11777 (ange-ftp-make-tmp-name): New arg.
11778 (ange-ftp-file-local-copy): Use it.
11779
36c9fa27
J
117802011-06-27 Jambunathan K <kjambunathan@gmail.com>
11781
11782 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11783 no-conversion (Bug#8870).
11784
d68443dc
MR
117852011-06-27 Martin Rudalics <rudalics@gmx.at>
11786
11787 * window.el (window-right, window-left, window-child)
11788 (window-child-count, window-last-child)
11789 (window-iso-combination-p, walk-window-tree-1)
11790 (window-atom-check-1, window-tree-1, delete-window)
11791 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11792 new naming conventions - window-vchild, window-hchild,
11793 window-next and window-prev are now called window-top-child,
11794 window-left-child, window-next-sibling and window-prev-sibling
11795 respectively.
d615d6d2
MR
11796 (resize-window-reset): Rename to window-resize-reset.
11797 (resize-window-reset-1): Rename to window-resize-reset-1.
11798 (resize-window): Rename to window-resize.
11799 (window-min-height, window-min-width)
11800 (resize-mini-window, resize-this-window, resize-root-window)
11801 (resize-root-window-vertically, adjust-window-trailing-edge)
11802 (enlarge-window, shrink-window, maximize-window)
11803 (minimize-window, delete-window, quit-restore-window)
11804 (split-window, balance-windows, balance-windows-area-adjust)
11805 (balance-windows-area, window-state-put-2)
11806 (display-buffer-even-window-sizes, display-buffer-set-height)
11807 (display-buffer-set-width, set-window-text-height)
11808 (fit-window-to-buffer): Rename all "resize-window" prefixed
11809 calls to use the "window-resize" prefix convention.
11810 (display-buffer-alist): Fix symbol for label specifier.
11811 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11812 corresponding specifier.
11813 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11814
b6458526
VB
118152011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11816
11817 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11818 convention.
11819 (ses-call-printer): Does not pass an empty string to formatter when the
11820 cell is empty to keep from barking printer Calc math-format-value.
11821
d31fd9ac
RS
118222011-06-27 Richard Stallman <rms@gnu.org>
11823
43d5bf84
RS
11824 * battery.el (battery-mode-line-limit): New variable.
11825 (battery-update): Handle it.
11826
d31fd9ac
RS
11827 * mail/rmailmm.el (rmail-mime-process-multipart):
11828 Handle truncated messages.
11829
819a6054
GM
118302011-06-27 Glenn Morris <rgm@gnu.org>
11831
11832 * progmodes/flymake.el (flymake-err-line-patterns):
11833 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11834
cedc73f2
VB
118352011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11836
819a6054 11837 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11838 (ses--clean-!, ses--clean-_): New functions.
11839 (ses-range): Add configurability of readout order, and conversion
11840 to Calc vector.
11841
5e5d49b6
VB
11842 * ses.el (ses-repair-cell-reference-all): New function.
11843 (ses-cell-symbol): Set macro as safe, so that it can be used in
11844 formulas.
11845
56e6cc31 11846 * ses.el: Update cycle detection algorithm.
90ca8b49 11847 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11848 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11849 (ses-set-localvars): New function.
11850 (ses-make-cell): Add property-list as a cell element.
11851 (ses-cell-property-get-fun, ses-cell-property-get)
11852 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11853 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11854 New functions.
90ca8b49
VB
11855 (ses-cell-property-set, ses-cell-property-pop)
11856 (ses-cell-property-get-handle): New macro.
11857 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11858 New aliases, used for code readability.
11859 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11860 cycle detection.
11861 (ses-self-reference-early-detection): New defcustom.
fac916bf 11862 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11863 (ses-mode): Use ses-set-localvars.
11864 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11865 before lauching the update processing.
11866 (ses-initialize-Dijkstra-attempt): New function.
11867 (ses-recalculate-cell): Update for cycle detection based on
11868 Dijkstra algorithm.
11869
2bb63e81
VB
11870 * ses.el: Fix commenting and indenting convention.
11871
c9d29fb8
SM
118722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * bs.el (bs-cycle-next): Complete last change.
11875
d8e4b68b
JB
118762011-06-27 Drew Adams <drew.adams@oracle.com>
11877
11878 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11879
40098786
LMI
118802011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
c9d29fb8
SM
11882 * net/network-stream.el (network-stream-open-starttls):
11883 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11884 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11885
40098786
LMI
11886 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11887 to binary to possibly avoid line encoding issues on Windows (among
11888 other things).
11889
468d09d4
LMI
118902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11891
11892 * net/network-stream.el (open-network-stream): Return an :error
11893 saying what the problem was, if possible.
11894
11895 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11896 server.
11897
11898 * net/network-stream.el (network-stream-open-starttls): If we
11899 wanted to use STARTTLS, and the server offered it, but we weren't
11900 able to because we had no STARTTLS support, then close the connection.
11901 (open-network-stream): Return an :error element, if present.
11902
16f07dd7
CY
119032011-06-26 Chong Yidong <cyd@stupidchicken.com>
11904
88821ca0
CY
11905 * hl-line.el (hl-line-sticky-flag): Doc fix.
11906 (global-hl-line-sticky-flag): New option (Bug#8323).
11907 (global-hl-line-highlight): Obey it.
11908
16f07dd7
CY
11909 * vc/vc.el (vc-revert-show-diff): Default to t.
11910
6b5ccddf
KM
119112011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11912
c9d29fb8
SM
11913 * allout-widgets.el (allout-widgets-post-command-business):
11914 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11915 undecorated when an isearch is continued past, and isearch
11916 automatically collapses them. This leads to "widget leaks", where
11917 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11918 hidden widgets can slow down cursor travel, substantially.
11919 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11920 so we're doing without this nicety.
11921
11922 (allout-widgets-tally-string): Don't try to do a hash-table-count
11923 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11924 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11925 *Messages* when allout-widgets-maintain-tally is t.
11926
355f2e07
MR
119272011-06-26 Martin Rudalics <rudalics@gmx.at>
11928
11929 * window.el (display-buffer-normalize-argument): Rename to
11930 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11931 LABEL argument. Respect special-display-function when popping up
11932 a new frame. Fix code searching for a window showing the buffer
11933 on another frame.
c9d29fb8
SM
11934 (display-buffer-normalize-specifiers):
11935 Call display-buffer-normalize-arguments.
355f2e07
MR
11936 (display-buffer-in-window): Don't undedicate the window if its
11937 buffer remains the same.
11938 Reported by Drew Adams <drew.adams@oracle.com>.
11939 (display-buffer-alist): Add choice for same-window macro
11940 specfier.
11941 (display-buffer): Mention special meaning of LABEL argument in
11942 doc-string. Fix quoting. Don't pop up a new frame even as
11943 fallback.
11944
7ca8fc42
JB
119452011-06-26 Juanma Barranquero <lekktu@gmail.com>
11946
11947 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11948 avoid deleting the current window in some cases (bug#8911).
11949
bc312254
AS
119502011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11951
11952 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11953 (Bug#8934)
11954
2db18f3f
LMI
119552011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11956
c9d29fb8
SM
11957 * net/network-stream.el (network-stream-open-starttls):
11958 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11959 (network-stream-open-tls): Ditto.
11960
6302e0d3
LL
119612011-06-26 Leo Liu <sdl.web@gmail.com>
11962
11963 * register.el (registerv): New struct.
11964 (registerv-make): New function.
c9d29fb8
SM
11965 (jump-to-register, describe-register-1, insert-register):
11966 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11967 struct. (Bug#8415)
11968
5fdd4046
CY
119692011-06-26 Chong Yidong <cyd@stupidchicken.com>
11970
2afef60a
CY
11971 * vc/vc.el (vc-revert-show-diff): New defcustom.
11972 (vc-diff-internal): New arg specifying diff buffer.
11973 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11974 reuse an existing *vc-diff* buffer (Bug#8927).
11975
5fdd4046
CY
11976 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11977
e93db24a
GM
119782011-06-26 Glenn Morris <rgm@gnu.org>
11979
11980 * progmodes/f90.el (f90-critical-indent): New option.
11981 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11982 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11983 (f90-mode): Doc fix.
11984 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11985 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11986 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11987 (f90-match-end): Handle block, critical.
11988
eefff499
GM
119892011-06-25 Glenn Morris <rgm@gnu.org>
11990
f6ba4cc9
GM
11991 * calendar/diary-lib.el (diary-included-files): Doc fix.
11992 (diary-include-files): New function, extracted from
11993 diary-include-other-diary-files and diary-mark-included-diary-files.
11994 (diary-include-other-diary-files, diary-mark-included-diary-files):
11995 Just call diary-include-files.
11996 (diary-mark-entries): Reset diary-included-files on first call.
11997
16712304
GM
11998 * calendar/diary-lib.el (diary-mark-entries)
11999 (diary-mark-included-diary-files):
12000 Visit included diary-files in temp buffers.
12001
5d8e0d43
GM
12002 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12003 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12004 (f90-start-block-re, f90-imenu-generic-expression)
12005 (f90-looking-at-program-block-start, f90-no-block-limit):
12006 Add support for submodules.
12007
ccf7a5d5
GM
12008 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12009 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12010
11fdef7d 120112011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12012
12013 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12014 buffer-file-type before setting its value, to avoid disastrous
eefff499 12015 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12016
74f53697
JB
120172011-06-25 Juanma Barranquero <lekktu@gmail.com>
12018
12019 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12020
12021 * ses.el (ses-unload-function):
12022 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12023
12024 * proced.el (proced-unload-function):
12025 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12026
18a4ce5e
AR
120272011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12028
12029 * server.el (server-create-window-system-frame): Add parameters arg.
12030 (server-process-filter): Doc fix. Handle frame-parameters.
12031
519d22cc
JB
120322011-06-25 Juanma Barranquero <lekktu@gmail.com>
12033
12034 Fix bug#8730, bug#8781.
12035
12036 * loadhist.el (unload--set-major-mode): New function.
12037 (unload-feature): Use it.
12038
12039 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12040 (python-unload-function): New function.
12041
c206f5b0
SM
120422011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12045
f9ad64f3
GS
120462011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12047
12048 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12049 the candidates list.
12050
7d0da90e
JB
120512011-06-24 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12054
14b4e83d
RS
120552011-06-23 Richard Stallman <rms@gnu.org>
12056
12057 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12058 (rmail-variables): Set next-error-move-function.
12059 (rmail-what-message): Take argument POS.
12060 (rmail-next-error-move): New function.
12061
273d2baf
SM
120622011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12063
12064 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12065 messages for adjacent non-terminals.
12066
56c2cc9a
RS
120672011-06-23 Richard Stallman <rms@gnu.org>
12068
12069 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12070 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12071 (rmail-start-mail): Don't specify use of rmail-mail-return;
12072 that's done by mail-bury now.
12073 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12074
d59eb518
MA
120752011-06-23 Michael Albinus <michael.albinus@gmx.de>
12076
12077 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12078 SIZE is a number.
12079
02cfc6d6
MR
120802011-06-23 Martin Rudalics <rudalics@gmx.at>
12081
12082 * window.el (get-lru-window, get-mru-window)
12083 (get-largest-window): Never return a minibuffer window.
12084 (display-buffer-pop-up-window): Fix a bug that could lead to
12085 reusing the minibuffer window.
12086 (display-buffer): Pass original specifier argument to
12087 display-buffer-function instead of the normalized one.
12088 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12089
4e323265
LL
120902011-06-22 Leo Liu <sdl.web@gmail.com>
12091
12092 * minibuffer.el (completing-read-function)
12093 (completing-read-default): Move from minibuf.c
12094
7a70468f
RS
120952011-06-22 Richard Stallman <rms@gnu.org>
12096
50718fc2
RS
12097 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12098 to Rmail even if not started by a special Rmail command.
12099
7a70468f
RS
12100 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12101 Copy the buffer currently showing just one message.
12102
297dde5a
RW
121032011-06-22 Roland Winkler <winkler@gnu.org>
12104
12105 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12106 (bibtex-clean-entry): First delete the old key so that a
12107 customized algorithm for generating the new key does not get
12108 confused by the old key.
12109 (bibtex-url): Obey regexp of first step.
12110 (bibtex-search-entries): Do not use add-to-list with local
12111 list-var.
12112
97bb1093
LMI
121132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12114
12115 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12116 stored a user name, then query for the password first, instead of
12117 waiting for SMTP to give an error message and the trying again.
12118
1c0f1a19
JD
121192011-06-22 Lawrence Mitchell <wence@gmx.li>
12120
12121 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12122 BUFFER in call-process.
12123
396f7c9d
LMI
121242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12125
12126 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12127 QUIT twice.
ddb7ffee
LMI
12128 (smtpmail-try-auth-methods): Require user name and password from
12129 auth-source.
396f7c9d 12130
8998d1b3
MR
121312011-06-22 Martin Rudalics <rudalics@gmx.at>
12132
12133 * window.el (display-buffer-default-specifiers)
12134 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12135 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12136 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12137
12138 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12139 (special-display-frame-alist, special-display-popup-frame):
12140 Remove duplicate declarations. These are now in window.el.
12141
4ea31e07
LMI
121422011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12143
c9d29fb8
SM
12144 * mail/smtpmail.el (smtpmail-via-smtp):
12145 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12146 server supports it. SMTP servers that support STARTTLS commonly
12147 require it.
12148
12149 * net/network-stream.el (network-stream-open-starttls): Support
12150 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12151 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12152
95f41d9a
LMI
12153 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12154 upgrades with `open-network-stream', and rely solely on
12155 auth-source for all credentials. Big changes throughout the file,
12156 but in particular:
c9d29fb8
SM
12157 (smtpmail-auth-credentials): Remove.
12158 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12159 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12160 MAIL FROM, too.
95f41d9a 12161
c9d29fb8
SM
12162 * net/network-stream.el (network-stream-open-starttls):
12163 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12164 STARTTLS.
12165 (auth-source): Require.
12166 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12167 (network-stream-certificate): Change cert-cert to cert and
12168 cert-key to key.
4ea31e07 12169
065ec2c7
MA
121702011-06-21 Michael Albinus <michael.albinus@gmx.de>
12171
12172 * net/tramp-cache.el (top): Don't load the persistency file when
12173 "emacs -Q" has been called.
12174
cd93b359
DR
121752011-06-21 Tim Harper <timcharper@gmail.com>
12176
d8e4b68b
JB
12177 * term/ns-win.el (ns-initialize-window-system):
12178 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12179 resource to NO as it is not yet supported by the NS port.
12180
ae9c0411
JB
121812011-06-21 Juanma Barranquero <lekktu@gmail.com>
12182
12183 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12184 (list-dynamic-libraries): ...not here.
12185
7f3f739f
LL
121862011-06-21 Leo Liu <sdl.web@gmail.com>
12187
12188 * subr.el (sha1): Implement sha1 using secure-hash.
12189
327c8fb1
MR
121902011-06-21 Martin Rudalics <rudalics@gmx.at>
12191
12192 * window.el (display-buffer-alist): In default value do not
12193 enforce searching a window on any but the selected frame.
12194 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12195 (display-buffer-select-window): Remove function.
12196 (display-buffer-in-window): When a window on another frame gets
12197 reused, do not select it any more but just raise its frame if
12198 necessary (Bug#8851) and (Bug#8856).
12199 (display-buffer-normalize-options): Handle pop-up-frames related
12200 options more faithfully.
12201 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12202 window if it is on another frame.
c9d29fb8
SM
12203 (display-buffer-alist, display-buffer-default-specifiers):
12204 Don't make new frame unsplittable by default.
9e9de014
MR
12205 (display-buffer-normalize-argument): Fix doc-string typo and use
12206 'same-frame-other-window instead of 'other-window when associating
12207 with display-buffer-macro-specifiers.
327c8fb1 12208
7cf3f556
VB
122092011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12210
12211 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12212 New functions.
12213 (5x5-mode-map, 5x5-mode-menu): Bind them.
12214 (5x5-draw-grid): Tweak the solver's rendering.
12215
60a406cf
SM
122162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12219 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12220
d8e4b68b 122212011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12222
12223 * menu-bar.el: Use function variable instead of switch-to-buffer.
12224 (menu-bar-select-buffer-function): New variable.
60a406cf 12225 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12226
478d6f95
SM
122272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12230 variable's status.
12231
ca530739
JD
122322011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12233
12234 * x-dnd.el (x-dnd-version-from-flags)
12235 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12236 and long as number (Bug#8899).
12237 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12238
bcd70d97
SM
122392011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12240
60a406cf 12241 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12242 (completion-try-completion, completion-all-completions): Compute the
12243 metadata argument if it's missing; make it optional (bug#8795).
12244
60a406cf 12245 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12246 (widget-complete): Use new :completion-function property.
12247 (widget-completions-at-point): New function.
12248 (default): Use :completion-function instead of :complete.
60a406cf
SM
12249 (widget-default-completions): Rename from widget-default-complete;
12250 Rewrite.
bcd70d97
SM
12251 (widget-string-complete, widget-file-complete, widget-color-complete):
12252 Remove functions.
12253 (file, symbol, function, variable, coding-system, color):
12254 * international/mule-cmds.el (default-input-method, charset)
12255 (language-info-custom-alist):
12256 * cus-edit.el (face): Use new property :completions.
12257
12258 * progmodes/pascal.el (pascal-completions-at-point): New function.
12259 (pascal-mode): Use it.
12260 (pascal-mode-map): Use completion-at-point.
12261 (pascal-toggle-completions): Make obsolete.
12262 (pascal-complete-word, pascal-show-completions):
12263 * progmodes/octave-mod.el (octave-complete-symbol):
12264 Redefine as obsolete alias.
12265 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12266 Signal absence of completion info for old Octave,
12267 (inferior-octave-complete): Redefine as obsolete alias.
12268 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12269 (meta-completions-at-point): Rename from meta-complete-symbol and
12270 adapt it for use on completion-at-point-functions.
12271 (meta-common-mode): Use it.
12272 (meta-looking-at-backward, meta-match-buffer): Remove.
12273 (meta-complete-symbol): Redefine as obsolete alias.
12274 (meta-common-mode-map): Use completion-at-point.
12275 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12276 (makefile-mode-map): Use completion-at-point.
12277 (makefile-completions-at-point): Rename from makefile-complete and
12278 adapt it for use on completion-at-point-functions.
12279 (makefile-mode): Use it.
12280 (makefile-complete): Redefine as obsolete alias.
12281
aebf69c8
DD
122822011-06-20 Deniz Dogan <deniz@dogan.se>
12283
12284 * net/rcirc.el: Delete trailing whitespaces once and for all.
12285
bfbbb27d
DC
122862011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12287
12288 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12289
d264a46b
CY
122902011-06-19 Chong Yidong <cyd@stupidchicken.com>
12291
4ca009e5
CY
12292 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12293
d264a46b
CY
12294 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12295
fbf5b3ce
MR
122962011-06-19 Martin Rudalics <rudalics@gmx.at>
12297
12298 * window.el (display-buffer-other-window-means-other-frame):
12299 Call display-buffer-normalize-alist.
12300 (display-buffer-normalize-specifiers-1): Rename to
12301 display-buffer-normalize-argument. New argument other-frame.
12302 Rewrite.
12303 (display-buffer-normalize-specifiers-2): Rename to
12304 display-buffer-normalize-options.
12305 (display-buffer-normalize-alist-1): New function.
12306 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12307 display-buffer-normalize-alist.
12308 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12309 (display-buffer-normalize-options-inhibit): New variable.
12310 (display-buffer-normalize-specifiers): Rewrite calling
12311 display-buffer-normalize-alist,
12312 display-buffer-normalize-argument, and
12313 display-buffer-normalize-options. Don't call the latter if
12314 display-buffer-normalize-options-inhibit is non-nil.
12315 (frame-auto-delete): New option.
12316 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12317 (window-list-no-nils, window-state-ignored-parameters)
12318 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12319 (window-state-put-1, window-state-put-2, window-state-put):
12320 New functions.
9a028c23
MR
12321 (display-buffer-normalize-options): Move special-display-p group
12322 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12323
6d10d800
CY
123242011-06-18 Chong Yidong <cyd@stupidchicken.com>
12325
6420d28b
CY
12326 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12327 groups (Bug#8776).
12328 (rx-submatch-n): New function.
12329 (rx): Document it.
12330
ddb8b596
CY
12331 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12332 (Bug#8768).
12333
12334 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12335
77080289
CY
12336 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12337
61dfb316
CY
12338 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12339 anytime existing face settings are present (Bug#8889).
12340
6d10d800
CY
12341 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12342 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12343 Remove unused argument.
12344
be3fb2b8
MR
123452011-06-18 Martin Rudalics <rudalics@gmx.at>
12346
bcd70d97
SM
12347 * window.el (display-buffer-default-specifiers):
12348 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12349 pop-up-window-min-width, and another reuse-window specifier
12350 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12351 (display-buffer-normalize-specifiers-2):
12352 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12353 pop-up-windows is unset. Add a reuse-window specifier for the
12354 case popping up a new window fails.
12355 (special-display-popup-frame): Remove double quoting.
28dec25a 12356 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12357
1c6d8c76
SM
123582011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12361 according to comint-completion-addsuffix.
12362
12363 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12364 (pcomplete-suffix-list): Mark as obsolete.
12365 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12366 pcomplete-seen in the closure.
12367 (pcomplete-comint-setup): Setup completion-at-point as well.
12368 (pcomplete--entries): New function.
12369 (pcomplete--env-regexp): New var.
12370 (pcomplete-entries): Rewrite to work with partial-completion and
12371 without relying on pcomplete-suffix-list.
12372 (pcomplete-pare-list): Remove, unused.
12373
25aef8b8
MR
123742011-06-17 Martin Rudalics <rudalics@gmx.at>
12375
12376 * window.el (display-buffer-alist): Set pop-up-window-min-height
12377 and pop-up-window-min-width in default value. Reported by
12378 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12379 other-window-means-other-frame.
12380 (display-buffer-macro-specifiers): Comment out entry for
12381 other-window specifier.
12382 (display-buffer-other-window-means-other-frame): New function.
12383 (display-buffer-normalize-specifiers-1): New arguments
12384 buffer-name and label. Treat other-window case specially.
12385 (display-buffer-normalize-specifiers-2): Treat other-window case
12386 specially.
12387 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12388 (display-buffer-normalize-specifiers):
12389 Call display-buffer-normalize-specifiers-3.
25aef8b8 12390
dbad4f69
MR
123912011-06-17 Martin Rudalics <rudalics@gmx.at>
12392
12393 * window.el (same-window-p): Fix two typos introduced when
12394 adding with-no-warnings.
d1067961
MR
12395 (display-buffer-normalize-specifiers-1): Don't check
12396 pop-up-frames for 'unset initialization.
12397 (display-buffer-normalize-specifiers-2): Major rewrite using
12398 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12399 (pop-up-frames, display-buffer-reuse-frames)
12400 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12401 Suggested by David Engster <deng@randomsample.de>.
12402 (even-window-heights): Initialize to 'unset.
12403 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12404 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12405 other window case.
dbad4f69 12406
9b9c9e3a
MR
124072011-06-16 Martin Rudalics <rudalics@gmx.at>
12408
bcd70d97
SM
12409 * window.el (display-buffer-normalize-specifiers-1):
12410 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12411 second argument of display-buffer (Bug#8865).
981d5c09
MR
12412 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12413 (switch-to-buffer-other-window-same-frame)
12414 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12415 Adams (Bug#8875).
9c2755e9
MR
12416 (display-buffer): Don't check noninteractive when calling
12417 display-buffer-pop-up-frame.
12418 (display-buffer-pop-up-frame): Never pop up a frame in
12419 noninteractive mode (Bug#8857).
67222e1d
MR
12420 (enlarge-window, shrink-window): Don't report an error when the
12421 window can't be resized as requested (Bug#8862).
9b9c9e3a 12422
2b75be67
SM
124232011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12424
9ffdd3ba
SM
12425 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12426
cb581a67
SM
12427 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12428
2b75be67
SM
12429 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12430
8c0e3589
AM
124312011-06-15 Alan Mackenzie <acm@muc.de>
12432
cb581a67
SM
12433 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12434 for declarators, disable knr checking to speed up for normal files.
12435 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12436
b96e6cde
LMI
124372011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12438
4bba86e6
LMI
12439 * net/network-stream.el (open-network-stream): Add the keyword
12440 :always-query-capabilities for the case where you want to force a
12441 `plain' network connection, but the protocol still requires the
12442 capabilitiy command (i.e., SMTP and EHLO).
12443
2b75be67 12444 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12445 consistency with other `-live-p' functions.
12446
efdcdbf8
SM
124472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12448
12449 * window.el (same-window-buffer-names, same-window-regexps)
12450 (special-display-frame-alist, special-display-popup-frame)
12451 (special-display-function, special-display-buffer-names)
12452 (special-display-regexps, pop-up-frame-alist)
12453 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12454 (pop-up-windows, split-window-preferred-function)
12455 (split-height-threshold, split-width-threshold, even-window-heights)
12456 (display-buffer-mark-dedicated): Don't encourage the use of
12457 display-buffer-alist from Elisp code.
12458
c5cde042
DN
124592011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12460
12461 * progmodes/python.el (python-mode): Derive from prog-mode.
12462 * progmodes/ps-mode.el (ps-mode):
12463 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12464 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12465 * progmodes/ld-script.el (ld-script-mode): Likewise.
12466
baa1c9ab
MR
124672011-06-15 Martin Rudalics <rudalics@gmx.at>
12468
12469 * window.el (display-buffer-alist): Trim default value to avoid
12470 popping up a new frame (Bug#8857) or reusing an arbitrary window
12471 on another frame.
12472 (display-buffer): Do not fall back on popping up a new frame in
12473 batch mode (Bug#8857).
12474
c5dd5a51
CY
124752011-06-14 Chong Yidong <cyd@stupidchicken.com>
12476
12477 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12478 (custom-theme-summary): New function.
12479 (customize-themes): Use it.
12480
d647b7c4
GM
124812011-06-13 Glenn Morris <rgm@gnu.org>
12482
12483 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12484
9481c002
MR
124852011-06-13 Martin Rudalics <rudalics@gmx.at>
12486
357f93d2
MR
12487 * help.el (help-window): Remove variable.
12488 (help-window-point-marker, temp-buffer-max-height)
12489 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12490 (help-print-return-message): Don't set help-window.
12491 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12492 (help-window-setup-finish): Remove.
12493 (help-window-display-message, help-window-setup)
12494 (with-help-window): Major rewrite based on new
12495 display-buffer-window variable.
12496
12497 * help-mode.el (help-mode-finish): Remove help-window related
12498 code.
12499
12500 * view.el (view-exits-all-viewing-windows): Remove reference to
12501 view-return-to-alist in doc-string.
12502 (view-return-to-alist): Make obsolete.
12503 (view-buffer): Call pop-to-buffer-same-window and remove
12504 undo-window code.
12505 (view-buffer-other-window): Call pop-to-buffer-other-window and
12506 simplify code. Ignore second argument.
12507 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12508 simplify code. Ignore second argument.
12509 (view-return-to-alist-update): Make obsolete.
12510 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12511 Rewrite using quit-restore window parameters.
2b75be67
SM
12512 (view-mode-exit): Rename second argument to EXIT-ONLY.
12513 Rewrite using quit-restore-window.
357f93d2
MR
12514 (View-exit, View-exit-and-edit, View-leave, View-quit)
12515 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12516 appropriate arguments.
12517 (view-end-message): Use quit-restore window parameter.
12518
9481c002
MR
12519 * window.el (display-buffer-function): Rewrite doc-string.
12520 (display-buffer-window, display-buffer-alist): New variables.
12521 (display-buffer-split-specifiers)
12522 (display-buffer-side-specifiers)
12523 (display-buffer-macro-specifiers): New constants.
12524 (display-buffer-even-window-sizes, display-buffer-set-height)
12525 (display-buffer-set-width, display-buffer-select-window)
12526 (display-buffer-in-window, display-buffer-reuse-window)
12527 (display-buffer-split-window-1, display-buffer-split-window)
12528 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12529 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12530 (display-buffer-in-side-window, normalize-buffer-to-display)
12531 (display-buffer-normalize-specifiers-1)
12532 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12533 (display-buffer-normalize-specifiers, display-buffer-frame):
12534 New functions.
9481c002
MR
12535 (display-buffer): Major rewrite.
12536 (display-buffer-other-window, display-buffer-other-frame)
12537 (pop-to-buffer, switch-to-buffer-other-window)
12538 (switch-to-buffer-other-frame): Rewrite.
12539 (display-buffer-same-window, display-buffer-same-frame)
12540 (display-buffer-same-frame-other-window)
12541 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12542 (pop-to-buffer-other-window)
12543 (pop-to-buffer-same-frame-other-window)
12544 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12545 (switch-to-buffer-other-window-same-frame): New functions.
12546 (same-window-p, special-display-p): Rewrite disabling warnings.
12547 Make obsolete.
12548 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12549 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12550 Make obsolete
12551 (same-window-buffer-names, same-window-regexps)
12552 (special-display-frame-alist, special-display-popup-frame)
12553 (special-display-function, special-display-buffer-names)
12554 (special-display-regexps, pop-up-frame-alist)
12555 (pop-up-frame-function, split-window-preferred-function)
12556 (split-height-threshold, split-width-threshold)
12557 (even-window-heights): Make obsolete.
12558
9db51aca
GM
125592011-06-12 Glenn Morris <rgm@gnu.org>
12560
12561 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12562 Misc simplifications.
9db51aca 12563
39cffb44
MR
125642011-06-12 Martin Rudalics <rudalics@gmx.at>
12565
12566 * window.el (window-safely-shrinkable-p): Restore function which
12567 was inadvertently removed in change from 2011-06-11. Declare as
12568 obsolete.
12569
2b75be67
SM
12570 * calendar/calendar.el (calendar-generate-window):
12571 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12572 window-safely-shrinkable-p.
12573
a8955be7
GM
125742011-06-12 Glenn Morris <rgm@gnu.org>
12575
12576 * progmodes/fortran.el (fortran-mode-syntax-table):
12577 * progmodes/f90.el (f90-mode-syntax-table):
12578 Set % to punctuation. (Bug#8820)
12579 (f90-find-tag-default): Remove, no longer needed.
12580
f0d4059d
DC
125812011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12582
12583 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12584
1100a63c
CY
125852011-06-11 Chong Yidong <cyd@stupidchicken.com>
12586
12587 * image.el (image-animated-p): Return animation delay in seconds.
12588 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12589 (image-animate-timeout): Remove DELAY argument. Don't assume
12590 every subimage has the same delay; get it from image-animated-p.
12591 (image-animate): Caller changed.
12592
def722bf
MA
125932011-06-11 Michael Albinus <michael.albinus@gmx.de>
12594
12595 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12596 to ignored backtrace functions.
12597
0a2bb1a9
GM
125982011-06-11 Glenn Morris <rgm@gnu.org>
12599
12600 * calendar/appt.el (appt-disp-window-function): Doc fix.
12601 (appt-check): Handle overlapping appointments. (Bug#8337)
12602
6198ccd0
MR
126032011-06-11 Martin Rudalics <rudalics@gmx.at>
12604
12605 * window.el (window-tree-1, window-tree): New functions, moving
12606 the latter to window.el.
12607 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12608 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12609 (bw-refresh-edges): Remove.
12610 (balance-windows-1, balance-windows-2): New functions.
12611 (balance-windows): Rewrite in terms of window tree functions,
12612 balance-windows-1 and balance-windows-2.
12613 (bw-adjust-window): Remove.
12614 (balance-windows-area-adjust): New function with functionality of
12615 bw-adjust-window but using resize-window.
2b75be67
SM
12616 (set-window-text-height): Rewrite doc-string.
12617 Use normalize-live-window and resize-window.
12618 (enlarge-window-horizontally, shrink-window-horizontally):
12619 Rename argument to DELTA.
6198ccd0
MR
12620 (window-buffer-height): New function.
12621 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12622 Rewrite using new window resize routines.
2b75be67
SM
12623 (kill-buffer-and-window, mouse-autoselect-window-select):
12624 Use ignore-errors instead of condition-case.
6198ccd0
MR
12625 (quit-window): Call delete-frame instead of delete-windows-on
12626 for the only buffer on frame.
12627
9397e56f
MR
126282011-06-10 Martin Rudalics <rudalics@gmx.at>
12629
12630 * loadup.el (top-level): Load window before files for the sake
12631 of replace-buffer-in-windows.
12632
12633 * files.el (read-buffer-to-switch)
12634 (switch-to-buffer-other-window)
2b75be67
SM
12635 (switch-to-buffer-other-frame, display-buffer-other-frame):
12636 Move to window.el.
9397e56f
MR
12637
12638 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12639 (previous-buffer): Move to window.el.
12640
12641 * bindings.el (unbury-buffer): Move to window.el.
12642
12643 * window.el (delete-other-windows-vertically): Move after
12644 definition of delete-other-windows.
12645 (other-window, delete-windows-on, replace-buffer-in-windows):
12646 Move here from window.c.
12647 (record-window-buffer, unrecord-window-buffer)
12648 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12649 (switch-to-next-buffer): New functions.
12650 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12651 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12652 (previous-buffer): Move here from simple.el.
12653 Call switch-to-prev-buffer.
9397e56f
MR
12654 (bury-buffer): Move here from buffer.c. Switch to previous
12655 buffer when window cannot be deleted.
12656 (unbury-buffer): Move here from bindings.el.
12657 (ctl-x-map): Move binding for other-window from window.c to
12658 here.
12659 (read-buffer-to-switch, switch-to-buffer-other-window)
12660 (switch-to-buffer-other-frame): Move here from files.el.
12661 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12662 (switch-to-buffer): Move here from buffer.c.
12663 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12664
562dd5e9
MR
126652011-06-10 Martin Rudalics <rudalics@gmx.at>
12666
12667 * window.el (window-min-height, window-min-width): Move here
12668 from window.c. Add defcustoms and rewrite doc-strings.
12669 (resize-mini-window, resize-window): New functions.
12670 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12671 Move here from window.c.
12672 (maximize-window, minimize-window): New functions.
12673 (delete-window, delete-other-windows, split-window): Move here
12674 from window.c.
12675 (window-split-min-size): New function.
12676 (split-window-keep-point): Mention split-window-above-each-other
12677 instead of split-window-vertically.
2b75be67 12678 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12679 Rename split-window-vertically to split-window-above-each-other
12680 and provide defalias for old definition.
12681 (split-window-side-by-side, split-window-horizontally):
12682 Rename split-window-horizontally to split-window-side-by-side
12683 and provide defalias for the old definition.
562dd5e9
MR
12684 (ctl-x-map): Move bindings for delete-window,
12685 delete-other-windows and enlarge-window here from window.c.
12686 Replace bindings for split-window-vertically and
12687 split-window-horizontally by bindings for
12688 split-window-above-each-other and split-window-side-by-side.
12689
12690 * cus-start.el (all): Remove entries for window-min-height and
12691 window-min-width. Add entries for window-splits and
12692 window-nest.
12693
f0da764a
GM
126942011-06-09 Glenn Morris <rgm@gnu.org>
12695
80675c21
GM
12696 * calendar/appt.el (appt-mode-line): New function.
12697 (appt-check, appt-disp-window): Use it.
12698
f0da764a
GM
12699 * files.el (hack-one-local-variable-eval-safep):
12700 Allow minor-modes with explicit +/-1 arguments.
12701
59f623b7
TZ
127022011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12703
12704 * term/xterm.el (xterm): Add defgroup.
12705 (xterm-extra-capabilities): Add defcustom to supply known xterm
12706 capabilities, skip querying them, or query them (default).
12707 (terminal-init-xterm): Use it.
12708 (terminal-init-xterm-modify-other-keys): New function to set up
12709 modifyOtherKeys support to simplify `terminal-init-xterm'.
12710
9aab8e0d
MR
127112011-06-09 Martin Rudalics <rudalics@gmx.at>
12712
12713 * window.el (resize-window-reset, resize-window-reset-1)
12714 (resize-subwindows-skip-p, resize-subwindows-normal)
12715 (resize-subwindows, resize-other-windows, resize-this-window)
12716 (resize-root-window, resize-root-window-vertically)
12717 (window-deletable-p, window-or-subwindow-p)
12718 (frame-root-window-p): New functions.
12719
e8b08aee
GM
127202011-06-09 Glenn Morris <rgm@gnu.org>
12721
12722 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12723 (ange-ftp-get-files): Use it.
12724
254c37a5
AK
127252011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12726
12727 * mail/sendmail.el (mail-recover-1, mail-recover):
12728 * files.el (recover-file, recover-session):
12729 Handle dired-listing-switches not being just a single short option.
12730
35d7dbd3
GM
127312011-06-09 Glenn Morris <rgm@gnu.org>
12732
12733 * calendar/appt.el (appt-display-message, appt-disp-window):
12734 Handle lists of appointments.
12735
387522b2
MR
127362011-06-08 Martin Rudalics <rudalics@gmx.at>
12737
2b75be67
SM
12738 * window.el (one-window-p): Move down in code.
12739 Rewrite doc-string.
12740 (window-current-scroll-bars): Rewrite doc-string.
12741 Normalize live window argument.
387522b2
MR
12742 (walk-windows, get-window-with-predicate, count-windows):
12743 Rewrite doc-string. Use window-list-1.
12744 (window-in-direction-2, window-in-direction, get-mru-window):
12745 New functions.
12746
d8e4b68b 127472011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12748
12749 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12750 Doc fix (Bug#8713).
12751
127522011-06-08 Chong Yidong <cyd@stupidchicken.com>
12753
12754 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12755
127562011-06-08 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * loadhist.el (unload-feature-special-hooks):
12759 Add `comint-output-filter-functions'.
12760
0de12c52
IK
127612011-06-08 Ivan Kanis <gnu@kanis.fr>
12762
12763 * calendar/appt.el (appt-check): Move some initializations into the let.
12764
f3d1777e
MR
127652011-06-08 Martin Rudalics <rudalics@gmx.at>
12766
12767 * window.el (window-height): Defalias to window-total-height.
12768 (window-width): Defalias to window-body-width.
12769
18af70d0
CY
127702011-06-07 Chong Yidong <cyd@stupidchicken.com>
12771
12772 * image-mode.el (image-toggle-animation): New command.
12773 (image-mode-map): Bind it to RET.
12774 (image-mode): Update message.
12775 (image-toggle-display-image): Avoid a spurious cache flush.
12776 (image-transform-rotation): Doc fix.
12777 (image-transform-properties): Return quickly in the normal case.
12778 (image-animate-loop): Rename from image-animate-max-time.
12779
2b75be67 12780 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12781 (create-animated-image): Remove unnecessary function.
12782 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12783 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12784 (image-animate-timer): Use car-safe.
12785 (image-animate-timeout): Rename argument.
12786
190b47e6
MR
127872011-06-07 Martin Rudalics <rudalics@gmx.at>
12788
12789 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12790 window.c. Rename first argument to ALL-FRAMES.
12791 Rephrase doc-strings.
12792 (get-buffer-window-list): Rewrite using window-list-1.
12793 Rephrase doc-string.
a1511caf
MR
12794 (window-safe-min-height, window-safe-min-width): New constants.
12795 (window-size-ignore, window-min-size, window-min-size-1)
12796 (window-sizable, window-sizable-p, window-size-fixed-1)
12797 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12798 (window-max-delta-1, window-max-delta, window-resizable)
12799 (window-resizable-p, window-total-height, window-total-width)
12800 (window-body-width): New functions.
12801 (window-full-height-p, window-full-width-p): Rewrite using
12802 window-total-size.
12803 (window-body-height): Rewrite using window-body-size.
190b47e6 12804
85cc1f11
MR
128052011-06-06 Martin Rudalics <rudalics@gmx.at>
12806
12807 * window.el (window-right, window-left, window-child)
12808 (window-child-count, window-last-child, window-any-p)
12809 (normalize-live-buffer, normalize-live-frame)
12810 (normalize-any-window, normalize-live-window)
12811 (window-iso-combination-p, window-iso-combined-p)
12812 (window-iso-combinations)
12813 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12814 (windows-with-parameter, window-with-parameter)
12815 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12816 (window-atom-check, window-side-check, window-check):
12817 New functions.
85cc1f11
MR
12818 (ignore-window-parameters, window-sides, window-sides-vertical)
12819 (window-sides-slots): New variables.
12820 (window-size-fixed): Move down in code. Minor doc-string fix.
12821
e7156492
AS
128222011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12823
12824 * comint.el (comint-dynamic-complete-as-filename)
12825 (comint-dynamic-complete-filename): Correctly call
12826 completion-in-region.
12827
7e821d0d
DD
128282011-06-05 Deniz Dogan <deniz@dogan.se>
12829
12830 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12831 in last change.
12832
ac09b8a1
DD
128332011-06-05 Deniz Dogan <deniz@dogan.se>
12834
12835 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12836 (rcirc): Use it to prompt for encryption.
12837
34699b85
RW
128382011-06-05 Roland Winkler <winkler@gnu.org>
12839
12840 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12841 (bibtex-search-entries): New command bound to C-c C-a.
12842 (bibtex-display-entries): New function.
12843
004dedd3
RW
128442011-06-05 Roland Winkler <winkler@gnu.org>
12845
12846 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12847 (bibtex-insert-kill): After yanking insert newline if necessary.
12848 (bibtex-initialize): Call bibtex-string-files-init only once.
12849 (bibtex-mode): Do not call easy-menu-add.
12850 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12851 (bibtex-yank): Set arg properly if nil.
12852
022fe7ce
RW
128532011-06-05 Roland Winkler <winkler@gnu.org>
12854
2b75be67
SM
12855 * textmodes/bibtex.el (bibtex-search-entry-globally):
12856 New variable.
022fe7ce
RW
12857 (bibtex-search-entry): Use it.
12858
b7c3692a
RW
128592011-06-05 Roland Winkler <winkler@gnu.org>
12860
12861 * textmodes/bibtex.el (bibtex-entry-format): New option
12862 sort-fields.
12863 (bibtex-format-entry, bibtex-reformat): Honor this option.
12864 (bibtex-parse-entry): Return fields in proper order.
12865
8eda563d
JB
128662011-06-05 Juanma Barranquero <lekktu@gmail.com>
12867
12868 * doc-view.el (doc-view-remove-if): Move computation of result out
12869 of `dolist' to silence misleading lexical-binding warning.
12870
7dbe3dbc
CY
128712011-06-04 Chong Yidong <cyd@stupidchicken.com>
12872
12873 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12874 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12875
0c33dd17
MA
128762011-06-04 Michael Albinus <michael.albinus@gmx.de>
12877
12878 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12879 "SunOS 5.10".
12880
f8f91c2b
MA
128812011-06-04 Michael Albinus <michael.albinus@gmx.de>
12882
12883 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12884 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12885 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12886 (tramp-parse-putty):
12887 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12888 (tramp-completion-function-alist-ssh)
12889 (tramp-completion-function-alist-telnet)
12890 (tramp-completion-function-alist-su)
12891 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12892 cookie.
12893
12894 * net/tramp-ftp.el:
12895 * net/tramp-sh.el:
12896 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12897 load "tramp.el" `tramp-set-completion-function'.
12898
e17d9003
SM
128992011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * shell.el: Require and use pcomplete.
12902 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12903 (shell-completion-vars): Set pcomplete-default-completion-function.
12904
6c4cab03
DD
129052011-06-04 Deniz Dogan <deniz@dogan.se>
12906
12907 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12908 `memq' (Bug#8799).
12909
ea9fafe0
SM
129102011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12913
b3e945d3
JB
129142011-06-02 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12917 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12918 * vc/log-view.el (log-view-beginning-of-defun):
12919 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12920 (smerge-refine-forward, smerge-refine-chopup-region):
12921 Silence warning for unused `dotimes' counter variables.
12922
7d520089
SM
129232011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * net/tramp.el (tramp-with-progress-reporter): Rename from
12926 with-progress-reporter. Use `declare'.
12927 * net/tramp-smb.el:
12928 * net/tramp-sh.el:
12929 * net/tramp-gvfs.el: Update all uses.
12930
a1c2400f
JB
129312011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12932
12933 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12934 buffer isn't killed before making it current.
12935
2403c841
SM
129362011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 Silence various byte-compiler warnings.
12939 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12940 `access-type' and new obsolescence format.
12941 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12942 new format.
12943 (byte-compile-check-variable): New `access-type' argument.
12944 Only warn if the access-type is obsolete.
12945 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12946 (byte-compile-variable-set): Adjust callers.
12947 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12948 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12949 setting it as obsolete.
12950 * simple.el (minibuffer-completing-symbol):
12951 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12952 access as obsolete.
12953 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12954 obsolete yet.
12955 * international/quail.el (quail-mouse-choose-completion): Remove unused
12956 code referring to obsolete var.
12957 (quail-choose-completion-string): Remove.
12958 * server.el (server-clients-with, server-kill-buffer-query-function)
12959 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12960 * proced.el (proced-send-signal):
12961 * emacs-lisp/lisp.el (lisp-complete-symbol):
12962 Replace completion-annotate-function with completion-extra-properties.
12963
2462470b
SM
129642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12965
fb5b2591
SM
12966 * simple.el (goto-line): Use read-number.
12967 (overriding-map-is-bound): Remove.
12968 (saved-overriding-map): Change default.
12969 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12970 Take the map as argument.
12971 (universal-argument, negative-argument, digit-argument): Use it.
12972 (restore-overriding-map): Adjust.
12973 (do-auto-fill): Use fill-forward-paragraph.
12974 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12975
fd6fa53f
SM
12976 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12977 (minibuffer-inactive-mode): New major mode.
12978 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12979 the *Messages* buffer" hack.
12980 (mouse-popup-menubar): Don't burp if the event is a normal key.
12981
2462470b
SM
12982 Miscellaneous tweaks.
12983 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12984 lexical scoping as in subr.el's dolist and dotimes.
12985 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12986 Silence compiler warning.
12987 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12988 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12989 * international/ccl.el (ccl-compile): Trivial simplification.
12990 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12991 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12992 `printflag' argument.
12993 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12994 Purecopy the whole obsolescence data.
12995
108bf785
LL
129962011-06-01 Leo Liu <sdl.web@gmail.com>
12997
12998 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12999 improve doc-string as suggested by Marco Pessotto
13000 <melmothx@gmail.com>.
13001 (rcirc-print): Fix last change.
13002
30a23501
SM
130032011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * minibuffer.el (complete-with-action): Return nil for the metadata and
13006 boundaries of non-functional tables.
13007 (completion-table-dynamic): Return nil for the metadata.
13008 (completion-table-with-terminator): Add default case, using
13009 complete-with-action.
13010 (completion--metadata): New function.
13011 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13012 to try and avoid pathological performance problems.
13013 (completion--embedded-envvar-table): Return `category' metadata.
13014
bcd54f83
LMI
130152011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13016
13017 * subr.el (process-alive-p): New tiny convenience function.
13018
e227544d
SM
130192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13022 content but also its previous major mode.
13023
e8296fdc
HE
130242011-05-31 Helmut Eller <eller.helmut@gmail.com>
13025
4d61f28d 13026 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13027 *Backtrace* buffer when we exit with C-M-c.
13028
620c53a6
SM
130292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * minibuffer.el: Add metadata method to completion tables.
13032 (completion-category-overrides): New defcustom.
13033 (completion-metadata, completion--field-metadata)
13034 (completion-metadata-get, completion--styles)
13035 (completion--cycle-threshold): New functions.
13036 (completion-try-completion, completion-all-completions):
13037 Add `metadata' argument to choose completion-styles.
13038 (completion--do-completion): Use metadata to choose cycling.
13039 (completion-all-sorted-completions): Use metadata for sorting.
13040 Remove :completion-cycle-penalty which is not needed any more.
13041 (completion--try-word-completion): Add `metadata' argument.
13042 (minibuffer-completion-help): Check metadata for annotation function
13043 and sorting.
13044 (completion-file-name-table): Return `category' metadata.
13045 (minibuffer-completing-file-name): Make obsolete.
13046 * simple.el (minibuffer-completing-symbol): Make obsolete.
13047 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13048 completion-try-completion.
13049
1257e755
SM
130502011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13053
3767e706
LL
130542011-05-30 Leo Liu <sdl.web@gmail.com>
13055
13056 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13057 (rcirc-print): Decode all incoming messages (bug#8744).
13058 (rcirc-decode-coding-system): Allow value nil for automatic coding
13059 system detection.
3767e706 13060
d1a5d56a
GM
130612011-06-01 Glenn Morris <rgm@gnu.org>
13062
13063 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13064
e8cbec34
CY
130652011-05-29 Chong Yidong <cyd@stupidchicken.com>
13066
13067 * image.el (image-animate-max-time): Allow nil and t values.
13068 Default to nil.
13069 (create-animated-image): Doc fix.
13070 (image-animate-start): Remove second arg; just use
13071 image-animate-max-time.
13072 (image-animate-timeout): Doc fix. Args changed.
13073
13074 * image-mode.el (image-toggle-display-image): Ensure that the
13075 image spec passed to the animate timer is the same object as in
58179cce 13076 the buffer's display property (Bug#6981).
e8cbec34
CY
13077 (image-transform-properties): Doc fix.
13078
13079 * image.el (image-animate-max-time): Default to nil.
13080
159daf87
MR
130812011-05-29 Martin Rudalics <rudalics@gmx.at>
13082
13083 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13084 entire buffer list (Bug#8184).
13085
d66c4c7c
CY
130862011-05-29 Chong Yidong <cyd@stupidchicken.com>
13087
13088 * image.el (imagemagick-types-inhibit)
13089 (imagemagick-register-types): Doc fix.
13090
80aec780
DD
130912011-05-29 Deniz Dogan <deniz@dogan.se>
13092
13093 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13094 default.
13095
1dd3c2d9
CY
130962011-05-29 Chong Yidong <cyd@stupidchicken.com>
13097
13098 * select.el: Don't perform clipboard-manager saving in hooks;
13099 leave the hooks empty.
13100
60e56523
LL
131012011-05-28 Leo Liu <sdl.web@gmail.com>
13102
13103 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13104 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13105 (occur-edit-mode): New major mode (Bug#8463).
13106 (occur-after-change-function): New function.
13107 (occur-engine): Give Occur tags a read-only property.
13108
2b1e1a22
KR
131092011-05-28 Kevin Ryde <user42@zip.com.au>
13110
13111 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13112
5d344e88
CY
131132011-05-28 Chong Yidong <cyd@stupidchicken.com>
13114
8e6ca83d
CY
13115 * bindings.el (help-echo): Make the initial non-indicator dash
13116 empty on graphical terminals (Bug#7295).
13117
5d344e88
CY
13118 * files.el (auto-mode-alist): Move config rule after the
13119 in-stripping one (Bug#8547).
13120
bfbbace7
CY
13121 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13122
fbeba6e2
CY
13123 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13124 setting (Bug#8740).
13125
60ed8c72
AA
131262011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13127
4ac619f0
AA
13128 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13129 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13130 (Bug#8539).
60ed8c72 13131
23db196e
CY
131322011-05-28 Chong Yidong <cyd@stupidchicken.com>
13133
13134 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13135
5012f24c
DK
131362011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13137
13138 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13139 (hs-hide-block-at-point, hs-find-block-beginning)
13140 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13141 (Bug#8279).
13142
6a639b16
GM
131432011-05-28 Glenn Morris <rgm@gnu.org>
13144
13145 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13146
d43eaf2c
CY
131472011-05-28 Chong Yidong <cyd@stupidchicken.com>
13148
5199bde1
CY
13149 * help-fns.el (describe-function-1): If the function is a derived
13150 major mode, print the parent mode.
13151
d43eaf2c
CY
13152 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13153 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13154
423428a8
SM
131552011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13156
0ff8e1ba 13157 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13158 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13159 * progmodes/etags.el (tags-completion-at-point-function):
13160 * info-look.el (info-lookup-completions-at-point): Mark as
13161 non-exclusive.
13162 (info-complete): Adjust accordingly.
13163
423428a8
SM
13164 * info-look.el: Convert to lexical-binding and completion-at-point.
13165 (info-lookup-completions-at-point): New function.
13166 (info-complete): Use it and completion-in-region.
13167
b74aa22b
DA
131682011-05-28 Drew Adams <drew.adams@oracle.com>
13169
13170 * isearch.el: Let M-e start with point at the first mismatched char.
13171 (isearch-fail-pos): New function.
13172 (isearch-edit-string): Use it.
13173
66e2e71d
DK
131742011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13175
13176 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13177
b1890b0f 131782011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13179
13180 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13181 traversal functions for avl-trees.
13182 (avl-tree--stack): New struct.
13183 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13184 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13185 (avl-tree--do-enter): Add optional `updatefun' arg.
13186 Change return value.
eb95d01d 13187 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13188 (avl-tree--do-delete): Add `test' and `nilflag' args.
13189 Change return value.
eb95d01d
TC
13190 (avl-tree-member): Add optional `nilflag'
13191 (avl-tree-member-p): New function.
13192 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13193 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13194 (avl-tree-stack-empty-p): New functions.
13195
3769ddcf
TC
13196 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13197 avl-tree--del-balance1 and make it work both ways.
13198 (avl-tree--del-balance2): Remove.
13199 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13200 make it work both ways.
13201 (avl-tree--enter-balance2): Remove.
13202 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13203 New macros.
13204 (avl-tree--mapc, avl-tree-map): Add direction argument.
13205
eb95d01d 132062011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13207
13208 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13209
a9f737ee
CY
132102011-05-27 Chong Yidong <cyd@stupidchicken.com>
13211
13212 * select.el: Support clipboard managers with built-in function
13213 x-clipboard-manager-save, via delete-frame-functions and
13214 kill-emacs-hook.
13215 (xselect-convert-to-targets): Add MULTIPLE target to list.
13216 (xselect-convert-to-save-targets): New function.
13217
c92a1e54
KH
132182011-05-27 Kenichi Handa <handa@m17n.org>
13219
13220 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13221 let-binding rfc2047-encode-encoded-words to nil.
13222
e145f188
GM
132232011-05-27 Glenn Morris <rgm@gnu.org>
13224
5ec8a862
GM
13225 * mail/emacsbug.el: Don't require url-util.
13226
4b29d9fb
GM
13227 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13228
e145f188
GM
13229 * files.el (set-auto-mode):
13230 Also respect mode: entries at the end of the file. (Bug#8586)
13231
7d15102b
GM
132322011-05-26 Glenn Morris <rgm@gnu.org>
13233
98f593b8
GM
13234 * files.el (hack-local-variables-prop-line, hack-local-variables):
13235 Downcase mode names, as seems to be traditional.
27b48e63 13236 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13237
7d15102b
GM
13238 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13239 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13240
51d5b4ec
JD
132412011-05-25 Julien Danjou <julien@danjou.info>
13242
13243 * textmodes/rst.el (rst-define-level-faces): Do not define face
13244 symbol if it is already defined.
13245
91513f63
VB
132462011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13247
13248 * play/5x5.el (5x5-new-game, 5x5-randomize):
13249 Reset 5x5-solver-output to nil when a new grid is cast.
13250 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13251 these debugging traces, as defmacro breaks the compiled code.
13252
4d90d6d0
DK
132532011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13254
13255 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13256
e1b90ef6
LL
132572011-05-24 Leo Liu <sdl.web@gmail.com>
13258
13259 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13260 (vc-bzr-sha1): Adapt.
13261
d8e4b68b 13262 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13263
13264 * bindings.el: Provide sha1 feature.
13265
db0406bb 132662011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13267
13268 * mail/sendmail.el: Require `rfc2047'.
13269 (mail-insert-from-field): Do not perform RFC2047 encoding.
13270 (mail-encode-header): New function.
13271 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13272 buffer to the return value of select-message-coding-system.
13273 Call mail-encode-header.
b8d747b9
KH
13274
13275 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13276
db0406bb 132772011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13278
4d90d6d0
DK
13279 * mail/supercite.el (sc-default-cite-frame):
13280 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13281
eb8a5e9b
GM
132822011-05-24 Glenn Morris <rgm@gnu.org>
13283
f8630703
GM
13284 * progmodes/python.el (brm-menu): Declare.
13285
8831bbed
GM
13286 * emulation/viper.el (viper-set-hooks): Declare.
13287
eb8a5e9b
GM
13288 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13289 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13290 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13291 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13292 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13293 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13294
a2a25d24
SM
132952011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13296
13297 Add an :exit-function for completion-at-point.
13298
13299 * minibuffer.el (completion--done): New fun.
13300 (completion--do-completion): Use it. New arg `expect-exact'.
13301 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13302 since completion--do-completion does it for us now.
13303 (minibuffer-force-complete): Use completion--done and
13304 completion--replace. Handle sole-completion case with more care.
13305 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13306 (completion-extra-properties): New var.
13307 (completion-annotate-function): Make obsolete.
13308 (minibuffer-completion-help): Adjust accordingly.
13309 Use completion-list-insert-choice-function.
13310 (completion-at-point, completion-help-at-point):
13311 Bind completion-extra-properties.
13312 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13313 * simple.el (completion-list-insert-choice-function): New var.
13314 (completion-setup-function): Preserve it.
13315 (choose-completion): Pay attention to it, shuffle the code a bit.
13316 (choose-completion-string): New arg `insert-function'.
13317
13318 * textmodes/bibtex.el: Convert to lexical binding.
13319 (bibtex-mode-map): Use completion-at-point.
13320 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13321 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13322 (bibtex-complete): Define as obsolete alias.
13323 (bibtex-complete-internal): Remove.
13324 (bibtex-format-entry): Remove unused sub-group in regexp.
13325 * shell.el (shell--command-completion-data)
13326 (shell-environment-variable-completion):
13327 * pcomplete.el (pcomplete-completions-at-point):
13328 * comint.el (comint--complete-file-name-data): Use :exit-function
13329 instead of completion-table-with-terminator so it also works for
13330 choose-completion.
13331
e44e373d
SM
133322011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13333
4f91a816
SM
13334 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13335
782fc819
SM
13336 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13337 (bug#8710).
13338
e44e373d
SM
13339 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13340
381987c3
KM
133412011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13342
13343 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13344 customization variable and implement: If non-nil, auto-fill will
13345 be inhibited while on topic's header line.
13346
b776bc70
VB
133472011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13348
13349 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13350 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13351 always have a solution in grid size = 5 cases.
13352 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13353 (5x5-solver-output, 5x5-log-buffer): New vars.
13354 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13355 Make these variables buffer local to achieve 5x5 multi-session-ness.
13356 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13357 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13358 (5x5-solve-suggest): New funs.
13359 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13360 randomize a grid so that we ensure that there is always a solution.
13361 (5x5-make-random-grid): Allow other movement than flipping.
13362
7de88b6e
KR
133632011-05-23 Kevin Ryde <user42@zip.com.au>
13364
13365 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13366 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13367 advice and passes PREDICATE.
13368
b1ef1257
SM
133692011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13370
bbca48fe
SM
13371 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13372 byte-compile-lambda if it's actually a lambda.
13373
b1ef1257
SM
13374 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13375 Fix function quoting. Use backquote better.
13376
92a9cc65
YS
133772011-05-22 Yuanle Song <sylecn@gmail.com>
13378
13379 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13380 matching (Bug#8516).
13381
f0fb8059
JA
133822011-01-22 Jari Aalto <jari.aalto@cante.net>
13383
13384 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13385 different face (Bug#8178).
13386
d5b44c93
CY
133872011-05-22 Chong Yidong <cyd@stupidchicken.com>
13388
13389 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13390 defface (Bug#8144).
13391
79106a44
SM
133922011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13393
9c848d8a
SM
13394 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13395 funcall as well (bug#8712). Warn when performing those conversions.
13396 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13397
79106a44
SM
13398 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13399
88dfa756
GM
134002011-05-22 Glenn Morris <rgm@gnu.org>
13401
13402 * files.el (hack-local-variables-prop-line): Small simplifications.
13403 (hack-local-variables, hack-local-variables-prop-line):
13404 If MODE-ONLY, return the mode, rather than just `t'.
13405
b7cf2c79
SM
134062011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13409
3f1a8558
GM
134102011-05-21 Glenn Morris <rgm@gnu.org>
13411
7e4ccca3
GM
13412 * files.el (hack-local-variables-prop-line, hack-local-variables):
13413 If only interested in the mode, don't bother doing the other stuff.
13414
637d46ca
GM
13415 * image-mode.el (image-after-revert-hook):
13416 Redraw all frames on which the image is visible. (Bug#8567)
13417
973d955b
GM
13418 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13419
3f1a8558
GM
13420 * wid-edit.el (widget-checklist-match-inline):
13421 Fix 2011-04-19 change. (Bug#8649)
13422
96479927
SM
134232011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13424
1dcf791f
SM
13425 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13426 Also allow singlespace after single-letter capitals followed by a dot.
13427
96479927
SM
13428 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13429 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13430
35fd0881
N
134312011-05-20 Nix <nix@esperi.org.uk>
13432
13433 * files.el (basic-save-buffer-2):
13434 Fix handling of break-hardlink-on-save with non-existent files.
13435
82745640
DD
134362011-05-19 Deniz Dogan <deniz@dogan.se>
13437
13438 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13439 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13440
4a720484
GM
134412011-05-19 Glenn Morris <rgm@gnu.org>
13442
d1f21341
GM
13443 * progmodes/f90.el (f90-type-def-re):
13444 Handle "type, bind(c)". (Bug#8691)
13445
4a720484
GM
13446 * emacs-lisp/autoload.el (batch-update-autoloads):
13447 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13448
2fb0a219
MA
134492011-05-18 Michael Albinus <michael.albinus@gmx.de>
13450
13451 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13452 property for the correct connection in case of multihops.
13453
e565dd37
GM
134542011-05-18 Glenn Morris <rgm@gnu.org>
13455
c2571358 13456 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13457 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13458
e565dd37
GM
13459 Rationalize calendar handling of day and month abbrev-arrays.
13460 * calendar/calendar.el (calendar-customized-p): New function.
13461 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13462 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13463 Add :set function.
13464 (calendar-abbrev-length, calendar-day-abbrev-array)
13465 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13466 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13467 Elements may no longer be nil.
13468 (calendar-day-name, calendar-month-name):
13469 Update for changed nature of abbrev arrays.
13470 * calendar/diary-lib.el (diary-name-pattern):
13471 Update for changed nature of abbrev arrays.
13472 (diary-mark-entries-1): Update calendar-make-alist calls.
13473 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13474 * calendar/cal-html.el (cal-html-day-abbrev-array):
13475 Simply inherit from calendar-day-abbrev-array.
13476
1d99a745
SM
134772011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13478
13479 * progmodes/grep.el (grep-mode): Disable default
13480 compilation-directory-matcher setting (bug#8684).
13481
7c1d9aa0
MA
134822011-05-17 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13485 instead of "head" and "tail". There were problems with SunOS 5.9,
13486 and it performs better.
13487
3952e9d8
GM
134882011-05-17 Glenn Morris <rgm@gnu.org>
13489
2dd12e7f
GM
13490 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13491
e4157b9c
GM
13492 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13493 Replace obsolete function.
13494
8e249bbd
GM
13495 * shell.el (pcomplete-parse-arguments-function): Declare.
13496
3952e9d8
GM
13497 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13498 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13499 (appt-check): Doc fixes.
13500 (appt-disp-window-function, appt-delete-window-function):
13501 Remove needless special case in custom :type.
13502 (appt-display-count): Default to 0, not nil.
13503 (appt-check): Reset appt-display-count to 0, not nil.
13504
c71a0d48 135052011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13506
c71a0d48
GM
13507 * progmodes/python.el (python-font-lock-keywords):
13508 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13509
31d55be9
SM
135102011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13513
3bfacb2f
KR
135142011-05-16 Kevin Ryde <user42@zip.com.au>
13515
13516 * info-look.el (makefile-automake-mode): New setups, looking in
13517 automake manual, then makefile-mode.
13518 (makefile-mode): Remove automake manual, have it just in
13519 makefile-automake-mode since there's various things different or
13520 not relevant to plain make.
13521 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13522 believe a hypothetical automake-mode would go to makefile-mode,
13523 not the other way around.
13524
c8e83751
CY
135252011-05-15 Chong Yidong <cyd@stupidchicken.com>
13526
5e9e35cd
CY
13527 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13528 hunk-end tags (Bug#8672).
13529
c8e83751
CY
13530 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13531 vc-annotate-show-diff-revision-at-line (Bug#8671).
13532
50b23e5a
GM
135332011-05-14 Glenn Morris <rgm@gnu.org>
13534
7210a739
GM
13535 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13536 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13537 (change-log-font-lock-keywords): Also handle multiple author lines
13538 with leading tabs. (Bug#8644)
7210a739 13539
4691905a
GM
13540 * calendar/appt.el (appt-check): Rename some local variables.
13541 Some simplification/reordering.
13542
50b23e5a
GM
13543 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13544 (feedmail-sendmail-f-doesnt-sell-me-out)
13545 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13546 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13547 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13548 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13549 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13550 (feedmail-binmail-gnulinuxish-template):
13551 Rename from feedmail-binmail-linuxish-template.
13552 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13553 Use insert-buffer-substring.
13554
215cda7c
BC
135552011-05-14 Bill Carpenter <bill@carpenter.org>
13556
13557 * mail/feedmail.el (feedmail-patch-level): Increase.
13558 (feedmail-debug): New custom group.
13559 (feedmail-confirm-outgoing-timeout)
13560 (feedmail-sendmail-f-doesnt-sell-me-out)
13561 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13562 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13563 (feedmail-sender-line, feedmail-from-line)
13564 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13565 (feedmail-spray-this-address)
215cda7c
BC
13566 (feedmail-spray-address-fiddle-plex-list)
13567 (feedmail-queue-use-send-time-for-date)
13568 (feedmail-queue-use-send-time-for-message-id)
13569 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13570 (feedmail-buffer-eating-function):
13571 Doc fixes.
13572 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13573 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13574 (feedmail-message-action-scroll-down): New functions.
13575 (feedmail-queue-directory, feedmail-queue-draft-directory):
13576 Use expand-file-name.
13577 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13578 Remove C-v help entry.
13579 (feedmail-queue-buffer-file-name): New variable.
13580 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13581 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13582 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13583 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13584 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13585 (feedmail-message-action-toggle-spray)
13586 (feedmail-run-the-queue-no-prompts)
13587 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13588 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13589 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13590 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13591 (feedmail-envelope-deducer, feedmail-fiddle-from)
13592 (feedmail-fiddle-sender, feedmail-default-date-generator)
13593 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13594 (feedmail-fiddle-spray-address)
13595 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13596 (feedmail-fiddle-list-of-fiddle-plexes)
13597 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13598 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13599 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13600 Change default. Doc fix.
13601 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13602 (feedmail-binmail-linuxish-template): New constant.
13603 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13604 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13605 (feedmail-send-it): Add debug call.
13606 Use feedmail-queue-buffer-file-name, and
13607 feedmail-send-it-immediately-wrapper.
13608 (feedmail-message-action-send): Add debug call.
13609 Use feedmail-send-it-immediately-wrapper.
13610 (feedmail-queue-express-to-queue): Add debug call.
13611 Run feedmail-queue-express-hook.
13612 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13613 (feedmail-message-action-help-blat):
13614 Rename from feedmail-queue-send-edit-prompt-help-first.
13615 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13616 Check line-endings. Handle errors better.
13617 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13618 Doc fix. Add debug call.
13619 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13620 Use feedmail-queue-send-edit-prompt-inner.
13621 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13622 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13623 from feedmail-queue-send-edit-prompt.
13624 (feedmail-queue-send-edit-prompt-help)
13625 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13626 (feedmail-tidy-up-slug): Add debug call.
13627 Respect feedmail-queue-slug-suspect-regexp.
13628 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13629 (feedmail-dump-message-to-queue): Add debug call.
13630 Expand queue-directory.
13631 (feedmail-dump-message-to-queue): Change message slightly.
13632 Use feedmail-say-chatter.
13633 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13634 (feedmail-send-it-immediately-wrapper): New function.
13635 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13636 Insert empty string rather than newline. Handle full-frame case.
13637 Use catch/throw. Use feedmail-say-chatter.
13638 (feedmail-fiddle-from): Try mail-host-address.
13639 (feedmail-default-message-id-generator): Doc fix.
13640 Bind system-time-locale. Handle missing end.
13641 (feedmail-fiddle-x-mailer): Add debug call.
13642 Handle feedmail-x-mailer-line being nil.
13643 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13644 Add debug call. Use buffer-substring-no-properties.
13645 (feedmail-say-debug, feedmail-say-chatter): New functions.
13646 (feedmail-find-eoh): Give an explicit error.
13647
42c7e61e
UJ
136482011-05-13 Ulf Jasper <ulf.jasper@web.de>
13649
c2571358 13650 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13651 family from helvetica to sans.
c2571358 13652 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13653 etc/images/newsticker.
13654
c2571358 13655 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13656 family from helvetica to sans.
13657
13658 * net/newst-plainview.el (newsticker-new-item-face)
13659 (newsticker-old-item-face, newsticker-immortal-item-face)
13660 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13661 (newsticker-statistics-face): Change default family from
42c7e61e 13662 helvetica to sans.
c2571358 13663 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13664 etc/images/newsticker.
13665
5d3385a0
JB
13666 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13667 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13668 auto-marking.
13669
8497a297
DV
136702011-05-13 Didier Verna <didier@xemacs.org>
13671
13672 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13673 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13674 TODO entries.
8497a297
DV
13675 (lisp-lambda-list-keyword-parameter-indentation)
13676 (lisp-lambda-list-keyword-parameter-alignment)
13677 (lisp-lambda-list-keyword-alignment): New customizable user options.
13678 (lisp-indent-defun-method): Improve docstring.
13679 (extended-loop-p): Fix comment.
13680 (lisp-indent-lambda-list-keywords-regexp): New variable.
13681 (lisp-indent-lambda-list): New function.
13682 (lisp-indent-259): Use it.
13683 (lisp-indent-defmethod): Support for more than one
13684 method qualifier and properly indent methods lambda-lists.
13685 (defgeneric): Provide a missing common-lisp-indent-function property.
13686
f278f87f
SM
136872011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13690 bounds for the empty string (bug#8667).
13691
5233edd7
GM
136922011-05-13 Glenn Morris <rgm@gnu.org>
13693
5237a44f
GM
13694 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13695
8340026c 13696 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13697 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13698
5233edd7 13699 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13700 (appt-time-msg-list): Doc fix.
a5464014 13701 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13702
92d10796
AS
137032011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13704
13705 * progmodes/ld-script.el (ld-script-keywords)
13706 (ld-script-builtins): Update keywords list.
13707
914a0ae1
SM
137082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13709
c89be45f
SM
13710 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13711
914a0ae1
SM
13712 * shell.el (shell-completion-vars): New function.
13713 (shell-mode):
13714 * simple.el (read-shell-command): Use it.
13715 (blink-matching-open): No need for " [...]" in minibuffer-message.
13716
98dc3df3
GM
137172011-05-12 Glenn Morris <rgm@gnu.org>
13718
13719 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13720 (appt-check): Simplify.
13721
d2fc7e3d 137222011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13723
4d61f28d 13724 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13725 literal "/dev/null".
13726
d2fc7e3d 137272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13728
13729 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13730 Fix typo.
13731
d2fc7e3d 137322011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13733
3f254caa
SM
13734 * progmodes/which-func.el (which-function):
13735 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13736 which might not be defined (Bug#8260).
13737
d45885f7
GM
137382011-05-12 Glenn Morris <rgm@gnu.org>
13739
13740 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13741 Let byte-compile-initial-macro-environment always take precedence.
13742
488086f4
SM
137432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * net/rcirc.el: Add support for SSL/TLS connections.
13746 (rcirc-server-alist): New field `encryption'.
13747 (rcirc): Check `encryption' settings.
13748 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13749 Merge make-local-variable into `set'.
13750 (rcirc--connection-open-p): New function.
13751 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13752 the process is not a network process (e.g. running gnutls-cli).
13753 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13754 Make rcirc-(en|de)code-coding-system local here.
13755 (rcirc-mode): Merge make-local-variable into `set'.
13756 (rcirc-parent-buffer): Make permanent buffer-local.
13757 (rcirc-multiline-minor-mode): Don't do it here.
13758 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13759 there's no server buffer.
13760
7d3b9d44
GM
137612011-05-11 Glenn Morris <rgm@gnu.org>
13762
f64049c6
GM
13763 * newcomment.el (comment-kill): Prefix "unused" local.
13764
93c9df73
GM
13765 * term/w32console.el (get-screen-color): Declare.
13766
7d3b9d44
GM
13767 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13768 Handle symbol elements of byte-compile-initial-macro-environment.
13769
9e2dd53f
LL
137702011-05-10 Leo Liu <sdl.web@gmail.com>
13771
488086f4
SM
13772 * bookmark.el (bookmark-bmenu-mode-map):
13773 Bind bookmark-bmenu-search to `/'.
8b340240 13774
9e2dd53f 13775 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13776 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13777 (Footnote-unicode): New function.
13778 (footnote-style-alist): Add unicode style to the list.
13779 (footnote-style): Doc fix.
9e2dd53f 13780
79b70037
GM
137812011-05-10 Jim Meyering <meyering@redhat.com>
13782
13783 Fix doubled-word typos.
13784 * international/quail.el (quail-insert-kbd-layout): and and -> and
13785 * kermit.el: and and -> and
13786 * net/ldap.el (ldap-search-internal): to to -> to
13787 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13788 * progmodes/js.el (js-mode): and and -> and
13789 * textmodes/artist.el (artist-move-to-xy): at at -> at
13790 (artist-draw-region-trim-line-endings): if if -> if
13791 And Safetyc -> Safety.
13792 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13793
b8f82dc1 137942011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13795 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13796
13797 * files.el (hack-one-local-variable-eval-safep):
13798 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13799
4f99f44b
GM
138002011-05-10 Glenn Morris <rgm@gnu.org>
13801
13802 * calendar/diary-lib.el (diary-list-entries-hook)
13803 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13804 (diary-nongregorian-marking-hook, diary-list-entries)
13805 (diary-include-other-diary-files, diary-mark-entries)
13806 (diary-mark-included-diary-files): Doc fixes.
13807
84f29e6b
JB
138082011-05-09 Juanma Barranquero <lekktu@gmail.com>
13809
13810 * misc.el: Require tabulated-list.el during compilation.
13811
9bedd73a
CY
138122011-05-09 Chong Yidong <cyd@stupidchicken.com>
13813
488086f4
SM
13814 * progmodes/compile.el (compilation-start):
13815 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13816 (compilation-filter-hook): Doc fix.
13817
797c735c
DD
138182011-05-09 Deniz Dogan <deniz@dogan.se>
13819
13820 * wdired.el: Remove outdated installation comment. Fix usage
13821 comment.
13822
5f4b1dfe
JB
138232011-05-09 Juanma Barranquero <lekktu@gmail.com>
13824
13825 * misc.el: Implement new command `list-dynamic-libraries'.
13826 (list-dynamic-libraries--loaded-only-p): New variable.
13827 (list-dynamic-libraries--refresh): New function.
13828 (list-dynamic-libraries): New command.
13829
4c44026c
CY
138302011-05-09 Chong Yidong <cyd@stupidchicken.com>
13831
488086f4
SM
13832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13833 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13834 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13835 higher priority to avoid clobbering by gnu.
13836
027f966d
CY
138372011-05-08 Chong Yidong <cyd@stupidchicken.com>
13838
13839 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13840 if the face has existing theme settings (Bug#8454).
13841
085f5d7d
CY
138422011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13843
488086f4
SM
13844 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13845 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13846
2a86a00c
RS
13847 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13848 special file names `.' and `..' (Bug#8259).
13849
d9c54a06
CY
138502011-05-08 Chong Yidong <cyd@stupidchicken.com>
13851
488086f4
SM
13852 * progmodes/grep.el (grep-mode-font-lock-keywords):
13853 Remove buffer-changing entries.
d9c54a06
CY
13854 (grep-filter): New function.
13855 (grep-mode): Add it to compilation-filter-hook.
13856
13857 * progmodes/compile.el (compilation-filter-hook)
13858 (compilation-filter-start): New defvars.
13859 (compilation-filter): Call compilation-filter-hook prior to
13860 updating the process mark.
13861
c4662635
SM
138622011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13865
b0512a1d
EZ
138662011-05-07 Eli Zaretskii <eliz@gnu.org>
13867
605c9376
EZ
13868 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13869 mailclient-send-it even if window-system is nil. (Bug#8595)
13870
c4662635
SM
13871 * term/w32console.el (terminal-init-w32console):
13872 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13873 background-mode. (Bug#8597)
13874
d1dc2cc2
SM
138752011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13876
13877 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13878 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13879 New functions.
13880 (defgeneric, eieio--defmethod): Use them.
13881 (eieio-defgeneric): Remove.
13882 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13883
915d1300
GM
138842011-05-07 Glenn Morris <rgm@gnu.org>
13885
a3961c3e
GM
13886 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13887 Use let rather than let*.
13888 (timeclock-find-discrep): Remove unused local.
13889
314347b9
GM
13890 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13891
915d1300
GM
13892 * calendar/appt.el (appt-time-msg-list): Doc fix.
13893
275b59b0
NF
138942011-05-06 Noah Friedman <friedman@splode.com>
13895
13896 * apropos.el (apropos-print-doc): Only use
13897 emacs-lisp-docstring-fill-column when it is bound to an integer,
13898 per that variable's documentation.
13899
6c19f744
SM
139002011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13901
13902 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13903 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13904
60f884b2
GM
139052011-05-06 Glenn Morris <rgm@gnu.org>
13906
5006e634
GM
13907 * calendar/appt.el (appt-message-warning-time): Doc fix.
13908 (appt-warning-time-regexp): New option.
13909 (appt-make-list): Respect appt-message-warning-time.
13910
548d0a63
GM
13911 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13912 New options.
13913 (diary-add-to-list): Strip comments from the displayed string.
13914 (diary-mode): Set comment-start and comment-end.
13915
60f884b2
GM
13916 * vc/diff-mode.el (smerge-refine-subst): Declare.
13917 (diff-refine-hunk): Don't require smerge-mode when compiling.
13918
989681bb
JB
139192011-05-06 Juanma Barranquero <lekktu@gmail.com>
13920
13921 * simple.el (list-processes): Return nil as the docstring says.
13922
a6bc05e1
MA
139232011-05-05 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13926 to "".
13927 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13928 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13929 determining of binary transfer. (Bug#7383)
13930
23c22e9a
MA
139312011-05-05 Michael Albinus <michael.albinus@gmx.de>
13932
c4662635
SM
13933 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13934 Fix port computation bug. (Bug#8618)
23c22e9a 13935
0bff894f
GM
139362011-05-05 Glenn Morris <rgm@gnu.org>
13937
b8296902
GM
13938 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13939
1f522ce8
GM
13940 * simple.el (shell-dynamic-complete-functions)
13941 (comint-dynamic-complete-functions): Declare.
13942
cf5bee67
GM
13943 * net/network-stream.el (gnutls-negotiate):
13944 * simple.el (tabulated-list-print): Fix declarations.
13945
13946 * progmodes/gud.el (syntax-symbol, syntax-point):
13947 Remove unnecessary and incorrect declarations.
13948
0bff894f
GM
13949 * emacs-lisp/check-declare.el (check-declare-scan):
13950 Handle byte-compile-initial-macro-environment in bytecomp.el
13951
9869b3ae
SM
139522011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 Fix earlier half-done eieio-defmethod change (bug#8338).
13955 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13956 Streamline and change calling convention.
13957 (defmethod): Adjust accordingly and simplify.
13958 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13959 new eieio--defmethod.
13960 (slot-boundp): Minor CSE simplification.
13961
9c1d5ac5
MZ
139622011-05-05 Milan Zamazal <pdm@zamazal.org>
13963
13964 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13965 (glasses-make-readable): Use glasses-separate-capital-groups.
13966
455c834e
JB
139672011-05-05 Juanma Barranquero <lekktu@gmail.com>
13968
13969 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13970 (warning-series): Doc fix.
13971 (display-warning): Don't try to create the buffer if we just found it.
13972
9ed7c8cb
CY
139732011-05-04 Chong Yidong <cyd@stupidchicken.com>
13974
13975 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13976 (autoload-find-generated-file): New function.
13977 (generate-file-autoloads): Bind generated-autoload-file to
13978 buffer-file-name.
9869b3ae
SM
13979 (update-file-autoloads, update-directory-autoloads):
13980 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13981 output file (Bug#7989).
13982 (batch-update-autoloads): Doc fix.
13983
0898ca10
JB
139842011-05-04 Juanma Barranquero <lekktu@gmail.com>
13985
13986 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13987
31dfb76c
GM
139882011-05-04 Glenn Morris <rgm@gnu.org>
13989
f330b642
GM
13990 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13991 function, so it follows changes in calendar-date-style.
13992 (diary-fancy-date-matcher): New function.
13993 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13994 (diary-fancy-font-lock-fontify-region-function):
13995 Use diary-fancy-date-pattern as a function.
13996
31dfb76c
GM
13997 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13998 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13999
48e79d6a
TZ
140002011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14001
14002 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14003 instead of positional arguments. Allow :keylist and :crlfiles
14004 arguments.
14005 (open-gnutls-stream): Call it.
14006
14007 * net/network-stream.el (network-stream-open-starttls): Adjust to
14008 call `gnutls-negotiate' with :process and :hostname arguments.
14009
dd5a5ee0
SM
140102011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14011
ef80fc09
SM
14012 * minibuffer.el (completion--message): New function.
14013 (completion--do-completion, minibuffer-complete)
14014 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14015 (completion--do-completion): Don't ignore completion-auto-help when in
14016 icomplete-mode.
14017
dd5a5ee0
SM
14018 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14019 internal encoding (e.g. tibetan zero is not whitespace).
14020 (global-whitespace-mode): Prefer save-current-buffer.
14021 (whitespace-trailing-regexp): Remove useless save-match-data.
14022 (whitespace-empty-at-bob-regexp): Minor simplification.
14023
b7d22a83
CY
140242011-05-03 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14027
5192af46
AM
140282011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14029
14030 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14031 Use `concat' to create string for insertion.
5192af46 14032
5767d190
SM
140332011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14036 Avoid open-line which runs post-self-insert-hook.
14037 (bibtex-fill-entry): Remove unused `end' var.
14038
bf242939
AM
140392011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14040
5767d190
SM
14041 * textmodes/ispell.el (ispell-add-per-file-word-list):
14042 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14043
25666126
LL
140442011-05-03 Leo Liu <sdl.web@gmail.com>
14045
14046 * isearch.el (isearch-yank-pop): New command.
5767d190 14047 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14048 (isearch-forward): Mention it.
14049
52d3c2d0
SM
140502011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14051
1bcace58
SM
14052 * simple.el (minibuffer-complete-shell-command): Remove.
14053 (minibuffer-local-shell-command-map): Use completion-at-point.
14054 (read-shell-command): Setup completion vars here instead.
14055 (read-expression-map): Bind TAB to symbol completion.
14056
52d3c2d0
SM
14057 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14058 error directly rather via storing it into `results'.
14059
35813471
LL
140602011-05-02 Leo Liu <sdl.web@gmail.com>
14061
14062 * vc/diff.el: Fix description.
14063
e793a940
LMI
140642011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14065
14066 * server.el (server-eval-at): New function.
14067
8de66e05
LMI
140682011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14069
14070 * net/network-stream.el (open-network-stream): Take a :nowait
14071 parameter and pass it on to `make-network-process'.
14072 (network-stream-open-plain): Ditto.
14073
dcb79f20
AS
140742011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14075
14076 * faces.el (face-spec-set-match-display): Don't match toolkit
14077 options on terminal frames.
14078
14a7fbd8
SM
140792011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14080
7eabc1be
SM
14081 * progmodes/pascal.el: Use lexical binding.
14082 (pascal-mode-map): Remove author preferences.
14083
14a7fbd8
SM
14084 * pcomplete.el (pcomplete-std-complete): Don't abuse
14085 completion-at-point.
14086
50f84510
JB
140872011-04-28 Juanma Barranquero <lekktu@gmail.com>
14088
6e087a44
JB
14089 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14090 removing code that has been dead since 1991 or so.
14091
50f84510
JB
14092 * startup.el (command-line): When warning about "_emacs", use a
14093 delayed warning to allow the user to filter it out.
14094
0ba690bd
DD
140952011-04-28 Deniz Dogan <deniz@dogan.se>
14096
14097 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14098 user has not joined.
14099
08abfaad
SM
141002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14103 aren't any completions at point.
14104
638f053a
JB
141052011-04-28 Juanma Barranquero <lekktu@gmail.com>
14106
14107 * subr.el (display-delayed-warnings): New function.
14108 (delayed-warnings-hook): New variable.
14109
8fff8daa
SM
141102011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14111
08abfaad
SM
14112 * minibuffer.el (completion-at-point, completion-help-at-point):
14113 Don't presume that a given completion-at-point-function will always
14114 use the same calling convention.
14115
8fff8daa
SM
14116 * pcomplete.el (pcomplete-completions-at-point):
14117 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14118 pcomplete-seen is non-nil.
14119 (pcomplete-comint-setup): Also recognize the new comint/shell
14120 completion functions.
14121 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14122 pcomplete-seen is non-nil.
14123
841a1577 141242011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14125
841a1577 14126 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14127 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14128 the first character in the entry. This allows for code to add its
211ec907
UJ
14129 own uid to the entry.
14130 (icalendar--convert-float-to-ical): Add export of
14131 `diary-float'-entries save for those with the optional DAY
14132 argument.
14133
2a782793
DC
141342011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14135
14136 * subr.el (shell-quote-argument): Use alternate escaping strategy
14137 when we spot a variable reference in a string.
14138
0438ce91
DC
141392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14140
14141 * cus-start.el (all): Define customization for debug-on-event.
14142
841a1577 141432011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14144
14145 * subr.el (shell-quote-argument): Escape correctly under Windows.
14146
d090ed6c
SM
141472011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14150
bfd31217
MA
141512011-04-25 Michael Albinus <michael.albinus@gmx.de>
14152
d090ed6c
SM
14153 * net/tramp.el (tramp-process-actions): Add POS argument.
14154 Delete region between POS and (pos).
bfd31217 14155
d090ed6c
SM
14156 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14157 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14158 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14159
14160 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14161 position in `tramp-process-actions' call.
14162
14163 * net/trampver.el: Update release number.
14164
e92f3bd3
SM
141652011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14166
850256b5
SM
14167 * custom.el (defcustom): Obey lexical-binding.
14168
e92f3bd3
SM
14169 Fix octave-inf completion problems reported by Alexander Klimov.
14170 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14171 Inherit from octave-mode-syntax-table.
14172 (inferior-octave-mode): Set info-lookup-mode.
14173 (inferior-octave-completion-at-point): New function.
14174 (inferior-octave-complete): Use it and completion-in-region.
14175 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14176 comint-filename-completion.
14177 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14178 symbol elements which shouldn't be word elements.
14179 (octave-font-lock-keywords, octave-beginning-of-defun)
14180 (octave-function-header-regexp): Adjust regexps accordingly.
14181 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14182
cd22b309
JB
141832011-04-25 Juanma Barranquero <lekktu@gmail.com>
14184
14185 * net/gnutls.el (gnutls-errorp): Declare before first use.
14186
8b492194
TZ
141872011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14188
14189 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14190 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14191 default trustfile exists before going to use it. Add missing
5a5fa834 14192 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14193 Reported by Claudio Bley <claudio.bley@gmail.com>.
14194 (open-gnutls-stream): Add usage example.
14195
14196 * net/network-stream.el (network-stream-open-starttls): Give host
14197 parameter to `gnutls-negotiate'.
14198 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14199 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14200
841a1577 142012011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14202
cd22b309
JB
14203 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14204 Use correct match group (bug#8438).
05842630 14205
3ba7869c
CY
142062011-04-24 Chong Yidong <cyd@stupidchicken.com>
14207
512e3ae1
CY
14208 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14209 (package-menu--generate): New arg specifying packages to show.
14210 (package-menu-refresh, package-menu-execute, list-packages):
14211 Callers changed.
14212 (package-show-package-list): New function, replacing deleted
14213 package--list-packages (renamed because it is non-internal).
14214
14215 * finder.el (finder-list-matches): Use package-show-package-list
14216 instead of deleted package--list-packages.
14217
e92f3bd3
SM
14218 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14219 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14220 (vc-annotate-mode-map): Bind it to RET.
14221
7031be6d
UR
142222011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14223
14224 * progmodes/etags.el (next-file): Don't use set-buffer to change
14225 buffers (Bug#8478).
14226
4ef177aa
CY
142272011-04-24 Chong Yidong <cyd@stupidchicken.com>
14228
c8d173eb
CY
14229 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14230
4ef177aa
CY
14231 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14232 (apropos-accumulator): Doc fix.
14233 (apropos-function, apropos-macro, apropos-command)
14234 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14235 (apropos-plist): Add face property.
14236 (apropos-symbols-internal): Fix indentation.
14237 (apropos-print): Simplify help, and recognize apropos-multi-type.
14238 (apropos-print-doc): Use button-type-get to extract the button's
14239 face property. Fill docstring (Bug#8352).
14240
4ffd0d6b 142412011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14242
14243 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14244
c6c32125 14245 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14246 (mpuz-mode-map): Use mapc.
c6c32125
JB
14247 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14248 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14249 Fix typos in docstrings.
14250
58d468b4
JB
14251 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14252 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14253
6470c3c6
JB
14254 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14255
4ffd0d6b 142562011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14257
14258 * minibuffer.el (completion--do-completion): Avoid the "Next char
14259 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14260
3ad8bad0
CY
14261 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14262 mouse-2 into unread-command-events, it is interpreted correctly.
14263
71d73c9c 14264 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14265 (image-toggle-display): Doc fix.
71d73c9c 14266
841a1577 142672011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14268
4ffd0d6b
GM
14269 * textmodes/page.el (what-page): Use line-number-at-pos to
14270 calculate line number (Bug#6825).
6e1dbaa9 14271
c2fb1b60
JB
142722011-04-22 Juanma Barranquero <lekktu@gmail.com>
14273
14274 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14275 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14276 Pass argument NO-DEFAULT to `find-tag-interactive'.
14277
e02f48d7
JB
142782011-04-22 Juanma Barranquero <lekktu@gmail.com>
14279
14280 Lexical-binding cleanup.
14281
14282 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14283 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14284 * progmodes/ada-prj.el (ada-prj-initialize-values)
14285 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14286 (ada-prj-show-value):
14287 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14288 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14289 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14290 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14291 * progmodes/bug-reference.el (bug-reference-push-button):
14292 * progmodes/fortran.el (fortran-line-length):
14293 * progmodes/glasses.el (glasses-change):
14294 * progmodes/octave-mod.el (octave-fill-paragraph):
14295 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14296 (python-pdbtrack-grub-for-buffer, python-sentinel):
14297 * progmodes/sql.el (sql-save-connection):
14298 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14299 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14300 Mark unused parameters.
14301
14302 * progmodes/compile.el (compilation--flush-directory-cache)
14303 (compilation--flush-parse, compile-internal): Mark unused parameters.
14304 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14305 (compilation-next-error-function): Remove unused variable `timestamp'.
14306
14307 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14308 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14309
14310 * progmodes/dcl-mode.el (dcl-end-of-command):
14311 Remove unused variable `start'.
14312 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14313 (dcl-option-value-basic, dcl-option-value-offset)
14314 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14315 Mark unused parameters.
14316 (dcl-save-local-variable): Remove unused variable `val'.
14317 (mode): Declare.
14318
14319 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14320 Mark unused parameters.
14321 (delphi-ignore-changes): Move before first use.
14322 (delphi-charset-token-at): Remove unused variable `start'.
14323 (delphi-else-start): Remove unused variable `if-count'.
14324 (delphi-comment-block-start, delphi-comment-block-end):
14325 Remove unused variable `kind'.
14326 (delphi-indent-line): Remove unused variable `new-point'.
14327
14328 * progmodes/ebrowse.el (ebrowse-files-list)
14329 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14330 Mark unused parameters. Don't quote `lambda'.
14331 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14332 Don't quote `lambda'.
14333 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14334 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14335 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14336 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14337 Use `ignore-errors'.
14338 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14339 (ebrowse-view/find-file-and-search-pattern)
14340 (ebrowse-view/find-member-declaration/definition):
14341 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14342 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14343 Rename parameter PREFIX-ARG to PREFIX.
14344 (ebrowse-tags-read-name): Remove unused variables `start' and
14345 `member-info'.
14346 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14347 to `tags-file'.
14348
14349 * progmodes/etags.el (local-find-tag-hook): Declare.
14350 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14351 Mark unused parameters.
14352
14353 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14354 (executable-interpret): Mark unused parameter.
14355
14356 * progmodes/flymake.el (flymake-process-sentinel)
14357 (flymake-after-change-function)
14358 (flymake-create-temp-with-folder-structure)
14359 (flymake-get-include-dirs-dot): Mark unused parameters.
14360 (flymake-safe-delete-directory): Remove unused variable `err'.
14361
14362 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14363 (speedbar-timer-fn, speedbar-line-text)
14364 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14365 (speedbar-center-buffer-smartly): Declare functions.
14366 (gdb-find-watch-expression): Remove unused variable `array'.
14367 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14368 (gdb-starting): Mark unused parameters.
14369 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14370 (gdb-table-string): Remove unused variable `res'.
14371 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14372 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14373 (gdb-display-buffer): Remove unused variable `cur-size'.
14374
14375 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14376 allow lexical-binding compilation.
14377 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14378 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14379 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14380 Mark unused parameters.
14381 (gud-gdb-marker-filter): Remove unused variable `match'.
14382 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14383 lambda expressions and funcall them, instead of using `fset'.
14384
14385 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14386 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14387
14388 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14389 variable `header-beg'; use `let'.
14390
14391 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14392 `restart', `last-sexp' and `at-do'.
14393
14394 * progmodes/js.el (js--debug): Mark unused parameter.
14395 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14396 (js--splice-into-items): Remove unused variable `item'.
14397 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14398
14399 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14400 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14401 (makefile-complete): Remove unused variable `try'.
14402 (makefile-fill-paragraph, makefile-match-function-end):
14403 Mark unused parameters.
14404
14405 * progmodes/octave-inf.el (inferior-octave-complete):
14406 Remove unused variable `proc'.
14407 (inferior-octave-output-digest): Mark unused parameter.
14408
14409 * progmodes/perl-mode.el (perl-calculate-indent):
14410 Remove unused variable `err'.
14411
14412 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14413 (prolog-indent-line): Mark unused parameters.
14414 (prolog-indent-line): Remove unused variable `beg'.
14415
14416 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14417 (reporter-dont-compact-list): Declare.
14418
14419 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14420 Remove unused variable `char'.
14421 (sh-debug): Mark unused parameter.
14422 (sh-get-indent-info): Remove unused variable `start'.
14423 (sh-calculate-indent): Remove unused variable `var'.
14424
14425 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14426 (simula-electric-keyword): Remove unused variable `null'.
14427 (simula-search-backward, simula-search-forward): Remove unused
14428 variables `begin' and `end'.
14429
14430 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14431 Remove unused variable `pos'.
14432 (vera-electric-tab, vera-comment-uncomment-region):
14433 Mark unused parameters.
14434 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14435
7ede3b65
CY
144362011-04-22 Chong Yidong <cyd@stupidchicken.com>
14437
14438 * emacs-lisp/package.el (package--builtins, package-alist)
14439 (package-load-descriptor, package-built-in-p, package-activate)
14440 (define-package, package-installed-p)
14441 (package-compute-transaction, package-buffer-info)
14442 (package--push): Doc fix. Distinguish more clearly between
14443 version strings and version lists.
14444
121656e9
JB
144452011-04-21 Juanma Barranquero <lekktu@gmail.com>
14446
14447 Lexical-binding cleanup.
14448
14449 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14450 (5x5-make-mutate-best):
14451 * play/fortune.el (fortune-in-buffer):
14452 * play/gomoku.el (gomoku-init-display):
14453 * play/solitaire.el (solitaire, solitaire-do-check):
14454 * play/tetris.el (tetris-default-update-speed-function):
14455 Mark unused parameters.
14456
14457 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14458 (bubbles--shift): Remove unused variable `char-org'.
14459 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14460 (bubbles--show-images): Remove unused variable `char'.
14461
14462 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14463 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14464 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14465 (decipher-analyze-buffer): Use ?\s.
14466 (decipher-make-checkpoint): Remove unused variable `mapping'.
14467
14468 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14469
14470 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14471 Remove unused variable `result'; use `let'.
14472
14473 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14474 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14475 (gametree-children-shown-p, gametree-compute-reduced-score):
14476 Use `ignore-errors'.
14477
14478 * play/handwrite.el (ps-lpr-switches): Declare.
14479 (handwrite): Remove unused variables `pmin' and `lastp'.
14480
14481 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14482
14483 * play/landmark.el (landmark-init-display)
14484 (landmark-update-naught-weights): Mark unused parameters.
14485 (landmark-y): Remove unused variable `noise'. Simplify.
14486 (landmark-human-plays): Remove unused variable `score'.
14487
14488 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14489 (mpuz-try-proposal): Remove unused variable `game'.
14490
14491 * play/zone.el (life-patterns): Declare.
14492
80f499c7
JB
144932011-04-20 Juanma Barranquero <lekktu@gmail.com>
14494
14495 * vc/vc.el (ediff-vc-internal): Declare function.
14496
024ff170
SM
144972011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14498
c0a193ea
SM
14499 * shell.el: Use lexical-binding and std completion UI.
14500 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14501 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14502 comint-preoutput-filter-functions rather than on
14503 comint-output-filter-functions.
14504 (shell-command-completion, shell--command-completion-data)
14505 (shell-filename-completion, shell-environment-variable-completion)
14506 (shell-c-a-p-replace-by-expanded-directory): New functions.
14507 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14508 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14509 (shell-dynamic-complete-environment-variable): Use them.
14510 (shell-dynamic-complete-as-environment-variable)
14511 (shell-dynamic-complete-as-command): Remove.
14512 (shell-match-partial-variable): Match past point.
14513 * comint.el: Clean up use of completion-at-point-functions.
14514 (comint-completion-at-point): New function.
14515 (comint-mode): Use it completion-at-point-functions.
14516 (comint-dynamic-complete): Make it obsolete.
14517 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14518 (comint-c-a-p-replace-by-expanded-history): New function.
14519 (comint-dynamic-complete-functions)
14520 (comint-replace-by-expanded-history): Use it.
14521 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14522 termination strings. Try harder to avoid second try-completion.
14523 (completion-in-region-mode-map): Disable bindings that don't work yet.
14524
2dbaa080
SM
14525 * comint.el: Use lexical-binding. Require CL.
14526 (comint-dynamic-complete-functions): Use comint-filename-completion.
14527 (comint-completion-addsuffix): Tweak custom type.
14528 (comint-filename-completion, comint--common-suffix)
14529 (comint--common-quoted-suffix, comint--table-subvert)
14530 (comint--complete-file-name-data): New functions.
14531 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14532 (comint-dynamic-list-filename-completions): Use them.
14533 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14534
2dbaa080
SM
14535 * minibuffer.el (completion-in-region-mode):
14536 Keep completion-in-region-mode--predicate global.
14537 (completion-in-region--postch):
14538 Assume completion-in-region-mode--predicate is not null.
14539
c79a6f38
SM
14540 * progmodes/flymake.el (flymake-start-syntax-check-process):
14541 Obey `dir'. Simplify.
14542
024ff170
SM
14543 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14544 we're in VC after all.
14545
1c6c854e
CS
145462011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14547
14548 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14549 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14550 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14551
bed7f140
SM
145522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14553
332e62ab
SM
14554 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14555 add sanity check.
14556
bed7f140
SM
14557 * obsolete/erc-hecomplete.el: Make obsolete.
14558 * obsolete/: Standardize obsolescence info in the header.
14559
f195c582
GM
145602011-04-20 Glenn Morris <rgm@gnu.org>
14561
14562 * calendar/solar.el (solar-horizontal-coordinates):
14563 Use the longitude argument rather than `calendar-longitude'.
14564 (solar-date-next-longitude): Remove unused locals.
14565
cb79b8c0
VJL
145662011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14567
14568 * whitespace.el: New version 13.2.1.
14569
145702011-04-20 felix <EmacsWiki> (tiny change)
14571
d8e4b68b 14572 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14573 switching between major modes on a file.
14574
602ea69d
SM
145752011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14578 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14579 multi-line comments as well.
14580
06b60517
JB
145812011-04-19 Juanma Barranquero <lekktu@gmail.com>
14582
14583 Lexical-binding cleanup.
14584
14585 * arc-mode.el (archive-mode-revert):
14586 * cmuscheme.el (scheme-interactively-start-process):
14587 * custom.el (custom-initialize-delay):
14588 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14589 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14590 * emacs-lock.el (emacs-lock-clear-sentinel):
14591 * ezimage.el (defezimage):
14592 * follow.el (follow-avoid-tail-recenter):
14593 * fringe.el (set-fringe-mode-1):
14594 * generic-x.el (bat-generic-mode-compile):
14595 * help-mode.el (help-info-variable, help-do-xref)
14596 (help-mode-revert-buffer):
14597 * help.el (view-emacs-todo):
14598 * iswitchb.el (iswitchb-completion-help):
14599 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14600 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14601 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14602 * locate.el (locate-update):
14603 * longlines.el (longlines-encode-region)
14604 (longlines-after-change-function):
14605 * outline.el (outline-isearch-open-invisible):
14606 * ps-def.el (declare-function, charset-dimension, char-width)
14607 (encode-char):
14608 * ps-mule.el (ps-mule-plot-string):
14609 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14610 (recentf-edit-list-select, recentf-edit-list-validate)
14611 (recentf-open-files-action):
14612 * rect.el (delete-whitespace-rectangle-line)
14613 (rectangle-number-line-callback):
14614 * register.el (window-configuration-to-register)
14615 (frame-configuration-to-register):
14616 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14617 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14618 (xselect-convert-to-targets, xselect-convert-to-delete)
14619 (xselect-convert-to-filename, xselect-convert-to-charpos)
14620 (xselect-convert-to-lineno, xselect-convert-to-colno)
14621 (xselect-convert-to-os, xselect-convert-to-host)
14622 (xselect-convert-to-user, xselect-convert-to-class)
14623 (xselect-convert-to-name, xselect-convert-to-integer)
14624 (xselect-convert-to-atom, xselect-convert-to-identity):
14625 * subr.el (declare, ignore, process-kill-without-query)
14626 (text-clone-maintain):
14627 * terminal.el (te-get-char, te-tic-sentinel):
14628 * tool-bar.el (tool-bar-make-keymap):
14629 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14630 * type-break.el (type-break-mode, type-break-noninteractive-query):
14631 * view.el (View-back-to-mark):
14632 * wid-browse.el (widget-browse-action, widget-browse-widget)
14633 (widget-browse-widgets, widget-browse-sexp):
14634 * widget.el (define-widget-keywords):
14635 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14636 Mark unused parameters.
14637
14638 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14639 (align-areas): Remove unused variable `look'.
14640 (align-region): Remove unused variables `real-end' and `pos-list'.
14641
14642 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14643
14644 * bindings.el (mode-line-modified, mode-line-remote):
14645 Mark unused parameters.
14646 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14647
14648 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14649 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14650
14651 * comint.el (comint-history-isearch-pop-state)
14652 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14653 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14654 (comint-substitute-in-file-name): Doc fix.
14655
14656 * completion.el (cmpl-statistics-block): Mark unused parameter.
14657 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14658 (save-completions-to-file, load-completions-from-file):
14659 Remove unused local variable `e'.
14660
14661 * composite.el (compose-chars): Remove unused variable `len'.
14662 (lgstring-insert-glyph): Remove unused variable `g'.
14663 (compose-glyph-string): Remove unused variables `ascent',
14664 `descent', `lbearing' and `rbearing'.
14665 (compose-glyph-string-relative): Remove unused variables
14666 `lbearing', `rbearing' and `wadjust'.
14667 (compose-gstring-for-graphic): Remove unused variables `header',
14668 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14669 (compose-gstring-for-terminal): Remove unused variables `header'
14670 and `nchars'. Use `let', not `let*'.
14671
14672 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14673 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14674 (Custom-buffer-done, custom-buffer-create-internal)
14675 (custom-browse-visibility-action, custom-browse-group-tag-action)
14676 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14677 (widget-magic-mouse-down-action, custom-toggle-parent)
14678 (custom-add-parent-links, custom-toggle-hide-variable)
14679 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14680 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14681 (custom-face-menu-create, custom-variable-menu-create, get)
14682 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14683 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14684 (customize-apropos): Remove unused variable `tests'.
14685 (custom-group-value-create): Remove unused variable `hidden-p'.
14686 (sort-fold-case): Declare.
14687
14688 * cus-theme.el (custom-reset-standard-faces-list)
14689 (custom-reset-standard-variables-list): Declare.
14690 (customize-create-theme, custom-theme-revert, custom-theme-write)
14691 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14692 Mark unused parameters.
14693
14694 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14695
14696 * delim-col.el (delimit-columns-max): Move defvar before first use.
14697
14698 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14699 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14700
14701 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14702 (auto-insert): Declare.
14703 (desktop-restore-file-buffer): Rename desktop-* parameters;
14704 mark unused ones.
14705 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14706 (desktop-buffer): Rename desktop-* parameters.
14707
14708 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14709 (dframe-reposition-frame-xemacs, dframe-help-echo)
14710 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14711 Mark unused parameters.
14712
14713 * dired-aux.el (backup-extract-version-start, overwrite-query)
14714 (overwrite-backup-query, rename-regexp-query)
14715 (rename-non-directory-query): Declare.
14716 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14717 (dired-add-entry): Remove unused variable `orig-file-name'.
14718 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14719 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14720 `dired-copy-preserve-time' directly.
14721 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14722 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14723
14724 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14725 (dired-virtual-revert, dired-make-relative-symlink):
14726 Mark unused parameters.
14727 (manual-program): Declare.
14728 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14729 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14730 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14731
14732 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14733
14734 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14735
14736 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14737 Declare.
14738
14739 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14740
14741 * electric.el (Electric-command-loop): Rename parameter
14742 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14743
14744 * expand.el (expand-in-literal): Remove unused variable `here'.
14745
14746 * facemenu.el (facemenu-add-new-color):
14747 Remove unused variable `docstring'.
14748
14749 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14750 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14751 (face-attr-construct): Mark unused parameter. Doc fix.
14752 (read-color): Remove unused variable `hex-string'.
14753
14754 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14755 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14756 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14757 (display-buffer-other-frame): Remove unused variable `old-window'.
14758 (kill-buffer-hook): Declare.
14759 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14760 Mark unused parameters.
14761 (after-find-file): Pass 1 to `auto-save-mode', not t.
14762
14763 * files-x.el (auto-insert): Declare.
14764 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14765
14766 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14767 variable `buf'. Mark unused parameter.
06b60517
JB
14768 (find-lisp-insert-directory): Mark unused parameter.
14769
14770 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14771 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14772 (format-common-tail): Remove, unused.
14773 (format-deannotate-region): Remove unused variable `loc'.
14774 (format-annotate-region): Remove unused variable `p'.
14775 (format-annotate-single-property-change): Remove unused variables
14776 `default' and `tail'.
14777
14778 * forms.el (read-file-filter): Declare.
14779 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14780
14781 * frame.el (frame-creation-function-alist): Mark unused parameter.
14782 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14783
14784 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14785 Remove unused parameters.
14786 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14787 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14788
14789 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14790 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14791 (hfy-prepare-tag-map): Mark unused parameters.
14792 (htmlfontify-buffer): Use `called-interactively-p'.
14793
14794 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14795 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14796 (ibuffer-do-occur): Mark unused parameters.
14797 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14798 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14799
14800 * ibuffer.el: Don't quote `lambda'.
14801 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14802 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14803 Mark unused parameters.
14804
14805 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14806 (ido-completing-read): Mark unused parameters.
14807 (ido-copy-current-word): Mark unused parameters;
14808 remove unused variable `name'.
14809 (ido-sort-merged-list): Remove unused parameter `dirs'.
14810
14811 * ielm.el (ielm-input-sender): Mark unused parameter.
14812 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14813 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14814 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14815 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14816 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14817
14818 * image-dired.el (image-dired-display-thumbs): Remove unused
14819 variables `curr-file' and `count'.
14820 (image-dired-remove-tag): Remove unused variable `start'.
14821 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14822 variable `curr-file'
14823 (image-dired-rotate-original): Remove unused variable `temp-file'.
14824 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14825 Remove unused variable `file'.
14826 (image-dired-gallery-generate): Remove unused variable `curr'.
14827 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14828
14829 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14830
14831 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14832
14833 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14834
14835 * isearch.el (minibuffer-history-symbol): Declare.
14836 (isearch-edit-string): Remove unused variable `err'.
14837 (isearch-message-prefix, isearch-message-suffix):
14838 Mark unused parameters.
14839
14840 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14841
14842 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14843
14844 * makesum.el (double-column): Remove unused variable `cnt'.
14845
14846 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14847 (ido-ignore-item-temp-list): Declare.
14848
14849 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14850 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14851 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14852 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14853 `mouse-col-delta'.
14854
14855 * mouse-sel.el (mouse-extend-internal):
14856 Remove unused variable `orig-window-frame'.
14857
14858 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14859 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14860 Move declarations before first use.
14861 (pcomplete-opt): Mark unused parameters; doc fix.
14862
14863 * proced.el (proced-revert): Mark unused parameter.
14864 (proced-send-signal): Remove unused variable `err'.
14865
14866 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14867 Rename parameter PREFIX-ARG to ARG.
14868 (ps-basic-plot-string, ps-basic-plot-whitespace):
14869 Mark unused parameters.
14870
14871 * replace.el (replace-count): Define.
14872 (occur-revert-function): Mark unused parameters.
14873 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14874 (isearch-case-fold-search, isearch-string): Declare.
14875 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14876 bind `case-fold-search'. Remove unused variables `beg' and `end',
14877 and simplify.
14878 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14879 COUNT and bind `replace-count'.
14880 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14881 to COUNT.
14882
14883 * savehist.el (print-readably, print-string-length): Declare.
14884
14885 * shadowfile.el (shadow-expand-cluster-in-file-name):
14886 Remove unused variable `cluster'.
14887 (shadow-copy-file): Remove unused variable `i'.
14888 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14889 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14890 (shadow-define-literal-group, shadow-define-regexp-group)
14891 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14892
14893 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14894 (shell): Use `called-interactively-p'.
14895 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14896
14897 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14898 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14899 (delete-backward-char): Remove unused variable `ocol'.
14900 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14901 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14902 (event-apply-hyper-modifier, event-apply-shift-modifier)
14903 (event-apply-control-modifier, event-apply-meta-modifier):
14904 Mark unused parameters.
14905 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14906 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14907
14908 * speedbar.el (speedbar-ignored-directory-expressions)
14909 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14910 (speedbar-find-file, speedbar-dir-follow)
14911 (speedbar-directory-buttons-follow, speedbar-tag-find)
14912 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14913 (speedbar-buffers-line-directory, speedbar-buffer-click):
14914 Mark unused parameters.
14915 (speedbar-tag-file): Remove unused variable `mode'.
14916 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14917
14918 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14919
14920 * talk.el (talk): Remove unused variable `display'.
14921
14922 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14923 (tar-write-region-annotate): Mark unused parameter.
14924
14925 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14926 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14927 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14928 warning by another.
14929
14930 * time-stamp.el (time-stamp-string-preprocess):
14931 Remove unused variable `require-padding'.
14932
14933 * tree-widget.el (widget-glyph-enable): Declare.
14934 (tree-widget-action): Mark unused parameter.
14935
14936 * w32-fns.el (x-get-selection): Mark unused parameter.
14937 (autoload-make-program, generated-autoload-file): Declare.
14938
14939 * wdired.el (wdired-revert): Mark unused parameters.
14940 (wdired-xcase-word): Remove unused variable `err'.
14941
14942 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14943 (whitespace-help-scroll): Remove unused variable `data-help'.
14944
14945 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14946 (widget-image-insert, widget-after-change, default)
14947 (widget-default-format-handler, widget-default-notify)
14948 (widget-default-prompt-value, widget-info-link-action)
14949 (widget-url-link-action, widget-function-link-action)
14950 (widget-variable-link-action, widget-file-link-action)
14951 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14952 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14953 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14954 (widget-insert-button-action, widget-delete-button-action, visibility)
14955 (widget-documentation-link-action, widget-documentation-string-action)
14956 (widget-const-prompt-value, widget-regexp-match, symbol)
14957 (widget-coding-system-prompt-value)
14958 (widget-key-sequence-value-to-external, sexp)
14959 (widget-sexp-value-to-internal, character, vector, cons)
14960 (widget-choice-prompt-value, widget-boolean-prompt-value)
14961 (widget-color--choose-action): Mark unused parameters.
14962 (widget-item-match-inline, widget-choice-match-inline)
14963 (widget-checklist-match, widget-checklist-match-inline)
14964 (widget-group-match): Rename parameter VALUES to VALS.
14965 (widget-field-value-set): Remove unused variable `size'.
14966 (widget-color-action): Remove unused variables `value' and `start'.
14967
14968 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14969 variable `dir'. Doc fix.
06b60517
JB
14970 (windmove-find-other-window): Don't pass it.
14971
14972 * window.el (count-windows): Mark unused parameter.
14973 (bw-adjust-window): Remove unused variable `err'.
14974
14975 * woman.el (woman-file-name): Remove unused variable `default'.
14976 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14977 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14978 (global-font-lock-mode): Declare.
14979 (woman-decode-region): Mark unused parameter.
14980 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14981
14982 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14983 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14984 (x-dnd-handle-moz-url): Remove unused variable `title'.
14985 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14986
14987 * xml.el (xml-parse-tag, xml-parse-attlist):
14988 Remove unused variable `pos'.
14989
bc4f7f3d
GM
149902011-04-19 Glenn Morris <rgm@gnu.org>
14991
14992 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14993 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14994 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14995 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14996 * calendar/cal-html.el (cal-html-insert-minical):
14997 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14998 (calendar-mark-date-pattern):
14999 Prefix "unused" locals.
15000
15001 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15002 optional argument `style'.
15003
15004 * calendar/appt.el (appt-make-list):
15005 * calendar/cal-china.el (calendar-chinese-date-string):
15006 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15007 (diary-hebrew-yahrzeit):
15008 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15009 * calendar/calendar.el (calendar-generate-window):
15010 * calendar/time-date.el (time-to-days):
15011 Remove unused local variables.
15012
16a43933
CY
150132011-04-18 Chong Yidong <cyd@stupidchicken.com>
15014
15015 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15016 glyphless-char-display table.
15017 (tabulated-list-glyphless-char-display): New var.
15018
7eed1860
SS
150192011-04-18 Sam Steingold <sds@gnu.org>
15020
15021 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15022 to acknowledgments.
15023
4d2d1ccd
GM
150242011-04-17 Glenn Morris <rgm@gnu.org>
15025
15026 * calendar/diary-lib.el (diary-sexp-entry):
15027 * calendar/holidays.el (holiday-sexp):
15028 Set debug-on-error rather than the removed stack-trace-on-error.
15029
239da61d
GM
150302011-04-16 Glenn Morris <rgm@gnu.org>
15031
15032 * progmodes/f90.el: Use lexical-binding.
15033 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15034
8b05752a
SM
150352011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15036
daca8ba5
SM
15037 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15038 (mail-mode): Setup mailalias completion here instead.
15039 * mail/mailalias.el: Use lexical-binding.
15040 (pattern, mailalias-done): Declare dynamic.
15041 (mail-completion-at-point-function): New function, from mail-complete.
15042 (mail-complete): Use it.
15043 (mail-completion-expand): New function.
15044 (mail-get-names): Use it.
15045 (mail-directory, mail-directory-process, mail-directory-stream):
15046 Don't use `pattern' for lexically bound arg.
15047
6f542485
SM
15048 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15049
037e7c3f
SM
15050 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15051 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15052 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15053
8b05752a
SM
15054 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15055 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15056 (byte-interactive-p): Define them again, for use when inlining
15057 old code.
15058
49093f60
JB
150592011-04-15 Juanma Barranquero <lekktu@gmail.com>
15060
15061 * loadup.el: Use `string-to-number', not `string-to-int'.
15062
b5b8e7de
SM
150632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15066 gud-gdb-complete-command.
15067 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15068 (gud-gdb-completion-at-point): New function.
15069 (gud-gdb-completions): Remove.
15070
f42efeb5
MA
150712011-04-14 Michael Albinus <michael.albinus@gmx.de>
15072
49093f60
JB
15073 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15074 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15075 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15076 whether `executable-find' is bound.
f42efeb5
MA
15077
15078 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15079
e240cc21
SM
150802011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * minibuffer.el (completion-in-region-mode-predicate)
15083 (completion-in-region-mode--predicate): New vars.
15084 (completion-in-region, completion-in-region--postch)
15085 (completion-in-region-mode): Use them.
15086 (completion--capf-wrapper): Also return the hook function.
15087 (completion-at-point, completion-help-at-point):
15088 Adjust and provide a predicate.
c2bd2ab0
SM
15089
15090 Preserve arg names for advice of subr and lexical functions (bug#8457).
15091 * help-fns.el (help-function-arglist): Consolidate the subr and
15092 new-byte-code cases. Add argument `preserve-names' to extract names
15093 from the docstring when needed.
15094 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15095 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15096 (ad-arglist): Use help-function-arglist's new arg.
15097 (ad-definition-type): Use cond.
15098
c183f693
JB
150992011-04-13 Juanma Barranquero <lekktu@gmail.com>
15100
06641a47
JB
15101 * autorevert.el (auto-revert-handler):
15102 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15103 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15104 Don't quote lambda.
15105
c183f693
JB
15106 * image-mode.el (image-transform-set-scale):
15107 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15108
1e3b6001
G
151092011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15110
15111 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15112 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15113 Upgrades via gnutls-cli are too slow to be done opportunistically.
15114
2d6af8dd
JB
151152011-04-12 Juanma Barranquero <lekktu@gmail.com>
15116
15117 * dframe.el (dframe-current-frame): Remove spurious quote.
15118
c0749a51
GM
151192011-04-12 Glenn Morris <rgm@gnu.org>
15120
088d0d61
GM
15121 * calendar/cal-tex.el (cal-tex-end-document):
15122 Try to automatically use latin1 input if needed.
15123
c0749a51
GM
15124 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15125 Don't try to cons a mark onto an empty element.
15126
5c90fde0
LL
151272011-04-11 Leo Liu <sdl.web@gmail.com>
15128
15129 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15130 buffers.
15131 (ido-kill-buffer-at-head): Support killing virtual buffers.
15132
369e974d
CY
151332011-04-10 Chong Yidong <cyd@stupidchicken.com>
15134
15135 * minibuffer.el (completion-show-inline-help): New var.
15136 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15137 (minibuffer-force-complete, minibuffer-complete-word):
15138 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15139
15140 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15141 to avoid interference from inline help (Bug#5849).
15142
37f1c930
LL
151432011-04-10 Leo Liu <sdl.web@gmail.com>
15144
099c39a4
JB
15145 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15146 Fix typo.
37f1c930 15147
a32d4040
CY
151482011-04-09 Chong Yidong <cyd@stupidchicken.com>
15149
15150 * image-mode.el (image-toggle-display-image): Signal an error if
15151 not in Image mode.
15152 (image-transform-mode, image-transform-resize)
15153 (image-transform-set-rotation): Doc fix.
daca8ba5 15154 (image-transform-set-resize): Delete.
a32d4040
CY
15155 (image-transform-set-scale, image-transform-fit-to-height)
15156 (image-transform-fit-to-width): Handle image-toggle-display-image
15157 and image-transform-resize directly.
15158
099c39a4 151592011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15160
15161 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15162 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15163 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15164 (doc-view-mode-map): Add bindings for the new functions.
15165
099c39a4 151662011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15167
4d61f28d 15168 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15169 Fix typo in docstring.
15170
3726838a
EZ
151712011-04-08 Eli Zaretskii <eliz@gnu.org>
15172
04f33f1e
EZ
15173 * files.el (file-size-human-readable): Produce one digit after
15174 decimal, like "ls -lh" does.
15175
15176 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15177 the file size representation.
15178
3726838a
EZ
15179 * simple.el (list-processes): If async subprocesses are not
15180 available, error out with a clear error message.
15181
cbb59342
CY
151822011-04-08 Chong Yidong <cyd@stupidchicken.com>
15183
15184 * help.el (help-form-show): New function, to be called from C.
15185 Put help-form output in a buffer named differently than *Help*.
15186
e3971c44
EZ
151872011-04-08 Eli Zaretskii <eliz@gnu.org>
15188
15189 * files.el (file-size-human-readable): New function.
15190
15191 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15192 computing the representation inline. Don't require `cl'.
15193
12544bbe
GM
151942011-04-08 Glenn Morris <rgm@gnu.org>
15195
a1de6c6a
GM
15196 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15197
3c4671f4
GM
15198 * net/browse-url.el (browse-url-firefox):
15199 Test system-type, not system-configuration.
15200
b605679c
GM
15201 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15202 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15203 Use log-edit-empty-buffer-p. (Bug#7598)
15204
56442f0c
GM
15205 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15206 (rlogin-mode-map): Initialize in the defvar.
15207 (rlogin): Use ignore-errors.
15208
12544bbe
GM
15209 * replace.el (occur-mode-map): Some fixes for menu items.
15210
eb237b0f
AH
152112011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15212
15213 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15214
7d668f2c
CY
152152011-04-06 Chong Yidong <cyd@stupidchicken.com>
15216
e67a13ab
CY
15217 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15218 issuing unused warnings.
15219
15220 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15221 macro directly.
15222
7d668f2c
CY
15223 * simple.el: Lisp reimplement of list-processes. Based on an
15224 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15225 (process-menu-mode): New major mode.
15226 (list-processes--refresh, list-processes):
15227 (process-menu-visit-buffer): New functions.
15228
15229 * files.el (save-buffers-kill-emacs): Don't assume any return
15230 value of list-processes, which is undocumented anyway.
15231
a83ec3c9
CY
152322011-04-06 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * emacs-lisp/tabulated-list.el: New file.
15235
e91a96fe
CY
15236 * emacs-lisp/package.el: Use Tabulated List mode.
15237 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15238 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15239 table format using Tabulated List mode variables.
15240 (package--push): New macro, replacing package-list-maybe-add.
15241 (package-menu--generate): Use package--push. Renamed from
15242 package--generate-package-list.
15243 (package-menu-refresh, list-packages): Use it.
daca8ba5 15244 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15245 Return insertion data instead of inserting it directly.
099c39a4
JB
15246 (package-menu-describe-package, package-menu-execute):
15247 Use tabulated-list-get-id.
e91a96fe
CY
15248 (package-menu-mark-delete, package-menu-mark-install)
15249 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15250 (package-menu-mark-obsolete-for-deletion):
15251 Use tabulated-list-put-tag.
e91a96fe
CY
15252 (package--list-packages, package-menu-revert)
15253 (package-menu-get-package, package-menu-get-version)
15254 (package-menu-sort-by-column): Functions deleted.
15255 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15256 (package-menu--status-predicate, package-menu--version-predicate)
15257 (package-menu--name-predicate)
15258 (package-menu--description-predicate): Handle arguments in the
15259 Tabulated List format.
15260 (package-list-packages-no-fetch): Call list-packages.
15261
3e214b50
JB
152622011-04-06 Juanma Barranquero <lekktu@gmail.com>
15263
15264 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15265 (after-find-file): Don't bind it.
3e214b50
JB
15266 (revert-buffer-in-progress-p): New variable.
15267 (revert-buffer): Bind it.
15268 Pass nil for `after-find-file-from-revert-buffer'.
15269
15270 * saveplace.el (save-place-find-file-hook): Use new variable
15271 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15272
3f0f1700
GM
152732011-04-06 Glenn Morris <rgm@gnu.org>
15274
c0274801
GM
15275 * Makefile.in (AUTOGEN_VCS): New variable.
15276 (autoloads): Use $AUTOGEN_VCS.
15277
3f0f1700
GM
15278 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15279 * calendar/calendar.el (calendar-mode-map):
15280 Check for toolkit scroll bars. (Bug#8305)
15281
41ea9e48
CY
152822011-04-05 Chong Yidong <cyd@stupidchicken.com>
15283
15284 * minibuffer.el (completion-in-region--postch)
15285 (completion-in-region-mode): Remove unnecessary messages.
15286
6194c800
JB
152872011-04-05 Juanma Barranquero <lekktu@gmail.com>
15288
33256f14
JB
15289 * font-lock.el (font-lock-refresh-defaults):
15290 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15291 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15292
6194c800
JB
15293 * info.el (Info-directory-list, Info-read-node-name-2)
15294 (Info-split-parameter-string): Doc fixes.
15295 (Info-virtual-nodes): Reflow docstring.
15296 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15297 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15298 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15299 Fix typos in docstrings.
15300 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15301 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15302 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15303 (Info-restore-desktop-buffer): Mark unused parameters.
15304 (Info-directory-find-file, Info-directory-find-node)
15305 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15306 (Info-virtual-index-find-node, Info-apropos-find-file)
15307 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15308 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15309 (Info-virtual-index): Remove unused local variable `nodename'.
15310
b87a8200 153112011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15312
b87a8200
DD
15313 * net/rcirc.el: Update my e-mail address.
15314 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15315
3b2ff876
CY
153162011-04-05 Chong Yidong <cyd@stupidchicken.com>
15317
15318 * startup.el (command-line): Save the cursor's theme-face
15319 directly, instead of using face-override-spec.
15320
15321 * custom.el (load-theme): Minor optimization in assigning faces.
15322
8d17e7ca
JB
153232011-04-04 Juanma Barranquero <lekktu@gmail.com>
15324
15325 * help-fns.el (describe-variable): Complete all variables having
15326 documentation, including keywords.
15327 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15328
2fbc1934
JB
153292011-04-04 Juanma Barranquero <lekktu@gmail.com>
15330
15331 Convert to lexical-binding.
15332
15333 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15334 (bs--get-marked-string, bs--get-modified-string)
15335 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15336 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15337 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15338
15339 * ehelp.el (electric-help-execute-extended)
15340 (electric-help-ctrl-x-prefix):
15341 * hexl.el (hexl-revert-buffer-function):
15342 * linum.el (linum-after-change, linum-after-scroll):
15343 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15344
15345 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15346
74f50695
DU
153472011-04-04 Daiki Ueno <ueno@unixuser.org>
15348
15349 * epa-dired.el:
15350 * epa-mail.el:
15351 * epa-hook.el:
15352 * epa-file.el:
15353 * epa.el:
15354 * epg.el: Use lexical binding.
15355
c11325f7
CY
153562011-04-03 Chong Yidong <cyd@stupidchicken.com>
15357
0d9e9a12
CY
15358 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15359
c11325f7 15360 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15361 dictionary case for flyspell-mark-duplications-exceptions.
15362 Use regexp matching for languages.
c11325f7
CY
15363 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15364 default dictionary (Bug#7926).
15365
da91b5f2
CY
153662011-04-02 Chong Yidong <cyd@stupidchicken.com>
15367
099c39a4
JB
15368 * emacs-lisp/package.el (package--with-work-buffer):
15369 Recognize https URLs.
da91b5f2 15370
099c39a4
JB
15371 * net/network-stream.el: Move from gnus/proto-stream.el.
15372 Change prefix to network-stream throughout.
da91b5f2
CY
15373 (open-protocol-stream): Merge into open-network-stream, leaving
15374 open-protocol-stream as an alias. Handle nil BUFFER args.
15375
15376 * subr.el (open-network-stream): Move to net/network-stream.el.
15377
afa8e9f6
GM
153782011-04-02 Glenn Morris <rgm@gnu.org>
15379
1d2e369d
GM
15380 * find-dired.el (find-exec-terminator): New option.
15381 (find-ls-option): Test for -ls support.
15382 (find-ls-subdir-switches): Test for -b in find-ls-option.
15383 (find-dired, find-grep-dired): Doc fixes.
15384 (find-dired): Use find-exec-terminator.
15385
8abb7da8 15386 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15387 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15388 (find-name-arg): Remove purecopy.
8abb7da8 15389
f3ca7378
GM
15390 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15391 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15392 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15393 accordingly. Don't add the null-device if not needed.
15394
afa8e9f6
GM
15395 * files.el (save-some-buffers): Doc fix.
15396
35eae264
EZ
153972011-04-02 Eli Zaretskii <eliz@gnu.org>
15398
15399 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15400
26b51db5
JB
154012011-04-01 Juanma Barranquero <lekktu@gmail.com>
15402
15403 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15404 Use `dolist' rather than `mapcar'.
15405
7200d79c
SM
154062011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15407
03408648 15408 Add lexical binding.
7200d79c 15409
03408648
SM
15410 * subr.el (apply-partially): Use new closures rather than CL.
15411 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15412 (dolist, dotimes): Use slightly different expansion for lexical code.
15413 (functionp): Move to C.
15414 (letrec): New macro.
15415 (with-wrapper-hook): Use it and apply-partially instead of CL.
15416 (eval-after-load): Preserve lexical-binding.
15417 (save-window-excursion, with-output-to-temp-buffer): Turn them
15418 into macros.
7200d79c 15419
03408648
SM
15420 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15421
15422 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15423 than the arglist.
15424 (help-add-fundoc-usage): Don't add `Not documented'.
15425 (help-function-arglist): Handle closures, subroutines, and new
15426 byte-code-functions.
15427 (help-make-usage): Remove leading underscores.
15428 (describe-function-1): Handle closures.
15429 (describe-variable): Use special-variable-p for completion.
15430
15431 * files.el (lexical-binding): Declare safe.
f488fb65 15432
03408648
SM
15433 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15434 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15435 (pcase): Add `let' pattern.
15436 Change memoization so it actually works.
15437 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15438 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15439 <let>: New case.
f488fb65 15440
03408648
SM
15441 * emacs-lisp/macroexp.el: Use lexical binding.
15442 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15443 Don't convert ' to #' without checking that it's indeed quoting
15444 a lambda.
15445
15446 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15447 Use eval-sexp-add-defvars.
03408648
SM
15448 (eval-sexp-add-defvars): New fun.
15449
15450 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15451
15452 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15453 Don't autoload.
15454 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15455 than the internal `byte-compile-lambda'.
15456 (defmethod): Don't hide code under quotes.
15457 (eieio-defmethod): New `code' argument.
15458
15459 * emacs-lisp/eieio-comp.el: Remove.
15460
15461 * emacs-lisp/edebug.el (edebug-eval-defun)
15462 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15463 (edebug-toggle): Avoid `eval'.
15464
15465 * emacs-lisp/disass.el (disassemble-internal): Handle new
15466 `closure' objects.
15467 (disassemble-1): Handle new byte codes.
15468
15469 * emacs-lisp/cl.el (pushnew): Silence warning.
15470
15471 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15472 (cl-byte-compile-throw): Remove.
15473 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15474
15475 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15476 closures.
15477
15478 * emacs-lisp/cconv.el: New file.
15479
15480 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15481 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15482 (byte-compile-initial-macro-environment):
15483 Handle declare-function here.
15484 (byte-compile--lexical-environment): New var.
15485 (byte-stack-ref, byte-stack-set, byte-discardN)
15486 (byte-discardN-preserve-tos): New lap codes.
15487 (byte-interactive-p): Don't use any more.
15488 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15489 New macros.
15490 (byte-compile-lapcode): Use them and handle new lap codes.
15491 (byte-compile-obsolete): Remove.
15492 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15493 (byte-compile-arglist-warn): Check late def of inlinable funs.
15494 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15495 since they should have been expanded by now.
15496 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15497 (byte-compile-from-buffer): Remove unused second arg.
15498 (byte-compile-preprocess): New function.
15499 (byte-compile-toplevel-file-form): New function to distinguish
15500 file-form calls from outside from file-form calls from hunk-handlers.
15501 (byte-compile-file-form): Simplify.
15502 (byte-compile-file-form-defsubst): Remove.
15503 (byte-compile-file-form-defmumble): Simplify now that
15504 byte-compile-lambda always returns a byte-code-function.
15505 (byte-compile): Preprocess.
15506 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15507 Remove, not used any more.
15508 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15509 (byte-compile-make-args-desc): New funs.
15510 (byte-compile-lambda): Handle lexical functions. Always return
15511 a byte-code-function.
15512 (byte-compile-reserved-constants): New var, to make up room for
15513 closed-over variables.
15514 (byte-compile-constants-vector): Obey it.
15515 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15516 (byte-compile-macroexpand-declare-function): New function.
15517 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15518 byte-code-functions.
15519 (byte-compile-form): Check obsolescence here.
15520 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15521 (byte-compile-variable-ref): Remove.
15522 (byte-compile-dynamic-variable-op): New fun.
15523 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15524 (byte-compile-variable-set): New funs.
15525 (byte-compile-discard): Add 2 args.
15526 (byte-compile-stack-ref, byte-compile-stack-set)
15527 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15528 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15529 macroexpand-all instead.
15530 (byte-compile-quote-form): Remove.
15531 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15532 (byte-compile-bind, byte-compile-unbind): New funs.
15533 (byte-compile-let): Handle let* and lexical binding.
15534 (byte-compile-let*): Remove.
15535 (byte-compile-catch, byte-compile-unwind-protect)
15536 (byte-compile-track-mouse, byte-compile-condition-case):
15537 Handle a new :fun-body form, used for lexical scoping.
15538 (byte-compile-save-window-excursion)
15539 (byte-compile-with-output-to-temp-buffer): Remove.
15540 (byte-compile-defun): Simplify.
15541 (byte-compile-stack-adjustment): New fun.
15542 (byte-compile-out): Use it.
15543 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15544
15545 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15546 handler any more.
15547
15548 * emacs-lisp/byte-opt.el: Use lexical binding.
15549 (byte-inline-lapcode): Remove (to bytecomp).
15550 (byte-compile-inline-expand): Pay attention to inlining to/from
15551 lexically bound code.
15552 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15553 any more.
15554 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15555 any more and don't call compiler-macros.
15556 (byte-compile-splice-in-already-compiled-code): Remove.
15557 (byte-code): Don't inline any more.
15558 (disassemble-offset): Receive `bytes' as argument rather than via
15559 dynamic scoping.
15560 (byte-compile-tag-number): Declare before first use.
15561 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15562 `return' even if make-spliceable.
15563 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15564 obsolete interactive-p.
15565 (byte-optimize-lapcode): Optimize new lap-codes.
15566 Don't trip up on new form of `byte-constant' lap code.
15567
15568 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15569
15570 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15571
15572 * custom.el (custom-initialize-default, custom-declare-variable):
15573 Use `defvar'.
15574
15575 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15576 New variables.
15577 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15578 (COMPILE_FIRST): Add macroexp and cconv.
15579 * makefile.w32-in: Mirror changes in Makefile.in.
15580
15581 * vc/cvs-status.el:
15582 * vc/diff-mode.el:
15583 * vc/log-edit.el:
15584 * vc/log-view.el:
15585 * vc/smerge-mode.el:
15586 * textmodes/bibtex-style.el:
15587 * textmodes/css.el:
15588 * startup.el:
15589 * uniquify.el:
da91b5f2
CY
15590 * minibuffer.el:
15591 * newcomment.el:
15592 * reveal.el:
15593 * server.el:
15594 * mpc.el:
15595 * emacs-lisp/smie.el:
15596 * doc-view.el:
15597 * dired.el:
03408648
SM
15598 * abbrev.el: Use lexical binding.
15599
0f0c1f27
EZ
156002011-04-01 Eli Zaretskii <eliz@gnu.org>
15601
15602 * info.el (info-display-manual): New function.
15603
c82b2579
SM
156042011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15605
15606 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15607
221ddf68
TH
156082011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15609
15610 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15611 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15612
cba6e77e
GM
156132011-03-31 Glenn Morris <rgm@gnu.org>
15614
e040639f
GM
15615 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15616
cba6e77e
GM
15617 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15618
6d0f1c9e
CS
156192011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15620
15621 * progmodes/python.el (python-default-interpreter)
15622 (python-python-command-args, python-jython-command-args)
15623 (python-which-shell, python-which-args, python-which-bufname)
15624 (python-file-queue, python-comint-output-filter-function)
15625 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15626 variables and functions.
15627
3e2d70fd
SM
156282011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15631 (completion-in-region-mode): New minor mode.
15632 (completion-in-region): Use it.
15633 (completion-in-region--data, completion-in-region-mode-map): New vars.
15634 (completion-in-region--postch): New function.
15635 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15636 New vars.
15637 (completion--capf-wrapper): New function.
15638 (completion-at-point): Use it to track well-behavedness of
15639 hook functions.
15640 (completion-help-at-point): New command.
15641
f3e4086c
JM
156422011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15643
15644 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15645 syntax class to search for whitespace on a single line
15646 (Message-ID: <4D938140.4030905@redhat.com>).
15647
eb7ffc14
LL
156482011-03-30 Leo Liu <sdl.web@gmail.com>
15649
15650 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15651 New commands.
15652 (edit-abbrevs-map): Bind them here.
15653 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15654
d806ab68
KM
156552011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15656
15657 * allout.el (allout-hide-by-annotation, allout-flag-region):
15658 Reduce possibility of overlay leakage by making them volatile.
15659
15660 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15661 hash is not shared between buffers. Mode initialization is
15662 responsible for giving it a useful starting value.
15663 (allout-item-span): Reduce possibility of overlay leakage by
15664 making them volatile.
15665 (allout-widgets-count-buttons-in-region): Add diagnostic function
15666 for tracking down button overlay leaks.
15667
ea622834
LL
156682011-03-29 Leo Liu <sdl.web@gmail.com>
15669
15670 * ido.el (ido-read-internal): Use the default history var
15671 minibuffer-history if no HISTORY is specified.
15672
b62f8267
G
156732011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15674
03408648
SM
15675 * net/imap.el (imap-shell-open, imap-process-connection-type):
15676 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15677 Kerberos, SSL, other subprocesses.
15678
947b6566
LL
156792011-03-28 Leo Liu <sdl.web@gmail.com>
15680
15681 * abbrev.el (abbrev-table-empty-p): New function.
15682 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15683 nonempty ones. (Bug#5937)
15684
5ffb62aa
JD
156852011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15686
15687 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15688
7a097943
LL
156892011-03-27 Leo Liu <sdl.web@gmail.com>
15690
15691 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15692 for foreground and background colors.
15693 (ansi-color-make-color-map): Adapt.
15694
c5b40130
LL
156952011-03-25 Leo Liu <sdl.web@gmail.com>
15696
1f48f7d2
LL
15697 * midnight.el (midnight-time-float): Remove. Note it calculates
15698 the microsecond component incorrectly and seconds-to-time does the
15699 same job.
625897ec 15700 Remove redundant (require 'timer).
1f48f7d2 15701
c5b40130
LL
15702 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15703 (ido-completions): Remove unused arguments. (Bug#8329)
15704
d86d2721
SM
157052011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15706
15707 * minibuffer.el (completion--flush-all-sorted-completions):
15708 Remove itself from hook.
15709 (completion-at-point): Let the functions perform the completion
15710 immediately and return nil or t.
15711 * comint.el (comint-dynamic-complete-functions): Now identical to
15712 completion-at-point-functions.
15713 (comint-dynamic-list-input-ring): Remove unused var `index'.
15714 (comint--match-partial-filename, comint--unquote&expand-filename):
15715 New funs, split from comint-match-partial-filename.
15716 (comint-dynamic-complete): Use completion-at-point.
15717 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15718
e8974c48
DA
157192011-03-24 Drew Adams <drew.adams@oracle.com>
15720
15721 * thingatpt.el: Support `defun'.
15722
def71b5e
LL
157232011-03-23 Leo Liu <sdl.web@gmail.com>
15724
cb5af48e
LL
15725 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15726
def71b5e
LL
15727 * help-mode.el (help-mode-finish): Tweak regexp.
15728
927c53e7
GM
157292011-03-23 Glenn Morris <rgm@gnu.org>
15730
18d05bed
GM
15731 * eshell/esh-opt.el (eshell-eval-using-options):
15732 Do not bind unused local variable `eshell-option-stub'.
15733
927c53e7
GM
15734 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15735
9d0da923
JB
157362011-03-22 Juanma Barranquero <lekktu@gmail.com>
15737
15738 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15739 keymap variable in `with-no-warnings' to avoid a warning when the
15740 keymap has been already `defconst'ed.
15741
4b978a67
LL
157422011-03-22 Leo Liu <sdl.web@gmail.com>
15743
15744 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15745 encode all chars in abbrevs; otherwise use emacs-mule or
15746 utf-8-emacs. (Bug#8308)
15747
5fd62452
JB
157482011-03-22 Juanma Barranquero <lekktu@gmail.com>
15749
0b1596c6
JB
15750 * simple.el (backward-delete-char-untabify):
15751 Avoid warning about using `delete-backward-char'.
15752
5fd62452
JB
15753 * image.el (image-type-file-name-regexps): Make it variable.
15754 `imagemagick-register-types' modifies it, and the user may want
15755 to add new extensions for known image types.
15756 (imagemagick-register-types): Throw error if not using ImageMagick.
15757
0b4e93f1
LL
157582011-03-22 Leo Liu <sdl.web@gmail.com>
15759
15760 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15761 located before rcirc-prompt-end-marker.
15762 (rcirc-complete): Error if point is not after rcirc prompt.
15763 Handle the case when table is nil.
9882e214 15764 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15765
fccee4ab
CY
157662011-03-22 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * custom.el (custom--inhibit-theme-enable): Make it affect only
15769 custom-theme-set-variables and custom-theme-set-faces.
15770 (provide-theme): Ignore custom--inhibit-theme-enable.
15771 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15772 (custom-enabling-themes): Delete variable.
d86d2721
SM
15773 (enable-theme): Accept only loaded themes as arguments.
15774 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15775 (custom-enabled-themes): Forbid themes from setting this.
15776 Eliminate use of custom-enabling-themes.
15777 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15778
af896da6
LL
157792011-03-21 Leo Liu <sdl.web@gmail.com>
15780
15781 * ido.el (ido-read-internal): Add ido-selected to history instead
15782 of user input.
15783
78f64af0
SM
157842011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * subr.el (deferred-action-list, deferred-action-function):
15787 Mark obsolete.
15788
b16ac1ec
LL
157892011-03-21 Leo Liu <sdl.web@gmail.com>
15790
810f7698
LL
15791 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15792 change on 2011-02-13 (bug#8309).
15793
b16ac1ec
LL
15794 * minibuffer.el (read-file-name-function): Change default value.
15795 (read-file-name--defaults): Rename from read-file-name-defaults.
15796 (read-file-name-default): Rename from read-file-name.
15797 (read-file-name): Call read-file-name-function.
15798
4e05e67e
GM
157992011-03-21 Glenn Morris <rgm@gnu.org>
15800
15801 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15802 Doc fixes.
15803
4359915b
CY
158042011-03-21 Chong Yidong <cyd@stupidchicken.com>
15805
15806 * cus-theme.el: Add missing provide statement.
15807 (customize-create-theme): Extract theme value correctly.
15808 (custom-theme-visit-theme): Autoload.
15809 (customize-create-theme): Prompt before inserting default faces.
15810
1fe275ee
JB
158112011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15812
15813 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15814 units and musical notes.
15815
cd394be1 158162011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15817
15818 * ido.el (ido-read-internal): Use completing-read-default.
15819 (ido-completing-read): Fix compatibility with completing-read.
15820
7d476bde
CO
158212011-03-20 Christian Ohler <ohler@gnu.org>
15822
15823 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15824 (ert-delete-all-tests): Use `called-interactively-p' rather than
15825 `interactive-p'.
15826 (ert--make-xrefs-region): Respect END.
15827
fe0fb33e
CY
158282011-03-19 Chong Yidong <cyd@stupidchicken.com>
15829
ff854b0b
CY
15830 * dired-aux.el (dired-create-directory): Signal an error if the
15831 directory already exists (Bug#8246).
15832
fe0fb33e
CY
15833 * facemenu.el (list-colors-display): Call list-faces-display
15834 inside with-help-window.
15835 (list-colors-print): Use display property to align the final
15836 column, instead of checking window-width.
15837
576bce32
EZ
158382011-03-19 Eli Zaretskii <eliz@gnu.org>
15839
4d61f28d 15840 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15841 windows-nt systems.
15842 (emerge-protect-metachars): Quote correctly for ms-dos and
15843 windows-nt systems.
15844
89c41d68 158452011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15846
15847 * info.el (info-initialize): Replace all uses of `:' with
15848 path-separator for compatibility with non-Unix systems.
15849 Cache quoting of path-separator. (Bug#8258)
15850
b14e3e21 158512011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15852
15853 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15854 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15855 (mouse-avoidance-mode): Fix typos in docstrings.
15856
4525ce3e
CY
158572011-03-19 Chong Yidong <cyd@stupidchicken.com>
15858
15859 * startup.el (package-subdirectory-regexp): Move from package.el.
15860 Omit \\` and \\', and let callers add them.
15861
15862 * emacs-lisp/package.el (package-strip-version)
15863 (package-load-all-descriptors): Add \\` and \\' to
15864 package-subdirectory-regexp before using it.
15865 (package-untar-buffer): New arg DIR; ensure that file untars only
15866 into this expected directory. Remove superfluous delete-region.
15867 (package-unpack): Caller changed.
15868 (package-tar-file-info): Use package-subdirectory-regexp.
15869
a904a09a 158702011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15871
a904a09a
SM
15872 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15873 diff-mode-shared-map (bug#8284).
15874 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15875
158762011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15877
15878 * calendar/time-date.el (format-seconds): Use assoc instead of
15879 assoc-string, since assoc-string doesn't exist in XEmacs.
15880
171fc304
JB
158812011-03-17 Juanma Barranquero <lekktu@gmail.com>
15882
15883 * custom.el (custom-known-themes): Reflow docstring.
15884 (custom-theme-load-path): Fix typo in docstring.
15885 (load-theme): Fix typo in error message.
15886 (custom-available-themes, custom-variable-theme-value):
15887 Use `let', not `let*'.
15888
d71990a1
JB
158892011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15890
15891 * calc/README: Mention inclusion of musical notes.
15892
15893 * calc/calc-units.el (calc-lu-quant): Rename from
15894 `calc-logunits-quantity'.
15895 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15896 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15897 (calc-db): Rename from `calc-dblevel'.
15898 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15899 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15900 (calc-np): Rename from `calc-nplevel'.
15901 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15902 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15903 (calc-lu-plus): Rename from `calc-logunits-add'.
15904 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15905 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15906 (calc-lu-minus): Rename from `calc-logunits-sub'.
15907 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15908 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15909 (calc-lu-times): Rename from `calc-logunits-mul'.
15910 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15911 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15912 (calc-lu-divide): Rename from `calc-logunits-div'.
15913 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15914 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15915
15916 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15917 functions being autoloaded.
15918
15919 * calc/calc.el (calc-lu-power-reference): Rename from
15920 `calc-logunits-power-reference'.
15921 (calc-lu-field-reference): Rename from
15922 `calc-logunits-field-reference'.
15923
7a71b18d
GM
15924 * calc/calc-help.el (calc-l-prefix-help):
15925 Mention musical note functions.
d71990a1 15926
40c2934b
SM
159272011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * minibuffer.el (completion-all-sorted-completions):
15930 Use :completion-cycle-penalty text property if present.
15931
b0911414
KM
159322011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15933
15934 * allout.el (allout-yank-processing): Adjust for new rebulleting
15935 regime so bullet being yanked is used without prompting the user
15936 for a choice.
15937
8a05b668
JB
159382011-03-16 Juanma Barranquero <lekktu@gmail.com>
15939
15940 * startup.el (command-line): Warn the user that _emacs is deprecated.
15941
5ba5fb81
JB
159422011-03-16 Juanma Barranquero <lekktu@gmail.com>
15943
15944 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15945 (delphi-verbose, delphi-comment-face, delphi-string-face)
15946 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15947 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15948 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15949 (delphi-new-comment-line, delphi-font-lock-defaults)
15950 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15951 Fix typos in docstrings.
15952
2dab465b
KM
159532011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15954
5ba5fb81 15955 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15956 Invert the roles of character and string values for INSTEAD, so a
15957 string is used for the more common case of a defaulting prompt.
15958
0adf5618
SM
159592011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * progmodes/ruby-mode.el (ruby-backward-sexp):
15962 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15963 * play/gamegrid.el (gamegrid-make-face):
15964 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15965 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15966 * notifications.el (notifications-notify):
15967 * net/xesam.el (xesam-search-engines):
15968 * net/quickurl.el (quickurl-list-insert):
15969 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15970
d72700e5
CY
159712011-03-15 Chong Yidong <cyd@stupidchicken.com>
15972
15973 * startup.el (command-line): Update package subdirectory regexp.
15974
49c5410a
SM
159752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15976
c6eee9aa
SM
15977 * allout.el (allout-abbreviate-flattened-numbering)
15978 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15979
49c5410a
SM
15980 * subr.el (read-char-choice): Only show the cursor after the prompt,
15981 not after the answer.
15982
047b2bb9
KR
159832011-03-15 Kevin Ryde <user42@zip.com.au>
15984
15985 * help-fns.el (variable-at-point): Skip leading quotes, if any
15986 (bug#8253).
15987
0a57d256
SM
159882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15991 warning message.
15992
77c992bc
MA
159932011-03-14 Michael Albinus <michael.albinus@gmx.de>
15994
15995 * shell.el (shell): When called interactively, offer to change the
15996 shell file name on remote hosts.
15997
eebc475d
TZ
159982011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15999
16000 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16001 integration for LDAP parameters. The host, base, user or binddn,
16002 and secret tokens can be specified in a netrc file, for instance.
16003 This is optional because an `auth-source' parameter must be
16004 specified in the search attributes.
16005
9d05d1ba
JB
160062011-03-13 Juanma Barranquero <lekktu@gmail.com>
16007
16008 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16009
09d9db2c
GM
160102011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16011
16012 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16013 into declaration. Remove redundant and harmful binding.
16014
160152011-03-12 Eli Zaretskii <eliz@gnu.org>
16016
16017 * files.el (file-ownership-preserved-p): Pass `integer' as an
16018 explicit 2nd argument to `file-attributes'. If the file's owner
16019 is the Administrators group on Windows, and the current user is
16020 Administrator, consider that a match.
16021
16022 * server.el (server-ensure-safe-dir): Consider server directory
16023 safe on MS-Windows if its owner is the Administrators group while
16024 the current Emacs user is Administrator. Use `=' to compare
16025 numerical UIDs, since they could be integers or floats.
16026
219bd536
JB
160272011-03-12 Juanma Barranquero <lekktu@gmail.com>
16028
16029 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16030
f3afd36b
MA
160312011-03-12 Michael Albinus <michael.albinus@gmx.de>
16032
16033 Sync with Tramp 2.2.1.
16034
16035 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16036
16037 * net/trampver.el: Update release number.
16038
3aaaa6f1
SM
160392011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16040
94642599
SM
16041 * progmodes/compile.el (compilation--previous-directory): Fix up
16042 various nil/dead-marker mismatches (bug#8014).
16043 (compilation-directory-properties, compilation-error-properties):
16044 Don't call it at a position past the one we're about to change.
16045
3aaaa6f1
SM
16046 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16047 Disable obsolescence warnings in the file that declares it.
16048
14239447
KM
160492011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16050
099c39a4
JB
16051 * allout-widgets.el (allout-widgets-tally):
16052 Initialize allout-widgets-tally as a hash table rather than nil to
16053 prevent mode-line redisplay warnings. Also, clarify the module
16054 description and fix a comment typo.
14239447 16055
135e287c
JB
160562011-03-11 Juanma Barranquero <lekktu@gmail.com>
16057
16058 * help-fns.el (describe-variable): Don't complete keywords.
16059 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16060
ffbf300e
CY
160612011-03-10 Chong Yidong <cyd@stupidchicken.com>
16062
ba08b241
CY
16063 * emacs-lisp/package.el (package-version-join): Impose a standard
16064 string representation for pre/alpha/beta version lists.
16065 (package-unpack-single): Standardize the directory name by passing
16066 it through package-version-join.
16067 (package-strip-rcs-id): Accept any version string that does not
16068 signal an error in version-to-list.
ffbf300e 16069
f346fd6b
MA
160702011-03-10 Michael Albinus <michael.albinus@gmx.de>
16071
16072 * simple.el (delete-trailing-whitespace): Return nil for the
16073 benefit of `write-file-functions'.
16074
ccb55d27
GM
160752011-03-10 Glenn Morris <rgm@gnu.org>
16076
5ceaac0c
GM
16077 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16078
02da65ff
GM
16079 * vc/vc-git.el (vc-git-program): New option.
16080 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16081 (vc-git--call): Use it.
16082
b2f603cc
GM
16083 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16084
5772caab
GM
16085 * cus-edit.el (Custom-newline): If no button at point, look
16086 for a subgroup button at start-of-line. (Bug#2298)
16087
ccb55d27
GM
16088 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16089
ec6ecaed
JD
160902011-03-10 Julien Danjou <julien@danjou.info>
16091
16092 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16093 `cursor-type' is nil.
16094
9d5aa01d
JB
160952011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16096
16097 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16098
b6a5875b
KM
160992011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16100
7a71b18d 16101 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16102 preserves the existing header prefix, rebulleting it if necessary,
16103 rather than replacing it. This is necessary for proper operation
16104 of cooperative addons like allout-widgets.
1154d12e
JB
16105 (allout-make-topic-prefix, allout-rebullet-heading):
16106 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16107 value as alternate bullet to be used, instead of prompting the user
16108 for a bullet character.
b6a5875b 16109
ee545c35
MA
161102011-03-09 Michael Albinus <michael.albinus@gmx.de>
16111
d86d2721
SM
16112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16113 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16114 `tramp-default-port'.
16115
c47971d7
DD
161162011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16117
16118 * net/rcirc.el (rcirc-handler-001): Remove useless
16119 with-rcirc-process-buffer.
16120 (rcirc-check-auth-status): Swap arguments to string-match.
16121
13522cb4
GM
161222011-03-09 Glenn Morris <rgm@gnu.org>
16123
0be6f4f1
GM
16124 * shell.el (shell-mode):
16125 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16126
13522cb4
GM
16127 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16128 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16129
515de2e3
CY
161302011-03-08 Chong Yidong <cyd@stupidchicken.com>
16131
16132 * emacs-lisp/package.el (package-refresh-contents)
16133 (package-menu-execute): Use condition-case-no-debug.
16134
b511b994
MA
161352011-03-08 Michael Albinus <michael.albinus@gmx.de>
16136
16137 * simple.el (shell-command-to-string): Use `process-file'.
16138
16139 * emacs-lisp/package.el (package-tar-file-info): Handle also
16140 remote files.
16141
d86d2721
SM
16142 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16143 Use `equal' for upload base check.
b511b994 16144
25bbfb31
AM
161452011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16146
16147 * textmodes/texinfo.el (texinfo-environments):
16148 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16149
be996521
GM
161502011-03-08 Glenn Morris <rgm@gnu.org>
16151
e9c8529f
GM
16152 * cus-start.el (cursor-in-non-selected-windows):
16153 Fix :set quoting oddness. (Bug#8192)
16154
be996521
GM
16155 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16156 in some setf expressions. (Bug#2159)
16157
2bb5649e
CY
161582011-03-08 Chong Yidong <cyd@stupidchicken.com>
16159
16160 * custom.el (custom-available-themes): Return themes in
16161 alphabetical order.
16162
33383987 16163See ChangeLog.15 for earlier changes.
e3d51b27
MR
16164
16165;; Local Variables:
16166;; coding: utf-8
e3d51b27
MR
16167;; End:
16168
acaf905b 16169 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16170
16171 This file is part of GNU Emacs.
16172
16173 GNU Emacs is free software: you can redistribute it and/or modify
16174 it under the terms of the GNU General Public License as published by
16175 the Free Software Foundation, either version 3 of the License, or
16176 (at your option) any later version.
16177
16178 GNU Emacs is distributed in the hope that it will be useful,
16179 but WITHOUT ANY WARRANTY; without even the implied warranty of
16180 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16181 GNU General Public License for more details.
16182
16183 You should have received a copy of the GNU General Public License
16184 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.